X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c03ed13f88ddea0af500f9b765ff52fb4965c981..62e17b4436b7a4663641dcd957b2fc751e43d42d:/package/kernel/modules/netdevices.mk diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index f4f564a8c..7d6ff5eb8 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -51,20 +51,20 @@ endef $(eval $(call KernelPackage,mvswitch)) -define KernelPackage/switch-ip175c +define KernelPackage/switch-ip17xx SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=IC+ IP175C/IP178C switch support + TITLE:=IC+ IP17XX switch support DEPENDS:=+kmod-swconfig - KCONFIG:=CONFIG_IP175C_PHY - FILES:=$(LINUX_DIR)/drivers/net/phy/ip175c.ko - AUTOLOAD:=$(call AutoLoad,42,ip175c) + KCONFIG:=CONFIG_IP17XX_PHY + FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko + AUTOLOAD:=$(call AutoLoad,42,ip17xx) endef -define KernelPackage/switch-ip175c/description +define KernelPackage/switch-ip17xx/description IC+ IP175C/IP178C switch support endef -$(eval $(call KernelPackage,switch-ip175c)) +$(eval $(call KernelPackage,switch-ip17xx)) define KernelPackage/natsemi SUBMENU:=$(NETWORK_DEVICES_MENU) @@ -158,7 +158,7 @@ $(eval $(call KernelPackage,via-rhine)) define KernelPackage/via-velocity SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support - DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||TARGET_x86 + DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||TARGET_x86 +kmod-crc-ccitt KCONFIG:=CONFIG_VIA_VELOCITY FILES:=$(LINUX_DIR)/drivers/net/via-velocity.ko AUTOLOAD:=$(call AutoLoad,50,via-velocity) @@ -205,10 +205,26 @@ endef $(eval $(call KernelPackage,8139too)) +define KernelPackage/8139cp + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support + DEPENDS:=@TARGET_x86 + KCONFIG:=CONFIG_8139CP + FILES:=$(LINUX_DIR)/drivers/net/8139cp.ko + AUTOLOAD:=$(call AutoLoad,50,8139cp) +endef + +define KernelPackage/8139cp/description + Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters. +endef + +$(eval $(call KernelPackage,8139cp)) + + define KernelPackage/r8169 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support - DEPENDS:=@TARGET_x86 + DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_R8169 \ CONFIG_R8169_NAPI=y \ CONFIG_R8169_VLAN=n @@ -254,6 +270,13 @@ define KernelPackage/e100/description Kernel modules for Intel(R) PRO/100+ Ethernet adapters. endef +define KernelPackage/e100/install + $(INSTALL_DIR) $(1)/lib/firmware/e100 + $(foreach file,d101m_ucode.bin d101s_ucode.bin d102e_ucode.bin, \ + $(TARGET_CROSS)objcopy -Iihex -Obinary $(LINUX_DIR)/firmware/e100/$(file).ihex $(1)/lib/firmware/e100/$(file); \ + ) +endef + $(eval $(call KernelPackage,e100)) @@ -265,7 +288,7 @@ define KernelPackage/e1000 CONFIG_E1000_DISABLE_PACKET_SPLIT=n \ CONFIG_E1000_NAPI=y FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.ko - AUTOLOAD:=$(call AutoLoad,50,e1000) + AUTOLOAD:=$(call AutoLoad,35,e1000) endef define KernelPackage/e1000/description @@ -374,8 +397,26 @@ endef $(eval $(call KernelPackage,ssb-gige)) + +define KernelPackage/hfcpci + TITLE:=HFC PCI cards (single port) support for mISDN + KCONFIG:=CONFIG_MISDN_HFCPCI + DEPENDS:=+kmod-misdn + SUBMENU:=$(NETWORK_DEVICES_MENU) + FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko + AUTOLOAD:=$(call AutoLoad,31,hfcpci) +endef + +define KernelPackage/hfcpci/description + Kernel modules for Cologne AG's HFC pci cards (single port) + using the mISDN V2 stack. +endef + +$(eval $(call KernelPackage,hfcpci)) + + define KernelPackage/hfcmulti - TITLE:=HFC multiport cards (HFC-4S/8S/E1) + TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN KCONFIG:=CONFIG_MISDN_HFCMULTI DEPENDS:=+kmod-misdn SUBMENU:=$(NETWORK_DEVICES_MENU) @@ -384,7 +425,8 @@ define KernelPackage/hfcmulti endef define KernelPackage/hfcmulti/description - HFC multiport cards (HFC-4S/8S/E1) support + Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1) + using the mISDN V2 stack. endef $(eval $(call KernelPackage,hfcmulti)) @@ -392,7 +434,7 @@ $(eval $(call KernelPackage,hfcmulti)) define KernelPackage/gigaset SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Siemens Gigaset support (isdn) + TITLE:=Siemens Gigaset support for isdn4linux DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core URL:=http://gigaset307x.sourceforge.net/ KCONFIG:= \ @@ -468,3 +510,50 @@ define KernelPackage/tulip/description endef $(eval $(call KernelPackage,tulip)) + + +define KernelPackage/solos-pci + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Solos ADSL2+ multiport modem + DEPENDS:=@TARGET_x86 +kmod-atm + KCONFIG:=CONFIG_ATM_SOLOS + FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko + AUTOLOAD:=$(call AutoLoad,50,solos-pci) +endef + +define KernelPackage/solos-pci/description + Kernel module for Traverse Technologies' Solos PCI cards + and Geos ADSL2+ x86 motherboard. +endef + +$(eval $(call KernelPackage,solos-pci)) + +define KernelPackage/dummy + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Dummy network device + KCONFIG:=CONFIG_DUMMY + FILES:=$(LINUX_DIR)/drivers/net/dummy.ko + AUTOLOAD:=$(call AutoLoad,34,dummy) +endef + +define KernelPackage/dummy/description + The dummy network device +endef + +$(eval $(call KernelPackage,dummy)) + +define KernelPackage/ifb + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Intermediate Functional Block support + KCONFIG:= \ + CONFIG_IFB \ + CONFIG_NET_CLS=y + FILES:=$(LINUX_DIR)/drivers/net/ifb.ko + AUTOLOAD:=$(call AutoLoad,34,ifb) +endef + +define KernelPackage/ifb/description + The Intermediate Functional Block +endef + +$(eval $(call KernelPackage,ifb))