From dd8b44b3958fa67d802cbbec7c7d82f7fb476229 Mon Sep 17 00:00:00 2001 From: dfr Date: Mon, 28 Aug 2000 21:48:13 +0000 Subject: * Completely rewrite the alpha busspace to hide the implementation from the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one. --- sys/dev/isp/isp_pci.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys/dev/isp') diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 6189077..86ee964 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -216,15 +216,6 @@ static struct ispmdvec mdvec_2200 = { static int isp_pci_probe (device_t); static int isp_pci_attach (device_t); -/* This distinguishing define is not right, but it does work */ -#ifdef __alpha__ -#define IO_SPACE_MAPPING ALPHA_BUS_SPACE_IO -#define MEM_SPACE_MAPPING ALPHA_BUS_SPACE_MEM -#else -#define IO_SPACE_MAPPING I386_BUS_SPACE_IO -#define MEM_SPACE_MAPPING I386_BUS_SPACE_MEM -#endif - struct isp_pcisoftc { struct ispsoftc pci_isp; device_t pci_dev; -- cgit v1.1