diff options
Diffstat (limited to 'sys/dev/snp')
-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); |