cvs commit: src/sys/conf majors

Hidetoshi Shimokawa simokawa at
Thu Aug 28 06:20:26 PDT 2003

At Thu, 28 Aug 2003 15:02:23 +0200,
Poul-Henning Kamp wrote:
> In message <ybslltegdcx.wl at>, Hidetoshi Shimokawa writes
> :
> >> >WARNING: driver "foo" used unreserved major device number bar
> >> 
> >> You should use automatic assignment of majors.
> >
> >Do you have any sample of console drivers converted to use MAJOR_AUTO?
> I don't really think that it matters that it is a console driver,
> why should it ?

We call makedev() in cnprobe and we cannot call make_dev() before
SI_SUB_DRIVERS. This is my understanding why we have not converted
any console driver to use MAJOR_AUTO.

/\ Hidetoshi Shimokawa
\/  simokawa at
PGP public key:

More information about the cvs-src mailing list