From 472ce770c4b7c4a4fc09af03cbffcadf24b68d9e Mon Sep 17 00:00:00 2001 From: Jonathan Chen Date: Mon, 27 Aug 2001 11:23:05 +0000 Subject: [PATCH] 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. --- sys/dev/pccbb/pccbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 14513fb5b381..2827eebcdd2d 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,