aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/allwinner/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-05-30 03:49:20 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-31 17:23:07 -0700
commit492205050d77bcc4f85f6dc0da6b6fdbca1d6ff7 (patch)
treeae37ca508fd6996e3faadeb17fe4bd4f184c0e9f /drivers/net/ethernet/allwinner/Kconfig
parentphy: add reverse MII PHY connection type (diff)
downloadlinux-dev-492205050d77bcc4f85f6dc0da6b6fdbca1d6ff7.tar.xz
linux-dev-492205050d77bcc4f85f6dc0da6b6fdbca1d6ff7.zip
net: Add EMAC ethernet driver found on Allwinner A10 SoC's
The Allwinner A10 has an ethernet controller that seem to be developped internally by them. The exact feature set of this controller is unknown, since there is no public documentation for this IP, and this driver is mostly the one published by Allwinner that has been heavily cleaned up. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Tested-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner/Kconfig')
-rw-r--r--drivers/net/ethernet/allwinner/Kconfig36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/net/ethernet/allwinner/Kconfig b/drivers/net/ethernet/allwinner/Kconfig
new file mode 100644
index 000000000000..66d35324f31e
--- /dev/null
+++ b/drivers/net/ethernet/allwinner/Kconfig
@@ -0,0 +1,36 @@
+#
+# Allwinner device configuration
+#
+
+config NET_VENDOR_ALLWINNER
+ bool "Allwinner devices"
+ default y
+ depends on ARCH_SUNXI
+ ---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 Allwinner cards. If you say Y,
+ you will be asked for your specific card in the following
+ questions.
+
+if NET_VENDOR_ALLWINNER
+
+config SUN4I_EMAC
+ tristate "Allwinner A10 EMAC support"
+ depends on ARCH_SUNXI
+ depends on OF
+ select CRC32
+ select NET_CORE
+ select MII
+ select PHYLIB
+ ---help---
+ Support for Allwinner A10 EMAC ethernet driver.
+
+ To compile this driver as a module, choose M here. The module
+ will be called sun4i-emac.
+
+endif # NET_VENDOR_ALLWINNER