2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-07-25 15:50:33 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2012 OpenWrt.org
|
|
|
|
|
2013-01-03 02:05:22 +00:00
|
|
|
define KernelPackage/bgmac
|
|
|
|
TITLE:=Broadcom bgmac driver
|
2016-08-22 18:57:09 +00:00
|
|
|
KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
|
2020-02-07 14:42:54 +00:00
|
|
|
DEPENDS:=@TARGET_bcm47xx @!TARGET_bcm47xx_legacy
|
2013-01-03 02:05:22 +00:00
|
|
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
2017-01-04 10:43:59 +00:00
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma.ko \
|
|
|
|
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.ko \
|
|
|
|
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,bgmac-bcma)
|
2013-01-03 02:05:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/bgmac/description
|
|
|
|
Kernel modules for Broadcom bgmac Ethernet adapters.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,bgmac))
|