aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ninja32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_ninja32.c')
-rw-r--r--drivers/ata/pata_ninja32.c30
1 files changed, 2 insertions, 28 deletions
diff --git a/drivers/ata/pata_ninja32.c b/drivers/ata/pata_ninja32.c
index ce3b07cab8bc..8213d081f313 100644
--- a/drivers/ata/pata_ninja32.c
+++ b/drivers/ata/pata_ninja32.c
@@ -83,36 +83,10 @@ static struct scsi_host_template ninja32_sht = {
83}; 83};
84 84
85static struct ata_port_operations ninja32_port_ops = { 85static struct ata_port_operations ninja32_port_ops = {
86 .set_piomode = ninja32_set_piomode, 86 .inherits = &ata_bmdma_port_ops,
87 .mode_filter = ata_pci_default_filter,
88
89 .tf_load = ata_tf_load,
90 .tf_read = ata_tf_read,
91 .check_status = ata_check_status,
92 .exec_command = ata_exec_command,
93 .dev_select = ninja32_dev_select, 87 .dev_select = ninja32_dev_select,
94
95 .freeze = ata_bmdma_freeze,
96 .thaw = ata_bmdma_thaw,
97 .error_handler = ata_bmdma_error_handler,
98 .post_internal_cmd = ata_bmdma_post_internal_cmd,
99 .cable_detect = ata_cable_40wire, 88 .cable_detect = ata_cable_40wire,
100 89 .set_piomode = ninja32_set_piomode,
101 .bmdma_setup = ata_bmdma_setup,
102 .bmdma_start = ata_bmdma_start,
103 .bmdma_stop = ata_bmdma_stop,
104 .bmdma_status = ata_bmdma_status,
105
106 .qc_prep = ata_qc_prep,
107 .qc_issue = ata_qc_issue_prot,
108
109 .data_xfer = ata_data_xfer,
110
111 .irq_handler = ata_interrupt,
112 .irq_clear = ata_bmdma_irq_clear,
113 .irq_on = ata_irq_on,
114
115 .port_start = ata_sff_port_start,
116}; 90};
117 91
118static int ninja32_init_one(struct pci_dev *dev, const struct pci_device_id *id) 92static int ninja32_init_one(struct pci_dev *dev, const struct pci_device_id *id)