diff options
author | jon <jon@FreeBSD.org> | 2001-08-27 11:23:05 +0000 |
---|---|---|
committer | jon <jon@FreeBSD.org> | 2001-08-27 11:23:05 +0000 |
commit | bc437ce574a780b54ea8166523e6274d06fa4f80 (patch) | |
tree | 1cca308190d35b4d27b48221ce2cc84deab04dea /sys/dev/pccbb | |
parent | 18890a31b43fc41c3bfb094f713357e58d614b60 (diff) | |
download | FreeBSD-src-bc437ce574a780b54ea8166523e6274d06fa4f80.zip FreeBSD-src-bc437ce574a780b54ea8166523e6274d06fa4f80.tar.gz |
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.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 14513fb..2827eeb 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -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, |