summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-06-02 20:01:21 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-06-02 20:01:21 +0000
commitd315659e1e9f13075a70d6552c3312b3ba78ca1e (patch)
tree5e94b5d0719624c020ba4465f63e8b50659bbc2e
parent2b9ac1e0afb9657b10907b0e436ebd1842b83128 (diff)
downloadmtk-20170518-d315659e1e9f13075a70d6552c3312b3ba78ca1e.zip
mtk-20170518-d315659e1e9f13075a70d6552c3312b3ba78ca1e.tar.gz
mtk-20170518-d315659e1e9f13075a70d6552c3312b3ba78ca1e.tar.bz2
kernel: add broadcom phy driver
This adds the Broadcom phy driver. This also loses #19545. Thank you bigtman43 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 45877
-rw-r--r--package/kernel/linux/modules/netdevices.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 9dd18f3..9efac98 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -148,6 +148,23 @@ endef
$(eval $(call KernelPackage,gw16083))
+define KernelPackage/phy-broadcom
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Broadcom Ethernet PHY driver
+ KCONFIG:=CONFIG_BROADCOM_PHY
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
+ AUTOLOAD:=$(call AutoLoad,18,broadcom)
+endef
+
+define KernelPackage/phy-broadcom/description
+ Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
+ BCM5482 and BCM57780 PHYs.
+endef
+
+$(eval $(call KernelPackage,phy-broadcom))
+
+
define KernelPackage/swconfig
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=switch configuration API