Skip to contentSkip to conversation

PATCH: Fix opti pci enable bits as with the AMD bug

PATCH Alan Cox 1 participant 1 message Nov 19, 2005 SCSI

lore
Share & tools
lore

Alan Cox

author
#0 lore raw
drivers/scsi/pata_opti.c +2 -2
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.14-mm2/drivers/scsi/pata_opti.c linux-2.6.14-mm2/drivers/scsi/pata_opti.c
@@ -52,8 +52,8 @@
 {
 	struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
 	static const struct pci_bits opti_enable_bits[] = {
-		{ 0x45, 0x80, 0x00 },
-		{ 0x45, 0x08, 0x00 }
+		{ 0x45, 1, 0x80, 0x00 },
+		{ 0x45, 1, 0x08, 0x00 }
 	};
 
 	if (!pci_test_config_bits(pdev, &opti_enable_bits[ap->hard_port_no])) {