On Thu, Dec 08, 2016 at 05:03:04PM +0100, J. Hannken-Illjes wrote: > > > On 08 Dec 2016, at 15:41, Nathanial Sloss <n...@netbsd.org> wrote: > > > > On Thu, 8 Dec 2016 23:57:51 J. Hannken-Illjes wrote: > >> +#define D_MCLOSE 0x0004 > >> > >> What is a MCLOSE device class? > >> > > > > Normally character devices are don't execute the close function untill the > > last instance of device is closed. MCLOSE is short for multiple close, for > > use when you want the close function to run when any instance of the > > device, > > in this case audio, is closed. > > So it should become a flag like 0x0400, not a class in the 0x00ff range. > > Where was this change discussed? >
Whole change was introduced in a fairly long thread, starting here: http://mail-index.netbsd.org/tech-kern/2016/05/thread1.html#020572