diff options
Diffstat (limited to 'sys/dev/buslogic/bt_eisa.c')
-rw-r--r-- | sys/dev/buslogic/bt_eisa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/buslogic/bt_eisa.c b/sys/dev/buslogic/bt_eisa.c index e9c1965..e03e8d4 100644 --- a/sys/dev/buslogic/bt_eisa.c +++ b/sys/dev/buslogic/bt_eisa.c @@ -33,6 +33,8 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/module.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/bus.h> #include <machine/bus_pio.h> @@ -313,6 +315,8 @@ bt_eisa_attach(device_t dev) /* nsegments */ ~0, /* maxsegsz */ BUS_SPACE_MAXSIZE_32BIT, /* flags */ 0, + /* lockfunc */ busdma_lock_mutex, + /* lockarg, */ &Giant, &bt->parent_dmat) != 0) { bt_eisa_release_resources(dev); return -1; |