[2.6 IDE PATCH] SanDisk is flash - like in 2.4

From: Meelis Roos
Date: Fri Apr 02 2004 - 09:54:20 EST


Former SunDisk AFA flash disk maker renamed itself to SanDisk and now
there are flash disks with both names. This is the same patch that went
into 2.4, only rediffed against current 2.6 BK.

===== drivers/ide/ide-probe.c 1.71 vs edited =====
--- 1.71/drivers/ide/ide-probe.c Wed Mar 17 00:12:28 2004
+++ edited/drivers/ide/ide-probe.c Fri Apr 2 17:50:06 2004
@@ -103,7 +103,8 @@
if (id->config == 0x848a) return 1; /* CompactFlash */
if (!strncmp(id->model, "KODAK ATA_FLASH", 15) /* Kodak */
|| !strncmp(id->model, "Hitachi CV", 10) /* Hitachi */
- || !strncmp(id->model, "SunDisk SDCFB", 13) /* SunDisk */
+ || !strncmp(id->model, "SunDisk SDCFB", 13) /* old SanDisk */
+ || !strncmp(id->model, "SanDisk SDCFB", 13) /* SanDisk */
|| !strncmp(id->model, "HAGIWARA HPC", 12) /* Hagiwara */
|| !strncmp(id->model, "LEXAR ATA_FLASH", 15) /* Lexar */
|| !strncmp(id->model, "ATA_FLASH", 9)) /* Simple Tech */


--
Meelis Roos (mroos@xxxxxxxx)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/