Re: [PATCH v4 2/2] net: hisilicon: add hix5hd2 mac driver

2014-06-06 Thread Thierry Reding
On Tue, Jun 03, 2014 at 01:49:37PM +0800, Zhangfei Gao wrote: [...] diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig new file mode 100644 index 000..e942173 --- /dev/null +++ b/drivers/net/ethernet/hisilicon/Kconfig @@ -0,0 +1,27 @@ +# +#

Re: [PATCH v4 2/2] net: hisilicon: add hix5hd2 mac driver

2014-06-06 Thread David Miller
From: Thierry Reding thierry.red...@gmail.com Date: Fri, 6 Jun 2014 10:19:18 +0200 On Tue, Jun 03, 2014 at 01:49:37PM +0800, Zhangfei Gao wrote: [...] diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig new file mode 100644 index 000..e942173

[PATCH v4 2/2] net: hisilicon: add hix5hd2 mac driver

2014-06-02 Thread Zhangfei Gao
Add support for the hix5hd2 XGMAC 1Gb ethernet device. The controller requires two queues for tx and two queues for rx. Controller fetch buffer from free queue and then push to used queue. Diver should prepare free queue and free buffer from used queue. Signed-off-by: Zhangfei Gao