Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265302AbUFBEWo (ORCPT ); Wed, 2 Jun 2004 00:22:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263646AbUFBEWo (ORCPT ); Wed, 2 Jun 2004 00:22:44 -0400 Received: from holly.csn.ul.ie ([136.201.105.4]:37613 "EHLO holly.csn.ul.ie") by vger.kernel.org with ESMTP id S265302AbUFBEWm (ORCPT ); Wed, 2 Jun 2004 00:22:42 -0400 Date: Wed, 2 Jun 2004 05:22:40 +0100 (IST) From: Dave Airlie X-X-Sender: airlied@skynet To: linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: [patch] MTD: add st50fw040 to jedec probe Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1586 Lines: 56 Hi, This is a patch vs 2.6.6 to add the ST50FW040, which is an ICH2 compatible firmware hub flash, datasheet at: http://www.st.com/stonline/books/ascii/docs/7273.htm From: Dave Airlie Dave. p.s. Dave Woodhouse, is there any plans to merge up your MTD tree to the kernel soon? this is a fairly harmless change that would be useful for me in the mainline, but I don't wish to step on any toes :-) -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie pam_smb / Linux DECstation / Linux VAX / ILUG person --- /storage/2.6/linux-2.6.4/drivers/mtd/chips/jedec_probe.c 2004-03-15 14:15:30.000000000 +1100 +++ linux-2.6.6/drivers/mtd/chips/jedec_probe.c 2004-06-22 20:02:18.708945560 +1000 @@ -109,6 +109,7 @@ #define M29W160DT 0x22C4 #define M29W160DB 0x2249 #define M29W040B 0x00E3 +#define M50FW040 0x002C /* SST */ #define SST29EE512 0x005d @@ -1234,6 +1235,19 @@ .regions = { ERASEINFO(0x10000,8), } + }, { + .mfr_id = MANUFACTURER_ST, + .dev_id = M50FW040, + .name = "ST M50FW040", + .uaddr = { + [0] = MTD_UADDR_UNNECESSARY, /* x8 */ + }, + .DevSize = SIZE_512KiB, + .CmdSet = P_ID_INTEL_EXT, + .NumEraseRegions= 1, + .regions = { + ERASEINFO(0x10000,8), + } }, { .mfr_id = MANUFACTURER_TOSHIBA, .dev_id = TC58FVT160, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/