• Giuseppe CAVALLARO's avatar
    stmmac: fix ptp init for gmac4 · be9b3174
    Giuseppe CAVALLARO authored
    The gmac 4.x version has not extended descriptors
    (that are available on 3.x instead of).
    While initializing the PTP module, the advanced PTP was
    enabled in case of extended descriptors. This cannot be
    applied for 4.x version where only the hardware capability
    register has to show if the feature is present.
    Patch also adds some extra netdev_(debug/inof) to better
    dump the configuration.
    Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
    Cc: Alexandre TORGUE <alexandre.torgue@st.com>
    Cc: Rayagond Kokatanur <rayagond@vayavyalabs.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    be9b3174
stmmac_main.c 99.1 KB