Date: Tue, 3 Feb 2004 00:29:00 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Paul Saab <ps@freebsd.org> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf majors Message-ID: <20040202222900.GF75671@FreeBSD.org.ua> In-Reply-To: <20040202222516.GA11304@elvis.mu.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202222900.GF75671>