summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-04-02 11:13:17 +0530
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 09:24:42 -0500
commit1bfa11db712cbf4af1ae037cd25fd4f781f0c215 (patch)
tree83a023e0e07a1b7e85b0e764740d120047b6ace3 /drivers/scsi/qla1280.h
parentfd6e1c14b73dbab89cb76af895d5612e4a8b5522 (diff)
downloadop-kernel-dev-1bfa11db712cbf4af1ae037cd25fd4f781f0c215.zip
op-kernel-dev-1bfa11db712cbf4af1ae037cd25fd4f781f0c215.tar.gz
[SCSI] qla1280: use request_firmware
Firmware blob is little endian looks like this... unsigned char Version1 unsigned char Version2 unsigned char Version3 unsigned char Padding unsigned short start_address unsigned short data Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla1280.h')
-rw-r--r--drivers/scsi/qla1280.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h
index ff2c363..d7c44b8 100644
--- a/drivers/scsi/qla1280.h
+++ b/drivers/scsi/qla1280.h
@@ -1069,6 +1069,12 @@ struct scsi_qla_host {
struct nvram nvram;
int nvram_valid;
+
+ /* Firmware Info */
+ unsigned short fwstart; /* start address for F/W */
+ unsigned char fwver1; /* F/W version first char */
+ unsigned char fwver2; /* F/W version second char */
+ unsigned char fwver3; /* F/W version third char */
};
#endif /* _QLA1280_H */
OpenPOWER on IntegriCloud