cvs commit: src/sys/conf majors

Hidetoshi Shimokawa simokawa at sat.t.u-tokyo.ac.jp
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 ett.sat.t.u-tokyo.ac.jp>, 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 sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html


More information about the cvs-src mailing list