Amazing coincidence, this also fixes a problem with qemu usb umass devices.

Try 'qemu -usb ..' '(qemu) usb_add disk:filename' and the vendor/product id
are both zero.  With this diff, qemu usb disks are now visible.  Thanks!
-- 
Todd Fries .. [EMAIL PROTECTED]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \          250797 (FWD)
|                                             \
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Penned by Marc Balmer on 20080710  7:48.54, we have:
| CVSROOT:      /cvs
| Module name:  src
| Changes by:   [EMAIL PROTECTED]       2008/07/10 07:48:54
| 
| Modified files:
|       sys/dev/usb    : ubt.c udcf.c uftdi.c 
| 
| Log message:
| Don't terminate the array of matching product/vendor IDs with { 0, 0 }
| when usb_lookup is used.  If a device indeed has 0 as vendor and product
| ID, like the  HP DL165 BMC Server Engines SE USB Device, a wrong driver
| will attach and the machine will most pbly crash.
| 
| Problem reported Rivo Nurges <[EMAIL PROTECTED]>
| cvs: ----------------------------------------------------------------------

Reply via email to