]> 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)
commit8bf6eddca12c87452a1efdcaff43d9fc20f7b97c
treeff3ba602d42085c33df8f302d72796ea62dcba70
parent23771dc2163cf13778fb4095aa6b986be8e050e8
parentf217f707f844dcf3a9c5d632845c4879810dd311
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>