diff options
Diffstat (limited to 'drivers/ata/pata_winbond.c')
-rw-r--r-- | drivers/ata/pata_winbond.c | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c index 9bafae9d5fe0..f235bb0d6139 100644 --- a/drivers/ata/pata_winbond.c +++ b/drivers/ata/pata_winbond.c | |||
@@ -126,29 +126,10 @@ static struct scsi_host_template winbond_sht = { | |||
126 | }; | 126 | }; |
127 | 127 | ||
128 | static struct ata_port_operations winbond_port_ops = { | 128 | static struct ata_port_operations winbond_port_ops = { |
129 | .set_piomode = winbond_set_piomode, | 129 | .inherits = &ata_sff_port_ops, |
130 | |||
131 | .tf_load = ata_tf_load, | ||
132 | .tf_read = ata_tf_read, | ||
133 | .check_status = ata_check_status, | ||
134 | .exec_command = ata_exec_command, | ||
135 | .dev_select = ata_std_dev_select, | ||
136 | |||
137 | .freeze = ata_bmdma_freeze, | ||
138 | .thaw = ata_bmdma_thaw, | ||
139 | .error_handler = ata_bmdma_error_handler, | ||
140 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
141 | .cable_detect = ata_cable_40wire, | ||
142 | |||
143 | .qc_prep = ata_qc_prep, | ||
144 | .qc_issue = ata_qc_issue_prot, | ||
145 | |||
146 | .data_xfer = winbond_data_xfer, | 130 | .data_xfer = winbond_data_xfer, |
147 | 131 | .cable_detect = ata_cable_40wire, | |
148 | .irq_clear = ata_noop_irq_clear, | 132 | .set_piomode = winbond_set_piomode, |
149 | .irq_on = ata_irq_on, | ||
150 | |||
151 | .port_start = ata_sff_port_start, | ||
152 | }; | 133 | }; |
153 | 134 | ||
154 | /** | 135 | /** |