summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/devinfo.c
diff options
context:
space:
mode:
authorvikram <none@none>2007-06-11 22:00:14 -0700
committervikram <none@none>2007-06-11 22:00:14 -0700
commit3e2676e0be8e80477443d63e0d8034428f5fa14f (patch)
treef9743f959331d8b211a4627adb5c7cc3a872d6dd /usr/src/uts/common/io/devinfo.c
parent11a1a29e5a989112307dce1460c5f72a1f2b1a57 (diff)
downloadillumos-joyent-3e2676e0be8e80477443d63e0d8034428f5fa14f.tar.gz
6568015 libtopo sets wrong return value for dev scheme's unusable method
6568016 libdevinfo should export devinfo node's flags field 6568017 libdevinfo should check snapshot version
Diffstat (limited to 'usr/src/uts/common/io/devinfo.c')
-rw-r--r--usr/src/uts/common/io/devinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/devinfo.c b/usr/src/uts/common/io/devinfo.c
index 1768378fe7..b29a61596e 100644
--- a/usr/src/uts/common/io/devinfo.c
+++ b/usr/src/uts/common/io/devinfo.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1713,6 +1713,7 @@ di_copynode(struct di_stack *dsp, struct di_state *st)
me->node_class = node->devi_node_class;
me->attributes = node->devi_node_attributes;
me->state = node->devi_state;
+ me->flags = node->devi_flags;
me->node_state = node->devi_node_state;
me->next_vhci = 0; /* Filled up by build_vhci_list. */
me->top_phci = 0; /* Filled up by build_phci_list. */