[net-next,7/8] bna: Firmware Image Naming Change

Message ID 1354748470-26293-8-git-send-email-rmody@brocade.com
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Rasesh Mody Dec. 5, 2012, 11:01 p.m.
Change details:
        Modified the firmware naming convention to contain the firmware image
version ( The new convention is <firmware-image>-<firmware-version>.bin
The change will enforce loading only compatible firmware with this driver and
also avoid over-writing the old firmware image in-order to load new version
driver as the firmware names used to be the same.

Signed-off-by: Rasesh Mody <rmody@brocade.com>
 drivers/net/ethernet/brocade/bna/cna.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/drivers/net/ethernet/brocade/bna/cna.h b/drivers/net/ethernet/brocade/bna/cna.h
index 32e8f17..14ca931 100644
--- a/drivers/net/ethernet/brocade/bna/cna.h
+++ b/drivers/net/ethernet/brocade/bna/cna.h
@@ -37,8 +37,8 @@ 
 extern char bfa_version[];
-#define	CNA_FW_FILE_CT	"ctfw.bin"
-#define	CNA_FW_FILE_CT2	"ct2fw.bin"
+#define CNA_FW_FILE_CT	"ctfw-"
+#define CNA_FW_FILE_CT2	"ct2fw-"
 #define FC_SYMNAME_MAX	256	/*!< max name server symbolic name size */
 #pragma pack(1)