diff options
Diffstat (limited to 'drivers/ata/pata_hpt3x3.c')
-rw-r--r-- | drivers/ata/pata_hpt3x3.c | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c index 9837ab0181e8..8857d029ac2e 100644 --- a/drivers/ata/pata_hpt3x3.c +++ b/drivers/ata/pata_hpt3x3.c | |||
@@ -106,40 +106,13 @@ static struct scsi_host_template hpt3x3_sht = { | |||
106 | }; | 106 | }; |
107 | 107 | ||
108 | static struct ata_port_operations hpt3x3_port_ops = { | 108 | static struct ata_port_operations hpt3x3_port_ops = { |
109 | .inherits = &ata_bmdma_port_ops, | ||
110 | .check_atapi_dma= hpt3x3_atapi_dma, | ||
111 | .cable_detect = ata_cable_40wire, | ||
109 | .set_piomode = hpt3x3_set_piomode, | 112 | .set_piomode = hpt3x3_set_piomode, |
110 | #if defined(CONFIG_PATA_HPT3X3_DMA) | 113 | #if defined(CONFIG_PATA_HPT3X3_DMA) |
111 | .set_dmamode = hpt3x3_set_dmamode, | 114 | .set_dmamode = hpt3x3_set_dmamode, |
112 | #endif | 115 | #endif |
113 | .mode_filter = ata_pci_default_filter, | ||
114 | |||
115 | .tf_load = ata_tf_load, | ||
116 | .tf_read = ata_tf_read, | ||
117 | .check_status = ata_check_status, | ||
118 | .exec_command = ata_exec_command, | ||
119 | .dev_select = ata_std_dev_select, | ||
120 | |||
121 | .freeze = ata_bmdma_freeze, | ||
122 | .thaw = ata_bmdma_thaw, | ||
123 | .error_handler = ata_bmdma_error_handler, | ||
124 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
125 | .cable_detect = ata_cable_40wire, | ||
126 | |||
127 | .bmdma_setup = ata_bmdma_setup, | ||
128 | .bmdma_start = ata_bmdma_start, | ||
129 | .bmdma_stop = ata_bmdma_stop, | ||
130 | .bmdma_status = ata_bmdma_status, | ||
131 | .check_atapi_dma= hpt3x3_atapi_dma, | ||
132 | |||
133 | .qc_prep = ata_qc_prep, | ||
134 | .qc_issue = ata_qc_issue_prot, | ||
135 | |||
136 | .data_xfer = ata_data_xfer, | ||
137 | |||
138 | .irq_handler = ata_interrupt, | ||
139 | .irq_clear = ata_bmdma_irq_clear, | ||
140 | .irq_on = ata_irq_on, | ||
141 | |||
142 | .port_start = ata_sff_port_start, | ||
143 | }; | 116 | }; |
144 | 117 | ||
145 | /** | 118 | /** |