diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ata.h | 3 | ||||
-rw-r--r-- | include/linux/libata.h | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h index 20f31567ccee..b4c85e2adef5 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h | |||
@@ -841,7 +841,8 @@ static inline int ata_id_current_chs_valid(const u16 *id) | |||
841 | 841 | ||
842 | static inline int ata_id_is_cfa(const u16 *id) | 842 | static inline int ata_id_is_cfa(const u16 *id) |
843 | { | 843 | { |
844 | if (id[ATA_ID_CONFIG] == 0x848A) /* Traditional CF */ | 844 | if ((id[ATA_ID_CONFIG] == 0x848A) || /* Traditional CF */ |
845 | (id[ATA_ID_CONFIG] == 0x844A)) /* Delkin Devices CF */ | ||
845 | return 1; | 846 | return 1; |
846 | /* | 847 | /* |
847 | * CF specs don't require specific value in the word 0 anymore and yet | 848 | * CF specs don't require specific value in the word 0 anymore and yet |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 73112250862c..f8ea71e6d0e2 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -857,6 +857,7 @@ struct ata_port_operations { | |||
857 | unsigned int (*sff_data_xfer)(struct ata_device *dev, | 857 | unsigned int (*sff_data_xfer)(struct ata_device *dev, |
858 | unsigned char *buf, unsigned int buflen, int rw); | 858 | unsigned char *buf, unsigned int buflen, int rw); |
859 | u8 (*sff_irq_on)(struct ata_port *); | 859 | u8 (*sff_irq_on)(struct ata_port *); |
860 | bool (*sff_irq_check)(struct ata_port *); | ||
860 | void (*sff_irq_clear)(struct ata_port *); | 861 | void (*sff_irq_clear)(struct ata_port *); |
861 | 862 | ||
862 | void (*bmdma_setup)(struct ata_queued_cmd *qc); | 863 | void (*bmdma_setup)(struct ata_queued_cmd *qc); |
@@ -1642,8 +1643,8 @@ extern int ata_pci_sff_activate_host(struct ata_host *host, | |||
1642 | irq_handler_t irq_handler, | 1643 | irq_handler_t irq_handler, |
1643 | struct scsi_host_template *sht); | 1644 | struct scsi_host_template *sht); |
1644 | extern int ata_pci_sff_init_one(struct pci_dev *pdev, | 1645 | extern int ata_pci_sff_init_one(struct pci_dev *pdev, |
1645 | const struct ata_port_info * const * ppi, | 1646 | const struct ata_port_info * const * ppi, |
1646 | struct scsi_host_template *sht, void *host_priv); | 1647 | struct scsi_host_template *sht, void *host_priv, int hflags); |
1647 | #endif /* CONFIG_PCI */ | 1648 | #endif /* CONFIG_PCI */ |
1648 | 1649 | ||
1649 | /** | 1650 | /** |