summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-15 14:47:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-15 14:47:40 +0000
commit4e7c9df1ae14a2af3678d7d7eff177c62a42e716 (patch)
tree607e26590327738f77cccab702f3e3bdc5e70f59
parente5da8a2d739361f86cd19f0c21b3e64788d59abb (diff)
downloadmtk-20170518-4e7c9df1ae14a2af3678d7d7eff177c62a42e716.zip
mtk-20170518-4e7c9df1ae14a2af3678d7d7eff177c62a42e716.tar.gz
mtk-20170518-4e7c9df1ae14a2af3678d7d7eff177c62a42e716.tar.bz2
Build usbnet modules for brcm targets (#1481)
SVN-Revision: 6955
-rw-r--r--package/kernel/modules/usb.mk25
-rw-r--r--target/linux/brcm-2.4/config/default1
-rw-r--r--target/linux/brcm47xx-2.6/config/default2
3 files changed, 20 insertions, 8 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index cffd053..eb97262 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -277,10 +277,17 @@ define KernelPackage/usb-net
DESCRIPTION:=Kernel modules for USB-to-Ethernet convertors
KCONFIG:=$(CONFIG_USB_USBNET)
DEPENDS:=@USB_SUPPORT
- FILES:= \
- $(MODULES_DIR)/kernel/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,60, usbnet)
endef
+
+define KernelPackage/usb-net/2.4
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/usb-net/2.6
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX)
+endef
+
$(eval $(call KernelPackage,usb-net))
define KernelPackage/usb-net-asix
@@ -289,8 +296,16 @@ define KernelPackage/usb-net-asix
DESCRIPTION:=Kernel module for USB-to-Ethernet Asix convertors
DEPENDS:=kmod-usb-net
KCONFIG:=$(CONFIG_USB_NET_AX8817X)
- FILES:= \
- $(MODULES_DIR)/kernel/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call Autoload,61, asix)
endef
+
+define KernelPackage/usb-net-asix/2.4
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/ax8817x.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61,ax8817x)
+endef
+
+define KernelPackage/usb-net-asix/2.6
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61,asix)
+endef
+
$(eval $(call KernelPackage,usb-net-asix))
diff --git a/target/linux/brcm-2.4/config/default b/target/linux/brcm-2.4/config/default
index 876aba9..60355f8 100644
--- a/target/linux/brcm-2.4/config/default
+++ b/target/linux/brcm-2.4/config/default
@@ -346,7 +346,6 @@ CONFIG_USB_STORAGE_SDDR55=y
# CONFIG_USB_TIGL is not set
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
-# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_W9968CF is not set
diff --git a/target/linux/brcm47xx-2.6/config/default b/target/linux/brcm47xx-2.6/config/default
index 40788b2..d5c74d1 100644
--- a/target/linux/brcm47xx-2.6/config/default
+++ b/target/linux/brcm47xx-2.6/config/default
@@ -319,8 +319,6 @@ CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_USBAT is not set
CONFIG_USB_UHCI_HCD=m
-# CONFIG_USB_USBNET is not set
-# CONFIG_USB_USBNET_MII is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIDEO_CX2341X is not set
CONFIG_VIDEO_DEV=m