Re: [PATCH] [POWERPC] 8xx: mpc885ads pcmcia support

From: Segher Boessenkool
Date: Thu May 03 2007 - 18:18:23 EST


For example, you could make this

      compatible = "8xx\0mpc885ads";

"mpc885ads-pcmcia\0mpc8xx-pcmcia" or something like that.

Right. I can never remember what goes first...

It doesn't really matter all that much; "correct"
drivers probe for the most specific thing first,
then the next most specific thing they support,
etc. It is mostly a convention.

The important thing is that you can't just call
yourself "8xx", that is way to generic a name.


Segher

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