]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[POWERPC] PS3: Vuart cleanups
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 14 Feb 2007 01:37:28 +0000 (17:37 -0800)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Feb 2007 03:00:19 +0000 (14:00 +1100)
commit75c86e7422751c5be3caaf448d802839ec685725
tree9372526aa0722b9d1bac8341025873cb9e545999
parent724339d76d9407cd1a8ad32a9c1fdf64840cc51b
[POWERPC] PS3: Vuart cleanups

Cleanups for the PS3 vuart driver.

- Hide driver private data from external interface with new structure
  ps3_vuart_port_priv.
- Fix masking bug in ps3_vuart_get_interrupt_status().
- Add new helper routine ps3_vuart_clear_rx_bytes() to flush rx buffer.
- Add new variable probe_mutex to serialize probe and destroy routines.
- Rename some symbols.
- Add platform check in ps3_vuart_bus_init().

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/ps3/vuart.c
drivers/ps3/vuart.h
include/asm-powerpc/ps3.h