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

From: Geert Uytterhoeven
Date: Tue May 29 2007 - 05:58:04 EST


On Tue, 29 May 2007, Christoph Hellwig wrote:
> On Fri, May 25, 2007 at 10:36:14AM +0200, Geert.Uytterhoeven@xxxxxxxxxxx wrote:
> > 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
>
> Looks good, but please either make the driver aware of multiple devices
> even if they can't happen currently, or alternatively error out in
> ->probe if of some reason it's called for a second device.

ps3flash_probe() does return -EBUSY when called for a second device.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@xxxxxxxxxxx ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/