mbox series

[REPOST,net-next,0/2] net: mii clause 37 helpers

Message ID 20200314100916.GE25745@shell.armlinux.org.uk
Headers show
Series net: mii clause 37 helpers | expand

Message

Russell King (Oracle) March 14, 2020, 10:09 a.m. UTC
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.

 include/linux/mii.h | 57 ++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 18 deletions(-)