ttydev_cdevsw has no d_purge

Ed Schouten ed at 80386.nl
Fri Aug 3 08:32:48 UTC 2012


2012/8/1 Hans Petter Selasky <hselasky at c2i.net>:
> I think the problem is like this, that in order to re-use the unit numbers for
> USB serial tty devices, the USB stack needs to wait until a TTY is actually
> freed, right? Else you will have a panic on creating devfs entries having the
> same name.

Indeed. So the USB code could simply pick a different unit number.

-- 
Ed Schouten <ed at 80386.nl>


More information about the freebsd-current mailing list