Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Adrian Bunk <bunk@fs.tum.de>, Meelis Roos <mroos@linux.ee>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [2.4 IDE PATCH] SanDisk is flash (fwd)
Date: Tue, 13 Apr 2004 22:12:11 +0200	[thread overview]
Message-ID: <200404132212.11481.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <20040413195344.GA523@fs.tum.de>

On Tuesday 13 of April 2004 21:53, Adrian Bunk wrote:
> The patch forwarded below by Meelis Roos was already included in
> 2.4.26-rc. It does apply against 2.6, too, so I assume it should also be
> added there?

Some time ago I sent mail to Meelis asking if this patch is really necessary.
No answer yet.

> cu
> Adrian
>
>
> ----- Forwarded message from Meelis Roos <mroos@linux.ee> -----
>
> Date:	Thu, 1 Apr 2004 21:26:13 +0300 (EEST)
> From: Meelis Roos <mroos@linux.ee>
> To: Linux Kernel list <linux-kernel@vger.kernel.org>
> Subject: [2.4 IDE PATCH] SanDisk is flash
>
> This is self-explanatory - former SunDisk renamed itself to SanDisk and
> now there are flash disks with both names.

Please excuse me but I am dumb... ;-)

Does this mean that CF test fail or that SunDisk is SanDisk now?

id->config == 0x848a test was introduced in kernel 2.3.27 _after_
SunDisk model name test and if id->config == 0x848a test fails
comment to drive_is_flashcard() needs fixing.

> ===== drivers/ide/ide-probe.c 1.21 vs edited =====
> --- 1.21/drivers/ide/ide-probe.c	Mon Nov 24 00:05:18 2003
> +++ edited/drivers/ide/ide-probe.c	Thu Apr  1 21:15:22 2004
> @@ -102,7 +102,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 */


  reply	other threads:[~2004-04-13 20:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 19:53 [2.4 IDE PATCH] SanDisk is flash (fwd) Adrian Bunk
2004-04-13 20:12 ` Bartlomiej Zolnierkiewicz [this message]
2004-04-14  8:31   ` Meelis Roos
2004-04-14 20:43     ` Bartlomiej Zolnierkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200404132212.11481.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=bunk@fs.tum.de \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox