-
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.
Tom Lendacky says: ==================== amd-xgbe: AMD 10Gb Ethernet driver The following series implements support for the new AMD 10Gb Ethernet driver (amd-xgbe). It includes the 10Gb Ethernet driver as well as a 10Gb Ethernet PHY driver. This patch series is based on net-next. Changes in V3: - Add OF dependency to the phylib driver configuration ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
18 changed files
with
9,045 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
* AMD 10GbE PHY driver (amd-xgbe-phy) | ||
|
||
Required properties: | ||
- compatible: Should be "amd,xgbe-phy-seattle-v1a" and | ||
"ethernet-phy-ieee802.3-c45" | ||
- reg: Address and length of the register sets for the device | ||
- SerDes Rx/Tx registers | ||
- SerDes integration registers (1/2) | ||
- SerDes integration registers (2/2) | ||
|
||
Example: | ||
xgbe_phy@e1240800 { | ||
compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; | ||
reg = <0 0xe1240800 0 0x00400>, | ||
<0 0xe1250000 0 0x00060>, | ||
<0 0xe1250080 0 0x00004>; | ||
}; |
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,34 @@ | ||
* AMD 10GbE driver (amd-xgbe) | ||
|
||
Required properties: | ||
- compatible: Should be "amd,xgbe-seattle-v1a" | ||
- reg: Address and length of the register sets for the device | ||
- MAC registers | ||
- PCS registers | ||
- interrupt-parent: Should be the phandle for the interrupt controller | ||
that services interrupts for this device | ||
- interrupts: Should contain the amd-xgbe interrupt | ||
- clocks: Should be the DMA clock for the amd-xgbe device (used for | ||
calculating the correct Rx interrupt watchdog timer value on a DMA | ||
channel for coalescing) | ||
- clock-names: Should be the name of the DMA clock, "dma_clk" | ||
- phy-handle: See ethernet.txt file in the same directory | ||
- phy-mode: See ethernet.txt file in the same directory | ||
|
||
Optional properties: | ||
- mac-address: mac address to be assigned to the device. Can be overridden | ||
by UEFI. | ||
|
||
Example: | ||
xgbe@e0700000 { | ||
compatible = "amd,xgbe-seattle-v1a"; | ||
reg = <0 0xe0700000 0 0x80000>, | ||
<0 0xe0780000 0 0x80000>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <0 325 4>; | ||
clocks = <&xgbe_clk>; | ||
clock-names = "dma_clk"; | ||
phy-handle = <&phy>; | ||
phy-mode = "xgmii"; | ||
mac-address = [ 02 a1 a2 a3 a4 a5 ]; | ||
}; |
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,6 @@ | ||
obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o | ||
|
||
amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \ | ||
xgbe-desc.o xgbe-ethtool.o xgbe-mdio.o | ||
|
||
amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o |
Oops, something went wrong.