devices/e1000e/ich8lan-2.6.37-ethercat.c
branchredundancy
changeset 2335 6c0d59f35642
parent 2135 f99b2249704c
equal deleted inserted replaced
2334:e98faffe8650 2335:6c0d59f35642
  2976  **/
  2976  **/
  2977 static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw)
  2977 static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw)
  2978 {
  2978 {
  2979 	struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan;
  2979 	struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan;
  2980 	u16 reg;
  2980 	u16 reg;
  2981 	u32 ctrl, icr, kab;
  2981 	u32 ctrl, icr __attribute__ ((unused)), kab;
  2982 	s32 ret_val;
  2982 	s32 ret_val;
  2983 
  2983 
  2984 	/*
  2984 	/*
  2985 	 * Prevent the PCI-E bus from sticking if there is no TLP connection
  2985 	 * Prevent the PCI-E bus from sticking if there is no TLP connection
  2986 	 * on the last TLP read/write transaction when MAC is reset.
  2986 	 * on the last TLP read/write transaction when MAC is reset.