diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
commit | 725611a466f2edf12f809d22339b22223af4afe7 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/target/linux/sibyte-2.6 | |
parent | f4dd5a6d7c4ebea48cd6292744cb9def6037de80 (diff) |
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/sibyte-2.6')
-rw-r--r-- | openwrt/target/linux/sibyte-2.6/Makefile | 19 | ||||
-rw-r--r-- | openwrt/target/linux/sibyte-2.6/config | 1311 | ||||
-rw-r--r-- | openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch | 956 | ||||
-rw-r--r-- | openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch | 17 |
4 files changed, 0 insertions, 2303 deletions
diff --git a/openwrt/target/linux/sibyte-2.6/Makefile b/openwrt/target/linux/sibyte-2.6/Makefile deleted file mode 100644 index 5926e6ebc..000000000 --- a/openwrt/target/linux/sibyte-2.6/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include $(TOPDIR)/rules.mk - -LINUX_VERSION:=2.6.16.7 -LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=9682b2bd6e02f3087982d7c3f5ba824e - -include ../rules.mk -include ./config - -include ../generic-$(KERNEL)/modules.mk -include ../kernel.mk - - -$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked - [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE) - [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE) - @$(CP) config $(LINUX_DIR)/.config - touch $@ - diff --git a/openwrt/target/linux/sibyte-2.6/config b/openwrt/target/linux/sibyte-2.6/config deleted file mode 100644 index 3c5587fd7..000000000 --- a/openwrt/target/linux/sibyte-2.6/config +++ /dev/null @@ -1,1311 +0,0 @@ -# -# Automatically generated make config: don't edit -# Linux kernel version: 2.6.16.4 -# Fri Apr 21 16:08:33 2006 -# -CONFIG_MIPS=y - -# -# Machine selection -# -# CONFIG_MIPS_MTX1 is not set -# CONFIG_MIPS_BOSPORUS is not set -# CONFIG_MIPS_PB1000 is not set -# CONFIG_MIPS_PB1100 is not set -# CONFIG_MIPS_PB1500 is not set -# CONFIG_MIPS_PB1550 is not set -# CONFIG_MIPS_PB1200 is not set -# CONFIG_MIPS_DB1000 is not set -# CONFIG_MIPS_DB1100 is not set -# CONFIG_MIPS_DB1500 is not set -# CONFIG_MIPS_DB1550 is not set -# CONFIG_MIPS_DB1200 is not set -# CONFIG_MIPS_MIRAGE is not set -# CONFIG_MIPS_COBALT is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MIPS_EV64120 is not set -# CONFIG_MIPS_EV96100 is not set -# CONFIG_MIPS_IVR is not set -# CONFIG_MIPS_ITE8172 is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_LASAT is not set -# CONFIG_MIPS_ATLAS is not set -# CONFIG_MIPS_MALTA is not set -# CONFIG_MIPS_SEAD is not set -# CONFIG_MIPS_SIM is not set -# CONFIG_MOMENCO_JAGUAR_ATX is not set -# CONFIG_MOMENCO_OCELOT is not set -# CONFIG_MOMENCO_OCELOT_3 is not set -# CONFIG_MOMENCO_OCELOT_C is not set -# CONFIG_MOMENCO_OCELOT_G is not set -# CONFIG_MIPS_XXS1500 is not set -# CONFIG_PNX8550_V2PCI is not set -# CONFIG_PNX8550_JBS is not set -# CONFIG_DDB5074 is not set -# CONFIG_DDB5476 is not set -# CONFIG_DDB5477 is not set -# CONFIG_MACH_VR41XX is not set -# CONFIG_PMC_YOSEMITE is not set -# CONFIG_QEMU is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_BIGSUR is not set -CONFIG_SIBYTE_SWARM=y -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_PTSWARM is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SNI_RM200_PCI is not set -# CONFIG_TOSHIBA_JMR3927 is not set -# CONFIG_TOSHIBA_RBTX4927 is not set -# CONFIG_TOSHIBA_RBTX4938 is not set -CONFIG_SIBYTE_SB1250=y -CONFIG_SIBYTE_SB1xxx_SOC=y -# CONFIG_CPU_SB1_PASS_1 is not set -# CONFIG_CPU_SB1_PASS_2_1250 is not set -# CONFIG_CPU_SB1_PASS_2_2 is not set -CONFIG_CPU_SB1_PASS_4=y -# CONFIG_CPU_SB1_PASS_2_112x is not set -# CONFIG_CPU_SB1_PASS_3 is not set -CONFIG_SIBYTE_HAS_LDT=y -# CONFIG_SIMULATION is not set -# CONFIG_SB1_CEX_ALWAYS_FATAL is not set -# CONFIG_SB1_CERR_STALL is not set -CONFIG_SIBYTE_CFE=y -CONFIG_SIBYTE_CFE_CONSOLE=y -# CONFIG_SIBYTE_BUS_WATCHER is not set -# CONFIG_SIBYTE_SB1250_PROF is not set -# CONFIG_SIBYTE_TBPROF is not set -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_DMA_COHERENT=y -CONFIG_CPU_BIG_ENDIAN=y -# CONFIG_CPU_LITTLE_ENDIAN is not set -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_SWAP_IO_SPACE=y -CONFIG_BOOT_ELF32=y -CONFIG_MIPS_L1_CACHE_SHIFT=5 - -# -# CPU selection -# -# CONFIG_CPU_MIPS32_R1 is not set -# CONFIG_CPU_MIPS32_R2 is not set -# CONFIG_CPU_MIPS64_R1 is not set -# CONFIG_CPU_MIPS64_R2 is not set -# CONFIG_CPU_R3000 is not set -# CONFIG_CPU_TX39XX is not set -# CONFIG_CPU_VR41XX is not set -# CONFIG_CPU_R4300 is not set -# CONFIG_CPU_R4X00 is not set -# CONFIG_CPU_TX49XX is not set -# CONFIG_CPU_R5000 is not set -# CONFIG_CPU_R5432 is not set -# CONFIG_CPU_R6000 is not set -# CONFIG_CPU_NEVADA is not set -# CONFIG_CPU_R8000 is not set -# CONFIG_CPU_R10000 is not set -# CONFIG_CPU_RM7000 is not set -# CONFIG_CPU_RM9000 is not set -CONFIG_CPU_SB1=y -CONFIG_SYS_HAS_CPU_SB1=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y - -# -# Kernel type -# -# CONFIG_32BIT is not set -CONFIG_64BIT=y -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_SIZE_8KB is not set -# CONFIG_PAGE_SIZE_16KB is not set -# CONFIG_PAGE_SIZE_64KB is not set -# CONFIG_SIBYTE_DMA_PAGEOPS is not set -CONFIG_CPU_HAS_PREFETCH=y -# CONFIG_MIPS_MT is not set -CONFIG_CPU_HAS_LLSC=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_GENERIC_IRQ_PROBE=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_SYS_SUPPORTS_HIGHMEM=y -CONFIG_ARCH_FLATMEM_ENABLE=y -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_FLATMEM_MANUAL=y -# CONFIG_DISCONTIGMEM_MANUAL is not set -# CONFIG_SPARSEMEM_MANUAL is not set -CONFIG_FLATMEM=y -CONFIG_FLAT_NODE_MEM_MAP=y -# CONFIG_SPARSEMEM_STATIC is not set -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_PREEMPT_NONE=y -# CONFIG_PREEMPT_VOLUNTARY is not set -# CONFIG_PREEMPT is not set -# CONFIG_PREEMPT_BKL is not set - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_LOCK_KERNEL=y -CONFIG_INIT_ENV_ARG_LIMIT=32 - -# -# General setup -# -CONFIG_LOCALVERSION="" -CONFIG_LOCALVERSION_AUTO=y -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -# CONFIG_AUDIT is not set -# CONFIG_IKCONFIG is not set -CONFIG_CPUSETS=y -CONFIG_INITRAMFS_SOURCE="../root" -CONFIG_INITRAMFS_ROOT_UID=0 -CONFIG_INITRAMFS_ROOT_GID=0 -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_EMBEDDED=y -# CONFIG_KALLSYMS is not set -CONFIG_HOTPLUG=y -CONFIG_PRINTK=y -CONFIG_BUG=y -# CONFIG_ELF_CORE is not set -CONFIG_BASE_FULL=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_SHMEM=y -CONFIG_CC_ALIGN_FUNCTIONS=0 -CONFIG_CC_ALIGN_LABELS=0 -CONFIG_CC_ALIGN_LOOPS=0 -CONFIG_CC_ALIGN_JUMPS=0 -CONFIG_SLAB=y -# CONFIG_TINY_SHMEM is not set -CONFIG_BASE_SMALL=0 -# CONFIG_SLOB is not set -CONFIG_OBSOLETE_INTERMODULE=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SRCVERSION_ALL is not set -# CONFIG_KMOD is not set -CONFIG_STOP_MACHINE=y - -# -# Block layer -# - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -# CONFIG_IOSCHED_DEADLINE is not set -# CONFIG_IOSCHED_CFQ is not set -CONFIG_DEFAULT_AS=y -# CONFIG_DEFAULT_DEADLINE is not set -# CONFIG_DEFAULT_CFQ is not set -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="anticipatory" - -# -# Bus options (PCI, PCMCIA, EISA, ISA, TC) -# -CONFIG_HW_HAS_PCI=y -CONFIG_PCI=y -# CONFIG_PCI_LEGACY_PROC is not set -CONFIG_MMU=y - -# -# PCCARD (PCMCIA/CardBus) support -# -# CONFIG_PCCARD is not set - -# -# PCI Hotplug Support -# -# CONFIG_HOTPLUG_PCI is not set - -# -# Executable file formats -# -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -CONFIG_BUILD_ELF64=y -CONFIG_MIPS32_COMPAT=y -CONFIG_COMPAT=y -CONFIG_MIPS32_O32=y -# CONFIG_MIPS32_N32 is not set -CONFIG_BINFMT_ELF32=y - -# -# Networking -# -CONFIG_NET=y - -# -# Networking options -# -# CONFIG_NETDEBUG is not set -CONFIG_PACKET=y -CONFIG_PACKET_MMAP=y -CONFIG_UNIX=y -CONFIG_XFRM=y -# CONFIG_XFRM_USER is not set -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_ASK_IP_FIB_HASH=y -# CONFIG_IP_FIB_TRIE is not set -CONFIG_IP_FIB_HASH=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_ROUTE_FWMARK=y -CONFIG_IP_ROUTE_MULTIPATH=y -# CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set -# CONFIG_IP_ROUTE_VERBOSE is not set -# CONFIG_IP_PNP is not set -CONFIG_NET_IPIP=m -CONFIG_NET_IPGRE=m -# CONFIG_NET_IPGRE_BROADCAST is not set -CONFIG_IPSEC_NAT_TRAVERSAL=y -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_SYN_COOKIES is not set -# CONFIG_INET_AH is not set -# CONFIG_INET_ESP is not set -# CONFIG_INET_IPCOMP is not set -CONFIG_INET_TUNNEL=m -CONFIG_INET_DIAG=m -CONFIG_INET_TCP_DIAG=m -CONFIG_TCP_CONG_ADVANCED=y - -# -# TCP congestion control -# -CONFIG_TCP_CONG_BIC=m -CONFIG_TCP_CONG_CUBIC=m -CONFIG_TCP_CONG_WESTWOOD=m -CONFIG_TCP_CONG_HTCP=m -CONFIG_TCP_CONG_HSTCP=m -CONFIG_TCP_CONG_HYBLA=m -CONFIG_TCP_CONG_VEGAS=y -CONFIG_TCP_CONG_SCALABLE=m - -# -# IP: Virtual Server Configuration -# -# CONFIG_IP_VS is not set -CONFIG_IPV6=m -# CONFIG_IPV6_PRIVACY is not set -# CONFIG_INET6_AH is not set -# CONFIG_INET6_ESP is not set -# CONFIG_INET6_IPCOMP is not set -# CONFIG_INET6_TUNNEL is not set -# CONFIG_IPV6_TUNNEL is not set -CONFIG_NETFILTER=y -# CONFIG_NETFILTER_DEBUG is not set -# CONFIG_BRIDGE_NETFILTER is not set - -# -# Core Netfilter Configuration -# -# CONFIG_NETFILTER_NETLINK is not set -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m -CONFIG_NETFILTER_XT_TARGET_CONNMARK=m -CONFIG_NETFILTER_XT_TARGET_MARK=m -# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set -# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set -# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set -CONFIG_NETFILTER_XT_MATCH_CONNMARK=m -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -# CONFIG_NETFILTER_XT_MATCH_DCCP is not set -CONFIG_NETFILTER_XT_MATCH_HELPER=m -CONFIG_NETFILTER_XT_MATCH_LENGTH=m -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set -# CONFIG_NETFILTER_XT_MATCH_REALM is not set -# CONFIG_NETFILTER_XT_MATCH_SCTP is not set -CONFIG_NETFILTER_XT_MATCH_STATE=y -# CONFIG_NETFILTER_XT_MATCH_STRING is not set -CONFIG_NETFILTER_XT_MATCH_TCPMSS=y - -# -# IP: Netfilter Configuration -# -CONFIG_IP_NF_CONNTRACK=y -CONFIG_IP_NF_CT_ACCT=y -CONFIG_IP_NF_CONNTRACK_MARK=y -# CONFIG_IP_NF_CONNTRACK_EVENTS is not set -# CONFIG_IP_NF_CT_PROTO_SCTP is not set -CONFIG_IP_NF_FTP=y -CONFIG_IP_NF_IRC=y -# CONFIG_IP_NF_NETBIOS_NS is not set -CONFIG_IP_NF_TFTP=m -CONFIG_IP_NF_AMANDA=m -CONFIG_IP_NF_PPTP=m -CONFIG_IP_NF_SIP=m -CONFIG_IP_NF_QUEUE=m -CONFIG_IP_NF_IPTABLES=y -CONFIG_IP_NF_MATCH_IPRANGE=m -CONFIG_IP_NF_MATCH_LAYER7=m -# CONFIG_IP_NF_MATCH_LAYER7_DEBUG is not set -CONFIG_IP_NF_MATCH_MULTIPORT=m -CONFIG_IP_NF_MATCH_IPP2P=m -CONFIG_IP_NF_MATCH_TOS=m -CONFIG_IP_NF_MATCH_TIME=m -CONFIG_IP_NF_MATCH_RECENT=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_DSCP=m -CONFIG_IP_NF_MATCH_AH_ESP=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_MATCH_OWNER=m -# CONFIG_IP_NF_MATCH_ADDRTYPE is not set -# CONFIG_IP_NF_MATCH_HASHLIMIT is not set -# CONFIG_IP_NF_MATCH_POLICY is not set -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_IMQ=m -# CONFIG_IP_NF_TARGET_LOG is not set -CONFIG_IP_NF_TARGET_ULOG=m -CONFIG_IP_NF_TARGET_TCPMSS=y -CONFIG_IP_NF_NAT=y -CONFIG_IP_NF_NAT_NEEDED=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_REDIRECT=y -# CONFIG_IP_NF_TARGET_NETMAP is not set -# CONFIG_IP_NF_TARGET_SAME is not set -# CONFIG_IP_NF_NAT_SNMP_BASIC is not set -CONFIG_IP_NF_NAT_IRC=y -CONFIG_IP_NF_NAT_FTP=y -CONFIG_IP_NF_NAT_TFTP=m -CONFIG_IP_NF_NAT_AMANDA=m -CONFIG_IP_NF_NAT_PPTP=m -CONFIG_IP_NF_NAT_SIP=m -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_TOS=m -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_DSCP=m -CONFIG_IP_NF_TARGET_TTL=m -# CONFIG_IP_NF_TARGET_CLUSTERIP is not set -# CONFIG_IP_NF_RAW is not set -# CONFIG_IP_NF_ARPTABLES is not set -CONFIG_IP_NF_SET=m -CONFIG_IP_NF_SET_MAX=256 -CONFIG_IP_NF_SET_HASHSIZE=1024 -CONFIG_IP_NF_SET_IPMAP=m -CONFIG_IP_NF_SET_MACIPMAP=m -CONFIG_IP_NF_SET_PORTMAP=m -CONFIG_IP_NF_SET_IPHASH=m -CONFIG_IP_NF_SET_NETHASH=m -CONFIG_IP_NF_SET_IPTREE=m -CONFIG_IP_NF_MATCH_SET=m -CONFIG_IP_NF_TARGET_SET=m - -# -# IPv6: Netfilter Configuration (EXPERIMENTAL) -# -CONFIG_IP6_NF_QUEUE=m -CONFIG_IP6_NF_IPTABLES=m -# CONFIG_IP6_NF_MATCH_RT is not set -# CONFIG_IP6_NF_MATCH_OPTS is not set -# CONFIG_IP6_NF_MATCH_FRAG is not set -# CONFIG_IP6_NF_MATCH_HL is not set -CONFIG_IP6_NF_MATCH_MULTIPORT=m -CONFIG_IP6_NF_MATCH_OWNER=m -# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set -# CONFIG_IP6_NF_MATCH_AHESP is not set -CONFIG_IP6_NF_MATCH_EUI64=m -# CONFIG_IP6_NF_MATCH_POLICY is not set -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_TARGET_IMQ=m -# CONFIG_IP6_NF_TARGET_LOG is not set -CONFIG_IP6_NF_TARGET_REJECT=m -CONFIG_IP6_NF_MANGLE=m -# CONFIG_IP6_NF_TARGET_HL is not set -# CONFIG_IP6_NF_RAW is not set - -# -# Bridge: Netfilter Configuration -# -CONFIG_BRIDGE_NF_EBTABLES=m -CONFIG_BRIDGE_EBT_BROUTE=m -CONFIG_BRIDGE_EBT_T_FILTER=m -CONFIG_BRIDGE_EBT_T_NAT=m -CONFIG_BRIDGE_EBT_802_3=m -CONFIG_BRIDGE_EBT_AMONG=m -CONFIG_BRIDGE_EBT_ARP=m -CONFIG_BRIDGE_EBT_IP=m -CONFIG_BRIDGE_EBT_LIMIT=m -CONFIG_BRIDGE_EBT_MARK=m -CONFIG_BRIDGE_EBT_PKTTYPE=m -CONFIG_BRIDGE_EBT_STP=m -CONFIG_BRIDGE_EBT_VLAN=m -CONFIG_BRIDGE_EBT_ARPREPLY=m -CONFIG_BRIDGE_EBT_DNAT=m -CONFIG_BRIDGE_EBT_MARK_T=m -CONFIG_BRIDGE_EBT_REDIRECT=m -CONFIG_BRIDGE_EBT_SNAT=m -CONFIG_BRIDGE_EBT_LOG=m -CONFIG_BRIDGE_EBT_ULOG=m - -# -# DCCP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_DCCP is not set - -# -# SCTP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_SCTP is not set - -# -# TIPC Configuration (EXPERIMENTAL) -# -# CONFIG_TIPC is not set -CONFIG_ATM=m -CONFIG_ATM_CLIP=m -CONFIG_ATM_CLIP_NO_ICMP=y -CONFIG_ATM_LANE=m -CONFIG_ATM_MPOA=m -CONFIG_ATM_BR2684=m -CONFIG_ATM_BR2684_IPFILTER=y -CONFIG_BRIDGE=y -CONFIG_VLAN_8021Q=y -# CONFIG_DECNET is not set -# CONFIG_LLC2 is not set -# CONFIG_IPX is not set -# CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set - -# -# QoS and/or fair queueing -# -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_CLK_JIFFIES=y -# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set -# CONFIG_NET_SCH_CLK_CPU is not set - -# -# Queueing/Scheduling -# -CONFIG_NET_SCH_CBQ=m -CONFIG_NET_SCH_HTB=m -CONFIG_NET_SCH_HFSC=m -CONFIG_NET_SCH_ATM=m -CONFIG_NET_SCH_PRIO=m -CONFIG_NET_SCH_RED=m -CONFIG_NET_SCH_SFQ=m -CONFIG_NET_SCH_ESFQ=m -CONFIG_NET_SCH_TEQL=m -CONFIG_NET_SCH_TBF=m -CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_DSMARK=m -# CONFIG_NET_SCH_NETEM is not set -CONFIG_NET_SCH_INGRESS=m - -# -# Classification -# -CONFIG_NET_CLS=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_TCINDEX=m -CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_ROUTE=y -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_U32=m -# CONFIG_CLS_U32_PERF is not set -# CONFIG_CLS_U32_MARK is not set -CONFIG_NET_CLS_RSVP=m -CONFIG_NET_CLS_RSVP6=m -# CONFIG_NET_EMATCH is not set -# CONFIG_NET_CLS_ACT is not set -CONFIG_NET_CLS_POLICE=y -# CONFIG_NET_CLS_IND is not set -CONFIG_NET_ESTIMATOR=y - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -CONFIG_HAMRADIO=y - -# -# Packet Radio protocols -# -CONFIG_AX25=m -# CONFIG_AX25_DAMA_SLAVE is not set -# CONFIG_NETROM is not set -# CONFIG_ROSE is not set - -# -# AX.25 network device drivers -# -CONFIG_MKISS=m -# CONFIG_6PACK is not set -# CONFIG_BPQETHER is not set -# CONFIG_BAYCOM_SER_FDX is not set -# CONFIG_BAYCOM_SER_HDX is not set -# CONFIG_YAM is not set -# CONFIG_IRDA is not set -# CONFIG_BT is not set -CONFIG_IEEE80211=m -# CONFIG_IEEE80211_DEBUG is not set -CONFIG_IEEE80211_CRYPT_WEP=m -CONFIG_IEEE80211_CRYPT_CCMP=m -CONFIG_IEEE80211_CRYPT_TKIP=m - -# -# Device Drivers -# - -# -# Generic Driver Options -# -CONFIG_STANDALONE=y -CONFIG_PREVENT_FIRMWARE_BUILD=y -CONFIG_FW_LOADER=m - -# -# Connector - unified userspace <-> kernelspace linker -# -CONFIG_CONNECTOR=m - -# -# Memory Technology Devices (MTD) -# -CONFIG_MTD=y -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_CONCAT is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_CMDLINE_PARTS is not set - -# -# User Modules And Translation Layers -# -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set -# CONFIG_RFD_FTL is not set - -# -# RAM/ROM/Flash chip drivers -# -CONFIG_MTD_CFI=y -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_AMDSTD_RETRY=0 -# CONFIG_MTD_CFI_STAA is not set -CONFIG_MTD_CFI_UTIL=y -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set -# CONFIG_MTD_OBSOLETE_CHIPS is not set - -# -# Mapping drivers for chip access -# -CONFIG_MTD_COMPLEX_MAPPINGS=y -# CONFIG_MTD_PHYSMAP is not set -# CONFIG_MTD_PCI is not set -# CONFIG_MTD_PLATRAM is not set - -# -# Self-contained MTD device drivers -# -# CONFIG_MTD_PMC551 is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_BLKMTD is not set -# CONFIG_MTD_BLOCK2MTD is not set - -# -# Disk-On-Chip Device Drivers -# -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set - -# -# NAND Flash Device Drivers -# -# CONFIG_MTD_NAND is not set - -# -# OneNAND Flash Device Drivers -# -# CONFIG_MTD_ONENAND is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Plug and Play support -# - -# -# Block devices -# -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -# CONFIG_BLK_DEV_COW_COMMON is not set -CONFIG_BLK_DEV_LOOP=m -CONFIG_BLK_DEV_CRYPTOLOOP=m -CONFIG_BLK_DEV_NBD=m -# CONFIG_BLK_DEV_SX8 is not set -# CONFIG_BLK_DEV_RAM is not set -CONFIG_BLK_DEV_RAM_COUNT=16 -# CONFIG_CDROM_PKTCDVD is not set -# CONFIG_ATA_OVER_ETH is not set - -# -# ATA/ATAPI/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI device support -# -# CONFIG_RAID_ATTRS is not set -# CONFIG_SCSI is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# Fusion MPT device support -# -# CONFIG_FUSION is not set - -# -# IEEE 1394 (FireWire) support -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -# CONFIG_I2O is not set - -# -# Network device support -# -CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set -# CONFIG_BONDING is not set -# CONFIG_EQUALIZER is not set -CONFIG_IMQ=m -# CONFIG_IMQ_BEHAVIOR_AA is not set -# CONFIG_IMQ_BEHAVIOR_AB is not set -CONFIG_IMQ_BEHAVIOR_BA=y -# CONFIG_IMQ_BEHAVIOR_BB is not set -CONFIG_IMQ_NUM_DEVS=2 -CONFIG_TUN=m - -# -# ARCnet devices -# -# CONFIG_ARCNET is not set - -# -# PHY device support -# -# CONFIG_PHYLIB is not set - -# -# Ethernet (10 or 100Mbit) -# -CONFIG_NET_ETHERNET=y -CONFIG_MII=y -CONFIG_NET_SB1250_MAC=y -# CONFIG_HAPPYMEAL is not set -# CONFIG_SUNGEM is not set -# CONFIG_CASSINI is not set -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_DM9000 is not set - -# -# Tulip family network device support -# -# CONFIG_NET_TULIP is not set -# CONFIG_HP100 is not set -# CONFIG_NET_PCI is not set - -# -# Ethernet (1000 Mbit) -# -# CONFIG_ACENIC is not set -# CONFIG_DL2K is not set -# CONFIG_E1000 is not set -# CONFIG_NS83820 is not set -# CONFIG_HAMACHI is not set -# CONFIG_YELLOWFIN is not set -# CONFIG_R8169 is not set -# CONFIG_SIS190 is not set -# CONFIG_SKGE is not set -# CONFIG_SKY2 is not set -# CONFIG_SK98LIN is not set -# CONFIG_TIGON3 is not set -# CONFIG_BNX2 is not set - -# -# Ethernet (10000 Mbit) -# -# CONFIG_CHELSIO_T1 is not set -# CONFIG_IXGB is not set -# CONFIG_S2IO is not set - -# -# Token Ring devices -# -# CONFIG_TR is not set - -# -# Wireless LAN (non-hamradio) -# -CONFIG_NET_RADIO=y - -# -# Obsolete Wireless cards support (pre-802.11) -# -# CONFIG_STRIP is not set - -# -# Wireless 802.11b ISA/PCI cards support -# -# CONFIG_IPW2100 is not set -# CONFIG_IPW2200 is not set -# CONFIG_HERMES is not set -# CONFIG_ATMEL is not set - -# -# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support -# -# CONFIG_PRISM54 is not set -CONFIG_HOSTAP=m -CONFIG_HOSTAP_FIRMWARE=y -CONFIG_HOSTAP_FIRMWARE_NVRAM=y -# CONFIG_HOSTAP_PLX is not set -# CONFIG_HOSTAP_PCI is not set -CONFIG_NET_WIRELESS=y - -# -# Wan interfaces -# -# CONFIG_WAN is not set - -# -# ATM drivers -# -CONFIG_ATM_DUMMY=m -CONFIG_ATM_TCP=m -# CONFIG_ATM_LANAI is not set -# CONFIG_ATM_ENI is not set -# CONFIG_ATM_FIRESTREAM is not set -# CONFIG_ATM_ZATM is not set -# CONFIG_ATM_IDT77252 is not set -# CONFIG_ATM_AMBASSADOR is not set -# CONFIG_ATM_HORIZON is not set -# CONFIG_ATM_FORE200E_MAYBE is not set -# CONFIG_ATM_HE is not set -# CONFIG_FDDI is not set -# CONFIG_HIPPI is not set -CONFIG_PPP=m -# CONFIG_PPP_MULTILINK is not set -CONFIG_PPP_FILTER=y -CONFIG_PPP_ASYNC=m -# CONFIG_PPP_SYNC_TTY is not set -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_MPPE=m -CONFIG_PPPOE=m -CONFIG_PPPOATM=m -# CONFIG_SLIP is not set -# CONFIG_SHAPER is not set -# CONFIG_NETCONSOLE is not set -# CONFIG_NETPOLL is not set -# CONFIG_NET_POLL_CONTROLLER is not set - -# -# ISDN subsystem -# -# CONFIG_ISDN is not set - -# -# Telephony Support -# -# CONFIG_PHONE is not set - -# -# Input device support -# -CONFIG_INPUT=m - -# -# Userland interfaces -# -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_TSDEV is not set -CONFIG_INPUT_EVDEV=m -# CONFIG_INPUT_EVBUG is not set - -# -# Input Device Drivers -# -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TOUCHSCREEN is not set -# CONFIG_INPUT_MISC is not set - -# -# Hardware I/O ports -# -# CONFIG_SERIO is not set -# CONFIG_GAMEPORT is not set - -# -# Character devices -# -# CONFIG_VT is not set -CONFIG_SERIAL_NONSTANDARD=y -# CONFIG_COMPUTONE is not set -# CONFIG_ROCKETPORT is not set -# CONFIG_CYCLADES is not set -# CONFIG_DIGIEPCA is not set -# CONFIG_MOXA_INTELLIO is not set -# CONFIG_MOXA_SMARTIO is not set -# CONFIG_ISI is not set -# CONFIG_SYNCLINKMP is not set -# CONFIG_SYNCLINK_GT is not set -# CONFIG_N_HDLC is not set -# CONFIG_SPECIALIX is not set -# CONFIG_SX is not set -# CONFIG_STALDRV is not set -CONFIG_SIBYTE_SB1250_DUART=y -CONFIG_SIBYTE_SB1250_DUART_CONSOLE=y -# CONFIG_AU1000_UART is not set - -# -# Serial drivers -# -# CONFIG_SERIAL_8250 is not set - -# -# Non-8250 serial port support -# -# CONFIG_SERIAL_JSM is not set -CONFIG_UNIX98_PTYS=y -# CONFIG_LEGACY_PTYS is not set - -# -# IPMI -# -# CONFIG_IPMI_HANDLER is not set - -# -# Watchdog Cards -# -# CONFIG_WATCHDOG is not set -# CONFIG_RTC is not set -# CONFIG_GEN_RTC is not set -# CONFIG_DTLK is not set -# CONFIG_R3964 is not set -# CONFIG_APPLICOM is not set - -# -# Ftape, the floppy tape device driver -# -# CONFIG_DRM is not set -# CONFIG_RAW_DRIVER is not set - -# -# TPM devices -# -# CONFIG_TCG_TPM is not set -# CONFIG_TELCLOCK is not set - -# -# I2C support -# -# CONFIG_I2C is not set - -# -# SPI support -# -# CONFIG_SPI is not set -# CONFIG_SPI_MASTER is not set - -# -# Dallas's 1-wire bus -# -# CONFIG_W1 is not set - -# -# Hardware Monitoring support -# -# CONFIG_HWMON is not set -# CONFIG_HWMON_VID is not set - -# -# Misc devices -# - -# -# Multimedia Capabilities Port drivers -# - -# -# Multimedia devices -# -# CONFIG_VIDEO_DEV is not set - -# -# Digital Video Broadcasting Devices -# -# CONFIG_DVB is not set - -# -# Graphics support -# -# CONFIG_FB is not set - -# -# Sound -# -# CONFIG_SOUND is not set - -# -# USB support -# -CONFIG_USB_ARCH_HAS_HCD=y -CONFIG_USB_ARCH_HAS_OHCI=y -# CONFIG_USB is not set - -# -# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' -# - -# -# USB Gadget Support -# -# CONFIG_USB_GADGET is not set - -# -# MMC/SD Card support -# -# CONFIG_MMC is not set - -# -# InfiniBand support -# -# CONFIG_INFINIBAND is not set - -# -# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) -# - -# -# File systems -# -CONFIG_EXT2_FS=m -# CONFIG_EXT2_FS_XATTR is not set -# CONFIG_EXT2_FS_XIP is not set -CONFIG_EXT3_FS=m -# CONFIG_EXT3_FS_XATTR is not set -CONFIG_JBD=m -# CONFIG_JBD_DEBUG is not set -CONFIG_REISERFS_FS=m -# CONFIG_REISERFS_CHECK is not set -# CONFIG_REISERFS_PROC_INFO is not set -# CONFIG_REISERFS_FS_XATTR is not set -CONFIG_JFS_FS=m -# CONFIG_JFS_POSIX_ACL is not set -# CONFIG_JFS_SECURITY is not set -# CONFIG_JFS_DEBUG is not set -# CONFIG_JFS_STATISTICS is not set -# CONFIG_FS_POSIX_ACL is not set -CONFIG_XFS_FS=m -# CONFIG_XFS_QUOTA is not set -# CONFIG_XFS_SECURITY is not set -# CONFIG_XFS_POSIX_ACL is not set -# CONFIG_XFS_RT is not set -# CONFIG_OCFS2_FS is not set -CONFIG_MINIX_FS=m -# CONFIG_ROMFS_FS is not set -CONFIG_INOTIFY=y -# CONFIG_QUOTA is not set -# CONFIG_DNOTIFY is not set -# CONFIG_AUTOFS_FS is not set -# CONFIG_AUTOFS4_FS is not set -# CONFIG_FUSE_FS is not set - -# -# CD-ROM/DVD Filesystems -# -# CONFIG_ISO9660_FS is not set -# CONFIG_UDF_FS is not set - -# -# DOS/FAT/NT Filesystems -# -CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set -CONFIG_VFAT_FS=m -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" -# CONFIG_NTFS_FS is not set - -# -# Pseudo filesystems -# -CONFIG_PROC_FS=y -# CONFIG_PROC_KCORE is not set -CONFIG_DEVFS_FS=y -CONFIG_DEVFS_MOUNT=y -# CONFIG_DEVFS_DEBUG is not set -CONFIG_SYSFS=y -CONFIG_TMPFS=y -# CONFIG_HUGETLB_PAGE is not set -CONFIG_RAMFS=y -# CONFIG_RELAYFS_FS is not set -# CONFIG_CONFIGFS_FS is not set - -# -# Miscellaneous filesystems -# -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set -# CONFIG_JFFS_FS is not set -CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_JFFS2_FS_WRITEBUFFER=y -# CONFIG_JFFS2_SUMMARY is not set -CONFIG_JFFS2_COMPRESSION_OPTIONS=y -CONFIG_JFFS2_ZLIB=y -CONFIG_JFFS2_RTIME=y -# CONFIG_JFFS2_RUBIN is not set -# CONFIG_JFFS2_CMODE_NONE is not set -CONFIG_JFFS2_CMODE_PRIORITY=y -# CONFIG_JFFS2_CMODE_SIZE is not set -# CONFIG_CRAMFS is not set -CONFIG_SQUASHFS=y -# CONFIG_SQUASHFS_EMBEDDED is not set -CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 -# CONFIG_SQUASHFS_VMALLOC is not set -# CONFIG_VXFS_FS is not set -# CONFIG_HPFS_FS is not set -# CONFIG_QNX4FS_FS is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UFS_FS is not set - -# -# Network File Systems -# -CONFIG_NFS_FS=m -CONFIG_NFS_V3=y -# CONFIG_NFS_V3_ACL is not set -CONFIG_NFS_V4=y -# CONFIG_NFS_DIRECTIO is not set -# CONFIG_NFSD is not set -CONFIG_LOCKD=m -CONFIG_LOCKD_V4=y -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=m -CONFIG_SUNRPC_GSS=m -CONFIG_RPCSEC_GSS_KRB5=m -# CONFIG_RPCSEC_GSS_SPKM3 is not set -CONFIG_SMB_FS=m -# CONFIG_SMB_NLS_DEFAULT is not set -CONFIG_CIFS=m -# CONFIG_CIFS_STATS is not set -# CONFIG_CIFS_XATTR is not set -# CONFIG_CIFS_EXPERIMENTAL is not set -# CONFIG_NCP_FS is not set -# CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set -# CONFIG_9P_FS is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -CONFIG_MAC_PARTITION=y -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -# CONFIG_KARMA_PARTITION is not set -# CONFIG_EFI_PARTITION is not set - -# -# Native Language Support -# -CONFIG_NLS=m -CONFIG_NLS_DEFAULT="iso8859-1" -CONFIG_NLS_CODEPAGE_437=m -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -CONFIG_NLS_CODEPAGE_850=m -# CONFIG_NLS_CODEPAGE_852 is not set -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -# CONFIG_NLS_CODEPAGE_936 is not set -# CONFIG_NLS_CODEPAGE_950 is not set -# CONFIG_NLS_CODEPAGE_932 is not set -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set -# CONFIG_NLS_ASCII is not set -CONFIG_NLS_ISO8859_1=m -# CONFIG_NLS_ISO8859_2 is not set -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -CONFIG_NLS_ISO8859_15=m -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -CONFIG_NLS_UTF8=m - -# -# Profiling support -# -# CONFIG_PROFILING is not set - -# -# Kernel hacking -# -# CONFIG_PRINTK_TIME is not set -# CONFIG_MAGIC_SYSRQ is not set -# CONFIG_DEBUG_KERNEL is not set -CONFIG_LOG_BUF_SHIFT=15 -CONFIG_CROSSCOMPILE=y -CONFIG_CMDLINE="" -# CONFIG_SB1XXX_CORELIS is not set - -# -# Security options -# -# CONFIG_KEYS is not set -# CONFIG_SECURITY is not set - -# -# Cryptographic options -# -CONFIG_CRYPTO=y -CONFIG_CRYPTO_HMAC=y -# CONFIG_CRYPTO_NULL is not set -# CONFIG_CRYPTO_MD4 is not set -CONFIG_CRYPTO_MD5=m -CONFIG_CRYPTO_SHA1=m -# CONFIG_CRYPTO_SHA256 is not set -# CONFIG_CRYPTO_SHA512 is not set -# CONFIG_CRYPTO_WP512 is not set -# CONFIG_CRYPTO_TGR192 is not set -CONFIG_CRYPTO_DES=m -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_TWOFISH is not set -# CONFIG_CRYPTO_SERPENT is not set -CONFIG_CRYPTO_AES=m -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -# CONFIG_CRYPTO_TEA is not set -CONFIG_CRYPTO_ARC4=m -# CONFIG_CRYPTO_KHAZAD is not set -# CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_DEFLATE=m -CONFIG_CRYPTO_MICHAEL_MIC=m -# CONFIG_CRYPTO_CRC32C is not set -# CONFIG_CRYPTO_TEST is not set - -# -# Hardware crypto devices -# - -# -# Library routines -# -CONFIG_CRC_CCITT=m -CONFIG_CRC16=m -CONFIG_CRC32=y -# CONFIG_LIBCRC32C is not set -CONFIG_ZLIB_INFLATE=y -CONFIG_ZLIB_DEFLATE=y diff --git a/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch b/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch deleted file mode 100644 index 480287ffa..000000000 --- a/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch +++ /dev/null @@ -1,956 +0,0 @@ ---- linux-2.6.16.7/drivers/char/Kconfig 2006-04-21 14:38:30.000000000 -0700 -+++ linux-2.6.16.7/drivers/char/Kconfig 2006-04-21 14:39:29.000000000 -0700 -@@ -340,6 +340,14 @@ - To compile this driver as a module, choose M here: the - module will be called istallion. - -+config SIBYTE_SB1250_DUART -+ bool "Support for BCM1xxx onchip DUART" -+ depends on MIPS && SIBYTE_SB1xxx_SOC=y -+ -+config SIBYTE_SB1250_DUART_CONSOLE -+ bool "Console on BCM1xxx DUART" -+ depends on SIBYTE_SB1250_DUART -+ - config AU1000_UART - bool "Enable Au1000 UART Support" - depends on SERIAL_NONSTANDARD && MIPS -diff -Nurb linux-2.6.16.7/drivers/char/Makefile linux-2.6.16.7/drivers/char/Makefile ---- linux-2.6.16.7/drivers/char/Makefile 2006-04-17 14:53:25.000000000 -0700 -+++ linux-2.6.16.7/drivers/char/Makefile 2006-04-28 12:14:24.000000000 -0700 -@@ -31,6 +31,7 @@ - obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o - obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o - obj-$(CONFIG_MOXA_SMARTIO) += mxser.o -+obj-$(CONFIG_SIBYTE_SB1250_DUART) += sb1250_duart.o - obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o - obj-$(CONFIG_RISCOM8) += riscom8.o - obj-$(CONFIG_ISI) += isicom.o -diff -Nurb linux-2.6.16.7/drivers/char/sb1250_duart.c linux-2.6.16.7/drivers/char/sb1250_duart.c ---- linux-2.6.16.7/drivers/char/sb1250_duart.c 1969-12-31 16:00:00.000000000 -0800 -+++ linux-2.6.16.7/drivers/char/sb1250_duart.c 2006-04-28 12:13:49.000000000 -0700 -@@ -0,0 +1,911 @@ -+/* -+ * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation -+ * -+ * This program is free software; you can redistribute it and/or -+ * modify it under the terms of the GNU General Public License -+ * as published by the Free Software Foundation; either version 2 -+ * of the License, or (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+ */ -+ -+/* -+ * Driver support for the on-chip sb1250 dual-channel serial port, -+ * running in asynchronous mode. Also, support for doing a serial console -+ * on one of those ports -+ */ -+#include <linux/config.h> -+#include <linux/types.h> -+#include <linux/kernel.h> -+#include <linux/serial.h> -+#include <linux/interrupt.h> -+#include <linux/module.h> -+#include <linux/console.h> -+#include <linux/kdev_t.h> -+#include <linux/major.h> -+#include <linux/termios.h> -+#include <linux/spinlock.h> -+#include <linux/irq.h> -+#include <linux/errno.h> -+#include <linux/tty.h> -+#include <linux/sched.h> -+#include <linux/tty_flip.h> -+#include <linux/timer.h> -+#include <linux/init.h> -+#include <linux/mm.h> -+#include <asm/delay.h> -+#include <asm/io.h> -+#include <asm/uaccess.h> -+#include <asm/sibyte/swarm.h> -+#include <asm/sibyte/sb1250.h> -+#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80) -+#include <asm/sibyte/bcm1480_regs.h> -+#include <asm/sibyte/bcm1480_int.h> -+#elif defined(CONFIG_SIBYTE_SB1250) || defined(CONFIG_SIBYTE_BCM112X) -+#include <asm/sibyte/sb1250_regs.h> -+#include <asm/sibyte/sb1250_int.h> -+#else -+#error invalid SiByte UART configuation -+#endif -+#include <asm/sibyte/sb1250_uart.h> -+#include <asm/war.h> -+ -+#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80) -+#define UNIT_CHANREG(n,reg) A_BCM1480_DUART_CHANREG((n),(reg)) -+#define UNIT_IMRREG(n) A_BCM1480_DUART_IMRREG(n) -+#define UNIT_INT(n) (K_BCM1480_INT_UART_0 + (n)) -+#elif defined(CONFIG_SIBYTE_SB1250) || defined(CONFIG_SIBYTE_BCM112X) -+#define UNIT_CHANREG(n,reg) A_DUART_CHANREG((n),(reg)) -+#define UNIT_IMRREG(n) A_DUART_IMRREG(n) -+#define UNIT_INT(n) (K_INT_UART_0 + (n)) -+#else -+#error invalid SiByte UART configuation -+#endif -+ -+/* Toggle spewing of debugging output */ -+#undef DEBUG -+ -+#define DEFAULT_CFLAGS (CS8 | B115200) -+ -+#define TX_INTEN 1 -+#define DUART_INITIALIZED 2 -+ -+#define DUART_MAX_LINE 4 -+char sb1250_duart_present[DUART_MAX_LINE]; -+EXPORT_SYMBOL(sb1250_duart_present); -+ -+/* -+ * Still not sure what the termios structures set up here are for, -+ * but we have to supply pointers to them to register the tty driver -+ */ -+static struct tty_driver *sb1250_duart_driver; //, sb1250_duart_callout_driver; -+ -+/* -+ * This lock protects both the open flags for all the uart states as -+ * well as the reference count for the module -+ */ -+static DEFINE_SPINLOCK(open_lock); -+ -+typedef struct { -+ unsigned char outp_buf[SERIAL_XMIT_SIZE]; -+ unsigned int outp_head; -+ unsigned int outp_tail; -+ unsigned int outp_count; -+ spinlock_t outp_lock; -+ unsigned int open; -+ unsigned int line; -+ unsigned int last_cflags; -+ unsigned long flags; -+ struct tty_struct *tty; -+ /* CSR addresses */ -+ volatile u32 *status; -+ volatile u32 *imr; -+ volatile u32 *tx_hold; -+ volatile u32 *rx_hold; -+ volatile u32 *mode_1; -+ volatile u32 *mode_2; -+ volatile u32 *clk_sel; -+ volatile u32 *cmd; -+} uart_state_t; -+ -+static uart_state_t uart_states[DUART_MAX_LINE]; -+ -+/* -+ * Inline functions local to this module -+ */ -+ -+/* -+ * In bug 1956, we get glitches that can mess up uart registers. This -+ * "write-mode-1 after any register access" is the accepted -+ * workaround. -+ */ -+#if SIBYTE_1956_WAR -+static unsigned int last_mode1[DUART_MAX_LINE]; -+#endif -+ -+static inline u32 READ_SERCSR(volatile u32 *addr, int line) -+{ -+ u32 val = csr_in32(addr); -+#if SIBYTE_1956_WAR -+ csr_out32(last_mode1[line], uart_states[line].mode_1); -+#endif -+ return val; -+} -+ -+static inline void WRITE_SERCSR(u32 val, volatile u32 *addr, int line) -+{ -+ csr_out32(val, addr); -+#if SIBYTE_1956_WAR -+ csr_out32(last_mode1[line], uart_states[line].mode_1); -+#endif -+} -+ -+static void init_duart_port(uart_state_t *port, int line) -+{ -+ if (!(port->flags & DUART_INITIALIZED)) { -+ port->line = line; -+ port->status = IOADDR(UNIT_CHANREG(line, R_DUART_STATUS)); -+ port->imr = IOADDR(UNIT_IMRREG(line)); -+ port->tx_hold = IOADDR(UNIT_CHANREG(line, R_DUART_TX_HOLD)); -+ port->rx_hold = IOADDR(UNIT_CHANREG(line, R_DUART_RX_HOLD)); -+ port->mode_1 = IOADDR(UNIT_CHANREG(line, R_DUART_MODE_REG_1)); -+ port->mode_2 = IOADDR(UNIT_CHANREG(line, R_DUART_MODE_REG_2)); -+ port->clk_sel = IOADDR(UNIT_CHANREG(line, R_DUART_CLK_SEL)); -+ port->cmd = IOADDR(UNIT_CHANREG(line, R_DUART_CMD)); -+ port->flags |= DUART_INITIALIZED; -+ } -+} -+ -+/* -+ * Mask out the passed interrupt lines at the duart level. This should be -+ * called while holding the associated outp_lock. -+ */ -+static inline void duart_mask_ints(unsigned int line, unsigned int mask) -+{ -+ uart_state_t *port = uart_states + line; -+ u64 tmp = READ_SERCSR(port->imr, line); -+ WRITE_SERCSR(tmp & ~mask, port->imr, line); -+} -+ -+ -+/* Unmask the passed interrupt lines at the duart level */ -+static inline void duart_unmask_ints(unsigned int line, unsigned int mask) -+{ -+ uart_state_t *port = uart_states + line; -+ u64 tmp = READ_SERCSR(port->imr, line); -+ WRITE_SERCSR(tmp | mask, port->imr, line); -+} -+ -+static inline void transmit_char_pio(uart_state_t *us) -+{ -+ struct tty_struct *tty = us->tty; -+ int blocked = 0; -+ -+ if (spin_trylock(&us->outp_lock)) { -+ for (;;) { -+ if (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_RDY)) -+ break; -+ if (us->outp_count <= 0 || tty->stopped || tty->hw_stopped) { -+ break; -+ } else { -+ WRITE_SERCSR(us->outp_buf[us->outp_head], -+ us->tx_hold, us->line); -+ us->outp_head = (us->outp_head + 1) & (SERIAL_XMIT_SIZE-1); -+ if (--us->outp_count <= 0) -+ break; -+ } -+ udelay(10); -+ } -+ spin_unlock(&us->outp_lock); -+ } else { -+ blocked = 1; -+ } -+ -+ if (!us->outp_count || tty->stopped || -+ tty->hw_stopped || blocked) { -+ us->flags &= ~TX_INTEN; -+ duart_mask_ints(us->line, M_DUART_IMR_TX); -+ } -+ -+ if (us->open && -+ (us->outp_count < (SERIAL_XMIT_SIZE/2))) { -+ /* -+ * We told the discipline at one point that we had no -+ * space, so it went to sleep. Wake it up when we hit -+ * half empty -+ */ -+ if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && -+ tty->ldisc.write_wakeup) -+ tty->ldisc.write_wakeup(tty); -+ wake_up_interruptible(&tty->write_wait); -+ } -+} -+ -+/* -+ * Generic interrupt handler for both channels. dev_id is a pointer -+ * to the proper uart_states structure, so from that we can derive -+ * which port interrupted -+ */ -+ -+static irqreturn_t duart_int(int irq, void *dev_id, struct pt_regs *regs) -+{ -+ uart_state_t *us = (uart_state_t *)dev_id; -+ struct tty_struct *tty = us->tty; -+ unsigned int status = READ_SERCSR(us->status, us->line); -+ -+ pr_debug("DUART INT\n"); -+ -+ if (status & M_DUART_RX_RDY) { -+ int counter = 2048; -+ unsigned int ch; -+ -+ if (status & M_DUART_OVRUN_ERR) -+ tty_insert_flip_char(tty, 0, TTY_OVERRUN); -+ if (status & M_DUART_PARITY_ERR) { -+ printk("Parity error!\n"); -+ } else if (status & M_DUART_FRM_ERR) { -+ printk("Frame error!\n"); -+ } -+ -+ while (counter > 0) { -+ if (!(READ_SERCSR(us->status, us->line) & M_DUART_RX_RDY)) -+ break; -+ ch = READ_SERCSR(us->rx_hold, us->line); -+ tty_insert_flip_char(tty, ch, 0); -+ udelay(1); -+ counter--; -+ } -+ tty_flip_buffer_push(tty); -+ } -+ -+ if (status & M_DUART_TX_RDY) { -+ transmit_char_pio(us); -+ } -+ -+ return IRQ_HANDLED; -+} -+ -+/* -+ * Actual driver functions -+ */ -+ -+/* Return the number of characters we can accomodate in a write at this instant */ -+static int duart_write_room(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ int retval; -+ -+ retval = SERIAL_XMIT_SIZE - us->outp_count; -+ -+ pr_debug("duart_write_room called, returning %i\n", retval); -+ -+ return retval; -+} -+ -+/* memcpy the data from src to destination, but take extra care if the -+ data is coming from user space */ -+static inline int copy_buf(char *dest, const char *src, int size, int from_user) -+{ -+ if (from_user) { -+ (void) copy_from_user(dest, src, size); -+ } else { -+ memcpy(dest, src, size); -+ } -+ return size; -+} -+ -+/* -+ * Buffer up to count characters from buf to be written. If we don't have -+ * other characters buffered, enable the tx interrupt to start sending -+ */ -+static int duart_write(struct tty_struct *tty, const unsigned char *buf, -+ int count) -+{ -+ uart_state_t *us; -+ int c, t, total = 0; -+ unsigned long flags; -+ -+ if (!tty) return 0; -+ -+ us = tty->driver_data; -+ if (!us) return 0; -+ -+ pr_debug("duart_write called for %i chars by %i (%s)\n", count, current->pid, current->comm); -+ -+ spin_lock_irqsave(&us->outp_lock, flags); -+ -+ for (;;) { -+ c = count; -+ -+ t = SERIAL_XMIT_SIZE - us->outp_tail; -+ if (t < c) c = t; -+ -+ t = SERIAL_XMIT_SIZE - 1 - us->outp_count; -+ if (t < c) c = t; -+ -+ if (c <= 0) break; -+ -+ memcpy(us->outp_buf + us->outp_tail, buf, c); -+ -+ us->outp_count += c; -+ us->outp_tail = (us->outp_tail + c) & (SERIAL_XMIT_SIZE - 1); -+ buf += c; -+ count -= c; -+ total += c; -+ } -+ -+ spin_unlock_irqrestore(&us->outp_lock, flags); -+ -+ if (us->outp_count && !tty->stopped && -+ !tty->hw_stopped && !(us->flags & TX_INTEN)) { -+ us->flags |= TX_INTEN; -+ duart_unmask_ints(us->line, M_DUART_IMR_TX); -+ } -+ -+ return total; -+} -+ -+ -+/* Buffer one character to be written. If there's not room for it, just drop -+ it on the floor. This is used for echo, among other things */ -+static void duart_put_char(struct tty_struct *tty, u_char ch) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ unsigned long flags; -+ -+ pr_debug("duart_put_char called. Char is %x (%c)\n", (int)ch, ch); -+ -+ spin_lock_irqsave(&us->outp_lock, flags); -+ -+ if (us->outp_count == SERIAL_XMIT_SIZE) { -+ spin_unlock_irqrestore(&us->outp_lock, flags); -+ return; -+ } -+ -+ us->outp_buf[us->outp_tail] = ch; -+ us->outp_tail = (us->outp_tail + 1) &(SERIAL_XMIT_SIZE-1); -+ us->outp_count++; -+ -+ spin_unlock_irqrestore(&us->outp_lock, flags); -+} -+ -+static void duart_flush_chars(struct tty_struct * tty) -+{ -+ uart_state_t *port; -+ -+ if (!tty) return; -+ -+ port = tty->driver_data; -+ -+ if (!port) return; -+ -+ if (port->outp_count <= 0 || tty->stopped || tty->hw_stopped) { -+ return; -+ } -+ -+ port->flags |= TX_INTEN; -+ duart_unmask_ints(port->line, M_DUART_IMR_TX); -+} -+ -+/* Return the number of characters in the output buffer that have yet to be -+ written */ -+static int duart_chars_in_buffer(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ int retval; -+ -+ retval = us->outp_count; -+ -+ pr_debug("duart_chars_in_buffer returning %i\n", retval); -+ -+ return retval; -+} -+ -+/* Kill everything we haven't yet shoved into the FIFO. Turn off the -+ transmit interrupt since we've nothing more to transmit */ -+static void duart_flush_buffer(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ unsigned long flags; -+ -+ pr_debug("duart_flush_buffer called\n"); -+ spin_lock_irqsave(&us->outp_lock, flags); -+ us->outp_head = us->outp_tail = us->outp_count = 0; -+ spin_unlock_irqrestore(&us->outp_lock, flags); -+ -+ wake_up_interruptible(&us->tty->write_wait); -+ if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && -+ tty->ldisc.write_wakeup) -+ tty->ldisc.write_wakeup(tty); -+} -+ -+ -+/* See sb1250 user manual for details on these registers */ -+static inline void duart_set_cflag(unsigned int line, unsigned int cflag) -+{ -+ unsigned int mode_reg1 = 0, mode_reg2 = 0; -+ unsigned int clk_divisor; -+ uart_state_t *port = uart_states + line; -+ -+ switch (cflag & CSIZE) { -+ case CS7: -+ mode_reg1 |= V_DUART_BITS_PER_CHAR_7; -+ -+ default: -+ /* We don't handle CS5 or CS6...is there a way we're supposed to flag this? -+ right now we just force them to CS8 */ -+ mode_reg1 |= 0x0; -+ break; -+ } -+ if (cflag & CSTOPB) { -+ mode_reg2 |= M_DUART_STOP_BIT_LEN_2; -+ } -+ if (!(cflag & PARENB)) { -+ mode_reg1 |= V_DUART_PARITY_MODE_NONE; -+ } -+ if (cflag & PARODD) { -+ mode_reg1 |= M_DUART_PARITY_TYPE_ODD; -+ } -+ -+ /* Formula for this is (5000000/baud)-1, but we saturate -+ at 12 bits, which means we can't actually do anything less -+ that 1200 baud */ -+ switch (cflag & CBAUD) { -+ case B200: -+ case B300: -+ case B1200: clk_divisor = 4095; break; -+ case B1800: clk_divisor = 2776; break; -+ case B2400: clk_divisor = 2082; break; -+ case B4800: clk_divisor = 1040; break; -+ default: -+ case B9600: clk_divisor = 519; break; -+ case B19200: clk_divisor = 259; break; -+ case B38400: clk_divisor = 129; break; -+ case B57600: clk_divisor = 85; break; -+ case B115200: clk_divisor = 42; break; -+ } -+ WRITE_SERCSR(mode_reg1, port->mode_1, port->line); -+ WRITE_SERCSR(mode_reg2, port->mode_2, port->line); -+ WRITE_SERCSR(clk_divisor, port->clk_sel, port->line); -+ port->last_cflags = cflag; -+} -+ -+ -+/* Handle notification of a termios change. */ -+static void duart_set_termios(struct tty_struct *tty, struct termios *old) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ -+ pr_debug("duart_set_termios called by %i (%s)\n", current->pid, current->comm); -+ if (old && tty->termios->c_cflag == old->c_cflag) -+ return; -+ duart_set_cflag(us->line, tty->termios->c_cflag); -+} -+ -+static int get_serial_info(uart_state_t *us, struct serial_struct * retinfo) { -+ -+ struct serial_struct tmp; -+ -+ memset(&tmp, 0, sizeof(tmp)); -+ -+ tmp.type=PORT_SB1250; -+ tmp.line=us->line; -+ tmp.port=UNIT_CHANREG(tmp.line,0); -+ tmp.irq=UNIT_INT(tmp.line); -+ tmp.xmit_fifo_size=16; /* fixed by hw */ -+ tmp.baud_base=5000000; -+ tmp.io_type=SERIAL_IO_MEM; -+ -+ if (copy_to_user(retinfo,&tmp,sizeof(*retinfo))) -+ return -EFAULT; -+ -+ return 0; -+} -+ -+static int duart_ioctl(struct tty_struct *tty, struct file * file, -+ unsigned int cmd, unsigned long arg) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ -+/* if (serial_paranoia_check(info, tty->device, "rs_ioctl")) -+ return -ENODEV;*/ -+ switch (cmd) { -+ case TIOCMGET: -+ printk("Ignoring TIOCMGET\n"); -+ break; -+ case TIOCMBIS: -+ printk("Ignoring TIOCMBIS\n"); -+ break; -+ case TIOCMBIC: -+ printk("Ignoring TIOCMBIC\n"); -+ break; -+ case TIOCMSET: -+ printk("Ignoring TIOCMSET\n"); -+ break; -+ case TIOCGSERIAL: -+ return get_serial_info(us,(struct serial_struct *) arg); -+ case TIOCSSERIAL: -+ printk("Ignoring TIOCSSERIAL\n"); -+ break; -+ case TIOCSERCONFIG: -+ printk("Ignoring TIOCSERCONFIG\n"); -+ break; -+ case TIOCSERGETLSR: /* Get line status register */ -+ printk("Ignoring TIOCSERGETLSR\n"); -+ break; -+ case TIOCSERGSTRUCT: -+ printk("Ignoring TIOCSERGSTRUCT\n"); -+ break; -+ case TIOCMIWAIT: -+ printk("Ignoring TIOCMIWAIT\n"); -+ break; -+ case TIOCGICOUNT: -+ printk("Ignoring TIOCGICOUNT\n"); -+ break; -+ case TIOCSERGWILD: -+ printk("Ignoring TIOCSERGWILD\n"); -+ break; -+ case TIOCSERSWILD: -+ printk("Ignoring TIOCSERSWILD\n"); -+ break; -+ default: -+ break; -+ } -+// printk("Ignoring IOCTL %x from pid %i (%s)\n", cmd, current->pid, current->comm); -+ return -ENOIOCTLCMD; -+} -+ -+/* XXXKW locking? */ -+static void duart_start(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ -+ pr_debug("duart_start called\n"); -+ -+ if (us->outp_count && !(us->flags & TX_INTEN)) { -+ us->flags |= TX_INTEN; -+ duart_unmask_ints(us->line, M_DUART_IMR_TX); -+ } -+} -+ -+/* XXXKW locking? */ -+static void duart_stop(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ -+ pr_debug("duart_stop called\n"); -+ -+ if (us->outp_count && (us->flags & TX_INTEN)) { -+ us->flags &= ~TX_INTEN; -+ duart_mask_ints(us->line, M_DUART_IMR_TX); -+ } -+} -+ -+/* Not sure on the semantics of this; are we supposed to wait until the stuff -+ already in the hardware FIFO drains, or are we supposed to wait until -+ we've drained the output buffer, too? I'm assuming the former, 'cause thats -+ what the other drivers seem to assume -+*/ -+ -+static void duart_wait_until_sent(struct tty_struct *tty, int timeout) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ unsigned long orig_jiffies; -+ -+ orig_jiffies = jiffies; -+ pr_debug("duart_wait_until_sent(%d)+\n", timeout); -+ while (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_EMT)) { -+ set_current_state(TASK_INTERRUPTIBLE); -+ schedule_timeout(1); -+ if (signal_pending(current)) -+ break; -+ if (timeout && time_after(jiffies, orig_jiffies + timeout)) -+ break; -+ } -+ pr_debug("duart_wait_until_sent()-\n"); -+} -+ -+/* -+ * duart_hangup() --- called by tty_hangup() when a hangup is signaled. -+ */ -+static void duart_hangup(struct tty_struct *tty) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ -+ duart_flush_buffer(tty); -+ us->open = 0; -+ us->tty = 0; -+} -+ -+/* -+ * Open a tty line. Note that this can be called multiple times, so ->open can -+ * be >1. Only set up the tty struct if this is a "new" open, e.g. ->open was -+ * zero -+ */ -+static int duart_open(struct tty_struct *tty, struct file *filp) -+{ -+ uart_state_t *us; -+ unsigned int line = tty->index; -+ unsigned long flags; -+ -+ if ((line >= tty->driver->num) || !sb1250_duart_present[line]) -+ return -ENODEV; -+ -+ pr_debug("duart_open called by %i (%s), tty is %p, rw is %p, ww is %p\n", -+ current->pid, current->comm, tty, tty->read_wait, -+ tty->write_wait); -+ -+ us = uart_states + line; -+ tty->driver_data = us; -+ -+ spin_lock_irqsave(&open_lock, flags); -+ if (!us->open) { -+ us->tty = tty; -+ us->tty->termios->c_cflag = us->last_cflags; -+ } -+ us->open++; -+ us->flags &= ~TX_INTEN; -+ duart_unmask_ints(line, M_DUART_IMR_RX); -+ spin_unlock_irqrestore(&open_lock, flags); -+ -+ return 0; -+} -+ -+ -+/* -+ * Close a reference count out. If reference count hits zero, null the -+ * tty, kill the interrupts. The tty_io driver is responsible for making -+ * sure we've cleared out our internal buffers before calling close() -+ */ -+static void duart_close(struct tty_struct *tty, struct file *filp) -+{ -+ uart_state_t *us = (uart_state_t *) tty->driver_data; -+ unsigned long flags; -+ -+ pr_debug("duart_close called by %i (%s)\n", current->pid, current->comm); -+ -+ if (!us || !us->open) -+ return; -+ -+ spin_lock_irqsave(&open_lock, flags); -+ if (tty_hung_up_p(filp)) { -+ spin_unlock_irqrestore(&open_lock, flags); -+ return; -+ } -+ -+ if (--us->open < 0) { -+ us->open = 0; -+ printk(KERN_ERR "duart: bad open count: %d\n", us->open); -+ } -+ if (us->open) { -+ spin_unlock_irqrestore(&open_lock, flags); -+ return; -+ } -+ -+ spin_unlock_irqrestore(&open_lock, flags); -+ -+ tty->closing = 1; -+ -+ /* Stop accepting input */ -+ duart_mask_ints(us->line, M_DUART_IMR_RX); -+ /* Wait for FIFO to drain */ -+ while (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_EMT)) -+ ; -+ -+ if (tty->driver->flush_buffer) -+ tty->driver->flush_buffer(tty); -+ if (tty->ldisc.flush_buffer) -+ tty->ldisc.flush_buffer(tty); -+ tty->closing = 0; -+} -+ -+ -+static struct tty_operations duart_ops = { -+ .open = duart_open, -+ .close = duart_close, -+ .write = duart_write, -+ .put_char = duart_put_char, -+ .flush_chars = duart_flush_chars, -+ .write_room = duart_write_room, -+ .chars_in_buffer = duart_chars_in_buffer, -+ .flush_buffer = duart_flush_buffer, -+ .ioctl = duart_ioctl, -+// .throttle = duart_throttle, -+// .unthrottle = duart_unthrottle, -+ .set_termios = duart_set_termios, -+ .stop = duart_stop, -+ .start = duart_start, -+ .hangup = duart_hangup, -+ .wait_until_sent = duart_wait_until_sent, -+}; -+ -+/* Initialize the sb1250_duart_present array based on SOC type. */ -+static void __init sb1250_duart_init_present_lines(void) -+{ -+ int i, max_lines; -+ -+ /* Set the number of available units based on the SOC type. */ -+ switch (soc_type) { -+ case K_SYS_SOC_TYPE_BCM1x55: -+ case K_SYS_SOC_TYPE_BCM1x80: -+ max_lines = 4; -+ break; -+ default: -+ /* Assume at least two serial ports at the normal address. */ -+ max_lines = 2; -+ break; -+ } -+ if (max_lines > DUART_MAX_LINE) -+ max_lines = DUART_MAX_LINE; -+ -+ for (i = 0; i < max_lines; i++) -+ sb1250_duart_present[i] = 1; -+} -+ -+/* Set up the driver and register it, register the UART interrupts. This -+ is called from tty_init, or as a part of the module init */ -+static int __init sb1250_duart_init(void) -+{ -+ int i; -+ -+ sb1250_duart_init_present_lines(); -+ -+ sb1250_duart_driver = alloc_tty_driver(DUART_MAX_LINE); -+ if (!sb1250_duart_driver) -+ return -ENOMEM; -+ -+ sb1250_duart_driver->owner = THIS_MODULE; -+ sb1250_duart_driver->name = "duart"; -+ sb1250_duart_driver->devfs_name = "duart/"; -+ sb1250_duart_driver->major = TTY_MAJOR; -+ sb1250_duart_driver->minor_start = SB1250_DUART_MINOR_BASE; -+ sb1250_duart_driver->type = TTY_DRIVER_TYPE_SERIAL; -+ sb1250_duart_driver->subtype = SERIAL_TYPE_NORMAL; -+ sb1250_duart_driver->init_termios = tty_std_termios; -+ sb1250_duart_driver->flags = TTY_DRIVER_REAL_RAW; -+ tty_set_operations(sb1250_duart_driver, &duart_ops); -+ -+ for (i=0; i<DUART_MAX_LINE; i++) { -+ uart_state_t *port = uart_states + i; -+ -+ if (!sb1250_duart_present[i]) -+ continue; -+ -+ init_duart_port(port, i); -+ spin_lock_init(&port->outp_lock); -+ duart_mask_ints(i, M_DUART_IMR_ALL); -+ if (request_irq(UNIT_INT(i), duart_int, 0, "uart", port)) { -+ panic("Couldn't get uart0 interrupt line"); -+ } -+ __raw_writeq(M_DUART_RX_EN|M_DUART_TX_EN, -+ IOADDR(UNIT_CHANREG(i, R_DUART_CMD))); -+ duart_set_cflag(i, DEFAULT_CFLAGS); -+ } -+ -+ /* Interrupts are now active, our ISR can be called. */ -+ -+ if (tty_register_driver(sb1250_duart_driver)) { -+ printk(KERN_ERR "Couldn't register sb1250 duart serial driver\n"); -+ put_tty_driver(sb1250_duart_driver); -+ return 1; -+ } -+ return 0; -+} -+ -+/* Unload the driver. Unregister stuff, get ready to go away */ -+static void __exit sb1250_duart_fini(void) -+{ -+ unsigned long flags; -+ int i; -+ -+ local_irq_save(flags); -+ tty_unregister_driver(sb1250_duart_driver); -+ put_tty_driver(sb1250_duart_driver); -+ -+ for (i=0; i<DUART_MAX_LINE; i++) { -+ if (!sb1250_duart_present[i]) -+ continue; -+ free_irq(UNIT_INT(i), &uart_states[i]); -+ disable_irq(UNIT_INT(i)); -+ } -+ local_irq_restore(flags); -+} -+ -+module_init(sb1250_duart_init); -+module_exit(sb1250_duart_fini); -+MODULE_DESCRIPTION("SB1250 Duart serial driver"); -+MODULE_AUTHOR("Broadcom Corp."); -+ -+#ifdef CONFIG_SIBYTE_SB1250_DUART_CONSOLE -+ -+/* -+ * Serial console stuff. Very basic, polling driver for doing serial -+ * console output. The console_sem is held by the caller, so we -+ * shouldn't be interrupted for more console activity. -+ * XXXKW What about getting interrupted by uart driver activity? -+ */ -+ -+void serial_outc(unsigned char c, int line) -+{ -+ uart_state_t *port = uart_states + line; -+ while (!(READ_SERCSR(port->status, line) & M_DUART_TX_RDY)) ; -+ WRITE_SERCSR(c, port->tx_hold, line); -+ while (!(READ_SERCSR(port->status, port->line) & M_DUART_TX_EMT)) ; -+} -+ -+static void ser_console_write(struct console *cons, const char *s, -+ unsigned int count) -+{ -+ int line = cons->index; -+ uart_state_t *port = uart_states + line; -+ u32 imr; -+ -+ imr = READ_SERCSR(port->imr, line); -+ WRITE_SERCSR(0, port->imr, line); -+ while (count--) { -+ if (*s == '\n') -+ serial_outc('\r', line); -+ serial_outc(*s++, line); -+ } -+ WRITE_SERCSR(imr, port->imr, line); -+} -+ -+static struct tty_driver *ser_console_device(struct console *c, int *index) -+{ -+ *index = c->index; -+ return sb1250_duart_driver; -+} -+ -+static int ser_console_setup(struct console *cons, char *str) -+{ -+ int i; -+ -+ sb1250_duart_init_present_lines(); -+ -+ for (i=0; i<DUART_MAX_LINE; i++) { -+ uart_state_t *port = uart_states + i; -+ -+ if (!sb1250_duart_present[i]) -+ continue; -+ -+ init_duart_port(port, i); -+#if SIBYTE_1956_WAR -+ last_mode1[i] = V_DUART_PARITY_MODE_NONE|V_DUART_BITS_PER_CHAR_8; -+#endif -+ WRITE_SERCSR(V_DUART_PARITY_MODE_NONE|V_DUART_BITS_PER_CHAR_8, -+ port->mode_1, i); -+ WRITE_SERCSR(M_DUART_STOP_BIT_LEN_1, -+ port->mode_2, i); -+ WRITE_SERCSR(V_DUART_BAUD_RATE(115200), -+ port->clk_sel, i); -+ WRITE_SERCSR(M_DUART_RX_EN|M_DUART_TX_EN, -+ port->cmd, i); -+ } -+ return 0; -+} -+ -+static struct console sb1250_ser_cons = { -+ .name = "duart", -+ .write = ser_console_write, -+ .device = ser_console_device, -+ .setup = ser_console_setup, -+ .flags = CON_PRINTBUFFER, -+ .index = -1, -+}; -+ -+static int __init sb1250_serial_console_init(void) -+{ -+ register_console(&sb1250_ser_cons); -+ return 0; -+} -+ -+console_initcall(sb1250_serial_console_init); -+ -+#endif /* CONFIG_SIBYTE_SB1250_DUART_CONSOLE */ -diff -Nurb linux-2.6.16.7/include/linux/serial.h linux-2.6.16.7/include/linux/serial.h ---- linux-2.6.16.7/include/linux/serial.h 2006-04-17 14:53:25.000000000 -0700 -+++ linux-2.6.16.7/include/linux/serial.h 2006-04-28 12:25:19.000000000 -0700 -@@ -76,7 +76,8 @@ - #define PORT_16654 11 - #define PORT_16850 12 - #define PORT_RSA 13 /* RSA-DV II/S card */ --#define PORT_MAX 13 -+#define PORT_SB1250 14 -+#define PORT_MAX 14 - - #define SERIAL_IO_PORT 0 - #define SERIAL_IO_HUB6 1 diff --git a/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch b/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch deleted file mode 100644 index c80d4aea5..000000000 --- a/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- linux-2.6.16.4/arch/mips/sibyte/sb1250/setup.c 2006-04-21 16:16:18.000000000 -0700 -+++ linux-2.6.16.4/arch/mips/sibyte/sb1250/setup.c 2006-04-21 16:15:22.000000000 -0700 -@@ -140,6 +140,14 @@ - periph_rev = 3; - pass_str = "A2"; - break; -+ case K_SYS_REVISION_BCM112x_A3: -+ periph_rev = 3; -+ pass_str = "A3"; -+ break; -+ case K_SYS_REVISION_BCM112x_A4: -+ periph_rev = 3; -+ pass_str = "A4"; -+ break; - default: - prom_printf("Unknown %s rev %x\n", soc_str, soc_pass); - ret = 1; |