summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-06-27 19:56:22 +0000
committerimp <imp@FreeBSD.org>2002-06-27 19:56:22 +0000
commit0825fa8a7f009d270db69d92ec0e8bb494bef2ce (patch)
treef23b3ad811591462a9275a7583ae462b4c9af841 /sys/pccard
parentc282ad9b24d3ac235eae204b26d9107d5d10b291 (diff)
downloadFreeBSD-src-0825fa8a7f009d270db69d92ec0e8bb494bef2ce.zip
FreeBSD-src-0825fa8a7f009d270db69d92ec0e8bb494bef2ce.tar.gz
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.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 561ca26..7518e95 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,
OpenPOWER on IntegriCloud