[patches 4/5] pcmcia: id_table for pcmciamtd.c
Dominik Brodowski
linux at dominikbrodowski.net
Tue May 3 16:41:42 EDT 2005
On Wed, Mar 02, 2005 at 10:05:35PM +0000, Christoph Hellwig wrote:
> 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?
As id_tables can and should be const (after all, they're exported to an
userspace file upon make modules_install) I do not see a way to make this a
module option instead.
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20050503/ebd8704f/attachment.bin
More information about the linux-pcmcia
mailing list