Messages in this thread | | | Date | Mon, 5 May 2003 17:17:09 -0700 | From | Greg KH <> | Subject | Re: [RFC][PATCH] Dynamic PCI Device IDs |
| |
On Mon, May 05, 2003 at 01:37:52AM -0400, Jeff Garzik wrote: > Greg KH wrote: > > > >But by adding the device ids, they will be persistant, for that driver, > >right? Then when the device is plugged in, the core will iterate over > >the static and dynamic ids, right? If so, I don't see how a "probe_it" > >file is needed. > > Consider the case: > Device already exists, and is plugged in. Like a standard PCI card. > Driver doesn't support PCI id, and the sysadmin uses /bin/echo to add one.
Great, probe gets run right then, and that's what we want, right?
> For unplugged case, you know you don't need to re-run the probe.
But a probe scan across all devices doesn't really take much time, right? And yes this would be "redundant" but it's a whole lot tougher to figure out that we don't need to re-run a probe, than to just always do it :)
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/
| |