svn commit: r251182 - stable/9/sys/dev/aha

John Baldwin jhb at FreeBSD.org
Fri May 31 15:19:01 UTC 2013


Author: jhb
Date: Fri May 31 15:19:00 2013
New Revision: 251182
URL: http://svnweb.freebsd.org/changeset/base/251182

Log:
  MFC 241611:
  Fix aha(4) build with i386 LINT (which includes 'device mca').

Modified:
  stable/9/sys/dev/aha/aha_mca.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/aha/aha_mca.c
==============================================================================
--- stable/9/sys/dev/aha/aha_mca.c	Fri May 31 14:48:37 2013	(r251181)
+++ stable/9/sys/dev/aha/aha_mca.c	Fri May 31 15:19:00 2013	(r251182)
@@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>
@@ -191,7 +192,7 @@ aha_mca_attach (device_t dev)
 	}
 
 	error = bus_setup_intr(dev, sc->irq, INTR_TYPE_CAM | INTR_ENTROPY |
-	    INTR_MPSAFE, NULL, aha_intr, sc, &aha->ih);
+	    INTR_MPSAFE, NULL, aha_intr, sc, &sc->ih);
 	if (error) {
 		device_printf(dev, "Unable to register interrupt handler\n");
 		aha_detach(sc);


More information about the svn-src-stable-9 mailing list