-
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: dwc-xlgmac: Initial driver for DesignWare Enterprise Ethernet
Synopsys provides a new DesignWare Core Enterprise Ethernet MAC IP (DWC-XLGMAC) for Ethernet designs. It is compliant with the IEEE 802.3-2012 specifications, including IEEE 802.3ba and consortium specifications. This patch provides the initial 25G/40G/50G/100G Ethernet driver for Synopsys XLGMAC IP Prototyping Kit. Signed-off-by: Jie Deng <jiedeng@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Jie Deng
authored and
David S. Miller
committed
Mar 9, 2017
1 parent
24d79ce
commit 65e0ace
Showing
12 changed files
with
7,399 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
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,41 @@ | ||
# | ||
# 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 DWC_XLGMAC | ||
tristate "Synopsys DWC Enterprise Ethernet (XLGMAC) driver support" | ||
depends on HAS_IOMEM && HAS_DMA | ||
select BITREVERSE | ||
select CRC32 | ||
---help--- | ||
This driver supports the Synopsys DesignWare Cores Enterprise | ||
Ethernet (dwc-xlgmac). | ||
|
||
if DWC_XLGMAC | ||
|
||
config DWC_XLGMAC_PCI | ||
tristate "XLGMAC PCI bus support" | ||
depends on DWC_XLGMAC && PCI | ||
---help--- | ||
This selects the pci bus support for the dwc-xlgmac driver. | ||
This driver was tested on Synopsys XLGMAC IP Prototyping Kit. | ||
|
||
If you have a controller with this interface, say Y or M here. | ||
If unsure, say N. | ||
|
||
endif # DWC_XLGMAC | ||
|
||
endif # NET_VENDOR_SYNOPSYS |
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,9 @@ | ||
# | ||
# Makefile for the Synopsys network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_DWC_XLGMAC) += dwc-xlgmac.o | ||
dwc-xlgmac-objs := dwc-xlgmac-net.o dwc-xlgmac-desc.o \ | ||
dwc-xlgmac-hw.o dwc-xlgmac-common.o | ||
|
||
dwc-xlgmac-$(CONFIG_DWC_XLGMAC_PCI) += dwc-xlgmac-pci.o |
Oops, something went wrong.