[Cbe-oss-dev] PS3 disk block device driver

graf_chokolo graf_chokolo grafchokolo at googlemail.com
Fri Feb 11 23:10:22 EST 2011


I have now 3 accessible HDD regions on my PS3 linux.
I implemented the driver and added for each region a gendisk struct. Works
fine.

Thanks.

On Fri, Feb 11, 2011 at 12:38 PM, Geert Uytterhoeven
<geert at linux-m68k.org>wrote:

> On Sun, Feb 6, 2011 at 16:03, graf_chokolo graf_chokolo
> <grafchokolo at googlemail.com> wrote:
> > i'm trying to improve the disk block device driver for PS3 on Linux and
> need
> > an advice regarding
> > support for several regions. Currently, the driver supports only one HDD
> > region on Linux, i want to implement
> > support for more than one disk region. What is the best way to implement
> it
> > ?
>
> Are you seeing the message "X accessible regions found. Only the first
> one will be used"?
>
> > HDD on PS3 has 3 levels: HDD -> region -> partitions. If i understand
> right,
> > then i need for every region a gendisk struct.
>
> Yes, you'll have to create a gendisk for every set bit in
> ps3_storage_device.accessible_regions.
>
> Currently it always uses ps3_storage_device.region_idx as the region to
> use.
> Probably you want to modify ps3stor_read_write_sectors() to take the region
> number as a parameter.
>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
> geert at linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker.
> But
> when I'm talking to journalists I just say "programmer" or something like
> that.
>                                 -- Linus Torvalds
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20110211/bfe4b538/attachment.html>


More information about the cbe-oss-dev mailing list