devices/e1000e/ich8lan-2.6.37-ethercat.c
branchstable-1.5
changeset 2378 ca345abf0565
parent 2234 18f9c69d9590
equal deleted inserted replaced
2377:aa0f6f939cb3 2378:ca345abf0565
  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.