K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-03-26T16:58:47.000000Z K 7 svn:log V 449 Clean up properly when a `vn' module is kldunloaded to avoid panics later. We now call cdesw_remove() to unregister the device, NULL out any pointers to the vn_softc that exist in dev_t `si_drv1' fields, and perform a destroy_dev() corresponding to the initial make_dev(). This is not an MFC; vn(4) is no longer in -current. PR: kern/18270, i386/26049 Submitted by: peter.edwards@ireland.com, chervarium@nove.bg Reviewed by: phk Approved by: jkh END