Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 22:20:21 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf majors 
Message-ID:  <ybsisohhqay.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <5190.1062075743@critter.freebsd.dk>
References:  <ybslltegdcx.wl@ett.sat.t.u-tokyo.ac.jp> <5190.1062075743@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 28 Aug 2003 15:02:23 +0200,
Poul-Henning Kamp wrote:
> 
> In message <ybslltegdcx.wl@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@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsisohhqay.wl>