diff options
Diffstat (limited to 'freebsd/sys/dev/e1000/e1000_mbx.c')
-rw-r--r-- | freebsd/sys/dev/e1000/e1000_mbx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/freebsd/sys/dev/e1000/e1000_mbx.c b/freebsd/sys/dev/e1000/e1000_mbx.c index 5236837a..7408d814 100644 --- a/freebsd/sys/dev/e1000/e1000_mbx.c +++ b/freebsd/sys/dev/e1000/e1000_mbx.c @@ -742,7 +742,9 @@ s32 e1000_init_mbx_params_pf(struct e1000_hw *hw) { struct e1000_mbx_info *mbx = &hw->mbx; - if (hw->mac.type == e1000_82576) { + switch (hw->mac.type) { + case e1000_82576: + case e1000_i350: mbx->timeout = 0; mbx->usec_delay = 0; @@ -761,8 +763,8 @@ s32 e1000_init_mbx_params_pf(struct e1000_hw *hw) mbx->stats.reqs = 0; mbx->stats.acks = 0; mbx->stats.rsts = 0; + default: + return E1000_SUCCESS; } - - return E1000_SUCCESS; } |