> int major;
 > dev_t dev;
 > struct vnode *vp;
 > 
 > major = ultp_cdevsw.d_maj;
 > dev = makedev(major, self->dv_unit)
 > vp = SLIST_FIRST(&dev->si_hlist);

if (vfinddev(dev, VCHR, &vp))
        VOP_REVOKE(vp, REVOKEALL);

#if 0
 > if (vp) {
 >      VOP_REVOKE(vp. REVOKEALL);
 > }
#endif

 > remove_dev(dev);

/* Good one! I had not yet thought about that one */

 > 3.3 will be considerably different.

Not one of my main concerns.

Nick

-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to