On Mon, Dec 27, 2004 at 02:57:49PM +0100, havner wrote: > On Mon, Dec 27, 2004 at 01:22:03PM +0100, Jakub Bogusz wrote: > > _Both_ entries are likely not to work. > > Several modules (incl. dm, fbsplash... just grep kernel sources for > > MISC_DYNAMIC_MINOR) have minor numbers for (char major 10) assigned > > dynamically (in 0..63 range, starting from 63 down to 0). > > They are supposed to work by creating device files dynamically using > > udev (or devfs, but it's obsolete). > > > > (well, they can be hacked by using some static minor instead of > > MISC_DYNAMIC_MINOR, but then such module can fail to load if that minor > > is already reserved by other module using MISC_DYNAMIC_MINOR...) > > So let's add major other than 10,
We shouldn't do such things. > or minor > 63. Is it reserved? 64..127 seem to be free (at the moment) acc. to devices.txt. Or we could statically reserve some high minors (e.g. 63 for mapper/control, 62 for fbsplash etc.) and decrease DYNAMIC_MINORS in drivers/char/misc.c. -- Jakub Bogusz http://cyber.cs.net.pl/~qboosh/ _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
