Major number for device driver...
G'Day,
I am writing a driver for a 1-wire interface device, and was a little stuck on the major number for register_chrdev(). I checked Documentation/devices.txt, but there does not yet seem to be anything assigned (no surprise, really). I understand I can pick an unassigned numer, but that could become a pain in future, so if possible I would like to stick with an existing device. My question is simply this: does anyone know whether or not there is an existing device similar enough to 1-wire that I could use it? Perhaps that line of thinking is barking up the wrong tree, but it makes sense to me at least ;) |
Ya know i looked all over google and couldent come up with a major number refrence.
seams silly that there isent one because it would cause no overlap. |
Look in ?????/src/Documentation/Devices.txt
It somewhere in the source code for the kernal Mine is here: My Documents/code/ipstack/linux/Documentation/devices.txt |
All times are GMT -5. The time now is 09:23 PM. |