X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/32fc3054509389cbe36e22c1504f930f2c4db5a9..09bef4cd603cd1ee682a431fef01f45644ef5676:/package/kernel/modules/usb.mk diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index fe6e093f5..5c9b08301 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -14,7 +14,7 @@ define KernelPackage/usb-core DEPENDS:=@USB_SUPPORT KCONFIG:=$(CONFIG_USB) SUBMENU:=$(USBMENU) - AUTOLOAD:=$(call AutoLoad,20,usb-core) + AUTOLOAD:=$(call AutoLoad,20,usbcore) endef define KernelPackage/usb-core/2.4 @@ -24,14 +24,13 @@ endef define KernelPackage/usb-core/2.6 FILES:=$(MODULES_DIR)/kernel/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX) endef -$(eval $(call KernelPackage,usbcore)) +$(eval $(call KernelPackage,usb-core)) 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) @@ -87,7 +96,7 @@ $(eval $(call KernelPackage,usb2)) define usbdep SUBMENU:=$(USBMENU) - DEPENDS:=kmod-usb-core usb-controller $(1) + DEPENDS:=kmod-usb-core $(1) endef @@ -114,16 +123,17 @@ define KernelPackage/usb-audio $(call usbdep,+kmod-soundcore) TITLE:=Support for audio devices DESCRIPTION:=Kernel support for USB audio devices - KCONFIG:=$(CONFIG_USB_AUDIO) AUTOLOAD:=$(call AutoLoad,60,audio) endef define KernelPackage/usb-audio/2.4 + KCONFIG:=$(CONFIG_USB_AUDIO) FILES:=$(MODULES_DIR)/kernel/drivers/usb/audio.o endef define KernelPackage/usb-audio/2.6 - FILES:=$(MODULES_DIR)/kernel/drivers/usb/class/audio.ko + KCONFIG:=$(CONFIG_SND_USB_AUDIO) + FILES:=$(MODULES_DIR)/kernel/sound/usb/snd-usb-audio.ko endef $(eval $(call KernelPackage,usb-audio)) @@ -243,4 +253,22 @@ define KernelPackage/usb-speedtouch AUTOLOAD:=$(call AutoLoad,70,usbatm speedtch) endef $(eval $(call KernelPackage,usb-speedtouch)) - + + +define KernelPackage/usb-pwc + $(call usbdep,+kmod-videodev) + TITLE:=Philips WebCam driver + DESCRIPTION:=Kernel modules for supporting Philips WebCam USB devices + KCONFIG:=$(CONFIG_USB_PWC) + AUTOLOAD:=$(call AutoLoad,70,pwc) +endef + +define KernelPackage/usb-pwc/2.4 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/pwc.$(LINUX_KMOD_SUFFIX) +endef + +$(eval $(call KernelPackage,usb-pwc)) + + + +