aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/Kconfig
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-06-03 13:49:37 +0800
committerDavid S. Miller <davem@davemloft.net>2014-06-02 23:39:05 -0700
commit57c5bc9ad7d799e9507ba6e993398d2c55f03fab (patch)
tree69cf01ecc7d37eb727edaeb6668983a0ddb04e6c /drivers/net/ethernet/hisilicon/Kconfig
parentDocumentation: add Device tree bindings for Hisilicon hix5hd2 ethernet (diff)
downloadlinux-dev-57c5bc9ad7d799e9507ba6e993398d2c55f03fab.tar.xz
linux-dev-57c5bc9ad7d799e9507ba6e993398d2c55f03fab.zip
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/Kconfig')
-rw-r--r--drivers/net/ethernet/hisilicon/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
new file mode 100644
index 000000000000..e9421731b05e
--- /dev/null
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -0,0 +1,27 @@
+#
+# HISILICON device configuration
+#
+
+config NET_VENDOR_HISILICON
+ bool "Hisilicon devices"
+ default y
+ depends on ARM
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y
+ and read the Ethernet-HOWTO, available from
+ <http://www.tldp.org/docs.html#howto>.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about Hisilicon devices. If you say Y, you will be asked
+ for your specific card in the following questions.
+
+if NET_VENDOR_HISILICON
+
+config HIX5HD2_GMAC
+ tristate "Hisilicon HIX5HD2 Family Network Device Support"
+ select PHYLIB
+ help
+ This selects the hix5hd2 mac family network device.
+
+endif # NET_VENDOR_HISILICON