diff options
Diffstat (limited to 'drivers/ide/pci/slc90e66.c')
-rw-r--r-- | drivers/ide/pci/slc90e66.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index 41c5c571f6bd..bf21f1dfb7b5 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
@@ -130,16 +130,6 @@ static void slc90e66_set_dma_mode(ide_drive_t *drive, const u8 speed) | |||
130 | slc90e66_set_pio_mode(drive, pio); | 130 | slc90e66_set_pio_mode(drive, pio); |
131 | } | 131 | } |
132 | 132 | ||
133 | static int slc90e66_config_drive_xfer_rate (ide_drive_t *drive) | ||
134 | { | ||
135 | if (ide_tune_dma(drive)) | ||
136 | return 0; | ||
137 | |||
138 | ide_set_max_pio(drive); | ||
139 | |||
140 | return -1; | ||
141 | } | ||
142 | |||
143 | static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) | 133 | static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) |
144 | { | 134 | { |
145 | u8 reg47 = 0; | 135 | u8 reg47 = 0; |
@@ -170,8 +160,6 @@ static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) | |||
170 | /* bit[0(1)]: 0:80, 1:40 */ | 160 | /* bit[0(1)]: 0:80, 1:40 */ |
171 | hwif->cbl = (reg47 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; | 161 | hwif->cbl = (reg47 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; |
172 | 162 | ||
173 | hwif->ide_dma_check = &slc90e66_config_drive_xfer_rate; | ||
174 | |||
175 | if (!noautodma) | 163 | if (!noautodma) |
176 | hwif->autodma = 1; | 164 | hwif->autodma = 1; |
177 | hwif->drives[0].autodma = hwif->autodma; | 165 | hwif->drives[0].autodma = hwif->autodma; |