Re: One Vendor/Device ID multiple instances of driver

From: Robert Hancock
Date: Fri Jul 13 2007 - 23:56:29 EST


Keith Chew wrote:
Hi

We have a WIFI driver that only supports a single device at a time. We
want to use 2 devices with the same vendor/device ID, but spawn 2
instances of the same driver. Each instance will handle a single
device.

If we bought the devices from 2 vendors, we'd have 2 DeviceIDs, we can
modify the driver to look at different IDs, which will solve our
problem. But how can we achieve this if we wanted to use the same
device from the same vendor?

The most obvious response is, why does the driver support only a single device at a time? Fixing that would be the best solution, as this goes against all kernel convention.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
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/