lkml.org 
[lkml]   [2001]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] Hardware detection tool 0.2
On Thu, Aug 30, 2001 at 07:40:25PM -0300, Carlos E Gorges wrote:
> Hardware detection tool 0.2
>
> The main idea is keep a unified database of modules and
> create a good tool for hardware configurators.

Why don't you just pull the PCI and USB module information out of the
drivers themselves? All the information you need it in the
MODULE_DEVICE_TABLE() macro. You don't get a pretty vendor string for
most all of the USB devices that use a USB class spec, but that isn't
necessary.

All you are caring about is what device is supported by what module,
right? That can be easily determined by the info in the modules.usbmap
and modules.pcimap files in the /lib/modules/<kernel_version>/
directory.

Keeping tables like these will be a tough thing to do, that's why the
linux-hotplug project relies on the drivers themselves to do the work.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:01    [W:0.281 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site