2001-03-14 05:22:50

by John William

[permalink] [raw]
Subject: [PATCH] HP Vectra XU 5/90 interrupt problems

I propose a patch of mpparse.c (patched against 2.4.2) to fix the Vectra XU
interrupt problem.

By the time we get to construct_default_ioirq_mptable(), we know we have an
ISA/PCI machine without any IRQ entries in the MP table. At this point the
kernel would just set up all the IRQ entries as ISA conforming entries (edge
sensitive). So any shared PCI interrupts won't work right.

A quick sanity check is made against the ELCR data (IRQ0, 1, 2 and 13 can
never be level sensitive). If the check passes, the ELCR data is copied into
the new MP table we are creating. This sets the PCI interrupts to level
sensitive.

This patch works on the Vectra XU 5/90 machines I have here.

Comments are welcome!

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Attachments:
mpparse.diff (1.94 kB)