diff options
Diffstat (limited to 'drivers/ide/pci/cs5535.c')
-rw-r--r-- | drivers/ide/pci/cs5535.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/pci/cs5535.c b/drivers/ide/pci/cs5535.c index 2a72b4f22ddf..4692c39c6996 100644 --- a/drivers/ide/pci/cs5535.c +++ b/drivers/ide/pci/cs5535.c | |||
@@ -157,16 +157,6 @@ static void cs5535_set_pio_mode(ide_drive_t *drive, const u8 pio) | |||
157 | cs5535_set_speed(drive, XFER_PIO_0 + pio); | 157 | cs5535_set_speed(drive, XFER_PIO_0 + pio); |
158 | } | 158 | } |
159 | 159 | ||
160 | static int cs5535_dma_check(ide_drive_t *drive) | ||
161 | { | ||
162 | if (ide_tune_dma(drive)) | ||
163 | return 0; | ||
164 | |||
165 | ide_set_max_pio(drive); | ||
166 | |||
167 | return -1; | ||
168 | } | ||
169 | |||
170 | static u8 __devinit cs5535_cable_detect(struct pci_dev *dev) | 160 | static u8 __devinit cs5535_cable_detect(struct pci_dev *dev) |
171 | { | 161 | { |
172 | u8 bit; | 162 | u8 bit; |
@@ -197,8 +187,6 @@ static void __devinit init_hwif_cs5535(ide_hwif_t *hwif) | |||
197 | if (hwif->dma_base == 0) | 187 | if (hwif->dma_base == 0) |
198 | return; | 188 | return; |
199 | 189 | ||
200 | hwif->ide_dma_check = &cs5535_dma_check; | ||
201 | |||
202 | hwif->atapi_dma = 1; | 190 | hwif->atapi_dma = 1; |
203 | hwif->ultra_mask = 0x1F; | 191 | hwif->ultra_mask = 0x1F; |
204 | hwif->mwdma_mask = 0x07; | 192 | hwif->mwdma_mask = 0x07; |