aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdata/iohub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/iohub.c b/hdata/iohub.c
index a5f12fd..2260f60 100644
--- a/hdata/iohub.c
+++ b/hdata/iohub.c
@@ -705,7 +705,7 @@ static void parse_one_slot(const struct slot_map_entry *entry,
st_name(type), vid, did);
/* The VID:DID is only meaningful for builtins and switches */
- if (vid && did) {
+ if (type == st_sw_upstream && vid && did) {
node = dt_new_2addr(parent, st_name(type), vid, did);
dt_add_property_cells(node, "reg", vid, did);
} else {