diff options
| author | Don Skidmore <donald.c.skidmore@intel.com> | 2011-05-19 23:05:14 -0400 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-06-24 01:46:56 -0400 |
| commit | a38a104d7af27b7697bf7c4272f4be5d1ec6ef4c (patch) | |
| tree | 2988608ff93d746ee79ed3f2064fbe3161132ae8 | |
| parent | 1f4d51836f5e49f2e5201f1daf90239c04b3faf2 (diff) | |
ixgbe: update driver version string
Update the ixgbe driver version string to better match the Source Driver
with similar device support. Likewise update to the current LAD Linux
versioning scheme.
Signed-of-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
| -rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 8 | ||||
| -rw-r--r-- | drivers/net/ixgbe/ixgbe_type.h | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 916a2b64e5f5..2496a27b5991 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
| @@ -54,11 +54,10 @@ char ixgbe_driver_name[] = "ixgbe"; | |||
| 54 | static const char ixgbe_driver_string[] = | 54 | static const char ixgbe_driver_string[] = |
| 55 | "Intel(R) 10 Gigabit PCI Express Network Driver"; | 55 | "Intel(R) 10 Gigabit PCI Express Network Driver"; |
| 56 | #define MAJ 3 | 56 | #define MAJ 3 |
| 57 | #define MIN 3 | 57 | #define MIN 4 |
| 58 | #define BUILD 8 | 58 | #define BUILD 8 |
| 59 | #define KFIX 2 | ||
| 60 | #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \ | 59 | #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \ |
| 61 | __stringify(BUILD) "-k" __stringify(KFIX) | 60 | __stringify(BUILD) "-k" |
| 62 | const char ixgbe_driver_version[] = DRV_VERSION; | 61 | const char ixgbe_driver_version[] = DRV_VERSION; |
| 63 | static const char ixgbe_copyright[] = | 62 | static const char ixgbe_copyright[] = |
| 64 | "Copyright (c) 1999-2011 Intel Corporation."; | 63 | "Copyright (c) 1999-2011 Intel Corporation."; |
| @@ -7713,7 +7712,8 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev, | |||
| 7713 | 7712 | ||
| 7714 | /* Inform firmware of driver version */ | 7713 | /* Inform firmware of driver version */ |
| 7715 | if (hw->mac.ops.set_fw_drv_ver) | 7714 | if (hw->mac.ops.set_fw_drv_ver) |
| 7716 | hw->mac.ops.set_fw_drv_ver(hw, MAJ, MIN, BUILD, KFIX); | 7715 | hw->mac.ops.set_fw_drv_ver(hw, MAJ, MIN, BUILD, |
| 7716 | FW_CEM_UNUSED_VER); | ||
| 7717 | 7717 | ||
| 7718 | /* add san mac addr to netdev */ | 7718 | /* add san mac addr to netdev */ |
| 7719 | ixgbe_add_sanmac_netdev(netdev); | 7719 | ixgbe_add_sanmac_netdev(netdev); |
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h index 8b1abd47056f..1eefc0c68409 100644 --- a/drivers/net/ixgbe/ixgbe_type.h +++ b/drivers/net/ixgbe/ixgbe_type.h | |||
| @@ -2143,7 +2143,8 @@ enum ixgbe_fdir_pballoc_type { | |||
| 2143 | #define FW_CEM_HDR_LEN 0x4 | 2143 | #define FW_CEM_HDR_LEN 0x4 |
| 2144 | #define FW_CEM_CMD_DRIVER_INFO 0xDD | 2144 | #define FW_CEM_CMD_DRIVER_INFO 0xDD |
| 2145 | #define FW_CEM_CMD_DRIVER_INFO_LEN 0x5 | 2145 | #define FW_CEM_CMD_DRIVER_INFO_LEN 0x5 |
| 2146 | #define FW_CEM_CMD_RESERVED 0X0 | 2146 | #define FW_CEM_CMD_RESERVED 0x0 |
| 2147 | #define FW_CEM_UNUSED_VER 0x0 | ||
| 2147 | #define FW_CEM_MAX_RETRIES 3 | 2148 | #define FW_CEM_MAX_RETRIES 3 |
| 2148 | #define FW_CEM_RESP_STATUS_SUCCESS 0x1 | 2149 | #define FW_CEM_RESP_STATUS_SUCCESS 0x1 |
| 2149 | 2150 | ||
