Patch to support Simple Tech flash IDE card

From: Thomas Hood (jdthood@mail.com)
Date: Tue Jun 06 2000 - 10:40:29 EST


Here is one-liner that will allow the IDE driver to
recognize a Simple Technologies IDE FLASH card as a
flash card. (I post it because the maintainer's address
bounces mail: hedrick@astro.dyer.vanderbilt.edu .)

--
Thomas Hood

--- ide.c_2.2.15 Thu Apr 20 21:55:31 2000 +++ ide.c Tue Jun 6 00:14:47 2000 @@ -274,6 +274,7 @@ 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, "ATA_FLASH", 9) /* Simple Tech */ || !strncmp(id->model, "HAGIWARA HPC", 12)) /* Hagiwara */ { return 1; /* yes, it is a flash memory card */

--- ide.c_2.2.15 Thu Apr 20 21:55:31 2000 +++ ide.c Tue Jun 6 00:14:47 2000 @@ -274,6 +274,7 @@ 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, "ATA_FLASH", 9) /* Simple Tech */ || !strncmp(id->model, "HAGIWARA HPC", 12)) /* Hagiwara */ { return 1; /* yes, it is a flash memory card */

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



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:25 EST