forked from raspberrypi/linux
-
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: add calxeda xgmac ethernet driver
Add support for the XGMAC 10Gb ethernet device in the Calxeda Highbank SOC. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
6 changed files
with
1,953 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
* Calxeda Highbank 10Gb XGMAC Ethernet | ||
|
||
Required properties: | ||
- compatible : Should be "calxeda,hb-xgmac" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain 3 xgmac interrupts. The 1st is main interrupt. | ||
The 2nd is pwr mgt interrupt. The 3rd is low power state interrupt. | ||
|
||
Example: | ||
|
||
ethernet@fff50000 { | ||
compatible = "calxeda,hb-xgmac"; | ||
reg = <0xfff50000 0x1000>; | ||
interrupts = <0 77 4 0 78 4 0 79 4>; | ||
}; |
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,7 @@ | ||
config NET_CALXEDA_XGMAC | ||
tristate "Calxeda 1G/10G XGMAC Ethernet driver" | ||
|
||
select CRC32 | ||
help | ||
This is the driver for the XGMAC Ethernet IP block found on Calxeda | ||
Highbank platforms. |
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 @@ | ||
obj-$(CONFIG_NET_CALXEDA_XGMAC) += xgmac.o |
Oops, something went wrong.