summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-15 19:41:14 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-15 19:41:14 +0000
commitbbfaae808a4d4f5cd45faa358aa607639246d5da (patch)
tree3481ee1012d97929152e599297d271e0cf6bd1ab /sys/dev/snp
parentb35e7d7a2c22ef26caca2c19df221e22f5ad3ea2 (diff)
downloadFreeBSD-src-bbfaae808a4d4f5cd45faa358aa607639246d5da.zip
FreeBSD-src-bbfaae808a4d4f5cd45faa358aa607639246d5da.tar.gz
Temporarily disable unloading, as it appears to be broken (read: causes
panics)
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 e4f5400..29ddf48 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);
OpenPOWER on IntegriCloud