Subject: Re: guidelines for including a newly-created driver?
To: Mike Long <mike.long@analog.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 08/13/1996 08:44:50
On Tue, 13 Aug 96 11:03:05 EDT 
 Mike Long <mike.long@analog.com> wrote:

 > If it needs an entry in cdevsw, you also have to assign it a major
 > device number:
 > 
 > major	{foo = 29}
 > 
 > The major number is an index to the entry in cdevsw[].  I'm not sure
 > how block device major numbers are assigned.

Err, I thought the major keyword was for block devices, so that config(8) 
could generate the appopriate makedev() calls if you say, for example:

	config netbsd root foo0

 -- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ -- 
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939