]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r205030
authorthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Apr 2010 23:24:55 +0000 (23:24 +0000)
committerthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Apr 2010 23:24:55 +0000 (23:24 +0000)
commit55ee04f648e4ed6ec93050607df16e7c87132608
tree1d8a0cbf87fb23035d47cfd6e6b890e1b4d543fe
parented268723ad0998e0ff92f4e2eea64cbda5e41401
MFC r205030

 - make the usb_temp_setup() and usb_temp_unsetup() functions public so that
   other modules can generate USB descriptors.
 - extend the vendor specific request function by one length pointer argument,
   because not all descriptors store the length in the first byte. For example
   HID descriptors.

Submitted by: Hans Petter Selasky

git-svn-id: svn://svn.freebsd.org/base/stable/8@206311 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/template/usb_template.c
sys/dev/usb/template/usb_template.h
sys/dev/usb/template/usb_template_mtp.c