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:
parent
c282ad9b24
commit
0825fa8a7f
@ -1338,7 +1338,7 @@ pcic_pci_get_memory(device_t dev)
|
|||||||
pci_write_config(dev, sc->memrid, 0xffffffff, 4);
|
pci_write_config(dev, sc->memrid, 0xffffffff, 4);
|
||||||
sockbase = pci_read_config(dev, sc->memrid, 4);
|
sockbase = pci_read_config(dev, sc->memrid, 4);
|
||||||
sockbase = (sockbase & 0xfffffff0) & -(sockbase & 0xfffffff0);
|
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
|
#define CARDBUS_SYS_RES_MEMORY_END 0xFFFFFFFF
|
||||||
sc->memres = bus_generic_alloc_resource(device_get_parent(dev),
|
sc->memres = bus_generic_alloc_resource(device_get_parent(dev),
|
||||||
dev, SYS_RES_MEMORY, &sc->memrid,
|
dev, SYS_RES_MEMORY, &sc->memrid,
|
||||||
|
Loading…
Reference in New Issue
Block a user