mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
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
600c1a5a8e
commit
d65d5bbff5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98929
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user