diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 02:45:00 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 02:45:00 -0500 |
commit | f6ef65e6d004b77d516037424c7ccc209d0d3509 (patch) | |
tree | 394bac3559237abb94be5051828b3e45315d6489 /include/linux/libata.h | |
parent | 7103c7bc863c10dd2a26c19c8cf4d7d2846da947 (diff) | |
parent | c19ba8af4f104cca28d548cac55c128b28dd31fb (diff) |
Merge branch 'upstream-2.6.17'
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 88f0a27cc7c3..f8a04ef5c7c3 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -149,9 +149,9 @@ enum { | |||
149 | ATA_FLAG_PORT_DISABLED = (1 << 2), /* port is disabled, ignore it */ | 149 | ATA_FLAG_PORT_DISABLED = (1 << 2), /* port is disabled, ignore it */ |
150 | ATA_FLAG_SATA = (1 << 3), | 150 | ATA_FLAG_SATA = (1 << 3), |
151 | ATA_FLAG_NO_LEGACY = (1 << 4), /* no legacy mode check */ | 151 | ATA_FLAG_NO_LEGACY = (1 << 4), /* no legacy mode check */ |
152 | ATA_FLAG_SRST = (1 << 5), /* use ATA SRST, not E.D.D. */ | 152 | ATA_FLAG_SRST = (1 << 5), /* (obsolete) use ATA SRST, not E.D.D. */ |
153 | ATA_FLAG_MMIO = (1 << 6), /* use MMIO, not PIO */ | 153 | ATA_FLAG_MMIO = (1 << 6), /* use MMIO, not PIO */ |
154 | ATA_FLAG_SATA_RESET = (1 << 7), /* use COMRESET */ | 154 | ATA_FLAG_SATA_RESET = (1 << 7), /* (obsolete) use COMRESET */ |
155 | ATA_FLAG_PIO_DMA = (1 << 8), /* PIO cmds via DMA */ | 155 | ATA_FLAG_PIO_DMA = (1 << 8), /* PIO cmds via DMA */ |
156 | ATA_FLAG_PIO_POLLING = (1 << 9), /* use polling PIO if LLD | 156 | ATA_FLAG_PIO_POLLING = (1 << 9), /* use polling PIO if LLD |
157 | * doesn't handle PIO interrupts */ | 157 | * doesn't handle PIO interrupts */ |
@@ -422,7 +422,9 @@ struct ata_port_operations { | |||
422 | u8 (*check_altstatus)(struct ata_port *ap); | 422 | u8 (*check_altstatus)(struct ata_port *ap); |
423 | void (*dev_select)(struct ata_port *ap, unsigned int device); | 423 | void (*dev_select)(struct ata_port *ap, unsigned int device); |
424 | 424 | ||
425 | void (*phy_reset) (struct ata_port *ap); | 425 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ |
426 | int (*probe_reset) (struct ata_port *ap, unsigned int *classes); | ||
427 | |||
426 | void (*post_set_mode) (struct ata_port *ap); | 428 | void (*post_set_mode) (struct ata_port *ap); |
427 | 429 | ||
428 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); | 430 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); |
@@ -503,6 +505,9 @@ extern int ata_scsi_device_suspend(struct scsi_device *); | |||
503 | extern int ata_device_resume(struct ata_port *, struct ata_device *); | 505 | extern int ata_device_resume(struct ata_port *, struct ata_device *); |
504 | extern int ata_device_suspend(struct ata_port *, struct ata_device *); | 506 | extern int ata_device_suspend(struct ata_port *, struct ata_device *); |
505 | extern int ata_ratelimit(void); | 507 | extern int ata_ratelimit(void); |
508 | extern unsigned int ata_busy_sleep(struct ata_port *ap, | ||
509 | unsigned long timeout_pat, | ||
510 | unsigned long timeout); | ||
506 | 511 | ||
507 | /* | 512 | /* |
508 | * Default driver ops implementations | 513 | * Default driver ops implementations |