diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-02-03 23:55:48 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-02-03 23:55:48 +0000 |
commit | 10ee7040389481a51445322c1e19655caf35ffad (patch) | |
tree | b4855f10ceec969f4d683d0b85b58a4611513142 /sys/dev/acpi/acpibat.c | |
parent | d94015f2730668a756180e3fd25367ffe1e07d14 (diff) |
Rewrote aml parser yet again...
Fixed bus_space_map for i386/amd64
Added _BST and _BIF to acpibat to get status/info
ok marco@
Diffstat (limited to 'sys/dev/acpi/acpibat.c')
-rw-r--r-- | sys/dev/acpi/acpibat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpibat.c b/sys/dev/acpi/acpibat.c index 7926a9b67e3..6a575f5c36d 100644 --- a/sys/dev/acpi/acpibat.c +++ b/sys/dev/acpi/acpibat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibat.c,v 1.9 2006/01/17 23:42:14 jordan Exp $ */ +/* $OpenBSD: acpibat.c,v 1.10 2006/02/03 23:55:47 jordan Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -78,7 +78,8 @@ acpibat_attach(struct device *parent, struct device *self, void *aux) sc->sc_acpi = (struct acpi_softc *)parent; sc->sc_devnode = aa->aaa_node->child; - /* acpibat_getbif(sc); */ + acpibat_getbif(sc); + acpibat_getbst(sc); printf("\n"); } |