[patches 4/5] pcmcia: id_table for pcmciamtd.c
Christoph Hellwig
hch at infradead.org
Wed Mar 2 17:05:35 EST 2005
On Wed, Mar 02, 2005 at 10:25:04PM +0100, Dominik Brodowski wrote:
> Add pcmcia_device_id table to pcmciamtd. The binding of anonymous cards
> (i.e. those who do neither report MANFID, CARDID, FUNCID nor product strings)
> is protected by a new config option.
>
> Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
>
> Index: 2.6.11/drivers/mtd/maps/Kconfig
> ===================================================================
> --- 2.6.11.orig/drivers/mtd/maps/Kconfig 2005-03-02 18:23:45.000000000 +0100
> +++ 2.6.11/drivers/mtd/maps/Kconfig 2005-03-02 21:13:21.000000000 +0100
> @@ -615,6 +615,16 @@
> cards are usually around 4-16MiB in size. This does not include
> Compact Flash cards which are treated as IDE devices.
>
> +config MTD_PCMCIA_ANONYMOUS
> + bool "Use PCMCIA MTD drivers for anonymous PCMCIA cards"
> + depends on MTD_PCMCIA
> + default N
> + help
> + If this option is enabled, PCMCIA cards which do not report
> + anything about themselves are assumed to be MTD cards.
> +
> + If unsure, say N.
shouldn't this be a module option instead?
More information about the linux-pcmcia
mailing list