]> git.baikalelectronics.ru Git - kernel.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)
commitcfd4f7459ae22ac6b0a5c686ebd7b79a3321c52c
tree9372526aa0722b9d1bac8341025873cb9e545999
parent6f625dca711e19a00f0c35b0b7be6f2e4c9ab988
[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