1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/arm
Marius Strobl 8a7eceb74a - Add missing locking in at91_usart_getc().
- Align the RX buffers on the cache line size, otherwise the requirement
  of partial cache line flushes on every are pretty much guaranteed. [1]
- Make the code setting the RX timeout match its comment (apparently,
  start and stop bits were missed in the previous calculation). [1]
- Cover the busdma operations in at91_usart_bus_{ipend,transmit}() with
  the hardware mutex, too, so these don't race against each other.
- In at91_usart_bus_ipend(), reduce duplication in the code dealing with
  TX interrupts.
- In at91_usart_bus_ipend(), turn the code dealing with RX interrupts
  into an else-if cascade in order reduce its complexity and to improve
  its run-time behavior.
- In at91_usart_bus_ipend(), add missing BUS_DMASYNC_PREREAD calls on
  the RX buffer map before handing things over to the hardware again. [1]
- In at91_usart_bus_getsig(), used a variable of sufficient width for
  storing the contents of USART_CSR.
- Use KOBJMETHOD_END.
- Remove an unused header.

Submitted by:	Ian Lepore [1]
Reviewed by:	Ian Lepore
MFC after:	1 week
2012-05-01 20:42:03 +00:00
..
arm - Disable MMU before reconfiguring the pagetables in the trampoline code. 2012-04-25 22:44:07 +00:00
at91 - Add missing locking in at91_usart_getc(). 2012-05-01 20:42:03 +00:00
compile
conf - Add kernel config file for QEMU-emulated gumstix board. 2012-04-07 23:48:51 +00:00
econa Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
include Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
mv Fix error check. 2012-03-15 21:48:27 +00:00
s3c2xx0 Get myself a brain, move the call to init_param1() before the first use in 2011-02-21 13:11:05 +00:00
sa11x0 Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:33 +00:00
xscale - Add new ARM kernel option QEMU_WORKAROUNDS which can be 2012-04-07 23:47:08 +00:00