From 1bfa11db712cbf4af1ae037cd25fd4f781f0c215 Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Rajput Date: Thu, 2 Apr 2009 11:13:17 +0530 Subject: [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 Signed-off-by: James Bottomley --- drivers/scsi/qla1280.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/scsi/qla1280.h') 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 */ -- cgit v1.1