svn commit: r207488 - projects/ppc64/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun May 2 02:00:21 UTC 2010


Author: nwhitehorn
Date: Sun May  2 02:00:20 2010
New Revision: 207488
URL: http://svn.freebsd.org/changeset/base/207488

Log:
  With multiple interrupt controllers, we can have more than INTR_VECTORS
  interrupts in a system.
  
  Submitted by:	Andreas Tobler

Modified:
  projects/ppc64/sys/powerpc/aim/nexus.c

Modified: projects/ppc64/sys/powerpc/aim/nexus.c
==============================================================================
--- projects/ppc64/sys/powerpc/aim/nexus.c	Sun May  2 01:25:03 2010	(r207487)
+++ projects/ppc64/sys/powerpc/aim/nexus.c	Sun May  2 02:00:20 2010	(r207488)
@@ -206,7 +206,7 @@ nexus_attach(device_t dev)
 	sc = device_get_softc(dev);
 
 	start = 0;
-	end = INTR_VECTORS - 1;
+	end = MAX_PICS*INTR_VECTORS - 1;
 
 	sc->sc_rman.rm_start = start;
 	sc->sc_rman.rm_end = end;


More information about the svn-src-projects mailing list