]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-mii-clause-37-helpers'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 00:10:14 +0000 (17:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 00:10:14 +0000 (17:10 -0700)
commit541f4e1f56944a45d26524fbd92d4663a7bd0bbe
treeff3ba602d42085c33df8f302d72796ea62dcba70
parentcd510eeca2a505a160ad4a56c3dd3714b1a2978d
parent03741fdd3c9e1f65a51a833ef626fe3483111eb8
Merge branch 'net-mii-clause-37-helpers'

Russell King says:

====================
net: mii clause 37 helpers

This is a re-post of two patches that are common to two series that
I've sent in recent weeks; I'm re-posting them separately in the hope
that they can be merged.  No changes from either of the previous
postings.

These patches:

1. convert the existing (unused) mii_lpa_to_ethtool_lpa_x() function
   to a linkmode variant.

2. add a helper for clause 37 advertisements, supporting both the
   1000baseX and defacto 2500baseX variants. Note that ethtool does
   not support half duplex for either of these, and we make no effort
   to do so.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>