]> git.baikalelectronics.ru Git - kernel.git/commit
net: hisilicon: add hix5hd2 mac driver
authorZhangfei Gao <zhangfei.gao@linaro.org>
Tue, 3 Jun 2014 05:49:37 +0000 (13:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 06:39:05 +0000 (23:39 -0700)
commitd462532584215458153be0976575253f9bba165f
tree69cf01ecc7d37eb727edaeb6668983a0ddb04e6c
parent3833df042abb19c2f598c4e3f1fc3955970bba97
net: hisilicon: add hix5hd2 mac driver

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 <zhangfei.gao@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/hisilicon/Kconfig [new file with mode: 0644]
drivers/net/ethernet/hisilicon/Makefile [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c [new file with mode: 0644]