diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2009-02-28 19:40:23 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2009-02-28 19:40:23 +0000 |
| commit | 74dd0aeee0a6fab2e08b6f4deeaf2615f87228bc (patch) | |
| tree | 1719a5f710816203ca269d49f7e86f328221b131 /sys/dev | |
| parent | 60d9c2168ace65a320679c75e0439157ab61bac8 (diff) | |
Change a confusing attach message; if the embedded controller was attached
via ECDT, we would print:
acpiec0 at acpi0 (EC, PHP0C09-0): ACPI Embedded Controller (disabled)
The embedded controller isn't actually disabled, but instead this driver
instance, so change the message to read:
acpiec0 at acpi0 (EC, PHP0C09-0): using acpiecdt0
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpi/acpi_ec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpi_ec.c b/sys/dev/acpi/acpi_ec.c index bb15218de3e..7707bd48f61 100644 --- a/sys/dev/acpi/acpi_ec.c +++ b/sys/dev/acpi/acpi_ec.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_ec.c,v 1.53 2009/02/17 12:46:01 jmcneill Exp $ */ +/* $NetBSD: acpi_ec.c,v 1.54 2009/02/28 19:40:23 jmcneill Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -59,7 +59,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.53 2009/02/17 12:46:01 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.54 2009/02/28 19:40:23 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -257,8 +257,8 @@ acpiec_attach(device_t parent, device_t self, void *aux) ACPI_STATUS rv; if (ec_singleton != NULL) { - aprint_naive(": (disabled)\n"); - aprint_normal(": ACPI Embedded Controller (disabled)\n"); + aprint_naive(": using %s\n", device_xname(ec_singleton)); + aprint_normal(": using %s\n", device_xname(ec_singleton)); if (!pmf_device_register(self, NULL, NULL)) aprint_error_dev(self, "couldn't establish power handler\n"); return; |
