net: ethernet: socionext: add AVE ethernet driver
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>
This commit is contained in:
parent
c5a9ef30af
commit
4c270b55a5
@ -170,6 +170,7 @@ source "drivers/net/ethernet/sis/Kconfig"
|
|||||||
source "drivers/net/ethernet/sfc/Kconfig"
|
source "drivers/net/ethernet/sfc/Kconfig"
|
||||||
source "drivers/net/ethernet/sgi/Kconfig"
|
source "drivers/net/ethernet/sgi/Kconfig"
|
||||||
source "drivers/net/ethernet/smsc/Kconfig"
|
source "drivers/net/ethernet/smsc/Kconfig"
|
||||||
|
source "drivers/net/ethernet/socionext/Kconfig"
|
||||||
source "drivers/net/ethernet/stmicro/Kconfig"
|
source "drivers/net/ethernet/stmicro/Kconfig"
|
||||||
source "drivers/net/ethernet/sun/Kconfig"
|
source "drivers/net/ethernet/sun/Kconfig"
|
||||||
source "drivers/net/ethernet/tehuti/Kconfig"
|
source "drivers/net/ethernet/tehuti/Kconfig"
|
||||||
|
@ -82,6 +82,7 @@ obj-$(CONFIG_SFC) += sfc/
|
|||||||
obj-$(CONFIG_SFC_FALCON) += sfc/falcon/
|
obj-$(CONFIG_SFC_FALCON) += sfc/falcon/
|
||||||
obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
|
obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
|
||||||
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
|
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
|
||||||
|
obj-$(CONFIG_NET_VENDOR_SOCIONEXT) += socionext/
|
||||||
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
|
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
|
||||||
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
|
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
|
||||||
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
|
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
|
||||||
|
22
drivers/net/ethernet/socionext/Kconfig
Normal file
22
drivers/net/ethernet/socionext/Kconfig
Normal file
@ -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
drivers/net/ethernet/socionext/Makefile
Normal file
5
drivers/net/ethernet/socionext/Makefile
Normal file
@ -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
|
1736
drivers/net/ethernet/socionext/sni_ave.c
Normal file
1736
drivers/net/ethernet/socionext/sni_ave.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user