mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the hack that allocates memory when the bios haven't already done so.
We can't rely on rman to give us a useable memory window if we tell it to do auto-allocation. This should probably be fixed on the pci bus/rman side.
This commit is contained in:
parent
9e5726611c
commit
472ce770c4
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ pccbb_attach(device_t brdev)
|
|||
-(sockbase & 0xfffffff0);
|
||||
sc->sc_base_res = bus_generic_alloc_resource(
|
||||
device_get_parent(brdev), brdev, SYS_RES_MEMORY,
|
||||
&rid, 0, ~0, sockbase,
|
||||
&rid, 0x10000000, ~0, sockbase,
|
||||
RF_ACTIVE|rman_make_alignment_flags(sockbase));
|
||||
if (!sc->sc_base_res){
|
||||
device_printf(brdev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue