[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Oct 2007 18:26:12 +0200
From: Cornelia Huck <cornelia.huck@...ibm.com>
To: wit <is01kzh@...il.com>
Cc: "Alan Cox" <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: about probing a device
On Wed, 10 Oct 2007 23:50:01 +0800,
wit <is01kzh@...il.com> wrote:
> > The first one which matches and successfully attaches "wins".
>
> Seems that calling the bind routine can bind a driver to a device. Is
> there any bad side effect of doing such thing?
If the device is already bound to another driver, it will fail.
If you have multiple drivers for the same device, just use the drivers'
bind/unbind attributes if the wrong one "won".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists