[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <004601cf4511$46c8a970$d459fc50$@samsung.com>
Date: Fri, 21 Mar 2014 07:24:28 -0700
From: Byungho An <bh74.an@...sung.com>
To: 'Mark Rutland' <mark.rutland@....com>
Cc: 'netdev' <netdev@...r.kernel.org>,
linux-samsung-soc@...r.kernel.org, devicetree@...r.kernel.org,
'David Miller' <davem@...emloft.net>,
'GIRISH K S' <ks.giri@...sung.com>,
'SIVAREDDY KALLAM' <siva.kallam@...sung.com>,
'Vipul Chandrakant' <vipul.pandya@...sung.com>,
'Ilho Lee' <ilho215.lee@...sung.com>
Subject: RE: [PATCH V8 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for
Samsung sxgbe
Mark Rutland <mark.rutland@....com> wrote:
> On Thu, Mar 20, 2014 at 05:26:06PM +0000, Byungho An wrote:
> > From: Girish K S <ks.giri@...sung.com>
> >
> > Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet
driver.
> >
> > Signed-off-by: Girish K S <ks.giri@...sung.com>
> > Neatening-by: Joe Perches <joe@...ches.com>
> > Signed-off-by: Byungho An <bh74.an@...sung.com>
> > ---
> > drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++++++
> > drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 86 +++++++++-
> > drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 47 ++++++
> > drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 165
> +++++++++++++++++++-
> > .../net/ethernet/samsung/sxgbe/sxgbe_platform.c | 4 +
> > drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h | 5 +
> > 6 files changed, 358 insertions(+), 2 deletions(-)
>
> [...]
>
> > diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
> > b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
> > index e410d84..b23ec57 100644
> > --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
> > +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
> > @@ -160,6 +160,10 @@ static int sxgbe_platform_probe(struct
> platform_device *pdev)
> > }
> > }
> >
> > + priv->lpi_irq = irq_of_parse_and_map(dev->of_node, loop++);
>
> You can use platform_get_irq(pdev, loop++) here. The interrupts have already
> been parsed elsewhere.
OK.
>
> Cheers,
> Mark.
> --
> 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
--
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