[POWERPC] PS3: Fix storage probe logic
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 8 Aug 2007 18:01:21 +0000 (11:01 -0700)
committerPaul Mackerras <paulus@samba.org>
Fri, 10 Aug 2007 11:04:21 +0000 (21:04 +1000)
commitedd2a9d185799354db255de62c3ed1f2b1c6b0f4
treeb6f19a73c4584905700c3cfea0cd446f20fda1ce
parentf5996449e3244524cab0ba709a4bd87047a8175f
[POWERPC] PS3: Fix storage probe logic

Fix the PS3 storage probe logic to properly find device regions on cold
startup.

 o Change the storage probe event mask from notify_device_ready
   to notify_region_update.
 o Improve the storage probe error handling.
 o Change ps3_storage_wait_for_device() to use a temporary variable to hold
   the buffer address.

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/device-init.c