]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/ps3.h
[POWERPC] ps3: get firmware version
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / ps3.h
index 00a4c7d3c6d1e2767dec2eecdd289e266ca16b2e..d1ae87df7776bd4133511a00cbd117c6fe5902d7 100644 (file)
 #include <linux/device.h>
 #include <scsi/scsi.h>
 
+union ps3_firmware_version {
+       u64 raw;
+       struct {
+               u16 pad;
+               u16 major;
+               u16 minor;
+               u16 rev;
+       };
+};
+
+int ps3_get_firmware_version(union ps3_firmware_version *v);
+
 /**
  * struct ps3_device_id - HV bus device identifier from the system repository
  * @bus_id: HV bus id, {1..} (zero invalid)