Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2012 10:32:47 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: ttydev_cdevsw has no d_purge
Message-ID:  <CAJOYFBD6Xa08LXuzzYha7Ev9WDJFN5%2BHEqDJ6a2C0puFGZ4-Qg@mail.gmail.com>
In-Reply-To: <201208012341.25509.hselasky@c2i.net>
References:  <20120801160323.GN2676@deviant.kiev.zoral.com.ua> <CAJOYFBDsK8cZYc28sKcC0qcZrpy2=A3QAHvP5fEj9gn=Acwciw@mail.gmail.com> <201208012341.25509.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/8/1 Hans Petter Selasky <hselasky@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@80386.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBD6Xa08LXuzzYha7Ev9WDJFN5%2BHEqDJ6a2C0puFGZ4-Qg>