Skip to content

Commit 490cb41

Browse files
Ryceancurrydavem330
authored andcommitted
net: bcmasp: Add support for ASP2.0 Ethernet controller
Add support for the Broadcom ASP 2.0 Ethernet controller which is first introduced with 72165. This controller features two distinct Ethernet ports that can be independently operated. Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Justin Chen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a29401b commit 490cb41

File tree

8 files changed

+2791
-0
lines changed

8 files changed

+2791
-0
lines changed

drivers/net/ethernet/broadcom/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,15 @@ config BNXT_HWMON
255255
Say Y if you want to expose the thermal sensor data on NetXtreme-C/E
256256
devices, via the hwmon sysfs interface.
257257

258+
config BCMASP
259+
tristate "Broadcom ASP 2.0 Ethernet support"
260+
default ARCH_BRCMSTB
261+
depends on OF
262+
select MII
263+
select PHYLIB
264+
select MDIO_BCM_UNIMAC
265+
help
266+
This configuration enables the Broadcom ASP 2.0 Ethernet controller
267+
driver which is present in Broadcom STB SoCs such as 72165.
268+
258269
endif # NET_VENDOR_BROADCOM

drivers/net/ethernet/broadcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ obj-$(CONFIG_BGMAC_BCMA) += bgmac-bcma.o bgmac-bcma-mdio.o
1717
obj-$(CONFIG_BGMAC_PLATFORM) += bgmac-platform.o
1818
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
1919
obj-$(CONFIG_BNXT) += bnxt/
20+
obj-$(CONFIG_BCMASP) += asp2/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj-$(CONFIG_BCMASP) += bcm-asp.o
2+
bcm-asp-objs := bcmasp.o bcmasp_intf.o bcmasp_ethtool.o

0 commit comments

Comments
 (0)