]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gianfar: Don't reset TBI<->SerDes link if it's already up
authorTrent Piepho <tpiepho@freescale.com>
Fri, 31 Oct 2008 01:17:07 +0000 (18:17 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 31 Oct 2008 04:59:53 +0000 (00:59 -0400)
commitbdb59f949d663b7e943fb5f40b2557af4314abf9
treec9ddebc19917166f27471cc1994aa19c80b72773
parentc132419e560a2ecd3c8cf77f9c37e103e74b3754
gianfar: Don't reset TBI<->SerDes link if it's already up

The link may be up already via the chip's reset strapping, or though action
of U-Boot, or from the last time the interface was brought up.  Resetting
the link causes it to go down for several seconds.  This can significantly
increase the time from power-on to DHCP completion and a device being
accessible to the network.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/gianfar.c