[POWERPC] PS3: Add ps3_repository_find_device_by_id()
commite06bcf3cc3a6c45a16e9ffeb0401380aebfdea02
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 18 Jan 2008 20:30:27 +0000 (19 07:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:51 +0000 (25 22:52 +1100)
tree32730587d3c795b881c1e4fb0de36e6831a0bc50
parent034e0ab54bfe57bc980452f991d3ab443f1b085a
[POWERPC] PS3: Add ps3_repository_find_device_by_id()

The storage probe feature of the PS3 hypervisor returns device IDs.  Add
the corresponding repository routine ps3_repository_find_device_by_id()
which can be used to retrieve the device info from the repository.

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