diff options
Diffstat (limited to 'drivers/net/igb')
-rw-r--r-- | drivers/net/igb/igb_main.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index accab3f7357e..d27e502097eb 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -888,11 +888,14 @@ void igb_reset(struct igb_adapter *adapter) | |||
888 | /* Repartition Pba for greater than 9k mtu | 888 | /* Repartition Pba for greater than 9k mtu |
889 | * To take effect CTRL.RST is required. | 889 | * To take effect CTRL.RST is required. |
890 | */ | 890 | */ |
891 | if (mac->type != e1000_82576) { | 891 | switch (mac->type) { |
892 | pba = E1000_PBA_34K; | 892 | case e1000_82576: |
893 | } | ||
894 | else { | ||
895 | pba = E1000_PBA_64K; | 893 | pba = E1000_PBA_64K; |
894 | break; | ||
895 | case e1000_82575: | ||
896 | default: | ||
897 | pba = E1000_PBA_34K; | ||
898 | break; | ||
896 | } | 899 | } |
897 | 900 | ||
898 | if ((adapter->max_frame_size > ETH_FRAME_LEN + ETH_FCS_LEN) && | 901 | if ((adapter->max_frame_size > ETH_FRAME_LEN + ETH_FCS_LEN) && |