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

login
register
mail settings
Submitter Rasesh Mody
Date Dec. 5, 2012, 11:01 p.m.
Message ID <1354748470-26293-8-git-send-email-rmody@brocade.com>
Download mbox | patch
Permalink /patch/204032/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Rasesh Mody - Dec. 5, 2012, 11:01 p.m.
Change details:
        Modified the firmware naming convention to contain the firmware image
version (3.1.0.0). 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(-)

Patch

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-3.1.0.0.bin"
+#define CNA_FW_FILE_CT2	"ct2fw-3.1.0.0.bin"
 #define FC_SYMNAME_MAX	256	/*!< max name server symbolic name size */
 
 #pragma pack(1)