diff options
Diffstat (limited to 'drivers/ata/pata_serverworks.c')
-rw-r--r-- | drivers/ata/pata_serverworks.c | 63 |
1 files changed, 4 insertions, 59 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 318a36988900..627abcf85c6e 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -302,71 +302,16 @@ static struct scsi_host_template serverworks_sht = { | |||
302 | }; | 302 | }; |
303 | 303 | ||
304 | static struct ata_port_operations serverworks_osb4_port_ops = { | 304 | static struct ata_port_operations serverworks_osb4_port_ops = { |
305 | .inherits = &ata_bmdma_port_ops, | ||
306 | .cable_detect = serverworks_cable_detect, | ||
307 | .mode_filter = serverworks_osb4_filter, | ||
305 | .set_piomode = serverworks_set_piomode, | 308 | .set_piomode = serverworks_set_piomode, |
306 | .set_dmamode = serverworks_set_dmamode, | 309 | .set_dmamode = serverworks_set_dmamode, |
307 | .mode_filter = serverworks_osb4_filter, | ||
308 | |||
309 | .tf_load = ata_tf_load, | ||
310 | .tf_read = ata_tf_read, | ||
311 | .check_status = ata_check_status, | ||
312 | .exec_command = ata_exec_command, | ||
313 | .dev_select = ata_std_dev_select, | ||
314 | |||
315 | .freeze = ata_bmdma_freeze, | ||
316 | .thaw = ata_bmdma_thaw, | ||
317 | .error_handler = ata_bmdma_error_handler, | ||
318 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
319 | .cable_detect = serverworks_cable_detect, | ||
320 | |||
321 | .bmdma_setup = ata_bmdma_setup, | ||
322 | .bmdma_start = ata_bmdma_start, | ||
323 | .bmdma_stop = ata_bmdma_stop, | ||
324 | .bmdma_status = ata_bmdma_status, | ||
325 | |||
326 | .qc_prep = ata_qc_prep, | ||
327 | .qc_issue = ata_qc_issue_prot, | ||
328 | |||
329 | .data_xfer = ata_data_xfer, | ||
330 | |||
331 | .irq_handler = ata_interrupt, | ||
332 | .irq_clear = ata_bmdma_irq_clear, | ||
333 | .irq_on = ata_irq_on, | ||
334 | |||
335 | .port_start = ata_sff_port_start, | ||
336 | }; | 310 | }; |
337 | 311 | ||
338 | static struct ata_port_operations serverworks_csb_port_ops = { | 312 | static struct ata_port_operations serverworks_csb_port_ops = { |
339 | .set_piomode = serverworks_set_piomode, | 313 | .inherits = &serverworks_osb4_port_ops, |
340 | .set_dmamode = serverworks_set_dmamode, | ||
341 | .mode_filter = serverworks_csb_filter, | 314 | .mode_filter = serverworks_csb_filter, |
342 | |||
343 | .tf_load = ata_tf_load, | ||
344 | .tf_read = ata_tf_read, | ||
345 | .check_status = ata_check_status, | ||
346 | .exec_command = ata_exec_command, | ||
347 | .dev_select = ata_std_dev_select, | ||
348 | |||
349 | .freeze = ata_bmdma_freeze, | ||
350 | .thaw = ata_bmdma_thaw, | ||
351 | .error_handler = ata_bmdma_error_handler, | ||
352 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
353 | .cable_detect = serverworks_cable_detect, | ||
354 | |||
355 | .bmdma_setup = ata_bmdma_setup, | ||
356 | .bmdma_start = ata_bmdma_start, | ||
357 | .bmdma_stop = ata_bmdma_stop, | ||
358 | .bmdma_status = ata_bmdma_status, | ||
359 | |||
360 | .qc_prep = ata_qc_prep, | ||
361 | .qc_issue = ata_qc_issue_prot, | ||
362 | |||
363 | .data_xfer = ata_data_xfer, | ||
364 | |||
365 | .irq_handler = ata_interrupt, | ||
366 | .irq_clear = ata_bmdma_irq_clear, | ||
367 | .irq_on = ata_irq_on, | ||
368 | |||
369 | .port_start = ata_sff_port_start, | ||
370 | }; | 315 | }; |
371 | 316 | ||
372 | static int serverworks_fixup_osb4(struct pci_dev *pdev) | 317 | static int serverworks_fixup_osb4(struct pci_dev *pdev) |