aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpiix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_mpiix.c')
-rw-r--r--drivers/ata/pata_mpiix.c23
1 files changed, 3 insertions, 20 deletions
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c
index e8e6837110b4..dab54f8a272d 100644
--- a/drivers/ata/pata_mpiix.c
+++ b/drivers/ata/pata_mpiix.c
@@ -155,28 +155,11 @@ static struct scsi_host_template mpiix_sht = {
155}; 155};
156 156
157static struct ata_port_operations mpiix_port_ops = { 157static struct ata_port_operations mpiix_port_ops = {
158 .inherits = &ata_sff_port_ops,
159 .qc_issue = mpiix_qc_issue_prot,
160 .cable_detect = ata_cable_40wire,
158 .set_piomode = mpiix_set_piomode, 161 .set_piomode = mpiix_set_piomode,
159
160 .tf_load = ata_tf_load,
161 .tf_read = ata_tf_read,
162 .check_status = ata_check_status,
163 .exec_command = ata_exec_command,
164 .dev_select = ata_std_dev_select,
165
166 .freeze = ata_bmdma_freeze,
167 .thaw = ata_bmdma_thaw,
168 .error_handler = mpiix_error_handler, 162 .error_handler = mpiix_error_handler,
169 .post_internal_cmd = ata_bmdma_post_internal_cmd,
170 .cable_detect = ata_cable_40wire,
171
172 .qc_prep = ata_qc_prep,
173 .qc_issue = mpiix_qc_issue_prot,
174 .data_xfer = ata_data_xfer,
175
176 .irq_clear = ata_noop_irq_clear,
177 .irq_on = ata_irq_on,
178
179 .port_start = ata_sff_port_start,
180}; 163};
181 164
182static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id) 165static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)