From: florian Date: Thu, 28 Dec 2006 00:56:39 +0000 (+0000) Subject: Add Intel/VIA usb-uhci support (#1098) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/0e8d9b0298d5d85682f3fb0b927a4244d5c7a3bc Add Intel/VIA usb-uhci support (#1098) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5913 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 8abdaa8f8..d2186a484 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 2a6254b58..8ac37b10a 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