Skip to contentSkip to conversation

ide: device/vendor confusion

PATCH Applied Roel Kluin 3 participants 3 messages Feb 15, 2009 – Feb 16, 2009 libata

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 ide: device/vendor confusion

Device and vendor ids were confused

---

drivers/ide/amd74xx.c +1 -1
index 69660a4..77267c8 100644
@@ -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;