From owner-cvs-all@FreeBSD.ORG Mon Feb 2 14:23:15 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B70CE16A4CE; Mon, 2 Feb 2004 14:23:15 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C6DC43D3F; Mon, 2 Feb 2004 14:23:05 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i12MNkem078712; Tue, 3 Feb 2004 00:23:46 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i12MNgtG078707; Tue, 3 Feb 2004 00:23:42 +0200 (EET) (envelope-from ru) Date: Tue, 3 Feb 2004 00:23:42 +0200 From: Ruslan Ermilov To: Paul Saab Message-ID: <20040202222342.GE75671@FreeBSD.org.ua> References: <200402022000.i12K0uvl041338@repoman.freebsd.org> <1318.1075755673@critter.freebsd.dk> <20040202220827.GA9448@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KuLpqunXa7jZSBt+" Content-Disposition: inline In-Reply-To: <20040202220827.GA9448@elvis.mu.org> User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.org cc: Poul-Henning Kamp cc: src-committers@FreeBSD.org cc: Paul Saab cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf majors X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:23:15 -0000 --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+--