enable usb support by default.
authorClaudio Mignanti <c.mignanti@gmail.com>
Sun, 11 Jul 2010 12:27:09 +0000 (12:27 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Sun, 11 Jul 2010 12:27:09 +0000 (12:27 +0000)
SVN-Revision: 22129

target/linux/etrax/config-default
target/linux/etrax/files/drivers/usb/host/hc-crisv10.c
target/linux/etrax/modules.mk [deleted file]
target/linux/etrax/patches-2.6.32/300-usb_support.patch

index d41db6a3e0aad9e63afe6095194c127315c9136b..65cdf10c37bba5516a87c8d408e798169682c48f 100644 (file)
@@ -131,7 +131,9 @@ CONFIG_ETRAX_SERIAL_RX_TIMEOUT_TICKS=5
 CONFIG_ETRAX_SERIAL=y
 # CONFIG_ETRAX_SOFT_SHUTDOWN is not set
 # CONFIG_ETRAX_SYNCHRONOUS_SERIAL is not set
-# CONFIG_ETRAX_USB_HOST is not set
+CONFIG_ETRAX_USB_HOST=y
+CONFIG_ETRAX_USB_HOST_PORT1=y
+CONFIG_ETRAX_USB_HOST_PORT2=y
 # CONFIG_ETRAX_VCS_SIM is not set
 # CONFIG_ETRAX_WATCHDOG is not set
 CONFIG_FORCE_MAX_ZONEORDER=6
@@ -153,6 +155,8 @@ CONFIG_MTDRAM_ABS_POS=0
 CONFIG_MTDRAM_ERASE_SIZE=128
 CONFIG_MTDRAM_TOTAL_SIZE=0
 # CONFIG_NETDEV_1000 is not set
+CONFIG_NLS=y
+CONFIG_NLS_UTF8=y
 CONFIG_NO_IOPORT=y
 # CONFIG_OOM_REBOOT is not set
 CONFIG_PAGEFLAGS_EXTENDED=y
@@ -164,6 +168,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
 # CONFIG_TREE_PREEMPT_RCU is not set
 CONFIG_TREE_RCU=y
 CONFIG_UID16=y
+CONFIG_USB=y
 # CONFIG_USB_ARCH_HAS_EHCI is not set
 # CONFIG_USB_ARCH_HAS_HCD is not set
 # CONFIG_USB_ARCH_HAS_OHCI is not set
index 8100870c1cc60b18e6ec75f31ddc543dcfc60e1a..34e54d9cd72f6bcd5469f17ca9374d05f407c0b2 100644 (file)
@@ -33,7 +33,7 @@
 /***************************************************************************/
 /***************************************************************************/
 
-#define VERSION                        "1.00-openwrt_diff"
+#define VERSION                        "1.00-openwrt_diff-v1"
 #define COPYRIGHT              "(c) 2005, 2006 Axis Communications AB"
 #define DESCRIPTION             "ETRAX 100LX USB Host Controller"
 
diff --git a/target/linux/etrax/modules.mk b/target/linux/etrax/modules.mk
deleted file mode 100644 (file)
index 5aef152..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define KernelPackage/usb-etrax
-  SUBMENU:=$(USB_MENU)
-  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)
-  $(call AddDepends/usb,@TARGET_etrax)
-endef
-
-define KernelPackage/usb-etrax/description
- Kernel support for the ETRAX USB host controller
-endef
-
-$(eval $(call KernelPackage,usb-etrax))
index 0a0f81f98c219f40d4fd7ad282443082be1d4ef8..681bccc90e5ba06149a39a7c64220aa27c42ee74 100644 (file)
  
  obj-$(CONFIG_USB_C67X00_HCD)  += c67x00/
  
---- a/arch/cris/arch-v10/drivers/Kconfig
-+++ b/arch/cris/arch-v10/drivers/Kconfig
-@@ -410,7 +410,7 @@ config ETRAX_RS485_DISABLE_RECEIVER
-         Axis 2400/2401 must disable receiver.
- config ETRAX_USB_HOST
--      bool "USB host"
-+      tristate "ETRAX USB host"
-       select USB
-       help
-          This option enables the host functionality of the ETRAX 100LX