[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/3] usb: create functions to search usb device accurately



On 04/30/2012 04:00 PM, Martin Kletzander wrote:
On 04/28/2012 12:13 PM, Guannan Ren wrote:
usbFindDevice():get usb device according to
                 idVendor, idProduct, bus, device
                 it is the most strict search

usbFindDevByBus():get usb device according to bus, device
                   it returns only one usb device same as usbFindDevice

usbFindDevByVendor():get usb device according to idVendor,idProduct
                      it probably returns multiple usb devices.

usbDeivceSearch(): a helper function to do the actual search
Typo:

s/Deivce/Device/

but unfortunately in the whole patch =)


     Thanks, fixed in v2.

     Guannan Ren


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]