patch-1.3.70 linux/arch/alpha/kernel/bios32.c

Next file: linux/arch/alpha/kernel/irq.c
Previous file: linux/arch/alpha/kernel/alcor.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/arch/alpha/kernel/bios32.c linux/arch/alpha/kernel/bios32.c
@@ -76,7 +76,6 @@
  */
 #define PCI_MODIFY		1
 
-
 extern struct hwrpb_struct *hwrpb;
 
 
@@ -656,7 +655,7 @@
 	/*
 	 * Go through all devices, fixing up irqs as we see fit:
 	 */
-	level_bits = 0;
+	level_bits = inb(0x4d0) | (inb(0x4d1) << 8);
 	for (dev = pci_devices; dev; dev = dev->next) {
 		dev->irq = 0;
 		if (dev->bus->number != 0) {
@@ -678,6 +677,7 @@
 		if (pirq < 0) {
 			continue;
 		}
+
 		/*
 		 * if its a VGA, enable its BIOS ROM at C0000
 		 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this