devices/e1000e/netdev-2.6.37-ethercat.c
branchredundancy
changeset 2335 6c0d59f35642
parent 2135 f99b2249704c
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
equal deleted inserted replaced
2334:e98faffe8650 2335:6c0d59f35642
  2788 	u32 psrctl = 0;
  2788 	u32 psrctl = 0;
  2789 	u32 pages = 0;
  2789 	u32 pages = 0;
  2790 
  2790 
  2791 	/* Workaround Si errata on 82579 - configure jumbo frame flow */
  2791 	/* Workaround Si errata on 82579 - configure jumbo frame flow */
  2792 	if (hw->mac.type == e1000_pch2lan) {
  2792 	if (hw->mac.type == e1000_pch2lan) {
  2793 		s32 ret_val;
  2793 		s32 ret_val __attribute__ ((unused));
  2794 
  2794 
  2795 		if (adapter->netdev->mtu > ETH_DATA_LEN)
  2795 		if (adapter->netdev->mtu > ETH_DATA_LEN)
  2796 			ret_val = e1000_lv_jumbo_workaround_ich8lan(hw, true);
  2796 			ret_val = e1000_lv_jumbo_workaround_ich8lan(hw, true);
  2797 		else
  2797 		else
  2798 			ret_val = e1000_lv_jumbo_workaround_ich8lan(hw, false);
  2798 			ret_val = e1000_lv_jumbo_workaround_ich8lan(hw, false);