• Bruce Allan's avatar
    e100: e100_phy_init() isolates selected PHY, causes 10 second boot delay · 8fbd962e
    Bruce Allan authored
    A change in how PHYs are electrically isolated caused all PHYs to be
    isolated followed by reverting that isolation for the selected PHY.
    Unfortunately, isolating the selected PHY for even a short period of
    time can result in DHCP negotiation taking more than 10 seconds on certain
    embedded configurations delaying boot time as reported by Bernhard Kaindl.
    This patch reverts the change to how PHYs are isolated yet still works
    around the issue for 82552 needing the selected PHY's BMCR register to
    be written after the unused PHYs are isolated.  This code is moved below
    the setting of nic->phy ID in order to do the 82552-specific workaround.
    
    Cc: Bernhard Kaindl <bernhard.kaindl@gmx.net>
    Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8fbd962e
e100.c 87.9 KB