aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h10
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
200struct hwif_s * ide_find_port(unsigned long); 200struct hwif_s * ide_find_port(unsigned long);
201 201
202int ide_register_hw(hw_regs_t *, void (*)(struct hwif_s *), int, 202struct ide_drive_s;
203int ide_register_hw(hw_regs_t *, void (*)(struct ide_drive_s *), int,
203 struct hwif_s **); 204 struct hwif_s **);
204 205
205void ide_setup_ports( hw_regs_t *hw, 206void 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);
1203void ide_register_region(struct gendisk *); 1201void ide_register_region(struct gendisk *);
1204void ide_unregister_region(struct gendisk *); 1202void ide_unregister_region(struct gendisk *);
1205 1203
1206void ide_undecoded_slave(ide_hwif_t *); 1204void ide_undecoded_slave(ide_drive_t *);
1207 1205
1208int ide_device_add(u8 idx[4]); 1206int ide_device_add(u8 idx[4]);
1209 1207