diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-11-27 15:20:27 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-11-27 15:20:27 +0000 |
commit | d9fb6571d7192322eab3dc23c44470164735edba (patch) | |
tree | d3287f1882104b4f3301c7ad7135c1356c529839 /sys/dev/acpi/acpi.c | |
parent | 3c4560151200cd4b978ae3f5fe77cc21f5ad709d (diff) |
Fixes for acpiprt routing
Post-parse fixup for namerefs
ok kettenis@
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r-- | sys/dev/acpi/acpi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index eb443762454..edc725bbfe6 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.63 2006/11/25 16:26:08 marco Exp $ */ +/* $OpenBSD: acpi.c,v 1.64 2006/11/27 15:20:26 jordan Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -658,7 +658,7 @@ acpi_foundprt(struct aml_node *node, void *arg) memset(&aaa, 0, sizeof(aaa)); aaa.aaa_iot = sc->sc_iot; aaa.aaa_memt = sc->sc_memt; - aaa.aaa_node = node->parent; + aaa.aaa_node = node; aaa.aaa_dev = dev; aaa.aaa_name = "acpiprt"; @@ -782,6 +782,9 @@ acpi_attach(struct device *parent, struct device *self, void *aux) } } + /* Perform post-parsing fixups */ + aml_postparse(); + /* Walk AML Tree */ //aml_walkroot(); |