]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Bring USB fixes for linux(4).
authorWojciech A. Koszek <wkoszek@FreeBSD.org>
Mon, 24 May 2010 07:04:00 +0000 (07:04 +0000)
committerWojciech A. Koszek <wkoszek@FreeBSD.org>
Mon, 24 May 2010 07:04:00 +0000 (07:04 +0000)
commiteedfc35c5c24aafbaa56febb1216f1bcc4e7faec
tree83ada656a98853f5aaefc61addf26dfb58da056f
parentc9022a35b279e667bd45f899bf41c5b108799564
Bring USB fixes for linux(4).

Intention of this commit is to let us take a full advantage
of libusb(8) ported to Linux. This decreases a possibility of getting
any collisions within ioctl() "command" space, especially with
relation to  LINUX_SNDCTL_SEQ... stuff.

Basically, we provide commands, that will be mapped in the kernel
to correct ones and forward those to the USB layer. Port enabling
functionality brought with this patch is here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=146895

Bump __FreeBSD_version to catch, since which version installing a
port makes sense.

This patch should bring no regressions. So far, only i386 is tested.

Tested by: thompsa@
Reviewed by: thompsa@
OKed by: netchild@
sys/compat/linux/linux_ioctl.c
sys/compat/linux/linux_ioctl.h
sys/modules/linux/Makefile
sys/sys/param.h