diff options
| author | Scott Long <scottl@FreeBSD.org> | 2007-04-15 08:49:19 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2007-04-15 08:49:19 +0000 |
| commit | 2b83592fdcb9e7c201677f3605b9e8738a6b0737 (patch) | |
| tree | 010146772b36d16e6f98671b4bed7ce094acd633 /sys/dev/aic | |
| parent | 4f450d951a7b14cda1b359646ec580a82b4f012e (diff) | |
Notes
Diffstat (limited to 'sys/dev/aic')
| -rw-r--r-- | sys/dev/aic/aic.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c index cd9fabc4c1e8..b647cd43c650 100644 --- a/sys/dev/aic/aic.c +++ b/sys/dev/aic/aic.c @@ -30,6 +30,9 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/mutex.h> +#include <sys/malloc.h> #include <sys/bus.h> #include <machine/bus.h> @@ -1540,7 +1543,7 @@ aic_attach(struct aic_softc *aic) * Construct our SIM entry */ aic->sim = cam_sim_alloc(aic_action, aic_poll, "aic", aic, - aic->unit, 2, 256, devq); + aic->unit, &Giant, 2, 256, devq); if (aic->sim == NULL) { cam_simq_free(devq); return (ENOMEM); |
