Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1edb9ca6 authored by Siva Reddy's avatar Siva Reddy Committed by David S. Miller
Browse files

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: default avatarSiva Reddy Kallam <siva.kallam@samsung.com>
Signed-off-by: default avatarVipul Pandya <vipul.pandya@samsung.com>
Signed-off-by: default avatarGirish K S <ks.giri@samsung.com>
Neatening-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarByungho An <bh74.an@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5221d3e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ config S6GMAC
	  To compile this driver as a module, choose M here. The module
	  will be called s6gmac.

source "drivers/net/ethernet/samsung/Kconfig"
source "drivers/net/ethernet/seeq/Kconfig"
source "drivers/net/ethernet/silan/Kconfig"
source "drivers/net/ethernet/sis/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
obj-$(CONFIG_SH_ETH) += renesas/
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
obj-$(CONFIG_S6GMAC) += s6gmac.o
obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/
obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
obj-$(CONFIG_NET_VENDOR_SILAN) += silan/
obj-$(CONFIG_NET_VENDOR_SIS) += sis/
+16 −0
Original line number Diff line number Diff line
#
# 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
+5 −0
Original line number Diff line number Diff line
#
# Makefile for the Samsung Ethernet device drivers.
#

obj-$(CONFIG_SXGBE_ETH) += sxgbe/
+9 −0
Original line number Diff line number Diff line
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.
Loading