diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-02-13 00:13:48 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-13 00:13:48 -0500 |
commit | 3875e1945b55f0eb83fe7359614a801eeb716761 (patch) | |
tree | 4567aef3fb7d081cb7d7b7c9bcd94e0e44d39557 /include/linux/libata.h | |
parent | 587005de144acd3007b8e7f2a2a7c6add157c155 (diff) | |
parent | f1b318793dcd2d9ff6b5ac06e7762098fa079cee (diff) |
Merge branch 'upstream'
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 9873f4c54f1e..67d07c44b2e7 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -122,9 +122,8 @@ enum { | |||
122 | /* struct ata_device stuff */ | 122 | /* struct ata_device stuff */ |
123 | ATA_DFLAG_LBA48 = (1 << 0), /* device supports LBA48 */ | 123 | ATA_DFLAG_LBA48 = (1 << 0), /* device supports LBA48 */ |
124 | ATA_DFLAG_PIO = (1 << 1), /* device currently in PIO mode */ | 124 | ATA_DFLAG_PIO = (1 << 1), /* device currently in PIO mode */ |
125 | ATA_DFLAG_LOCK_SECTORS = (1 << 2), /* don't adjust max_sectors */ | 125 | ATA_DFLAG_LBA = (1 << 2), /* device supports LBA */ |
126 | ATA_DFLAG_LBA = (1 << 3), /* device supports LBA */ | 126 | ATA_DFLAG_CDB_INTR = (1 << 3), /* device asserts INTRQ when ready for CDB */ |
127 | ATA_DFLAG_CDB_INTR = (1 << 4), /* device asserts INTRQ when ready for CDB */ | ||
128 | 127 | ||
129 | ATA_DEV_UNKNOWN = 0, /* unknown device */ | 128 | ATA_DEV_UNKNOWN = 0, /* unknown device */ |
130 | ATA_DEV_ATA = 1, /* ATA device */ | 129 | ATA_DEV_ATA = 1, /* ATA device */ |
@@ -353,6 +352,8 @@ struct ata_device { | |||
353 | 352 | ||
354 | unsigned int multi_count; /* sectors count for | 353 | unsigned int multi_count; /* sectors count for |
355 | READ/WRITE MULTIPLE */ | 354 | READ/WRITE MULTIPLE */ |
355 | unsigned int max_sectors; /* per-device max sectors */ | ||
356 | unsigned int cdb_len; | ||
356 | 357 | ||
357 | /* for CHS addressing */ | 358 | /* for CHS addressing */ |
358 | u16 cylinders; /* Number of cylinders */ | 359 | u16 cylinders; /* Number of cylinders */ |
@@ -382,7 +383,6 @@ struct ata_port { | |||
382 | unsigned int mwdma_mask; | 383 | unsigned int mwdma_mask; |
383 | unsigned int udma_mask; | 384 | unsigned int udma_mask; |
384 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ | 385 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ |
385 | unsigned int cdb_len; | ||
386 | 386 | ||
387 | struct ata_device device[ATA_MAX_DEVICES]; | 387 | struct ata_device device[ATA_MAX_DEVICES]; |
388 | 388 | ||
@@ -543,6 +543,8 @@ extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg, | |||
543 | extern unsigned int ata_dev_classify(const struct ata_taskfile *tf); | 543 | extern unsigned int ata_dev_classify(const struct ata_taskfile *tf); |
544 | extern void ata_dev_id_string(const u16 *id, unsigned char *s, | 544 | extern void ata_dev_id_string(const u16 *id, unsigned char *s, |
545 | unsigned int ofs, unsigned int len); | 545 | unsigned int ofs, unsigned int len); |
546 | extern void ata_dev_id_c_string(const u16 *id, unsigned char *s, | ||
547 | unsigned int ofs, unsigned int len); | ||
546 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); | 548 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); |
547 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); | 549 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); |
548 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); | 550 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); |