[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371847405.8936.1.camel@jlt4.sipsolutions.net>
Date: Fri, 21 Jun 2013 22:43:25 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 4/6] alx: separate link speed/duplex fields
On Fri, 2013-06-21 at 13:37 +0100, Ben Hutchings wrote:
> On Fri, 2013-06-21 at 00:14 +0200, Johannes Berg wrote:
> > As suggested by Ben Hutchings, use separate fields to track
> > current link speed and duplex setting.
> >
> > Reported-by: Ben Hutchings <ben@...adent.org.uk>
> > Signed-off-by: Johannes Berg <johannes@...solutions.net>
> > ---
> > drivers/net/ethernet/atheros/alx/ethtool.c | 35 ++------
> > drivers/net/ethernet/atheros/alx/hw.c | 136 ++++++++++++-----------------
> > drivers/net/ethernet/atheros/alx/hw.h | 24 ++++-
> > drivers/net/ethernet/atheros/alx/main.c | 37 ++++----
> > 4 files changed, 106 insertions(+), 126 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/atheros/alx/ethtool.c b/drivers/net/ethernet/atheros/alx/ethtool.c
> > index 50a91d0..2170b61 100644
> > --- a/drivers/net/ethernet/atheros/alx/ethtool.c
> > +++ b/drivers/net/ethernet/atheros/alx/ethtool.c
> > @@ -58,7 +58,8 @@ static int alx_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)
> > SUPPORTED_100baseT_Full |
> > SUPPORTED_Autoneg |
> > SUPPORTED_TP |
> > - SUPPORTED_Pause;
> > + SUPPORTED_Pause |
> > + SUPPORTED_Asym_Pause;
> > if (alx_hw_giga(hw))
> > ecmd->supported |= SUPPORTED_1000baseT_Full;
> >
> [...]
>
> This hunk belongs in patch 6.
Good catch, thanks. I'll resend 4 and 6 (tomorrow or so).
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists