diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 15:59:42 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 15:59:42 -0400 |
commit | 70d374ea9907036e15574a5ce89219edd5baee10 (patch) | |
tree | b858bb4a841eb91b1d91b41c33698d05fa7bfb37 /include/linux/libata.h | |
parent | aa7e16d6b88b3b38db0d2ee49ed5e44e7b2045ec (diff) | |
parent | bf4e70e54cf31dcca48d279c7f7e71328eebe749 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 51d2b20d34f2..fc05a9899288 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -116,6 +116,8 @@ enum { | |||
116 | ATA_FLAG_MMIO = (1 << 6), /* use MMIO, not PIO */ | 116 | ATA_FLAG_MMIO = (1 << 6), /* use MMIO, not PIO */ |
117 | ATA_FLAG_SATA_RESET = (1 << 7), /* use COMRESET */ | 117 | ATA_FLAG_SATA_RESET = (1 << 7), /* use COMRESET */ |
118 | ATA_FLAG_PIO_DMA = (1 << 8), /* PIO cmds via DMA */ | 118 | ATA_FLAG_PIO_DMA = (1 << 8), /* PIO cmds via DMA */ |
119 | ATA_FLAG_NOINTR = (1 << 9), /* FIXME: Remove this once | ||
120 | * proper HSM is in place. */ | ||
119 | 121 | ||
120 | ATA_QCFLAG_ACTIVE = (1 << 1), /* cmd not yet ack'd to scsi lyer */ | 122 | ATA_QCFLAG_ACTIVE = (1 << 1), /* cmd not yet ack'd to scsi lyer */ |
121 | ATA_QCFLAG_SG = (1 << 3), /* have s/g table? */ | 123 | ATA_QCFLAG_SG = (1 << 3), /* have s/g table? */ |
@@ -366,7 +368,7 @@ struct ata_port_operations { | |||
366 | 368 | ||
367 | void (*host_stop) (struct ata_host_set *host_set); | 369 | void (*host_stop) (struct ata_host_set *host_set); |
368 | 370 | ||
369 | void (*bmdma_stop) (struct ata_port *ap); | 371 | void (*bmdma_stop) (struct ata_queued_cmd *qc); |
370 | u8 (*bmdma_status) (struct ata_port *ap); | 372 | u8 (*bmdma_status) (struct ata_port *ap); |
371 | }; | 373 | }; |
372 | 374 | ||
@@ -427,7 +429,7 @@ extern void ata_dev_id_string(u16 *id, unsigned char *s, | |||
427 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); | 429 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); |
428 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); | 430 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); |
429 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); | 431 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); |
430 | extern void ata_bmdma_stop(struct ata_port *ap); | 432 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); |
431 | extern u8 ata_bmdma_status(struct ata_port *ap); | 433 | extern u8 ata_bmdma_status(struct ata_port *ap); |
432 | extern void ata_bmdma_irq_clear(struct ata_port *ap); | 434 | extern void ata_bmdma_irq_clear(struct ata_port *ap); |
433 | extern void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat); | 435 | extern void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat); |
@@ -647,7 +649,7 @@ static inline void scr_write(struct ata_port *ap, unsigned int reg, u32 val) | |||
647 | ap->ops->scr_write(ap, reg, val); | 649 | ap->ops->scr_write(ap, reg, val); |
648 | } | 650 | } |
649 | 651 | ||
650 | static inline void scr_write_flush(struct ata_port *ap, unsigned int reg, | 652 | static inline void scr_write_flush(struct ata_port *ap, unsigned int reg, |
651 | u32 val) | 653 | u32 val) |
652 | { | 654 | { |
653 | ap->ops->scr_write(ap, reg, val); | 655 | ap->ops->scr_write(ap, reg, val); |