Messages in this thread |  | | Date | Wed, 13 Nov 2002 13:07:11 -0800 | | From | Greg KH <> | | Subject | Re: 2.5.47bk2 + current modutils == broken hotplug |
| |
On Wed, Nov 13, 2002 at 03:59:56PM -0500, Jeff Garzik wrote: > > (tangent warning!) > Another long term idea I would eventually like to realize is the removal > of device ids from the C source code. I don't care where they go -- > drivers/net/pci_ids [per directory ids?], drivers/net/3c59x.meta, > whereever. Anywhere but the C source code. It's quite silly to require > a driver rebuild just to add a single PCI id, and further, embedding > metadata in C source is rarely a good idea in the long term. [reference > some of Linus's counter-arguments when it was mentioned that Donald > Becker's method of including Config.{in,help} data in C source might be > useful]
True, this would be nice, but how would the driver know to bind to a new device, if it isn't rebuilt, and doesn't know about the new id that was just added? In the current scheme of driver matching to devices, I don't see how this could be done.
Not to say I would not want to see this changed to allow this to happen, I'm very tired of telling USB Palm users to get a new kernel version just because a single device id was added which their new device has.
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/
|  |