Skip to content

Commit

Permalink
bcm53xx: add qca8k platform module
Browse files Browse the repository at this point in the history
The Meraki MX65 features two QCA8337 switches. This a commit enables
selecting of the qca8k module for that device under bcm53xx.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
  • Loading branch information
clayface committed Jun 12, 2022
1 parent 19e61ec commit f9cbeec
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions target/linux/bcm53xx/modules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,20 @@ define KernelPackage/i2c-bcm-iproc/description
endef

$(eval $(call KernelPackage,i2c-bcm-iproc))

define KernelPackage/switch-qca8k
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Qualcomm QCA8337 DSA switch driver
FILES:=$(LINUX_DIR)/drivers/net/dsa/qca8k.ko
KCONFIG:=CONFIG_NET_DSA_QCA8K \
CONFIG_NET_DSA_TAG_QCA=y \
CONFIG_REGMAP=y
DEPENDS:=@TARGET_bcm53xx
AUTOLOAD:=$(call AutoLoad,50,qca8k)
endef

define KernelPackage/qca8k/description
Kernel module for Qualcomm QCA8337 DSA driver
endef

$(eval $(call KernelPackage,switch-qca8k))

0 comments on commit f9cbeec

Please sign in to comment.