mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
dwc_eth_qos: Add support for Synopsys DWC Ethernet QoS
This patch adds a platform driver for the new generation of the gigabit ethernet IP from Synopsys. It is developed for version 4.10a of the IP core. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5b8b64843a
commit
077742dac2
3 changed files with 3051 additions and 0 deletions
27
drivers/net/ethernet/synopsys/Kconfig
Normal file
27
drivers/net/ethernet/synopsys/Kconfig
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Synopsys network device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_SYNOPSYS
|
||||
bool "Synopsys devices"
|
||||
default y
|
||||
---help---
|
||||
If you have a network (Ethernet) device 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 Synopsys devices. If you say Y, you will be asked
|
||||
for your specific device in the following questions.
|
||||
|
||||
if NET_VENDOR_SYNOPSYS
|
||||
|
||||
config SYNOPSYS_DWC_ETH_QOS
|
||||
tristate "Sypnopsys DWC Ethernet QOS v4.10a support"
|
||||
select PHYLIB
|
||||
select CRC32
|
||||
select MII
|
||||
depends on OF
|
||||
---help---
|
||||
This driver supports the DWC Ethernet QoS from Synopsys
|
||||
|
||||
endif # NET_VENDOR_SYNOPSYS
|
5
drivers/net/ethernet/synopsys/Makefile
Normal file
5
drivers/net/ethernet/synopsys/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# Makefile for the Synopsys network device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_SYNOPSYS_DWC_ETH_QOS) += dwc_eth_qos.o
|
3019
drivers/net/ethernet/synopsys/dwc_eth_qos.c
Normal file
3019
drivers/net/ethernet/synopsys/dwc_eth_qos.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue