forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver
Add new driver for the Ethernet MAC used on the Actions Semi Owl family of SoCs. Currently this has been tested only on the Actions Semi S500 SoC variant. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
- Loading branch information
1 parent
2a822cc
commit 1c4a01e
Showing
6 changed files
with
2,030 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,39 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
config NET_VENDOR_ACTIONS | ||
bool "Actions Semi devices" | ||
default y | ||
depends on ARCH_ACTIONS | ||
help | ||
If you have a network (Ethernet) card belonging to this class, say Y. | ||
|
||
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 Actions Semi devices. If you say Y, you will be | ||
asked for your specific card in the following questions. | ||
|
||
if NET_VENDOR_ACTIONS | ||
|
||
config OWL_EMAC | ||
tristate "Actions Semi Owl Ethernet MAC support" | ||
select PHYLIB | ||
help | ||
This driver supports the Actions Semi Ethernet Media Access | ||
Controller (EMAC) found on the S500 and S900 SoCs. The controller | ||
is compliant with the IEEE 802.3 CSMA/CD standard and supports | ||
both half-duplex and full-duplex operation modes at 10/100 Mb/s. | ||
|
||
config OWL_EMAC_GEN_ADDR_SYS_SN | ||
bool "Enable generating MAC address based on system serial" | ||
depends on OWL_EMAC | ||
select CRYPTO | ||
select CRYPTO_DES | ||
select CRYPTO_ECB | ||
select CRYPTO_SKCIPHER | ||
default n | ||
help | ||
If you say Y here and no MAC address is available, the Actions Semi | ||
Owl EMAC driver will generate the address based on the system serial | ||
number. The fallback is to use a randomly generated MAC address. | ||
|
||
endif # NET_VENDOR_ACTIONS |
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,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# Makefile for the Actions Semi Owl SoCs built-in ethernet macs | ||
# | ||
|
||
obj-$(CONFIG_OWL_EMAC) += owl-emac.o |
Oops, something went wrong.