sanpei 69d79b6f35 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
..
2003-11-10 00:20:52 +00:00
2003-04-14 14:04:08 +00:00
2003-08-24 17:55:58 +00:00
2003-07-04 01:50:39 +00:00
2003-12-17 14:23:07 +00:00
2003-11-14 11:09:45 +00:00
2003-08-24 17:55:58 +00:00
2003-07-04 01:50:39 +00:00
2003-08-24 17:55:58 +00:00
2003-07-04 01:50:39 +00:00
2003-08-24 17:55:58 +00:00
2004-01-03 15:01:04 +00:00
2003-11-16 12:13:39 +00:00
2003-08-24 17:55:58 +00:00
2003-11-16 13:13:16 +00:00
2003-11-14 11:09:45 +00:00
2003-11-09 23:54:21 +00:00
2003-11-09 23:54:21 +00:00
2004-01-18 09:04:57 +00:00
2004-01-18 09:04:57 +00:00
2003-08-24 17:55:58 +00:00
2003-07-04 01:50:39 +00:00
2003-07-15 22:42:37 +00:00
2004-01-03 12:51:59 +00:00