[PATCH 10/14] ps3: get firmware version

Arnd Bergmann arnd at arndb.de
Thu Jan 25 17:23:48 EST 2007


On Thursday 25 January 2007 03:40, Geoff Levand wrote:
> Output the PS3 firmware version to dmesg and /proc/cpuinfo.
> 
> Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
> 
Acked-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>

I agree with benh that you should avoid the copy of individual fields
inside of the struct ps3_firmware_version, since you can directly
read into a 

struct ps3_firmware_version {
	u16 pad;
	u16 major;
	u16 minor;
	u16 rev;
};



More information about the Linuxppc-dev mailing list