Subject: how to get unit number & ioctl numbers?
To: None <port-i386@netbsd.org>
From: T. William Wells <bill@twwells.com>
List: port-i386
Date: 09/14/1994 21:51:04
I'm porting my serial driver (that replaces com) to NetBSD. I'm going to need
a major device number for it as well as a couple of ioctl numbers (for
get/set sio parameters).  What do I do to get them? I just picked handy ones,
but I'd prefer to have some that won't get stepped on later. Maybe a name
other than sio would also be a good idea? (I used "sio" when it was FreeBSD
because they !@#$ hard coded which routines got fast interrupt vectors.)