summaryrefslogtreecommitdiff
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-11-15 19:41:14 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-11-15 19:41:14 +0000
commit474f15b863f594d4ddbe2ebbbf4b0c9734662e05 (patch)
tree3481ee1012d97929152e599297d271e0cf6bd1ab /sys/dev/snp
parente4caab26495ca9eb647f0baf959e2ffddb84dc4e (diff)
Notes
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index e4f54002a08b..29ddf48d559d 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -633,6 +633,8 @@ snp_modevent(mod, type, data)
cdevsw_add(&snp_cdevsw);
break;
case MOD_UNLOAD:
+ /* XXX: temporarily prevent unload due to bugs in unloading. */
+ return (EBUSY);
if (!LIST_EMPTY(&snp_sclist))
return (EBUSY);
EVENTHANDLER_DEREGISTER(dev_clone, eh_tag);