Fix to arch/alpha/kernel/bios32.c

Steven N. Hirsch (shirsch@ibm.net)
Fri, 10 Apr 1998 15:45:04 -0400 (EDT)


All,

This was overlooked in the last round of pci patches, and is necessary in
order to build on an Alpha:

--- linux-2.1.94/arch/alpha/kernel/bios32.c.orig Fri Apr 10 05:54:26 1998
+++ linux/arch/alpha/kernel/bios32.c Fri Apr 10 07:33:01 1998
@@ -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));
}

Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu