lkml.org 
[lkml]   [2022]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectnet: asix: best way to handle orphan PHYs
    Hello all,

    I have ASIX based USB Ethernet adapter with two PHYs: internal and
    external. The internal PHY is enabled by default and there seems to be
    no way to disable internal PHY on the MAC level without affecting the
    external PHY.

    What is the preferred method to suspend internal PHY?
    Currently I have following options:
    - suspend PHY in the probe function of the PHY driver
    - get the phydev in the MAC driver and call phy_suspend()
    - whisper magic numbers from the MAC driver directly this the MDIO bus.

    Are there other options?

    Regards,
    Oleksij
    --
    Pengutronix e.K. | |
    Steuerwalder Str. 21 | http://www.pengutronix.de/ |
    31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
    Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |

    \
     
     \ /
      Last update: 2022-03-09 13:20    [W:3.038 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site