diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 505160ab472b..bd0df84cfd87 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -95,6 +95,7 @@ enum { | |||
95 | ATA_DFLAG_LBA48 = (1 << 0), /* device supports LBA48 */ | 95 | ATA_DFLAG_LBA48 = (1 << 0), /* device supports LBA48 */ |
96 | ATA_DFLAG_PIO = (1 << 1), /* device currently in PIO mode */ | 96 | ATA_DFLAG_PIO = (1 << 1), /* device currently in PIO mode */ |
97 | ATA_DFLAG_LOCK_SECTORS = (1 << 2), /* don't adjust max_sectors */ | 97 | ATA_DFLAG_LOCK_SECTORS = (1 << 2), /* don't adjust max_sectors */ |
98 | ATA_DFLAG_LBA = (1 << 3), /* device supports LBA */ | ||
98 | 99 | ||
99 | ATA_DEV_UNKNOWN = 0, /* unknown device */ | 100 | ATA_DEV_UNKNOWN = 0, /* unknown device */ |
100 | ATA_DEV_ATA = 1, /* ATA device */ | 101 | ATA_DEV_ATA = 1, /* ATA device */ |
@@ -278,6 +279,11 @@ struct ata_device { | |||
278 | u8 xfer_protocol; /* taskfile xfer protocol */ | 279 | u8 xfer_protocol; /* taskfile xfer protocol */ |
279 | u8 read_cmd; /* opcode to use on read */ | 280 | u8 read_cmd; /* opcode to use on read */ |
280 | u8 write_cmd; /* opcode to use on write */ | 281 | u8 write_cmd; /* opcode to use on write */ |
282 | |||
283 | /* for CHS addressing */ | ||
284 | u16 cylinders; /* Number of cylinders */ | ||
285 | u16 heads; /* Number of heads */ | ||
286 | u16 sectors; /* Number of sectors per track */ | ||
281 | }; | 287 | }; |
282 | 288 | ||
283 | struct ata_port { | 289 | struct ata_port { |