summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-28 00:56:39 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-28 00:56:39 +0000
commit0e8d9b0298d5d85682f3fb0b927a4244d5c7a3bc (patch)
treee1bf08b1d24e809e0ff8f01028c80c4ca2a067fd
parente1bdcce850872c403681a219bdcf3049704c1aad (diff)
Add Intel/VIA usb-uhci support (#1098)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5913 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/usb.mk17
-rw-r--r--target/linux/brcm-2.4/config2
2 files changed, 14 insertions, 5 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 8abdaa8f86..d2186a4848 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -31,7 +31,6 @@ define KernelPackage/usb-uhci
TITLE:=Support for UHCI controllers
DESCRIPTION:=Kernel support for USB UHCI controllers
DEPENDS:=kmod-usb-core
- PROVIDES:=usb-controller
SUBMENU:=$(USBMENU)
endef
@@ -48,12 +47,24 @@ define KernelPackage/usb-uhci/2.6
endef
$(eval $(call KernelPackage,usb-uhci))
+define KernelPackage/usb-uhci-iv
+ TITLE:=Support for Intel/VIA UHCI controllers
+ DESCRIPTION:=Kernel support for Intel/VIA USB UHCI controllers
+ DEPENDS:=kmod-usb-core
+ SUBMENU:=$(USBMENU)
+endef
+
+define KernelPackage/usb-uhci-iv/2.4
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/host/usb-uhci.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=$(CONFIG_USB_UHCI)
+ AUTOLOAD:=$(call AutoLoad,50,usb-uhci)
+endef
+$(eval $(call KernelPackage,usb-uhci-iv))
define KernelPackage/usb-ohci
TITLE:=Support for OHCI controllers
DESCRIPTION:=Kernel support for USB OHCI controllers
DEPENDS:=kmod-usb-core
- PROVIDES:=usb-controller
SUBMENU:=$(USBMENU)
endef
@@ -70,12 +81,10 @@ define KernelPackage/usb-ohci/2.6
endef
$(eval $(call KernelPackage,usb-ohci))
-
define KernelPackage/usb2
TITLE:=Support for USB2 controllers
DESCRIPTION:=Kernel support for USB2 (EHCI) controllers
DEPENDS:=kmod-usb-core
- PROVIDES:=usb-controller
KCONFIG:=$(CONFIG_USB)
SUBMENU:=$(USBMENU)
FILES:=$(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.$(LINUX_KMOD_SUFFIX)
diff --git a/target/linux/brcm-2.4/config b/target/linux/brcm-2.4/config
index 2a6254b588..8ac37b10aa 100644
--- a/target/linux/brcm-2.4/config
+++ b/target/linux/brcm-2.4/config
@@ -1296,7 +1296,7 @@ CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
-# CONFIG_USB_UHCI is not set
+CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m