patch-2.3.20 linux/drivers/block/ide-pci.c
Next file: linux/drivers/char/defkeymap.c
Previous file: linux/drivers/atm/Config.in
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Oct 8 10:06:21 1999
- Orig file:
v2.3.19/linux/drivers/block/ide-pci.c
- Orig date:
Tue Aug 31 17:29:13 1999
diff -u --recursive --new-file v2.3.19/linux/drivers/block/ide-pci.c linux/drivers/block/ide-pci.c
@@ -507,7 +507,7 @@
if ((hwif = ide_match_hwif(base, d->bootable, d->name)) == NULL)
continue; /* no room in ide_hwifs[] */
if (hwif->io_ports[IDE_DATA_OFFSET] != base) {
- ide_init_hwif_ports(&hwif->hw, base, (ctl + 2), NULL);
+ ide_init_hwif_ports(&hwif->hw, base, (ctl | 2), NULL);
memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports));
hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)