summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-12 21:33:08 +0000
committernjl <njl@FreeBSD.org>2004-10-12 21:33:08 +0000
commitd9fca60108f1d4fe0f6d583799d216efe285b3e7 (patch)
treea72fcb5803a637d84874cc338c1f7bb9efea08e5 /sys/dev/acpica
parent8958bacd2b1d4b226ab5fd86f57b0fbcdbbb0acf (diff)
downloadFreeBSD-src-d9fca60108f1d4fe0f6d583799d216efe285b3e7.zip
FreeBSD-src-d9fca60108f1d4fe0f6d583799d216efe285b3e7.tar.gz
Attach the device description for ISA devices on the ACPI bus.
MFC after: 1 day
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 6769b06..de8b1ee 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1169,6 +1169,9 @@ acpi_isa_pnp_probe(device_t bus, device_t child, struct isa_pnp_id *ids)
}
out:
+ if (result == 0 && ids->ip_desc)
+ device_set_desc(child, ids->ip_desc);
+
return_VALUE (result);
}
OpenPOWER on IntegriCloud