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.
This commit is contained in:
Warner Losh 2002-06-27 19:56:22 +00:00
parent 600c1a5a8e
commit d65d5bbff5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98929

View file

@ -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,