freebsd-nq/sys
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
..
alpha Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
amd64 remove elan_mmcr, I'm not sure I understand what it did here in the 2004-01-17 13:13:48 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot PC98 uses the different frame code. 2004-01-18 04:13:27 +00:00
cam Fix type in comment, 's/writtent/written/' 2004-01-18 00:17:14 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows. 2004-01-16 02:07:04 +00:00
conf Use generic net80211 framework for awi driver. 2004-01-15 10:04:21 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r124528, 2004-01-14 18:54:22 +00:00
crypto avoid module name conflict with opencrypto/rijndael.c. 2003-11-12 04:22:37 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Empty vendor string overrides knowndevs 2004-01-18 12:46:19 +00:00
fs Do not allow operations which cause known file-system corruption. 2004-01-16 22:55:25 +00:00
geom Print the correct pointer in a KASSERT. 2004-01-11 10:02:42 +00:00
gnu This commit was generated by cvs2svn to compensate for changes in r124361, 2004-01-11 03:34:02 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 Only remove the handler if we installed it. 2004-01-12 19:35:31 +00:00
ia64 Whitespace nit. 2004-01-13 15:30:36 +00:00
isa Significantly reduce the "jitter" that is typical for PS/2 mice 2003-12-11 11:28:11 +00:00
isofs/cd9660 DuH! 2003-10-18 14:10:28 +00:00
kern Handle sf_buf_alloc() returning null. This can happen if the 2004-01-17 21:16:51 +00:00
libkern Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
modules - Build things in pure alphabetical dictionary order. 2004-01-16 15:55:29 +00:00
net Add support for FH phy, which will be used by awi driver. 2004-01-15 08:44:27 +00:00
net80211 Add support for FH phy, which will be used by awi driver. 2004-01-15 08:44:27 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Add an "ethernet" hook to the rfc1490 netgraph module. It will send 2004-01-14 00:39:28 +00:00
netinet Mostly mechanical rework of libalias: 2004-01-17 10:52:21 +00:00
netinet6 call ipsec_pcbconn()/ipsec_pcbdisconn() from in6_pcbconnect(). 2004-01-13 10:45:02 +00:00
netipsec Push m_apply() and m_getptr() up into the colleciton of standard mbuf 2003-12-15 21:49:41 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey invalidate secpolicy pcb cache on key_timehandler. part of 2004-01-14 04:39:40 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb Add support for SMB request signing, which prevents "man in the middle" 2004-01-02 22:38:42 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client This patch fixes two little portability (to !GCC compilers) problems: 2003-12-11 11:30:26 +00:00
nfsclient Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto style(9) pass and type fixups. 2003-12-16 14:13:47 +00:00
pc98 MFi386: revision 1.1114. 2004-01-12 03:43:05 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci Replace calls to vm_page_alloc_contig() by calls to contigmalloc(). 2004-01-13 07:45:10 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Catch up with ATA UMA changes 2004-01-15 23:52:32 +00:00
rpc Don't panic because of RPC proto mismatches. Whitespace cleanup. 2004-01-17 21:25:05 +00:00
security Switch TCP over to using the inpcb label when responding in timed 2003-12-17 14:55:11 +00:00
sparc64 Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
sys Restore correct semantics for F_DUPFD fcntl. This should fix the errors 2004-01-17 00:59:04 +00:00
tools Changes for new SMP-safe kobj method dispatch algorithm. 2003-10-16 13:29:26 +00:00
ufs Avoid calling vprint on a vnode while holding its interlock mutex. 2004-01-04 04:08:34 +00:00
vm Increase UMA_BOOT_PAGES because of changes to pv entry initialization in 2004-01-18 05:51:06 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00