diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-06-15 18:01:06 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 05:16:40 -0400 |
commit | 7626e78d29651d3075e88f233c0632867ea6a35c (patch) | |
tree | 0f1d4b26d6597b9a81af2e2009ce2dae6aaabbc7 /include/asm-powerpc | |
parent | a3323d1a52ec5b70821590e4beaaf13c466fd396 (diff) |
[POWERPC] PS3: Vuart rework
PS3 vuart updates to reflect the new PS3 unified device support.
- Move vuart devices to the PS3 system bus.
- Replace use of ps3_vuart_port_device with ps3_system_bus_device.
- Make the PS3 vuart bus driver a loadable module.
- Add remove() and shutdown() routines.
- Move ps3_vuart_work into ps3_vuart_port_priv.tx_list.
- Remove redundant spinlock ps3_vuart_work.lock.
- No longer free ps3_vuart_port_device.priv on shutdown.
- Cleanup Kconfig defs.
- Export symbols needed for modular port drivers.
- Arrange to use port numbers found in repository.
- Fix bugs in ps3_vuart_read_async() and polled reading
- Cleanup handling of shared interrupt with ps3_vuart_bus_interrupt_get()
and ps3_vuart_bus_interrupt_put()
- Add more comments to vuart.c.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/ps3.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index 4f753907bbf9..433c38eb61ae 100644 --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h | |||
@@ -407,23 +407,6 @@ static inline void *ps3_system_bus_get_driver_data( | |||
407 | 407 | ||
408 | extern struct bus_type ps3_system_bus_type; | 408 | extern struct bus_type ps3_system_bus_type; |
409 | 409 | ||
410 | /* vuart routines */ | ||
411 | |||
412 | struct ps3_vuart_port_priv; | ||
413 | |||
414 | /** | ||
415 | * struct ps3_vuart_port_device - a device on a vuart port | ||
416 | */ | ||
417 | |||
418 | struct ps3_vuart_port_device { | ||
419 | enum ps3_match_id match_id; | ||
420 | struct device core; | ||
421 | struct ps3_vuart_port_priv* priv; /* private driver variables */ | ||
422 | |||
423 | }; | ||
424 | |||
425 | int ps3_vuart_port_device_register(struct ps3_vuart_port_device *dev); | ||
426 | |||
427 | /* system manager */ | 410 | /* system manager */ |
428 | 411 | ||
429 | #ifdef CONFIG_PS3_SYS_MANAGER | 412 | #ifdef CONFIG_PS3_SYS_MANAGER |