diff options
Diffstat (limited to 'drivers/ata/pata_jmicron.c')
-rw-r--r-- | drivers/ata/pata_jmicron.c | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 69781af7b1bb..61ff5c6b4568 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c | |||
@@ -125,36 +125,9 @@ static struct scsi_host_template jmicron_sht = { | |||
125 | ATA_BMDMA_SHT(DRV_NAME), | 125 | ATA_BMDMA_SHT(DRV_NAME), |
126 | }; | 126 | }; |
127 | 127 | ||
128 | static const struct ata_port_operations jmicron_ops = { | 128 | static struct ata_port_operations jmicron_ops = { |
129 | /* Task file is PCI ATA format, use helpers */ | 129 | .inherits = &ata_bmdma_port_ops, |
130 | .tf_load = ata_tf_load, | ||
131 | .tf_read = ata_tf_read, | ||
132 | .check_status = ata_check_status, | ||
133 | .exec_command = ata_exec_command, | ||
134 | .dev_select = ata_std_dev_select, | ||
135 | |||
136 | .mode_filter = ata_pci_default_filter, | ||
137 | .freeze = ata_bmdma_freeze, | ||
138 | .thaw = ata_bmdma_thaw, | ||
139 | .error_handler = jmicron_error_handler, | 130 | .error_handler = jmicron_error_handler, |
140 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
141 | |||
142 | /* BMDMA handling is PCI ATA format, use helpers */ | ||
143 | .bmdma_setup = ata_bmdma_setup, | ||
144 | .bmdma_start = ata_bmdma_start, | ||
145 | .bmdma_stop = ata_bmdma_stop, | ||
146 | .bmdma_status = ata_bmdma_status, | ||
147 | .qc_prep = ata_qc_prep, | ||
148 | .qc_issue = ata_qc_issue_prot, | ||
149 | .data_xfer = ata_data_xfer, | ||
150 | |||
151 | /* IRQ-related hooks */ | ||
152 | .irq_handler = ata_interrupt, | ||
153 | .irq_clear = ata_bmdma_irq_clear, | ||
154 | .irq_on = ata_irq_on, | ||
155 | |||
156 | /* Generic PATA PCI ATA helpers */ | ||
157 | .port_start = ata_sff_port_start, | ||
158 | }; | 131 | }; |
159 | 132 | ||
160 | 133 | ||