usbd_set_config_no vs. usbd_set_config_index

Andriy Gapon avg at icyb.net.ua
Thu Aug 16 09:26:15 PDT 2007


on 16/08/2007 19:15 Hans Petter Selasky said the following:
> Hi,
> 
> I would say that "usbd_set_config_index()" is more reliable and faster 
> than "usbd_set_config_no()". I tried to get rid of 
> all "usbd_set_config_no()".

Hmm, then I am puzzled how my change from *_index() to *_no() helped in
my case. Maybe some parameters were incorrect, or maybe different
devices need different parameters and that's where _no() comes useful.

-- 
Andriy Gapon


More information about the freebsd-usb mailing list