Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 07:11:58 +0100
From:      phk@phk.freebsd.dk
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        arch@freebsd.org
Subject:   Re: (almost) Ready to ditch device major numbers. 
Message-ID:  <2846.1046326318@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 27 Feb 2003 00:41:27 %2B0100." <xzpbs0ypq3c.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzpbs0ypq3c.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
>Poul-Henning Kamp <phk@phk.freebsd.dk> writes:
>> We are now (almost) ready to ditch device major numbers if we want to.
>
>Sounds like a step in the right direction.
>
>> 1) Build a bitmap of registered majors (from conf/majors) at
>> kernel-compile so the kernel can know which majors we can risk
>> KLD's to use.
>
>We already have a fairly large reserved range that we can draw from
>(200-252), so this might not be necessary.  We also have a range
>reserved for lkms (32-38) which is unused, AFAIK.

I know, but as we make more and more driver use MAJOR_AUTO, we will
need larger ranges, so creating the bitmap with a script from
conf/majors would save some manual work.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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