diff options
| author | fvdl <fvdl@NetBSD.org> | 2006-07-10 09:18:36 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 2006-07-10 09:18:36 +0000 |
| commit | 6bde80fce77aa97f1ed2eec99da5a41af2ed79e2 (patch) | |
| tree | 95c50d42da0f3a5c1dad34f79bcd6065a6746429 /sys/dev | |
| parent | 504d664ef911b7b7b2adff7bde54af404df61cca (diff) | |
Do not try to disable link devices (using _DIS) at startup. This causes
problems on some systems. Leave the code commented out, we might want
to revisit this at some point in the future.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpi/acpi_pci_link.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi_pci_link.c b/sys/dev/acpi/acpi_pci_link.c index 639b19ec6ab..e3c71329be6 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.2 2006/07/05 18:17:59 xtraeme Exp $ */ +/* $NetBSD: acpi_pci_link.c,v 1.3 2006/07/10 09:18:36 fvdl Exp $ */ /*- * Copyright (c) 2002 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.2 2006/07/05 18:17:59 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.3 2006/07/10 09:18:36 fvdl Exp $"); #include "opt_acpi.h" #include <sys/param.h> @@ -513,11 +513,13 @@ acpi_pci_link_attach(struct acpi_pci_link_softc *sc) * run _DIS (i.e., the method doesn't exist), assume the initial * IRQ was routed by the BIOS. */ +#if 0 /* XXX causes spontaneaous resets on some systems. Disabled for now. */ if (ACPI_SUCCESS(AcpiEvaluateObject(sc->pl_handle, "_DIS", NULL, NULL))) for (i = 0; i < sc->pl_num_links; i++) sc->pl_links[i].l_irq = PCI_INVALID_IRQ; else +#endif for (i = 0; i < sc->pl_num_links; i++) if (PCI_INTERRUPT_VALID(sc->pl_links[i].l_irq)) sc->pl_links[i].l_routed = TRUE; |
