]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Multiple fixes and improvements:
authorhselasky <hselasky@FreeBSD.org>
Tue, 27 May 2014 10:01:19 +0000 (10:01 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 27 May 2014 10:01:19 +0000 (10:01 +0000)
commit6712d8d387eb40e7988e6cf8aa00b052359be5c1
tree92aaaa8bafcbf568ff76d71add6d3457e5c2e875
parent858ac60db9f8675f79f648cce5433aee7572aea9
Multiple fixes and improvements:
- Put "_LE_" into the register access macros to indicate little endian
byte order is expected by the hardware.
- Avoid using the bounce buffer when not strictly needed. Try to move
data directly using bus-space functions first.
- Ensure we preserve the reserved bits in the power down mode
register. Else the hardware goes into a non-recoverable state.
- Always use 32-bit access when writing or reading registers or FIFOs,
because the hardware is 32-bit oriented and don't really understand 8-
and 16-bit access.
- Correct writes to the memory address register. There is no need to
shift the register offset.
- Correct interval for interrupt endpoints.
- Optimise 90ns internal memory buffer read delay.
- Rename PDT into PTD, which is how the datasheet writes it.
- Add missing programming for activating host controller PTDs.

Sponsored by: DARPA, AFRL
sys/dev/usb/controller/saf1761_otg.c
sys/dev/usb/controller/saf1761_otg.h
sys/dev/usb/controller/saf1761_otg_reg.h