diff mbox series

mtd: pcmcia: add ID for SEIKO EPSON LWB257SX20 256KB RAM device

Message ID 5fc2f8f3-b420-6f16-43a0-fae4e619108f@iam.tj
State New
Headers show
Series mtd: pcmcia: add ID for SEIKO EPSON LWB257SX20 256KB RAM device | expand

Commit Message

Tj Aug. 16, 2023, 1:13 p.m. UTC
This card is used in some spectrum analysers and prior to this commit
could not be accessed by Linux but could by MS Windows. Usually contains
a FAT12 file-system.

It is a RAM device so needs:

options pcmciamtd mem_type=1

root@debian:/tmp# lsmtd
DEVICE MAJ:MIN NAME                     TYPE SIZE
mtd0    90:0   SEIKO EPSON LWB257SX20   ram  256K

Signed-off-by: Tj <linux@iam.tj>
---
  drivers/mtd/maps/pcmciamtd.c | 1 +
  1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c
index 2ac79e1cedd94..330b5be5c7e06 100644
--- a/drivers/mtd/maps/pcmciamtd.c
+++ b/drivers/mtd/maps/pcmciamtd.c
@@ -702,6 +702,7 @@  static const struct pcmcia_device_id pcmciamtd_ids[] = {
  	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("SEIKO EPSON", "LWB257SX20", 0xf9876baf, 0xf1f9f36b),
  	PCMCIA_DEVICE_PROD_ID12("SMART Modular Technologies", " 4MB FLASH Card", 0x96fd8277, 0x737a5b05),
  	PCMCIA_DEVICE_PROD_ID12("Starfish, Inc.", "REX-3000", 0x05ddca47, 0xe7d67bca),
  	PCMCIA_DEVICE_PROD_ID12("Starfish, Inc.", "REX-4100", 0x05ddca47, 0x7bc32944),