]> git.hungrycats.org Git - linux/commit
[PATCH] r8169: link handling and phy reset rework
authorFrançois Romieu <romieu@fr.zoreil.com>
Wed, 2 Jun 2004 16:03:02 +0000 (12:03 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Jun 2004 16:03:02 +0000 (12:03 -0400)
commita7154cb8326c6015b6c5d9ce482d2a1f4c268d99
treed9a7c99840add6593d4f27e2f40299c5232ca311
parentc74c29fa6e369a13df280b83a53cf6c9268d702c
[PATCH] r8169: link handling and phy reset rework

Link handling changes (Andy Lutomirski <luto@myrealbox.com>):
- removed rtl8169_hw_phy_reset() and its busy loop;
- RTL8169_PHY_TIMEOUT is x10 to account for the removal of the
  phy_link_down_cnt loop in rtl8169_phy_timer();
- added spinlocking in timer context for rtl8169_phy_timer to avoid
  messing with the {set/get}_settings commands issued via ethtool;
- more TBI stuff.

This patch differs from the former version on the following points:
- the LinkChg irq does not enable the phy timer when the link goes
  down any more;
- the phy timer is not enabled in rtl8169_set_speed();
- removal of the initial renegotiation hack.
drivers/net/r8169.c