X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3a6ab6a0e4fcf860fcceb6ce7a39a95c26b13518..03dd7f31977df09b73dd223730c77adbaa6bcf5f:/package/kernel/modules/netdevices.mk diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index d723368ce..909535714 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -10,7 +10,6 @@ NETWORK_DEVICES_MENU:=Network Devices define KernelPackage/libphy SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=PHY library - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_PHYLIB FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,40,libphy) @@ -28,7 +27,7 @@ define KernelPackage/swconfig DEPENDS:=+kmod-libphy KCONFIG:=CONFIG_SWCONFIG FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,41,libphy) + AUTOLOAD:=$(call AutoLoad,41,swconfig) endef define KernelPackage/swconfig/description @@ -321,7 +320,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 +!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32 + DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32 SUBMENU:=$(NETWORK_DEVICES_MENU) AUTOLOAD:=$(call AutoLoad,50,tg3) endef @@ -349,7 +348,7 @@ $(eval $(call KernelPackage,ssb-gige)) define KernelPackage/hfcmulti TITLE:=HFC multiport cards (HFC-4S/8S/E1) KCONFIG:=CONFIG_MISDN_HFCMULTI - DEPENDS:=@LINUX_2_6 +kmod-misdn + DEPENDS:=+kmod-misdn SUBMENU:=$(NETWORK_DEVICES_MENU) FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,31,hfcmulti) @@ -365,7 +364,7 @@ $(eval $(call KernelPackage,hfcmulti)) define KernelPackage/gigaset SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Siemens Gigaset support (isdn) - DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core + DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core URL:=http://gigaset307x.sourceforge.net/ KCONFIG:= \ CONFIG_ISDN_DRV_GIGASET \ @@ -395,7 +394,6 @@ $(eval $(call KernelPackage,gigaset)) define KernelPackage/macvlan SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=MAC-VLAN support - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_MACVLAN FILES:=$(LINUX_DIR)/drivers/net/macvlan.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,macvlan) @@ -407,3 +405,37 @@ define KernelPackage/macvlan/description endef $(eval $(call KernelPackage,macvlan)) + +define KernelPackage/tulip + TITLE:=Tulip family network device support + SUBMENU:=$(NETWORK_DEVICES_MENU) + KCONFIG:= \ + CONFIG_NET_TULIP=y \ + CONFIG_DE2104X \ + CONFIG_DE2104X_DSL=0 \ + CONFIG_TULIP \ + CONFIG_TULIP_MWI=y \ + CONFIG_TULIP_MMIO=y \ + CONFIG_TULIP_NAPI=y \ + CONFIG_TULIP_NAPI_HW_MITIGATION=y \ + CONFIG_DE4X5 \ + CONFIG_WINBOND_840 \ + CONFIG_DM9102 \ + CONFIG_ULI526X + FILES:= \ + $(LINUX_DIR)/drivers/net/tulip/tulip.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/net/tulip/de2104x.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/net/tulip/de4x5.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/net/tulip/dmfe.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/net/tulip/uli526x.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/net/tulip/winbond-840.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,tulip) +endef + +define KernelPackage/tulip/description + Kernel modules for the Tulip family of network cards, + including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840, + Davicom DM910x/DM980x and ULi M526x controller support. +endef + +$(eval $(call KernelPackage,tulip))