-
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.
Simple LAN device for debug or management purposes. Device supports interrupts for RX and TX(completion). Device does not have DMA ability. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: Tal Zilcer <talz@ezchip.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Noam Camus
authored and
David S. Miller
committed
Jun 23, 2015
1 parent
55dd275
commit 0dd0770
Showing
7 changed files
with
1,038 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 @@ | ||
* EZchip NPS Management Ethernet port driver | ||
|
||
Required properties: | ||
- compatible: Should be "ezchip,nps-mgt-enet" | ||
- reg: Address and length of the register set for the device | ||
- interrupts: Should contain the ENET interrupt | ||
|
||
Examples: | ||
|
||
ethernet@f0003000 { | ||
compatible = "ezchip,nps-mgt-enet"; | ||
reg = <0xf0003000 0x44>; | ||
interrupts = <7>; | ||
mac-address = [ 00 11 22 33 44 55 ]; | ||
}; |
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,26 @@ | ||
# | ||
# EZchip network device configuration | ||
# | ||
|
||
config NET_VENDOR_EZCHIP | ||
bool "EZchip 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 EZchip devices. If you say Y, you will be asked for | ||
your specific device in the following questions. | ||
|
||
if NET_VENDOR_EZCHIP | ||
|
||
config EZCHIP_NPS_MANAGEMENT_ENET | ||
tristate "EZchip NPS management enet support" | ||
depends on OF_IRQ && OF_NET | ||
---help--- | ||
Simple LAN device for debug or management purposes. | ||
Device supports interrupts for RX and TX(completion). | ||
Device does not have DMA ability. | ||
|
||
endif |
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_EZCHIP_NPS_MANAGEMENT_ENET) += nps_enet.o |
Oops, something went wrong.