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
TITLE:=Support for UHCI controllers
DESCRIPTION:=Kernel support for USB UHCI controllers
DEPENDS:=kmod-usb-core
- PROVIDES:=usb-controller
SUBMENU:=$(USBMENU)
endef
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
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)
define usbdep
SUBMENU:=$(USBMENU)
- DEPENDS:=kmod-usb-core usb-controller $(1)
+ DEPENDS:=kmod-usb-core $(1)
endef
$(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))
DESCRIPTION:=Kernel support for USB Mass Storage devices
KCONFIG:=$(CONFIG_USB_STORAGE)
FILES:= \
- $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
- $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) \
$(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
+ DEPENDS:=+kmod-scsi-core
endef
$(eval $(call KernelPackage,usb-storage))
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))
+
+
+
+