Just wondering here - for pseudo-devices, is it really necessary to remove the autoconf stuff at all? It's not clear to me where it even gets added in the case of modularly-loaded pseudo-devices... Yes. See, e.g., cgd_modcmd. In addition to cgd_cdevsw, there is also a struct cfdriver object, cgd_cd, that must be detached, i.e. removed from allcfdrivers.
Ah, OK.But, for ipfilter, there is no struct cfdriver. Since one never gets added to the list, I guess I don't need to worry about removing it.
:) +------------------+--------------------------+------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +------------------+--------------------------+------------------------+