net/bnx2x: update driver version to 1.0.1.1
authorRasesh Mody <rasesh.mody@qlogic.com>
Thu, 12 May 2016 00:06:25 +0000 (17:06 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:55 +0000 (17:13 +0200)
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x.c

index f7ee77e..f1bc2dd 100644 (file)
 #define BNX2X_PMD_VER_PREFIX "BNX2X PMD"
 #define BNX2X_PMD_VERSION_MAJOR 1
 #define BNX2X_PMD_VERSION_MINOR 0
-#define BNX2X_PMD_VERSION_PATCH 0
+#define BNX2X_PMD_VERSION_REVISION 1
+#define BNX2X_PMD_VERSION_PATCH 1
 
 static inline const char *
 bnx2x_pmd_version(void)
 {
        static char version[32];
 
-       snprintf(version, sizeof(version), "%s %s_%d.%d.%d",
+       snprintf(version, sizeof(version), "%s %s_%d.%d.%d.%d",
                        BNX2X_PMD_VER_PREFIX,
                        BNX2X_DRIVER_VERSION,
                        BNX2X_PMD_VERSION_MAJOR,
                        BNX2X_PMD_VERSION_MINOR,
+                       BNX2X_PMD_VERSION_REVISION,
                        BNX2X_PMD_VERSION_PATCH);
 
        return version;