Re: Question: multiple major numbers - one driver

From: Andreas Dilger (adilger@turbolinux.com)
Date: Fri Oct 27 2000 - 15:37:24 EST


Chris Parker writes:
> I have a need for more than 256 minor numbers. I could add some
> more major numbers, thus getting the number of majors * 256.
> I would like to have only device driver loaded to handle the
> multiple majors.

Look at the SCSI/IDE/COMPAQ Smart RAID/etc drivers that have multiple
major numbers registered (per Documentation/devices.txt). Some of
the storage drivers have been allocating blocks of 8 major numbers at
a time.

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:22 EST