diff options
Diffstat (limited to 'drivers/ata/ata_generic.c')
-rw-r--r-- | drivers/ata/ata_generic.c | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 5c64ce134c6c..0b5b515ae159 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c | |||
@@ -99,36 +99,9 @@ static struct scsi_host_template generic_sht = { | |||
99 | }; | 99 | }; |
100 | 100 | ||
101 | static struct ata_port_operations generic_port_ops = { | 101 | static struct ata_port_operations generic_port_ops = { |
102 | .set_mode = generic_set_mode, | 102 | .inherits = &ata_bmdma_port_ops, |
103 | .mode_filter = ata_pci_default_filter, | ||
104 | |||
105 | .tf_load = ata_tf_load, | ||
106 | .tf_read = ata_tf_read, | ||
107 | .check_status = ata_check_status, | ||
108 | .exec_command = ata_exec_command, | ||
109 | .dev_select = ata_std_dev_select, | ||
110 | |||
111 | .bmdma_setup = ata_bmdma_setup, | ||
112 | .bmdma_start = ata_bmdma_start, | ||
113 | .bmdma_stop = ata_bmdma_stop, | ||
114 | .bmdma_status = ata_bmdma_status, | ||
115 | |||
116 | .data_xfer = ata_data_xfer, | ||
117 | |||
118 | .freeze = ata_bmdma_freeze, | ||
119 | .thaw = ata_bmdma_thaw, | ||
120 | .error_handler = ata_bmdma_error_handler, | ||
121 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
122 | .cable_detect = ata_cable_unknown, | 103 | .cable_detect = ata_cable_unknown, |
123 | 104 | .set_mode = generic_set_mode, | |
124 | .qc_prep = ata_qc_prep, | ||
125 | .qc_issue = ata_qc_issue_prot, | ||
126 | |||
127 | .irq_handler = ata_interrupt, | ||
128 | .irq_clear = ata_bmdma_irq_clear, | ||
129 | .irq_on = ata_irq_on, | ||
130 | |||
131 | .port_start = ata_sff_port_start, | ||
132 | }; | 105 | }; |
133 | 106 | ||
134 | static int all_generic_ide; /* Set to claim all devices */ | 107 | static int all_generic_ide; /* Set to claim all devices */ |