On Fri, May 14, 2010 at 08:29:34AM +0300, Jukka Ruohonen wrote: > > Yes. The trouble is that because libraries and headers don't match up, > > you need to parse headers to extract the lists, and that seems likely > > to end up being delicate and a constant source of annoyance. > > How about the section 4 manual pages? > > Being systematically out-of-date, those are "useful" in a way that old > phonebook might be "useful". > > I believe Hubert extracted the supported chips via a script in iic(4). > Although it captured a lot of devices that do not have a manual page, > the idea is there.
If it can be done reliably, it seems like a good idea. If it's not so reliable, crosschecking is better. Processing files.* with shell scripts is (for now at least), probably reliable; parsing C is less so... -- David A. Holland dholl...@netbsd.org