Re: [PATCH 10/15] ps3stor_lib: Add support for multiple regions

2011-08-01 Thread Andre Heider
On Mon, Aug 1, 2011 at 10:35 PM, Geert Uytterhoeven wrote: > On Mon, Aug 1, 2011 at 22:03, Andre Heider wrote: >>        priv->gendisk = gendisk; >> + >> +       /* find first accessible region */ >> +       for (region_idx = 0; region_idx < dev->num_regions; region_idx++) >> +               if (

Re: [PATCH 10/15] ps3stor_lib: Add support for multiple regions

2011-08-01 Thread Geert Uytterhoeven
On Mon, Aug 1, 2011 at 22:03, Andre Heider wrote: > Users (ps3disk, ps3flash and ps3rom) retain the old behavior. That is: > they still only provide access to the first accessible region. > > Signed-off-by: Andre Heider > --- >  arch/powerpc/include/asm/ps3stor.h |    4 ++-- >  drivers/block/ps3d

[PATCH 10/15] ps3stor_lib: Add support for multiple regions

2011-08-01 Thread Andre Heider
Users (ps3disk, ps3flash and ps3rom) retain the old behavior. That is: they still only provide access to the first accessible region. Signed-off-by: Andre Heider --- arch/powerpc/include/asm/ps3stor.h |4 ++-- drivers/block/ps3disk.c| 15 +-- drivers/char/ps3flash.c