Re: [RFC][PATCH] add driver matching priorities

From: Dmitry Torokhov
Date: Fri Jan 28 2005 - 18:26:11 EST


On Friday 28 January 2005 17:30, Adam Belay wrote:
> Of course this patch is not going to be effective alone. ÂWe also need
> to change the init order. ÂIf a driver is registered early but isn't the
> best available, it will be bound to the device prematurely. ÂThis would
> be a problem for carbus (yenta) bridges.
>
> I think we may have to load all in kernel drivers first, and then begin
> matching them to hardware. ÂDo you agree? ÂIf so, I'd be happy to make a
> patch for that too.
>

I disagree. The driver core should automatically unbind generic driver
from a device when native driver gets loaded. I think the only change is
that we can no longer skip devices that are bound to a driver and match
them all over again when a new driver is loaded.

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