[POWERPC] PS3: Repository probe cleanups
commita3323d1a52ec5b70821590e4beaaf13c466fd396
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 15 Jun 2007 21:55:58 +0000 (16 07:55 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:16:39 +0000 (28 19:16 +1000)
tree0e2c39f3fb667bfbdd9d4279dcf82ef7d8fc6565
parent6758555da6a171d3f21ce36c0e12a2b8cff7ca9d
[POWERPC] PS3: Repository probe cleanups

Repository updates:
  - Extract ps3_repository_find_bus() from ps3_repository_find_device(), as the
    storage driver needs it.
  - Make ps3_repository_find_device() return -ENODEV if a device is not found,
    just like if a bus is not found.
  - Add ps3_repository_read_vuart_sysmgr_port() and
    ps3_repository_read_vuart_av_port() to get vuart port info.
  - Add device enumeration routines ps3_repository_find_device() and
    ps3_repository_find_devices().
  - Cleanup debug routines.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/platform.h
arch/powerpc/platforms/ps3/repository.c