aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cypress.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cypress.c')
-rw-r--r--drivers/ata/pata_cypress.c31
1 files changed, 2 insertions, 29 deletions
diff --git a/drivers/ata/pata_cypress.c b/drivers/ata/pata_cypress.c
index 07fa1ab36315..c459553e7d1e 100644
--- a/drivers/ata/pata_cypress.c
+++ b/drivers/ata/pata_cypress.c
@@ -114,37 +114,10 @@ static struct scsi_host_template cy82c693_sht = {
114}; 114};
115 115
116static struct ata_port_operations cy82c693_port_ops = { 116static struct ata_port_operations cy82c693_port_ops = {
117 .inherits = &ata_bmdma_port_ops,
118 .cable_detect = ata_cable_40wire,
117 .set_piomode = cy82c693_set_piomode, 119 .set_piomode = cy82c693_set_piomode,
118 .set_dmamode = cy82c693_set_dmamode, 120 .set_dmamode = cy82c693_set_dmamode,
119 .mode_filter = ata_pci_default_filter,
120
121 .tf_load = ata_tf_load,
122 .tf_read = ata_tf_read,
123 .check_status = ata_check_status,
124 .exec_command = ata_exec_command,
125 .dev_select = ata_std_dev_select,
126
127 .freeze = ata_bmdma_freeze,
128 .thaw = ata_bmdma_thaw,
129 .error_handler = ata_bmdma_error_handler,
130 .post_internal_cmd = ata_bmdma_post_internal_cmd,
131 .cable_detect = ata_cable_40wire,
132
133 .bmdma_setup = ata_bmdma_setup,
134 .bmdma_start = ata_bmdma_start,
135 .bmdma_stop = ata_bmdma_stop,
136 .bmdma_status = ata_bmdma_status,
137
138 .qc_prep = ata_qc_prep,
139 .qc_issue = ata_qc_issue_prot,
140
141 .data_xfer = ata_data_xfer,
142
143 .irq_handler = ata_interrupt,
144 .irq_clear = ata_bmdma_irq_clear,
145 .irq_on = ata_irq_on,
146
147 .port_start = ata_sff_port_start,
148}; 121};
149 122
150static int cy82c693_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 123static int cy82c693_init_one(struct pci_dev *pdev, const struct pci_device_id *id)