android_kernel_google_msm/drivers/uio
Eric W. Biederman 91960a46c6 uio: Support 2^MINOR_BITS minors
register_chrdev limits uio devices to 256 minor numbers which causes
problems on one system I have with 384+ uio devices.  So instead set
UIO_MAX_DEVICES to the maximum number of minors and use
alloc_chrdev_region to reserve the uio minors.

The final result is that the code works the same but the uio driver now
supports any minor the idr allocator comes up with.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:16:43 -07:00
..
Kconfig
Makefile
uio.c uio: Support 2^MINOR_BITS minors 2010-10-22 10:16:43 -07:00
uio_aec.c
uio_cif.c uio: Remove IRQF_DISABLED flag from uio_cif.c 2010-08-05 13:53:33 -07:00
uio_netx.c
uio_pci_generic.c uio: do not use PCI resources before pci_enable_device() 2010-10-22 10:16:42 -07:00
uio_pdrv.c
uio_pdrv_genirq.c
uio_sercos3.c