White/blacklisting manf_id/prod_id vs. func_id

Russell King rmk+pcmcia at arm.linux.org.uk
Tue Nov 21 03:59:11 EST 2006

On Tue, Nov 21, 2006 at 04:08:02AM +0100, Peter Stuge wrote:
> On Mon, Nov 20, 2006 at 09:07:03PM +0000, Russell King wrote:
> > However, it doesn't scale.
> Feel free to suggest something that does, yet produces 0 false
> positives.

Going back to what we had originally?  That seemed to work quite well
and did not require a constant stream of ID additions to all the drivers.

> I guess it comes down to deciding between white- or blacklisting.
> Which of course just depends on what the common case for PCMCIA
> devices is. Make sense?

The problem seems to be that even for _good_ devices, we're still
having to add their IDs to the tables.  That's absolutely ludicrous.
Good devices should just work out of the box as they used to with
the original pcmcia-cs implementation.

What are end users supposed to do when they buy new cards?  Build
their own kernels?  Scream at their vendor to merge a patch which
adds their card IDs to a driver?

Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

More information about the linux-pcmcia mailing list