Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: JosephChan@via.com.tw
Cc: linux-ide@vger.kernel.org, stable@kernel.org, jeff@garzik.org,
	tj@kernel.org
Subject: Re: [Patch 1/1] pata_via: HDD of VT6410/6415/6330 cannot be detected issue
Date: Thu, 25 Mar 2010 15:02:58 +0300	[thread overview]
Message-ID: <4BAB50F2.5070902@ru.mvista.com> (raw)
In-Reply-To: <9E058EE846170743AF7338FE064CB5AB38B400@exchtp04.taipei.via.com.tw>

Hello.

JosephChan@via.com.tw wrote:

> When using VT6410/6415/6330 chips on some VIA's platforms, the HDD connects to VT6410/6415/6330 cannot be detected.
> It is because the driver detects wrong via_isa_bridge ID, and then cause the this issue happen.
> This patch will fix this problem.
>
>
> Signed-off-by: Joseph Chan<josephchan@via.com.tw>
>
> --- a/drivers/ata/pata_via.c	2010-03-16 06:00:01.000000000 -0400
> +++ b/drivers/ata/pata_via.c	2010-03-19 10:21:59.000000000 -0400
> @@ -576,6 +576,10 @@
> 			u8 rev = isa->revision;
> 			pci_dev_put(isa);
>  
> +			if ( (id->device == 0x0415 || id->device == 0x3164) &&
> +			      (config->id != id->device ))
>   

   Don't put spaces before parens.

MBR, Sergei


  reply	other threads:[~2010-03-25 12:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25  8:57 [Patch 1/1] pata_via: HDD of VT6410/6415/6330 cannot be detected issue JosephChan
2010-03-25 12:02 ` Sergei Shtylyov [this message]
2010-03-25 12:41   ` JosephChan

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=4BAB50F2.5070902@ru.mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=JosephChan@via.com.tw \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=tj@kernel.org \
    /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