devices/e1000e/es2lan-2.6.37-ethercat.c
branchredundancy
changeset 2335 6c0d59f35642
parent 2135 f99b2249704c
equal deleted inserted replaced
2334:e98faffe8650 2335:6c0d59f35642
   782  *
   782  *
   783  *  Perform a global reset to the ESB2 controller.
   783  *  Perform a global reset to the ESB2 controller.
   784  **/
   784  **/
   785 static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw)
   785 static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw)
   786 {
   786 {
   787 	u32 ctrl, icr;
   787 	u32 ctrl, icr __attribute__ ((unused));
   788 	s32 ret_val;
   788 	s32 ret_val;
   789 
   789 
   790 	/*
   790 	/*
   791 	 * Prevent the PCI-E bus from sticking if there is no TLP connection
   791 	 * Prevent the PCI-E bus from sticking if there is no TLP connection
   792 	 * on the last TLP read/write transaction when MAC is reset.
   792 	 * on the last TLP read/write transaction when MAC is reset.