From 658cfef9bc33752a05c154d58adba25838bbab1e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 2 Aug 2007 13:53:23 +0000 Subject: [PATCH] Add a zyxel prestige profile for the adm5120eb target, build the hcd driver as a module SVN-Revision: 8317 --- package/kernel/modules/usb.mk | 10 ++++++++++ target/linux/adm5120eb-2.6/config/default | 2 +- .../linux/adm5120eb-2.6/profiles/090-Zyxel.mk | 17 +++++++++++++++++ .../linux/adm5120eb-2.6/profiles/100-Texas.mk | 2 +- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 target/linux/adm5120eb-2.6/profiles/090-Zyxel.mk diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 32a1457248..6d2545a310 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -90,6 +90,16 @@ define KernelPackage/usb-ohci/2.6 endef $(eval $(call KernelPackage,usb-ohci)) +define KernelPackage/usb-adm5120 + $(call usbdep,@LINUX_2_6_ADM5120||@LINUX_2_6_ADM5120EB) + TITLE:=Support for the ADM5120 HCD controller + DESCRIPTION:=Kernel support for the ADM5120 HCD USB controller + KCONFIG:=CONFIG_USB_ADM5120_HCD + FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd) +endef +$(eval $(call KernelPackage,usb-adm5120)) + define KernelPackage/usb2 $(call usbdep,) TITLE:=Support for USB2 controllers diff --git a/target/linux/adm5120eb-2.6/config/default b/target/linux/adm5120eb-2.6/config/default index 9b1daa2c41..05de7eee60 100644 --- a/target/linux/adm5120eb-2.6/config/default +++ b/target/linux/adm5120eb-2.6/config/default @@ -241,7 +241,7 @@ CONFIG_TRAD_SIGNALS=y CONFIG_USB=y # CONFIG_USBPCWATCHDOG is not set # CONFIG_USB_ACM is not set -CONFIG_USB_ADM5120_HCD=y +CONFIG_USB_ADM5120_HCD=m # CONFIG_USB_ATM is not set # CONFIG_USB_CATC is not set # CONFIG_USB_DEVICEFS is not set diff --git a/target/linux/adm5120eb-2.6/profiles/090-Zyxel.mk b/target/linux/adm5120eb-2.6/profiles/090-Zyxel.mk new file mode 100644 index 0000000000..b0741e84be --- /dev/null +++ b/target/linux/adm5120eb-2.6/profiles/090-Zyxel.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Zyxel + NAME:=Zyxel Prestige P-334/335/335-WT (default) + PACKAGES:=kmod-acx kmod-usb-core kmod-usb-adm5120 +endef + +define Profile/Zyxel/Description + Package set compatible with the Zyxel prestige P-334/335/335-WT boards +endef +$(eval $(call Profile,Zyxel)) + diff --git a/target/linux/adm5120eb-2.6/profiles/100-Texas.mk b/target/linux/adm5120eb-2.6/profiles/100-Texas.mk index a9306ca702..727a0c0648 100644 --- a/target/linux/adm5120eb-2.6/profiles/100-Texas.mk +++ b/target/linux/adm5120eb-2.6/profiles/100-Texas.mk @@ -6,7 +6,7 @@ # define Profile/Texas - NAME:=Texas Instruments WiFi (default) + NAME:=Texas Instruments WiFi PACKAGES:=kmod-acx endef -- 2.25.1