MIHIRA Sanpei Yoshiro edac5229ae Empty vendor string overrides knowndevs
ubd_devinfo_vp() is getting an empty string from its  usbd_get_string()
call on the vendor, instead of NULL.  This means usb_knowndevs in not
consulted.

Add lines between grabbing those char *s and the USBVERBOSE ifdef to
set vendor to NULL if it is the empty string (similarly for product).

This causes vendor to be filled-out, although the product name read
overrules usb_knowndevs (this appears to be a conscience decision made
by the NetBSD folks):

PR:		kern/56097
Submitted by:	Hal Burch <hburch@lumeta.com>
MFC after:	1 week
2004-01-18 12:46:19 +00:00
..
2004-01-18 04:13:27 +00:00
2004-01-13 15:30:36 +00:00
2004-01-14 07:47:10 +00:00
2004-01-12 03:43:05 +00:00
2004-01-15 23:52:32 +00:00
2004-01-17 03:28:27 +00:00