X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/26dc068cf7fed88d0420638dbb7173d7795f1a11..645dc9270397d58964a686d4245d9a99f140d01d:/package/kernel/modules/usb.mk diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index bcc8a9637..842fe1982 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 @LINUX_2_4 + 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)) @@ -223,10 +233,9 @@ define KernelPackage/usb-storage 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))