pcmciamtd: Add id for PRETEC 4MB SRAM

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:05 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=15c2bf2f3f5c1f25293ad89a9effeb75524458e8
Commit:     15c2bf2f3f5c1f25293ad89a9effeb75524458e8
Parent:     271707b1d817f5104e02b2bd1bab43f0c8759418
Author:     Tom Englund <tomenglund26 at gmail.com>
AuthorDate: Fri Sep 18 21:42:59 2015 +0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Sep 29 13:15:31 2015 -0700

    pcmciamtd: Add id for PRETEC 4MB SRAM
    
    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 at gmail.com>
    Signed-off-by: Brian Norris <computersforpeace at 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),



More information about the linux-mtd-cvs mailing list