diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-31 00:57:05 -0400 |
commit | 5bc65793cbf8da0d35f19ef025dda22887e79e80 (patch) | |
tree | 8291998abd73055de6f487fafa174ee2a5d3afee /include/linux/libata.h | |
parent | 6edae708bf77e012d855a7e2c7766f211d234f4f (diff) | |
parent | 3f0a6766e0cc5a577805732e5adb50a585c58175 (diff) |
[SCSI] Merge up to linux-2.6 head
Conflicts:
drivers/scsi/jazz_esp.c
Same changes made by both SCSI and SPARC trees: problem with UTF-8
conversion in the copyright.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 27d936279574..85f7b1bd1482 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -140,6 +140,7 @@ enum { | |||
140 | 140 | ||
141 | ATA_DFLAG_PIO = (1 << 8), /* device limited to PIO mode */ | 141 | ATA_DFLAG_PIO = (1 << 8), /* device limited to PIO mode */ |
142 | ATA_DFLAG_NCQ_OFF = (1 << 9), /* device limited to non-NCQ mode */ | 142 | ATA_DFLAG_NCQ_OFF = (1 << 9), /* device limited to non-NCQ mode */ |
143 | ATA_DFLAG_SPUNDOWN = (1 << 10), /* XXX: for spindown_compat */ | ||
143 | ATA_DFLAG_INIT_MASK = (1 << 16) - 1, | 144 | ATA_DFLAG_INIT_MASK = (1 << 16) - 1, |
144 | 145 | ||
145 | ATA_DFLAG_DETACH = (1 << 16), | 146 | ATA_DFLAG_DETACH = (1 << 16), |
@@ -173,6 +174,7 @@ enum { | |||
173 | ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */ | 174 | ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */ |
174 | ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */ | 175 | ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */ |
175 | ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */ | 176 | ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */ |
177 | ATA_FLAG_ACPI_SATA = (1 << 17), /* need native SATA ACPI layout */ | ||
176 | 178 | ||
177 | /* The following flag belongs to ap->pflags but is kept in | 179 | /* The following flag belongs to ap->pflags but is kept in |
178 | * ap->flags because it's referenced in many LLDs and will be | 180 | * ap->flags because it's referenced in many LLDs and will be |
@@ -431,7 +433,6 @@ struct ata_device { | |||
431 | struct scsi_device *sdev; /* attached SCSI device */ | 433 | struct scsi_device *sdev; /* attached SCSI device */ |
432 | /* n_sector is used as CLEAR_OFFSET, read comment above CLEAR_OFFSET */ | 434 | /* n_sector is used as CLEAR_OFFSET, read comment above CLEAR_OFFSET */ |
433 | u64 n_sectors; /* size of device, if ATA */ | 435 | u64 n_sectors; /* size of device, if ATA */ |
434 | u64 n_sectors_boot; /* size of ATA device at startup */ | ||
435 | unsigned int class; /* ATA_DEV_xxx */ | 436 | unsigned int class; /* ATA_DEV_xxx */ |
436 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ | 437 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ |
437 | u8 pio_mode; | 438 | u8 pio_mode; |
@@ -573,8 +574,6 @@ struct ata_port_operations { | |||
573 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ | 574 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ |
574 | int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); | 575 | int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); |
575 | 576 | ||
576 | void (*post_set_mode) (struct ata_port *ap); | ||
577 | |||
578 | int (*cable_detect) (struct ata_port *ap); | 577 | int (*cable_detect) (struct ata_port *ap); |
579 | 578 | ||
580 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); | 579 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); |