Sadly it appears that there aren't (although I got a different
impression from Rubini's book). The major numbers are allocated
backwards from (MAX_CHRDEV-1).
> The major you pick might be one that is statically allocated by
> a device to be loaded later.
Possibly, but in that case it shouldn't be my driver at fault: the
allocations are done from a range marked "LOCAL/EXPERIMENTAL" in
devices.txt. Unfortunately, as it stands the dynamic allocation code
has major 0 as its lower bound :-/
A sensible policy, IMHO, would be to mark this upper range as
dedicated to dynamic allocation. It's only a documentation issue then.
Cheers,
Matt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/