linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] pcmciamtd: Add id for PRETEC 4MB SRAM
@ 2015-09-18 19:42 Tom Englund
  2015-09-29 20:15 ` Brian Norris
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Englund @ 2015-09-18 19:42 UTC (permalink / raw)
  To: linux-mtd, computersforpeace; +Cc: Tom Englund

The module pcmciamtd doesn't generate a mtd node for PRETEC 4MB SRAM
cards without the id and hash added to pcmciamtd.c

Tested on 3 different 4MB pretec sram cards.

Signed-off-by: Tom Englund <tomenglund26@gmail.com>
---
 drivers/mtd/maps/pcmciamtd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c
index af747af..3dad211 100644
--- a/drivers/mtd/maps/pcmciamtd.c
+++ b/drivers/mtd/maps/pcmciamtd.c
@@ -700,6 +700,7 @@ static const struct pcmcia_device_id pcmciamtd_ids[] = {
 	PCMCIA_DEVICE_PROD_ID12("Maxtor", "MAXFL MobileMax Flash Memory Card", 0xb68968c8, 0x2dfb47b0),
 	PCMCIA_DEVICE_PROD_ID123("M-Systems", "M-SYS Flash Memory Card", "(c) M-Systems", 0x7ed2ad87, 0x675dc3fb, 0x7aef3965),
 	PCMCIA_DEVICE_PROD_ID12("PRETEC", "  2MB SRAM CARD", 0xebf91155, 0x805360ca),
+	PCMCIA_DEVICE_PROD_ID12("PRETEC", "  4MB SRAM CARD", 0xebf91155, 0x20b6bf17),
 	PCMCIA_DEVICE_PROD_ID12("SEIKO EPSON", "WWB101EN20", 0xf9876baf, 0xad0b207b),
 	PCMCIA_DEVICE_PROD_ID12("SEIKO EPSON", "WWB513EN20", 0xf9876baf, 0xe8d884ad),
 	PCMCIA_DEVICE_PROD_ID12("SMART Modular Technologies", " 4MB FLASH Card", 0x96fd8277, 0x737a5b05),
-- 
2.5.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] pcmciamtd: Add id for PRETEC 4MB SRAM
  2015-09-18 19:42 [PATCH 1/1] pcmciamtd: Add id for PRETEC 4MB SRAM Tom Englund
@ 2015-09-29 20:15 ` Brian Norris
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2015-09-29 20:15 UTC (permalink / raw)
  To: Tom Englund; +Cc: linux-mtd

On Fri, Sep 18, 2015 at 09:42:59PM +0200, Tom Englund wrote:
> The module pcmciamtd doesn't generate a mtd node for PRETEC 4MB SRAM
> cards without the id and hash added to pcmciamtd.c
> 
> Tested on 3 different 4MB pretec sram cards.
> 
> Signed-off-by: Tom Englund <tomenglund26@gmail.com>

Pushed to l2-mtd.git

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-29 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 19:42 [PATCH 1/1] pcmciamtd: Add id for PRETEC 4MB SRAM Tom Englund
2015-09-29 20:15 ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).