X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Flinux%2Fmodules%2Fnetdevices.mk;h=47b221c9a70b009e4a7b8fb2206e685e26ccaef7;hb=f630342af2e46fc4851f6d72cfb777fd4d0f2423;hp=62fd949e045c9069ca0db6330d2f7e5b5f6eefc4;hpb=99a42f204b68d7075ae599549fbcf0a4c21e9c5f;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 62fd949e04..47b221c9a7 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -130,22 +130,34 @@ endef $(eval $(call KernelPackage,et131x)) -define KernelPackage/gw16083 - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Gateworks Ventana Ethernet Expansion Mezzanine driver - URL:=http://www.gateworks.com - FILES:=$(LINUX_DIR)/drivers/net/phy/gw16083.ko - KCONFIG:=CONFIG_GATEWORKS_GW16083 - DEPENDS:=@TARGET_imx6 @PCI_SUPPORT +kmod-libphy +kmod-igb - AUTOLOAD:=$(call AutoLoad,36,gw16083) +define KernelPackage/phylib-broadcom + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Broadcom Ethernet PHY library + KCONFIG:=CONFIG_BCM_NET_PHYLIB + HIDDEN:=1 + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko + AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib) endef -define KernelPackage/gw16083/description - This package contains the gw16083 kernel module for supporting the Gateworks - Ventana Ethernet Expansion Mezzanine. +$(eval $(call KernelPackage,phylib-broadcom)) + + +define KernelPackage/phy-broadcom + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Broadcom Ethernet PHY driver + KCONFIG:=CONFIG_BROADCOM_PHY + DEPENDS:=+kmod-libphy +kmod-phylib-broadcom + FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko + AUTOLOAD:=$(call AutoLoad,18,broadcom) endef -$(eval $(call KernelPackage,gw16083)) +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 @@ -163,6 +175,20 @@ endef $(eval $(call KernelPackage,swconfig)) +define KernelPackage/switch-mvsw61xx + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Marvell 88E61xx switch support + DEPENDS:=+kmod-swconfig + KCONFIG:=CONFIG_MVSW61XX_PHY + FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko + AUTOLOAD:=$(call AutoLoad,42,mvsw61xx) +endef + +define KernelPackage/switch-mvsw61xx/description + Marvell 88E61xx switch support +endef + +$(eval $(call KernelPackage,switch-mvsw61xx)) define KernelPackage/switch-ip17xx SUBMENU:=$(NETWORK_DEVICES_MENU) @@ -228,6 +254,22 @@ endef $(eval $(call KernelPackage,switch-rtl8366s)) +define KernelPackage/switch-rtl8367b + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Realtek RTL8367R/B switch support + DEPENDS:=+kmod-switch-rtl8366-smi + KCONFIG:=CONFIG_RTL8367B_PHY + FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko + AUTOLOAD:=$(call AutoLoad,43,rtl8367b) +endef + +define KernelPackage/switch-rtl8367b/description + Realtek RTL8367R/B switch support +endef + +$(eval $(call KernelPackage,switch-rtl8367b)) + + define KernelPackage/natsemi SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=National Semiconductor DP8381x series @@ -320,7 +362,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||PCI_SUPPORT +kmod-lib-crc-ccitt + DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-ccitt KCONFIG:=CONFIG_VIA_VELOCITY FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko AUTOLOAD:=$(call AutoProbe,via-velocity) @@ -420,9 +462,9 @@ 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); \ - ) + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101m_ucode.bin $(1)/lib/firmware/e100/ + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101s_ucode.bin $(1)/lib/firmware/e100/ + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d102e_ucode.bin $(1)/lib/firmware/e100/ endef $(eval $(call KernelPackage,e100)) @@ -465,7 +507,7 @@ $(eval $(call KernelPackage,e1000e)) define KernelPackage/igb SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support - DEPENDS:=@PCI_SUPPORT +kmod-i2c-algo-bit +kmod-ptp + DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp KCONFIG:=CONFIG_IGB \ CONFIG_IGB_HWMON=n \ CONFIG_IGB_DCA=n @@ -763,38 +805,6 @@ endef $(eval $(call KernelPackage,of-mdio)) -define KernelPackage/fsl-pq-mdio - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Freescale PQ MDIO bus support - DEPENDS:=@TARGET_mpc85xx +kmod-of-mdio - KCONFIG:=CONFIG_FSL_PQ_MDIO - FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/fsl_pq_mdio.ko - AUTOLOAD:=$(call AutoLoad,42,fsl_pq_mdio) -endef - -define KernelPackage/fsl-pq-mdio/description - Kernel driver for the Freescale PQ MDIO bus -endef - -$(eval $(call KernelPackage,fsl-pq-mdio)) - - -define KernelPackage/gianfar - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Gianfar Ethernet support - DEPENDS:=@TARGET_mpc85xx +kmod-fsl-pq-mdio - KCONFIG:=CONFIG_GIANFAR - FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_driver.ko - AUTOLOAD:=$(call AutoProbe,gianfar_driver) -endef - -define KernelPackage/gianfar/description - Kernel driver for Freescale Gianfar Ethernet support -endef - -$(eval $(call KernelPackage,gianfar)) - - define KernelPackage/vmxnet3 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=VMware VMXNET3 ethernet driver @@ -811,27 +821,6 @@ endef $(eval $(call KernelPackage,vmxnet3)) -define KernelPackage/stmmac - SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=STMicro 10/100/1000 Ethernet driver - DEPENDS:=+kmod-mii +kmod-ptp - KCONFIG:=CONFIG_NET_VENDOR_STMICRO=y \ - CONFIG_STMMAC_ETH \ - CONFIG_STMMAC_PLATFORM=y \ - CONFIG_STMMAC_DEBUG_FS=y \ - CONFIG_STMMAC_DA=y \ - CONFIG_DWMAC_IPQ806X=y - FILES:=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko - AUTOLOAD:=$(call AutoLoad,50,stmmac.ko) -endef - -define KernelPackage/stmmac/description - Kernel module for STMicroelectronics 10/100/1000 Ethernet driver -endef - -$(eval $(call KernelPackage,stmmac)) - - define KernelPackage/spi-ks8995 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Micrel/Kendin KS8995 Ethernet switch control @@ -847,3 +836,35 @@ define KernelPackage/spi-ks8995/description endef $(eval $(call KernelPackage,spi-ks8995)) + + +define KernelPackage/ethoc + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Opencore.org ethoc driver + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko + KCONFIG:=CONFIG_ETHOC + AUTOLOAD:=$(call AutoProbe,ethoc) +endef + +define KernelPackage/ethoc/description + Kernel module for the Opencores.org ethernet adapter +endef + +$(eval $(call KernelPackage,ethoc)) + + +define KernelPackage/bnx2 + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=BCM5706/5708/5709/5716 ethernet adapter driver + DEPENDS:=@PCI_SUPPORT +bnx2-firmware + FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2.ko + KCONFIG:=CONFIG_BNX2 + AUTOLOAD:=$(call AutoProbe,bnx2) +endef + +define KernelPackage/bnx2/description + Kernel module for the BCM5706/5708/5709/5716 ethernet adapter +endef + +$(eval $(call KernelPackage,bnx2))