[POWERPC] PS3: Add repository polling loop to work around timing bug
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 18 Jan 2008 20:30:53 +0000 (07:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:51 +0000 (22:52 +1100)
commit972b1f040c8698ef2a44ad3f2b790039d5a8ac09
tree8c29e730fda9e3b1a061b05ee36aa8a4e44d64ac
parentb4cb2941f855993410ca456ef998888434e86098
[POWERPC] PS3: Add repository polling loop to work around timing bug

PS3: Add repository polling loop to work around timing bug

On some firmware versions (e.g. 1.90), the storage device may not show up
in the repository immediately after receiving the notification message.
Add a small polling loop to make sure we don't miss it.

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