projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0af80c0
)
amd74xx: device/vendor confusion
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 25 Feb 2009 19:28:22 +0000
(20:28 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Wed, 25 Feb 2009 19:28:22 +0000
(20:28 +0100)
Device and vendor ids were confused
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/amd74xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/amd74xx.c
b/drivers/ide/amd74xx.c
index 69660a431cd9890f707c87d7e7a38f3429e643de..77267c85996578a47adb19d7104db6992e128e38 100644
(file)
--- a/
drivers/ide/amd74xx.c
+++ b/
drivers/ide/amd74xx.c
@@
-166,7
+166,7
@@
static unsigned int init_chipset_amd74xx(struct pci_dev *dev)
* Check for broken FIFO support.
*/
if (dev->vendor == PCI_VENDOR_ID_AMD &&
- dev->
vendor
== PCI_DEVICE_ID_AMD_VIPER_7411)
+ dev->
device
== PCI_DEVICE_ID_AMD_VIPER_7411)
t &= 0x0f;
else
t |= 0xf0;