diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ffb76d0d0814..dd50a5c5ec10 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -199,7 +199,8 @@ typedef struct hw_regs_s { | |||
199 | 199 | ||
200 | struct hwif_s * ide_find_port(unsigned long); | 200 | struct hwif_s * ide_find_port(unsigned long); |
201 | 201 | ||
202 | int ide_register_hw(hw_regs_t *, void (*)(struct hwif_s *), int, | 202 | struct ide_drive_s; |
203 | int ide_register_hw(hw_regs_t *, void (*)(struct ide_drive_s *), int, | ||
203 | struct hwif_s **); | 204 | struct hwif_s **); |
204 | 205 | ||
205 | void ide_setup_ports( hw_regs_t *hw, | 206 | void ide_setup_ports( hw_regs_t *hw, |
@@ -527,15 +528,13 @@ typedef struct hwif_s { | |||
527 | /* special host masking for drive selection */ | 528 | /* special host masking for drive selection */ |
528 | void (*maskproc)(ide_drive_t *, int); | 529 | void (*maskproc)(ide_drive_t *, int); |
529 | /* check host's drive quirk list */ | 530 | /* check host's drive quirk list */ |
530 | int (*quirkproc)(ide_drive_t *); | 531 | void (*quirkproc)(ide_drive_t *); |
531 | /* driver soft-power interface */ | 532 | /* driver soft-power interface */ |
532 | int (*busproc)(ide_drive_t *, int); | 533 | int (*busproc)(ide_drive_t *, int); |
533 | #endif | 534 | #endif |
534 | u8 (*mdma_filter)(ide_drive_t *); | 535 | u8 (*mdma_filter)(ide_drive_t *); |
535 | u8 (*udma_filter)(ide_drive_t *); | 536 | u8 (*udma_filter)(ide_drive_t *); |
536 | 537 | ||
537 | void (*fixup)(struct hwif_s *); | ||
538 | |||
539 | void (*ata_input_data)(ide_drive_t *, void *, u32); | 538 | void (*ata_input_data)(ide_drive_t *, void *, u32); |
540 | void (*ata_output_data)(ide_drive_t *, void *, u32); | 539 | void (*ata_output_data)(ide_drive_t *, void *, u32); |
541 | 540 | ||
@@ -1108,7 +1107,6 @@ struct ide_port_info { | |||
1108 | void (*init_iops)(ide_hwif_t *); | 1107 | void (*init_iops)(ide_hwif_t *); |
1109 | void (*init_hwif)(ide_hwif_t *); | 1108 | void (*init_hwif)(ide_hwif_t *); |
1110 | void (*init_dma)(ide_hwif_t *, unsigned long); | 1109 | void (*init_dma)(ide_hwif_t *, unsigned long); |
1111 | void (*fixup)(ide_hwif_t *); | ||
1112 | ide_pci_enablebit_t enablebits[2]; | 1110 | ide_pci_enablebit_t enablebits[2]; |
1113 | hwif_chipset_t chipset; | 1111 | hwif_chipset_t chipset; |
1114 | u8 extra; | 1112 | u8 extra; |
@@ -1203,7 +1201,7 @@ extern void ide_unregister (unsigned int index); | |||
1203 | void ide_register_region(struct gendisk *); | 1201 | void ide_register_region(struct gendisk *); |
1204 | void ide_unregister_region(struct gendisk *); | 1202 | void ide_unregister_region(struct gendisk *); |
1205 | 1203 | ||
1206 | void ide_undecoded_slave(ide_hwif_t *); | 1204 | void ide_undecoded_slave(ide_drive_t *); |
1207 | 1205 | ||
1208 | int ide_device_add(u8 idx[4]); | 1206 | int ide_device_add(u8 idx[4]); |
1209 | 1207 | ||