Kai Henningsen <[EMAIL PROTECTED]>: > I think right now, the only halfway reasonable thing is to do what > ttyname() does: get the devide number off stat(/), and search it in /dev. > (Besides, you can figure out part of the answer - about as much as the > autoprober does now - from the major anyway.)
There's a swamp there -- getting from the major device number to the right config symbol seems like a long and tortuous process. First you have to get from major number to driver, then from driver to config symbol. I don'rt thing the metadata for either of these is present in the current driver infrastructure. -- <a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a> "Government is not reason, it is not eloquence, it is force; like fire, a troublesome servant and a fearful master. Never for a moment should it be left to irresponsible action." -- George Washington, in a speech of January 7, 1790 _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel