[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371810775.19215.30.camel@joe-AO722>
Date: Fri, 21 Jun 2013 03:32:55 -0700
From: Joe Perches <joe@...ches.com>
To: Alexey Brodkin <Alexey.Brodkin@...opsys.com>
Cc: netdev@...r.kernel.org,
Andy Shevchenko <andy.shevchenko@...il.com>,
Francois Romieu <romieu@...zoreil.com>,
Vineet Gupta <Vineet.Gupta1@...opsys.com>,
Mischa Jonker <Mischa.Jonker@...opsys.com>,
Arnd Bergmann <arnd@...db.de>,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <rob.herring@...xeda.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
Florian Fainelli <florian@...nwrt.org>
Subject: Re: [PATCH v7] ethernet/arc/arc_emac - Add new driver
On Fri, 2013-06-21 at 11:20 +0400, Alexey Brodkin wrote:
> Driver for non-standard on-chip ethernet device ARC EMAC 10/100,
> instantiated in some legacy ARC (Synopsys) FPGA Boards such as
> ARCAngel4/ML50x.
Looks fine to me.
One nit you could fix later and a question.
> diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c
[]
> +static int arc_emac_rx(struct net_device *ndev, int budget)
> +{
[]
> + if (net_ratelimit())
> + netdev_err(ndev, "incomplete packed received\n");
s/packed/packet/
> + rxbd->data = (unsigned char *)cpu_to_le32(rx_buff->skb->data);
32 bit only. Should the Kconfig block have some arch_arc dependency
so it can't get compiled for 64 bit systems?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists