X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/08d4f675f8cb40df675ab929d73f239b7467ad9a..95316451cb8a4d8c63fb5cc7074912f497815f12:/package/kernel/modules/netdevices.mk diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index a3e99fcfb..1a819ecb4 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -8,6 +8,20 @@ NETWORK_DEVICES_MENU:=Network Devices +define KernelPackage/libphy + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=PHY library + KCONFIG:=CONFIG_PHYLIB + FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,libphy) +endef + +define KernelPackage/libphy/description + PHY library +endef + +$(eval $(call KernelPackage,libphy)) + define KernelPackage/natsemi SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=National Semiconductor DP8381x series @@ -251,7 +265,7 @@ define KernelPackage/tg3 TITLE:=Broadcom Tigon3 Gigabit Ethernet FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX) KCONFIG:=CONFIG_TIGON3 - DEPENDS:=@LINUX_2_6 + DEPENDS:=@LINUX_2_6 +LINUX_2_6_27||LINUX_2_6_28:kmod-libphy SUBMENU:=$(NETWORK_DEVICES_MENU) AUTOLOAD:=$(call AutoLoad,50,tg3) endef @@ -276,3 +290,17 @@ endef $(eval $(call KernelPackage,ssb-gige)) +define KernelPackage/hfcmulti + TITLE:=HFC multiport cards (HFC-4S/8S/E1) + KCONFIG:=CONFIG_MISDN_HFCMULTI + DEPENDS:=+kmod-misdn + SUBMENU:=$(NETWORK_DEVICES_MENU) + FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,31,hfcmulti) +endef + +define KernelPackage/hfcmulti/description + HFC multiport cards (HFC-4S/8S/E1) support +endef + +$(eval $(call KernelPackage,hfcmulti))