Re: [patch 3/3] ps3: FLASH ROM Storage Driver

2007-07-19 Thread Geert Uytterhoeven
Hi Andrew, On Wed, 18 Jul 2007, Andrew Morton wrote: > > +struct ps3flash_private { > > + struct mutex mutex; /* Bounce buffer mutex */ > > +}; > > +#define ps3flash_priv(dev) ((dev)->sbd.core.driver_data) > > bzzzt! Same defense as ps3rom ;-) > > +static loff_t ps3flash_llseek(st

Re: [patch 3/3] ps3: FLASH ROM Storage Driver

2007-07-18 Thread Andrew Morton
On Mon, 16 Jul 2007 18:15:42 +0200 Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > Add a FLASH ROM Storage Driver for the PS3: > - Implemented as a misc character device driver > - Uses a fixed 256 KiB buffer allocated from boot memory as the h

[patch 3/3] ps3: FLASH ROM Storage Driver

2007-07-16 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Add a FLASH ROM Storage Driver for the PS3: - Implemented as a misc character device driver - Uses a fixed 256 KiB buffer allocated from boot memory as the hypervisor requires the writing of aligned 256 KiB blocks CC: Geoff Levand <[EMAIL PROTE