summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/common/siena_nic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sfxge/common/siena_nic.c')
-rw-r--r--sys/dev/sfxge/common/siena_nic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/siena_nic.c b/sys/dev/sfxge/common/siena_nic.c
index 002f18d..6dfc054 100644
--- a/sys/dev/sfxge/common/siena_nic.c
+++ b/sys/dev/sfxge/common/siena_nic.c
@@ -105,6 +105,13 @@ siena_board_cfg(
encp->enc_board_type = board_type;
+ /*
+ * There is no possibility to determine the number of PFs on Siena
+ * by issuing MCDI request, and it is not an easy task to find the
+ * value based on the board type, so 'enc_hw_pf_count' is set to 1
+ */
+ encp->enc_hw_pf_count = 1;
+
/* Additional capabilities */
encp->enc_clk_mult = 1;
if (EFX_DWORD_FIELD(capabilities, MC_CMD_CAPABILITIES_TURBO)) {
OpenPOWER on IntegriCloud