Module Name: src Committed By: riz Date: Sun Nov 21 03:05:11 UTC 2010
Modified Files: src/distrib/sets/lists/man [netbsd-5]: mi src/share/man/man4 [netbsd-5]: Makefile src/sys/arch/alpha/conf [netbsd-5]: GENERIC src/sys/arch/amd64/conf [netbsd-5]: GENERIC XEN3_DOM0 src/sys/arch/evbarm/conf [netbsd-5]: GUMSTIX MPCSA_GENERIC src/sys/arch/evbppc/conf [netbsd-5]: OPENBLOCKS266_OPT src/sys/arch/hpcarm/conf [netbsd-5]: JORNADA720 src/sys/arch/hpcsh/conf [netbsd-5]: GENERIC src/sys/arch/i386/conf [netbsd-5]: ALL GENERIC XEN2_DOM0 src/sys/arch/iyonix/conf [netbsd-5]: GENERIC src/sys/arch/sparc64/conf [netbsd-5]: GENERIC src/sys/dev/bluetooth [netbsd-5]: btdev.h files.bluetooth src/sys/dev/usb [netbsd-5]: hid.c hid.h usbdevs src/usr.sbin/btdevctl [netbsd-5]: print.c sdp.c Added Files: src/share/man/man4 [netbsd-5]: btmagic.4 src/sys/dev/bluetooth [netbsd-5]: btmagic.c Log Message: Pull up following revision(s) (requested by plunky in ticket #1407): sys/dev/bluetooth/btdev.h: revision 1.9 sys/arch/iyonix/conf/GENERIC: revision 1.60 sys/arch/sparc64/conf/GENERIC: revision 1.129 sys/dev/usb/hid.c: revision 1.30 sys/dev/usb/hid.h: revision 1.13 sys/arch/i386/conf/GENERIC: revision 1.983 usr.sbin/btdevctl/print.c: revision 1.10 sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.16 sys/arch/alpha/conf/GENERIC: revision 1.337 sys/dev/bluetooth/files.bluetooth: revision 1.14 sys/arch/evbarm/conf/GUMSTIX: revision 1.49 sys/dev/usb/usbdevs: revision 1.550 sys/arch/evbppc/conf/OPENBLOCKS266_OPT: revision 1.14 sys/arch/hpcsh/conf/GENERIC: revision 1.91 sys/dev/bluetooth/btmagic.c: revision 1.1 distrib/sets/lists/man/mi: revision 1.1210 sys/arch/amd64/conf/GENERIC: revision 1.279 sys/arch/i386/conf/ALL: revision 1.258 sys/arch/amd64/conf/XEN3_DOM0: revision 1.54 sys/arch/hpcarm/conf/JORNADA720: revision 1.78 sys/dev/usb/hid.c: revision 1.29 share/man/man4/btmagic.4: revision 1.1 hid_get_data() does not work if the size of data is less than a byte and crosses a byte boundary, and it always returns a sign-extended value. fix this by using the algorithm from libusbhid to read bytes, and provide a hid_get_udata() function to return unsigned data values. while here, const args update DPRINTF to reflect actual function name add Apple Magic Mouse product-id regen for Magic Mouse id allow for vendor-id and product-id properties, passing them through to child devices add Magic Mouse driver and manpage btmagic(4) additionally query the "PnP Information" service record to discover any USB Forum vendor-id and product-id values and store them in the property list if found. add btmagic(4) where other Bluetooth drivers are listed To generate a diff of this commit: cvs rdiff -u -r1.1109.2.14 -r1.1109.2.15 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.482.2.8 -r1.482.2.9 src/share/man/man4/Makefile cvs rdiff -u -r0 -r1.2.2.2 src/share/man/man4/btmagic.4 cvs rdiff -u -r1.325.4.1 -r1.325.4.2 src/sys/arch/alpha/conf/GENERIC cvs rdiff -u -r1.231.4.7 -r1.231.4.8 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.33.4.4 -r1.33.4.5 src/sys/arch/amd64/conf/XEN3_DOM0 cvs rdiff -u -r1.29 -r1.29.4.1 src/sys/arch/evbarm/conf/GUMSTIX cvs rdiff -u -r1.5.4.1 -r1.5.4.2 src/sys/arch/evbarm/conf/MPCSA_GENERIC cvs rdiff -u -r1.9 -r1.9.28.1 src/sys/arch/evbppc/conf/OPENBLOCKS266_OPT cvs rdiff -u -r1.70 -r1.70.4.1 src/sys/arch/hpcarm/conf/JORNADA720 cvs rdiff -u -r1.83 -r1.83.2.1 src/sys/arch/hpcsh/conf/GENERIC cvs rdiff -u -r1.183.4.7 -r1.183.4.8 src/sys/arch/i386/conf/ALL cvs rdiff -u -r1.915.2.10 -r1.915.2.11 src/sys/arch/i386/conf/GENERIC cvs rdiff -u -r1.53.2.4 -r1.53.2.5 src/sys/arch/i386/conf/XEN2_DOM0 cvs rdiff -u -r1.51 -r1.51.4.1 src/sys/arch/iyonix/conf/GENERIC cvs rdiff -u -r1.104.2.2 -r1.104.2.3 src/sys/arch/sparc64/conf/GENERIC cvs rdiff -u -r1.8 -r1.8.14.1 src/sys/dev/bluetooth/btdev.h cvs rdiff -u -r0 -r1.1.8.2 src/sys/dev/bluetooth/btmagic.c cvs rdiff -u -r1.13 -r1.13.6.1 src/sys/dev/bluetooth/files.bluetooth cvs rdiff -u -r1.28 -r1.28.10.1 src/sys/dev/usb/hid.c cvs rdiff -u -r1.12 -r1.12.10.1 src/sys/dev/usb/hid.h cvs rdiff -u -r1.519.4.6 -r1.519.4.7 src/sys/dev/usb/usbdevs cvs rdiff -u -r1.9 -r1.9.14.1 src/usr.sbin/btdevctl/print.c cvs rdiff -u -r1.5 -r1.5.6.1 src/usr.sbin/btdevctl/sdp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.