Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue

8 views
Skip to first unread message

Josep...@via.com.tw

unread,
Mar 25, 2010, 9:10:02 AM3/25/10
to
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<josep...@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;
}

Jeff Garzik

unread,
Mar 28, 2010, 1:00:02 AM3/28/10
to

applied


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

0 new messages