net: mediatek: add support for Airoha AN8855 ethernet switch
Airoha AN8855 is a 5-port gigabit switch with a 2.5G HSGMII CPU port Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
@@ -32,4 +32,8 @@ config MTK_ETH_SWITCH_MT7988
|
||||
depends on TARGET_MT7988
|
||||
default y
|
||||
|
||||
config MTK_ETH_SWITCH_AN8855
|
||||
bool "Support for Airoha AN8855 ethernet switch"
|
||||
default y if TARGET_MT7981 || TARGET_MT7987
|
||||
|
||||
endif # MEDIATEK_ETH
|
||||
|
@@ -7,3 +7,4 @@ obj-y += mtk_eth.o
|
||||
obj-$(CONFIG_MTK_ETH_SWITCH_MT7530) += mt753x.o mt7530.o
|
||||
obj-$(CONFIG_MTK_ETH_SWITCH_MT7531) += mt753x.o mt7531.o
|
||||
obj-$(CONFIG_MTK_ETH_SWITCH_MT7988) += mt753x.o mt7988.o
|
||||
obj-$(CONFIG_MTK_ETH_SWITCH_AN8855) += an8855.o
|
||||
|
1096
drivers/net/mtk_eth/an8855.c
Normal file
1096
drivers/net/mtk_eth/an8855.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user