Using the "best available" driver

Dominik Brodowski linux at dominikbrodowski.net
Wed Dec 7 07:33:59 EST 2005


Hi,

On Mon, Dec 05, 2005 at 10:28:02AM +0200, Jar wrote:
> >> The same (unbind, bind) is possible for PCI devices.
> 
> But can someone explain what this means, does unbind temporarily unloading the
> loaded (not wanted) module, that it doesn't show with lsmod? And the bind causes a
> new (wanted) module to be laoded?

No, both drivers need to be present in the kernel. The "old" driver already
managed the device up to now, then we switch.

> But can this be done so that only wanted module is loaded once, not first unloading
> unwanted one and then loading the correct one?

add

"blacklist	i_do_not_want_you.ko"
to 
/etc/modprobe.conf

> Is the correct syntax for pci as below:
> 
> echo -n "0000:02:0a.0" > /sys/bus/pci/devices/0000:02:0a.0/driver unbind
> 
> and the load the wanted one
> 
> echo -n "0000:02:0a.0" > /sys/bus/pci/drivers/prism2_pci/bind

I think so, yes...


	Dominik



More information about the linux-pcmcia mailing list