From bb8dc3b9b7a6d1be2d1a87a0766873ccb8107370 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 13 Dec 2000 05:31:38 +0000 Subject: [PATCH] Put HACK back in for 2.2. kernels for IRQ routing. --- src/northsouthbridge/sis/630/southbridge.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/northsouthbridge/sis/630/southbridge.c b/src/northsouthbridge/sis/630/southbridge.c index d76c2f45b8..29382b7479 100644 --- a/src/northsouthbridge/sis/630/southbridge.c +++ b/src/northsouthbridge/sis/630/southbridge.c @@ -152,6 +152,14 @@ final_southbridge_fixup() struct pci_dev *pcidev; #ifdef OLD_KERNEL_HACK + pcidev = pci_find_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, (void *)NULL); + if (pcidev != NULL) { + printk("Remapping IRQ on southbridge for OLD_KERNEL_HACK\n"); + // remap IRQ for PCI -- this is exactly what the BIOS does now. + pci_write_config_byte(pcidev, 0x42, 0xa); + pci_write_config_byte(pcidev, 0x43, 0xb); + pci_write_config_byte(pcidev, 0x44, 0xc); + } // ethernet fixup. This should all work, and doesn't, yet. // so we hack it for now. // need a manifest constant for the enet device.