|
@@ -390,13 +390,9 @@ static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev, const struct ide_port
|
|
|
hw_regs_t hw;
|
|
|
|
|
|
memset(&hw, 0, sizeof(hw));
|
|
|
-#ifndef CONFIG_IDE_ARCH_OBSOLETE_INIT
|
|
|
ide_std_init_ports(&hw, base, ctl | 2);
|
|
|
-#else
|
|
|
- ide_init_hwif_ports(&hw, base, ctl | 2, NULL);
|
|
|
-#endif
|
|
|
memcpy(hwif->io_ports, hw.io_ports, sizeof(hwif->io_ports));
|
|
|
- hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
|
|
|
+ hwif->noprobe = 0;
|
|
|
}
|
|
|
hwif->chipset = d->chipset ? d->chipset : ide_pci;
|
|
|
hwif->pci_dev = dev;
|