]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tg3'
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 19:14:48 +0000 (15:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 19:14:48 +0000 (15:14 -0400)
commit2c7f4708d432eb731de64972de7b0b2ba289721c
tree731227384d6c0a6765d7b8edfdf9313ea770ae8b
parenta1e531ab1139f349f9461a18ba99f6d353d31209
parent264bf213880b256310be28b6cd8e9f32a5464958
Merge branch 'tg3'

Nithin Nayak Sujir says:

====================
This patch and the following two patches add support for link flap avoidance
by maintaining the link on power down. This feature is required for
management capable devices to have the management connection
uninterrupted on driver reload, reboot and interface up/down.

The other pros of this feature are
 - It speeds up boot up time by several seconds as DHCP addresses can be
   acquired faster.
 - It avoids lengthy Spanning Tree delay.

On powerup the hardware brings up the phy with default settings. If the
link is not up, the management software configures the phy to gigabit
and starts autonegotiate. Subsequently, as long as the link is up, the
driver and management refrain from resetting and/or changing any
configuration that the link depends on.

The LNK_FLAP_AVOID setting is an NVRAM user configurable bit and is
disabled by default.  If this setting is enabled, we skip powering down
the phy and resetting it.

A second NVRAM setting is 1G_ON_VAUX_OK (off by default). This adds
support for gigabit link speed when device is on auxiliary power.
====================

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>