assignment of major number to serial driver -2.6.x kernels
Hi All,
I would like to know whether the usage of 253 as major (device) number
in serial port drivers is restricted in 2.6.x kernels. I am asking this question, though the documentation tells the driver developers that 253 is a reserved major number, 2.6.x Linux kernels can accommodate more than 255.
Also I would like to know the procedure (and related info) to apply
for getting a static number (major/minor) for devices in device drivers. Is this practice continued still?
Thanks for your help.
Regards,
V. Ananda Krishnan
Quoted 7 lines
Hi All,
I would like to know whether the usage of 253 as major (device) number
in serial port drivers is restricted in 2.6.x kernels. I am asking this question, though the documentation tells the driver developers that 253 is a reserved major number, 2.6.x Linux kernels can accommodate more than 255.
Majors 240 - 254 are reserved for private use, e.g. cooking@home; nothing to be seen in mainline drivers.
As for majors >255, you should at best try :) The dev number handling is there - I am able to mknod blah c 1234 0.
Quoted 3 lines · V. ANANDA KRISHNAN
Also I would like to know the procedure (and related info) to apply
for getting a static number (major/minor) for devices in device drivers. Is this practice continued still?
If you want device nodes you still need device numbers (www.lanana.org)