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)
commit3c04d3570b942059b16e037404dee9f409e24fa8
treeff3ba602d42085c33df8f302d72796ea62dcba70
parent5d0ab06b63fc9c727a7bb72c81321c0114be540b
parenta9f28eba6eaab651e4cec6d936a107b03d61754a
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>