[TG3]: Improve 5704S autoneg.
authorMichael Chan <mchan@broadcom.com>
Wed, 27 Sep 2006 22:59:15 +0000 (15:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:34 +0000 (18:01 -0700)
commit3d3ebe741b2c06fe3df67739d09f6ef0e25ee41a
treef9112f5b5beac57673a26563a3a50517c5c96798
parent6ac59344ef25d5f0ebadb5663cf700d25d2a3886
[TG3]: Improve 5704S autoneg.

Improve 5704S autoneg logic by using a serdes_counter field to keep
track of the transient states.  This eliminates a 200 msec busy
loop in the code.  Autoneg will take its course without the driver
busy waiting for it to finish.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h