plan9fox/sys/src/9/bcm
cinap_lenrek 41908149de nusb: resolve endpoint id conflict with different input and output types
ftrvxmtrx repots devices that use the endpoint number for
input and output of different types like:

 nusb/ether:             parsedesc endpoint 5[7]  07 05 81 03 08 00 09	# ep1 in intr
 nusb/ether:             parsedesc endpoint 5[7]  07 05 82 02 00 02 00
 nusb/ether:             parsedesc endpoint 5[7]  07 05 01 02 00 02 00	# ep1 out bulk

the previous change tried to work arround this but had the
concequence that only the lastly defined endpoint was
usable.

this change addresses the issue by allowing up to 32 endpoints
per device (16 output + 16 input endpoints) in devusb. the
hci driver will ignore the 4th bit and will only use the
lower 4 bits as endpoint address when talking to the usb
device.

when we encounter a conflict, we map the input endpoint
to the upper id range 16..31 and the output endpoint
to id 0..15 so two distinct endpoints are created.
2014-04-23 20:03:01 +02:00
..
arch.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
archbcm.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
arm.h add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
arm.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
clock.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
coproc.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
dat.h add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
devarch.c Added in /dev/cputemp for bcm kernel (Thanks Krystian!) 2013-12-13 02:20:29 -05:00
dma.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
dwcotg.h add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
emmc.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
fns.h god damn it forgot fucking fns.h from my last commit 2013-12-13 02:24:15 -05:00
fpi.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
fpi.h add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
fpiarm.c ARM: kernel: add vfp emulator to bcm, teg2, omap, kw 2013-06-12 01:11:41 +05:30
fpimem.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
init9.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
io.h add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
l.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
lexception.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
lproc.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
main.c kernel: interpret service= boot parameter to set "cpuserver" variable 2014-03-15 00:55:02 +01:00
mem.h sysexec: fix possible segment overlap with temporary stack 2013-03-16 02:37:07 +01:00
mkfile ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
mmu.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
mouse.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
picpuf ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
pif ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
rebootcode.s add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
screen.c reduce software cursor flickering 2013-04-14 16:28:54 +02:00
screen.h reduce software cursor flickering 2013-04-14 16:28:54 +02:00
softfpu.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
syscall.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
trap.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
uartmini.c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
usbdwc.c nusb: resolve endpoint id conflict with different input and output types 2014-04-23 20:03:01 +02:00
vcore.c Added in /dev/cputemp for bcm kernel (Thanks Krystian!) 2013-12-13 02:20:29 -05:00
vfp3.c kernel: do all fp state fork from procfork() (like pc kernel) 2013-05-30 23:26:21 +02:00
words add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00