From d65d5bbff513b65dda6ea090cce84a9a199b149f Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 27 Jun 2002 19:56:22 +0000 Subject: [PATCH] Lots of people have had to hack around the fixed address for cardbus bridges in modern hardware (that hardware w/ lots of RAM). Raise the address from 0x44000000 to 0x88000000 to match what we do with NEWCARD. However, this really should be done in the pci layer. --- sys/pccard/pcic_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 561ca2620ee..7518e9590e9 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -1338,7 +1338,7 @@ pcic_pci_get_memory(device_t dev) pci_write_config(dev, sc->memrid, 0xffffffff, 4); sockbase = pci_read_config(dev, sc->memrid, 4); sockbase = (sockbase & 0xfffffff0) & -(sockbase & 0xfffffff0); -#define CARDBUS_SYS_RES_MEMORY_START 0x44000000 +#define CARDBUS_SYS_RES_MEMORY_START 0x88000000 #define CARDBUS_SYS_RES_MEMORY_END 0xFFFFFFFF sc->memres = bus_generic_alloc_resource(device_get_parent(dev), dev, SYS_RES_MEMORY, &sc->memrid,