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