aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMagnus Damm <[email protected]>2009-09-30 11:57:24 +0000
committerPaul Mundt <[email protected]>2009-10-06 10:59:03 +0900
commit59c82d12aa898c2f373b7e44bdea0b7c762ceccc (patch)
tree711b5b17b4a1f3c7790d3793bad27beb141dfe42 /net/lapb/lapb_subr.c
parent9c472c4dd892b75c19d13b8fdbe35fbb09bdbd0d (diff)
usb: r8a66597-udc unaligned fifo fix
Rework the r8a66597-udc fifo code to avoid unaligned accesses. Without this patch unaligned exceptions will degrade the USB performance. The exceptions come from the fact that the usb fifo data buffers may be misaligned. This patch updates the fifo access code to only use insl()/outsl() and insw()/outsw() in the case of properly aligned data buffers. The fallback case is that inl()/inw() are used for misaligned buffer reads together with outb() that is used for misaligned buffer writes. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions