devices/e1000e/netdev-2.6.37-ethercat.c
branchstable-1.5
changeset 2378 ca345abf0565
parent 2234 18f9c69d9590
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
equal deleted inserted replaced
2377:aa0f6f939cb3 2378:ca345abf0565
  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);