devices/e1000e/ich8lan-2.6.37-ethercat.c
changeset 2239 fb6ec8610ada
parent 2092 941f2d72f115
equal deleted inserted replaced
2238:737bd9eb0e21 2239:fb6ec8610ada
  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.