Hi Greg
I wrote a kernel device driver for a special purpose PCI framegrapper device which I maintain using a kmp rpm-package.
Great, why not work to get it upstream into the main kernel.org repo so that all distros and users can get to it?
Well, the current hardware is based on a prototype xilinx FPGA implementation and therefore cannot be bought by anyone sofar. --> very limited use to the generel public currently and I am guessing that the kernel.org people will refrain to accept a driver they cannot get hardware for. Otherwise I am very much willing to provide source (there is no special magic nor ip involved imho). In addition I want to get rid of the obvious flaws like the creation of device nodes from user space setup script before getting fried on lkml. This is actually the reason why I am asking on this list than on lkml.
Sofar I am grep'ing /proc/devices for the major number during startup and create the device nodes at startup.
Ick, no, that's not good.
Yes, this is what I was expecting.
The documentation I found on the web and in /usr/src/linux/Documentations seems to be outdated, incomplete or contradicting.
It shouldn't be, have you read the book, Linux Device Drivers, 3rd edition, that says how to do this? It's a bit out of date, but you will get the basic idea.
I have the outdated 2nd edition to my disposal and soon discovered that it too much outdated for this purpose.
Hint, use a misc device if you want an easy way to do this automatically from your driver.
Thanks for the hint! It is appreciated. I will now firstly hunt down the 3rd edition of the book
Have a pointer to your source code anywhere?
Do you want it via Email? Mit freundlichen Grüßen / Best regards Martin Konold Robert Bosch GmbH Automotive Electronics Postfach 13 42 72703 Reutlingen GERMANY www.bosch.com Tel. +49 7121 35 3322 Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000; Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais; Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Wolfgang Malchow, Peter Marks, Uwe Raschke, Wolf-Henning Scheider, Peter Tyroller -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org