Add vid, did to print.
[rsc] --rw-rw-r-- M 852702 sape sys 3032 Jan 19 11:39 sys/src/cmd/usb/lib/device.c
/n/sourcesdump/2006/0119/plan9/sys/src/cmd/usb/lib/device.c:96,105 -
/n/sourcesdump/2006/0120/plan9/sys/src/cmd/usb/lib/device.c:96,105
Endpt *e;
if (e = d->ep[n]) {
- if (verbose) fprint(2, "class %d %d %#6.6lux\n",
- d->nif, n, e->csp);
- fprint(d->ctl, "class %d %d %#6.6lux",
- d->nif, n, e->csp);
+ if (verbose) fprint(2, "class %d %d %#6.6lux %#4.4ux %#4.4ux\n",
+ d->nif, n, e->csp, d->vid, d->did);
+ fprint(d->ctl, "class %d %d %#6.6lux %#4.4ux %#4.4ux",
+ d->nif, n, e->csp, d->vid, d->did);
}
}
|