Using the "best available" driver

Dominik Brodowski linux at dominikbrodowski.net
Sun Dec 4 11:40:33 EST 2005


Hi,

On Sat, Dec 03, 2005 at 02:59:21AM -0500, Pavel Roskin wrote:
> The matching is done in the kernel, but I think the userspace should
> have its say, even if the kernel is monolithic.
> 
> Either the userspace should control binding specific devices to specific
> drivers, or it should at least be able to adjust the kernel matching
> policy without telling the kernel what to do with individual devices.

echo -n "0.0" > /sys/bus/pcmcia/devices/0.0/driver/unbind
echo -n "0.0" > /sys/bus/pcmcia/drivers/hostap_cs/bind

> The problem also affects plx9052 bridges.  I wrote a pcmcia driver for
> plx9052, but I hesitate to update and submit it to the kernel, because
> users of orinoco_plx and hostap_plx will complain about conflicting
> driver.

The same (unbind, bind) is possible for PCI devices. Soon you will also be
able to
	rmmod orinoco_cs
	modprobe hostap_cs
but that depends on the ioctl removal.

	Dominik



More information about the linux-pcmcia mailing list