-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Kunihiko Hayashi
authored and
David S. Miller
committed
Dec 28, 2017
1 parent
c5a9ef3
commit 4c270b5
Showing
5 changed files
with
1,765 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.