Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 00:23:42 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Paul Saab <ps@mu.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf majors
Message-ID:  <20040202222342.GE75671@FreeBSD.org.ua>
In-Reply-To: <20040202220827.GA9448@elvis.mu.org>
References:  <200402022000.i12K0uvl041338@repoman.freebsd.org> <1318.1075755673@critter.freebsd.dk> <20040202220827.GA9448@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--KuLpqunXa7jZSBt+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 02, 2004 at 02:08:27PM -0800, Paul Saab wrote:
> Poul-Henning Kamp (phk@phk.freebsd.dk) wrote:
> > In message <200402022000.i12K0uvl041338@repoman.freebsd.org>, Paul Saab=
 writes:
> > >ps          2004/02/02 12:00:56 PST
> > >
> > >  FreeBSD src repository
> > >
> > >  Modified files:
> > >    sys/conf             majors=20
> > >  Log:
> > >  Reserve 187 (twa) for the new 3ware ATA RAID controller.
> >=20
> > No, please don't.
> >=20
> > If you need a major for 4-stable, then commit it on that
> > branch, major numbers are not needed for the majority
> > of drivers in -current.
>=20
> There's nothing in the -stable major's file.
>=20
What PHK means is that if this driver is both for 5.x and 4.x,
then you should only register its major in RELENG_4 -- 5.x
provides automatic major numbers allocations:

: /*
:  * XXX: do not use MAJOR_AUTO unless you have no choice.  In general driv=
ers
:  * should just not initialize .d_maj and that will DTRT.
:  */
: #define MAJOR_AUTO      0       /* XXX: Not GM */


Cheers,
--=20
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

--KuLpqunXa7jZSBt+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAHs3uUkv4P6juNwoRAtYkAJ9a1O5NlYlr/ChaUn7Yxb9LnZFZIQCgjHkQ
4crb89C5lKaBMZ06YnHTv5Y=
=gIvs
-----END PGP SIGNATURE-----

--KuLpqunXa7jZSBt+--



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