summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-14 22:36:47 +0000
committernjl <njl@FreeBSD.org>2004-10-14 22:36:47 +0000
commit2982f3e0a03795a1e29534369f19e77eb36d46cd (patch)
tree550ca3dd71fab96921e94c5acd612bfcd3ec9ecb /sys/ia64
parent48e4157e91b19dd6052373a6bdcadbe4f11313c2 (diff)
downloadFreeBSD-src-2982f3e0a03795a1e29534369f19e77eb36d46cd.zip
FreeBSD-src-2982f3e0a03795a1e29534369f19e77eb36d46cd.tar.gz
Print flags in the nexus for child devices.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/nexus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c
index 4522314..af67996 100644
--- a/sys/ia64/ia64/nexus.c
+++ b/sys/ia64/ia64/nexus.c
@@ -286,6 +286,8 @@ nexus_print_child(device_t bus, device_t child)
retval += nexus_print_all_resources(child);
if (ndev->nx_pcibus != -1)
retval += printf(" pcibus %d", ndev->nx_pcibus);
+ if (device_get_flags(child))
+ retval += printf(" flags %#x", device_get_flags(child));
retval += printf(" on motherboard\n"); /* XXX "motherboard", ick */
return (retval);
OpenPOWER on IntegriCloud