diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ec10b2a3bb6e..508f7e435cc4 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1016,6 +1016,13 @@ extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *o | |||
1016 | void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *); | 1016 | void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int, u8 *); |
1017 | void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *); | 1017 | void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *); |
1018 | 1018 | ||
1019 | #ifdef CONFIG_BLK_DEV_IDEDMA_PCI | ||
1020 | void ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); | ||
1021 | #else | ||
1022 | static inline void ide_hwif_setup_dma(ide_hwif_t *hwif, | ||
1023 | const struct ide_port_info *d) { } | ||
1024 | #endif | ||
1025 | |||
1019 | extern void default_hwif_iops(ide_hwif_t *); | 1026 | extern void default_hwif_iops(ide_hwif_t *); |
1020 | extern void default_hwif_mmiops(ide_hwif_t *); | 1027 | extern void default_hwif_mmiops(ide_hwif_t *); |
1021 | extern void default_hwif_transport(ide_hwif_t *); | 1028 | extern void default_hwif_transport(ide_hwif_t *); |
@@ -1089,6 +1096,8 @@ enum { | |||
1089 | IDE_HFLAG_CLEAR_SIMPLEX = (1 << 28), | 1096 | IDE_HFLAG_CLEAR_SIMPLEX = (1 << 28), |
1090 | /* DSC overlap is unsupported */ | 1097 | /* DSC overlap is unsupported */ |
1091 | IDE_HFLAG_NO_DSC = (1 << 29), | 1098 | IDE_HFLAG_NO_DSC = (1 << 29), |
1099 | /* don't autotune PIO */ | ||
1100 | IDE_HFLAG_NO_AUTOTUNE = (1 << 30), | ||
1092 | }; | 1101 | }; |
1093 | 1102 | ||
1094 | #ifdef CONFIG_BLK_DEV_OFFBOARD | 1103 | #ifdef CONFIG_BLK_DEV_OFFBOARD |
@@ -1201,8 +1210,8 @@ void ide_unregister_region(struct gendisk *); | |||
1201 | 1210 | ||
1202 | void ide_undecoded_slave(ide_drive_t *); | 1211 | void ide_undecoded_slave(ide_drive_t *); |
1203 | 1212 | ||
1204 | int ide_device_add_all(u8 *idx); | 1213 | int ide_device_add_all(u8 *idx, const struct ide_port_info *); |
1205 | int ide_device_add(u8 idx[4]); | 1214 | int ide_device_add(u8 idx[4], const struct ide_port_info *); |
1206 | 1215 | ||
1207 | static inline void *ide_get_hwifdata (ide_hwif_t * hwif) | 1216 | static inline void *ide_get_hwifdata (ide_hwif_t * hwif) |
1208 | { | 1217 | { |