• oliver@schinagl.nl's avatar
    net: phy: realtek: Only force master mode on rtl8211b/c · cebf3f55
    oliver@schinagl.nl authored and Joe Hershberger's avatar Joe Hershberger committed
    Commit 525d187a
    
     ("net: phy: Optionally force master mode for RTL PHY")
    added the define to force the PHY into master mode. Unfortunatly this is
    an all or nothing switch. So it applies to either all PHY's or no PHY's.
    
    The bug that define tried to solve was a buggy PLL in the RTL8211C only.
    
    The Olimex OLinuXino Lime2 has gotten an upgrade where the PHY was
    replaced with an RTL8211E. With this define however, both lime2 boards
    are either forced to master mode or not. We could of course have a
    binary for each board, but the following patch fixes this by adding a
    'quirk' to the flags to the rtl8211b and rtl8211c only. It is now
    possible to force master mode, but only have it apply to the rtl8211b
    and rtl8211c.
    Signed-off-by: default avatarOlliver Schinagl <oliver@schinagl.nl>
    Acked-by: Joe Hershberger's avatarJoe Hershberger <joe.hershberger@ni.com>
    cebf3f55
realtek.c 7.51 KB