Temporarily disable unloading, as it appears to be broken (read: causes

panics)
This commit is contained in:
Robert Watson 2001-11-15 19:41:14 +00:00
parent e4caab2649
commit 474f15b863

View File

@ -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);