summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-09-09 12:52:34 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-09-09 12:52:34 +0000
commitb2fa807b0ea69fe87722e720c585c3117956f5ae (patch)
treeac48471ca0feba33db66ee68203efe2032242d3c /sys/powerpc/aim
parentd54687609ce697afeb64e5cdd57396c563fcf8c8 (diff)
downloadFreeBSD-src-b2fa807b0ea69fe87722e720c585c3117956f5ae.zip
FreeBSD-src-b2fa807b0ea69fe87722e720c585c3117956f5ae.tar.gz
Raise artificial limits on number of CPUs and number of interrupts.
Approved by: re (kib)
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/nexus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/aim/nexus.c b/sys/powerpc/aim/nexus.c
index 9a6bf47..109ec52 100644
--- a/sys/powerpc/aim/nexus.c
+++ b/sys/powerpc/aim/nexus.c
@@ -195,7 +195,8 @@ static driver_t nexus_driver = {
static devclass_t nexus_devclass;
-DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0);
+EARLY_DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0,
+ BUS_PASS_BUS);
static int
nexus_probe(device_t dev)
@@ -216,7 +217,7 @@ nexus_attach(device_t dev)
sc = device_get_softc(dev);
start = 0;
- end = MAX_PICS*INTR_VECTORS - 1;
+ end = ~0;
sc->sc_rman.rm_start = start;
sc->sc_rman.rm_end = end;
OpenPOWER on IntegriCloud