From 5cb9b304ae490ddba3f22ddcc591e96f0c351811 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 28 Dec 2006 00:56:39 +0000 Subject: [PATCH] Add Intel/VIA usb-uhci support (#1098) SVN-Revision: 5913 --- package/kernel/modules/usb.mk | 17 +++++++++++++---- target/linux/brcm-2.4/config | 2 +- 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 -- 2.25.1