patch-2.1.96 linux/arch/alpha/kernel/bios32.c

Next file: linux/arch/arm/Makefile
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/arch/alpha/kernel/bios32.c linux/arch/alpha/kernel/bios32.c
@@ -410,7 +410,7 @@
 			pcibios_write_config_dword(bus->number, dev->devfn,
 						   off, base);
 			handle = HANDLE(bus->number) | base;
-			dev->base_address[PCI_BASE_INDEX(off)] = handle;
+			dev->base_address[idx] = handle;
 			DBG_DEVS(("layout_dev: dev 0x%x MEM @ 0x%lx (0x%x)\n",
 				  dev->device, handle, size));
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov