Skip to contentSkip to conversation

PATCH: VIA alternative patch set

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

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

This set applies if you want to fix the pata_via enablebits but don't want to rely on the private_data patch or push that into the main tree yet.

Alan

drivers/scsi/pata_via.c +2 -2
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.14-mm2/drivers/scsi/pata_via.c linux-2.6.14-mm2/drivers/scsi/pata_via.c
@@ -151,8 +151,8 @@
 
 	/* Note: When we add VIA 6410 remember it doesn't have enable bits */
 	static struct pci_bits via_enable_bits[] = {
-		{ 0x40, 0x02, 0x02 },
-		{ 0x40, 0x01, 0x01 }
+		{ 0x40, 1, 0x02, 0x02 },
+		{ 0x40, 1, 0x01, 0x01 }
 	};
 
 	if (!pci_test_config_bits(pdev, &via_enable_bits[ap->hard_port_no])) {