From owner-cvs-src@FreeBSD.ORG Mon Feb 2 14:28:21 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5E1D16A4CE; Mon, 2 Feb 2004 14:28:21 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 158B743D31; Mon, 2 Feb 2004 14:28:18 -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 i12MT1em078831; Tue, 3 Feb 2004 00:29:01 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i12MT14g078829; Tue, 3 Feb 2004 00:29:01 +0200 (EET) (envelope-from ru) Date: Tue, 3 Feb 2004 00:29:00 +0200 From: Ruslan Ermilov To: Paul Saab Message-ID: <20040202222900.GF75671@FreeBSD.org.ua> References: <200402022000.i12K0uvl041338@repoman.freebsd.org> <1318.1075755673@critter.freebsd.dk> <20040202220827.GA9448@elvis.mu.org> <20040202222342.GE75671@FreeBSD.org.ua> <20040202222516.GA11304@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NGIwU0kFl1Z1A3An" Content-Disposition: inline In-Reply-To: <20040202222516.GA11304@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: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf majors X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:28:21 -0000 --NGIwU0kFl1Z1A3An Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 02, 2004 at 02:25:16PM -0800, Paul Saab wrote: > Ruslan Ermilov (ru@FreeBSD.org) wrote: > > 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: >=20 > And it will run in RELENG_4 as well as -current, so it needs a major > number. >=20 In -current the major numbers are allocated dynamically when you register a device with DEVFS -- this way you can have more than 255 drivers in the system, and use 255 of them simultaneously. By (unnecessarily) reserving the major in -current you reduce the pool for dynamic major allocations by one. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --NGIwU0kFl1Z1A3An Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAHs8sUkv4P6juNwoRAkakAJ9ISYMrXWxSGaavRSDbOXBUVAL9MgCfQcrE z8V1mC27v53nWTvJGTZCOnA= =OHWt -----END PGP SIGNATURE----- --NGIwU0kFl1Z1A3An--