Date: Sun, 20 Oct 1996 00:40:33 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: rohit@cs.umd.edu Subject: Re: Conventions/Rules for adding Local ioctls Message-ID: <199610192240.AAA03744@uriah.heep.sax.de> In-Reply-To: <199610191917.FAA17149@godzilla.zeta.org.au> from Bruce Evans at "Oct 20, 96 05:17:56 am"
next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote: > >As long as you don't use one of the groups that are used by the > >generic tty or socket code, there's not much risk that you will > >conflict. (Btw., two ioctl cmds with the same group and magic number, > >but a different argument size and/or direction are still distinct from > >each other.) > > Ioctls are per-major, so there is no chance of ones for the local major > conflicting with ones for ttys. ...unless your local driver actually _is_ a tty driver. The originator of the question didn't tell us. (I meant the generic tty ioctls, all that TIOxxx stuff.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610192240.AAA03744>