Date: Wed, 06 Aug 1997 00:02:17 +0100 From: Brian Somers <brian@awfulhak.org> To: "Brian J. McGovern" <mcgovern@spoon.beta.com> Cc: hackers@FreeBSD.ORG Subject: Re: Suggestions for extending minor numbers... Message-ID: <199708052302.AAA29396@awfulhak.org> In-Reply-To: Your message of "Mon, 04 Aug 1997 15:42:22 EDT." <199708041942.PAA02933@spoon.beta.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Well, I've got my driver working for the 8 port Cyclades cards. Now its
> time to work on the 64 port cards.
>
> As you can see, if I have a call in, call out, call in initial state, call
> out initial state, call in lock state, and call out lock state, I'm
> going to need 384 minor numbers, which is already over the 8-bit limit
> on minor numbers. If I choose to support multiple boards, I could use
> between 768, and 1536 minor numbers, possibly more in machines with more than
> 4 PCI slots. With the % of CPU per board the driver is taking, 3 of these
> 64 port boards should be possible....
>
> Anyhow, I've considered dropping initial and lock state devices, and use
> a different major number for each of the boards. I'm curious to see if this
> is a "reasonable thing to do" (tm), or whether this is a better way to go
> that I haven't yet figured out.
>
> Suggestions anyone?
Is there an 8-bit limit ?
dev:/dev $ l /dev/rsd0s1
crw-r----- 1 root operator 13, 0x00020002 Sep 3 1996 /dev/rsd0s1
Looks like 32 bits to me :-)
> -Brian
--
Brian <brian@awfulhak.org>, <brian@freebsd.org>
<http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708052302.AAA29396>
