Re: ttydev_cdevsw has no d_purge

看板FB_current作者時間13年前 (2012/08/05 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串12/28 (看更多)
On Friday 03 August 2012 10:32:47 Ed Schouten wrote: > 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. Hi Ed, USB could use a different Unit number. Some questions: When can the previous unit number be re-used? Is there a callback for this? When can the USB serial code assume that it will not be called again and that all callbacks are drained? --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1G7ZPFnh (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1G7ZPFnh (FB_current)