X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=package%2Fkernel%2Fmodules%2Fusb.mk;h=86a1858ec64b620325e6af90cbb0e15c9ebace44;hp=c962e340ed12e8ac69e6112db1dffd733be2cd71;hb=6b45def29aec9cacf711b08be85d7a5bca7345b6;hpb=348cb2f61ed561ba5cbcfd0eb861e98dd9cf5a3c diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index c962e340e..86a1858ec 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -128,34 +128,23 @@ endef $(eval $(call KernelPackage,usb-adm5120)) -define KernelPackage/usb-etrax -$(call KernelPackage/usb/Depends,@TARGET_etrax) - TITLE:=Support for the ETRAX USB host controller - KCONFIG:=CONFIG_ETRAX_USB_HOST \ - CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y - FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,hc-crisv10,1) -endef - -define KernelPackage/usb-etrax/description - Kernel support for the ETRAX USB host controller -endef -$(eval $(call KernelPackage,usb-etrax)) - -define KernelPackage/usb-octeon -$(call KernelPackage/usb/Depends,@TARGET_octeon) - TITLE:=Support for the Octeon USB OTG controller - KCONFIG:=CONFIG_USB_DWC_OTG - FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,dwc_otg) +define KernelPackage/usb-isp116x-hcd +$(call KernelPackage/usb/Depends,@TARGET_ppc40x) + TITLE:=Support for the ISP116x USB Host Controller + KCONFIG:= \ + CONFIG_USB_ISP116X_HCD \ + CONFIG_USB_ISP116X_HCD_OF=y \ + CONFIG_USB_ISP116X_HCD_PLATFORM=n + FILES:=$(LINUX_DIR)/drivers/usb/host/isp116x-hcd.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,isp116x-hcd) endef -define KernelPackage/usb-octeon/description - Kernel support for the Octeon USB host controller +define KernelPackage/usb-isp116x-hcd/description + Kernel support for the ISP116X USB Host Controller endef -$(eval $(call KernelPackage,usb-octeon)) +$(eval $(call KernelPackage,usb-isp116x-hcd)) define KernelPackage/usb2 @@ -451,6 +440,24 @@ endef $(eval $(call KernelPackage,usb-serial-visor)) +define KernelPackage/usb-serial-cypress-m8 +$(call KernelPackage/usb-serial/Depends,) + TITLE:=Support for CypressM8 USB-Serial + KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8 + FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,65,cypress_m8) +endef + +define KernelPackage/usb-serial-cypress-m8/description + Kernel support for devices with Cypress M8 USB to Serial chip + (for example, the Delorme Earthmate LT-20 GPS) + Supported microcontrollers in the CY4601 family are: + CY7C63741 CY7C63742 CY7C63743 CY7C64013 +endef + +$(eval $(call KernelPackage,usb-serial-cypress-m8)) + + define KernelPackage/usb-serial-keyspan $(call KernelPackage/usb-serial/Depends,) TITLE:=Support for Keyspan USB-to-Serial devices @@ -511,7 +518,8 @@ $(eval $(call KernelPackage,usb-storage)) define KernelPackage/usb-storage-extras SUBMENU:=$(USB_MENU) TITLE:=Extra drivers for usb-storage - DEPENDS:=@LINUX_2_6 +kmod-usb-storage + DEPENDS:=@LINUX_2_6 \ + +!TARGET_ixp4xx_harddisk||!TARGET_orion_harddisk||!TARGET_x86_olpc:kmod-usb-storage KCONFIG:= \ CONFIG_USB_STORAGE_ALAUDA \ CONFIG_USB_STORAGE_CYPRESS_ATACB \ @@ -672,7 +680,7 @@ $(eval $(call KernelPackage,usb-net-asix)) define KernelPackage/usb-net-hso -$(call KernelPackage/usb-net/Depends,@LINUX_2_6 +!TARGET_rb532||!TARGET_avr32||!TARGET_brcm47xx||!TARGET_s3c24xx||!TARGET_ifxmips||!TARGET_atheros||!TARGET_adm5120||!TARGET_ar7||!TARGET_ppc40x||!TARGET_ixp4xx||!TARGET_rdc:kmod-rfkill) +$(call KernelPackage/usb-net/Depends,@LINUX_2_6 +!TARGET_rb532||!TARGET_avr32||!TARGET_brcm47xx||!TARGET_lantiq||!TARGET_atheros||!TARGET_adm5120||!TARGET_ar7||!TARGET_ppc40x||!TARGET_ixp4xx||!TARGET_rdc:kmod-rfkill) TITLE:=Kernel module for Option USB High Speed Mobile Devices KCONFIG:=CONFIG_USB_HSO FILES:= \ @@ -764,7 +772,7 @@ $(eval $(call KernelPackage,usb-net-cdc-ether)) define KernelPackage/usb-net-rndis $(call KernelPackage/usb-net/Depends,@LINUX_2_6 +kmod-usb-net-cdc-ether) TITLE:=Support for RNDIS connections - KCONFIG:=CONFIG_USB_NET_RNDIS_HOST + KCONFIG:=CONFIG_USB_NET_RNDIS_HOST FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,62,rndis_host) endef @@ -779,7 +787,7 @@ $(eval $(call KernelPackage,usb-net-rndis)) define KernelPackage/usb-hid $(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev +!TARGET_x86:kmod-hid) TITLE:=Support for USB Human Input Devices - KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID + KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko AUTOLOAD:=$(call AutoLoad,70,usbhid) endef