OSDN Git Service

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)
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>

Trivial merge