fm10k/base: add FM10420 device ids

Add the device ID for Boulder Rapids and Atwood Channel to enable
drivers to support those devices.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
This commit is contained in:
Wang Xiao W 2015-09-10 12:38:32 +08:00 committed by Thomas Monjalon
parent 925c862cbc
commit 97661df7d2
2 changed files with 12 additions and 0 deletions
drivers/net/fm10k/base

@ -55,6 +55,12 @@ s32 fm10k_set_mac_type(struct fm10k_hw *hw)
switch (hw->device_id) {
case FM10K_DEV_ID_PF:
#ifdef BOULDER_RAPIDS_HW
case FM10K_DEV_ID_SDI_FM10420_QDA2:
#endif /* BOULDER_RAPIDS_HW */
#ifdef ATWOOD_CHANNEL_HW
case FM10K_DEV_ID_SDI_FM10420_DA2:
#endif /* ATWOOD_CHANNEL_HW */
hw->mac.type = fm10k_mac_pf;
break;
case FM10K_DEV_ID_VF:

@ -43,6 +43,12 @@ struct fm10k_hw;
#define FM10K_INTEL_VENDOR_ID 0x8086
#define FM10K_DEV_ID_PF 0x15A4
#define FM10K_DEV_ID_VF 0x15A5
#ifdef BOULDER_RAPIDS_HW
#define FM10K_DEV_ID_SDI_FM10420_QDA2 0x15D0
#endif /* BOULDER_RAPIDS_HW */
#ifdef ATWOOD_CHANNEL_HW
#define FM10K_DEV_ID_SDI_FM10420_DA2 0x15D5
#endif /* ATWOOD_CHANNEL_HW */
#define FM10K_MAX_QUEUES 256
#define FM10K_MAX_QUEUES_PF 128