Yeah, yeah, yeah, I'll get to it soon, sorry :)
> So the question is, how do you add PCI IDs to a module which isn't loaded?
Do we really care about this question? I mean, if a user knows that
they want to use a specific module for their device (as they must know
this somehow), then they can just load the module today, and use the
dynamic id feature to add the new id. At that time the device is bound
to the driver.
I don't really see this as a problem, but I might be missing something
obvious.
> You can trivially add a new alias for it, which will cause modprobe to
> find it, but the module won't know it can handle the new PCI ID, and
> will fail to load.
Not true. The module will load just fine, just not bind to the device.
Well, old-style pci modules will not load, but I don't feel sorry about
them at all. They have had about 3 years to convert to the "new" pci
api.
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/