From patchwork Wed Aug 16 13:13:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tj X-Patchwork-Id: 1821785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AeY9++KH; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=iam.tj header.i=@iam.tj header.a=rsa-sha256 header.s=2019 header.b=XUQHTXN+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RQpgl1BdWz1xrk for ; Wed, 16 Aug 2023 23:21:36 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:From:MIME-Version:Date:Message-ID: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=J10tecAQqTjNKK+H9PD8TU9xjhlJRL4zbqT9qYiHRfE=; b=AeY9++KHW9lrk7 /gAGBWJRabWdCzGWcu4mDkp7GCmVrepKXYMhtVe7bdVzJsselvtfX0vUQYSdtScygMi5uZJyLj0Ui QNxVy8lk4iOJCX6G+but/6BxGfzwUHddy4fouCX9lj33sPPYFWNAa4ppkmxaTv69jx6QM59S2X9iG /fUcFV6k5dF5TinBIUmQ/cjI07kdgjlSE97RXywx1c+J2fpa/QpUopsRXRh+LnJjnXUhMr08QBWU5 fvi5oae4gJx7paVNU4sBzQR5QbL5o+2fHd1Dm9j5b/Hay1DzXR0U7ahm3qhfS0tNvo1RoXhb2fKad IicRpCe434niKzf0eSEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWGSA-004G5l-2a; Wed, 16 Aug 2023 13:20:50 +0000 Received: from soggy.cloud ([2a01:7e00:e000:151::1] helo=iam.tj) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWGS7-004G1M-03 for linux-mtd@lists.infradead.org; Wed, 16 Aug 2023 13:20:49 +0000 Received: from [IPV6:2a01:7e00:e001:ee80:145d:5eff:feb1:1df1] (unknown [IPv6:2a01:7e00:e001:ee80:145d:5eff:feb1:1df1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by iam.tj (Postfix) with ESMTPSA id 7288C347B9 for ; Wed, 16 Aug 2023 14:13:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=iam.tj; s=2019; t=1692191628; bh=BlCwEQpBwpD65fqcqNcRLwluHof01vT+97XTsyHqH6w=; h=Date:From:Subject:To:From; b=XUQHTXN+jr1oFzxde8FKmvFgjf8PYAz6hhJAaZ/pQI95Dh8KpSRvJMJUq8WbhttjN Ft8E0SR7U5gnNwNQhnTstHnx7tp8FQ0T+F9f8J/PX962rzv9I20TNf4Wm8rtQBbCNE DfNO/4+aKz2ekibnzsg6lSbQER/AkBgdzqXlLVdTPwFRxYM7dAOudpjxK9xrpxqlB9 vr7jFCtdQwwDXdB6pD2wI5IrG/xPfNpepaLXRPkLCJL2MrUXXmpbq4uq+xX4TB+h3k sxSIiG8OjdR9MlxW+8ZUi93YfGncJLoPLgJdAsf+4fUzg+5cDRaJfVYanfPHy8fB4Y 0FocgXNFT/hHA== Message-ID: <5fc2f8f3-b420-6f16-43a0-fae4e619108f@iam.tj> Date: Wed, 16 Aug 2023 14:13:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 From: Tj Subject: [PATCH] mtd: pcmcia: add ID for SEIKO EPSON LWB257SX20 256KB RAM device Content-Language: en-GB To: linux-mtd@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_062047_244949_1716502A X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 --- 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 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),