summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-09-26 05:24:55 +0000
committernjl <njl@FreeBSD.org>2003-09-26 05:24:55 +0000
commit354b85523dc2ae5ad568f79fc85f706e17eeeb1e (patch)
tree5522dbc8fc6f87347cd6345034be2517a887e6f7 /sys/dev/acpica
parent0653dc7b1be87204016d8f28fd861f3570fea0e9 (diff)
downloadFreeBSD-src-354b85523dc2ae5ad568f79fc85f706e17eeeb1e.zip
FreeBSD-src-354b85523dc2ae5ad568f79fc85f706e17eeeb1e.tar.gz
Consistently print attach messages.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_acad.c2
-rw-r--r--sys/dev/acpica/acpi_cmbat.c2
-rw-r--r--sys/dev/acpica/acpi_ec.c4
-rw-r--r--sys/dev/acpica/acpi_resource.c2
-rw-r--r--sys/dev/acpica/acpi_thermal.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/acpica/acpi_acad.c b/sys/dev/acpica/acpi_acad.c
index 43e9681..601f96c 100644
--- a/sys/dev/acpica/acpi_acad.c
+++ b/sys/dev/acpica/acpi_acad.c
@@ -137,7 +137,7 @@ acpi_acad_probe(device_t dev)
if (acpi_get_type(dev) == ACPI_TYPE_DEVICE &&
acpi_MatchHid(dev, "ACPI0003")) {
- device_set_desc(dev, "AC adapter");
+ device_set_desc(dev, "AC Adapter");
return (0);
}
return (ENXIO);
diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c
index a5a9a09..b5bebc9 100644
--- a/sys/dev/acpica/acpi_cmbat.c
+++ b/sys/dev/acpica/acpi_cmbat.c
@@ -316,7 +316,7 @@ acpi_cmbat_probe(device_t dev)
if (acpi_get_type(dev) == ACPI_TYPE_DEVICE &&
!acpi_disabled("cmbat") && acpi_MatchHid(dev, "PNP0C0A")) {
- device_set_desc(dev, "Control method Battery");
+ device_set_desc(dev, "Control Method Battery");
return (0);
}
return (ENXIO);
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c
index eb0aa20..c0a4207 100644
--- a/sys/dev/acpica/acpi_ec.c
+++ b/sys/dev/acpica/acpi_ec.c
@@ -437,7 +437,7 @@ acpi_ec_probe(device_t dev)
*/
magic = acpi_get_magic(dev);
if (DEV_ECDT(dev)) {
- snprintf(desc, sizeof(desc), "embedded controller: ECDT, GPE %#x, GLK",
+ snprintf(desc, sizeof(desc), "Embedded Controller: ECDT, GPE %#x, GLK",
DEV_GET_GPEBIT(magic));
device_set_desc_copy(dev, desc);
ret = 0;
@@ -482,7 +482,7 @@ acpi_ec_probe(device_t dev)
*/
peer = devclass_get_device(acpi_ec_devclass, uid);
if (peer == NULL || !device_is_alive(peer)) {
- snprintf(desc, sizeof(desc), "embedded controller: GPE %#x%s",
+ snprintf(desc, sizeof(desc), "Embedded Controller: GPE %#x%s",
gpebit, glk != 0 ? ", GLK" : "");
device_set_desc_copy(dev, desc);
ret = 0;
diff --git a/sys/dev/acpica/acpi_resource.c b/sys/dev/acpica/acpi_resource.c
index e91d577..23ac064 100644
--- a/sys/dev/acpica/acpi_resource.c
+++ b/sys/dev/acpica/acpi_resource.c
@@ -571,7 +571,7 @@ static int
acpi_sysresource_probe(device_t dev)
{
if (!acpi_disabled("sysresource") && acpi_MatchHid(dev, "PNP0C02"))
- device_set_desc(dev, "system resource");
+ device_set_desc(dev, "System Resource");
else
return (ENXIO);
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index f73fa81..86ee656 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -155,7 +155,7 @@ acpi_tz_probe(device_t dev)
/* No FUNCTION_TRACE - too noisy */
if (acpi_get_type(dev) == ACPI_TYPE_THERMAL && !acpi_disabled("thermal")) {
- device_set_desc(dev, "thermal zone");
+ device_set_desc(dev, "Thermal Zone");
result = -10;
} else {
result = ENXIO;
OpenPOWER on IntegriCloud