diff options
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 73112250862c..b2f2003b92e5 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -146,6 +146,7 @@ enum { | |||
| 146 | ATA_DFLAG_SLEEPING = (1 << 15), /* device is sleeping */ | 146 | ATA_DFLAG_SLEEPING = (1 << 15), /* device is sleeping */ |
| 147 | ATA_DFLAG_DUBIOUS_XFER = (1 << 16), /* data transfer not verified */ | 147 | ATA_DFLAG_DUBIOUS_XFER = (1 << 16), /* data transfer not verified */ |
| 148 | ATA_DFLAG_NO_UNLOAD = (1 << 17), /* device doesn't support unload */ | 148 | ATA_DFLAG_NO_UNLOAD = (1 << 17), /* device doesn't support unload */ |
| 149 | ATA_DFLAG_UNLOCK_HPA = (1 << 18), /* unlock HPA */ | ||
| 149 | ATA_DFLAG_INIT_MASK = (1 << 24) - 1, | 150 | ATA_DFLAG_INIT_MASK = (1 << 24) - 1, |
| 150 | 151 | ||
| 151 | ATA_DFLAG_DETACH = (1 << 24), | 152 | ATA_DFLAG_DETACH = (1 << 24), |
| @@ -857,6 +858,7 @@ struct ata_port_operations { | |||
| 857 | unsigned int (*sff_data_xfer)(struct ata_device *dev, | 858 | unsigned int (*sff_data_xfer)(struct ata_device *dev, |
| 858 | unsigned char *buf, unsigned int buflen, int rw); | 859 | unsigned char *buf, unsigned int buflen, int rw); |
| 859 | u8 (*sff_irq_on)(struct ata_port *); | 860 | u8 (*sff_irq_on)(struct ata_port *); |
| 861 | bool (*sff_irq_check)(struct ata_port *); | ||
| 860 | void (*sff_irq_clear)(struct ata_port *); | 862 | void (*sff_irq_clear)(struct ata_port *); |
| 861 | 863 | ||
| 862 | void (*bmdma_setup)(struct ata_queued_cmd *qc); | 864 | void (*bmdma_setup)(struct ata_queued_cmd *qc); |
| @@ -1642,8 +1644,8 @@ extern int ata_pci_sff_activate_host(struct ata_host *host, | |||
| 1642 | irq_handler_t irq_handler, | 1644 | irq_handler_t irq_handler, |
| 1643 | struct scsi_host_template *sht); | 1645 | struct scsi_host_template *sht); |
| 1644 | extern int ata_pci_sff_init_one(struct pci_dev *pdev, | 1646 | extern int ata_pci_sff_init_one(struct pci_dev *pdev, |
| 1645 | const struct ata_port_info * const * ppi, | 1647 | const struct ata_port_info * const * ppi, |
| 1646 | struct scsi_host_template *sht, void *host_priv); | 1648 | struct scsi_host_template *sht, void *host_priv, int hflags); |
| 1647 | #endif /* CONFIG_PCI */ | 1649 | #endif /* CONFIG_PCI */ |
| 1648 | 1650 | ||
| 1649 | /** | 1651 | /** |
