diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-11-15 19:41:14 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-11-15 19:41:14 +0000 |
commit | bbfaae808a4d4f5cd45faa358aa607639246d5da (patch) | |
tree | 3481ee1012d97929152e599297d271e0cf6bd1ab /sys/dev/snp/snp.c | |
parent | b35e7d7a2c22ef26caca2c19df221e22f5ad3ea2 (diff) | |
download | FreeBSD-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/snp.c')
-rw-r--r-- | sys/dev/snp/snp.c | 2 |
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); |