Messages in this thread | | | Subject | RE: minor device number request for /dev/kvm (kernel-based virtual machine) | Date | Thu, 1 Mar 2007 15:09:17 +0100 | From | "Mathiasen, Torben" <> |
| |
> > If it does not increase memory usage, then possibly: > > > > __register_chrdev_region(major, 0, (~0U) & MINORMASK, name); > > or (1<<MINORMASK)-1 if that's more > clear > > > > > > I'm more worried about something in the chardev bowels not supporting > >8bit minors well. >
I was under the impression that large minors was supported for misc. Skimming the code that does not seem to be the case. Can someone comment?
Torben - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |