-
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: sxgbe: add basic framework for Samsung 10Gb ethernet driver
This patch adds support for Samsung 10Gb ethernet driver(sxgbe). - sxgbe core initialization - Tx and Rx support - MDIO support - ISRs for Tx and Rx - ifconfig support to driver Signed-off-by: Siva Reddy Kallam <siva.kallam@samsung.com> Signed-off-by: Vipul Pandya <vipul.pandya@samsung.com> Signed-off-by: Girish K S <ks.giri@samsung.com> Neatening-by: Joe Perches <joe@perches.com> Signed-off-by: Byungho An <bh74.an@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Siva Reddy
authored and
David S. Miller
committed
Mar 26, 2014
1 parent
5221d3e
commit 1edb9ca
Showing
22 changed files
with
5,507 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Samsung Ethernet device configuration | ||
# | ||
|
||
config NET_VENDOR_SAMSUNG | ||
bool "Samsung Ethernet device" | ||
default y | ||
---help--- | ||
This is the driver for the SXGBE 10G Ethernet IP block found on Samsung | ||
platforms. | ||
|
||
if NET_VENDOR_SAMSUNG | ||
|
||
source "drivers/net/ethernet/samsung/sxgbe/Kconfig" | ||
|
||
endif # NET_VENDOR_SAMSUNG |
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,5 @@ | ||
# | ||
# Makefile for the Samsung Ethernet device drivers. | ||
# | ||
|
||
obj-$(CONFIG_SXGBE_ETH) += sxgbe/ |
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 @@ | ||
config SXGBE_ETH | ||
tristate "Samsung 10G/2.5G/1G SXGBE Ethernet driver" | ||
depends on HAS_IOMEM && HAS_DMA | ||
select PHYLIB | ||
select CRC32 | ||
select PTP_1588_CLOCK | ||
---help--- | ||
This is the driver for the SXGBE 10G Ethernet IP block found on Samsung | ||
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,4 @@ | ||
obj-$(CONFIG_SXGBE_ETH) += samsung-sxgbe.o | ||
samsung-sxgbe-objs:= sxgbe_platform.o sxgbe_main.o sxgbe_desc.o \ | ||
sxgbe_dma.o sxgbe_core.o sxgbe_mtl.o sxgbe_mdio.o \ | ||
sxgbe_ethtool.o sxgbe_xpcs.o $(samsung-sxgbe-y) |
Oops, something went wrong.