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)
commit57c5bc9ad7d799e9507ba6e993398d2c55f03fab
tree69cf01ecc7d37eb727edaeb6668983a0ddb04e6c
parentf70e9d88a105db9a8cf4dc4d5675d0a54def70c9
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]