Be more restrictive about when to disregard MP config table values
(previous commit broke support for Dec Personal Workstation).
This commit is contained in:
parent
c21410e119
commit
6680ea138a
|
@ -22,7 +22,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: mpapic.c,v 1.29 1998/04/01 21:07:34 tegge Exp $
|
* $Id: mpapic.c,v 1.30 1998/04/19 23:19:20 tegge Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_smp.h"
|
#include "opt_smp.h"
|
||||||
|
@ -179,7 +179,9 @@ io_apic_setup(int apic)
|
||||||
/* the "ISA" type INTerrupts */
|
/* the "ISA" type INTerrupts */
|
||||||
if ((bustype == ISA) &&
|
if ((bustype == ISA) &&
|
||||||
(pin < IOAPIC_ISA_INTS) &&
|
(pin < IOAPIC_ISA_INTS) &&
|
||||||
(isa_apic_pin(pin) == pin)) {
|
(isa_apic_pin(pin) == pin) &&
|
||||||
|
(apic_polarity(apic, pin) == 0x1) &&
|
||||||
|
(apic_trigger(apic, pin) == 0x3)) {
|
||||||
flags = DEFAULT_ISA_FLAGS;
|
flags = DEFAULT_ISA_FLAGS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue