diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2007-01-25 21:45:43 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2007-01-25 21:45:43 +0000 |
commit | c051c244fdb54d8e21d2457207a497feabb092b1 (patch) | |
tree | 86e8f75da9c932be79d4040f7e6bc0044e3ed1c3 /sys/dev | |
parent | 899123f9ce3e4b9aff707e547d29af67ad6bef2b (diff) |
Be a bit more verbose during attach even without ACPI_DEBUG for now.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/acpidock.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpidock.c b/sys/dev/acpi/acpidock.c index f2bab7debc9..173cd8859a5 100644 --- a/sys/dev/acpi/acpidock.c +++ b/sys/dev/acpi/acpidock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidock.c,v 1.5 2007/01/25 21:31:38 mk Exp $ */ +/* $OpenBSD: acpidock.c,v 1.6 2007/01/25 21:45:42 mk Exp $ */ /* * Copyright (c) 2006,2007 Michael Knudsen <mk@openbsd.org> * @@ -82,8 +82,9 @@ acpidock_attach(struct device *parent, struct device *self, void *aux) } acpidock_status(sc); - printf(": %s\n", - sc->sc_docked == ACPIDOCK_STATUS_DOCKED ? "docked" : "undocked"); + printf(": %s (%d)\n", + sc->sc_docked == ACPIDOCK_STATUS_DOCKED ? "docked" : "undocked", + sc->sc_sta); if (sc->sc_docked == ACPIDOCK_STATUS_DOCKED) { acpidock_docklock(sc, 1); |