|
@@ -1689,14 +1689,12 @@ static void ide_legacy_init_one(u8 *idx, hw_regs_t **hws, hw_regs_t *hw,
|
|
ide_std_init_ports(hw, base, ctl);
|
|
ide_std_init_ports(hw, base, ctl);
|
|
hw->irq = irq;
|
|
hw->irq = irq;
|
|
hw->chipset = d->chipset;
|
|
hw->chipset = d->chipset;
|
|
|
|
+ hw->config = config;
|
|
|
|
|
|
hwif = ide_find_port_slot(d);
|
|
hwif = ide_find_port_slot(d);
|
|
if (hwif) {
|
|
if (hwif) {
|
|
hwif->chipset = hw->chipset;
|
|
hwif->chipset = hw->chipset;
|
|
|
|
|
|
- if (config)
|
|
|
|
- hwif->config_data = config;
|
|
|
|
-
|
|
|
|
hws[port_no] = hw;
|
|
hws[port_no] = hw;
|
|
idx[port_no] = hwif->index;
|
|
idx[port_no] = hwif->index;
|
|
}
|
|
}
|