Make the USB attach strings in dmesg include product name.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks good to my eye (I thought I'd done something similar to the USB stack before Hans took it over).
sys/dev/usb/usb_util.c | ||
---|---|---|
98 ↗ | (On Diff #21423) | Are you checking iManufacturer for 0 ? |
sys/dev/usb/usb_util.c | ||
---|---|---|
98 ↗ | (On Diff #21423) | Well, usbd_req_get_string_any() already handles this, but I'll try to do this in a cleaner way. For now let's forget about this chunk. |