[PATCH] pata_pcmcia: another memory card support

Dominik Brodowski linux at dominikbrodowski.net
Tue Nov 11 03:40:53 EST 2008


Jeff,

On Tue, Nov 11, 2008 at 03:02:23AM -0500, Jeff Garzik wrote:
> Marc Pignat wrote:
> > Support for Apacer photo steno pro card.
> > 
> > Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
> > ---
> > 
> > Hi all!
> > 
> > Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
> > I can find in the labs, only this one was unknown.
> > 
> > Best regards
> > 
> > Marc
> > 
> > 
> > 
> > diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
> > index 271cb64..64b2e22 100644
> > --- a/drivers/ata/pata_pcmcia.c
> > +++ b/drivers/ata/pata_pcmcia.c
> > @@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
> >  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
> >  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
> >  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
> >  	PCMCIA_DEVICE_NULL,
> >  };
> >  
> > diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
> > index cb199c8..f50210f 100644
> > --- a/drivers/ide/ide-cs.c
> > +++ b/drivers/ide/ide-cs.c
> > @@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
> >  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
> >  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
> >  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
> >  	PCMCIA_DEVICE_NULL,
> >  };
> >  MODULE_DEVICE_TABLE(pcmcia, ide_ids);
> > --
> 
> applied pata_pcmcia bit

could we merge such stuff through pcmcia-git in future, please? (see
http://git.kernel.org/?p=linux/kernel/git/brodo/pcmcia-2.6.git;a=commitdiff;h=980fc29f20f5cfb8cef29ddfccecb685f299ada4
) Else the device tables in ide-cs and pata_pcmcia will diverge again.

Thanks,
	Dominik



More information about the linux-pcmcia mailing list