Linux-kernel mailing list archive 2000-23,: Patch to support Simple Tech flash IDE card

# Patch to support Simple Tech flash IDE card

Thomas Hood (jdthood@mail.com)
Tue, 06 Jun 2000 11:40:29 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Stephen C. Tweedie: "Re: (reiserfs) Re: New Linux 2.5 - 2.6 TODO (Alan Cox suggests delaying reiserfs integration)"
- Previous message: Chris Lattner: "Re: TODO List / State of CML2"
- Next in thread: Khimenko Victor: "Re: Patch to support Simple Tech flash IDE card"
- Reply: Khimenko Victor: "Re: Patch to support Simple Tech flash IDE card"

This is a multi-part message in MIME format.
--------------7F66B64DA8F857741B5F6A2F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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 */
    --------------7F66B64DA8F857741B5F6A2F
    Content-Type: text/plain; charset=us-ascii;
     name="ide-patch"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline;
     filename="ide-patch"

    --- 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 */

    --------------7F66B64DA8F857741B5F6A2F--

    -
    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/

- Next message: Stephen C. Tweedie: "Re: (reiserfs) Re: New Linux 2.5 - 2.6 TODO (Alan Cox suggests delaying reiserfs integration)"
- Previous message: Chris Lattner: "Re: TODO List / State of CML2"
- Next in thread: Khimenko Victor: "Re: Patch to support Simple Tech flash IDE card"
- Reply: Khimenko Victor: "Re: Patch to support Simple Tech flash IDE card"