diff options
Diffstat (limited to 'drivers/ide/pci/jmicron.c')
-rw-r--r-- | drivers/ide/pci/jmicron.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index 8b40f6479c55..ff53c2df7a13 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c | |||
@@ -111,11 +111,7 @@ static void __devinit init_hwif_jmicron(ide_hwif_t *hwif) | |||
111 | hwif->set_pio_mode = &jmicron_set_pio_mode; | 111 | hwif->set_pio_mode = &jmicron_set_pio_mode; |
112 | hwif->set_dma_mode = &jmicron_set_dma_mode; | 112 | hwif->set_dma_mode = &jmicron_set_dma_mode; |
113 | 113 | ||
114 | if (hwif->dma_base == 0) | 114 | hwif->cable_detect = ata66_jmicron; |
115 | return; | ||
116 | |||
117 | if (hwif->cbl != ATA_CBL_PATA40_SHORT) | ||
118 | hwif->cbl = ata66_jmicron(hwif); | ||
119 | } | 115 | } |
120 | 116 | ||
121 | static const struct ide_port_info jmicron_chipset __devinitdata = { | 117 | static const struct ide_port_info jmicron_chipset __devinitdata = { |