From 08b755600f29790c8bd905e800ef9a2d71c9d159 Mon Sep 17 00:00:00 2001 From: Maksim Yevmenkin Date: Tue, 10 Jul 2007 16:38:43 +0000 Subject: [PATCH] Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now. Approved by: re (rwatson) --- sys/modules/netgraph/bluetooth/Makefile | 3 ++- sys/netgraph/bluetooth/drivers/h4/ng_h4.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/modules/netgraph/bluetooth/Makefile b/sys/modules/netgraph/bluetooth/Makefile index 2c7ae7a58132..098ac1adb776 100644 --- a/sys/modules/netgraph/bluetooth/Makefile +++ b/sys/modules/netgraph/bluetooth/Makefile @@ -7,8 +7,9 @@ SUBDIR= \ l2cap \ socket \ bt3c \ - h4 \ ubt \ ubtbcmfw +# h4 is not MPSAFE. Disconnect for now. + .include diff --git a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c index cf26468ee0e5..383978077d4c 100644 --- a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c +++ b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c @@ -73,7 +73,7 @@ ***************************************************************************** *****************************************************************************/ -NET_NEEDS_GIANT("ng_h4"); +#error "NET_NEEDS_GIANT" /* MALLOC define */ #ifndef NG_SEPARATE_MALLOC