Kernel Driver Automation
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Chris White
Ironically, if the network card driver is not working, there's no way to google around for information on what modules to compile in for various drivers. [...]
I always google for the PCI IDs which lspci -n shows.
Quoted 3 lines
The basic idea would be to have a userspace program that would be run before the kernel compile process and check the device identification string (using /proc?) and match it up against the correct module. [...]
We already do have such a program, it's called /sbin/hotplug. The missing piece for your scheme, however, is that the maps which govern hotplug are generated from C files. Therefore, the code is patched to add new IDs. AFAIK, Greg Kroah worked on a more configurable way to match drivers with devices within the hotplug framework. You might want to talk to Greg about this.
By the way, Greg is a Gentoo developer as well, but pleas keep this to a common forum. I'm sure folks from other distros are be interested.
Jaa ne,
-- Pete