patch-2.3.99-pre4 linux/arch/i386/kernel/pci-pc.c

Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/pci-i386.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/arch/i386/kernel/pci-pc.c linux/arch/i386/kernel/pci-pc.c
@@ -1188,7 +1188,7 @@
 		} else if (newirq) {
 			DBG(" -> [VIA] set to %02x\n", newirq);
 			x = (pirq & 1) ? ((x & 0x0f) | (newirq << 4)) : ((x & 0xf0) | newirq);
-			pci_write_config_byte(router, reg, y);
+			pci_write_config_byte(router, reg, x);
 			msg = "VIA-NEW";
 		} else DBG(" -> [VIA] sink\n");
 		break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)