* [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue
@ 2010-03-25 12:51 JosephChan
2010-03-28 4:53 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: JosephChan @ 2010-03-25 12:51 UTC (permalink / raw)
To: linux-ide, stable, linux-kernel; +Cc: sshtylyov, jeff, tj
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 850 bytes --]
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-25 08:47:15.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))
+ continue;
+
if (rev >= config->rev_min && rev <= config->rev_max)
break;
}
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue
2010-03-25 12:51 [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue JosephChan
@ 2010-03-28 4:53 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2010-03-28 4:53 UTC (permalink / raw)
To: JosephChan; +Cc: linux-ide, stable, linux-kernel, sshtylyov, tj
On 03/25/2010 08:51 AM, 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-25 08:47:15.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))
> + continue;
> +
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-28 4:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25 12:51 [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue JosephChan
2010-03-28 4:53 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox