Subject: Re: [README] MI device major assignment
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-kern
Date: 10/05/2003 22:40:17
On Sun, Oct 05, 2003 at 10:18:53AM +0200, Jaromir Dolecek wrote:
| Hi,
|
| following recent discussion on MI-assigned majors, I made first step
| in the direction.
|
| Majors for MI devices are now assigned centrally for all ports, in
| src/sys/dev/majors. This file is automatically included during
| kernel config. Any new MI drivers (i.e. drivers usable on more
| than one arch) majors should be assigned there instead of
| arch/*/conf/majors.ARCH.
|
| The range for MI majors starts at 192. The primary reason
| to not start at 256 is that there is no real need for bigger
| gap (the biggest MD major is 139 ATM, which is plenty of space),
| and that this would avoid major mapping problems for emulations
| which use 8bit majors.
[also see my other comment about this.]
On the other hand, reserving a range of major numbers for "local" use
would be useful; I'm sure I've seen this requested in the past.
What if we reserved 192-255 for local use and 256+ for MI use?
Luke.