Skip to content

Commit

Permalink
net: ethernet: socionext: add AVE ethernet driver
Browse files Browse the repository at this point in the history
The UniPhier platform from Socionext provides the AVE ethernet
controller that includes MAC and MDIO bus supporting RGMII/RMII
modes. The controller is named AVE.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kunihiko Hayashi authored and David S. Miller committed Dec 28, 2017
1 parent c5a9ef3 commit 4c270b5
Show file tree
Hide file tree
Showing 5 changed files with 1,765 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ source "drivers/net/ethernet/sis/Kconfig"
source "drivers/net/ethernet/sfc/Kconfig"
source "drivers/net/ethernet/sgi/Kconfig"
source "drivers/net/ethernet/smsc/Kconfig"
source "drivers/net/ethernet/socionext/Kconfig"
source "drivers/net/ethernet/stmicro/Kconfig"
source "drivers/net/ethernet/sun/Kconfig"
source "drivers/net/ethernet/tehuti/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ethernet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ obj-$(CONFIG_SFC) += sfc/
obj-$(CONFIG_SFC_FALCON) += sfc/falcon/
obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
obj-$(CONFIG_NET_VENDOR_SOCIONEXT) += socionext/
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
Expand Down
22 changes: 22 additions & 0 deletions drivers/net/ethernet/socionext/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
config NET_VENDOR_SOCIONEXT
bool "Socionext ethernet drivers"
default y
---help---
Option to select ethernet drivers for Socionext platforms.

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 Socionext devices. If you say Y, you will be asked
for your specific card in the following questions.

if NET_VENDOR_SOCIONEXT

config SNI_AVE
tristate "Socionext AVE ethernet support"
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
select PHYLIB
---help---
Driver for gigabit ethernet MACs, called AVE, in the
Socionext UniPhier family.

endif #NET_VENDOR_SOCIONEXT
5 changes: 5 additions & 0 deletions drivers/net/ethernet/socionext/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for all ethernet ip drivers on Socionext platforms
#
obj-$(CONFIG_SNI_AVE) += sni_ave.o
Loading

0 comments on commit 4c270b5

Please sign in to comment.