Add Intel/VIA usb-uhci support (#1098)
authorFlorian Fainelli <florian@openwrt.org>
Thu, 28 Dec 2006 00:56:39 +0000 (00:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 28 Dec 2006 00:56:39 +0000 (00:56 +0000)
SVN-Revision: 5913

package/kernel/modules/usb.mk
target/linux/brcm-2.4/config

index 8abdaa8f86617391eccf1e071b9de73aa9e95081..d2186a4848d0991b690933a9eb283f1ac579f235 100644 (file)
@@ -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)
index 2a6254b58813093a7afe6a3a1bf8b9908a41202b..8ac37b10aa238a15d437bc5432afa3358c1b6de5 100644 (file)
@@ -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