Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 1996 12:31:19 -0400 (EDT)
From:      Dave Chapeskie <dchapes@zeus.leitch.com>
To:        FreeBSD-hackers@freebsd.org
Subject:   Character device major numbers.
Message-ID:  <199604241631.MAA06404@ale.zeus.leitch.com>

next in thread | raw e-mail | index | archive | help
Hello all, I have a problem I hope someone can help me with.

    The company I work for is using FreeBSD a new product.  We've written
three device drivers to support some custom cards that the product needs
to use.  The problem is that there is only one reserved cdev major
number.

    IMHO, It doesn't make sense for my company to go through the effort
of making the drivers loadable to sidestep the major number issue since
the product is a complete system and we provide a prebuilt kernel and the
drivers will be in constant use while the system is in use.

    It also doesn't make sense to request that multiple cdev major
numbers be reserved just for these Leitch drivers since the cards are not
widely available (two of the three will not be sold outside of this
system at all).

    What I'd like to recommend is that several additional major numbers
be reserved for local use.  For example having eight reserved major
numbers for use within any one organization should be sufficient for any
current organizations and yet should not impact the size of the cdev/bdev
switch tables very much.

    What do you think?  Is there a better solution?

-- 
Dave Chapeskie
Leitch Technology International Inc.
Email: dchapes@zeus.leitch.com



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