cvs commit: src/sys/conf majors

Hidetoshi Shimokawa simokawa at sat.t.u-tokyo.ac.jp
Thu Aug 28 05:45:25 PDT 2003


At Thu, 28 Aug 2003 12:22:47 +0200,
Poul-Henning Kamp wrote:
> 
> In message <20030828101157.GO47959 at garage.freebsd.pl>, Pawel Jakub Dawidek writ
> es:
> >
> >--qUGjz7OmxI7iFH2Z
> >Content-Type: text/plain; charset=iso-8859-2
> >Content-Disposition: inline
> >Content-Transfer-Encoding: quoted-printable
> >
> >On Thu, Aug 28, 2003 at 12:43:41AM -0700, John-Mark Gurney wrote:
> >+> >   Modified files:
> >+> >     sys/conf             majors=20
> >+> >   Log:
> >+> >   Reserve 184 for dumb console driver(dcons) which can be found in
> >+> >   ports/devel/dcons.
> >+>=20
> >+> Ummm.. aren't major numbers deperciated?  (If this is for -stable, it
> >+> was on the wrong branch.)
> >
> >On -CURRENT:
> >
> >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?

> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.

/\ 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