summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-01-05 01:57:05 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-01-05 01:57:05 +0000
commit95ea8f77397d2e768cef319bea78fc15ad8496d1 (patch)
treef0d75a671f7e2ca27e00022497febc30c01cd57a /sys/src
parent2402025982aa44c91e452fd792abdfc880461944 (diff)
nusb/usbd: provide vid and did in device info string for hubs
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/nusb/usbd/hub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/usbd/hub.c b/sys/src/cmd/nusb/usbd/hub.c
index e04a4aedc..8bc175207 100644
--- a/sys/src/cmd/nusb/usbd/hub.c
+++ b/sys/src/cmd/nusb/usbd/hub.c
@@ -199,8 +199,8 @@ newhub(char *fn, Dev *d)
devctl(h->dev, "info roothub csp %#08ux ports %d",
0x000009, h->nport);
else{
- devctl(h->dev, "info hub csp %#08ulx ports %d %q %q",
- ud->csp, h->nport, ud->vendor, ud->product);
+ devctl(h->dev, "info hub csp %#08ulx ports %d vid %#.4ux did %#.4ux %q %q",
+ ud->csp, h->nport, ud->vid, ud->did, ud->vendor, ud->product);
for(i = 1; i <= h->nport; i++)
if(hubfeature(h, i, Fportpower, 1) < 0)
fprint(2, "%s: %s: power: %r\n", argv0, fn);