aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ns87410.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
-rw-r--r--drivers/ata/pata_ns87410.c25
1 files changed, 3 insertions, 22 deletions
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c
index d2f85f107d15..5b1982fa0be1 100644
--- a/drivers/ata/pata_ns87410.c
+++ b/drivers/ata/pata_ns87410.c
@@ -148,30 +148,11 @@ static struct scsi_host_template ns87410_sht = {
148}; 148};
149 149
150static struct ata_port_operations ns87410_port_ops = { 150static struct ata_port_operations ns87410_port_ops = {
151 .inherits = &ata_sff_port_ops,
152 .qc_issue = ns87410_qc_issue_prot,
153 .cable_detect = ata_cable_40wire,
151 .set_piomode = ns87410_set_piomode, 154 .set_piomode = ns87410_set_piomode,
152
153 .tf_load = ata_tf_load,
154 .tf_read = ata_tf_read,
155 .check_status = ata_check_status,
156 .exec_command = ata_exec_command,
157 .dev_select = ata_std_dev_select,
158
159 .freeze = ata_bmdma_freeze,
160 .thaw = ata_bmdma_thaw,
161 .error_handler = ns87410_error_handler, 155 .error_handler = ns87410_error_handler,
162 .post_internal_cmd = ata_bmdma_post_internal_cmd,
163 .cable_detect = ata_cable_40wire,
164
165 .qc_prep = ata_qc_prep,
166 .qc_issue = ns87410_qc_issue_prot,
167
168 .data_xfer = ata_data_xfer,
169
170 .irq_handler = ata_interrupt,
171 .irq_clear = ata_noop_irq_clear,
172 .irq_on = ata_irq_on,
173
174 .port_start = ata_sff_port_start,
175}; 156};
176 157
177static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id) 158static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id)