* Re: [PATCH] atm: solos-pci: make solos_bh() as static
From: chas williams - CONTRACTOR @ 2014-02-19 14:54 UTC (permalink / raw)
To: Daeseok Youn; +Cc: linux-atm-general, netdev, linux-kernel
In-Reply-To: <1547067.MtNWZjBp8J@daeseok-laptop.cloud.net>
On Wed, 19 Feb 2014 14:13:54 +0900
Daeseok Youn <daeseok.youn@gmail.com> wrote:
> >From 6297aabeff748777b520cc0ee835af0a3ddc79e2 Mon Sep 17 00:00:00 2001
> From: Daeseok Youn <daeseok.youn@gmail.com>
> Date: Wed, 19 Feb 2014 10:49:12 +0900
> Subject: [PATCH] atm: solos-pci: make solos_bh() as static
>
> sparse says:
>
> drivers/atm/solos-pci.c:763:6: warning:
> symbol 'solos_bh' was not declared. Should it be static?
>
> Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
> ---
> drivers/atm/solos-pci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
> index e3fb496..943cf0d 100644
> --- a/drivers/atm/solos-pci.c
> +++ b/drivers/atm/solos-pci.c
> @@ -760,7 +760,7 @@ static irqreturn_t solos_irq(int irq, void *dev_id)
> return IRQ_RETVAL(handled);
> }
>
> -void solos_bh(unsigned long card_arg)
> +static void solos_bh(unsigned long card_arg)
> {
> struct solos_card *card = (void *)card_arg;
> uint32_t card_flags;
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
^ permalink raw reply
* Re: linux-next: Tree for Feb 19 (netdev)
From: Randy Dunlap @ 2014-02-19 15:08 UTC (permalink / raw)
To: Stephen Rothwell, linux-next; +Cc: linux-kernel, netdev@vger.kernel.org
In-Reply-To: <20140219164733.781c782bc5ad4f5eaf25a636@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
On 02/18/14 21:47, Stephen Rothwell wrote:
> Hi all,
>
> If you see failures in building this tree due to missing declarations of
> k..alloc/free, then it may be caused by commit 2bd59d48ebfb ("cgroup:
> convert to kernfs"). Please send Tejun Heo <tj@kernel.org> a patch
> adding an inclusion of linux/slab.h to the appropriate file(s).
>
> This tree fails (more than usual) the powerpc allyesconfig build.
>
> Changes since 20140218:
>
on i386:
net/built-in.o:(.rodata+0x1707c): undefined reference to `ip_tunnel_get_stats64'
Full randconfig file is attached.
--
~Randy
[-- Attachment #2: config-r6749 --]
[-- Type: text/plain, Size: 69527 bytes --]
#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 3.14.0-rc3 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
# CONFIG_ZONE_DMA32 is not set
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_LAZY_GS=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx"
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
#
# General setup
#
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_COMPILE_TEST=y
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_BZIP2=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_FHANDLE is not set
# CONFIG_AUDIT is not set
#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
# CONFIG_TASK_XACCT is not set
#
# RCU Subsystem
#
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_FANOUT=32
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_BOOST=y
CONFIG_RCU_BOOST_PRIO=1
CONFIG_RCU_BOOST_DELAY=500
CONFIG_RCU_NOCB_CPU=y
# CONFIG_RCU_NOCB_CPU_NONE is not set
CONFIG_RCU_NOCB_CPU_ZERO=y
# CONFIG_RCU_NOCB_CPU_ALL is not set
CONFIG_IKCONFIG=m
CONFIG_LOG_BUF_SHIFT=17
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
# CONFIG_NET_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_RD_GZIP is not set
CONFIG_RD_BZIP2=y
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
CONFIG_RD_LZ4=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_PCSPKR_PLATFORM is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
# CONFIG_AIO is not set
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
CONFIG_OPROFILE_EVENT_MULTIPLEX=y
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_KPROBES=y
CONFIG_JUMP_LABEL=y
CONFIG_UPROBES=y
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_HAVE_CC_STACKPROTECTOR=y
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_CC_STACKPROTECTOR_NONE=y
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
#
# GCOV-based kernel profiling
#
CONFIG_GCOV_KERNEL=y
# CONFIG_GCOV_PROFILE_ALL is not set
# CONFIG_GCOV_FORMAT_AUTODETECT is not set
# CONFIG_GCOV_FORMAT_3_4 is not set
CONFIG_GCOV_FORMAT_4_7=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
CONFIG_BLOCK=y
# CONFIG_LBDAF is not set
CONFIG_BLK_DEV_BSG=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_CMDLINE_PARSER is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED="noop"
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_ASN1=m
CONFIG_UNINLINE_SPIN_UNLOCK=y
# CONFIG_FREEZER is not set
#
# Processor type and features
#
# CONFIG_ZONE_DMA is not set
# CONFIG_SMP is not set
CONFIG_GOLDFISH=y
CONFIG_X86_EXTENDED_PLATFORM=y
CONFIG_X86_GOLDFISH=y
CONFIG_X86_RDC321X=y
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_X86_32_IRIS=m
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
# CONFIG_PARAVIRT is not set
# CONFIG_XEN_PRIVILEGED_GUEST is not set
CONFIG_NO_BOOTMEM=y
CONFIG_MEMTEST=y
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MELAN is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=5
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_CPU_SUP_INTEL=y
# CONFIG_CPU_SUP_CYRIX_32 is not set
# CONFIG_CPU_SUP_AMD is not set
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_CPU_SUP_TRANSMETA_32=y
# CONFIG_CPU_SUP_UMC_32 is not set
CONFIG_HPET_TIMER=y
CONFIG_DMI=y
CONFIG_NR_CPUS=1
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_MCE_INJECT=y
# CONFIG_VM86 is not set
CONFIG_TOSHIBA=m
# CONFIG_I8K is not set
CONFIG_X86_REBOOTFIXUPS=y
# CONFIG_MICROCODE is not set
# CONFIG_MICROCODE_INTEL_EARLY is not set
# CONFIG_MICROCODE_AMD_EARLY is not set
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_VMSPLIT_3G is not set
CONFIG_VMSPLIT_3G_OPT=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xB0000000
# CONFIG_X86_PAE is not set
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ILLEGAL_POINTER_VALUE=0
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_NEED_BOUNCE_POOL=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
# CONFIG_CROSS_MEMORY_ATTACH is not set
CONFIG_NEED_PER_CPU_KM=y
CONFIG_CLEANCACHE=y
CONFIG_FRONTSWAP=y
# CONFIG_CMA is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSWAP is not set
# CONFIG_ZSMALLOC is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_RESERVE_LOW=64
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
# CONFIG_X86_PAT is not set
# CONFIG_ARCH_RANDOM is not set
CONFIG_X86_SMAP=y
CONFIG_SECCOMP=y
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
# CONFIG_COMPAT_VDSO is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE=""
# CONFIG_CMDLINE_OVERRIDE is not set
#
# Power management and ACPI options
#
# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
# CONFIG_PM_RUNTIME is not set
CONFIG_SFI=y
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
CONFIG_INTEL_IDLE=y
#
# Bus options (PCI etc.)
#
# CONFIG_PCI is not set
CONFIG_PCI_LABEL=y
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_SCx200 is not set
CONFIG_OLPC=y
# CONFIG_ALIX is not set
CONFIG_NET5501=y
# CONFIG_GEOS is not set
# CONFIG_PCCARD is not set
CONFIG_X86_SYSFB=y
#
# Executable file formats / Emulations
#
# CONFIG_BINFMT_ELF is not set
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_BINFMT_SCRIPT is not set
CONFIG_HAVE_AOUT=y
CONFIG_BINFMT_AOUT=m
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y
CONFIG_HAVE_ATOMIC_IOMAP=y
CONFIG_NET=y
#
# Networking options
#
# CONFIG_PACKET is not set
# CONFIG_UNIX is not set
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_IPCOMP=m
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
# CONFIG_IP_PNP_BOOTP is not set
CONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
CONFIG_NET_IP_TUNNEL=m
# CONFIG_SYN_COOKIES is not set
CONFIG_NET_IPVTI=m
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=m
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_UDP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
# CONFIG_IPV6_ROUTE_INFO is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=y
CONFIG_INET6_IPCOMP=m
CONFIG_IPV6_MIP6=y
CONFIG_INET6_XFRM_TUNNEL=m
CONFIG_INET6_TUNNEL=y
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
CONFIG_IPV6_VTI=y
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_GRE=m
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
# CONFIG_IPV6_MROUTE_MULTIPLE_TABLES is not set
CONFIG_IPV6_PIMSM_V2=y
# CONFIG_NETLABEL is not set
CONFIG_NETWORK_SECMARK=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
CONFIG_IP_DCCP=y
CONFIG_INET_DCCP_DIAG=y
#
# DCCP CCIDs Configuration
#
CONFIG_IP_DCCP_CCID2_DEBUG=y
# CONFIG_IP_DCCP_CCID3 is not set
#
# DCCP Kernel Hacking
#
CONFIG_IP_DCCP_DEBUG=y
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
# CONFIG_SCTP_COOKIE_HMAC_MD5 is not set
CONFIG_SCTP_COOKIE_HMAC_SHA1=y
CONFIG_RDS=m
# CONFIG_RDS_TCP is not set
CONFIG_RDS_DEBUG=y
# CONFIG_TIPC is not set
CONFIG_ATM=y
CONFIG_ATM_CLIP=m
CONFIG_ATM_CLIP_NO_ICMP=y
# CONFIG_ATM_LANE is not set
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_L2TP=m
CONFIG_L2TP_DEBUGFS=m
# CONFIG_L2TP_V3 is not set
CONFIG_STP=m
CONFIG_GARP=m
CONFIG_MRP=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
# CONFIG_BRIDGE_VLAN_FILTERING is not set
CONFIG_VLAN_8021Q=m
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
CONFIG_DECNET=y
# CONFIG_DECNET_ROUTER is not set
CONFIG_LLC=y
CONFIG_LLC2=y
# CONFIG_IPX is not set
CONFIG_ATALK=y
CONFIG_DEV_APPLETALK=y
CONFIG_IPDDP=m
CONFIG_IPDDP_ENCAP=y
CONFIG_X25=m
CONFIG_LAPB=m
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_6LOWPAN_IPHC=m
CONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_ATM=m
# CONFIG_NET_SCH_PRIO is not set
CONFIG_NET_SCH_MULTIQ=m
# CONFIG_NET_SCH_RED is not set
CONFIG_NET_SCH_SFB=m
CONFIG_NET_SCH_SFQ=y
# CONFIG_NET_SCH_TEQL is not set
CONFIG_NET_SCH_TBF=m
# CONFIG_NET_SCH_GRED is not set
CONFIG_NET_SCH_DSMARK=y
CONFIG_NET_SCH_NETEM=m
CONFIG_NET_SCH_DRR=y
CONFIG_NET_SCH_MQPRIO=m
CONFIG_NET_SCH_CHOKE=y
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
# CONFIG_NET_SCH_FQ_CODEL is not set
CONFIG_NET_SCH_FQ=m
# CONFIG_NET_SCH_HHF is not set
CONFIG_NET_SCH_PIE=y
CONFIG_NET_SCH_PLUG=m
#
# Classification
#
CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
CONFIG_NET_CLS_TCINDEX=y
# CONFIG_NET_CLS_ROUTE4 is not set
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=y
# CONFIG_NET_CLS_RSVP6 is not set
CONFIG_NET_CLS_FLOW=m
CONFIG_NET_CLS_BPF=m
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=m
# CONFIG_NET_EMATCH_NBYTE is not set
# CONFIG_NET_EMATCH_U32 is not set
CONFIG_NET_EMATCH_META=m
CONFIG_NET_EMATCH_TEXT=m
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_IND=y
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=m
# CONFIG_BATMAN_ADV is not set
CONFIG_OPENVSWITCH=m
CONFIG_VSOCKETS=m
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
CONFIG_NET_MPLS_GSO=m
CONFIG_HSR=m
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
#
# Network testing
#
CONFIG_NET_DROP_MONITOR=m
CONFIG_HAMRADIO=y
#
# Packet Radio protocols
#
CONFIG_AX25=m
CONFIG_AX25_DAMA_SLAVE=y
CONFIG_NETROM=m
CONFIG_ROSE=m
#
# AX.25 network device drivers
#
CONFIG_BPQETHER=m
# CONFIG_BAYCOM_SER_FDX is not set
CONFIG_BAYCOM_SER_HDX=m
# CONFIG_YAM is not set
# CONFIG_CAN is not set
CONFIG_IRDA=m
#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRDA_ULTRA=y
#
# IrDA options
#
# CONFIG_IRDA_CACHE_LAST_LSAP is not set
# CONFIG_IRDA_FAST_RR is not set
CONFIG_IRDA_DEBUG=y
#
# Infrared-port device drivers
#
#
# SIR device drivers
#
#
# Dongle support
#
#
# FIR device drivers
#
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
CONFIG_VIA_FIR=m
CONFIG_BT=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
# CONFIG_BT_BNEP_PROTO_FILTER is not set
#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTSDIO=m
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
CONFIG_AF_RXRPC=y
CONFIG_AF_RXRPC_DEBUG=y
# CONFIG_RXKAD is not set
CONFIG_FIB_RULES=y
# CONFIG_WIRELESS is not set
CONFIG_WIMAX=y
CONFIG_WIMAX_DEBUG_LEVEL=8
CONFIG_RFKILL=y
CONFIG_RFKILL_REGULATOR=y
CONFIG_RFKILL_GPIO=y
CONFIG_NET_9P=m
CONFIG_NET_9P_VIRTIO=m
CONFIG_NET_9P_DEBUG=y
CONFIG_CAIF=m
# CONFIG_CAIF_DEBUG is not set
# CONFIG_CAIF_NETDEV is not set
CONFIG_CAIF_USB=m
CONFIG_CEPH_LIB=m
CONFIG_CEPH_LIB_PRETTYDEBUG=y
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set
CONFIG_NFC=m
# CONFIG_NFC_DIGITAL is not set
CONFIG_NFC_NCI=m
CONFIG_NFC_HCI=m
# CONFIG_NFC_SHDLC is not set
#
# Near Field Communication (NFC) devices
#
# CONFIG_NFC_SIM is not set
CONFIG_NFC_PN544=m
CONFIG_NFC_MICROREAD=m
CONFIG_NFC_MRVL=m
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_MMIO=m
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
#
# Bus devices
#
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
CONFIG_MTD=y
CONFIG_MTD_TESTS=m
CONFIG_MTD_REDBOOT_PARTS=y
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
CONFIG_MTD_REDBOOT_PARTS_READONLY=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_OF_PARTS=y
# CONFIG_MTD_AR7_PARTS is not set
#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=m
# CONFIG_MTD_BLOCK_RO is not set
CONFIG_FTL=y
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
CONFIG_INFTL=m
CONFIG_RFD_FTL=m
# CONFIG_SSFDC is not set
CONFIG_SM_FTL=m
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
CONFIG_MTD_JEDECPROBE=y
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 is not set
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_RAM=m
# CONFIG_MTD_ROM is not set
CONFIG_MTD_ABSENT=y
#
# Mapping drivers for chip access
#
CONFIG_MTD_COMPLEX_MAPPINGS=y
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_COMPAT=y
CONFIG_MTD_PHYSMAP_START=0x8000000
CONFIG_MTD_PHYSMAP_LEN=0
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
# CONFIG_MTD_PHYSMAP_OF is not set
# CONFIG_MTD_TS5500 is not set
# CONFIG_MTD_SBC_GXX is not set
# CONFIG_MTD_AMD76XROM is not set
CONFIG_MTD_ICHXROM=y
CONFIG_MTD_NETtel=m
CONFIG_MTD_L440GX=y
# CONFIG_MTD_GPIO_ADDR is not set
CONFIG_MTD_PLATRAM=m
# CONFIG_MTD_LATCH_ADDR is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
CONFIG_MTD_BLOCK2MTD=m
#
# Disk-On-Chip Device Drivers
#
CONFIG_MTD_DOCG3=m
CONFIG_BCH_CONST_M=14
CONFIG_BCH_CONST_T=4
CONFIG_MTD_NAND_ECC=m
# CONFIG_MTD_NAND_ECC_SMC is not set
CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_ECC_BCH is not set
# CONFIG_MTD_SM_COMMON is not set
CONFIG_MTD_NAND_DENALI=m
CONFIG_MTD_NAND_GPIO=m
CONFIG_MTD_NAND_IDS=m
CONFIG_MTD_NAND_DISKONCHIP=m
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE=y
# CONFIG_MTD_NAND_DOCG4 is not set
# CONFIG_MTD_NAND_CS553X is not set
# CONFIG_MTD_NAND_NANDSIM is not set
CONFIG_MTD_NAND_PLATFORM=m
# CONFIG_MTD_NAND_SH_FLCTL is not set
CONFIG_MTD_ONENAND=y
CONFIG_MTD_ONENAND_VERIFY_WRITE=y
CONFIG_MTD_ONENAND_GENERIC=m
# CONFIG_MTD_ONENAND_OTP is not set
# CONFIG_MTD_ONENAND_2X_PROGRAM is not set
#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
CONFIG_MTD_UBI_GLUEBI=y
CONFIG_OF=y
#
# Device Tree and Open Firmware support
#
CONFIG_OF_SELFTEST=y
CONFIG_OF_PROMTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_MTD=y
# CONFIG_PARPORT is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=m
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
CONFIG_BLK_DEV_CRYPTOLOOP=m
#
# DRBD disabled because PROC_FS or INET not selected
#
CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_OSD is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_CDROM_PKTCDVD_WCACHE=y
CONFIG_ATA_OVER_ETH=y
CONFIG_VIRTIO_BLK=m
CONFIG_BLK_DEV_HD=y
# CONFIG_BLK_DEV_RBD is not set
#
# Misc devices
#
CONFIG_AD525X_DPOT=m
CONFIG_AD525X_DPOT_I2C=m
CONFIG_DUMMY_IRQ=y
CONFIG_ICS932S401=y
# CONFIG_ATMEL_SSC is not set
CONFIG_ENCLOSURE_SERVICES=m
CONFIG_APDS9802ALS=y
CONFIG_ISL29003=y
CONFIG_ISL29020=m
CONFIG_SENSORS_TSL2550=y
CONFIG_SENSORS_BH1780=m
CONFIG_SENSORS_BH1770=y
CONFIG_SENSORS_APDS990X=y
CONFIG_HMC6352=m
CONFIG_DS1682=y
CONFIG_VMWARE_BALLOON=m
CONFIG_BMP085=y
CONFIG_BMP085_I2C=m
CONFIG_USB_SWITCH_FSA9480=m
CONFIG_SRAM=y
CONFIG_C2PORT=y
# CONFIG_C2PORT_DURAMAR_2150 is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
CONFIG_EEPROM_MAX6875=m
CONFIG_EEPROM_93CX6=y
#
# Texas Instruments shared transport line discipline
#
#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set
#
# Intel MIC Host Driver
#
#
# Intel MIC Card Driver
#
CONFIG_HAVE_IDE=y
CONFIG_IDE=m
#
# Please see Documentation/ide/ide.txt for help/info on IDE drives
#
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_TIMINGS=y
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_IDE_GD is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS is not set
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_IDE_TASK_IOCTL=y
#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
CONFIG_BLK_DEV_PLATFORM=m
CONFIG_BLK_DEV_CMD640=m
CONFIG_BLK_DEV_CMD640_ENHANCED=y
# CONFIG_BLK_DEV_IDEDMA is not set
#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=m
CONFIG_SCSI_NETLINK=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
# CONFIG_CHR_DEV_SG is not set
CONFIG_CHR_DEV_SCH=y
CONFIG_SCSI_ENCLOSURE=m
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_FC_TGT_ATTRS is not set
CONFIG_SCSI_ISCSI_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
CONFIG_SCSI_SAS_HOST_SMP=y
CONFIG_SCSI_SRP_ATTRS=m
CONFIG_SCSI_SRP_TGT_ATTRS=y
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
CONFIG_ISCSI_BOOT_SYSFS=y
# CONFIG_SCSI_UFSHCD is not set
CONFIG_LIBFC=m
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_VIRTIO=y
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_RDAC=y
CONFIG_SCSI_DH_HP_SW=y
CONFIG_SCSI_DH_EMC=y
CONFIG_SCSI_DH_ALUA=m
CONFIG_SCSI_OSD_INITIATOR=y
CONFIG_SCSI_OSD_ULD=y
CONFIG_SCSI_OSD_DPRINT_SENSE=1
CONFIG_SCSI_OSD_DEBUG=y
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
# CONFIG_ATA_VERBOSE_ERROR is not set
# CONFIG_SATA_PMP is not set
#
# Controllers with non-SFF native interface
#
# CONFIG_SATA_AHCI_PLATFORM is not set
CONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#
CONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#
CONFIG_SATA_HIGHBANK=m
# CONFIG_SATA_MV is not set
# CONFIG_SATA_RCAR is not set
#
# PATA SFF controllers with BMDMA
#
CONFIG_PATA_ARASAN_CF=y
#
# PIO-only SFF controllers
#
CONFIG_PATA_PLATFORM=m
# CONFIG_PATA_OF_PLATFORM is not set
#
# Generic fallback / legacy drivers
#
# CONFIG_MD is not set
CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
# CONFIG_TCM_FILEIO is not set
# CONFIG_TCM_PSCSI is not set
CONFIG_LOOPBACK_TARGET=m
CONFIG_TCM_FC=m
CONFIG_ISCSI_TARGET=m
CONFIG_MACINTOSH_DRIVERS=y
# CONFIG_NETDEVICES is not set
CONFIG_VHOST_NET=y
CONFIG_VHOST_SCSI=m
CONFIG_VHOST_RING=y
CONFIG_VHOST=y
#
# Input device support
#
# CONFIG_INPUT is not set
#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_CT82C710 is not set
CONFIG_SERIO_LIBPS2=m
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
CONFIG_SERIO_ARC_PS2=m
# CONFIG_SERIO_APBPS2 is not set
CONFIG_SERIO_OLPC_APSP=y
CONFIG_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
#
# Character devices
#
# CONFIG_TTY is not set
CONFIG_DEVKMEM=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=m
CONFIG_PC8736x_GPIO=y
CONFIG_NSC_GPIO=y
CONFIG_RAW_DRIVER=m
CONFIG_MAX_RAW_DEVS=256
CONFIG_HANGCHECK_TIMER=y
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_MUX=m
#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
# CONFIG_I2C_HELPER_AUTO is not set
CONFIG_I2C_SMBUS=m
#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=m
# CONFIG_I2C_ALGOPCA is not set
#
# I2C Hardware Bus support
#
#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
CONFIG_I2C_GPIO=m
CONFIG_I2C_KEMPLD=y
CONFIG_I2C_OCORES=m
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
CONFIG_I2C_RIIC=m
# CONFIG_I2C_SH_MOBILE is not set
# CONFIG_I2C_SIMTEC is not set
CONFIG_I2C_XILINX=m
# CONFIG_I2C_RCAR is not set
#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_PARPORT_LIGHT=m
#
# Other I2C/SMBus bus drivers
#
CONFIG_I2C_STUB=m
# CONFIG_I2C_DEBUG_CORE is not set
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
# CONFIG_SPI is not set
CONFIG_SPMI=y
CONFIG_HSI=y
CONFIG_HSI_BOARDINFO=y
#
# HSI clients
#
CONFIG_HSI_CHAR=m
#
# PPS support
#
CONFIG_PPS=m
# CONFIG_PPS_DEBUG is not set
#
# PPS clients support
#
CONFIG_PPS_CLIENT_KTIMER=m
CONFIG_PPS_CLIENT_GPIO=m
#
# PPS generators support
#
#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=m
#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PTP_1588_CLOCK_PCH=m
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_OF_GPIO=y
CONFIG_DEBUG_GPIO=y
# CONFIG_GPIO_SYSFS is not set
CONFIG_GPIO_GENERIC=m
# CONFIG_GPIO_DA9052 is not set
CONFIG_GPIO_DA9055=m
CONFIG_GPIO_MAX730X=y
#
# Memory mapped GPIO drivers:
#
CONFIG_GPIO_CLPS711X=m
# CONFIG_GPIO_GENERIC_PLATFORM is not set
CONFIG_GPIO_IT8761E=m
CONFIG_GPIO_F7188X=m
CONFIG_GPIO_SCH311X=m
# CONFIG_GPIO_TS5500 is not set
CONFIG_GPIO_GRGPIO=m
#
# I2C GPIO expanders:
#
CONFIG_GPIO_ARIZONA=m
CONFIG_GPIO_LP3943=m
CONFIG_GPIO_MAX7300=y
# CONFIG_GPIO_MAX732X is not set
CONFIG_GPIO_PCA953X=y
# CONFIG_GPIO_PCA953X_IRQ is not set
CONFIG_GPIO_PCF857X=y
CONFIG_GPIO_SX150X=y
CONFIG_GPIO_TPS65912=y
CONFIG_GPIO_TWL4030=m
CONFIG_GPIO_ADP5520=y
CONFIG_GPIO_ADP5588=m
CONFIG_GPIO_ADNP=m
#
# PCI GPIO expanders:
#
#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MCP23S08 is not set
#
# AC97 GPIO expanders:
#
#
# LPC GPIO expanders:
#
CONFIG_GPIO_KEMPLD=m
#
# MODULbus GPIO expanders:
#
CONFIG_GPIO_TPS6586X=y
CONFIG_GPIO_BCM_KONA=y
#
# USB GPIO expanders:
#
CONFIG_W1=y
# CONFIG_W1_CON is not set
#
# 1-wire Bus Masters
#
CONFIG_W1_MASTER_DS2482=m
# CONFIG_W1_MASTER_DS1WM is not set
CONFIG_W1_MASTER_GPIO=y
#
# 1-wire Slaves
#
CONFIG_W1_SLAVE_THERM=y
# CONFIG_W1_SLAVE_SMEM is not set
CONFIG_W1_SLAVE_DS2408=m
# CONFIG_W1_SLAVE_DS2408_READBACK is not set
CONFIG_W1_SLAVE_DS2413=m
# CONFIG_W1_SLAVE_DS2423 is not set
CONFIG_W1_SLAVE_DS2431=m
CONFIG_W1_SLAVE_DS2433=m
# CONFIG_W1_SLAVE_DS2433_CRC is not set
CONFIG_W1_SLAVE_DS2760=m
CONFIG_W1_SLAVE_DS2780=m
CONFIG_W1_SLAVE_DS2781=y
CONFIG_W1_SLAVE_DS28E04=m
# CONFIG_W1_SLAVE_BQ27000 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
CONFIG_PDA_POWER=y
# CONFIG_GENERIC_ADC_BATTERY is not set
CONFIG_TEST_POWER=y
# CONFIG_BATTERY_DS2760 is not set
CONFIG_BATTERY_DS2780=m
CONFIG_BATTERY_DS2781=y
CONFIG_BATTERY_DS2782=y
CONFIG_BATTERY_OLPC=m
# CONFIG_BATTERY_SBS is not set
CONFIG_BATTERY_BQ27x00=m
CONFIG_BATTERY_BQ27X00_I2C=y
CONFIG_BATTERY_BQ27X00_PLATFORM=y
CONFIG_BATTERY_DA9052=m
CONFIG_BATTERY_MAX17040=m
CONFIG_BATTERY_MAX17042=m
# CONFIG_BATTERY_TWL4030_MADC is not set
CONFIG_CHARGER_PCF50633=m
CONFIG_BATTERY_RX51=m
# CONFIG_CHARGER_ISP1704 is not set
# CONFIG_CHARGER_MAX8903 is not set
CONFIG_CHARGER_TWL4030=y
CONFIG_CHARGER_LP8727=m
# CONFIG_CHARGER_GPIO is not set
CONFIG_CHARGER_MAX14577=m
CONFIG_CHARGER_BQ2415X=y
CONFIG_CHARGER_BQ24190=y
# CONFIG_CHARGER_BQ24735 is not set
CONFIG_CHARGER_SMB347=y
CONFIG_CHARGER_TPS65090=m
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_POWER_RESET is not set
CONFIG_POWER_AVS=y
CONFIG_HWMON=m
CONFIG_HWMON_VID=m
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#
CONFIG_SENSORS_ABITUGURU=m
CONFIG_SENSORS_ABITUGURU3=m
CONFIG_SENSORS_AD7414=m
# CONFIG_SENSORS_AD7418 is not set
CONFIG_SENSORS_ADM1021=m
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
CONFIG_SENSORS_ADM1029=m
CONFIG_SENSORS_ADM1031=m
# CONFIG_SENSORS_ADM9240 is not set
CONFIG_SENSORS_ADT7X10=m
CONFIG_SENSORS_ADT7410=m
CONFIG_SENSORS_ADT7411=m
CONFIG_SENSORS_ADT7462=m
CONFIG_SENSORS_ADT7470=m
CONFIG_SENSORS_ADT7475=m
CONFIG_SENSORS_ASC7621=m
# CONFIG_SENSORS_ASB100 is not set
CONFIG_SENSORS_ATXP1=m
CONFIG_SENSORS_DS620=m
CONFIG_SENSORS_DS1621=m
CONFIG_SENSORS_DA9052_ADC=m
CONFIG_SENSORS_DA9055=m
CONFIG_SENSORS_F71805F=m
CONFIG_SENSORS_F71882FG=m
# CONFIG_SENSORS_F75375S is not set
CONFIG_SENSORS_FSCHMD=m
CONFIG_SENSORS_GL518SM=m
# CONFIG_SENSORS_GL520SM is not set
CONFIG_SENSORS_G760A=m
CONFIG_SENSORS_G762=m
CONFIG_SENSORS_GPIO_FAN=m
CONFIG_SENSORS_HIH6130=m
CONFIG_SENSORS_IIO_HWMON=m
CONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IT87 is not set
CONFIG_SENSORS_JC42=m
CONFIG_SENSORS_LINEAGE=m
CONFIG_SENSORS_LTC2945=m
CONFIG_SENSORS_LTC4151=m
CONFIG_SENSORS_LTC4215=m
# CONFIG_SENSORS_LTC4222 is not set
CONFIG_SENSORS_LTC4245=m
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
CONFIG_SENSORS_MAX16065=m
CONFIG_SENSORS_MAX1619=m
CONFIG_SENSORS_MAX1668=m
CONFIG_SENSORS_MAX197=m
CONFIG_SENSORS_MAX6639=m
CONFIG_SENSORS_MAX6642=m
CONFIG_SENSORS_MAX6650=m
CONFIG_SENSORS_MAX6697=m
# CONFIG_SENSORS_HTU21 is not set
CONFIG_SENSORS_MCP3021=m
CONFIG_SENSORS_LM63=m
CONFIG_SENSORS_LM73=m
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_LM92=m
CONFIG_SENSORS_LM93=m
CONFIG_SENSORS_LM95234=m
# CONFIG_SENSORS_LM95241 is not set
CONFIG_SENSORS_LM95245=m
# CONFIG_SENSORS_PC87360 is not set
CONFIG_SENSORS_PC87427=m
# CONFIG_SENSORS_NTC_THERMISTOR is not set
CONFIG_SENSORS_NCT6775=m
# CONFIG_SENSORS_PCF8591 is not set
CONFIG_PMBUS=m
# CONFIG_SENSORS_PMBUS is not set
CONFIG_SENSORS_ADM1275=m
CONFIG_SENSORS_LM25066=m
CONFIG_SENSORS_LTC2978=m
# CONFIG_SENSORS_MAX16064 is not set
CONFIG_SENSORS_MAX34440=m
CONFIG_SENSORS_MAX8688=m
CONFIG_SENSORS_UCD9000=m
CONFIG_SENSORS_UCD9200=m
CONFIG_SENSORS_ZL6100=m
CONFIG_SENSORS_SHT15=m
# CONFIG_SENSORS_SHT21 is not set
CONFIG_SENSORS_DME1737=m
CONFIG_SENSORS_EMC1403=m
CONFIG_SENSORS_EMC2103=m
# CONFIG_SENSORS_EMC6W201 is not set
CONFIG_SENSORS_SMSC47M1=m
# CONFIG_SENSORS_SMSC47M192 is not set
CONFIG_SENSORS_SMSC47B397=m
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
CONFIG_SENSORS_AMC6821=m
CONFIG_SENSORS_INA209=m
# CONFIG_SENSORS_INA2XX is not set
CONFIG_SENSORS_THMC50=m
CONFIG_SENSORS_TMP102=m
CONFIG_SENSORS_TMP401=m
CONFIG_SENSORS_TMP421=m
# CONFIG_SENSORS_TWL4030_MADC is not set
CONFIG_SENSORS_VIA_CPUTEMP=m
CONFIG_SENSORS_VT1211=m
CONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
CONFIG_SENSORS_W83792D=m
CONFIG_SENSORS_W83793=m
CONFIG_SENSORS_W83795=m
# CONFIG_SENSORS_W83795_FANCTRL is not set
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83L786NG=m
CONFIG_SENSORS_W83627HF=m
CONFIG_SENSORS_W83627EHF=m
CONFIG_THERMAL=m
CONFIG_THERMAL_HWMON=y
CONFIG_THERMAL_OF=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_USER_SPACE=y
CONFIG_THERMAL_EMULATION=y
CONFIG_RCAR_THERMAL=m
# CONFIG_INTEL_POWERCLAMP is not set
#
# Texas Instruments thermal drivers
#
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
CONFIG_SSB=m
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_SILENT is not set
# CONFIG_SSB_DEBUG is not set
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#
CONFIG_BCMA=y
CONFIG_BCMA_HOST_SOC=y
CONFIG_BCMA_DRIVER_GMAC_CMN=y
CONFIG_BCMA_DRIVER_GPIO=y
CONFIG_BCMA_DEBUG=y
#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_AS3722 is not set
CONFIG_PMIC_ADP5520=y
# CONFIG_MFD_AAT2870_CORE is not set
CONFIG_MFD_CROS_EC=y
CONFIG_MFD_CROS_EC_I2C=y
# CONFIG_PMIC_DA903X is not set
CONFIG_PMIC_DA9052=y
CONFIG_MFD_DA9052_I2C=y
CONFIG_MFD_DA9055=y
CONFIG_MFD_DA9063=y
# CONFIG_MFD_MC13XXX_I2C is not set
CONFIG_HTC_PASIC3=y
CONFIG_HTC_I2CPLD=y
CONFIG_MFD_KEMPLD=y
# CONFIG_MFD_88PM800 is not set
CONFIG_MFD_88PM805=y
# CONFIG_MFD_88PM860X is not set
CONFIG_MFD_MAX14577=y
# CONFIG_MFD_MAX77686 is not set
CONFIG_MFD_MAX77693=y
CONFIG_MFD_MAX8907=y
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
CONFIG_MFD_RETU=m
CONFIG_MFD_PCF50633=m
CONFIG_PCF50633_ADC=m
CONFIG_PCF50633_GPIO=m
# CONFIG_MFD_RC5T583 is not set
CONFIG_MFD_SEC_CORE=y
CONFIG_MFD_SI476X_CORE=y
CONFIG_MFD_SM501=m
CONFIG_MFD_SM501_GPIO=y
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
CONFIG_MFD_LP3943=m
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
CONFIG_TPS65010=y
CONFIG_TPS6507X=y
CONFIG_MFD_TPS65090=y
# CONFIG_MFD_TPS65217 is not set
CONFIG_MFD_TPS6586X=y
# CONFIG_MFD_TPS65910 is not set
CONFIG_MFD_TPS65912=y
CONFIG_MFD_TPS65912_I2C=y
# CONFIG_MFD_TPS80031 is not set
CONFIG_TWL4030_CORE=y
CONFIG_TWL4030_MADC=m
CONFIG_MFD_TWL4030_AUDIO=y
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
CONFIG_MFD_ARIZONA=y
CONFIG_MFD_ARIZONA_I2C=y
CONFIG_MFD_WM5102=y
CONFIG_MFD_WM5110=y
CONFIG_MFD_WM8997=y
CONFIG_MFD_WM8400=y
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
CONFIG_REGULATOR=y
CONFIG_REGULATOR_DEBUG=y
CONFIG_REGULATOR_FIXED_VOLTAGE=m
CONFIG_REGULATOR_VIRTUAL_CONSUMER=m
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
CONFIG_REGULATOR_ACT8865=m
CONFIG_REGULATOR_AD5398=m
# CONFIG_REGULATOR_ARIZONA is not set
CONFIG_REGULATOR_DA9052=m
CONFIG_REGULATOR_DA9055=m
# CONFIG_REGULATOR_DA9063 is not set
CONFIG_REGULATOR_DA9210=m
CONFIG_REGULATOR_FAN53555=y
# CONFIG_REGULATOR_GPIO is not set
CONFIG_REGULATOR_ISL6271A=y
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
CONFIG_REGULATOR_LP872X=m
CONFIG_REGULATOR_LP8755=y
CONFIG_REGULATOR_MAX14577=y
CONFIG_REGULATOR_MAX1586=m
CONFIG_REGULATOR_MAX8649=y
CONFIG_REGULATOR_MAX8660=m
CONFIG_REGULATOR_MAX8907=m
CONFIG_REGULATOR_MAX8952=m
CONFIG_REGULATOR_MAX8973=m
# CONFIG_REGULATOR_MAX77693 is not set
CONFIG_REGULATOR_PCF50633=m
CONFIG_REGULATOR_PFUZE100=y
CONFIG_REGULATOR_S2MPS11=y
# CONFIG_REGULATOR_S5M8767 is not set
CONFIG_REGULATOR_TPS51632=y
CONFIG_REGULATOR_TPS62360=m
CONFIG_REGULATOR_TPS65023=m
CONFIG_REGULATOR_TPS6507X=y
CONFIG_REGULATOR_TPS65090=m
CONFIG_REGULATOR_TPS6586X=m
CONFIG_REGULATOR_TPS65912=y
CONFIG_REGULATOR_TWL4030=m
CONFIG_REGULATOR_WM8400=m
CONFIG_MEDIA_SUPPORT=m
#
# Multimedia core support
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
CONFIG_MEDIA_RADIO_SUPPORT=y
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2=m
CONFIG_VIDEO_ADV_DEBUG=y
CONFIG_VIDEO_FIXED_MINOR_RANGES=y
CONFIG_VIDEOBUF2_CORE=m
CONFIG_VIDEOBUF2_MEMOPS=m
CONFIG_VIDEOBUF2_VMALLOC=m
# CONFIG_TTPCI_EEPROM is not set
#
# Media drivers
#
# CONFIG_V4L_PLATFORM_DRIVERS is not set
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
# CONFIG_V4L_TEST_DRIVERS is not set
#
# Supported MMC/SDIO adapters
#
# CONFIG_RADIO_ADAPTERS is not set
#
# Media ancillary drivers (tuners, sensors, i2c, frontends)
#
CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
CONFIG_MEDIA_ATTACH=y
#
# Audio decoders, processors and mixers
#
#
# RDS decoders
#
#
# Video decoders
#
#
# Video and audio decoders
#
#
# Video encoders
#
#
# Camera sensor devices
#
#
# Flash devices
#
#
# Video improvement chips
#
#
# Audio/Video compression chips
#
#
# Miscellaneous helper chips
#
#
# Sensors used on soc_camera driver
#
CONFIG_MEDIA_TUNER=m
CONFIG_MEDIA_TUNER_SIMPLE=m
CONFIG_MEDIA_TUNER_TDA8290=m
CONFIG_MEDIA_TUNER_TDA827X=m
CONFIG_MEDIA_TUNER_TDA18271=m
CONFIG_MEDIA_TUNER_TDA9887=m
CONFIG_MEDIA_TUNER_TEA5761=m
CONFIG_MEDIA_TUNER_TEA5767=m
CONFIG_MEDIA_TUNER_MT20XX=m
CONFIG_MEDIA_TUNER_XC2028=m
CONFIG_MEDIA_TUNER_XC5000=m
CONFIG_MEDIA_TUNER_XC4000=m
CONFIG_MEDIA_TUNER_MC44S803=m
#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
#
# Graphics support
#
CONFIG_DRM=y
# CONFIG_DRM_UDL is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_HDMI=y
CONFIG_FB=m
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
CONFIG_FB_ARC=m
# CONFIG_FB_VGA16 is not set
CONFIG_FB_UVESA=m
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
CONFIG_FB_OPENCORES=m
CONFIG_FB_S1D13XXX=m
CONFIG_FB_TMIO=m
# CONFIG_FB_TMIO_ACCELL is not set
CONFIG_FB_SM501=m
CONFIG_FB_GOLDFISH=m
# CONFIG_FB_VIRTUAL is not set
CONFIG_FB_METRONOME=m
CONFIG_FB_BROADSHEET=m
CONFIG_FB_AUO_K190X=m
CONFIG_FB_AUO_K1900=m
CONFIG_FB_AUO_K1901=m
CONFIG_EXYNOS_VIDEO=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_LCD_PLATFORM=m
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
CONFIG_BACKLIGHT_PWM=m
CONFIG_BACKLIGHT_DA9052=y
CONFIG_BACKLIGHT_SAHARA=y
CONFIG_BACKLIGHT_ADP5520=y
CONFIG_BACKLIGHT_ADP8860=m
CONFIG_BACKLIGHT_ADP8870=y
CONFIG_BACKLIGHT_PCF50633=m
# CONFIG_BACKLIGHT_LM3630A is not set
# CONFIG_BACKLIGHT_LM3639 is not set
CONFIG_BACKLIGHT_LP855X=y
CONFIG_BACKLIGHT_PANDORA=y
CONFIG_BACKLIGHT_GPIO=m
CONFIG_BACKLIGHT_LV5207LP=y
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_LOGO is not set
CONFIG_FB_SSD1307=m
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_DMAENGINE_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=m
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_PCM_OSS_PLUGINS is not set
# CONFIG_SND_HRTIMER is not set
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_DMA_SGBUF=y
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
CONFIG_SND_SOC=m
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
CONFIG_SND_SOC_ADI=m
CONFIG_SND_SOC_ADI_AXI_I2S=m
CONFIG_SND_SOC_ADI_AXI_SPDIF=m
CONFIG_SND_ATMEL_SOC=m
# CONFIG_SND_BCM2835_SOC_I2S is not set
CONFIG_SND_EP93XX_SOC=m
CONFIG_SND_SOC_FSL_SSI=m
CONFIG_SND_IMX_SOC=m
CONFIG_SND_SOC_IMX_PCM_DMA=m
CONFIG_SND_SOC_IMX_AUDMUX=m
# CONFIG_SND_SOC_IMX_WM8962 is not set
CONFIG_SND_SOC_IMX_SGTL5000=m
# CONFIG_SND_SOC_IMX_SPDIF is not set
CONFIG_SND_KIRKWOOD_SOC=m
CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB=m
# CONFIG_SND_KIRKWOOD_SOC_OPENRD is not set
CONFIG_SND_KIRKWOOD_SOC_T5325=m
CONFIG_SND_SOC_I2C_AND_SPI=m
#
# CODEC drivers
#
CONFIG_SND_SOC_ALL_CODECS=m
CONFIG_SND_SOC_ARIZONA=m
CONFIG_SND_SOC_WM_HUBS=m
CONFIG_SND_SOC_WM_ADSP=m
CONFIG_SND_SOC_AD193X=m
CONFIG_SND_SOC_AD73311=m
CONFIG_SND_SOC_ADAU1701=m
CONFIG_SND_SOC_ADAU1373=m
CONFIG_SND_SOC_ADAV80X=m
CONFIG_SND_SOC_ADAV803=m
CONFIG_SND_SOC_ADS117X=m
CONFIG_SND_SOC_AK4535=m
CONFIG_SND_SOC_AK4554=m
CONFIG_SND_SOC_AK4641=m
CONFIG_SND_SOC_AK4642=m
CONFIG_SND_SOC_AK4671=m
CONFIG_SND_SOC_AK5386=m
CONFIG_SND_SOC_ALC5623=m
CONFIG_SND_SOC_ALC5632=m
CONFIG_SND_SOC_CS42L51=m
CONFIG_SND_SOC_CS42L52=m
CONFIG_SND_SOC_CS42L73=m
CONFIG_SND_SOC_CS4270=m
CONFIG_SND_SOC_CS4271=m
CONFIG_SND_SOC_JZ4740_CODEC=m
CONFIG_SND_SOC_L3=m
CONFIG_SND_SOC_DA7210=m
CONFIG_SND_SOC_DA7213=m
CONFIG_SND_SOC_DA732X=m
CONFIG_SND_SOC_DA9055=m
CONFIG_SND_SOC_BT_SCO=m
CONFIG_SND_SOC_HDMI_CODEC=m
CONFIG_SND_SOC_ISABELLE=m
CONFIG_SND_SOC_LM49453=m
CONFIG_SND_SOC_MAX98088=m
CONFIG_SND_SOC_MAX98090=m
CONFIG_SND_SOC_MAX98095=m
CONFIG_SND_SOC_MAX9850=m
CONFIG_SND_SOC_PCM1681=m
CONFIG_SND_SOC_PCM3008=m
CONFIG_SND_SOC_PCM512x=m
CONFIG_SND_SOC_RT5631=m
CONFIG_SND_SOC_RT5640=m
CONFIG_SND_SOC_SGTL5000=m
CONFIG_SND_SOC_SI476X=m
CONFIG_SND_SOC_SIGMADSP=m
CONFIG_SND_SOC_SPDIF=m
CONFIG_SND_SOC_SSM2518=m
CONFIG_SND_SOC_SSM2602=m
CONFIG_SND_SOC_SSM2602_I2C=m
CONFIG_SND_SOC_STA32X=m
CONFIG_SND_SOC_STA529=m
CONFIG_SND_SOC_TAS5086=m
CONFIG_SND_SOC_TLV320AIC23=m
CONFIG_SND_SOC_TLV320AIC32X4=m
CONFIG_SND_SOC_TLV320AIC3X=m
CONFIG_SND_SOC_TLV320DAC33=m
CONFIG_SND_SOC_TWL4030=m
CONFIG_SND_SOC_UDA134X=m
CONFIG_SND_SOC_UDA1380=m
CONFIG_SND_SOC_WM1250_EV1=m
CONFIG_SND_SOC_WM2000=m
CONFIG_SND_SOC_WM2200=m
CONFIG_SND_SOC_WM5100=m
CONFIG_SND_SOC_WM5102=m
CONFIG_SND_SOC_WM5110=m
CONFIG_SND_SOC_WM8400=m
CONFIG_SND_SOC_WM8510=m
CONFIG_SND_SOC_WM8523=m
CONFIG_SND_SOC_WM8580=m
CONFIG_SND_SOC_WM8711=m
CONFIG_SND_SOC_WM8727=m
CONFIG_SND_SOC_WM8728=m
CONFIG_SND_SOC_WM8731=m
CONFIG_SND_SOC_WM8737=m
CONFIG_SND_SOC_WM8741=m
CONFIG_SND_SOC_WM8750=m
CONFIG_SND_SOC_WM8753=m
CONFIG_SND_SOC_WM8776=m
CONFIG_SND_SOC_WM8782=m
CONFIG_SND_SOC_WM8804=m
CONFIG_SND_SOC_WM8900=m
CONFIG_SND_SOC_WM8903=m
CONFIG_SND_SOC_WM8904=m
CONFIG_SND_SOC_WM8940=m
CONFIG_SND_SOC_WM8955=m
CONFIG_SND_SOC_WM8960=m
CONFIG_SND_SOC_WM8961=m
CONFIG_SND_SOC_WM8962=m
CONFIG_SND_SOC_WM8971=m
CONFIG_SND_SOC_WM8974=m
CONFIG_SND_SOC_WM8978=m
CONFIG_SND_SOC_WM8983=m
CONFIG_SND_SOC_WM8985=m
CONFIG_SND_SOC_WM8988=m
CONFIG_SND_SOC_WM8990=m
CONFIG_SND_SOC_WM8991=m
CONFIG_SND_SOC_WM8993=m
CONFIG_SND_SOC_WM8995=m
CONFIG_SND_SOC_WM8996=m
CONFIG_SND_SOC_WM8997=m
CONFIG_SND_SOC_WM9081=m
CONFIG_SND_SOC_WM9090=m
CONFIG_SND_SOC_LM4857=m
CONFIG_SND_SOC_MAX9768=m
CONFIG_SND_SOC_MAX9877=m
CONFIG_SND_SOC_ML26124=m
CONFIG_SND_SOC_TPA6130A2=m
CONFIG_SND_SIMPLE_CARD=m
# CONFIG_SOUND_PRIME is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=m
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB is not set
# CONFIG_USB_MUSB_HDRC is not set
CONFIG_USB_DWC3=m
CONFIG_USB_DWC3_GADGET=y
#
# Platform Glue Driver Support
#
# CONFIG_USB_DWC3_OMAP is not set
CONFIG_USB_DWC3_EXYNOS=m
# CONFIG_USB_DWC3_KEYSTONE is not set
#
# Debugging features
#
# CONFIG_USB_DWC3_DEBUG is not set
CONFIG_USB_CHIPIDEA=m
# CONFIG_USB_CHIPIDEA_UDC is not set
# CONFIG_USB_CHIPIDEA_DEBUG is not set
#
# USB port drivers
#
#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_KEYSTONE_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_OMAP_CONTROL_USB=m
# CONFIG_OMAP_USB3 is not set
CONFIG_AM335X_CONTROL_USB=m
CONFIG_AM335X_PHY_USB=m
CONFIG_SAMSUNG_USBPHY=y
# CONFIG_SAMSUNG_USB2PHY is not set
CONFIG_SAMSUNG_USB3PHY=y
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_TAHVO_USB is not set
CONFIG_USB_ISP1301=m
# CONFIG_USB_RCAR_PHY is not set
CONFIG_USB_RCAR_GEN2_PHY=m
CONFIG_USB_GADGET=m
CONFIG_USB_GADGET_DEBUG=y
# CONFIG_USB_GADGET_VERBOSE is not set
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
#
# USB Peripheral Controller
#
CONFIG_USB_FUSB300=m
CONFIG_USB_FOTG210_UDC=m
CONFIG_USB_GR_UDC=m
CONFIG_USB_R8A66597=m
CONFIG_USB_PXA27X=m
CONFIG_USB_MV_UDC=m
CONFIG_USB_MV_U3D=m
CONFIG_USB_M66592=m
# CONFIG_USB_NET2272 is not set
CONFIG_USB_LIBCOMPOSITE=m
CONFIG_USB_F_SS_LB=m
CONFIG_USB_U_ETHER=m
CONFIG_USB_F_NCM=m
CONFIG_USB_F_ECM=m
CONFIG_USB_F_EEM=m
CONFIG_USB_F_SUBSET=m
CONFIG_USB_F_RNDIS=m
CONFIG_USB_F_FS=m
CONFIG_USB_CONFIGFS=m
CONFIG_USB_CONFIGFS_NCM=y
# CONFIG_USB_CONFIGFS_ECM is not set
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
# CONFIG_USB_CONFIGFS_MASS_STORAGE is not set
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_ZERO=m
CONFIG_USB_AUDIO=m
# CONFIG_GADGET_UAC1 is not set
CONFIG_USB_ETH=m
# CONFIG_USB_ETH_RNDIS is not set
CONFIG_USB_ETH_EEM=y
CONFIG_USB_G_NCM=m
CONFIG_USB_GADGETFS=m
CONFIG_USB_FUNCTIONFS=m
# CONFIG_USB_FUNCTIONFS_ETH is not set
CONFIG_USB_FUNCTIONFS_RNDIS=y
# CONFIG_USB_FUNCTIONFS_GENERIC is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_GADGET_TARGET is not set
CONFIG_USB_MIDI_GADGET=m
CONFIG_USB_G_PRINTER=m
CONFIG_USB_G_HID=m
CONFIG_USB_G_WEBCAM=m
CONFIG_MMC=y
CONFIG_MMC_DEBUG=y
# CONFIG_MMC_CLKGATE is not set
#
# MMC/SD/SDIO Card Drivers
#
# CONFIG_MMC_BLOCK is not set
CONFIG_MMC_TEST=m
#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMC_SDHCI_OF_ARASAN=m
CONFIG_MMC_OMAP_HS=m
CONFIG_MMC_WBSD=m
# CONFIG_MMC_GOLDFISH is not set
CONFIG_MEMSTICK=m
# CONFIG_MEMSTICK_DEBUG is not set
#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MSPRO_BLOCK is not set
# CONFIG_MS_BLOCK is not set
#
# MemoryStick Host Controller Drivers
#
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
#
# LED drivers
#
CONFIG_LEDS_LM3530=m
CONFIG_LEDS_LM3642=m
CONFIG_LEDS_GPIO=m
# CONFIG_LEDS_LP3944 is not set
CONFIG_LEDS_LP55XX_COMMON=y
CONFIG_LEDS_LP5521=y
CONFIG_LEDS_LP5523=y
# CONFIG_LEDS_LP5562 is not set
CONFIG_LEDS_LP8501=m
CONFIG_LEDS_PCA955X=y
CONFIG_LEDS_PCA963X=m
# CONFIG_LEDS_PCA9685 is not set
CONFIG_LEDS_DA9052=m
CONFIG_LEDS_PWM=y
# CONFIG_LEDS_REGULATOR is not set
CONFIG_LEDS_BD2802=y
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_ADP5520 is not set
CONFIG_LEDS_TCA6507=m
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_OT200 is not set
CONFIG_LEDS_BLINKM=m
#
# LED Triggers
#
# CONFIG_LEDS_TRIGGERS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
# CONFIG_RTC_CLASS is not set
CONFIG_DMADEVICES=y
CONFIG_DMADEVICES_DEBUG=y
CONFIG_DMADEVICES_VDEBUG=y
#
# DMA Devices
#
CONFIG_DW_DMAC_CORE=y
CONFIG_DW_DMAC=y
CONFIG_TIMB_DMA=y
# CONFIG_FSL_EDMA is not set
CONFIG_DMA_ENGINE=y
CONFIG_DMA_OF=y
#
# DMA Clients
#
# CONFIG_ASYNC_TX_DMA is not set
CONFIG_DMATEST=y
CONFIG_AUXDISPLAY=y
CONFIG_UIO=m
CONFIG_UIO_PDRV_GENIRQ=m
CONFIG_UIO_DMEM_GENIRQ=m
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO=y
#
# Virtio drivers
#
# CONFIG_VIRTIO_BALLOON is not set
CONFIG_VIRTIO_MMIO=m
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_XO1_RFKILL=m
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_GOLDFISH_PIPE is not set
CONFIG_CHROME_PLATFORMS=y
# CONFIG_CHROMEOS_LAPTOP is not set
CONFIG_CHROMEOS_PSTORE=m
#
# Hardware Spinlock drivers
#
CONFIG_CLKSRC_I8253=y
CONFIG_CLKEVT_I8253=y
CONFIG_CLKBLD_I8253=y
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set
#
# Remoteproc drivers
#
CONFIG_REMOTEPROC=y
CONFIG_STE_MODEM_RPROC=y
#
# Rpmsg drivers
#
CONFIG_PM_DEVFREQ=y
#
# DEVFREQ Governors
#
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m
CONFIG_DEVFREQ_GOV_PERFORMANCE=m
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
CONFIG_DEVFREQ_GOV_USERSPACE=m
#
# DEVFREQ Drivers
#
CONFIG_EXTCON=y
#
# Extcon Device Drivers
#
CONFIG_OF_EXTCON=y
CONFIG_EXTCON_GPIO=m
CONFIG_EXTCON_ADC_JACK=m
CONFIG_EXTCON_MAX14577=y
# CONFIG_MEMORY is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
#
# Accelerometers
#
CONFIG_BMA180=y
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
#
# Analog to digital converters
#
CONFIG_EXYNOS_ADC=y
CONFIG_MAX1363=y
CONFIG_MCP3422=y
CONFIG_NAU7802=m
# CONFIG_TI_ADC081C is not set
CONFIG_TWL6030_GPADC=m
#
# Amplifiers
#
#
# Hid Sensor IIO Common
#
CONFIG_IIO_ST_SENSORS_I2C=m
CONFIG_IIO_ST_SENSORS_CORE=m
#
# Digital to analog converters
#
CONFIG_AD5064=y
CONFIG_AD5380=m
# CONFIG_AD5446 is not set
CONFIG_MAX517=m
CONFIG_MCP4725=y
#
# Frequency Synthesizers DDS/PLL
#
#
# Clock Generator/Distribution
#
#
# Phase-Locked Loop (PLL) frequency synthesizers
#
#
# Digital gyroscope sensors
#
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_ITG3200 is not set
#
# Humidity sensors
#
CONFIG_DHT11=m
# CONFIG_SI7005 is not set
#
# Inertial measurement units
#
CONFIG_INV_MPU6050_IIO=y
#
# Light sensors
#
CONFIG_ADJD_S311=y
# CONFIG_APDS9300 is not set
# CONFIG_CM32181 is not set
# CONFIG_CM36651 is not set
CONFIG_GP2AP020A00F=y
CONFIG_LTR501=m
CONFIG_TCS3472=y
CONFIG_SENSORS_TSL2563=y
# CONFIG_TSL4531 is not set
CONFIG_VCNL4000=m
#
# Magnetometer sensors
#
CONFIG_AK8975=y
CONFIG_MAG3110=y
CONFIG_IIO_ST_MAGN_3AXIS=m
CONFIG_IIO_ST_MAGN_I2C_3AXIS=m
#
# Inclinometer sensors
#
#
# Triggers - standalone
#
CONFIG_IIO_INTERRUPT_TRIGGER=m
CONFIG_IIO_SYSFS_TRIGGER=y
#
# Pressure sensors
#
CONFIG_MPL3115=y
CONFIG_IIO_ST_PRESS=m
CONFIG_IIO_ST_PRESS_I2C=m
#
# Temperature sensors
#
CONFIG_TMP006=m
CONFIG_PWM=y
CONFIG_PWM_SYSFS=y
CONFIG_PWM_LP3943=m
# CONFIG_PWM_PCA9685 is not set
CONFIG_PWM_RENESAS_TPU=y
# CONFIG_PWM_TWL is not set
# CONFIG_PWM_TWL_LED is not set
CONFIG_IRQCHIP=y
# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
CONFIG_FMC=m
# CONFIG_FMC_FAKEDEV is not set
CONFIG_FMC_TRIVIAL=m
CONFIG_FMC_WRITE_EEPROM=m
CONFIG_FMC_CHARDEV=m
#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
CONFIG_PHY_EXYNOS_MIPI_VIDEO=m
CONFIG_PHY_EXYNOS_DP_VIDEO=y
CONFIG_BCM_KONA_USB2_PHY=m
# CONFIG_POWERCAP is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DELL_RBU=y
CONFIG_DCDBAS=m
CONFIG_DMIID=y
CONFIG_DMI_SYSFS=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_GOOGLE_FIRMWARE is not set
#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_FILE_LOCKING is not set
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
# CONFIG_INOTIFY_USER is not set
CONFIG_FANOTIFY=y
# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
CONFIG_QUOTA_DEBUG=y
CONFIG_QUOTA_TREE=m
CONFIG_QFMT_V1=y
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_AUTOFS4_FS=m
CONFIG_FUSE_FS=y
CONFIG_CUSE=m
#
# Caches
#
CONFIG_FSCACHE=m
CONFIG_FSCACHE_DEBUG=y
CONFIG_CACHEFILES=m
CONFIG_CACHEFILES_DEBUG=y
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_VFAT_FS is not set
CONFIG_FAT_DEFAULT_CODEPAGE=437
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
# CONFIG_PROC_FS is not set
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CONFIGFS_FS=m
CONFIG_MISC_FILESYSTEMS=y
CONFIG_ADFS_FS=m
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=m
# CONFIG_ECRYPT_FS_MESSAGING is not set
CONFIG_HFS_FS=y
# CONFIG_HFSPLUS_FS is not set
CONFIG_BEFS_FS=m
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=m
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
# CONFIG_JFFS2_FS_WRITEBUFFER is not set
# CONFIG_JFFS2_SUMMARY is not set
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
# CONFIG_JFFS2_ZLIB is not set
# CONFIG_JFFS2_LZO is not set
# CONFIG_JFFS2_RTIME is not set
# CONFIG_JFFS2_RUBIN is not set
CONFIG_JFFS2_CMODE_NONE=y
# CONFIG_JFFS2_CMODE_PRIORITY is not set
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
CONFIG_UBIFS_FS=y
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_LOGFS=m
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
CONFIG_VXFS_FS=y
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
CONFIG_QNX4FS_FS=m
# CONFIG_QNX6FS_FS is not set
CONFIG_ROMFS_FS=y
# CONFIG_ROMFS_BACKED_BY_BLOCK is not set
CONFIG_ROMFS_BACKED_BY_MTD=y
# CONFIG_ROMFS_BACKED_BY_BOTH is not set
CONFIG_ROMFS_ON_MTD=y
# CONFIG_PSTORE is not set
CONFIG_SYSV_FS=y
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
CONFIG_EXOFS_FS=m
# CONFIG_EXOFS_DEBUG is not set
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
# CONFIG_F2FS_FS_POSIX_ACL is not set
# CONFIG_F2FS_FS_SECURITY is not set
CONFIG_F2FS_CHECK_FS=y
CONFIG_ORE=m
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_UPCALL=y
# CONFIG_CIFS_XATTR is not set
CONFIG_CIFS_DEBUG=y
CONFIG_CIFS_DEBUG2=y
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_CIFS_SMB2 is not set
# CONFIG_CIFS_FSCACHE is not set
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
# CONFIG_NCPFS_IOCTL_LOCKING is not set
CONFIG_NCPFS_STRONG=y
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
CONFIG_NCPFS_SMALLDOS=y
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_CODA_FS=m
# CONFIG_AFS_FS is not set
CONFIG_9P_FS=m
# CONFIG_9P_FSCACHE is not set
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_9P_FS_SECURITY=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=m
# CONFIG_NLS_CODEPAGE_850 is not set
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=m
# CONFIG_NLS_CODEPAGE_860 is not set
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
# 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=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
# 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=m
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=y
# 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=m
# CONFIG_NLS_ISO8859_9 is not set
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_MAC_ROMAN=m
CONFIG_NLS_MAC_CELTIC=y
CONFIG_NLS_MAC_CENTEURO=y
CONFIG_NLS_MAC_CROATIAN=m
CONFIG_NLS_MAC_CYRILLIC=m
CONFIG_NLS_MAC_GAELIC=m
CONFIG_NLS_MAC_GREEK=m
CONFIG_NLS_MAC_ICELAND=m
# CONFIG_NLS_MAC_INUIT is not set
CONFIG_NLS_MAC_ROMANIAN=m
CONFIG_NLS_MAC_TURKISH=m
CONFIG_NLS_UTF8=y
CONFIG_DLM=m
CONFIG_DLM_DEBUG=y
#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
CONFIG_BOOT_PRINTK_DELAY=y
CONFIG_DYNAMIC_DEBUG=y
#
# Compile-time checks and compiler options
#
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_SECTION_MISMATCH=y
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_KERNEL=y
#
# Memory Debugging
#
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_OBJECTS is not set
CONFIG_SLUB_DEBUG_ON=y
CONFIG_SLUB_STATS=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=m
# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
CONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_DEBUG_SHIRQ is not set
#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=1
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_ON_OOPS_VALUE=1
CONFIG_PANIC_TIMEOUT=0
CONFIG_DEBUG_PREEMPT=y
#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
CONFIG_RT_MUTEX_TESTER=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
CONFIG_LOCK_STAT=y
# CONFIG_DEBUG_LOCKDEP is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_LOCK_TORTURE_TEST=m
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_DEBUG_WRITECOUNT is not set
CONFIG_DEBUG_LIST=y
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
CONFIG_DEBUG_CREDENTIALS=y
#
# RCU Debugging
#
# CONFIG_PROVE_RCU is not set
# CONFIG_PROVE_RCU_DELAY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
CONFIG_TORTURE_TEST=y
CONFIG_RCU_TORTURE_TEST=y
CONFIG_RCU_TORTURE_TEST_RUNNABLE=y
CONFIG_RCU_CPU_STALL_TIMEOUT=21
CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
CONFIG_DEBUG_BLOCK_EXT_DEVT=y
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
CONFIG_FAULT_INJECTION=y
CONFIG_FAILSLAB=y
# CONFIG_FAIL_PAGE_ALLOC is not set
# CONFIG_FAIL_MAKE_REQUEST is not set
# CONFIG_FAIL_IO_TIMEOUT is not set
CONFIG_FAIL_MMC_REQUEST=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_IRQSOFF_TRACER is not set
CONFIG_PREEMPT_TRACER=y
CONFIG_SCHED_TRACER=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_TRACER_SNAPSHOT=y
CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y
CONFIG_TRACE_BRANCH_PROFILING=y
# CONFIG_BRANCH_PROFILE_NONE is not set
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
CONFIG_PROFILE_ALL_BRANCHES=y
# CONFIG_BRANCH_TRACER is not set
CONFIG_STACK_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_KPROBE_EVENT is not set
CONFIG_UPROBE_EVENT=y
CONFIG_PROBE_EVENTS=y
# CONFIG_DYNAMIC_FTRACE is not set
# CONFIG_FUNCTION_PROFILER is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
CONFIG_RING_BUFFER_BENCHMARK=y
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
#
# Runtime Testing
#
CONFIG_LKDTM=y
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_KPROBES_SANITY_TEST is not set
CONFIG_BACKTRACE_SELF_TEST=m
CONFIG_RBTREE_TEST=m
# CONFIG_INTERVAL_TREE_TEST is not set
CONFIG_PERCPU_TEST=m
# CONFIG_ATOMIC64_SELFTEST is not set
CONFIG_TEST_STRING_HELPERS=y
CONFIG_TEST_KSTRTOX=m
CONFIG_DMA_API_DEBUG=y
CONFIG_TEST_MODULE=m
CONFIG_TEST_USER_COPY=m
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_KGDB=y
# CONFIG_KGDB_TESTS is not set
CONFIG_KGDB_LOW_LEVEL_TRAP=y
# CONFIG_KGDB_KDB is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_X86_VERBOSE_BOOTUP is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set
CONFIG_DEBUG_NX_TEST=m
# CONFIG_DOUBLEFAULT is not set
CONFIG_DEBUG_TLBFLUSH=y
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
# CONFIG_IO_DELAY_0XED is not set
CONFIG_IO_DELAY_UDELAY=y
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=2
CONFIG_DEBUG_BOOT_PARAMS=y
CONFIG_CPA_DEBUG=y
CONFIG_OPTIMIZE_INLINING=y
CONFIG_X86_DEBUG_STATIC_CPU_HAS=y
#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
CONFIG_BIG_KEYS=y
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_YAMA is not set
CONFIG_INTEGRITY=y
# CONFIG_INTEGRITY_SIGNATURE is not set
# CONFIG_IMA is not set
CONFIG_EVM=y
CONFIG_EVM_HMAC_VERSION=2
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_XOR_BLOCKS=m
CONFIG_ASYNC_CORE=m
CONFIG_ASYNC_XOR=m
CONFIG_CRYPTO=y
#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP=m
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=m
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_TEST=m
#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=m
# CONFIG_CRYPTO_GCM is not set
CONFIG_CRYPTO_SEQIV=m
#
# Block modes
#
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=m
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_LRW=y
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
#
# Hash modes
#
CONFIG_CRYPTO_CMAC=m
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_VMAC=m
#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
CONFIG_CRYPTO_CRC32C_INTEL=y
# CONFIG_CRYPTO_CRC32 is not set
CONFIG_CRYPTO_CRC32_PCLMUL=y
CONFIG_CRYPTO_CRCT10DIF=m
CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
CONFIG_CRYPTO_RMD128=m
CONFIG_CRYPTO_RMD160=m
CONFIG_CRYPTO_RMD256=m
CONFIG_CRYPTO_RMD320=m
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set
#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_586 is not set
# CONFIG_CRYPTO_AES_NI_INTEL is not set
CONFIG_CRYPTO_ANUBIS=m
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
CONFIG_CRYPTO_CAMELLIA=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_FCRYPT=y
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_SALSA20=y
CONFIG_CRYPTO_SALSA20_586=y
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
CONFIG_CRYPTO_TWOFISH_586=y
#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_ZLIB=m
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_LZ4=m
CONFIG_CRYPTO_LZ4HC=y
#
# Random Number Generation
#
CONFIG_CRYPTO_ANSI_CPRNG=m
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=m
CONFIG_PUBLIC_KEY_ALGO_RSA=y
CONFIG_X509_CERTIFICATE_PARSER=m
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
# CONFIG_KVM_AMD is not set
# CONFIG_KVM_MMU_AUDIT is not set
CONFIG_BINARY_PRINTF=y
#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_PERCPU_RWSEM=y
CONFIG_CRC_CCITT=m
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=m
CONFIG_CRC_ITU_T=y
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
# CONFIG_CRC32_SLICEBY8 is not set
CONFIG_CRC32_SLICEBY4=y
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
CONFIG_CRC7=y
CONFIG_LIBCRC32C=y
CONFIG_CRC8=m
CONFIG_CRC64_ECMA=m
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_COMPRESS=m
CONFIG_LZ4HC_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_X86 is not set
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
# CONFIG_XZ_DEC_SPARC is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=m
CONFIG_REED_SOLOMON_DEC16=y
CONFIG_BCH=m
CONFIG_BCH_CONST_PARAMS=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
CONFIG_BTREE=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_AVERAGE=y
CONFIG_CLZ_TAB=y
CONFIG_CORDIC=y
CONFIG_DDR=y
CONFIG_MPILIB=y
CONFIG_OID_REGISTRY=m
^ permalink raw reply
* Re: [PATCH net-next 20/35] myri10ge: Use pci_enable_msix_range() instead of pci_enable_msix()
From: Sergei Shtylyov @ 2014-02-19 15:14 UTC (permalink / raw)
To: Alexander Gordeev, linux-kernel; +Cc: Hyong-Youb Kim, netdev, linux-pci
In-Reply-To: <4174e05e893a4b62b9c39692691b926cec2dc2c3.1392717503.git.agordeev@redhat.com>
Hello.
On 18-02-2014 14:11, Alexander Gordeev wrote:
> As result of deprecation of MSI-X/MSI enablement functions
> pci_enable_msix() and pci_enable_msi_block() all drivers
> using these two interfaces need to be updated to use the
> new pci_enable_msi_range() and pci_enable_msix_range()
> interfaces.
> Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
> Cc: Hyong-Youb Kim <hykim@myri.com>
> Cc: netdev@vger.kernel.org
> Cc: linux-pci@vger.kernel.org
> ---
> drivers/net/ethernet/myricom/myri10ge/myri10ge.c | 40 +++++++++++-----------
> 1 files changed, 20 insertions(+), 20 deletions(-)
> diff --git a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
> index 68026f7..130f6b2 100644
> --- a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
> +++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
> @@ -2329,16 +2329,14 @@ static int myri10ge_request_irq(struct myri10ge_priv *mgp)
> status = 0;
> if (myri10ge_msi) {
> if (mgp->num_slices > 1) {
> - status =
> - pci_enable_msix(pdev, mgp->msix_vectors,
> - mgp->num_slices);
> - if (status == 0) {
> - mgp->msix_enabled = 1;
> - } else {
> + status = pci_enable_msix_range(pdev, mgp->msix_vectors,
> + mgp->num_slices, mgp->num_slices);
Networking coding style assumes that you align the function call
continuation lines under the next character after (.
[...]
> @@ -3895,32 +3893,34 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp)
[...]
> + goto no_msix;
> + status = pci_enable_msix_range(pdev,
> + mgp->msix_vectors,
> + mgp->num_slices,
> + mgp->num_slices);
Here you get this right.
WBR, Sergei
^ permalink raw reply
* [PATCH net] net,IB/mlx: Bump all Mellanox driver versions
From: Amir Vadai @ 2014-02-19 15:47 UTC (permalink / raw)
To: David S. Miller
Cc: Or Gerlitz, Yevgeny Petrilin, Amir Vadai, netdev, Eli Cohen
Bump all Mellanox driver versions.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
---
Hi,
We're changing the version scheme of our drivers.
I would be happy if it goes to net. Also, added here drivers from rdma tree,
because I would like it to be unified accorss all Mellanox's drivers.
Thanks,
Amir
drivers/infiniband/hw/mlx4/main.c | 4 ++--
drivers/infiniband/hw/mlx5/main.c | 4 ++--
drivers/net/ethernet/mellanox/mlx4/mlx4.h | 4 ++--
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 ++--
drivers/net/ethernet/mellanox/mlx5/core/main.c | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
index e81c554..f9c12e9 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -53,8 +53,8 @@
#include "user.h"
#define DRV_NAME MLX4_IB_DRV_NAME
-#define DRV_VERSION "1.0"
-#define DRV_RELDATE "April 4, 2008"
+#define DRV_VERSION "2.2-1"
+#define DRV_RELDATE "Feb 2014"
#define MLX4_IB_FLOW_MAX_PRIO 0xFFF
#define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index aa03e73..bf90057 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -46,8 +46,8 @@
#include "mlx5_ib.h"
#define DRIVER_NAME "mlx5_ib"
-#define DRIVER_VERSION "1.0"
-#define DRIVER_RELDATE "June 2013"
+#define DRIVER_VERSION "2.2-1"
+#define DRIVER_RELDATE "Feb 2014"
MODULE_AUTHOR("Eli Cohen <eli@mellanox.com>");
MODULE_DESCRIPTION("Mellanox Connect-IB HCA IB driver");
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
index 6b65f77..7aec6c8 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
@@ -51,8 +51,8 @@
#define DRV_NAME "mlx4_core"
#define PFX DRV_NAME ": "
-#define DRV_VERSION "1.1"
-#define DRV_RELDATE "Dec, 2011"
+#define DRV_VERSION "2.2-1"
+#define DRV_RELDATE "Feb, 2014"
#define MLX4_FS_UDP_UC_EN (1 << 1)
#define MLX4_FS_TCP_UC_EN (1 << 2)
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index 9ca223b..b57e8c8 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -57,8 +57,8 @@
#include "en_port.h"
#define DRV_NAME "mlx4_en"
-#define DRV_VERSION "2.0"
-#define DRV_RELDATE "Dec 2011"
+#define DRV_VERSION "2.2-1"
+#define DRV_RELDATE "Feb 2014"
#define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
index a064f06..23b7e2d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
@@ -46,8 +46,8 @@
#include "mlx5_core.h"
#define DRIVER_NAME "mlx5_core"
-#define DRIVER_VERSION "1.0"
-#define DRIVER_RELDATE "June 2013"
+#define DRIVER_VERSION "2.2-1"
+#define DRIVER_RELDATE "Feb 2014"
MODULE_AUTHOR("Eli Cohen <eli@mellanox.com>");
MODULE_DESCRIPTION("Mellanox ConnectX-IB HCA core library");
--
1.8.3.4
^ permalink raw reply related
* [PATCH net] sit: fix panic with route cache in ip tunnels
From: Nicolas Dichtel @ 2014-02-19 16:15 UTC (permalink / raw)
To: davem; +Cc: netdev, Nicolas Dichtel, Tom Herbert
Bug introduced by commit 7d442fab0a67 ("ipv4: Cache dst in tunnels").
Because sit code does not call ip_tunnel_init(), the dst_cache was not
initialized.
CC: Tom Herbert <therbert@google.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
net/ipv6/sit.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 3dfbcf1dcb1c..5ff33d9bd5de 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1326,6 +1326,9 @@ static const struct net_device_ops ipip6_netdev_ops = {
static void ipip6_dev_free(struct net_device *dev)
{
+ struct ip_tunnel *tunnel = netdev_priv(dev);
+
+ free_percpu(tunnel->dst_cache);
free_percpu(dev->tstats);
free_netdev(dev);
}
@@ -1375,6 +1378,12 @@ static int ipip6_tunnel_init(struct net_device *dev)
u64_stats_init(&ipip6_tunnel_stats->syncp);
}
+ tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst);
+ if (!tunnel->dst_cache) {
+ free_percpu(dev->tstats);
+ return -ENOMEM;
+ }
+
return 0;
}
--
1.8.5.4
^ permalink raw reply related
* Re: [PATCH net] sit: fix panic with route cache in ip tunnels
From: Nicolas Dichtel @ 2014-02-19 16:22 UTC (permalink / raw)
To: davem; +Cc: netdev, Nicolas Dichtel, Tom Herbert
In-Reply-To: <1392826532-19282-1-git-send-email-nicolas.dichtel@6wind.com>
Le 19/02/2014 17:15, Nicolas Dichtel a écrit :
> Bug introduced by commit 7d442fab0a67 ("ipv4: Cache dst in tunnels").
>
> Because sit code does not call ip_tunnel_init(), the dst_cache was not
> initialized.
>
> CC: Tom Herbert <therbert@google.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Patch is incomplete, please drop it.
^ permalink raw reply
* Re: net,IB/mlx: Bump all Mellanox driver versions
From: Amir Vadai @ 2014-02-19 16:23 UTC (permalink / raw)
To: David S. Miller
Cc: Or Gerlitz, Yevgeny Petrilin, netdev-u79uwXL29TY76Z2rM5mHXA,
Eli Cohen, Roland Dreier, linux-rdma-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <1392824851-8667-1-git-send-email-amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
On 19/02/14 17:47 +0200, Amir Vadai wrote:
> Bump all Mellanox driver versions.
>
> Signed-off-by: Amir Vadai <amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
> Hi,
>
> We're changing the version scheme of our drivers.
> I would be happy if it goes to net. Also, added here drivers from rdma tree,
> because I would like it to be unified accorss all Mellanox's drivers.
>
> Thanks,
> Amir
>
> drivers/infiniband/hw/mlx4/main.c | 4 ++--
> drivers/infiniband/hw/mlx5/main.c | 4 ++--
> drivers/net/ethernet/mellanox/mlx4/mlx4.h | 4 ++--
> drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 ++--
> drivers/net/ethernet/mellanox/mlx5/core/main.c | 4 ++--
> 5 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
> index e81c554..f9c12e9 100644
> --- a/drivers/infiniband/hw/mlx4/main.c
> +++ b/drivers/infiniband/hw/mlx4/main.c
> @@ -53,8 +53,8 @@
> #include "user.h"
>
> #define DRV_NAME MLX4_IB_DRV_NAME
> -#define DRV_VERSION "1.0"
> -#define DRV_RELDATE "April 4, 2008"
> +#define DRV_VERSION "2.2-1"
> +#define DRV_RELDATE "Feb 2014"
>
> #define MLX4_IB_FLOW_MAX_PRIO 0xFFF
> #define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF
> diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
> index aa03e73..bf90057 100644
> --- a/drivers/infiniband/hw/mlx5/main.c
> +++ b/drivers/infiniband/hw/mlx5/main.c
> @@ -46,8 +46,8 @@
> #include "mlx5_ib.h"
>
> #define DRIVER_NAME "mlx5_ib"
> -#define DRIVER_VERSION "1.0"
> -#define DRIVER_RELDATE "June 2013"
> +#define DRIVER_VERSION "2.2-1"
> +#define DRIVER_RELDATE "Feb 2014"
>
> MODULE_AUTHOR("Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>");
> MODULE_DESCRIPTION("Mellanox Connect-IB HCA IB driver");
> diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
> index 6b65f77..7aec6c8 100644
> --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h
> +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
> @@ -51,8 +51,8 @@
>
> #define DRV_NAME "mlx4_core"
> #define PFX DRV_NAME ": "
> -#define DRV_VERSION "1.1"
> -#define DRV_RELDATE "Dec, 2011"
> +#define DRV_VERSION "2.2-1"
> +#define DRV_RELDATE "Feb, 2014"
>
> #define MLX4_FS_UDP_UC_EN (1 << 1)
> #define MLX4_FS_TCP_UC_EN (1 << 2)
> diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
> index 9ca223b..b57e8c8 100644
> --- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
> +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
> @@ -57,8 +57,8 @@
> #include "en_port.h"
>
> #define DRV_NAME "mlx4_en"
> -#define DRV_VERSION "2.0"
> -#define DRV_RELDATE "Dec 2011"
> +#define DRV_VERSION "2.2-1"
> +#define DRV_RELDATE "Feb 2014"
>
> #define MLX4_EN_MSG_LEVEL (NETIF_MSG_LINK | NETIF_MSG_IFDOWN)
>
> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
> index a064f06..23b7e2d 100644
> --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
> +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
> @@ -46,8 +46,8 @@
> #include "mlx5_core.h"
>
> #define DRIVER_NAME "mlx5_core"
> -#define DRIVER_VERSION "1.0"
> -#define DRIVER_RELDATE "June 2013"
> +#define DRIVER_VERSION "2.2-1"
> +#define DRIVER_RELDATE "Feb 2014"
>
> MODULE_AUTHOR("Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>");
> MODULE_DESCRIPTION("Mellanox ConnectX-IB HCA core library");
> --
> 1.8.3.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Adding linux-rdma and Roland to the CC
Amir
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
* Re: [PATCH net] sit: fix panic with route cache in ip tunnels
From: Eric Dumazet @ 2014-02-19 16:43 UTC (permalink / raw)
To: Nicolas Dichtel; +Cc: davem, netdev, Tom Herbert
In-Reply-To: <1392826532-19282-1-git-send-email-nicolas.dichtel@6wind.com>
On Wed, 2014-02-19 at 17:15 +0100, Nicolas Dichtel wrote:
> Bug introduced by commit 7d442fab0a67 ("ipv4: Cache dst in tunnels").
>
> Because sit code does not call ip_tunnel_init(), the dst_cache was not
> initialized.
>
> CC: Tom Herbert <therbert@google.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---
> net/ipv6/sit.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
> index 3dfbcf1dcb1c..5ff33d9bd5de 100644
> --- a/net/ipv6/sit.c
> +++ b/net/ipv6/sit.c
> @@ -1326,6 +1326,9 @@ static const struct net_device_ops ipip6_netdev_ops = {
>
> static void ipip6_dev_free(struct net_device *dev)
> {
> + struct ip_tunnel *tunnel = netdev_priv(dev);
> +
> + free_percpu(tunnel->dst_cache);
> free_percpu(dev->tstats);
> free_netdev(dev);
> }
> @@ -1375,6 +1378,12 @@ static int ipip6_tunnel_init(struct net_device *dev)
> u64_stats_init(&ipip6_tunnel_stats->syncp);
> }
>
> + tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst);
> + if (!tunnel->dst_cache) {
> + free_percpu(dev->tstats);
> + return -ENOMEM;
> + }
> +
> return 0;
> }
>
I do not think this patch is complete.
It seems to lack a tunnel_dst_reset_all() or something to properly
release the dst.
^ permalink raw reply
* Re: [RFC v2 2/4] net: enables interface option to skip IP
From: Dan Williams @ 2014-02-19 16:45 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: netdev@vger.kernel.org, xen-devel, kvm,
linux-kernel@vger.kernel.org, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki YOSHIFUJI, Patrick McHardy
In-Reply-To: <CAB=NE6XGBp1RwO63W0ac6tTr9JcRM9TB9sap4pa+8PMWwjxu6g@mail.gmail.com>
On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote:
> On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams <dcbw@redhat.com> wrote:
> > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote:
> >> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> >>
> >> Some interfaces do not need to have any IPv4 or IPv6
> >> addresses, so enable an option to specify this. One
> >> example where this is observed are virtualization
> >> backend interfaces which just use the net_device
> >> constructs to help with their respective frontends.
> >>
> >> This should optimize boot time and complexity on
> >> virtualization environments for each backend interface
> >> while also avoiding triggering SLAAC and DAD, which is
> >> simply pointless for these type of interfaces.
> >
> > Would it not be better/cleaner to use disable_ipv6 and then add a
> > disable_ipv4 sysctl, then use those with that interface?
>
> Sure, but note that the both disable_ipv6 and accept_dada sysctl
> parameters are global. ipv4 and ipv6 interfaces are created upon
> NETDEVICE_REGISTER, which will get triggered when a driver calls
> register_netdev(). The goal of this patch was to enable an early
> optimization for drivers that have no need ever for ipv4 or ipv6
> interfaces.
Each interface gets override sysctls too though, eg:
/proc/sys/net/ipv6/conf/enp0s25/disable_ipv6
which is the one I meant; you're obviously right that the global ones
aren't what you want here. But the specific ones should be suitable?
If you set that on a per-interface basis, then you'll get EPERM or
something whenever you try to add IPv6 addresses or do IPv6 routing.
> Zoltan has noted though some use cases of IPv4 or IPv6 addresses on
> backends though, as such this is no longer applicable as a
> requirement. The ipv4 sysctl however still seems like a reasonable
> approach to enable optimizations of the network in topologies where
> its known we won't need them but -- we'd need to consider a much more
> granular solution, not just global as it is now for disable_ipv6, and
> we'd also have to figure out a clean way to do this to not incur the
> cost of early address interface addition upon register_netdev().
>
> Given that we have a use case for ipv4 and ipv6 addresses on
> xen-netback we no longer have an immediate use case for such early
> optimization primitives though, so I'll drop this.
>
> > The IFF_SKIP_IP seems to duplicate at least part of what disable_ipv6 is
> > already doing.
>
> disable_ipv6 is global, the goal was to make this granular and skip
> the cost upon early boot, but its been clarified we don't need this.
Like Stephen says, you need to make sure you set them before IFF_UP, but
beyond that, wouldn't the interface-specific sysctls work?
Dan
^ permalink raw reply
* Re: [Xen-devel] [RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge
From: Luis R. Rodriguez @ 2014-02-19 16:45 UTC (permalink / raw)
To: Zoltan Kiss
Cc: kvm, netdev@vger.kernel.org, bridge, linux-kernel@vger.kernel.org,
Stephen Hemminger, xen-devel
In-Reply-To: <53024C58.4010900@citrix.com>
On Mon, Feb 17, 2014 at 9:52 AM, Zoltan Kiss <zoltan.kiss@citrix.com> wrote:
> On 15/02/14 02:59, Luis R. Rodriguez wrote:
>>
>> From: "Luis R. Rodriguez" <mcgrof@suse.com>
>>
>> It doesn't make sense for some interfaces to become a root bridge
>> at any point in time. One example is virtual backend interfaces
>> which rely on other entities on the bridge for actual physical
>> connectivity. They only provide virtual access.
>
> It is possible that a guest bridge together to VIF, either from the same
> Dom0 bridge or from different ones. In that case using STP on VIFs sound
> sensible to me.
You seem to describe a case whereby it can make sense for xen-netback
interfaces to end up becoming the root port of a bridge. Can you
elaborate a little more on that as it was unclear the use case.
Additionally if such cases exist then under the current upstream
implementation one would simply need to change the MAC address in
order to enable a vif to become the root port. Stephen noted there is
a way to avoid nominating an interface for a root port through the
root block flag. We should use that instead of the MAC address hacks.
Let's keep in mind that part of the motivation for this series is to
avoid a duplicate IPv6 address left in place by use cases whereby the
MAC address of the backend vif was left static. The use case your are
explaining likely describes the more prevalent use case where address
conflicts can occur, perhaps when administrators for got to change the
backend MAC address. If we embrace a random MAC address we'd avoid
that issue, and but we'd need to update userspace to use the root
block on topologies where desired.
Luis
^ permalink raw reply
* Re: [PATCH net] sit: fix panic with route cache in ip tunnels
From: Nicolas Dichtel @ 2014-02-19 16:50 UTC (permalink / raw)
To: Eric Dumazet; +Cc: davem, netdev, Tom Herbert
In-Reply-To: <1392828209.18849.4.camel@edumazet-glaptop2.roam.corp.google.com>
Le 19/02/2014 17:43, Eric Dumazet a écrit :
> On Wed, 2014-02-19 at 17:15 +0100, Nicolas Dichtel wrote:
>> Bug introduced by commit 7d442fab0a67 ("ipv4: Cache dst in tunnels").
>>
>> Because sit code does not call ip_tunnel_init(), the dst_cache was not
>> initialized.
>>
>> CC: Tom Herbert <therbert@google.com>
>> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>> ---
>> net/ipv6/sit.c | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>> diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
>> index 3dfbcf1dcb1c..5ff33d9bd5de 100644
>> --- a/net/ipv6/sit.c
>> +++ b/net/ipv6/sit.c
>> @@ -1326,6 +1326,9 @@ static const struct net_device_ops ipip6_netdev_ops = {
>>
>> static void ipip6_dev_free(struct net_device *dev)
>> {
>> + struct ip_tunnel *tunnel = netdev_priv(dev);
>> +
>> + free_percpu(tunnel->dst_cache);
>> free_percpu(dev->tstats);
>> free_netdev(dev);
>> }
>> @@ -1375,6 +1378,12 @@ static int ipip6_tunnel_init(struct net_device *dev)
>> u64_stats_init(&ipip6_tunnel_stats->syncp);
>> }
>>
>> + tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst);
>> + if (!tunnel->dst_cache) {
>> + free_percpu(dev->tstats);
>> + return -ENOMEM;
>> + }
>> +
>> return 0;
>> }
>>
>
> I do not think this patch is complete.
>
> It seems to lack a tunnel_dst_reset_all() or something to properly
> release the dst.
Yes, it's why I ask David to drop it ;-)
^ permalink raw reply
* Re: [Xen-devel] [RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge
From: Luis R. Rodriguez @ 2014-02-19 17:02 UTC (permalink / raw)
To: Zoltan Kiss, Stephen Hemminger
Cc: Ian Campbell, kvm, netdev@vger.kernel.org, bridge,
linux-kernel@vger.kernel.org, xen-devel
In-Reply-To: <5304C13F.3030802@citrix.com>
On Wed, Feb 19, 2014 at 6:35 AM, Zoltan Kiss <zoltan.kiss@citrix.com> wrote:
> On 19/02/14 09:52, Ian Campbell wrote:
>> Can't we arrange things in the Xen hotplug scripts such that if the
>> root_block stuff isn't available/doesn't work we fallback to the
>> existing fe:ff:ff:ff:ff usage?
>>
>> That would avoid concerns about forward/backwards compat I think. It
>> wouldn't solve the issue you are targeting on old systems, but it also
>> doesn't regress them any further.
>
> I agree, I think this problem could be better handled from userspace: if it
> can set root_block then change the default MAC to a random one, if it can't,
> then stay with the default one. Or if someone doesn't care about STP but DAD
> is still important, userspace can have a force_random_mac option somewhere
> to change to a random MAC regardless of root_block presence.
Folks, what if I repurpose my patch to use the IFF_BRIDGE_NON_ROOT (or
relabel to IFF_ROOT_BLOCK_DEF) flag for a default driver preference
upon initialization so that root block will be used once the device
gets added to a bridge. The purpose would be to avoid drivers from
using the high MAC address hack, streamline to use a random MAC
address thereby avoiding the possible duplicate address situation for
IPv6. In the STP use case for these interfaces we'd just require
userspace to unset the root block. I'd consider the STP use case the
most odd of all. The caveat to this approach is 3.8 would be needed
(or its the root block patches cherry picked) for base kernels older
than 3.8.
Stephen?
Luis
^ permalink raw reply
* Re: [sctp] ef2820a735: -50% netperf Throughput_Mbps
From: Matija Glavinic Pecotic @ 2014-02-19 17:06 UTC (permalink / raw)
To: ext Fengguang Wu; +Cc: LKML, Linux Netdev List, linux-sctp@vger.kernel.org
In-Reply-To: <20140219132034.GC8704@localhost>
Hello Fengguang,
On 02/19/2014 02:20 PM, ext Fengguang Wu wrote:
> Hi Matija,
>
> We noticed the below changes on commit ef2820a735f74ea60335f8ba3801b844f0cb184d
> (" net: sctp: Fix a_rwnd/rwnd management to reflect real state of the receiver's buffer")
> in netperf SCTP_STREAM tests:
thanks for the info. Though, I've ran netperf in my environment, with and without patch, and I havent observed any difference.
Could you please give me information on your environment, how do you invoke netperf, and other details you think I might be interested in to observe problem by myself
Thanks!
> cd0f0b95fd2cd2b ef2820a735f74ea60335f8ba3
> --------------- -------------------------
> 8 ~ 0% -50.0% 4 ~ 0% TOTAL netperf.Throughput_Mbps
> 54287 ~44% +338.1% 237842 ~48% TOTAL cpuidle.C1E-NHM.time
> 12008353 ~12% -56.0% 5281848 ~ 0% TOTAL proc-vmstat.pgalloc_normal
> 114861 ~ 0% -50.3% 57085 ~ 3% TOTAL softirqs.NET_RX
> 12964639 ~11% -55.1% 5818663 ~ 0% TOTAL proc-vmstat.pgfree
> 866489 ~ 0% -43.3% 491417 ~ 0% TOTAL proc-vmstat.pgalloc_dma32
> 119373 ~17% -39.1% 72661 ~ 1% TOTAL softirqs.SCHED
> 1985 ~13% -24.3% 1502 ~19% TOTAL slabinfo.kmalloc-128.active_objs
> 2139 ~20% -28.4% 1532 ~ 4% TOTAL proc-vmstat.nr_alloc_batch
> 124360 ~33% -31.0% 85748 ~ 2% TOTAL softirqs.RCU
> 1977 ~ 9% -18.5% 1610 ~ 9% TOTAL slabinfo.UDP.active_objs
> 1977 ~ 9% -18.5% 1610 ~ 9% TOTAL slabinfo.UDP.num_objs
> 2066 ~ 6% -12.9% 1800 ~ 7% TOTAL slabinfo.kmalloc-128.num_objs
> 1738 ~10% -18.4% 1418 ~ 9% TOTAL slabinfo.UDPv6.active_objs
> 1738 ~10% -18.4% 1418 ~ 9% TOTAL slabinfo.UDPv6.num_objs
> 923 ~10% -17.7% 760 ~ 8% TOTAL slabinfo.TCPv6.active_objs
> 923 ~10% -17.7% 760 ~ 8% TOTAL slabinfo.TCPv6.num_objs
> 989 ~ 9% -17.1% 820 ~ 7% TOTAL slabinfo.TCP.active_objs
> 989 ~ 9% -17.1% 820 ~ 7% TOTAL slabinfo.TCP.num_objs
> 398761 ~44% -32.6% 268792 ~ 3% TOTAL numa-vmstat.node2.numa_hit
> 389672 ~49% -32.9% 261443 ~ 3% TOTAL numa-vmstat.node0.numa_hit
> 447 ~ 1% -13.8% 385 ~ 0% TOTAL vmstat.system.cs
>
> Note: the "~ XX%" numbers are stddev percent.
>
> netperf.Throughput_Mbps
>
> 4 *+-*--*--*--*-*--*--*--*--*--*--*--*-*--*--*--*--*--*--*--*-*--*--*--*
> | |
> | |
> 3.5 ++ |
> | |
> | |
> | |
> 3 ++ |
> | |
> | |
> 2.5 ++ |
> | |
> | |
> | |
> 2 O+-O--O--O--O-O--O--O--O--O--O--O--O-O--O--O--O--O--O--O-------------+
>
>
> vmstat.system.cs
>
> 460 ++------------------------*--*----------------*----------------------+
> | .*.. .*.. : + + *.. .*
> 450 ++ *. .*. *.. : + .*..*.. + *..*..*.. + .*. |
> 440 *+ : * : *..* * * *. |
> |: : * |
> 430 ++: : |
> 420 ++: : |
> | * |
> 410 ++ |
> 400 ++ |
> | |
> 390 ++ O O O O O |
> 380 O+ O O O O O O O O O O O O O |
> | O |
> 370 ++-------------------------------------------------------------------+
>
^ permalink raw reply
* Re: [Xen-devel] [RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge
From: Stephen Hemminger @ 2014-02-19 17:08 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Ian Campbell, kvm, netdev@vger.kernel.org, bridge,
linux-kernel@vger.kernel.org, Zoltan Kiss, xen-devel
In-Reply-To: <CAB=NE6X6Vuo3iib0W-c5cxv0QBpnZtCC0sFyuULugQoEZAbRtg@mail.gmail.com>
On Wed, 19 Feb 2014 09:02:06 -0800
"Luis R. Rodriguez" <mcgrof@do-not-panic.com> wrote:
> Folks, what if I repurpose my patch to use the IFF_BRIDGE_NON_ROOT (or
> relabel to IFF_ROOT_BLOCK_DEF) flag for a default driver preference
> upon initialization so that root block will be used once the device
> gets added to a bridge. The purpose would be to avoid drivers from
> using the high MAC address hack, streamline to use a random MAC
> address thereby avoiding the possible duplicate address situation for
> IPv6. In the STP use case for these interfaces we'd just require
> userspace to unset the root block. I'd consider the STP use case the
> most odd of all. The caveat to this approach is 3.8 would be needed
> (or its the root block patches cherry picked) for base kernels older
> than 3.8.
>
> Stephen?
>
> Luis
Don't add IFF_ flags that adds yet another API hook into bridge.
Please only use the netlink/sysfs flags fields that already exist
for new features.
^ permalink raw reply
* Re: [Xen-devel] [RFC v2 0/4] net: bridge / ip optimizations for virtual net backends
From: Luis R. Rodriguez @ 2014-02-19 17:10 UTC (permalink / raw)
To: Ian Campbell
Cc: David Vrabel, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kvm, xen-devel
In-Reply-To: <1392803304.23084.95.camel@kazak.uk.xensource.com>
On Wed, Feb 19, 2014 at 1:48 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> On Tue, 2014-02-18 at 11:43 -0800, Luis R. Rodriguez wrote:
>>
>> New motivation: removing IPv4 and IPv6 from the backend interfaces can
>> save up a lot of boiler plate run time code, triggers from ever taking
>> place, and simplifying the backend interaces. If there is no use for
>> IPv4 and IPv6 interfaces why do we have them? Note: I have yet to test
>> the NAT case.
>
> I think you need to do that test that before you can unequivocally state
> that there is no use for IPv4/6 interfaces here.
Agreed but note that Zoltan stated that in the routing case IPv4 or
IPv6 addresses can be used on the backends, so that already rules that
out. Unless of course we want to enable this by default (for
simplicity) and have userpace poke to get out IPv4 / IPv6 if by
default no interfaces were enabled. Even though backend interfaces
would stand to gain on the average situation from this simplicity I
don't think the userspace requirements are worth it. Someone with
hundreds of guests (that don't do routing on the backend as clarified
by Zoltan) may want to test my patch though to see if there's any
reasonable cuts on getting these guests up and running.
Anyone itching for the above?
Luis
^ permalink raw reply
* Re: [PATCH net] sit: fix panic with route cache in ip tunnels
From: Eric Dumazet @ 2014-02-19 17:10 UTC (permalink / raw)
To: nicolas.dichtel; +Cc: davem, netdev, Tom Herbert
In-Reply-To: <5304E0BE.3020900@6wind.com>
On Wed, 2014-02-19 at 17:50 +0100, Nicolas Dichtel wrote:
> Yes, it's why I ask David to drop it ;-)
Yep, your mail reached my box after my answer ;)
^ permalink raw reply
* Re: [RFC v2 2/4] net: enables interface option to skip IP
From: Luis R. Rodriguez @ 2014-02-19 17:13 UTC (permalink / raw)
To: Stephen Hemminger
Cc: Dan Williams, netdev@vger.kernel.org, xen-devel, kvm,
linux-kernel@vger.kernel.org, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki YOSHIFUJI, Patrick McHardy
In-Reply-To: <20140218134257.667efe23@nehalam.linuxnetplumber.net>
On Tue, Feb 18, 2014 at 1:42 PM, Stephen Hemminger
<stephen@networkplumber.org> wrote:
> On Tue, 18 Feb 2014 13:19:15 -0800
> "Luis R. Rodriguez" <mcgrof@do-not-panic.com> wrote:
>
>> Sure, but note that the both disable_ipv6 and accept_dada sysctl
>> parameters are global. ipv4 and ipv6 interfaces are created upon
>> NETDEVICE_REGISTER, which will get triggered when a driver calls
>> register_netdev(). The goal of this patch was to enable an early
>> optimization for drivers that have no need ever for ipv4 or ipv6
>> interfaces.
>
> The trick with ipv6 is to register the device, then have userspace
> do the ipv6 sysctl before bringing the device up.
Nice, thanks!
Luis
^ permalink raw reply
* Re: [PATCH] Drivers: net: ethernet: 3com: 3c589_cs fixed coding style issues
From: Paul Gortmaker @ 2014-02-19 17:13 UTC (permalink / raw)
To: Justin van Wijngaarden; +Cc: gregkh, hsweeten, davem, netdev, linux-kernel
In-Reply-To: <1392677926-13219-1-git-send-email-justinvanwijngaarden@gmail.com>
On 14-02-17 05:58 PM, Justin van Wijngaarden wrote:
> checkpatch.pl clean-up, from 14 error/ 277 warnings, to 0 errors, 7 warnings
I see Dave has already applied this, but FWIW, I objdump'd the before
and after, and diff'd them to confirm no real changes crept in. Maybe
in the future you could mention whatever similar validations you'd used
to confirm it was a 100% cosmetic cleanup, since sometimes extra ";"
can sneak in or similar, and in a change this size, they can be hard
to spot.
Thanks,
Paul.
--
>
> Signed-off-by: Justin van Wijngaarden <justinvanwijngaarden@gmail.com>
> ---
> drivers/net/ethernet/3com/3c589_cs.c | 1127 ++++++++++++++++++----------------
> 1 file changed, 584 insertions(+), 543 deletions(-)
>
> diff --git a/drivers/net/ethernet/3com/3c589_cs.c b/drivers/net/ethernet/3com/3c589_cs.c
> index 5992860..063557e 100644
> --- a/drivers/net/ethernet/3com/3c589_cs.c
> +++ b/drivers/net/ethernet/3com/3c589_cs.c
> @@ -1,23 +1,24 @@
> -/*======================================================================
> -
> - A PCMCIA ethernet driver for the 3com 3c589 card.
> -
> - Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net
> -
> - 3c589_cs.c 1.162 2001/10/13 00:08:50
> -
> - The network driver code is based on Donald Becker's 3c589 code:
> -
> - Written 1994 by Donald Becker.
> - Copyright 1993 United States Government as represented by the
> - Director, National Security Agency. This software may be used and
> - distributed according to the terms of the GNU General Public License,
> - incorporated herein by reference.
> - Donald Becker may be reached at becker@scyld.com
> -
> - Updated for 2.5.x by Alan Cox <alan@lxorguk.ukuu.org.uk>
> -
> -======================================================================*/
> +/* ======================================================================
> + *
> + * A PCMCIA ethernet driver for the 3com 3c589 card.
> + *
> + * Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net
> + *
> + * 3c589_cs.c 1.162 2001/10/13 00:08:50
> + *
> + * The network driver code is based on Donald Becker's 3c589 code:
> + *
> + * Written 1994 by Donald Becker.
> + * Copyright 1993 United States Government as represented by the
> + * Director, National Security Agency. This software may be used and
> + * distributed according to the terms of the GNU General Public License,
> + * incorporated herein by reference.
> + * Donald Becker may be reached at becker@scyld.com
> + *
> + * Updated for 2.5.x by Alan Cox <alan@lxorguk.ukuu.org.uk>
> + *
> + * ======================================================================
> + */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> @@ -41,18 +42,20 @@
> #include <linux/ioport.h>
> #include <linux/bitops.h>
> #include <linux/jiffies.h>
> +#include <linux/uaccess.h>
> +#include <linux/io.h>
>
> #include <pcmcia/cistpl.h>
> #include <pcmcia/cisreg.h>
> #include <pcmcia/ciscode.h>
> #include <pcmcia/ds.h>
>
> -#include <asm/uaccess.h>
> -#include <asm/io.h>
>
> /* To minimize the size of the driver source I only define operating
> - constants if they are used several times. You'll need the manual
> - if you want to understand driver details. */
> + * constants if they are used several times. You'll need the manual
> + * if you want to understand driver details.
> + */
> +
> /* Offsets from base I/O address. */
> #define EL3_DATA 0x00
> #define EL3_TIMER 0x0a
> @@ -65,7 +68,9 @@
> #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
>
> /* The top five bits written to EL3_CMD are a command, the lower
> - 11 bits are the parameter, if applicable. */
> + * 11 bits are the parameter, if applicable.
> + */
> +
> enum c509cmd {
> TotalReset = 0<<11,
> SelectWindow = 1<<11,
> @@ -190,138 +195,142 @@ static const struct net_device_ops el3_netdev_ops = {
>
> static int tc589_probe(struct pcmcia_device *link)
> {
> - struct el3_private *lp;
> - struct net_device *dev;
> + struct el3_private *lp;
> + struct net_device *dev;
>
> - dev_dbg(&link->dev, "3c589_attach()\n");
> + dev_dbg(&link->dev, "3c589_attach()\n");
>
> - /* Create new ethernet device */
> - dev = alloc_etherdev(sizeof(struct el3_private));
> - if (!dev)
> - return -ENOMEM;
> - lp = netdev_priv(dev);
> - link->priv = dev;
> - lp->p_dev = link;
> + /* Create new ethernet device */
> + dev = alloc_etherdev(sizeof(struct el3_private));
> + if (!dev)
> + return -ENOMEM;
> + lp = netdev_priv(dev);
> + link->priv = dev;
> + lp->p_dev = link;
>
> - spin_lock_init(&lp->lock);
> - link->resource[0]->end = 16;
> - link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;
> + spin_lock_init(&lp->lock);
> + link->resource[0]->end = 16;
> + link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;
>
> - link->config_flags |= CONF_ENABLE_IRQ;
> - link->config_index = 1;
> + link->config_flags |= CONF_ENABLE_IRQ;
> + link->config_index = 1;
>
> - dev->netdev_ops = &el3_netdev_ops;
> - dev->watchdog_timeo = TX_TIMEOUT;
> + dev->netdev_ops = &el3_netdev_ops;
> + dev->watchdog_timeo = TX_TIMEOUT;
>
> - SET_ETHTOOL_OPS(dev, &netdev_ethtool_ops);
> + SET_ETHTOOL_OPS(dev, &netdev_ethtool_ops);
>
> - return tc589_config(link);
> + return tc589_config(link);
> }
>
> static void tc589_detach(struct pcmcia_device *link)
> {
> - struct net_device *dev = link->priv;
> + struct net_device *dev = link->priv;
>
> - dev_dbg(&link->dev, "3c589_detach\n");
> + dev_dbg(&link->dev, "3c589_detach\n");
>
> - unregister_netdev(dev);
> + unregister_netdev(dev);
>
> - tc589_release(link);
> + tc589_release(link);
>
> - free_netdev(dev);
> + free_netdev(dev);
> } /* tc589_detach */
>
> static int tc589_config(struct pcmcia_device *link)
> {
> - struct net_device *dev = link->priv;
> - __be16 *phys_addr;
> - int ret, i, j, multi = 0, fifo;
> - unsigned int ioaddr;
> - static const char * const ram_split[] = {"5:3", "3:1", "1:1", "3:5"};
> - u8 *buf;
> - size_t len;
> -
> - dev_dbg(&link->dev, "3c589_config\n");
> -
> - phys_addr = (__be16 *)dev->dev_addr;
> - /* Is this a 3c562? */
> - if (link->manf_id != MANFID_3COM)
> - dev_info(&link->dev, "hmmm, is this really a 3Com card??\n");
> - multi = (link->card_id == PRODID_3COM_3C562);
> -
> - link->io_lines = 16;
> -
> - /* For the 3c562, the base address must be xx00-xx7f */
> - for (i = j = 0; j < 0x400; j += 0x10) {
> - if (multi && (j & 0x80)) continue;
> - link->resource[0]->start = j ^ 0x300;
> - i = pcmcia_request_io(link);
> - if (i == 0)
> - break;
> - }
> - if (i != 0)
> - goto failed;
> -
> - ret = pcmcia_request_irq(link, el3_interrupt);
> - if (ret)
> - goto failed;
> -
> - ret = pcmcia_enable_device(link);
> - if (ret)
> - goto failed;
> -
> - dev->irq = link->irq;
> - dev->base_addr = link->resource[0]->start;
> - ioaddr = dev->base_addr;
> - EL3WINDOW(0);
> -
> - /* The 3c589 has an extra EEPROM for configuration info, including
> - the hardware address. The 3c562 puts the address in the CIS. */
> - len = pcmcia_get_tuple(link, 0x88, &buf);
> - if (buf && len >= 6) {
> - for (i = 0; i < 3; i++)
> - phys_addr[i] = htons(le16_to_cpu(buf[i*2]));
> - kfree(buf);
> - } else {
> - kfree(buf); /* 0 < len < 6 */
> - for (i = 0; i < 3; i++)
> - phys_addr[i] = htons(read_eeprom(ioaddr, i));
> - if (phys_addr[0] == htons(0x6060)) {
> - dev_err(&link->dev, "IO port conflict at 0x%03lx-0x%03lx\n",
> - dev->base_addr, dev->base_addr+15);
> - goto failed;
> + struct net_device *dev = link->priv;
> + __be16 *phys_addr;
> + int ret, i, j, multi = 0, fifo;
> + unsigned int ioaddr;
> + static const char * const ram_split[] = {"5:3", "3:1", "1:1", "3:5"};
> + u8 *buf;
> + size_t len;
> +
> + dev_dbg(&link->dev, "3c589_config\n");
> +
> + phys_addr = (__be16 *)dev->dev_addr;
> + /* Is this a 3c562? */
> + if (link->manf_id != MANFID_3COM)
> + dev_info(&link->dev, "hmmm, is this really a 3Com card??\n");
> + multi = (link->card_id == PRODID_3COM_3C562);
> +
> + link->io_lines = 16;
> +
> + /* For the 3c562, the base address must be xx00-xx7f */
> + for (i = j = 0; j < 0x400; j += 0x10) {
> + if (multi && (j & 0x80))
> + continue;
> + link->resource[0]->start = j ^ 0x300;
> + i = pcmcia_request_io(link);
> + if (i == 0)
> + break;
> }
> - }
> -
> - /* The address and resource configuration register aren't loaded from
> - the EEPROM and *must* be set to 0 and IRQ3 for the PCMCIA version. */
> - outw(0x3f00, ioaddr + 8);
> - fifo = inl(ioaddr);
> -
> - /* The if_port symbol can be set when the module is loaded */
> - if ((if_port >= 0) && (if_port <= 3))
> - dev->if_port = if_port;
> - else
> - dev_err(&link->dev, "invalid if_port requested\n");
> -
> - SET_NETDEV_DEV(dev, &link->dev);
> -
> - if (register_netdev(dev) != 0) {
> - dev_err(&link->dev, "register_netdev() failed\n");
> - goto failed;
> - }
> -
> - netdev_info(dev, "3Com 3c%s, io %#3lx, irq %d, hw_addr %pM\n",
> - (multi ? "562" : "589"), dev->base_addr, dev->irq,
> - dev->dev_addr);
> - netdev_info(dev, " %dK FIFO split %s Rx:Tx, %s xcvr\n",
> - (fifo & 7) ? 32 : 8, ram_split[(fifo >> 16) & 3],
> - if_names[dev->if_port]);
> - return 0;
> + if (i != 0)
> + goto failed;
> +
> + ret = pcmcia_request_irq(link, el3_interrupt);
> + if (ret)
> + goto failed;
> +
> + ret = pcmcia_enable_device(link);
> + if (ret)
> + goto failed;
> +
> + dev->irq = link->irq;
> + dev->base_addr = link->resource[0]->start;
> + ioaddr = dev->base_addr;
> + EL3WINDOW(0);
> +
> + /* The 3c589 has an extra EEPROM for configuration info, including
> + * the hardware address. The 3c562 puts the address in the CIS.
> + */
> + len = pcmcia_get_tuple(link, 0x88, &buf);
> + if (buf && len >= 6) {
> + for (i = 0; i < 3; i++)
> + phys_addr[i] = htons(le16_to_cpu(buf[i*2]));
> + kfree(buf);
> + } else {
> + kfree(buf); /* 0 < len < 6 */
> + for (i = 0; i < 3; i++)
> + phys_addr[i] = htons(read_eeprom(ioaddr, i));
> + if (phys_addr[0] == htons(0x6060)) {
> + dev_err(&link->dev, "IO port conflict at 0x%03lx-0x%03lx\n",
> + dev->base_addr, dev->base_addr+15);
> + goto failed;
> + }
> + }
> +
> + /* The address and resource configuration register aren't loaded from
> + * the EEPROM and *must* be set to 0 and IRQ3 for the PCMCIA version.
> + */
> +
> + outw(0x3f00, ioaddr + 8);
> + fifo = inl(ioaddr);
> +
> + /* The if_port symbol can be set when the module is loaded */
> + if ((if_port >= 0) && (if_port <= 3))
> + dev->if_port = if_port;
> + else
> + dev_err(&link->dev, "invalid if_port requested\n");
> +
> + SET_NETDEV_DEV(dev, &link->dev);
> +
> + if (register_netdev(dev) != 0) {
> + dev_err(&link->dev, "register_netdev() failed\n");
> + goto failed;
> + }
> +
> + netdev_info(dev, "3Com 3c%s, io %#3lx, irq %d, hw_addr %pM\n",
> + (multi ? "562" : "589"), dev->base_addr, dev->irq,
> + dev->dev_addr);
> + netdev_info(dev, " %dK FIFO split %s Rx:Tx, %s xcvr\n",
> + (fifo & 7) ? 32 : 8, ram_split[(fifo >> 16) & 3],
> + if_names[dev->if_port]);
> + return 0;
>
> failed:
> - tc589_release(link);
> - return -ENODEV;
> + tc589_release(link);
> + return -ENODEV;
> } /* tc589_config */
>
> static void tc589_release(struct pcmcia_device *link)
> @@ -353,113 +362,120 @@ static int tc589_resume(struct pcmcia_device *link)
>
> /*====================================================================*/
>
> -/*
> - Use this for commands that may take time to finish
> -*/
> +/* Use this for commands that may take time to finish */
> +
> static void tc589_wait_for_completion(struct net_device *dev, int cmd)
> {
> - int i = 100;
> - outw(cmd, dev->base_addr + EL3_CMD);
> - while (--i > 0)
> - if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) break;
> - if (i == 0)
> - netdev_warn(dev, "command 0x%04x did not complete!\n", cmd);
> + int i = 100;
> + outw(cmd, dev->base_addr + EL3_CMD);
> + while (--i > 0)
> + if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000))
> + break;
> + if (i == 0)
> + netdev_warn(dev, "command 0x%04x did not complete!\n", cmd);
> }
>
> -/*
> - Read a word from the EEPROM using the regular EEPROM access register.
> - Assume that we are in register window zero.
> -*/
> +/* Read a word from the EEPROM using the regular EEPROM access register.
> + * Assume that we are in register window zero.
> + */
> +
> static u16 read_eeprom(unsigned int ioaddr, int index)
> {
> - int i;
> - outw(EEPROM_READ + index, ioaddr + 10);
> - /* Reading the eeprom takes 162 us */
> - for (i = 1620; i >= 0; i--)
> - if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0)
> - break;
> - return inw(ioaddr + 12);
> + int i;
> + outw(EEPROM_READ + index, ioaddr + 10);
> + /* Reading the eeprom takes 162 us */
> + for (i = 1620; i >= 0; i--)
> + if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0)
> + break;
> + return inw(ioaddr + 12);
> }
>
> -/*
> - Set transceiver type, perhaps to something other than what the user
> - specified in dev->if_port.
> -*/
> +/* Set transceiver type, perhaps to something other than what the user
> + * specified in dev->if_port.
> + */
> +
> static void tc589_set_xcvr(struct net_device *dev, int if_port)
> {
> - struct el3_private *lp = netdev_priv(dev);
> - unsigned int ioaddr = dev->base_addr;
> -
> - EL3WINDOW(0);
> - switch (if_port) {
> - case 0: case 1: outw(0, ioaddr + 6); break;
> - case 2: outw(3<<14, ioaddr + 6); break;
> - case 3: outw(1<<14, ioaddr + 6); break;
> - }
> - /* On PCMCIA, this just turns on the LED */
> - outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD);
> - /* 10baseT interface, enable link beat and jabber check. */
> - EL3WINDOW(4);
> - outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA);
> - EL3WINDOW(1);
> - if (if_port == 2)
> - lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000);
> - else
> - lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800);
> + struct el3_private *lp = netdev_priv(dev);
> + unsigned int ioaddr = dev->base_addr;
> +
> + EL3WINDOW(0);
> + switch (if_port) {
> + case 0:
> + case 1:
> + outw(0, ioaddr + 6);
> + break;
> + case 2:
> + outw(3<<14, ioaddr + 6);
> + break;
> + case 3:
> + outw(1<<14, ioaddr + 6);
> + break;
> + }
> + /* On PCMCIA, this just turns on the LED */
> + outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD);
> + /* 10baseT interface, enable link beat and jabber check. */
> + EL3WINDOW(4);
> + outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA);
> + EL3WINDOW(1);
> + if (if_port == 2)
> + lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000);
> + else
> + lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800);
> }
>
> static void dump_status(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - EL3WINDOW(1);
> - netdev_info(dev, " irq status %04x, rx status %04x, tx status %02x tx free %04x\n",
> - inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS),
> - inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE));
> - EL3WINDOW(4);
> - netdev_info(dev, " diagnostics: fifo %04x net %04x ethernet %04x media %04x\n",
> - inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08),
> - inw(ioaddr+0x0a));
> - EL3WINDOW(1);
> + unsigned int ioaddr = dev->base_addr;
> + EL3WINDOW(1);
> + netdev_info(dev, " irq status %04x, rx status %04x, tx status %02x tx free %04x\n",
> + inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS),
> + inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE));
> + EL3WINDOW(4);
> + netdev_info(dev, " diagnostics: fifo %04x net %04x ethernet %04x media %04x\n",
> + inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08),
> + inw(ioaddr+0x0a));
> + EL3WINDOW(1);
> }
>
> /* Reset and restore all of the 3c589 registers. */
> static void tc589_reset(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - int i;
> -
> - EL3WINDOW(0);
> - outw(0x0001, ioaddr + 4); /* Activate board. */
> - outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */
> -
> - /* Set the station address in window 2. */
> - EL3WINDOW(2);
> - for (i = 0; i < 6; i++)
> - outb(dev->dev_addr[i], ioaddr + i);
> -
> - tc589_set_xcvr(dev, dev->if_port);
> -
> - /* Switch to the stats window, and clear all stats by reading. */
> - outw(StatsDisable, ioaddr + EL3_CMD);
> - EL3WINDOW(6);
> - for (i = 0; i < 9; i++)
> - inb(ioaddr+i);
> - inw(ioaddr + 10);
> - inw(ioaddr + 12);
> -
> - /* Switch to register set 1 for normal use. */
> - EL3WINDOW(1);
> -
> - set_rx_mode(dev);
> - outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */
> - outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */
> - outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */
> - /* Allow status bits to be seen. */
> - outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD);
> - /* Ack all pending events, and set active indicator mask. */
> - outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq,
> + unsigned int ioaddr = dev->base_addr;
> + int i;
> +
> + EL3WINDOW(0);
> + outw(0x0001, ioaddr + 4); /* Activate board. */
> + outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */
> +
> + /* Set the station address in window 2. */
> + EL3WINDOW(2);
> + for (i = 0; i < 6; i++)
> + outb(dev->dev_addr[i], ioaddr + i);
> +
> + tc589_set_xcvr(dev, dev->if_port);
> +
> + /* Switch to the stats window, and clear all stats by reading. */
> + outw(StatsDisable, ioaddr + EL3_CMD);
> + EL3WINDOW(6);
> + for (i = 0; i < 9; i++)
> + inb(ioaddr+i);
> + inw(ioaddr + 10);
> + inw(ioaddr + 12);
> +
> + /* Switch to register set 1 for normal use. */
> + EL3WINDOW(1);
> +
> + set_rx_mode(dev);
> + outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */
> + outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */
> + outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */
> + /* Allow status bits to be seen. */
> + outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD);
> + /* Ack all pending events, and set active indicator mask. */
> + outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq,
> ioaddr + EL3_CMD);
> - outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull
> + outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull
> | AdapterFailure, ioaddr + EL3_CMD);
> }
>
> @@ -478,381 +494,406 @@ static const struct ethtool_ops netdev_ethtool_ops = {
>
> static int el3_config(struct net_device *dev, struct ifmap *map)
> {
> - if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) {
> - if (map->port <= 3) {
> - dev->if_port = map->port;
> - netdev_info(dev, "switched to %s port\n", if_names[dev->if_port]);
> - tc589_set_xcvr(dev, dev->if_port);
> - } else
> - return -EINVAL;
> - }
> - return 0;
> + if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) {
> + if (map->port <= 3) {
> + dev->if_port = map->port;
> + netdev_info(dev, "switched to %s port\n", if_names[dev->if_port]);
> + tc589_set_xcvr(dev, dev->if_port);
> + } else {
> + return -EINVAL;
> + }
> + }
> + return 0;
> }
>
> static int el3_open(struct net_device *dev)
> {
> - struct el3_private *lp = netdev_priv(dev);
> - struct pcmcia_device *link = lp->p_dev;
> + struct el3_private *lp = netdev_priv(dev);
> + struct pcmcia_device *link = lp->p_dev;
>
> - if (!pcmcia_dev_present(link))
> - return -ENODEV;
> + if (!pcmcia_dev_present(link))
> + return -ENODEV;
>
> - link->open++;
> - netif_start_queue(dev);
> + link->open++;
> + netif_start_queue(dev);
>
> - tc589_reset(dev);
> - init_timer(&lp->media);
> - lp->media.function = media_check;
> - lp->media.data = (unsigned long) dev;
> - lp->media.expires = jiffies + HZ;
> - add_timer(&lp->media);
> + tc589_reset(dev);
> + init_timer(&lp->media);
> + lp->media.function = media_check;
> + lp->media.data = (unsigned long) dev;
> + lp->media.expires = jiffies + HZ;
> + add_timer(&lp->media);
>
> - dev_dbg(&link->dev, "%s: opened, status %4.4x.\n",
> + dev_dbg(&link->dev, "%s: opened, status %4.4x.\n",
> dev->name, inw(dev->base_addr + EL3_STATUS));
>
> - return 0;
> + return 0;
> }
>
> static void el3_tx_timeout(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> -
> - netdev_warn(dev, "Transmit timed out!\n");
> - dump_status(dev);
> - dev->stats.tx_errors++;
> - dev->trans_start = jiffies; /* prevent tx timeout */
> - /* Issue TX_RESET and TX_START commands. */
> - tc589_wait_for_completion(dev, TxReset);
> - outw(TxEnable, ioaddr + EL3_CMD);
> - netif_wake_queue(dev);
> + unsigned int ioaddr = dev->base_addr;
> +
> + netdev_warn(dev, "Transmit timed out!\n");
> + dump_status(dev);
> + dev->stats.tx_errors++;
> + dev->trans_start = jiffies; /* prevent tx timeout */
> + /* Issue TX_RESET and TX_START commands. */
> + tc589_wait_for_completion(dev, TxReset);
> + outw(TxEnable, ioaddr + EL3_CMD);
> + netif_wake_queue(dev);
> }
>
> static void pop_tx_status(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - int i;
> -
> - /* Clear the Tx status stack. */
> - for (i = 32; i > 0; i--) {
> - u_char tx_status = inb(ioaddr + TX_STATUS);
> - if (!(tx_status & 0x84)) break;
> - /* reset transmitter on jabber error or underrun */
> - if (tx_status & 0x30)
> - tc589_wait_for_completion(dev, TxReset);
> - if (tx_status & 0x38) {
> - netdev_dbg(dev, "transmit error: status 0x%02x\n", tx_status);
> - outw(TxEnable, ioaddr + EL3_CMD);
> - dev->stats.tx_aborted_errors++;
> + unsigned int ioaddr = dev->base_addr;
> + int i;
> +
> + /* Clear the Tx status stack. */
> + for (i = 32; i > 0; i--) {
> + u_char tx_status = inb(ioaddr + TX_STATUS);
> + if (!(tx_status & 0x84))
> + break;
> + /* reset transmitter on jabber error or underrun */
> + if (tx_status & 0x30)
> + tc589_wait_for_completion(dev, TxReset);
> + if (tx_status & 0x38) {
> + netdev_dbg(dev, "transmit error: status 0x%02x\n", tx_status);
> + outw(TxEnable, ioaddr + EL3_CMD);
> + dev->stats.tx_aborted_errors++;
> + }
> + outb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */
> }
> - outb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */
> - }
> }
>
> static netdev_tx_t el3_start_xmit(struct sk_buff *skb,
> struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - struct el3_private *priv = netdev_priv(dev);
> - unsigned long flags;
> + unsigned int ioaddr = dev->base_addr;
> + struct el3_private *priv = netdev_priv(dev);
> + unsigned long flags;
>
> - netdev_dbg(dev, "el3_start_xmit(length = %ld) called, status %4.4x.\n",
> + netdev_dbg(dev, "el3_start_xmit(length = %ld) called, status %4.4x.\n",
> (long)skb->len, inw(ioaddr + EL3_STATUS));
>
> - spin_lock_irqsave(&priv->lock, flags);
> + spin_lock_irqsave(&priv->lock, flags);
>
> - dev->stats.tx_bytes += skb->len;
> + dev->stats.tx_bytes += skb->len;
>
> - /* Put out the doubleword header... */
> - outw(skb->len, ioaddr + TX_FIFO);
> - outw(0x00, ioaddr + TX_FIFO);
> - /* ... and the packet rounded to a doubleword. */
> - outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
> + /* Put out the doubleword header... */
> + outw(skb->len, ioaddr + TX_FIFO);
> + outw(0x00, ioaddr + TX_FIFO);
> + /* ... and the packet rounded to a doubleword. */
> + outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
>
> - if (inw(ioaddr + TX_FREE) <= 1536) {
> - netif_stop_queue(dev);
> - /* Interrupt us when the FIFO has room for max-sized packet. */
> - outw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
> - }
> + if (inw(ioaddr + TX_FREE) <= 1536) {
> + netif_stop_queue(dev);
> + /* Interrupt us when the FIFO has room for max-sized packet. */
> + outw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
> + }
>
> - pop_tx_status(dev);
> - spin_unlock_irqrestore(&priv->lock, flags);
> - dev_kfree_skb(skb);
> + pop_tx_status(dev);
> + spin_unlock_irqrestore(&priv->lock, flags);
> + dev_kfree_skb(skb);
>
> - return NETDEV_TX_OK;
> + return NETDEV_TX_OK;
> }
>
> /* The EL3 interrupt handler. */
> static irqreturn_t el3_interrupt(int irq, void *dev_id)
> {
> - struct net_device *dev = (struct net_device *) dev_id;
> - struct el3_private *lp = netdev_priv(dev);
> - unsigned int ioaddr;
> - __u16 status;
> - int i = 0, handled = 1;
> + struct net_device *dev = (struct net_device *) dev_id;
> + struct el3_private *lp = netdev_priv(dev);
> + unsigned int ioaddr;
> + __u16 status;
> + int i = 0, handled = 1;
>
> - if (!netif_device_present(dev))
> - return IRQ_NONE;
> + if (!netif_device_present(dev))
> + return IRQ_NONE;
>
> - ioaddr = dev->base_addr;
> + ioaddr = dev->base_addr;
>
> - netdev_dbg(dev, "interrupt, status %4.4x.\n", inw(ioaddr + EL3_STATUS));
> + netdev_dbg(dev, "interrupt, status %4.4x.\n", inw(ioaddr + EL3_STATUS));
>
> - spin_lock(&lp->lock);
> - while ((status = inw(ioaddr + EL3_STATUS)) &
> + spin_lock(&lp->lock);
> + while ((status = inw(ioaddr + EL3_STATUS)) &
> (IntLatch | RxComplete | StatsFull)) {
> - if ((status & 0xe000) != 0x2000) {
> - netdev_dbg(dev, "interrupt from dead card\n");
> - handled = 0;
> - break;
> - }
> - if (status & RxComplete)
> - el3_rx(dev);
> - if (status & TxAvailable) {
> - netdev_dbg(dev, " TX room bit was handled.\n");
> - /* There's room in the FIFO for a full-sized packet. */
> - outw(AckIntr | TxAvailable, ioaddr + EL3_CMD);
> - netif_wake_queue(dev);
> - }
> - if (status & TxComplete)
> - pop_tx_status(dev);
> - if (status & (AdapterFailure | RxEarly | StatsFull)) {
> - /* Handle all uncommon interrupts. */
> - if (status & StatsFull) /* Empty statistics. */
> - update_stats(dev);
> - if (status & RxEarly) { /* Rx early is unused. */
> - el3_rx(dev);
> - outw(AckIntr | RxEarly, ioaddr + EL3_CMD);
> - }
> - if (status & AdapterFailure) {
> - u16 fifo_diag;
> - EL3WINDOW(4);
> - fifo_diag = inw(ioaddr + 4);
> - EL3WINDOW(1);
> - netdev_warn(dev, "adapter failure, FIFO diagnostic register %04x.\n",
> + if ((status & 0xe000) != 0x2000) {
> + netdev_dbg(dev, "interrupt from dead card\n");
> + handled = 0;
> + break;
> + }
> + if (status & RxComplete)
> + el3_rx(dev);
> + if (status & TxAvailable) {
> + netdev_dbg(dev, " TX room bit was handled.\n");
> + /* There's room in the FIFO for a full-sized packet. */
> + outw(AckIntr | TxAvailable, ioaddr + EL3_CMD);
> + netif_wake_queue(dev);
> + }
> + if (status & TxComplete)
> + pop_tx_status(dev);
> + if (status & (AdapterFailure | RxEarly | StatsFull)) {
> + /* Handle all uncommon interrupts. */
> + if (status & StatsFull) /* Empty statistics. */
> + update_stats(dev);
> + if (status & RxEarly) {
> + /* Rx early is unused. */
> + el3_rx(dev);
> + outw(AckIntr | RxEarly, ioaddr + EL3_CMD);
> + }
> + if (status & AdapterFailure) {
> + u16 fifo_diag;
> + EL3WINDOW(4);
> + fifo_diag = inw(ioaddr + 4);
> + EL3WINDOW(1);
> + netdev_warn(dev, "adapter failure, FIFO diagnostic register %04x.\n",
> fifo_diag);
> - if (fifo_diag & 0x0400) {
> - /* Tx overrun */
> - tc589_wait_for_completion(dev, TxReset);
> - outw(TxEnable, ioaddr + EL3_CMD);
> + if (fifo_diag & 0x0400) {
> + /* Tx overrun */
> + tc589_wait_for_completion(dev, TxReset);
> + outw(TxEnable, ioaddr + EL3_CMD);
> + }
> + if (fifo_diag & 0x2000) {
> + /* Rx underrun */
> + tc589_wait_for_completion(dev, RxReset);
> + set_rx_mode(dev);
> + outw(RxEnable, ioaddr + EL3_CMD);
> + }
> + outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD);
> + }
> }
> - if (fifo_diag & 0x2000) {
> - /* Rx underrun */
> - tc589_wait_for_completion(dev, RxReset);
> - set_rx_mode(dev);
> - outw(RxEnable, ioaddr + EL3_CMD);
> + if (++i > 10) {
> + netdev_err(dev, "infinite loop in interrupt, status %4.4x.\n",
> + status);
> + /* Clear all interrupts */
> + outw(AckIntr | 0xFF, ioaddr + EL3_CMD);
> + break;
> }
> - outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD);
> - }
> + /* Acknowledge the IRQ. */
> + outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD);
> }
> - if (++i > 10) {
> - netdev_err(dev, "infinite loop in interrupt, status %4.4x.\n",
> - status);
> - /* Clear all interrupts */
> - outw(AckIntr | 0xFF, ioaddr + EL3_CMD);
> - break;
> - }
> - /* Acknowledge the IRQ. */
> - outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD);
> - }
> - lp->last_irq = jiffies;
> - spin_unlock(&lp->lock);
> - netdev_dbg(dev, "exiting interrupt, status %4.4x.\n",
> - inw(ioaddr + EL3_STATUS));
> - return IRQ_RETVAL(handled);
> + lp->last_irq = jiffies;
> + spin_unlock(&lp->lock);
> + netdev_dbg(dev, "exiting interrupt, status %4.4x.\n",
> + inw(ioaddr + EL3_STATUS));
> + return IRQ_RETVAL(handled);
> }
>
> static void media_check(unsigned long arg)
> {
> - struct net_device *dev = (struct net_device *)(arg);
> - struct el3_private *lp = netdev_priv(dev);
> - unsigned int ioaddr = dev->base_addr;
> - u16 media, errs;
> - unsigned long flags;
> + struct net_device *dev = (struct net_device *)(arg);
> + struct el3_private *lp = netdev_priv(dev);
> + unsigned int ioaddr = dev->base_addr;
> + u16 media, errs;
> + unsigned long flags;
>
> - if (!netif_device_present(dev)) goto reschedule;
> + if (!netif_device_present(dev))
> + goto reschedule;
>
> - /* Check for pending interrupt with expired latency timer: with
> - this, we can limp along even if the interrupt is blocked */
> - if ((inw(ioaddr + EL3_STATUS) & IntLatch) &&
> + /* Check for pending interrupt with expired latency timer: with
> + * this, we can limp along even if the interrupt is blocked
> + */
> + if ((inw(ioaddr + EL3_STATUS) & IntLatch) &&
> (inb(ioaddr + EL3_TIMER) == 0xff)) {
> - if (!lp->fast_poll)
> - netdev_warn(dev, "interrupt(s) dropped!\n");
> -
> - local_irq_save(flags);
> - el3_interrupt(dev->irq, dev);
> - local_irq_restore(flags);
> -
> - lp->fast_poll = HZ;
> - }
> - if (lp->fast_poll) {
> - lp->fast_poll--;
> - lp->media.expires = jiffies + HZ/100;
> - add_timer(&lp->media);
> - return;
> - }
> -
> - /* lp->lock guards the EL3 window. Window should always be 1 except
> - when the lock is held */
> - spin_lock_irqsave(&lp->lock, flags);
> - EL3WINDOW(4);
> - media = inw(ioaddr+WN4_MEDIA) & 0xc810;
> -
> - /* Ignore collisions unless we've had no irq's recently */
> - if (time_before(jiffies, lp->last_irq + HZ)) {
> - media &= ~0x0010;
> - } else {
> - /* Try harder to detect carrier errors */
> - EL3WINDOW(6);
> - outw(StatsDisable, ioaddr + EL3_CMD);
> - errs = inb(ioaddr + 0);
> - outw(StatsEnable, ioaddr + EL3_CMD);
> - dev->stats.tx_carrier_errors += errs;
> - if (errs || (lp->media_status & 0x0010)) media |= 0x0010;
> - }
> + if (!lp->fast_poll)
> + netdev_warn(dev, "interrupt(s) dropped!\n");
> +
> + local_irq_save(flags);
> + el3_interrupt(dev->irq, dev);
> + local_irq_restore(flags);
> +
> + lp->fast_poll = HZ;
> + }
> + if (lp->fast_poll) {
> + lp->fast_poll--;
> + lp->media.expires = jiffies + HZ/100;
> + add_timer(&lp->media);
> + return;
> + }
> +
> + /* lp->lock guards the EL3 window. Window should always be 1 except
> + * when the lock is held
> + */
> +
> + spin_lock_irqsave(&lp->lock, flags);
> + EL3WINDOW(4);
> + media = inw(ioaddr+WN4_MEDIA) & 0xc810;
> +
> + /* Ignore collisions unless we've had no irq's recently */
> + if (time_before(jiffies, lp->last_irq + HZ)) {
> + media &= ~0x0010;
> + } else {
> + /* Try harder to detect carrier errors */
> + EL3WINDOW(6);
> + outw(StatsDisable, ioaddr + EL3_CMD);
> + errs = inb(ioaddr + 0);
> + outw(StatsEnable, ioaddr + EL3_CMD);
> + dev->stats.tx_carrier_errors += errs;
> + if (errs || (lp->media_status & 0x0010))
> + media |= 0x0010;
> + }
>
> - if (media != lp->media_status) {
> - if ((media & lp->media_status & 0x8000) &&
> - ((lp->media_status ^ media) & 0x0800))
> + if (media != lp->media_status) {
> + if ((media & lp->media_status & 0x8000) &&
> + ((lp->media_status ^ media) & 0x0800))
> netdev_info(dev, "%s link beat\n",
> - (lp->media_status & 0x0800 ? "lost" : "found"));
> - else if ((media & lp->media_status & 0x4000) &&
> + (lp->media_status & 0x0800 ? "lost" : "found"));
> + else if ((media & lp->media_status & 0x4000) &&
> ((lp->media_status ^ media) & 0x0010))
> netdev_info(dev, "coax cable %s\n",
> - (lp->media_status & 0x0010 ? "ok" : "problem"));
> - if (dev->if_port == 0) {
> - if (media & 0x8000) {
> - if (media & 0x0800)
> - netdev_info(dev, "flipped to 10baseT\n");
> - else
> + (lp->media_status & 0x0010 ? "ok" : "problem"));
> + if (dev->if_port == 0) {
> + if (media & 0x8000) {
> + if (media & 0x0800)
> + netdev_info(dev, "flipped to 10baseT\n");
> + else
> tc589_set_xcvr(dev, 2);
> - } else if (media & 0x4000) {
> - if (media & 0x0010)
> - tc589_set_xcvr(dev, 1);
> - else
> - netdev_info(dev, "flipped to 10base2\n");
> - }
> + } else if (media & 0x4000) {
> + if (media & 0x0010)
> + tc589_set_xcvr(dev, 1);
> + else
> + netdev_info(dev, "flipped to 10base2\n");
> + }
> + }
> + lp->media_status = media;
> }
> - lp->media_status = media;
> - }
>
> - EL3WINDOW(1);
> - spin_unlock_irqrestore(&lp->lock, flags);
> + EL3WINDOW(1);
> + spin_unlock_irqrestore(&lp->lock, flags);
>
> reschedule:
> - lp->media.expires = jiffies + HZ;
> - add_timer(&lp->media);
> + lp->media.expires = jiffies + HZ;
> + add_timer(&lp->media);
> }
>
> static struct net_device_stats *el3_get_stats(struct net_device *dev)
> {
> - struct el3_private *lp = netdev_priv(dev);
> - unsigned long flags;
> - struct pcmcia_device *link = lp->p_dev;
> + struct el3_private *lp = netdev_priv(dev);
> + unsigned long flags;
> + struct pcmcia_device *link = lp->p_dev;
>
> - if (pcmcia_dev_present(link)) {
> - spin_lock_irqsave(&lp->lock, flags);
> - update_stats(dev);
> - spin_unlock_irqrestore(&lp->lock, flags);
> - }
> - return &dev->stats;
> + if (pcmcia_dev_present(link)) {
> + spin_lock_irqsave(&lp->lock, flags);
> + update_stats(dev);
> + spin_unlock_irqrestore(&lp->lock, flags);
> + }
> + return &dev->stats;
> }
>
> -/*
> - Update statistics. We change to register window 6, so this should be run
> - single-threaded if the device is active. This is expected to be a rare
> - operation, and it's simpler for the rest of the driver to assume that
> - window 1 is always valid rather than use a special window-state variable.
> -
> - Caller must hold the lock for this
> +/* Update statistics. We change to register window 6, so this should be run
> +* single-threaded if the device is active. This is expected to be a rare
> +* operation, and it's simpler for the rest of the driver to assume that
> +* window 1 is always valid rather than use a special window-state variable.
> +*
> +* Caller must hold the lock for this
> */
> +
> static void update_stats(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> -
> - netdev_dbg(dev, "updating the statistics.\n");
> - /* Turn off statistics updates while reading. */
> - outw(StatsDisable, ioaddr + EL3_CMD);
> - /* Switch to the stats window, and read everything. */
> - EL3WINDOW(6);
> - dev->stats.tx_carrier_errors += inb(ioaddr + 0);
> - dev->stats.tx_heartbeat_errors += inb(ioaddr + 1);
> - /* Multiple collisions. */ inb(ioaddr + 2);
> - dev->stats.collisions += inb(ioaddr + 3);
> - dev->stats.tx_window_errors += inb(ioaddr + 4);
> - dev->stats.rx_fifo_errors += inb(ioaddr + 5);
> - dev->stats.tx_packets += inb(ioaddr + 6);
> - /* Rx packets */ inb(ioaddr + 7);
> - /* Tx deferrals */ inb(ioaddr + 8);
> - /* Rx octets */ inw(ioaddr + 10);
> - /* Tx octets */ inw(ioaddr + 12);
> -
> - /* Back to window 1, and turn statistics back on. */
> - EL3WINDOW(1);
> - outw(StatsEnable, ioaddr + EL3_CMD);
> + unsigned int ioaddr = dev->base_addr;
> +
> + netdev_dbg(dev, "updating the statistics.\n");
> + /* Turn off statistics updates while reading. */
> + outw(StatsDisable, ioaddr + EL3_CMD);
> + /* Switch to the stats window, and read everything. */
> + EL3WINDOW(6);
> + dev->stats.tx_carrier_errors += inb(ioaddr + 0);
> + dev->stats.tx_heartbeat_errors += inb(ioaddr + 1);
> + /* Multiple collisions. */
> + inb(ioaddr + 2);
> + dev->stats.collisions += inb(ioaddr + 3);
> + dev->stats.tx_window_errors += inb(ioaddr + 4);
> + dev->stats.rx_fifo_errors += inb(ioaddr + 5);
> + dev->stats.tx_packets += inb(ioaddr + 6);
> + /* Rx packets */
> + inb(ioaddr + 7);
> + /* Tx deferrals */
> + inb(ioaddr + 8);
> + /* Rx octets */
> + inw(ioaddr + 10);
> + /* Tx octets */
> + inw(ioaddr + 12);
> +
> + /* Back to window 1, and turn statistics back on. */
> + EL3WINDOW(1);
> + outw(StatsEnable, ioaddr + EL3_CMD);
> }
>
> static int el3_rx(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - int worklimit = 32;
> - short rx_status;
> + unsigned int ioaddr = dev->base_addr;
> + int worklimit = 32;
> + short rx_status;
>
> - netdev_dbg(dev, "in rx_packet(), status %4.4x, rx_status %4.4x.\n",
> + netdev_dbg(dev, "in rx_packet(), status %4.4x, rx_status %4.4x.\n",
> inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS));
> - while (!((rx_status = inw(ioaddr + RX_STATUS)) & 0x8000) &&
> + while (!((rx_status = inw(ioaddr + RX_STATUS)) & 0x8000) &&
> worklimit > 0) {
> - worklimit--;
> - if (rx_status & 0x4000) { /* Error, update stats. */
> - short error = rx_status & 0x3800;
> - dev->stats.rx_errors++;
> - switch (error) {
> - case 0x0000: dev->stats.rx_over_errors++; break;
> - case 0x0800: dev->stats.rx_length_errors++; break;
> - case 0x1000: dev->stats.rx_frame_errors++; break;
> - case 0x1800: dev->stats.rx_length_errors++; break;
> - case 0x2000: dev->stats.rx_frame_errors++; break;
> - case 0x2800: dev->stats.rx_crc_errors++; break;
> - }
> - } else {
> - short pkt_len = rx_status & 0x7ff;
> - struct sk_buff *skb;
> -
> - skb = netdev_alloc_skb(dev, pkt_len + 5);
> -
> - netdev_dbg(dev, " Receiving packet size %d status %4.4x.\n",
> + worklimit--;
> + if (rx_status & 0x4000) { /* Error, update stats. */
> + short error = rx_status & 0x3800;
> + dev->stats.rx_errors++;
> + switch (error) {
> + case 0x0000:
> + dev->stats.rx_over_errors++;
> + break;
> + case 0x0800:
> + dev->stats.rx_length_errors++;
> + break;
> + case 0x1000:
> + dev->stats.rx_frame_errors++;
> + break;
> + case 0x1800:
> + dev->stats.rx_length_errors++;
> + break;
> + case 0x2000:
> + dev->stats.rx_frame_errors++;
> + break;
> + case 0x2800:
> + dev->stats.rx_crc_errors++;
> + break;
> + }
> + } else {
> + short pkt_len = rx_status & 0x7ff;
> + struct sk_buff *skb;
> +
> + skb = netdev_alloc_skb(dev, pkt_len + 5);
> +
> + netdev_dbg(dev, " Receiving packet size %d status %4.4x.\n",
> pkt_len, rx_status);
> - if (skb != NULL) {
> - skb_reserve(skb, 2);
> - insl(ioaddr+RX_FIFO, skb_put(skb, pkt_len),
> + if (skb != NULL) {
> + skb_reserve(skb, 2);
> + insl(ioaddr+RX_FIFO, skb_put(skb, pkt_len),
> (pkt_len+3)>>2);
> - skb->protocol = eth_type_trans(skb, dev);
> - netif_rx(skb);
> - dev->stats.rx_packets++;
> - dev->stats.rx_bytes += pkt_len;
> - } else {
> - netdev_dbg(dev, "couldn't allocate a sk_buff of size %d.\n",
> + skb->protocol = eth_type_trans(skb, dev);
> + netif_rx(skb);
> + dev->stats.rx_packets++;
> + dev->stats.rx_bytes += pkt_len;
> + } else {
> + netdev_dbg(dev, "couldn't allocate a sk_buff of size %d.\n",
> pkt_len);
> - dev->stats.rx_dropped++;
> - }
> + dev->stats.rx_dropped++;
> + }
> + }
> + /* Pop the top of the Rx FIFO */
> + tc589_wait_for_completion(dev, RxDiscard);
> }
> - /* Pop the top of the Rx FIFO */
> - tc589_wait_for_completion(dev, RxDiscard);
> - }
> - if (worklimit == 0)
> - netdev_warn(dev, "too much work in el3_rx!\n");
> - return 0;
> + if (worklimit == 0)
> + netdev_warn(dev, "too much work in el3_rx!\n");
> + return 0;
> }
>
> static void set_rx_mode(struct net_device *dev)
> {
> - unsigned int ioaddr = dev->base_addr;
> - u16 opts = SetRxFilter | RxStation | RxBroadcast;
> -
> - if (dev->flags & IFF_PROMISC)
> - opts |= RxMulticast | RxProm;
> - else if (!netdev_mc_empty(dev) || (dev->flags & IFF_ALLMULTI))
> - opts |= RxMulticast;
> - outw(opts, ioaddr + EL3_CMD);
> + unsigned int ioaddr = dev->base_addr;
> + u16 opts = SetRxFilter | RxStation | RxBroadcast;
> +
> + if (dev->flags & IFF_PROMISC)
> + opts |= RxMulticast | RxProm;
> + else if (!netdev_mc_empty(dev) || (dev->flags & IFF_ALLMULTI))
> + opts |= RxMulticast;
> + outw(opts, ioaddr + EL3_CMD);
> }
>
> static void set_multicast_list(struct net_device *dev)
> @@ -867,44 +908,44 @@ static void set_multicast_list(struct net_device *dev)
>
> static int el3_close(struct net_device *dev)
> {
> - struct el3_private *lp = netdev_priv(dev);
> - struct pcmcia_device *link = lp->p_dev;
> - unsigned int ioaddr = dev->base_addr;
> -
> - dev_dbg(&link->dev, "%s: shutting down ethercard.\n", dev->name);
> + struct el3_private *lp = netdev_priv(dev);
> + struct pcmcia_device *link = lp->p_dev;
> + unsigned int ioaddr = dev->base_addr;
> +
> + dev_dbg(&link->dev, "%s: shutting down ethercard.\n", dev->name);
> +
> + if (pcmcia_dev_present(link)) {
> + /* Turn off statistics ASAP. We update dev->stats below. */
> + outw(StatsDisable, ioaddr + EL3_CMD);
> +
> + /* Disable the receiver and transmitter. */
> + outw(RxDisable, ioaddr + EL3_CMD);
> + outw(TxDisable, ioaddr + EL3_CMD);
> +
> + if (dev->if_port == 2)
> + /* Turn off thinnet power. Green! */
> + outw(StopCoax, ioaddr + EL3_CMD);
> + else if (dev->if_port == 1) {
> + /* Disable link beat and jabber */
> + EL3WINDOW(4);
> + outw(0, ioaddr + WN4_MEDIA);
> + }
>
> - if (pcmcia_dev_present(link)) {
> - /* Turn off statistics ASAP. We update dev->stats below. */
> - outw(StatsDisable, ioaddr + EL3_CMD);
> + /* Switching back to window 0 disables the IRQ. */
> + EL3WINDOW(0);
> + /* But we explicitly zero the IRQ line select anyway. */
> + outw(0x0f00, ioaddr + WN0_IRQ);
>
> - /* Disable the receiver and transmitter. */
> - outw(RxDisable, ioaddr + EL3_CMD);
> - outw(TxDisable, ioaddr + EL3_CMD);
> -
> - if (dev->if_port == 2)
> - /* Turn off thinnet power. Green! */
> - outw(StopCoax, ioaddr + EL3_CMD);
> - else if (dev->if_port == 1) {
> - /* Disable link beat and jabber */
> - EL3WINDOW(4);
> - outw(0, ioaddr + WN4_MEDIA);
> + /* Check if the card still exists */
> + if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000)
> + update_stats(dev);
> }
>
> - /* Switching back to window 0 disables the IRQ. */
> - EL3WINDOW(0);
> - /* But we explicitly zero the IRQ line select anyway. */
> - outw(0x0f00, ioaddr + WN0_IRQ);
> -
> - /* Check if the card still exists */
> - if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000)
> - update_stats(dev);
> - }
> -
> - link->open--;
> - netif_stop_queue(dev);
> - del_timer_sync(&lp->media);
> + link->open--;
> + netif_stop_queue(dev);
> + del_timer_sync(&lp->media);
>
> - return 0;
> + return 0;
> }
>
> static const struct pcmcia_device_id tc589_ids[] = {
>
^ permalink raw reply
* Re: [PATCH] net: add init-regs for of_phy support
From: Laurent Pinchart @ 2014-02-19 17:15 UTC (permalink / raw)
To: Mark Rutland
Cc: Ben Dooks, netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-sh@vger.kernel.org
In-Reply-To: <20140217141222.GB19308@e106331-lin.cambridge.arm.com>
Hi Ben,
On Monday 17 February 2014 14:12:22 Mark Rutland wrote:
> On Mon, Feb 17, 2014 at 01:50:28PM +0000, Ben Dooks wrote:
> > On 17/02/14 13:44, Mark Rutland wrote:
> > > On Mon, Feb 17, 2014 at 01:08:04PM +0000, Ben Dooks wrote:
> > >> Add new init-regs field for of_phy nodes and make sure these
> > >> get applied when the phy is configured.
> > >>
> > >> This allows any phy node in an fdt to initialise registers
> > >> that may not be set as standard by the driver at initialisation
> > >> time, such as LED controls.
> > >
> > > Why not have a driver for the particular PHY? If it's not standard we
> > > don't need to pretend it is. If it has some extensions then the standard
> > > compatible string can be a fallback entry in the compatible list.
> >
> > I was trying to provide some useful and reasonably generic code
> > to setup PHYs without having to add specific arguments to each of
> > them.
> >
> > I could have added something like ksz8041,led-mode1 = <1> and
> > updated the micrel driver.
>
> Perhaps. It depends on precisely what the property is describing.
>
> I think describing the hardware and letting Linux figure out what to do
> is better than giving it a set of opaque instructions for it to blindly
> follow.
I second that, I think a LED mode property would be better in this case.
--
Regards,
Laurent Pinchart
^ permalink raw reply
* Re: [RFC v2 2/4] net: enables interface option to skip IP
From: Luis R. Rodriguez @ 2014-02-19 17:20 UTC (permalink / raw)
To: Dan Williams, Zoltan Kiss
Cc: netdev@vger.kernel.org, xen-devel, kvm,
linux-kernel@vger.kernel.org, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki YOSHIFUJI, Patrick McHardy
In-Reply-To: <1392828325.21976.6.camel@dcbw.local>
On Wed, Feb 19, 2014 at 8:45 AM, Dan Williams <dcbw@redhat.com> wrote:
> On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote:
>> On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams <dcbw@redhat.com> wrote:
>> > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote:
>> >> From: "Luis R. Rodriguez" <mcgrof@suse.com>
>> >>
>> >> Some interfaces do not need to have any IPv4 or IPv6
>> >> addresses, so enable an option to specify this. One
>> >> example where this is observed are virtualization
>> >> backend interfaces which just use the net_device
>> >> constructs to help with their respective frontends.
>> >>
>> >> This should optimize boot time and complexity on
>> >> virtualization environments for each backend interface
>> >> while also avoiding triggering SLAAC and DAD, which is
>> >> simply pointless for these type of interfaces.
>> >
>> > Would it not be better/cleaner to use disable_ipv6 and then add a
>> > disable_ipv4 sysctl, then use those with that interface?
>>
>> Sure, but note that the both disable_ipv6 and accept_dada sysctl
>> parameters are global. ipv4 and ipv6 interfaces are created upon
>> NETDEVICE_REGISTER, which will get triggered when a driver calls
>> register_netdev(). The goal of this patch was to enable an early
>> optimization for drivers that have no need ever for ipv4 or ipv6
>> interfaces.
>
> Each interface gets override sysctls too though, eg:
>
> /proc/sys/net/ipv6/conf/enp0s25/disable_ipv6
I hadn't seen those, thanks!
> which is the one I meant; you're obviously right that the global ones
> aren't what you want here. But the specific ones should be suitable?
Under the approach Stephen mentioned by first ensuring the interface
is down yes. There's one use case I can consider to still want the
patch though, more on that below.
> If you set that on a per-interface basis, then you'll get EPERM or
> something whenever you try to add IPv6 addresses or do IPv6 routing.
Neat, thanks.
>> Zoltan has noted though some use cases of IPv4 or IPv6 addresses on
>> backends though, as such this is no longer applicable as a
>> requirement. The ipv4 sysctl however still seems like a reasonable
>> approach to enable optimizations of the network in topologies where
>> its known we won't need them but -- we'd need to consider a much more
>> granular solution, not just global as it is now for disable_ipv6, and
>> we'd also have to figure out a clean way to do this to not incur the
>> cost of early address interface addition upon register_netdev().
>>
>> Given that we have a use case for ipv4 and ipv6 addresses on
>> xen-netback we no longer have an immediate use case for such early
>> optimization primitives though, so I'll drop this.
>>
>> > The IFF_SKIP_IP seems to duplicate at least part of what disable_ipv6 is
>> > already doing.
>>
>> disable_ipv6 is global, the goal was to make this granular and skip
>> the cost upon early boot, but its been clarified we don't need this.
>
> Like Stephen says, you need to make sure you set them before IFF_UP, but
> beyond that, wouldn't the interface-specific sysctls work?
Yeah that'll do it, unless there is a measurable run time benefit cost
to never even add these in the first place. Consider a host with tons
of guests, not sure how many is 'a lot' these days. One would have to
measure the cost of reducing the amount of time it takes to boot these
up. As discussed in the other threads though there *is* some use cases
of assigning IPv4 or IPv6 addresses to the backend interfaces though:
routing them (although its unclear to me if iptables can be used
instead, Zoltan?). So at least now there no clear requirement to
remove these interfaces or not have them at all. The boot time cost
savings should be considered though if this is ultimately desirable. I
saw tons of timers and events that'd get triggered with any IPv4 or
IPv6 interface laying around.
Luis
^ permalink raw reply
* Re: [PATCH 1/1] net: tcp: RTO restart
From: Andreas Petlund @ 2014-02-19 17:17 UTC (permalink / raw)
To: Per Hurtig
Cc: netdev, davem, edumazet, Anna Brunström, Michael Welzl,
ilpo.jarvinen
In-Reply-To: <20140218181205.GA7780@kau.se>
I’ve applied and tested the patch on VMs with both 32 bit and 64 bit kernel.
Acked-by: Andreas Petlund <apetlund@simula.no>
Tested-by: Andreas Petlund <apetlund@simula.no>
Best regards,
Andreas Petlund
On 18 Feb 2014, at 19:12, Per Hurtig <per.hurtig@kau.se> wrote:
> This patch implements the RTO restart modification described in
> http://tools.ietf.org/html/draft-ietf-tcpm-rtorestart-02
>
> RTO Restart's goal is to provide quicker loss recovery for segments lost in the
> end of a burst/connection. To accomplish this the algorithm adjusts the RTO
> value on each rearm of the retransmission timer to be exactly RTO ms after the
> earliest outstanding segment was sent. The offsetting against the earliest
> outstanding segment is not done by the regular rearm algorithm, which causes
> RTOs to occur, on average, after RTO+RTT ms.
>
> As a faster timeout is only beneficial in scenarios where fast retransmit/early
> retransmit cannot be triggered the algorithm will only kick in when there is a
> small amount of outstanding segments.
>
> The RTO Restart proposal is accepted as a working group item in the IETF TCP
> Maintenance and Minor Extensions (tcpm) TCP wg and is intended for experimental
> RFC status.
>
> Signed-off-by: Per Hurtig <per.hurtig@kau.se>
> ---
> include/net/tcp.h | 1 +
> net/ipv4/sysctl_net_ipv4.c | 7 +++++++
> net/ipv4/tcp_input.c | 11 +++++++++++
> 3 files changed, 19 insertions(+)
>
> diff --git a/include/net/tcp.h b/include/net/tcp.h
> index 56fc366..575e82a 100644
> --- a/include/net/tcp.h
> +++ b/include/net/tcp.h
> @@ -278,6 +278,7 @@ extern int sysctl_tcp_slow_start_after_idle;
> extern int sysctl_tcp_thin_linear_timeouts;
> extern int sysctl_tcp_thin_dupack;
> extern int sysctl_tcp_early_retrans;
> +extern int sysctl_tcp_rto_restart;
> extern int sysctl_tcp_limit_output_bytes;
> extern int sysctl_tcp_challenge_ack_limit;
> extern unsigned int sysctl_tcp_notsent_lowat;
> diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c
> index 44eba05..c605f4f 100644
> --- a/net/ipv4/sysctl_net_ipv4.c
> +++ b/net/ipv4/sysctl_net_ipv4.c
> @@ -717,6 +717,13 @@ static struct ctl_table ipv4_table[] = {
> .extra2 = &four,
> },
> {
> + .procname = "tcp_rto_restart",
> + .data = &sysctl_tcp_rto_restart,
> + .maxlen = sizeof(int),
> + .mode = 0644,
> + .proc_handler = proc_dointvec,
> + },
> + {
> .procname = "tcp_min_tso_segs",
> .data = &sysctl_tcp_min_tso_segs,
> .maxlen = sizeof(int),
> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
> index 227cba7..450ee30 100644
> --- a/net/ipv4/tcp_input.c
> +++ b/net/ipv4/tcp_input.c
> @@ -98,6 +98,7 @@ int sysctl_tcp_thin_dupack __read_mostly;
>
> int sysctl_tcp_moderate_rcvbuf __read_mostly = 1;
> int sysctl_tcp_early_retrans __read_mostly = 3;
> +int sysctl_tcp_rto_restart __read_mostly = 1;
>
> #define FLAG_DATA 0x01 /* Incoming frame contained data. */
> #define FLAG_WIN_UPDATE 0x02 /* Incoming ACK was a window update. */
> @@ -2972,6 +2973,16 @@ void tcp_rearm_rto(struct sock *sk)
> */
> if (delta > 0)
> rto = delta;
> + } else if (icsk->icsk_pending == ICSK_TIME_RETRANS &&
> + sysctl_tcp_rto_restart &&
> + sk->sk_send_head == NULL &&
> + tp->packets_out < 4) {
> + struct sk_buff *skb = tcp_write_queue_head(sk);
> + const u32 rto_time_stamp = TCP_SKB_CB(skb)->when;
> + s32 delta = (s32)(tcp_time_stamp - rto_time_stamp);
> +
> + if (delta > 0)
> + rto -= delta;
> }
> inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, rto,
> TCP_RTO_MAX);
> --
> 1.7.9.5
>
^ permalink raw reply
* Re: [PATCH 1/1] net: tcp: RTO restart
From: Yuchung Cheng @ 2014-02-19 17:51 UTC (permalink / raw)
To: Per Hurtig
Cc: netdev, David Miller, Eric Dumazet, Anna Brunstrom,
Andreas Petlund, Michael Welzl, Ilpo Järvinen
In-Reply-To: <20140219105041.GA9981@kau.se>
On Wed, Feb 19, 2014 at 2:50 AM, Per Hurtig <per.hurtig@kau.se> wrote:
> Hi Yuchung,
>
> see inline
>
> On Tue, Feb 18, 2014 at 10:46:18AM -0800, Yuchung Cheng wrote:
>> On Tue, Feb 18, 2014 at 10:12 AM, Per Hurtig <per.hurtig@kau.se> wrote:
>> > This patch implements the RTO restart modification described in
>> > http://tools.ietf.org/html/draft-ietf-tcpm-rtorestart-02
>> >
>> > RTO Restart's goal is to provide quicker loss recovery for segments lost in the
>> > end of a burst/connection. To accomplish this the algorithm adjusts the RTO
>> > value on each rearm of the retransmission timer to be exactly RTO ms after the
>> > earliest outstanding segment was sent. The offsetting against the earliest
>> > outstanding segment is not done by the regular rearm algorithm, which causes
>> > RTOs to occur, on average, after RTO+RTT ms.
>> >
>> > As a faster timeout is only beneficial in scenarios where fast retransmit/early
>> > retransmit cannot be triggered the algorithm will only kick in when there is a
>> > small amount of outstanding segments.
>> (repost in plaine-text, sorry for the duplication)
>>
>> I am not sure this works well with Linux min-RTO=200ms, and don't feel
>> comfortable this is default on without some real experiments.
>>
>> I've implemented (a nearly identical version of) rto-restart on Google
>> web servers and found #timeouts increased by ~30%. Although the fast
>> timeout helps really short flows, it has a very negative side-effect:
>> resetting cwnd to 1. Thus the next HTTP response may start with a
>> small cwnd. In contrast, TCP loss probe has fast timeout (1.5RTT) to
>> do fast recovery to avoid the side-effect. In other words, I am
>> doubtful we need rto-restart with TCP loss probe, but applying
>> RTO-restart on TLP timer may be useful.
>
> As we have discussed, I agree that RTO restart can also be applied to TLP and
> this is also mentioned in the ietf draft. However, I think they are also
> complementary in reducing loss recovery delay.
>
>>
>> I've voiced this concern multiple times in ietf tcpm discussion when
>> we discuss this draft: that the idea itself is fine, but we'll need to
>> change Linux RTO algorithm together, not just the timer itself.
>>
>> I am happy to post some more detailed data if people are interested.
>
> We would love to see the data. The last time we discussed this, you were not
Sure I can gather some data this week for rto-restart.
> able to find it. From the latest discussions in the tcpm group I understood you
> didn't think it was that big of a problem anymore
rto-restart draft is OK with the context of hypothetical stack
implementing only RFC standards. But Linux is (much) more complex:
min-RTO=200ms, TLP, FACK, etc. Changing how the default timer is armed
needs to be carefully tested in real world before making rto-restart
default. Shortening timer (retry faster) always help short connections
but the long connections may suffer the cwnd reset due to spurious
timeout, *especially* Linux is already running a very aggressive
min-rto.
btw, the rto -= delta may overflow if the socket was locked when the
timer fired previously?
>
>
> Best Regards,
> Per Hurtig
>>
>> >
>> > The RTO Restart proposal is accepted as a working group item in the IETF TCP
>> > Maintenance and Minor Extensions (tcpm) TCP wg and is intended for experimental
>> > RFC status.
>> >
>> > Signed-off-by: Per Hurtig <per.hurtig@kau.se>
>> > ---
>> > include/net/tcp.h | 1 +
>> > net/ipv4/sysctl_net_ipv4.c | 7 +++++++
>> > net/ipv4/tcp_input.c | 11 +++++++++++
>> > 3 files changed, 19 insertions(+)
>> >
>> > diff --git a/include/net/tcp.h b/include/net/tcp.h
>> > index 56fc366..575e82a 100644
>> > --- a/include/net/tcp.h
>> > +++ b/include/net/tcp.h
>> > @@ -278,6 +278,7 @@ extern int sysctl_tcp_slow_start_after_idle;
>> > extern int sysctl_tcp_thin_linear_timeouts;
>> > extern int sysctl_tcp_thin_dupack;
>> > extern int sysctl_tcp_early_retrans;
>> > +extern int sysctl_tcp_rto_restart;
>> > extern int sysctl_tcp_limit_output_bytes;
>> > extern int sysctl_tcp_challenge_ack_limit;
>> > extern unsigned int sysctl_tcp_notsent_lowat;
>> > diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c
>> > index 44eba05..c605f4f 100644
>> > --- a/net/ipv4/sysctl_net_ipv4.c
>> > +++ b/net/ipv4/sysctl_net_ipv4.c
>> > @@ -717,6 +717,13 @@ static struct ctl_table ipv4_table[] = {
>> > .extra2 = &four,
>> > },
>> > {
>> > + .procname = "tcp_rto_restart",
>> > + .data = &sysctl_tcp_rto_restart,
>> > + .maxlen = sizeof(int),
>> > + .mode = 0644,
>> > + .proc_handler = proc_dointvec,
>> > + },
>> > + {
>> > .procname = "tcp_min_tso_segs",
>> > .data = &sysctl_tcp_min_tso_segs,
>> > .maxlen = sizeof(int),
>> > diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
>> > index 227cba7..450ee30 100644
>> > --- a/net/ipv4/tcp_input.c
>> > +++ b/net/ipv4/tcp_input.c
>> > @@ -98,6 +98,7 @@ int sysctl_tcp_thin_dupack __read_mostly;
>> >
>> > int sysctl_tcp_moderate_rcvbuf __read_mostly = 1;
>> > int sysctl_tcp_early_retrans __read_mostly = 3;
>> > +int sysctl_tcp_rto_restart __read_mostly = 1;
>> >
>> > #define FLAG_DATA 0x01 /* Incoming frame contained data. */
>> > #define FLAG_WIN_UPDATE 0x02 /* Incoming ACK was a window update. */
>> > @@ -2972,6 +2973,16 @@ void tcp_rearm_rto(struct sock *sk)
>> > */
>> > if (delta > 0)
>> > rto = delta;
>> > + } else if (icsk->icsk_pending == ICSK_TIME_RETRANS &&
>> > + sysctl_tcp_rto_restart &&
>> > + sk->sk_send_head == NULL &&
>> > + tp->packets_out < 4) {
>> > + struct sk_buff *skb = tcp_write_queue_head(sk);
>> > + const u32 rto_time_stamp = TCP_SKB_CB(skb)->when;
>> > + s32 delta = (s32)(tcp_time_stamp - rto_time_stamp);
>> > +
>> > + if (delta > 0)
>> > + rto -= delta;
>> > }
>> > inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, rto,
>> > TCP_RTO_MAX);
>> > --
>> > 1.7.9.5
>> >
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe netdev" in
>> > the body of a message to majordomo@vger.kernel.org
>> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply
* Re: [PATCH v2] of_mdio: fix phy interrupt passing
From: David Miller @ 2014-02-19 17:54 UTC (permalink / raw)
To: sergei.shtylyov
Cc: grant.likely, ben.dooks, linux-kernel, devicetree, linux-kernel,
netdev, linux-sh
In-Reply-To: <5304B14B.2070402@cogentembedded.com>
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Wed, 19 Feb 2014 17:27:39 +0400
> So, you decided to ignore my comment about unneeded *else* branch?
Not ignored, just figured that a follow-up patch could fix it.
^ permalink raw reply
* Re: [Xen-devel] [RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge
From: Luis R. Rodriguez @ 2014-02-19 17:59 UTC (permalink / raw)
To: Stephen Hemminger
Cc: Ian Campbell, kvm, netdev@vger.kernel.org, bridge,
linux-kernel@vger.kernel.org, Zoltan Kiss, xen-devel
In-Reply-To: <20140219090855.610c0e04@nehalam.linuxnetplumber.net>
On Wed, Feb 19, 2014 at 9:08 AM, Stephen Hemminger
<stephen@networkplumber.org> wrote:
> On Wed, 19 Feb 2014 09:02:06 -0800
> "Luis R. Rodriguez" <mcgrof@do-not-panic.com> wrote:
>
>> Folks, what if I repurpose my patch to use the IFF_BRIDGE_NON_ROOT (or
>> relabel to IFF_ROOT_BLOCK_DEF) flag for a default driver preference
>> upon initialization so that root block will be used once the device
>> gets added to a bridge. The purpose would be to avoid drivers from
>> using the high MAC address hack, streamline to use a random MAC
>> address thereby avoiding the possible duplicate address situation for
>> IPv6. In the STP use case for these interfaces we'd just require
>> userspace to unset the root block. I'd consider the STP use case the
>> most odd of all. The caveat to this approach is 3.8 would be needed
>> (or its the root block patches cherry picked) for base kernels older
>> than 3.8.
>>
>> Stephen?
>>
>> Luis
>
> Don't add IFF_ flags that adds yet another API hook into bridge.
The goal was not to add a userspace API, but rather consider a driver
initialization preference.
> Please only use the netlink/sysfs flags fields that already exist
> for new features.
Sure, but what if we know a driver in most cases wants the root block
and we'd want to make it the default, thereby only requiring userspace
for toggling it off.
Luis
^ permalink raw reply
* Re: [PATCH 1/1] net: tcp: RTO restart
From: Eric Dumazet @ 2014-02-19 18:01 UTC (permalink / raw)
To: Andreas Petlund
Cc: Per Hurtig, netdev, davem, edumazet, Anna Brunström,
Michael Welzl, ilpo.jarvinen
In-Reply-To: <50334B08-CD60-4C4C-9556-ACC758F75D7E@simula.no>
On Wed, 2014-02-19 at 18:17 +0100, Andreas Petlund wrote:
> I’ve applied and tested the patch on VMs with both 32 bit and 64 bit kernel.
>
> Acked-by: Andreas Petlund <apetlund@simula.no>
> Tested-by: Andreas Petlund <apetlund@simula.no>
Sure the patch applies, but what experimental results did you get ?
My concern is that TCP_SKB_CB(skb)->when doesn't account for sojourn
time in host queues (qdisc and device).
Note : Missing documentation for this new sysctl.
This patch certainly cannot be applied as is.
Thanks !
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox