devices/e1000e/es2lan-2.6.37-ethercat.c
branchstable-1.5
changeset 2234 18f9c69d9590
parent 2219 d52848f0be04
equal deleted inserted replaced
2233:33accbe40987 2234:18f9c69d9590
   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.