lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 25 Mar 2010 20:51:47 +0800
From:	<JosephChan@....com.tw>
To:	<linux-ide@...r.kernel.org>, <stable@...nel.org>,
	<linux-kernel@...r.kernel.org>
Cc:	<sshtylyov@...sta.com>, <jeff@...zik.org>, <tj@...nel.org>
Subject: [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot be detected issue

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@....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;
 		}

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ