diff --git a/sys/dev/acpi/acpi_pci_link.c b/sys/dev/acpi/acpi_pci_link.c index 5d117c0cf2a1..16e41ef22a10 100644 --- a/sys/dev/acpi/acpi_pci_link.c +++ b/sys/dev/acpi/acpi_pci_link.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_pci_link.c,v 1.10 2007/12/09 20:27:53 jmcneill Exp $ */ +/* $NetBSD: acpi_pci_link.c,v 1.11 2007/12/16 23:11:08 jmcneill Exp $ */ /*- * Copyright (c) 2002 Mitsuru IWASAKI @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.10 2007/12/09 20:27:53 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.11 2007/12/16 23:11:08 jmcneill Exp $"); #include "opt_acpi.h" #include @@ -1082,8 +1082,12 @@ acpi_pci_link_route_interrupt(void *v, int index, int *irq, int *pol, int *trig) } /* Choose an IRQ if we need one. */ - if (PCI_INTERRUPT_VALID(link->l_irq)) + if (PCI_INTERRUPT_VALID(link->l_irq)) { + *irq = link->l_irq; + *pol = link->l_pol; + *trig = link->l_trig; goto done; + } link->l_irq = acpi_pci_link_choose_irq(sc, link);