diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-21 15:35:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-21 15:35:34 +0000 |
commit | 11f3a7f10cdd534aca627e5e3ad245f040db336c (patch) | |
tree | b22755d52c79c694eafbf4addd6e6e3ded8bc39e /sys/dev/acpi/acpiprt.c | |
parent | 1137139402dfbf175fc0eeaa6c491a26a4b41d2b (diff) |
Always re-route interrupts, even when doing so appears to be a no-op. Some
BIOSen flat out lie to us when we ask for the current routing.
ok marco@
Diffstat (limited to 'sys/dev/acpi/acpiprt.c')
-rw-r--r-- | sys/dev/acpi/acpiprt.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/acpi/acpiprt.c b/sys/dev/acpi/acpiprt.c index 81c19e00af8..47e4cc23b8c 100644 --- a/sys/dev/acpi/acpiprt.c +++ b/sys/dev/acpi/acpiprt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiprt.c,v 1.33 2009/03/11 21:54:15 jordan Exp $ */ +/* $OpenBSD: acpiprt.c,v 1.34 2009/03/21 15:35:33 kettenis Exp $ */ /* * Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org> * @@ -486,12 +486,6 @@ acpiprt_route_interrupt(int bus, int dev, int pin) } aml_parse_resource(res.length, res.v_buffer, acpiprt_getirq, &irq); - /* Only re-route interrupts when necessary. */ - if ((sta & STA_ENABLED) && irq == newirq) { - aml_freevalue(&res); - return; - } - crs = (union acpi_resource *)res.v_buffer; switch (AML_CRSTYPE(crs)) { case SR_IRQ: |