On Sat, 26 May 2007, Benjamin Herrenschmidt wrote:
> On Fri, 2007-05-25 at 18:18 +0200, Arnd Bergmann wrote:
> > > +static u64 ps3stor_wait_for_completion(u64 devid, u64 tag,
> > > +unsigned int timeout)
> > > +{
> > > + unsigned int retries = 0;
> > > +
On Fri, 2007-05-25 at 21:48 +0200, Geert Uytterhoeven wrote:
> > > + msleep_interruptible(ms);
> > > + if (ms < 6)
> > > + ms <<= 1;
> >
> > Is this timeout only for the disk spinup, or also for detecting
> media
> > added at run time, like inserting a DVD
On Fri, 2007-05-25 at 18:18 +0200, Arnd Bergmann wrote:
> > +static u64 ps3stor_wait_for_completion(u64 devid, u64 tag,
> > +unsigned int timeout)
> > +{
> > + unsigned int retries = 0;
> > + u64 res = -1, status;
> > +
> > + for (retries = 0; retries
On Fri, 25 May 2007, Arnd Bergmann wrote:
> On Friday 25 May 2007, [EMAIL PROTECTED] wrote:
> > +static u64 ps3stor_wait_for_completion(u64 devid, u64 tag,
> > + unsigned int timeout)
> > +{
> > + unsigned int retries = 0;
> > + u64 res = -1, status;
> > +
> > +
Hi.
Arnd Bergmann wrote:
>> +switch (dev_type) {
>> +case PS3_DEV_TYPE_STOR_DISK:
>> +match_id = PS3_MATCH_ID_STOR_DISK;
>> +break;
>> +
>> +case PS3_DEV_TYPE_STOR_ROM:
>> +match_id = PS3_MATCH_ID_STOR_ROM;
>> +break;
>> +
>> +case PS
On Friday 25 May 2007, [EMAIL PROTECTED] wrote:
> Add storage driver probing.
> New storage devices are detected and added by a kthread.
Hi Geert,
the driver looks pretty good, just a few details I noticed:
> +static u64 ps3stor_wait_for_completion(u64 devid, u64 tag,
> +
Add storage driver probing.
New storage devices are detected and added by a kthread.
Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/ps3/device-init.c | 344 +++
1 files changed, 344 insertions(+)
--- a/arch/powerpc/platforms/ps3/devi
7 matches
Mail list logo