From 2e336dac3901169b8ea717c1640b9d462623c8e1 Mon Sep 17 00:00:00 2001 From: Nick Hahn <nick.hahn@posteo.de> Date: Sat, 17 Aug 2019 16:06:51 +0200 Subject: [PATCH] Enable kernel modules for usb network cards It is now possible to use usb network cards with a x86 offloader like a futro, removing the need for a pcie network card --- site.mk | 63 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 50 insertions(+), 13 deletions(-) diff --git a/site.mk b/site.mk index 5b23e0a69..be93c458c 100644 --- a/site.mk +++ b/site.mk @@ -24,22 +24,59 @@ GLUON_SITE_PACKAGES := \ ffs-set-segment \ ffs-watchdog +ADD_DRIVERS_X86 := \ + kmod-8139too \ + kmod-ath \ + kmod-ath9k-common \ + kmod-ath9k-htc \ + kmod-atl2 \ + kmod-brcmfmac \ + kmod-carl9170 \ + kmod-forcedeth \ + kmod-igb \ + kmod-mii \ + kmod-nls-base \ + kmod-r8169 \ + kmod-rt73-usb \ + kmod-rtl8187 \ + kmod-rtl8192cu \ + kmod-sky2 \ + kmod-usb-core \ + kmod-usb-hid \ + kmod-usb-net \ + kmod-usb-net-asix \ + kmod-usb-net-asix \ + kmod-usb-net-asix-ax88179 \ + kmod-usb-net-cdc-eem \ + kmod-usb-net-cdc-ether \ + kmod-usb-net-cdc-mbim \ + kmod-usb-net-cdc-ncm \ + kmod-usb-net-cdc-subset \ + kmod-usb-net-dm9601-ether \ + kmod-usb-net-hso \ + kmod-usb-net-huawei-cdc-ncm \ + kmod-usb-net-ipheth \ + kmod-usb-net-kalmia \ + kmod-usb-net-kaweth \ + kmod-usb-net-mcs7830 \ + kmod-usb-net-pegasus \ + kmod-usb-net-qmi-wwan \ + kmod-usb-net-rndis \ + kmod-usb-net-rtl8152 \ + kmod-usb-net-sierrawireless \ + kmod-usb-net-smsc95xx \ + kmod-usb-ohci-pci \ + kmod-usb2 + # add addition network drivers and usb support only to targes where disk space does not matter. ifeq ($(GLUON_TARGET),x86-generic) GLUON_SITE_PACKAGES += \ - kmod-usb-core \ - kmod-usb-ohci-pci \ - kmod-usb2 \ - kmod-usb-hid \ - kmod-usb-net \ - kmod-usb-net-asix \ - kmod-usb-net-dm9601-ether \ - kmod-sky2 \ - kmod-r8169 \ - kmod-forcedeth \ - kmod-8139too \ - kmod-atl2 \ - kmod-igb + $(ADD_DRIVERS_X86) +endif + +ifeq ($(GLUON_TARGET),x86-64) +GLUON_SITE_PACKAGES += \ + $(ADD_DRIVERS_X86) endif DEFAULT_BUILD_DATE := $(shell date '+%Y-%m-%d') -- GitLab