aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/alpha_ksyms.c3
-rw-r--r--arch/alpha/kernel/entry.S10
-rw-r--r--arch/alpha/kernel/osf_sys.c34
-rw-r--r--arch/alpha/kernel/proto.h15
-rw-r--r--arch/alpha/kernel/srmcons.c2
-rw-r--r--arch/alpha/kernel/time.c15
-rw-r--r--arch/alpha/mm/Makefile2
-rw-r--r--arch/alpha/mm/remap.c86
-rw-r--r--arch/arm/kernel/ecard.c2
-rw-r--r--arch/arm/kernel/setup.c2
-rw-r--r--arch/arm/kernel/smp.c2
-rw-r--r--arch/arm/kernel/sys_arm.c4
-rw-r--r--arch/arm/kernel/time.c10
-rw-r--r--arch/arm/mach-pnx4008/clock.c11
-rw-r--r--arch/arm/vfp/vfpsingle.c2
-rw-r--r--arch/arm26/kernel/setup.c2
-rw-r--r--arch/arm26/kernel/sys_arm.c4
-rw-r--r--arch/arm26/kernel/time.c12
-rw-r--r--arch/avr32/kernel/sys_avr32.c14
-rw-r--r--arch/avr32/mm/ioremap.c120
-rw-r--r--arch/cris/arch-v32/kernel/smp.c1
-rw-r--r--arch/cris/kernel/setup.c2
-rw-r--r--arch/cris/kernel/time.c7
-rw-r--r--arch/cris/mm/ioremap.c88
-rw-r--r--arch/frv/Kconfig8
-rw-r--r--arch/frv/kernel/Makefile2
-rw-r--r--arch/frv/kernel/kernel_execve.S33
-rw-r--r--arch/h8300/kernel/sys_h8300.c24
-rw-r--r--arch/i386/Kconfig2
-rw-r--r--arch/i386/boot/video.S2
-rw-r--r--arch/i386/defconfig7
-rw-r--r--arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c7
-rw-r--r--arch/i386/kernel/cpu/cpufreq/longhaul.c56
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c2
-rw-r--r--arch/i386/kernel/crash.c10
-rw-r--r--arch/i386/kernel/i8237.c5
-rw-r--r--arch/i386/kernel/kprobes.c41
-rw-r--r--arch/i386/kernel/nmi.c4
-rw-r--r--arch/i386/kernel/process.c11
-rw-r--r--arch/i386/kernel/setup.c10
-rw-r--r--arch/i386/kernel/smp.c27
-rw-r--r--arch/i386/kernel/smpboot.c3
-rw-r--r--arch/i386/kernel/sys_i386.c42
-rw-r--r--arch/i386/kernel/time.c3
-rw-r--r--arch/i386/kernel/traps.c8
-rw-r--r--arch/i386/lib/delay.c1
-rw-r--r--arch/i386/mach-voyager/voyager_smp.c7
-rw-r--r--arch/i386/mm/highmem.c18
-rw-r--r--arch/i386/mm/init.c1
-rw-r--r--arch/i386/mm/ioremap.c84
-rw-r--r--arch/i386/pci/mmconfig.c5
-rw-r--r--arch/ia64/Kconfig2
-rw-r--r--arch/ia64/hp/sim/simserial.c2
-rw-r--r--arch/ia64/ia32/sys_ia32.c23
-rw-r--r--arch/ia64/kernel/entry.S4
-rw-r--r--arch/ia64/kernel/kprobes.c98
-rw-r--r--arch/ia64/kernel/mca.c2
-rw-r--r--arch/ia64/kernel/numa.c1
-rw-r--r--arch/ia64/kernel/process.c2
-rw-r--r--arch/ia64/kernel/time.c2
-rw-r--r--arch/ia64/mm/numa.c18
-rw-r--r--arch/ia64/sn/kernel/sn2/sn_hwperf.c2
-rw-r--r--arch/ia64/sn/pci/pcibr/pcibr_ate.c2
-rw-r--r--arch/ia64/sn/pci/pcibr/pcibr_dma.c2
-rw-r--r--arch/m32r/kernel/sys_m32r.c22
-rw-r--r--arch/m32r/kernel/time.c11
-rw-r--r--arch/m32r/mm/ioremap.c93
-rw-r--r--arch/m68k/kernel/sys_m68k.c16
-rw-r--r--arch/m68k/kernel/time.c16
-rw-r--r--arch/m68knommu/kernel/sys_m68k.c15
-rw-r--r--arch/m68knommu/kernel/time.c7
-rw-r--r--arch/mips/Kconfig9
-rw-r--r--arch/mips/basler/excite/excite_flashtest.c294
-rw-r--r--arch/mips/configs/atlas_defconfig3
-rw-r--r--arch/mips/configs/bigsur_defconfig3
-rw-r--r--arch/mips/configs/capcella_defconfig3
-rw-r--r--arch/mips/configs/cobalt_defconfig3
-rw-r--r--arch/mips/configs/db1000_defconfig3
-rw-r--r--arch/mips/configs/db1100_defconfig3
-rw-r--r--arch/mips/configs/db1200_defconfig3
-rw-r--r--arch/mips/configs/db1500_defconfig3
-rw-r--r--arch/mips/configs/db1550_defconfig3
-rw-r--r--arch/mips/configs/ddb5477_defconfig3
-rw-r--r--arch/mips/configs/decstation_defconfig3
-rw-r--r--arch/mips/configs/e55_defconfig2
-rw-r--r--arch/mips/configs/emma2rh_defconfig3
-rw-r--r--arch/mips/configs/ev64120_defconfig3
-rw-r--r--arch/mips/configs/excite_defconfig3
-rw-r--r--arch/mips/configs/ip22_defconfig3
-rw-r--r--arch/mips/configs/ip27_defconfig3
-rw-r--r--arch/mips/configs/ip32_defconfig3
-rw-r--r--arch/mips/configs/it8172_defconfig3
-rw-r--r--arch/mips/configs/ivr_defconfig3
-rw-r--r--arch/mips/configs/jaguar-atx_defconfig3
-rw-r--r--arch/mips/configs/jmr3927_defconfig3
-rw-r--r--arch/mips/configs/lasat200_defconfig3
-rw-r--r--arch/mips/configs/malta_defconfig3
-rw-r--r--arch/mips/configs/mipssim_defconfig3
-rw-r--r--arch/mips/configs/mpc30x_defconfig2
-rw-r--r--arch/mips/configs/ocelot_3_defconfig3
-rw-r--r--arch/mips/configs/ocelot_c_defconfig3
-rw-r--r--arch/mips/configs/ocelot_defconfig3
-rw-r--r--arch/mips/configs/ocelot_g_defconfig3
-rw-r--r--arch/mips/configs/pb1100_defconfig3
-rw-r--r--arch/mips/configs/pb1500_defconfig3
-rw-r--r--arch/mips/configs/pb1550_defconfig3
-rw-r--r--arch/mips/configs/pnx8550-jbs_defconfig3
-rw-r--r--arch/mips/configs/pnx8550-v2pci_defconfig3
-rw-r--r--arch/mips/configs/qemu_defconfig3
-rw-r--r--arch/mips/configs/rbhma4500_defconfig3
-rw-r--r--arch/mips/configs/rm200_defconfig3
-rw-r--r--arch/mips/configs/sb1250-swarm_defconfig3
-rw-r--r--arch/mips/configs/sead_defconfig3
-rw-r--r--arch/mips/configs/tb0226_defconfig3
-rw-r--r--arch/mips/configs/tb0229_defconfig3
-rw-r--r--arch/mips/configs/tb0287_defconfig3
-rw-r--r--arch/mips/configs/workpad_defconfig2
-rw-r--r--arch/mips/configs/wrppmc_defconfig3
-rw-r--r--arch/mips/configs/yosemite_defconfig3
-rw-r--r--arch/mips/defconfig3
-rw-r--r--arch/mips/kernel/Makefile1
-rw-r--r--arch/mips/kernel/genex.S8
-rw-r--r--arch/mips/kernel/i8259.c4
-rw-r--r--arch/mips/kernel/linux32.c4
-rw-r--r--arch/mips/kernel/process.c37
-rw-r--r--arch/mips/kernel/scall32-o32.S13
-rw-r--r--arch/mips/kernel/scall64-64.S2
-rw-r--r--arch/mips/kernel/scall64-n32.S2
-rw-r--r--arch/mips/kernel/scall64-o32.S2
-rw-r--r--arch/mips/kernel/stacktrace.c85
-rw-r--r--arch/mips/kernel/syscall.c56
-rw-r--r--arch/mips/kernel/sysirix.c22
-rw-r--r--arch/mips/kernel/time.c12
-rw-r--r--arch/mips/kernel/traps.c40
-rw-r--r--arch/mips/mm/c-r3k.c21
-rw-r--r--arch/mips/mm/c-r4k.c77
-rw-r--r--arch/mips/mm/c-sb1.c61
-rw-r--r--arch/mips/mm/c-tx39.c29
-rw-r--r--arch/mips/mm/cache.c1
-rw-r--r--arch/mips/mm/tlbex-fault.S4
-rw-r--r--arch/mips/sgi-ip22/ip22-reset.c3
-rw-r--r--arch/mips/sgi-ip27/ip27-timer.c2
-rw-r--r--arch/mips/sgi-ip32/ip32-reset.c2
-rw-r--r--arch/parisc/hpux/fs.c6
-rw-r--r--arch/parisc/hpux/sys_hpux.c37
-rw-r--r--arch/parisc/kernel/firmware.c7
-rw-r--r--arch/parisc/kernel/process.c9
-rw-r--r--arch/parisc/kernel/sys_parisc32.c19
-rw-r--r--arch/parisc/kernel/time.c5
-rw-r--r--arch/powerpc/Kconfig2
-rw-r--r--arch/powerpc/Makefile6
-rw-r--r--arch/powerpc/boot/Makefile224
-rw-r--r--arch/powerpc/boot/dts/mpc8560ads.dts302
-rwxr-xr-xarch/powerpc/boot/wrapper204
-rw-r--r--arch/powerpc/boot/zImage.coff.lds.S (renamed from arch/powerpc/boot/zImage.coff.lds)0
-rw-r--r--arch/powerpc/boot/zImage.lds.S (renamed from arch/powerpc/boot/zImage.lds)0
-rw-r--r--arch/powerpc/configs/chrp32_defconfig2
-rw-r--r--arch/powerpc/configs/g5_defconfig28
-rw-r--r--arch/powerpc/configs/iseries_defconfig2
-rw-r--r--arch/powerpc/configs/mpc7448_hpc2_defconfig28
-rw-r--r--arch/powerpc/configs/mpc834x_itx_defconfig53
-rw-r--r--arch/powerpc/configs/mpc8560_ads_defconfig854
-rw-r--r--arch/powerpc/configs/pmac32_defconfig4
-rw-r--r--arch/powerpc/configs/ppc64_defconfig28
-rw-r--r--arch/powerpc/configs/pseries_defconfig2
-rw-r--r--arch/powerpc/kernel/irq.c19
-rw-r--r--arch/powerpc/kernel/kprobes.c33
-rw-r--r--arch/powerpc/kernel/misc_32.S2
-rw-r--r--arch/powerpc/kernel/misc_64.S2
-rw-r--r--arch/powerpc/kernel/process.c2
-rw-r--r--arch/powerpc/kernel/ptrace.c13
-rw-r--r--arch/powerpc/kernel/setup_32.c4
-rw-r--r--arch/powerpc/kernel/setup_64.c7
-rw-r--r--arch/powerpc/kernel/sys_ppc32.c15
-rw-r--r--arch/powerpc/kernel/syscalls.c14
-rw-r--r--arch/powerpc/kernel/sysfs.c4
-rw-r--r--arch/powerpc/kernel/time.c49
-rw-r--r--arch/powerpc/lib/Makefile6
-rw-r--r--arch/powerpc/lib/rheap.c24
-rw-r--r--arch/powerpc/math-emu/Makefile3
-rw-r--r--arch/powerpc/oprofile/backtrace.c11
-rw-r--r--arch/powerpc/platforms/83xx/mpc834x_itx.c4
-rw-r--r--arch/powerpc/platforms/85xx/Kconfig21
-rw-r--r--arch/powerpc/platforms/85xx/Makefile1
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_ads.c120
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_ads.h61
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c4
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c2
-rw-r--r--arch/powerpc/platforms/cell/spufs/hw_ops.c4
-rw-r--r--arch/powerpc/platforms/iseries/mf.c2
-rw-r--r--arch/powerpc/platforms/maple/pci.c60
-rw-r--r--arch/powerpc/platforms/powermac/cpufreq_64.c2
-rw-r--r--arch/powerpc/platforms/powermac/nvram.c4
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c7
-rw-r--r--arch/powerpc/platforms/pseries/setup.c26
-rw-r--r--arch/powerpc/sysdev/Makefile5
-rw-r--r--arch/powerpc/sysdev/cpm2_common.c309
-rw-r--r--arch/powerpc/sysdev/cpm2_pic.c256
-rw-r--r--arch/powerpc/sysdev/cpm2_pic.h10
-rw-r--r--arch/powerpc/sysdev/fsl_soc.c281
-rw-r--r--arch/powerpc/sysdev/fsl_soc.h2
-rw-r--r--arch/ppc/4xx_io/serial_sicc.c2
-rw-r--r--arch/ppc/boot/utils/mkbugboot.c208
-rw-r--r--arch/ppc/boot/utils/mkprep.c416
-rw-r--r--arch/ppc/kernel/misc.S18
-rw-r--r--arch/ppc/kernel/setup.c4
-rw-r--r--arch/ppc/kernel/time.c11
-rw-r--r--arch/ppc/platforms/mpc8272ads_setup.c8
-rw-r--r--arch/ppc/platforms/mpc866ads_setup.c8
-rw-r--r--arch/ppc/platforms/mpc885ads_setup.c10
-rw-r--r--arch/s390/hypfs/inode.c17
-rw-r--r--arch/s390/kernel/compat_linux.c5
-rw-r--r--arch/s390/kernel/head31.S11
-rw-r--r--arch/s390/kernel/head64.S11
-rw-r--r--arch/s390/kernel/kprobes.c9
-rw-r--r--arch/s390/kernel/sys_s390.c20
-rw-r--r--arch/s390/kernel/time.c7
-rw-r--r--arch/s390/lib/spinlock.c62
-rw-r--r--arch/sh/Kconfig2
-rw-r--r--arch/sh/boards/hp6xx/hp6xx_apm.c1
-rw-r--r--arch/sh/boards/hp6xx/pm.c1
-rw-r--r--arch/sh/boards/landisk/irq.c4
-rw-r--r--arch/sh/boards/landisk/landisk_pwb.c2
-rw-r--r--arch/sh/boards/landisk/rtc.c2
-rw-r--r--arch/sh/boards/landisk/setup.c1
-rw-r--r--arch/sh/boards/renesas/r7780rp/irq.c4
-rw-r--r--arch/sh/boards/renesas/r7780rp/led.c2
-rw-r--r--arch/sh/boards/renesas/systemh/setup.c2
-rw-r--r--arch/sh/boards/se/7343/io.c2
-rw-r--r--arch/sh/boards/se/7343/irq.c4
-rw-r--r--arch/sh/boards/se/7343/led.c2
-rw-r--r--arch/sh/boards/se/7343/setup.c1
-rw-r--r--arch/sh/boards/se/770x/setup.c7
-rw-r--r--arch/sh/boards/se/7751/setup.c6
-rw-r--r--arch/sh/boards/sh03/setup.c1
-rw-r--r--arch/sh/boot/.gitignore1
-rw-r--r--arch/sh/configs/adx_defconfig539
-rw-r--r--arch/sh/configs/cqreek_defconfig533
-rw-r--r--arch/sh/configs/dreamcast_defconfig572
-rw-r--r--arch/sh/configs/hp6xx_defconfig201
-rw-r--r--arch/sh/configs/hs7751rvoip_defconfig908
-rw-r--r--arch/sh/configs/landisk_defconfig417
-rw-r--r--arch/sh/configs/microdev_defconfig167
-rw-r--r--arch/sh/configs/r7780rp_defconfig232
-rw-r--r--arch/sh/configs/rts7751r2d_defconfig568
-rw-r--r--arch/sh/configs/se7300_defconfig357
-rw-r--r--arch/sh/configs/se73180_defconfig347
-rw-r--r--arch/sh/configs/se7343_defconfig101
-rw-r--r--arch/sh/configs/se7705_defconfig531
-rw-r--r--arch/sh/configs/se7750_defconfig532
-rw-r--r--arch/sh/configs/se7751_defconfig626
-rw-r--r--arch/sh/configs/sh03_defconfig568
-rw-r--r--arch/sh/configs/sh7710voipgw_defconfig78
-rw-r--r--arch/sh/configs/shmin_defconfig93
-rw-r--r--arch/sh/configs/snapgear_defconfig527
-rw-r--r--arch/sh/configs/systemh_defconfig370
-rw-r--r--arch/sh/configs/titan_defconfig619
-rw-r--r--arch/sh/drivers/dma/dma-sysfs.c8
-rw-r--r--arch/sh/drivers/pci/ops-landisk.c1
-rw-r--r--arch/sh/drivers/pci/ops-r7780rp.c2
-rw-r--r--arch/sh/drivers/pci/ops-sh03.c4
-rw-r--r--arch/sh/drivers/pci/ops-titan.c2
-rw-r--r--arch/sh/drivers/pci/pci-sh7780.c2
-rw-r--r--arch/sh/kernel/apm.c1
-rw-r--r--arch/sh/kernel/entry.S6
-rw-r--r--arch/sh/kernel/setup.c6
-rw-r--r--arch/sh/kernel/sh_ksyms.c1
-rw-r--r--arch/sh/kernel/smp.c1
-rw-r--r--arch/sh/kernel/sys_sh.c19
-rw-r--r--arch/sh/kernel/time.c10
-rw-r--r--arch/sh/kernel/vsyscall/.gitignore1
-rw-r--r--arch/sh/math-emu/math.c1
-rw-r--r--arch/sh/mm/cache-debugfs.c2
-rw-r--r--arch/sh/tools/gen-mach-types2
-rw-r--r--arch/sh64/configs/cayman_defconfig456
-rw-r--r--arch/sh64/kernel/process.c270
-rw-r--r--arch/sh64/kernel/sys_sh64.c21
-rw-r--r--arch/sh64/kernel/time.c12
-rw-r--r--arch/sparc/kernel/pcic.c16
-rw-r--r--arch/sparc/kernel/sys_sparc.c27
-rw-r--r--arch/sparc/kernel/sys_sunos.c31
-rw-r--r--arch/sparc/kernel/time.c18
-rw-r--r--arch/sparc64/Kconfig2
-rw-r--r--arch/sparc64/defconfig23
-rw-r--r--arch/sparc64/kernel/power.c5
-rw-r--r--arch/sparc64/kernel/signal32.c1
-rw-r--r--arch/sparc64/kernel/sys_sparc.c25
-rw-r--r--arch/sparc64/kernel/sys_sparc32.c6
-rw-r--r--arch/sparc64/kernel/sys_sunos32.c23
-rw-r--r--arch/sparc64/kernel/time.c2
-rw-r--r--arch/sparc64/solaris/fs.c7
-rw-r--r--arch/sparc64/solaris/misc.c6
-rw-r--r--arch/um/drivers/line.c6
-rw-r--r--arch/um/drivers/mconsole_kern.c6
-rw-r--r--arch/um/drivers/ubd_kern.c2
-rw-r--r--arch/um/include/line.h7
-rw-r--r--arch/um/kernel/syscall.c35
-rw-r--r--arch/um/kernel/um_arch.c6
-rw-r--r--arch/um/os-Linux/process.c5
-rw-r--r--arch/um/os-Linux/sys-i386/tls.c5
-rw-r--r--arch/um/os-Linux/tls.c8
-rw-r--r--arch/um/sys-i386/unmap.c11
-rw-r--r--arch/um/sys-x86_64/syscalls.c2
-rw-r--r--arch/um/sys-x86_64/sysrq.c2
-rw-r--r--arch/um/sys-x86_64/unmap.c11
-rw-r--r--arch/v850/kernel/memcons.c4
-rw-r--r--arch/v850/kernel/rte_cb_leds.c2
-rw-r--r--arch/v850/kernel/rte_mb_a_pci.c12
-rw-r--r--arch/v850/kernel/simcons.c2
-rw-r--r--arch/v850/kernel/syscalls.c20
-rw-r--r--arch/x86_64/Kconfig6
-rw-r--r--arch/x86_64/defconfig8
-rw-r--r--arch/x86_64/ia32/sys_ia32.c45
-rw-r--r--arch/x86_64/kernel/apic.c54
-rw-r--r--arch/x86_64/kernel/entry.S4
-rw-r--r--arch/x86_64/kernel/kprobes.c48
-rw-r--r--arch/x86_64/kernel/mpparse.c37
-rw-r--r--arch/x86_64/kernel/nmi.c4
-rw-r--r--arch/x86_64/kernel/pci-dma.c93
-rw-r--r--arch/x86_64/kernel/process.c6
-rw-r--r--arch/x86_64/kernel/setup.c11
-rw-r--r--arch/x86_64/kernel/sys_x86_64.c2
-rw-r--r--arch/x86_64/kernel/time.c12
-rw-r--r--arch/x86_64/kernel/vmlinux.lds.S17
-rw-r--r--arch/x86_64/kernel/vsyscall.c11
-rw-r--r--arch/x86_64/mm/init.c38
-rw-r--r--arch/x86_64/mm/ioremap.c111
-rw-r--r--arch/x86_64/mm/srat.c66
-rw-r--r--arch/xtensa/kernel/syscalls.c22
-rw-r--r--arch/xtensa/kernel/time.c13
-rw-r--r--arch/xtensa/platform-iss/console.c2
331 files changed, 10606 insertions, 6281 deletions
diff --git a/arch/alpha/kernel/alpha_ksyms.c b/arch/alpha/kernel/alpha_ksyms.c
index f042cc42b00f..dbe327d32b6f 100644
--- a/arch/alpha/kernel/alpha_ksyms.c
+++ b/arch/alpha/kernel/alpha_ksyms.c
@@ -36,7 +36,6 @@
36#include <asm/cacheflush.h> 36#include <asm/cacheflush.h>
37#include <asm/vga.h> 37#include <asm/vga.h>
38 38
39#define __KERNEL_SYSCALLS__
40#include <asm/unistd.h> 39#include <asm/unistd.h>
41 40
42extern struct hwrpb_struct *hwrpb; 41extern struct hwrpb_struct *hwrpb;
@@ -116,7 +115,7 @@ EXPORT_SYMBOL(sys_dup);
116EXPORT_SYMBOL(sys_exit); 115EXPORT_SYMBOL(sys_exit);
117EXPORT_SYMBOL(sys_write); 116EXPORT_SYMBOL(sys_write);
118EXPORT_SYMBOL(sys_lseek); 117EXPORT_SYMBOL(sys_lseek);
119EXPORT_SYMBOL(execve); 118EXPORT_SYMBOL(kernel_execve);
120EXPORT_SYMBOL(sys_setsid); 119EXPORT_SYMBOL(sys_setsid);
121EXPORT_SYMBOL(sys_wait4); 120EXPORT_SYMBOL(sys_wait4);
122 121
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S
index 01ecd09d4a64..c95e95e1ab04 100644
--- a/arch/alpha/kernel/entry.S
+++ b/arch/alpha/kernel/entry.S
@@ -655,12 +655,12 @@ kernel_thread:
655.end kernel_thread 655.end kernel_thread
656 656
657/* 657/*
658 * execve(path, argv, envp) 658 * kernel_execve(path, argv, envp)
659 */ 659 */
660 .align 4 660 .align 4
661 .globl execve 661 .globl kernel_execve
662 .ent execve 662 .ent kernel_execve
663execve: 663kernel_execve:
664 /* We can be called from a module. */ 664 /* We can be called from a module. */
665 ldgp $gp, 0($27) 665 ldgp $gp, 0($27)
666 lda $sp, -(32+SIZEOF_PT_REGS+8)($sp) 666 lda $sp, -(32+SIZEOF_PT_REGS+8)($sp)
@@ -704,7 +704,7 @@ execve:
704 704
7051: lda $sp, 32+SIZEOF_PT_REGS+8($sp) 7051: lda $sp, 32+SIZEOF_PT_REGS+8($sp)
706 ret 706 ret
707.end execve 707.end kernel_execve
708 708
709 709
710/* 710/*
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 73c7622b5297..ad6173651995 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -111,22 +111,26 @@ struct osf_dirent_callback {
111 111
112static int 112static int
113osf_filldir(void *__buf, const char *name, int namlen, loff_t offset, 113osf_filldir(void *__buf, const char *name, int namlen, loff_t offset,
114 ino_t ino, unsigned int d_type) 114 u64 ino, unsigned int d_type)
115{ 115{
116 struct osf_dirent __user *dirent; 116 struct osf_dirent __user *dirent;
117 struct osf_dirent_callback *buf = (struct osf_dirent_callback *) __buf; 117 struct osf_dirent_callback *buf = (struct osf_dirent_callback *) __buf;
118 unsigned int reclen = ROUND_UP(NAME_OFFSET + namlen + 1); 118 unsigned int reclen = ROUND_UP(NAME_OFFSET + namlen + 1);
119 unsigned int d_ino;
119 120
120 buf->error = -EINVAL; /* only used if we fail */ 121 buf->error = -EINVAL; /* only used if we fail */
121 if (reclen > buf->count) 122 if (reclen > buf->count)
122 return -EINVAL; 123 return -EINVAL;
124 d_ino = ino;
125 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
126 return -EOVERFLOW;
123 if (buf->basep) { 127 if (buf->basep) {
124 if (put_user(offset, buf->basep)) 128 if (put_user(offset, buf->basep))
125 return -EFAULT; 129 return -EFAULT;
126 buf->basep = NULL; 130 buf->basep = NULL;
127 } 131 }
128 dirent = buf->dirent; 132 dirent = buf->dirent;
129 put_user(ino, &dirent->d_ino); 133 put_user(d_ino, &dirent->d_ino);
130 put_user(namlen, &dirent->d_namlen); 134 put_user(namlen, &dirent->d_namlen);
131 put_user(reclen, &dirent->d_reclen); 135 put_user(reclen, &dirent->d_reclen);
132 if (copy_to_user(dirent->d_name, name, namlen) || 136 if (copy_to_user(dirent->d_name, name, namlen) ||
@@ -402,15 +406,15 @@ osf_utsname(char __user *name)
402 406
403 down_read(&uts_sem); 407 down_read(&uts_sem);
404 error = -EFAULT; 408 error = -EFAULT;
405 if (copy_to_user(name + 0, system_utsname.sysname, 32)) 409 if (copy_to_user(name + 0, utsname()->sysname, 32))
406 goto out; 410 goto out;
407 if (copy_to_user(name + 32, system_utsname.nodename, 32)) 411 if (copy_to_user(name + 32, utsname()->nodename, 32))
408 goto out; 412 goto out;
409 if (copy_to_user(name + 64, system_utsname.release, 32)) 413 if (copy_to_user(name + 64, utsname()->release, 32))
410 goto out; 414 goto out;
411 if (copy_to_user(name + 96, system_utsname.version, 32)) 415 if (copy_to_user(name + 96, utsname()->version, 32))
412 goto out; 416 goto out;
413 if (copy_to_user(name + 128, system_utsname.machine, 32)) 417 if (copy_to_user(name + 128, utsname()->machine, 32))
414 goto out; 418 goto out;
415 419
416 error = 0; 420 error = 0;
@@ -449,8 +453,8 @@ osf_getdomainname(char __user *name, int namelen)
449 453
450 down_read(&uts_sem); 454 down_read(&uts_sem);
451 for (i = 0; i < len; ++i) { 455 for (i = 0; i < len; ++i) {
452 __put_user(system_utsname.domainname[i], name + i); 456 __put_user(utsname()->domainname[i], name + i);
453 if (system_utsname.domainname[i] == '\0') 457 if (utsname()->domainname[i] == '\0')
454 break; 458 break;
455 } 459 }
456 up_read(&uts_sem); 460 up_read(&uts_sem);
@@ -607,12 +611,12 @@ osf_sigstack(struct sigstack __user *uss, struct sigstack __user *uoss)
607asmlinkage long 611asmlinkage long
608osf_sysinfo(int command, char __user *buf, long count) 612osf_sysinfo(int command, char __user *buf, long count)
609{ 613{
610 static char * sysinfo_table[] = { 614 char *sysinfo_table[] = {
611 system_utsname.sysname, 615 utsname()->sysname,
612 system_utsname.nodename, 616 utsname()->nodename,
613 system_utsname.release, 617 utsname()->release,
614 system_utsname.version, 618 utsname()->version,
615 system_utsname.machine, 619 utsname()->machine,
616 "alpha", /* instruction set architecture */ 620 "alpha", /* instruction set architecture */
617 "dummy", /* hardware serial number */ 621 "dummy", /* hardware serial number */
618 "dummy", /* hardware manufacturer */ 622 "dummy", /* hardware manufacturer */
diff --git a/arch/alpha/kernel/proto.h b/arch/alpha/kernel/proto.h
index 2a6e3da8144f..21f71287b6f5 100644
--- a/arch/alpha/kernel/proto.h
+++ b/arch/alpha/kernel/proto.h
@@ -1,5 +1,7 @@
1#include <linux/interrupt.h> 1#include <linux/interrupt.h>
2#include <linux/io.h>
2 3
4#include <asm/pgtable.h>
3 5
4/* Prototypes of functions used across modules here in this directory. */ 6/* Prototypes of functions used across modules here in this directory. */
5 7
@@ -181,9 +183,16 @@ extern void titan_dispatch_irqs(u64, struct pt_regs *);
181extern void switch_to_system_map(void); 183extern void switch_to_system_map(void);
182extern void srm_paging_stop(void); 184extern void srm_paging_stop(void);
183 185
184/* ../mm/remap.c */ 186static inline int
185extern int __alpha_remap_area_pages(unsigned long, unsigned long, 187__alpha_remap_area_pages(unsigned long address, unsigned long phys_addr,
186 unsigned long, unsigned long); 188 unsigned long size, unsigned long flags)
189{
190 pgprot_t prot;
191
192 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE
193 | _PAGE_KWE | flags);
194 return ioremap_page_range(address, address + size, phys_addr, prot);
195}
187 196
188/* irq.c */ 197/* irq.c */
189 198
diff --git a/arch/alpha/kernel/srmcons.c b/arch/alpha/kernel/srmcons.c
index 9d7dff27f815..756923203860 100644
--- a/arch/alpha/kernel/srmcons.c
+++ b/arch/alpha/kernel/srmcons.c
@@ -229,7 +229,7 @@ srmcons_close(struct tty_struct *tty, struct file *filp)
229 229
230static struct tty_driver *srmcons_driver; 230static struct tty_driver *srmcons_driver;
231 231
232static struct tty_operations srmcons_ops = { 232static const struct tty_operations srmcons_ops = {
233 .open = srmcons_open, 233 .open = srmcons_open,
234 .close = srmcons_close, 234 .close = srmcons_close,
235 .write = srmcons_write, 235 .write = srmcons_write,
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c
index 7c1e44420a78..581ddcc22fc5 100644
--- a/arch/alpha/kernel/time.c
+++ b/arch/alpha/kernel/time.c
@@ -54,8 +54,6 @@
54#include "proto.h" 54#include "proto.h"
55#include "irq_impl.h" 55#include "irq_impl.h"
56 56
57extern unsigned long wall_jiffies; /* kernel/timer.c */
58
59static int set_rtc_mmss(unsigned long); 57static int set_rtc_mmss(unsigned long);
60 58
61DEFINE_SPINLOCK(rtc_lock); 59DEFINE_SPINLOCK(rtc_lock);
@@ -413,7 +411,7 @@ void
413do_gettimeofday(struct timeval *tv) 411do_gettimeofday(struct timeval *tv)
414{ 412{
415 unsigned long flags; 413 unsigned long flags;
416 unsigned long sec, usec, lost, seq; 414 unsigned long sec, usec, seq;
417 unsigned long delta_cycles, delta_usec, partial_tick; 415 unsigned long delta_cycles, delta_usec, partial_tick;
418 416
419 do { 417 do {
@@ -423,14 +421,13 @@ do_gettimeofday(struct timeval *tv)
423 sec = xtime.tv_sec; 421 sec = xtime.tv_sec;
424 usec = (xtime.tv_nsec / 1000); 422 usec = (xtime.tv_nsec / 1000);
425 partial_tick = state.partial_tick; 423 partial_tick = state.partial_tick;
426 lost = jiffies - wall_jiffies;
427 424
428 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 425 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
429 426
430#ifdef CONFIG_SMP 427#ifdef CONFIG_SMP
431 /* Until and unless we figure out how to get cpu cycle counters 428 /* Until and unless we figure out how to get cpu cycle counters
432 in sync and keep them there, we can't use the rpcc tricks. */ 429 in sync and keep them there, we can't use the rpcc tricks. */
433 delta_usec = lost * (1000000 / HZ); 430 delta_usec = 0;
434#else 431#else
435 /* 432 /*
436 * usec = cycles * ticks_per_cycle * 2**48 * 1e6 / (2**48 * ticks) 433 * usec = cycles * ticks_per_cycle * 2**48 * 1e6 / (2**48 * ticks)
@@ -446,8 +443,7 @@ do_gettimeofday(struct timeval *tv)
446 */ 443 */
447 444
448 delta_usec = (delta_cycles * state.scaled_ticks_per_cycle 445 delta_usec = (delta_cycles * state.scaled_ticks_per_cycle
449 + partial_tick 446 + partial_tick) * 15625;
450 + (lost << FIX_SHIFT)) * 15625;
451 delta_usec = ((delta_usec / ((1UL << (FIX_SHIFT-6-1)) * HZ)) + 1) / 2; 447 delta_usec = ((delta_usec / ((1UL << (FIX_SHIFT-6-1)) * HZ)) + 1) / 2;
452#endif 448#endif
453 449
@@ -480,12 +476,11 @@ do_settimeofday(struct timespec *tv)
480 time. Without this, a full-tick error is possible. */ 476 time. Without this, a full-tick error is possible. */
481 477
482#ifdef CONFIG_SMP 478#ifdef CONFIG_SMP
483 delta_nsec = (jiffies - wall_jiffies) * (NSEC_PER_SEC / HZ); 479 delta_nsec = 0;
484#else 480#else
485 delta_nsec = rpcc() - state.last_time; 481 delta_nsec = rpcc() - state.last_time;
486 delta_nsec = (delta_nsec * state.scaled_ticks_per_cycle 482 delta_nsec = (delta_nsec * state.scaled_ticks_per_cycle
487 + state.partial_tick 483 + state.partial_tick) * 15625;
488 + ((jiffies - wall_jiffies) << FIX_SHIFT)) * 15625;
489 delta_nsec = ((delta_nsec / ((1UL << (FIX_SHIFT-6-1)) * HZ)) + 1) / 2; 484 delta_nsec = ((delta_nsec / ((1UL << (FIX_SHIFT-6-1)) * HZ)) + 1) / 2;
490 delta_nsec *= 1000; 485 delta_nsec *= 1000;
491#endif 486#endif
diff --git a/arch/alpha/mm/Makefile b/arch/alpha/mm/Makefile
index 6edd9a09ea4f..09399c5386cb 100644
--- a/arch/alpha/mm/Makefile
+++ b/arch/alpha/mm/Makefile
@@ -4,6 +4,6 @@
4 4
5EXTRA_CFLAGS := -Werror 5EXTRA_CFLAGS := -Werror
6 6
7obj-y := init.o fault.o extable.o remap.o 7obj-y := init.o fault.o extable.o
8 8
9obj-$(CONFIG_DISCONTIGMEM) += numa.o 9obj-$(CONFIG_DISCONTIGMEM) += numa.o
diff --git a/arch/alpha/mm/remap.c b/arch/alpha/mm/remap.c
deleted file mode 100644
index a78356c3ead5..000000000000
--- a/arch/alpha/mm/remap.c
+++ /dev/null
@@ -1,86 +0,0 @@
1#include <linux/vmalloc.h>
2#include <asm/pgalloc.h>
3#include <asm/cacheflush.h>
4
5static inline void
6remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
7 unsigned long phys_addr, unsigned long flags)
8{
9 unsigned long end;
10 unsigned long pfn;
11
12 address &= ~PMD_MASK;
13 end = address + size;
14 if (end > PMD_SIZE)
15 end = PMD_SIZE;
16 if (address >= end)
17 BUG();
18 pfn = phys_addr >> PAGE_SHIFT;
19 do {
20 if (!pte_none(*pte)) {
21 printk("remap_area_pte: page already exists\n");
22 BUG();
23 }
24 set_pte(pte, pfn_pte(pfn,
25 __pgprot(_PAGE_VALID | _PAGE_ASM |
26 _PAGE_KRE | _PAGE_KWE | flags)));
27 address += PAGE_SIZE;
28 pfn++;
29 pte++;
30 } while (address && (address < end));
31}
32
33static inline int
34remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size,
35 unsigned long phys_addr, unsigned long flags)
36{
37 unsigned long end;
38
39 address &= ~PGDIR_MASK;
40 end = address + size;
41 if (end > PGDIR_SIZE)
42 end = PGDIR_SIZE;
43 phys_addr -= address;
44 if (address >= end)
45 BUG();
46 do {
47 pte_t * pte = pte_alloc_kernel(pmd, address);
48 if (!pte)
49 return -ENOMEM;
50 remap_area_pte(pte, address, end - address,
51 address + phys_addr, flags);
52 address = (address + PMD_SIZE) & PMD_MASK;
53 pmd++;
54 } while (address && (address < end));
55 return 0;
56}
57
58int
59__alpha_remap_area_pages(unsigned long address, unsigned long phys_addr,
60 unsigned long size, unsigned long flags)
61{
62 pgd_t * dir;
63 int error = 0;
64 unsigned long end = address + size;
65
66 phys_addr -= address;
67 dir = pgd_offset(&init_mm, address);
68 flush_cache_all();
69 if (address >= end)
70 BUG();
71 do {
72 pmd_t *pmd;
73 pmd = pmd_alloc(&init_mm, dir, address);
74 error = -ENOMEM;
75 if (!pmd)
76 break;
77 if (remap_area_pmd(pmd, address, end - address,
78 phys_addr + address, flags))
79 break;
80 error = 0;
81 address = (address + PGDIR_SIZE) & PGDIR_MASK;
82 dir++;
83 } while (address && (address < end));
84 return error;
85}
86
diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c
index eca248d9eba4..3e14b1348c0b 100644
--- a/arch/arm/kernel/ecard.c
+++ b/arch/arm/kernel/ecard.c
@@ -295,7 +295,7 @@ ecard_task(void * unused)
295 */ 295 */
296static void ecard_call(struct ecard_request *req) 296static void ecard_call(struct ecard_request *req)
297{ 297{
298 DECLARE_COMPLETION(completion); 298 DECLARE_COMPLETION_ONSTACK(completion);
299 299
300 req->complete = &completion; 300 req->complete = &completion;
301 301
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 0a722e77c143..6bbd93dd186a 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -348,7 +348,7 @@ static void __init setup_processor(void)
348 cpu_name, processor_id, (int)processor_id & 15, 348 cpu_name, processor_id, (int)processor_id & 15,
349 proc_arch[cpu_architecture()], cr_alignment); 349 proc_arch[cpu_architecture()], cr_alignment);
350 350
351 sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS); 351 sprintf(init_utsname()->machine, "%s%c", list->arch_name, ENDIANNESS);
352 sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS); 352 sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS);
353 elf_hwcap = list->elf_hwcap; 353 elf_hwcap = list->elf_hwcap;
354#ifndef CONFIG_ARM_THUMB 354#ifndef CONFIG_ARM_THUMB
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 68e9634d260a..421329f5e18e 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -36,7 +36,9 @@
36 * The online bitmask indicates that the CPU is up and running. 36 * The online bitmask indicates that the CPU is up and running.
37 */ 37 */
38cpumask_t cpu_possible_map; 38cpumask_t cpu_possible_map;
39EXPORT_SYMBOL(cpu_possible_map);
39cpumask_t cpu_online_map; 40cpumask_t cpu_online_map;
41EXPORT_SYMBOL(cpu_online_map);
40 42
41/* 43/*
42 * as from 2.5, kernels no longer have an init_tasks structure 44 * as from 2.5, kernels no longer have an init_tasks structure
diff --git a/arch/arm/kernel/sys_arm.c b/arch/arm/kernel/sys_arm.c
index 8170af471439..00c18d35913c 100644
--- a/arch/arm/kernel/sys_arm.c
+++ b/arch/arm/kernel/sys_arm.c
@@ -279,7 +279,7 @@ out:
279 return error; 279 return error;
280} 280}
281 281
282long execve(const char *filename, char **argv, char **envp) 282int kernel_execve(const char *filename, char *const argv[], char *const envp[])
283{ 283{
284 struct pt_regs regs; 284 struct pt_regs regs;
285 int ret; 285 int ret;
@@ -317,7 +317,7 @@ long execve(const char *filename, char **argv, char **envp)
317 out: 317 out:
318 return ret; 318 return ret;
319} 319}
320EXPORT_SYMBOL(execve); 320EXPORT_SYMBOL(kernel_execve);
321 321
322/* 322/*
323 * Since loff_t is a 64 bit type we avoid a lot of ABI hastle 323 * Since loff_t is a 64 bit type we avoid a lot of ABI hastle
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c
index f7d5165796ef..b030320b17c7 100644
--- a/arch/arm/kernel/time.c
+++ b/arch/arm/kernel/time.c
@@ -37,8 +37,6 @@
37 */ 37 */
38struct sys_timer *system_timer; 38struct sys_timer *system_timer;
39 39
40extern unsigned long wall_jiffies;
41
42/* this needs a better home */ 40/* this needs a better home */
43DEFINE_SPINLOCK(rtc_lock); 41DEFINE_SPINLOCK(rtc_lock);
44 42
@@ -237,16 +235,11 @@ void do_gettimeofday(struct timeval *tv)
237{ 235{
238 unsigned long flags; 236 unsigned long flags;
239 unsigned long seq; 237 unsigned long seq;
240 unsigned long usec, sec, lost; 238 unsigned long usec, sec;
241 239
242 do { 240 do {
243 seq = read_seqbegin_irqsave(&xtime_lock, flags); 241 seq = read_seqbegin_irqsave(&xtime_lock, flags);
244 usec = system_timer->offset(); 242 usec = system_timer->offset();
245
246 lost = jiffies - wall_jiffies;
247 if (lost)
248 usec += lost * USECS_PER_JIFFY;
249
250 sec = xtime.tv_sec; 243 sec = xtime.tv_sec;
251 usec += xtime.tv_nsec / 1000; 244 usec += xtime.tv_nsec / 1000;
252 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 245 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -279,7 +272,6 @@ int do_settimeofday(struct timespec *tv)
279 * done, and then undo it! 272 * done, and then undo it!
280 */ 273 */
281 nsec -= system_timer->offset() * NSEC_PER_USEC; 274 nsec -= system_timer->offset() * NSEC_PER_USEC;
282 nsec -= (jiffies - wall_jiffies) * TICK_NSEC;
283 275
284 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 276 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
285 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 277 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/arm/mach-pnx4008/clock.c b/arch/arm/mach-pnx4008/clock.c
index f582ed2ec43c..daa8d3d98eff 100644
--- a/arch/arm/mach-pnx4008/clock.c
+++ b/arch/arm/mach-pnx4008/clock.c
@@ -735,6 +735,16 @@ static struct clk uart6_ck = {
735 .enable_reg = UARTCLKCTRL_REG, 735 .enable_reg = UARTCLKCTRL_REG,
736}; 736};
737 737
738static struct clk wdt_ck = {
739 .name = "wdt_ck",
740 .parent = &per_ck,
741 .flags = NEEDS_INITIALIZATION,
742 .round_rate = &on_off_round_rate,
743 .set_rate = &on_off_set_rate,
744 .enable_shift = 0,
745 .enable_reg = TIMCLKCTRL_REG,
746};
747
738/* These clocks are visible outside this module 748/* These clocks are visible outside this module
739 * and can be initialized 749 * and can be initialized
740 */ 750 */
@@ -765,6 +775,7 @@ static struct clk *onchip_clks[] = {
765 &uart4_ck, 775 &uart4_ck,
766 &uart5_ck, 776 &uart5_ck,
767 &uart6_ck, 777 &uart6_ck,
778 &wdt_ck,
768}; 779};
769 780
770static int local_clk_enable(struct clk *clk) 781static int local_clk_enable(struct clk *clk)
diff --git a/arch/arm/vfp/vfpsingle.c b/arch/arm/vfp/vfpsingle.c
index ab5e9503bae5..0221ba3bc799 100644
--- a/arch/arm/vfp/vfpsingle.c
+++ b/arch/arm/vfp/vfpsingle.c
@@ -198,8 +198,10 @@ u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exce
198 vfp_single_dump("pack: final", vs); 198 vfp_single_dump("pack: final", vs);
199 { 199 {
200 s32 d = vfp_single_pack(vs); 200 s32 d = vfp_single_pack(vs);
201#ifdef DEBUG
201 pr_debug("VFP: %s: d(s%d)=%08x exceptions=%08x\n", func, 202 pr_debug("VFP: %s: d(s%d)=%08x exceptions=%08x\n", func,
202 sd, d, exceptions); 203 sd, d, exceptions);
204#endif
203 vfp_put_float(d, sd); 205 vfp_put_float(d, sd);
204 } 206 }
205 207
diff --git a/arch/arm26/kernel/setup.c b/arch/arm26/kernel/setup.c
index e7eb070f794f..466ddb54b44f 100644
--- a/arch/arm26/kernel/setup.c
+++ b/arch/arm26/kernel/setup.c
@@ -143,7 +143,7 @@ static void __init setup_processor(void)
143 143
144 dump_cpu_info(); 144 dump_cpu_info();
145 145
146 sprintf(system_utsname.machine, "%s", list->arch_name); 146 sprintf(init_utsname()->machine, "%s", list->arch_name);
147 sprintf(elf_platform, "%s", list->elf_name); 147 sprintf(elf_platform, "%s", list->elf_name);
148 elf_hwcap = list->elf_hwcap; 148 elf_hwcap = list->elf_hwcap;
149 149
diff --git a/arch/arm26/kernel/sys_arm.c b/arch/arm26/kernel/sys_arm.c
index 85457897b8a9..dc05aba58baf 100644
--- a/arch/arm26/kernel/sys_arm.c
+++ b/arch/arm26/kernel/sys_arm.c
@@ -283,7 +283,7 @@ out:
283} 283}
284 284
285/* FIXME - see if this is correct for arm26 */ 285/* FIXME - see if this is correct for arm26 */
286long execve(const char *filename, char **argv, char **envp) 286int kernel_execve(const char *filename, char *const argv[], char *const envp[])
287{ 287{
288 struct pt_regs regs; 288 struct pt_regs regs;
289 int ret; 289 int ret;
@@ -320,4 +320,4 @@ long execve(const char *filename, char **argv, char **envp)
320 return ret; 320 return ret;
321} 321}
322 322
323EXPORT_SYMBOL(execve); 323EXPORT_SYMBOL(kernel_execve);
diff --git a/arch/arm26/kernel/time.c b/arch/arm26/kernel/time.c
index 80adbd005fc5..1206469b2b86 100644
--- a/arch/arm26/kernel/time.c
+++ b/arch/arm26/kernel/time.c
@@ -33,8 +33,6 @@
33#include <asm/irq.h> 33#include <asm/irq.h>
34#include <asm/ioc.h> 34#include <asm/ioc.h>
35 35
36extern unsigned long wall_jiffies;
37
38/* this needs a better home */ 36/* this needs a better home */
39DEFINE_SPINLOCK(rtc_lock); 37DEFINE_SPINLOCK(rtc_lock);
40 38
@@ -136,16 +134,11 @@ void do_gettimeofday(struct timeval *tv)
136{ 134{
137 unsigned long flags; 135 unsigned long flags;
138 unsigned long seq; 136 unsigned long seq;
139 unsigned long usec, sec, lost; 137 unsigned long usec, sec;
140 138
141 do { 139 do {
142 seq = read_seqbegin_irqsave(&xtime_lock, flags); 140 seq = read_seqbegin_irqsave(&xtime_lock, flags);
143 usec = gettimeoffset(); 141 usec = gettimeoffset();
144
145 lost = jiffies - wall_jiffies;
146 if (lost)
147 usec += lost * USECS_PER_JIFFY;
148
149 sec = xtime.tv_sec; 142 sec = xtime.tv_sec;
150 usec += xtime.tv_nsec / 1000; 143 usec += xtime.tv_nsec / 1000;
151 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 144 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -174,8 +167,7 @@ int do_settimeofday(struct timespec *tv)
174 * wall time. Discover what correction gettimeofday() would have 167 * wall time. Discover what correction gettimeofday() would have
175 * done, and then undo it! 168 * done, and then undo it!
176 */ 169 */
177 tv->tv_nsec -= 1000 * (gettimeoffset() + 170 tv->tv_nsec -= 1000 * gettimeoffset();
178 (jiffies - wall_jiffies) * USECS_PER_JIFFY);
179 171
180 while (tv->tv_nsec < 0) { 172 while (tv->tv_nsec < 0) {
181 tv->tv_nsec += NSEC_PER_SEC; 173 tv->tv_nsec += NSEC_PER_SEC;
diff --git a/arch/avr32/kernel/sys_avr32.c b/arch/avr32/kernel/sys_avr32.c
index 6ec5693da448..8deb6003ee62 100644
--- a/arch/avr32/kernel/sys_avr32.c
+++ b/arch/avr32/kernel/sys_avr32.c
@@ -49,3 +49,17 @@ asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
49 fput(file); 49 fput(file);
50 return error; 50 return error;
51} 51}
52
53int kernel_execve(const char *file, char **argv, char **envp)
54{
55 register long scno asm("r8") = __NR_execve;
56 register long sc1 asm("r12") = (long)file;
57 register long sc2 asm("r11") = (long)argv;
58 register long sc3 asm("r10") = (long)envp;
59
60 asm volatile("scall"
61 : "=r"(sc1)
62 : "r"(scno), "0"(sc1), "r"(sc2), "r"(sc3)
63 : "cc", "memory");
64 return sc1;
65}
diff --git a/arch/avr32/mm/ioremap.c b/arch/avr32/mm/ioremap.c
index 536021877df6..8cfec65e37f7 100644
--- a/arch/avr32/mm/ioremap.c
+++ b/arch/avr32/mm/ioremap.c
@@ -7,119 +7,11 @@
7 */ 7 */
8#include <linux/vmalloc.h> 8#include <linux/vmalloc.h>
9#include <linux/module.h> 9#include <linux/module.h>
10#include <linux/io.h>
10 11
11#include <asm/io.h>
12#include <asm/pgtable.h> 12#include <asm/pgtable.h>
13#include <asm/cacheflush.h>
14#include <asm/tlbflush.h>
15#include <asm/addrspace.h> 13#include <asm/addrspace.h>
16 14
17static inline int remap_area_pte(pte_t *pte, unsigned long address,
18 unsigned long end, unsigned long phys_addr,
19 pgprot_t prot)
20{
21 unsigned long pfn;
22
23 pfn = phys_addr >> PAGE_SHIFT;
24 do {
25 WARN_ON(!pte_none(*pte));
26
27 set_pte(pte, pfn_pte(pfn, prot));
28 address += PAGE_SIZE;
29 pfn++;
30 pte++;
31 } while (address && (address < end));
32
33 return 0;
34}
35
36static inline int remap_area_pmd(pmd_t *pmd, unsigned long address,
37 unsigned long end, unsigned long phys_addr,
38 pgprot_t prot)
39{
40 unsigned long next;
41
42 phys_addr -= address;
43
44 do {
45 pte_t *pte = pte_alloc_kernel(pmd, address);
46 if (!pte)
47 return -ENOMEM;
48
49 next = (address + PMD_SIZE) & PMD_MASK;
50 if (remap_area_pte(pte, address, next,
51 address + phys_addr, prot))
52 return -ENOMEM;
53
54 address = next;
55 pmd++;
56 } while (address && (address < end));
57 return 0;
58}
59
60static int remap_area_pud(pud_t *pud, unsigned long address,
61 unsigned long end, unsigned long phys_addr,
62 pgprot_t prot)
63{
64 unsigned long next;
65
66 phys_addr -= address;
67
68 do {
69 pmd_t *pmd = pmd_alloc(&init_mm, pud, address);
70 if (!pmd)
71 return -ENOMEM;
72 next = (address + PUD_SIZE) & PUD_MASK;
73 if (remap_area_pmd(pmd, address, next,
74 phys_addr + address, prot))
75 return -ENOMEM;
76
77 address = next;
78 pud++;
79 } while (address && address < end);
80
81 return 0;
82}
83
84static int remap_area_pages(unsigned long address, unsigned long phys_addr,
85 size_t size, pgprot_t prot)
86{
87 unsigned long end = address + size;
88 unsigned long next;
89 pgd_t *pgd;
90 int err = 0;
91
92 phys_addr -= address;
93
94 pgd = pgd_offset_k(address);
95 flush_cache_all();
96 BUG_ON(address >= end);
97
98 spin_lock(&init_mm.page_table_lock);
99 do {
100 pud_t *pud = pud_alloc(&init_mm, pgd, address);
101
102 err = -ENOMEM;
103 if (!pud)
104 break;
105
106 next = (address + PGDIR_SIZE) & PGDIR_MASK;
107 if (next < address || next > end)
108 next = end;
109 err = remap_area_pud(pud, address, next,
110 phys_addr + address, prot);
111 if (err)
112 break;
113
114 address = next;
115 pgd++;
116 } while (address && (address < end));
117
118 spin_unlock(&init_mm.page_table_lock);
119 flush_tlb_all();
120 return err;
121}
122
123/* 15/*
124 * Re-map an arbitrary physical address space into the kernel virtual 16 * Re-map an arbitrary physical address space into the kernel virtual
125 * address space. Needed when the kernel wants to access physical 17 * address space. Needed when the kernel wants to access physical
@@ -128,7 +20,7 @@ static int remap_area_pages(unsigned long address, unsigned long phys_addr,
128void __iomem *__ioremap(unsigned long phys_addr, size_t size, 20void __iomem *__ioremap(unsigned long phys_addr, size_t size,
129 unsigned long flags) 21 unsigned long flags)
130{ 22{
131 void *addr; 23 unsigned long addr;
132 struct vm_struct *area; 24 struct vm_struct *area;
133 unsigned long offset, last_addr; 25 unsigned long offset, last_addr;
134 pgprot_t prot; 26 pgprot_t prot;
@@ -159,7 +51,7 @@ void __iomem *__ioremap(unsigned long phys_addr, size_t size,
159 phys_addr &= PAGE_MASK; 51 phys_addr &= PAGE_MASK;
160 size = PAGE_ALIGN(last_addr + 1) - phys_addr; 52 size = PAGE_ALIGN(last_addr + 1) - phys_addr;
161 53
162 prot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY 54 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY
163 | _PAGE_ACCESSED | _PAGE_TYPE_SMALL | flags); 55 | _PAGE_ACCESSED | _PAGE_TYPE_SMALL | flags);
164 56
165 /* 57 /*
@@ -169,9 +61,9 @@ void __iomem *__ioremap(unsigned long phys_addr, size_t size,
169 if (!area) 61 if (!area)
170 return NULL; 62 return NULL;
171 area->phys_addr = phys_addr; 63 area->phys_addr = phys_addr;
172 addr = area->addr; 64 addr = (unsigned long )area->addr;
173 if (remap_area_pages((unsigned long)addr, phys_addr, size, prot)) { 65 if (ioremap_page_range(addr, addr + size, phys_addr, prot)) {
174 vunmap(addr); 66 vunmap((void *)addr);
175 return NULL; 67 return NULL;
176 } 68 }
177 69
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c
index 464ecaec3bc0..2d0023f2d49b 100644
--- a/arch/cris/arch-v32/kernel/smp.c
+++ b/arch/cris/arch-v32/kernel/smp.c
@@ -28,6 +28,7 @@ spinlock_t cris_atomic_locks[] = { [0 ... LOCK_COUNT - 1] = SPIN_LOCK_UNLOCKED};
28 28
29/* CPU masks */ 29/* CPU masks */
30cpumask_t cpu_online_map = CPU_MASK_NONE; 30cpumask_t cpu_online_map = CPU_MASK_NONE;
31EXPORT_SYMBOL(cpu_online_map);
31cpumask_t phys_cpu_present_map = CPU_MASK_NONE; 32cpumask_t phys_cpu_present_map = CPU_MASK_NONE;
32EXPORT_SYMBOL(phys_cpu_present_map); 33EXPORT_SYMBOL(phys_cpu_present_map);
33 34
diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c
index 7af3d5d43e43..ca8b45a0fe2e 100644
--- a/arch/cris/kernel/setup.c
+++ b/arch/cris/kernel/setup.c
@@ -160,7 +160,7 @@ setup_arch(char **cmdline_p)
160 show_etrax_copyright(); 160 show_etrax_copyright();
161 161
162 /* Setup utsname */ 162 /* Setup utsname */
163 strcpy(system_utsname.machine, cris_machine_name); 163 strcpy(init_utsname()->machine, cris_machine_name);
164} 164}
165 165
166static void *c_start(struct seq_file *m, loff_t *pos) 166static void *c_start(struct seq_file *m, loff_t *pos)
diff --git a/arch/cris/kernel/time.c b/arch/cris/kernel/time.c
index 66ba8898db07..0f9213cbd48e 100644
--- a/arch/cris/kernel/time.c
+++ b/arch/cris/kernel/time.c
@@ -37,7 +37,6 @@ int have_rtc; /* used to remember if we have an RTC or not */;
37 37
38#define TICK_SIZE tick 38#define TICK_SIZE tick
39 39
40extern unsigned long wall_jiffies;
41extern unsigned long loops_per_jiffy; /* init/main.c */ 40extern unsigned long loops_per_jiffy; /* init/main.c */
42unsigned long loops_per_usec; 41unsigned long loops_per_usec;
43 42
@@ -58,11 +57,6 @@ void do_gettimeofday(struct timeval *tv)
58 local_irq_save(flags); 57 local_irq_save(flags);
59 local_irq_disable(); 58 local_irq_disable();
60 usec = do_gettimeoffset(); 59 usec = do_gettimeoffset();
61 {
62 unsigned long lost = jiffies - wall_jiffies;
63 if (lost)
64 usec += lost * (1000000 / HZ);
65 }
66 60
67 /* 61 /*
68 * If time_adjust is negative then NTP is slowing the clock 62 * If time_adjust is negative then NTP is slowing the clock
@@ -103,7 +97,6 @@ int do_settimeofday(struct timespec *tv)
103 * made, and then undo it! 97 * made, and then undo it!
104 */ 98 */
105 nsec -= do_gettimeoffset() * NSEC_PER_USEC; 99 nsec -= do_gettimeoffset() * NSEC_PER_USEC;
106 nsec -= (jiffies - wall_jiffies) * TICK_NSEC;
107 100
108 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 101 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
109 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 102 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/cris/mm/ioremap.c b/arch/cris/mm/ioremap.c
index 1780df3ed9e5..8b0b9348b574 100644
--- a/arch/cris/mm/ioremap.c
+++ b/arch/cris/mm/ioremap.c
@@ -10,93 +10,10 @@
10 */ 10 */
11 11
12#include <linux/vmalloc.h> 12#include <linux/vmalloc.h>
13#include <asm/io.h> 13#include <linux/io.h>
14#include <asm/pgalloc.h> 14#include <asm/pgalloc.h>
15#include <asm/cacheflush.h>
16#include <asm/tlbflush.h>
17#include <asm/arch/memmap.h> 15#include <asm/arch/memmap.h>
18 16
19static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
20 unsigned long phys_addr, pgprot_t prot)
21{
22 unsigned long end;
23
24 address &= ~PMD_MASK;
25 end = address + size;
26 if (end > PMD_SIZE)
27 end = PMD_SIZE;
28 if (address >= end)
29 BUG();
30 do {
31 if (!pte_none(*pte)) {
32 printk("remap_area_pte: page already exists\n");
33 BUG();
34 }
35 set_pte(pte, mk_pte_phys(phys_addr, prot));
36 address += PAGE_SIZE;
37 phys_addr += PAGE_SIZE;
38 pte++;
39 } while (address && (address < end));
40}
41
42static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size,
43 unsigned long phys_addr, pgprot_t prot)
44{
45 unsigned long end;
46
47 address &= ~PGDIR_MASK;
48 end = address + size;
49 if (end > PGDIR_SIZE)
50 end = PGDIR_SIZE;
51 phys_addr -= address;
52 if (address >= end)
53 BUG();
54 do {
55 pte_t * pte = pte_alloc_kernel(pmd, address);
56 if (!pte)
57 return -ENOMEM;
58 remap_area_pte(pte, address, end - address, address + phys_addr, prot);
59 address = (address + PMD_SIZE) & PMD_MASK;
60 pmd++;
61 } while (address && (address < end));
62 return 0;
63}
64
65static int remap_area_pages(unsigned long address, unsigned long phys_addr,
66 unsigned long size, pgprot_t prot)
67{
68 int error;
69 pgd_t * dir;
70 unsigned long end = address + size;
71
72 phys_addr -= address;
73 dir = pgd_offset(&init_mm, address);
74 flush_cache_all();
75 if (address >= end)
76 BUG();
77 do {
78 pud_t *pud;
79 pmd_t *pmd;
80
81 error = -ENOMEM;
82 pud = pud_alloc(&init_mm, dir, address);
83 if (!pud)
84 break;
85 pmd = pmd_alloc(&init_mm, pud, address);
86
87 if (!pmd)
88 break;
89 if (remap_area_pmd(pmd, address, end - address,
90 phys_addr + address, prot))
91 break;
92 error = 0;
93 address = (address + PGDIR_SIZE) & PGDIR_MASK;
94 dir++;
95 } while (address && (address < end));
96 flush_tlb_all();
97 return error;
98}
99
100/* 17/*
101 * Generic mapping function (not visible outside): 18 * Generic mapping function (not visible outside):
102 */ 19 */
@@ -135,7 +52,8 @@ void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgpro
135 if (!area) 52 if (!area)
136 return NULL; 53 return NULL;
137 addr = (void __iomem *)area->addr; 54 addr = (void __iomem *)area->addr;
138 if (remap_area_pages((unsigned long) addr, phys_addr, size, prot)) { 55 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size,
56 phys_addr, prot)) {
139 vfree((void __force *)addr); 57 vfree((void __force *)addr);
140 return NULL; 58 return NULL;
141 } 59 }
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index f7b171b92ea2..cf1c446e003a 100644
--- a/arch/frv/Kconfig
+++ b/arch/frv/Kconfig
@@ -86,6 +86,14 @@ config HIGHPTE
86 with a lot of RAM, this can be wasteful of precious low memory. 86 with a lot of RAM, this can be wasteful of precious low memory.
87 Setting this option will put user-space page tables in high memory. 87 Setting this option will put user-space page tables in high memory.
88 88
89config LARGE_ALLOCS
90 bool "Allow allocating large blocks (> 1MB) of memory"
91 help
92 Allow the slab memory allocator to keep chains for very large memory
93 sizes - up to 32MB. You may need this if your system has a lot of
94 RAM, and you need to able to allocate very large contiguous chunks.
95 If unsure, say N.
96
89source "mm/Kconfig" 97source "mm/Kconfig"
90 98
91choice 99choice
diff --git a/arch/frv/kernel/Makefile b/arch/frv/kernel/Makefile
index 32db3499c461..e8f73ed28b52 100644
--- a/arch/frv/kernel/Makefile
+++ b/arch/frv/kernel/Makefile
@@ -8,7 +8,7 @@ heads-$(CONFIG_MMU) := head-mmu-fr451.o
8extra-y:= head.o init_task.o vmlinux.lds 8extra-y:= head.o init_task.o vmlinux.lds
9 9
10obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \ 10obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \
11 process.o traps.o ptrace.o signal.o dma.o \ 11 kernel_execve.o process.o traps.o ptrace.o signal.o dma.o \
12 sys_frv.o time.o semaphore.o setup.o frv_ksyms.o \ 12 sys_frv.o time.o semaphore.o setup.o frv_ksyms.o \
13 debug-stub.o irq.o sleep.o uaccess.o 13 debug-stub.o irq.o sleep.o uaccess.o
14 14
diff --git a/arch/frv/kernel/kernel_execve.S b/arch/frv/kernel/kernel_execve.S
new file mode 100644
index 000000000000..9b074a16a052
--- /dev/null
+++ b/arch/frv/kernel/kernel_execve.S
@@ -0,0 +1,33 @@
1/* in-kernel program execution
2 *
3 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
10 */
11
12#include <linux/linkage.h>
13#include <asm/unistd.h>
14
15###############################################################################
16#
17# Do a system call from kernel instead of calling sys_execve so we end up with
18# proper pt_regs.
19#
20# int kernel_execve(const char *filename, char *const argv[], char *const envp[])
21#
22# On entry: GR8/GR9/GR10: arguments to function
23# On return: GR8: syscall return.
24#
25###############################################################################
26 .globl kernel_execve
27 .type kernel_execve,@function
28kernel_execve:
29 setlos __NR_execve,gr7
30 tira gr0,#0
31 bralr
32
33 .size kernel_execve,.-kernel_execve
diff --git a/arch/h8300/kernel/sys_h8300.c b/arch/h8300/kernel/sys_h8300.c
index 0f61b7ad69ab..302a2dfe634a 100644
--- a/arch/h8300/kernel/sys_h8300.c
+++ b/arch/h8300/kernel/sys_h8300.c
@@ -25,6 +25,7 @@
25#include <asm/cachectl.h> 25#include <asm/cachectl.h>
26#include <asm/traps.h> 26#include <asm/traps.h>
27#include <asm/ipc.h> 27#include <asm/ipc.h>
28#include <asm/unistd.h>
28 29
29/* 30/*
30 * sys_pipe() is the normal C calling standard for creating 31 * sys_pipe() is the normal C calling standard for creating
@@ -280,3 +281,26 @@ asmlinkage void syscall_print(void *dummy,...)
280 ((regs->pc)&0xffffff)-2,regs->orig_er0,regs->er1,regs->er2,regs->er3,regs->er0); 281 ((regs->pc)&0xffffff)-2,regs->orig_er0,regs->er1,regs->er2,regs->er3,regs->er0);
281} 282}
282#endif 283#endif
284
285/*
286 * Do a system call from kernel instead of calling sys_execve so we
287 * end up with proper pt_regs.
288 */
289int kernel_execve(const char *filename, char *const argv[], char *const envp[])
290{
291 register long res __asm__("er0");
292 register const char * _a __asm__("er1") = filename;
293 register void *_b __asm__("er2") = argv;
294 register void *_c __asm__("er3") = envp;
295 __asm__ __volatile__ ("mov.l %1,er0\n\t"
296 "trapa #0\n\t"
297 : "=r" (res)
298 : "g" (__NR_execve),
299 "g" (_a),
300 "g" (_b),
301 "g" (_c)
302 : "cc", "memory");
303 return res;
304}
305
306
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 3fd2f256f2be..af219e51734f 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -1142,7 +1142,7 @@ source "arch/i386/oprofile/Kconfig"
1142 1142
1143config KPROBES 1143config KPROBES
1144 bool "Kprobes (EXPERIMENTAL)" 1144 bool "Kprobes (EXPERIMENTAL)"
1145 depends on EXPERIMENTAL && MODULES 1145 depends on KALLSYMS && EXPERIMENTAL && MODULES
1146 help 1146 help
1147 Kprobes allows you to trap at almost any kernel address and 1147 Kprobes allows you to trap at almost any kernel address and
1148 execute a callback function. register_kprobe() establishes 1148 execute a callback function. register_kprobe() establishes
diff --git a/arch/i386/boot/video.S b/arch/i386/boot/video.S
index 8c2a6faeeae5..2c5b5cc55f79 100644
--- a/arch/i386/boot/video.S
+++ b/arch/i386/boot/video.S
@@ -11,8 +11,6 @@
11 * 11 *
12 */ 12 */
13 13
14#include <linux/config.h> /* for CONFIG_VIDEO_* */
15
16/* Enable autodetection of SVGA adapters and modes. */ 14/* Enable autodetection of SVGA adapters and modes. */
17#undef CONFIG_VIDEO_SVGA 15#undef CONFIG_VIDEO_SVGA
18 16
diff --git a/arch/i386/defconfig b/arch/i386/defconfig
index 1a29bfa26d0c..ee2d79bd8af7 100644
--- a/arch/i386/defconfig
+++ b/arch/i386/defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18-git5 3# Linux kernel version: 2.6.18-git7
4# Tue Sep 26 09:30:47 2006 4# Wed Sep 27 21:53:10 2006
5# 5#
6CONFIG_X86_32=y 6CONFIG_X86_32=y
7CONFIG_GENERIC_TIME=y 7CONFIG_GENERIC_TIME=y
@@ -210,6 +210,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
210CONFIG_PM=y 210CONFIG_PM=y
211CONFIG_PM_LEGACY=y 211CONFIG_PM_LEGACY=y
212# CONFIG_PM_DEBUG is not set 212# CONFIG_PM_DEBUG is not set
213CONFIG_PM_SYSFS_DEPRECATED=y
213 214
214# 215#
215# ACPI (Advanced Configuration and Power Interface) Support 216# ACPI (Advanced Configuration and Power Interface) Support
@@ -292,6 +293,7 @@ CONFIG_PCI_DIRECT=y
292CONFIG_PCI_MMCONFIG=y 293CONFIG_PCI_MMCONFIG=y
293# CONFIG_PCIEPORTBUS is not set 294# CONFIG_PCIEPORTBUS is not set
294CONFIG_PCI_MSI=y 295CONFIG_PCI_MSI=y
296# CONFIG_PCI_MULTITHREAD_PROBE is not set
295# CONFIG_PCI_DEBUG is not set 297# CONFIG_PCI_DEBUG is not set
296CONFIG_ISA_DMA_API=y 298CONFIG_ISA_DMA_API=y
297# CONFIG_ISA is not set 299# CONFIG_ISA is not set
@@ -1427,6 +1429,7 @@ CONFIG_KPROBES=y
1427# 1429#
1428CONFIG_TRACE_IRQFLAGS_SUPPORT=y 1430CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1429# CONFIG_PRINTK_TIME is not set 1431# CONFIG_PRINTK_TIME is not set
1432# CONFIG_ENABLE_MUST_CHECK is not set
1430CONFIG_MAGIC_SYSRQ=y 1433CONFIG_MAGIC_SYSRQ=y
1431CONFIG_UNUSED_SYMBOLS=y 1434CONFIG_UNUSED_SYMBOLS=y
1432CONFIG_DEBUG_KERNEL=y 1435CONFIG_DEBUG_KERNEL=y
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index ea19d091fd41..57c880bf0bd6 100644
--- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -396,13 +396,13 @@ static int acpi_cpufreq_early_init_acpi(void)
396 */ 396 */
397static int bios_with_sw_any_bug; 397static int bios_with_sw_any_bug;
398 398
399static int __init sw_any_bug_found(struct dmi_system_id *d) 399static int sw_any_bug_found(struct dmi_system_id *d)
400{ 400{
401 bios_with_sw_any_bug = 1; 401 bios_with_sw_any_bug = 1;
402 return 0; 402 return 0;
403} 403}
404 404
405static struct dmi_system_id __initdata sw_any_bug_dmi_table[] = { 405static struct dmi_system_id sw_any_bug_dmi_table[] = {
406 { 406 {
407 .callback = sw_any_bug_found, 407 .callback = sw_any_bug_found,
408 .ident = "Supermicro Server X6DLP", 408 .ident = "Supermicro Server X6DLP",
@@ -597,7 +597,6 @@ static struct cpufreq_driver acpi_cpufreq_driver = {
597 .name = "acpi-cpufreq", 597 .name = "acpi-cpufreq",
598 .owner = THIS_MODULE, 598 .owner = THIS_MODULE,
599 .attr = acpi_cpufreq_attr, 599 .attr = acpi_cpufreq_attr,
600 .flags = CPUFREQ_STICKY,
601}; 600};
602 601
603 602
@@ -608,7 +607,7 @@ acpi_cpufreq_init (void)
608 607
609 acpi_cpufreq_early_init_acpi(); 608 acpi_cpufreq_early_init_acpi();
610 609
611 return cpufreq_register_driver(&acpi_cpufreq_driver); 610 return cpufreq_register_driver(&acpi_cpufreq_driver);
612} 611}
613 612
614 613
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index f5cc9f5c9bab..7233abe5d695 100644
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -178,11 +178,17 @@ static void do_powersaver(int cx_address, unsigned int clock_ratio_index)
178 safe_halt(); 178 safe_halt();
179 /* Change frequency on next halt or sleep */ 179 /* Change frequency on next halt or sleep */
180 wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); 180 wrmsrl(MSR_VIA_LONGHAUL, longhaul.val);
181 ACPI_FLUSH_CPU_CACHE(); 181 if (port22_en) {
182 /* Invoke C3 */ 182 ACPI_FLUSH_CPU_CACHE();
183 inb(cx_address); 183 /* Invoke C1 */
184 /* Dummy op - must do something useless after P_LVL3 read */ 184 halt();
185 t = inl(acpi_fadt.xpm_tmr_blk.address); 185 } else {
186 ACPI_FLUSH_CPU_CACHE();
187 /* Invoke C3 */
188 inb(cx_address);
189 /* Dummy op - must do something useless after P_LVL3 read */
190 t = inl(acpi_fadt.xpm_tmr_blk.address);
191 }
186 192
187 /* Disable bus ratio bit */ 193 /* Disable bus ratio bit */
188 local_irq_disable(); 194 local_irq_disable();
@@ -567,16 +573,23 @@ static acpi_status longhaul_walk_callback(acpi_handle obj_handle,
567static int enable_arbiter_disable(void) 573static int enable_arbiter_disable(void)
568{ 574{
569 struct pci_dev *dev; 575 struct pci_dev *dev;
576 int reg;
570 u8 pci_cmd; 577 u8 pci_cmd;
571 578
572 /* Find PLE133 host bridge */ 579 /* Find PLE133 host bridge */
580 reg = 0x78;
573 dev = pci_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8601_0, NULL); 581 dev = pci_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8601_0, NULL);
582 /* Find CLE266 host bridge */
583 if (dev == NULL) {
584 reg = 0x76;
585 dev = pci_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_862X_0, NULL);
586 }
574 if (dev != NULL) { 587 if (dev != NULL) {
575 /* Enable access to port 0x22 */ 588 /* Enable access to port 0x22 */
576 pci_read_config_byte(dev, 0x78, &pci_cmd); 589 pci_read_config_byte(dev, reg, &pci_cmd);
577 if ( !(pci_cmd & 1<<7) ) { 590 if ( !(pci_cmd & 1<<7) ) {
578 pci_cmd |= 1<<7; 591 pci_cmd |= 1<<7;
579 pci_write_config_byte(dev, 0x78, pci_cmd); 592 pci_write_config_byte(dev, reg, pci_cmd);
580 } 593 }
581 return 1; 594 return 1;
582 } 595 }
@@ -680,20 +693,25 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
680 if (longhaul_version == TYPE_POWERSAVER) { 693 if (longhaul_version == TYPE_POWERSAVER) {
681 /* Check ACPI support for C3 state */ 694 /* Check ACPI support for C3 state */
682 cx = &pr->power.states[ACPI_STATE_C3]; 695 cx = &pr->power.states[ACPI_STATE_C3];
683 if (cx->address == 0 || 696 if (cx->address > 0 &&
684 (cx->latency > 1000 && ignore_latency == 0) ) 697 (cx->latency <= 1000 || ignore_latency != 0) ) {
698 goto print_support_type;
699 }
700 }
701 /* Check ACPI support for bus master arbiter disable */
702 if (!pr->flags.bm_control) {
703 if (enable_arbiter_disable()) {
704 port22_en = 1;
705 } else {
685 goto err_acpi; 706 goto err_acpi;
686
687 } else {
688 /* Check ACPI support for bus master arbiter disable */
689 if (!pr->flags.bm_control) {
690 if (!enable_arbiter_disable()) {
691 printk(KERN_ERR PFX "No ACPI support. No VT8601 host bridge. Aborting.\n");
692 return -ENODEV;
693 } else
694 port22_en = 1;
695 } 707 }
696 } 708 }
709print_support_type:
710 if (!port22_en) {
711 printk (KERN_INFO PFX "Using ACPI support.\n");
712 } else {
713 printk (KERN_INFO PFX "Using northbridge support.\n");
714 }
697 715
698 ret = longhaul_get_ranges(); 716 ret = longhaul_get_ranges();
699 if (ret != 0) 717 if (ret != 0)
@@ -716,7 +734,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
716 return 0; 734 return 0;
717 735
718err_acpi: 736err_acpi:
719 printk(KERN_ERR PFX "No ACPI support for CPU frequency changes.\n"); 737 printk(KERN_ERR PFX "No ACPI support. No VT8601 or VT8623 northbridge. Aborting.\n");
720 return -ENODEV; 738 return -ENODEV;
721} 739}
722 740
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
index 7a9325349e94..e8993baf3d14 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -386,7 +386,7 @@ static int centrino_cpu_early_init_acpi(void)
386 * than OS intended it to run at. Detect it and handle it cleanly. 386 * than OS intended it to run at. Detect it and handle it cleanly.
387 */ 387 */
388static int bios_with_sw_any_bug; 388static int bios_with_sw_any_bug;
389static int __init sw_any_bug_found(struct dmi_system_id *d) 389static int sw_any_bug_found(struct dmi_system_id *d)
390{ 390{
391 bios_with_sw_any_bug = 1; 391 bios_with_sw_any_bug = 1;
392 return 0; 392 return 0;
diff --git a/arch/i386/kernel/crash.c b/arch/i386/kernel/crash.c
index 67d297dc1003..144b43288965 100644
--- a/arch/i386/kernel/crash.c
+++ b/arch/i386/kernel/crash.c
@@ -23,6 +23,7 @@
23#include <asm/hw_irq.h> 23#include <asm/hw_irq.h>
24#include <asm/apic.h> 24#include <asm/apic.h>
25#include <asm/kdebug.h> 25#include <asm/kdebug.h>
26#include <asm/smp.h>
26 27
27#include <mach_ipi.h> 28#include <mach_ipi.h>
28 29
@@ -88,7 +89,7 @@ static void crash_save_self(struct pt_regs *regs)
88{ 89{
89 int cpu; 90 int cpu;
90 91
91 cpu = smp_processor_id(); 92 cpu = safe_smp_processor_id();
92 crash_save_this_cpu(regs, cpu); 93 crash_save_this_cpu(regs, cpu);
93} 94}
94 95
@@ -133,7 +134,10 @@ static int crash_nmi_callback(struct notifier_block *self,
133 134
134static void smp_send_nmi_allbutself(void) 135static void smp_send_nmi_allbutself(void)
135{ 136{
136 send_IPI_allbutself(NMI_VECTOR); 137 cpumask_t mask = cpu_online_map;
138 cpu_clear(safe_smp_processor_id(), mask);
139 if (!cpus_empty(mask))
140 send_IPI_mask(mask, NMI_VECTOR);
137} 141}
138 142
139static struct notifier_block crash_nmi_nb = { 143static struct notifier_block crash_nmi_nb = {
@@ -185,7 +189,7 @@ void machine_crash_shutdown(struct pt_regs *regs)
185 local_irq_disable(); 189 local_irq_disable();
186 190
187 /* Make a note of crashing cpu. Will be used in NMI callback.*/ 191 /* Make a note of crashing cpu. Will be used in NMI callback.*/
188 crashing_cpu = smp_processor_id(); 192 crashing_cpu = safe_smp_processor_id();
189 nmi_shootdown_cpus(); 193 nmi_shootdown_cpus();
190 lapic_shutdown(); 194 lapic_shutdown();
191#if defined(CONFIG_X86_IO_APIC) 195#if defined(CONFIG_X86_IO_APIC)
diff --git a/arch/i386/kernel/i8237.c b/arch/i386/kernel/i8237.c
index c36d1c006c2f..6f508e8d7c57 100644
--- a/arch/i386/kernel/i8237.c
+++ b/arch/i386/kernel/i8237.c
@@ -2,6 +2,11 @@
2 * i8237.c: 8237A DMA controller suspend functions. 2 * i8237.c: 8237A DMA controller suspend functions.
3 * 3 *
4 * Written by Pierre Ossman, 2005. 4 * Written by Pierre Ossman, 2005.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at
9 * your option) any later version.
5 */ 10 */
6 11
7#include <linux/init.h> 12#include <linux/init.h>
diff --git a/arch/i386/kernel/kprobes.c b/arch/i386/kernel/kprobes.c
index afe6505ca0b3..d98e44b16fe2 100644
--- a/arch/i386/kernel/kprobes.c
+++ b/arch/i386/kernel/kprobes.c
@@ -230,20 +230,20 @@ void __kprobes arch_prepare_kretprobe(struct kretprobe *rp,
230 struct pt_regs *regs) 230 struct pt_regs *regs)
231{ 231{
232 unsigned long *sara = (unsigned long *)&regs->esp; 232 unsigned long *sara = (unsigned long *)&regs->esp;
233 struct kretprobe_instance *ri;
234 233
235 if ((ri = get_free_rp_inst(rp)) != NULL) { 234 struct kretprobe_instance *ri;
236 ri->rp = rp; 235
237 ri->task = current; 236 if ((ri = get_free_rp_inst(rp)) != NULL) {
237 ri->rp = rp;
238 ri->task = current;
238 ri->ret_addr = (kprobe_opcode_t *) *sara; 239 ri->ret_addr = (kprobe_opcode_t *) *sara;
239 240
240 /* Replace the return addr with trampoline addr */ 241 /* Replace the return addr with trampoline addr */
241 *sara = (unsigned long) &kretprobe_trampoline; 242 *sara = (unsigned long) &kretprobe_trampoline;
242 243 add_rp_inst(ri);
243 add_rp_inst(ri); 244 } else {
244 } else { 245 rp->nmissed++;
245 rp->nmissed++; 246 }
246 }
247} 247}
248 248
249/* 249/*
@@ -359,7 +359,7 @@ no_kprobe:
359 void __kprobes kretprobe_trampoline_holder(void) 359 void __kprobes kretprobe_trampoline_holder(void)
360 { 360 {
361 asm volatile ( ".global kretprobe_trampoline\n" 361 asm volatile ( ".global kretprobe_trampoline\n"
362 "kretprobe_trampoline: \n" 362 "kretprobe_trampoline: \n"
363 " pushf\n" 363 " pushf\n"
364 /* skip cs, eip, orig_eax, es, ds */ 364 /* skip cs, eip, orig_eax, es, ds */
365 " subl $20, %esp\n" 365 " subl $20, %esp\n"
@@ -395,14 +395,15 @@ no_kprobe:
395 */ 395 */
396fastcall void *__kprobes trampoline_handler(struct pt_regs *regs) 396fastcall void *__kprobes trampoline_handler(struct pt_regs *regs)
397{ 397{
398 struct kretprobe_instance *ri = NULL; 398 struct kretprobe_instance *ri = NULL;
399 struct hlist_head *head; 399 struct hlist_head *head, empty_rp;
400 struct hlist_node *node, *tmp; 400 struct hlist_node *node, *tmp;
401 unsigned long flags, orig_ret_address = 0; 401 unsigned long flags, orig_ret_address = 0;
402 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline; 402 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline;
403 403
404 INIT_HLIST_HEAD(&empty_rp);
404 spin_lock_irqsave(&kretprobe_lock, flags); 405 spin_lock_irqsave(&kretprobe_lock, flags);
405 head = kretprobe_inst_table_head(current); 406 head = kretprobe_inst_table_head(current);
406 407
407 /* 408 /*
408 * It is possible to have multiple instances associated with a given 409 * It is possible to have multiple instances associated with a given
@@ -413,14 +414,14 @@ fastcall void *__kprobes trampoline_handler(struct pt_regs *regs)
413 * We can handle this because: 414 * We can handle this because:
414 * - instances are always inserted at the head of the list 415 * - instances are always inserted at the head of the list
415 * - when multiple return probes are registered for the same 416 * - when multiple return probes are registered for the same
416 * function, the first instance's ret_addr will point to the 417 * function, the first instance's ret_addr will point to the
417 * real return address, and all the rest will point to 418 * real return address, and all the rest will point to
418 * kretprobe_trampoline 419 * kretprobe_trampoline
419 */ 420 */
420 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { 421 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {
421 if (ri->task != current) 422 if (ri->task != current)
422 /* another task is sharing our hash bucket */ 423 /* another task is sharing our hash bucket */
423 continue; 424 continue;
424 425
425 if (ri->rp && ri->rp->handler){ 426 if (ri->rp && ri->rp->handler){
426 __get_cpu_var(current_kprobe) = &ri->rp->kp; 427 __get_cpu_var(current_kprobe) = &ri->rp->kp;
@@ -429,7 +430,7 @@ fastcall void *__kprobes trampoline_handler(struct pt_regs *regs)
429 } 430 }
430 431
431 orig_ret_address = (unsigned long)ri->ret_addr; 432 orig_ret_address = (unsigned long)ri->ret_addr;
432 recycle_rp_inst(ri); 433 recycle_rp_inst(ri, &empty_rp);
433 434
434 if (orig_ret_address != trampoline_address) 435 if (orig_ret_address != trampoline_address)
435 /* 436 /*
@@ -444,6 +445,10 @@ fastcall void *__kprobes trampoline_handler(struct pt_regs *regs)
444 445
445 spin_unlock_irqrestore(&kretprobe_lock, flags); 446 spin_unlock_irqrestore(&kretprobe_lock, flags);
446 447
448 hlist_for_each_entry_safe(ri, node, tmp, &empty_rp, hlist) {
449 hlist_del(&ri->hlist);
450 kfree(ri);
451 }
447 return (void*)orig_ret_address; 452 return (void*)orig_ret_address;
448} 453}
449 454
diff --git a/arch/i386/kernel/nmi.c b/arch/i386/kernel/nmi.c
index dbda706fdd14..3e8e3adb0489 100644
--- a/arch/i386/kernel/nmi.c
+++ b/arch/i386/kernel/nmi.c
@@ -13,7 +13,6 @@
13 * Mikael Pettersson : PM converted to driver model. Disable/enable API. 13 * Mikael Pettersson : PM converted to driver model. Disable/enable API.
14 */ 14 */
15 15
16#include <linux/config.h>
17#include <linux/delay.h> 16#include <linux/delay.h>
18#include <linux/interrupt.h> 17#include <linux/interrupt.h>
19#include <linux/module.h> 18#include <linux/module.h>
@@ -31,6 +30,9 @@
31 30
32#include "mach_traps.h" 31#include "mach_traps.h"
33 32
33int unknown_nmi_panic;
34int nmi_watchdog_enabled;
35
34/* perfctr_nmi_owner tracks the ownership of the perfctr registers: 36/* perfctr_nmi_owner tracks the ownership of the perfctr registers:
35 * evtsel_nmi_owner tracks the ownership of the event selection 37 * evtsel_nmi_owner tracks the ownership of the event selection
36 * - different performance counters/ event selection may be reserved for 38 * - different performance counters/ event selection may be reserved for
diff --git a/arch/i386/kernel/process.c b/arch/i386/kernel/process.c
index 8c190ca7ae44..dad02a960e03 100644
--- a/arch/i386/kernel/process.c
+++ b/arch/i386/kernel/process.c
@@ -297,9 +297,9 @@ void show_regs(struct pt_regs * regs)
297 if (user_mode_vm(regs)) 297 if (user_mode_vm(regs))
298 printk(" ESP: %04x:%08lx",0xffff & regs->xss,regs->esp); 298 printk(" ESP: %04x:%08lx",0xffff & regs->xss,regs->esp);
299 printk(" EFLAGS: %08lx %s (%s %.*s)\n", 299 printk(" EFLAGS: %08lx %s (%s %.*s)\n",
300 regs->eflags, print_tainted(), system_utsname.release, 300 regs->eflags, print_tainted(), init_utsname()->release,
301 (int)strcspn(system_utsname.version, " "), 301 (int)strcspn(init_utsname()->version, " "),
302 system_utsname.version); 302 init_utsname()->version);
303 printk("EAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n", 303 printk("EAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n",
304 regs->eax,regs->ebx,regs->ecx,regs->edx); 304 regs->eax,regs->ebx,regs->ecx,regs->edx);
305 printk("ESI: %08lx EDI: %08lx EBP: %08lx", 305 printk("ESI: %08lx EDI: %08lx EBP: %08lx",
@@ -425,13 +425,12 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
425 425
426 tsk = current; 426 tsk = current;
427 if (unlikely(test_tsk_thread_flag(tsk, TIF_IO_BITMAP))) { 427 if (unlikely(test_tsk_thread_flag(tsk, TIF_IO_BITMAP))) {
428 p->thread.io_bitmap_ptr = kmalloc(IO_BITMAP_BYTES, GFP_KERNEL); 428 p->thread.io_bitmap_ptr = kmemdup(tsk->thread.io_bitmap_ptr,
429 IO_BITMAP_BYTES, GFP_KERNEL);
429 if (!p->thread.io_bitmap_ptr) { 430 if (!p->thread.io_bitmap_ptr) {
430 p->thread.io_bitmap_max = 0; 431 p->thread.io_bitmap_max = 0;
431 return -ENOMEM; 432 return -ENOMEM;
432 } 433 }
433 memcpy(p->thread.io_bitmap_ptr, tsk->thread.io_bitmap_ptr,
434 IO_BITMAP_BYTES);
435 set_tsk_thread_flag(p, TIF_IO_BITMAP); 434 set_tsk_thread_flag(p, TIF_IO_BITMAP);
436 } 435 }
437 436
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
index 814cdebf7377..000cf03751fe 100644
--- a/arch/i386/kernel/setup.c
+++ b/arch/i386/kernel/setup.c
@@ -209,9 +209,6 @@ static struct resource adapter_rom_resources[] = { {
209 .flags = IORESOURCE_BUSY | IORESOURCE_READONLY | IORESOURCE_MEM 209 .flags = IORESOURCE_BUSY | IORESOURCE_READONLY | IORESOURCE_MEM
210} }; 210} };
211 211
212#define ADAPTER_ROM_RESOURCES \
213 (sizeof adapter_rom_resources / sizeof adapter_rom_resources[0])
214
215static struct resource video_rom_resource = { 212static struct resource video_rom_resource = {
216 .name = "Video ROM", 213 .name = "Video ROM",
217 .start = 0xc0000, 214 .start = 0xc0000,
@@ -273,9 +270,6 @@ static struct resource standard_io_resources[] = { {
273 .flags = IORESOURCE_BUSY | IORESOURCE_IO 270 .flags = IORESOURCE_BUSY | IORESOURCE_IO
274} }; 271} };
275 272
276#define STANDARD_IO_RESOURCES \
277 (sizeof standard_io_resources / sizeof standard_io_resources[0])
278
279#define romsignature(x) (*(unsigned short *)(x) == 0xaa55) 273#define romsignature(x) (*(unsigned short *)(x) == 0xaa55)
280 274
281static int __init romchecksum(unsigned char *rom, unsigned long length) 275static int __init romchecksum(unsigned char *rom, unsigned long length)
@@ -332,7 +326,7 @@ static void __init probe_roms(void)
332 } 326 }
333 327
334 /* check for adapter roms on 2k boundaries */ 328 /* check for adapter roms on 2k boundaries */
335 for (i = 0; i < ADAPTER_ROM_RESOURCES && start < upper; start += 2048) { 329 for (i = 0; i < ARRAY_SIZE(adapter_rom_resources) && start < upper; start += 2048) {
336 rom = isa_bus_to_virt(start); 330 rom = isa_bus_to_virt(start);
337 if (!romsignature(rom)) 331 if (!romsignature(rom))
338 continue; 332 continue;
@@ -1272,7 +1266,7 @@ static int __init request_standard_resources(void)
1272 request_resource(&iomem_resource, &video_ram_resource); 1266 request_resource(&iomem_resource, &video_ram_resource);
1273 1267
1274 /* request I/O space for devices used on all i[345]86 PCs */ 1268 /* request I/O space for devices used on all i[345]86 PCs */
1275 for (i = 0; i < STANDARD_IO_RESOURCES; i++) 1269 for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++)
1276 request_resource(&ioport_resource, &standard_io_resources[i]); 1270 request_resource(&ioport_resource, &standard_io_resources[i]);
1277 return 0; 1271 return 0;
1278} 1272}
diff --git a/arch/i386/kernel/smp.c b/arch/i386/kernel/smp.c
index 465188e2d701..1b080ab8a49f 100644
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -700,3 +700,30 @@ int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
700 return 0; 700 return 0;
701} 701}
702EXPORT_SYMBOL(smp_call_function_single); 702EXPORT_SYMBOL(smp_call_function_single);
703
704static int convert_apicid_to_cpu(int apic_id)
705{
706 int i;
707
708 for (i = 0; i < NR_CPUS; i++) {
709 if (x86_cpu_to_apicid[i] == apic_id)
710 return i;
711 }
712 return -1;
713}
714
715int safe_smp_processor_id(void)
716{
717 int apicid, cpuid;
718
719 if (!boot_cpu_has(X86_FEATURE_APIC))
720 return 0;
721
722 apicid = hard_smp_processor_id();
723 if (apicid == BAD_APICID)
724 return 0;
725
726 cpuid = convert_apicid_to_cpu(apicid);
727
728 return cpuid >= 0 ? cpuid : 0;
729}
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c
index 82b26d5ce476..9d93ecf6d999 100644
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -612,6 +612,7 @@ extern struct {
612/* which logical CPUs are on which nodes */ 612/* which logical CPUs are on which nodes */
613cpumask_t node_2_cpu_mask[MAX_NUMNODES] __read_mostly = 613cpumask_t node_2_cpu_mask[MAX_NUMNODES] __read_mostly =
614 { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE }; 614 { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE };
615EXPORT_SYMBOL(node_2_cpu_mask);
615/* which node each logical CPU is on */ 616/* which node each logical CPU is on */
616int cpu_2_node[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = 0 }; 617int cpu_2_node[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = 0 };
617EXPORT_SYMBOL(cpu_2_node); 618EXPORT_SYMBOL(cpu_2_node);
@@ -1061,7 +1062,7 @@ static void __cpuinit do_warm_boot_cpu(void *p)
1061 1062
1062static int __cpuinit __smp_prepare_cpu(int cpu) 1063static int __cpuinit __smp_prepare_cpu(int cpu)
1063{ 1064{
1064 DECLARE_COMPLETION(done); 1065 DECLARE_COMPLETION_ONSTACK(done);
1065 struct warm_boot_cpu_info info; 1066 struct warm_boot_cpu_info info;
1066 struct work_struct task; 1067 struct work_struct task;
1067 int apicid, ret; 1068 int apicid, ret;
diff --git a/arch/i386/kernel/sys_i386.c b/arch/i386/kernel/sys_i386.c
index 8fdb1fb17a5f..4048397f1740 100644
--- a/arch/i386/kernel/sys_i386.c
+++ b/arch/i386/kernel/sys_i386.c
@@ -21,6 +21,7 @@
21#include <linux/utsname.h> 21#include <linux/utsname.h>
22 22
23#include <asm/uaccess.h> 23#include <asm/uaccess.h>
24#include <asm/unistd.h>
24#include <asm/ipc.h> 25#include <asm/ipc.h>
25 26
26/* 27/*
@@ -210,7 +211,7 @@ asmlinkage int sys_uname(struct old_utsname __user * name)
210 if (!name) 211 if (!name)
211 return -EFAULT; 212 return -EFAULT;
212 down_read(&uts_sem); 213 down_read(&uts_sem);
213 err=copy_to_user(name, &system_utsname, sizeof (*name)); 214 err = copy_to_user(name, utsname(), sizeof (*name));
214 up_read(&uts_sem); 215 up_read(&uts_sem);
215 return err?-EFAULT:0; 216 return err?-EFAULT:0;
216} 217}
@@ -226,16 +227,21 @@ asmlinkage int sys_olduname(struct oldold_utsname __user * name)
226 227
227 down_read(&uts_sem); 228 down_read(&uts_sem);
228 229
229 error = __copy_to_user(&name->sysname,&system_utsname.sysname,__OLD_UTS_LEN); 230 error = __copy_to_user(&name->sysname, &utsname()->sysname,
230 error |= __put_user(0,name->sysname+__OLD_UTS_LEN); 231 __OLD_UTS_LEN);
231 error |= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); 232 error |= __put_user(0, name->sysname + __OLD_UTS_LEN);
232 error |= __put_user(0,name->nodename+__OLD_UTS_LEN); 233 error |= __copy_to_user(&name->nodename, &utsname()->nodename,
233 error |= __copy_to_user(&name->release,&system_utsname.release,__OLD_UTS_LEN); 234 __OLD_UTS_LEN);
234 error |= __put_user(0,name->release+__OLD_UTS_LEN); 235 error |= __put_user(0, name->nodename + __OLD_UTS_LEN);
235 error |= __copy_to_user(&name->version,&system_utsname.version,__OLD_UTS_LEN); 236 error |= __copy_to_user(&name->release, &utsname()->release,
236 error |= __put_user(0,name->version+__OLD_UTS_LEN); 237 __OLD_UTS_LEN);
237 error |= __copy_to_user(&name->machine,&system_utsname.machine,__OLD_UTS_LEN); 238 error |= __put_user(0, name->release + __OLD_UTS_LEN);
238 error |= __put_user(0,name->machine+__OLD_UTS_LEN); 239 error |= __copy_to_user(&name->version, &utsname()->version,
240 __OLD_UTS_LEN);
241 error |= __put_user(0, name->version + __OLD_UTS_LEN);
242 error |= __copy_to_user(&name->machine, &utsname()->machine,
243 __OLD_UTS_LEN);
244 error |= __put_user(0, name->machine + __OLD_UTS_LEN);
239 245
240 up_read(&uts_sem); 246 up_read(&uts_sem);
241 247
@@ -243,3 +249,17 @@ asmlinkage int sys_olduname(struct oldold_utsname __user * name)
243 249
244 return error; 250 return error;
245} 251}
252
253
254/*
255 * Do a system call from kernel instead of calling sys_execve so we
256 * end up with proper pt_regs.
257 */
258int kernel_execve(const char *filename, char *const argv[], char *const envp[])
259{
260 long __res;
261 asm volatile ("push %%ebx ; movl %2,%%ebx ; int $0x80 ; pop %%ebx"
262 : "=a" (__res)
263 : "0" (__NR_execve),"ri" (filename),"c" (argv), "d" (envp) : "memory");
264 return __res;
265}
diff --git a/arch/i386/kernel/time.c b/arch/i386/kernel/time.c
index 86944acfb647..58a2d5582419 100644
--- a/arch/i386/kernel/time.c
+++ b/arch/i386/kernel/time.c
@@ -76,8 +76,6 @@ int pit_latch_buggy; /* extern */
76unsigned int cpu_khz; /* Detected as we calibrate the TSC */ 76unsigned int cpu_khz; /* Detected as we calibrate the TSC */
77EXPORT_SYMBOL(cpu_khz); 77EXPORT_SYMBOL(cpu_khz);
78 78
79extern unsigned long wall_jiffies;
80
81DEFINE_SPINLOCK(rtc_lock); 79DEFINE_SPINLOCK(rtc_lock);
82EXPORT_SYMBOL(rtc_lock); 80EXPORT_SYMBOL(rtc_lock);
83 81
@@ -329,7 +327,6 @@ static int timer_resume(struct sys_device *dev)
329 do_settimeofday(&ts); 327 do_settimeofday(&ts);
330 write_seqlock_irqsave(&xtime_lock, flags); 328 write_seqlock_irqsave(&xtime_lock, flags);
331 jiffies_64 += sleep_length; 329 jiffies_64 += sleep_length;
332 wall_jiffies += sleep_length;
333 write_sequnlock_irqrestore(&xtime_lock, flags); 330 write_sequnlock_irqrestore(&xtime_lock, flags);
334 touch_softlockup_watchdog(); 331 touch_softlockup_watchdog();
335 return 0; 332 return 0;
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c
index a13037fe0ee3..00489b706d27 100644
--- a/arch/i386/kernel/traps.c
+++ b/arch/i386/kernel/traps.c
@@ -57,6 +57,8 @@
57 57
58#include "mach_traps.h" 58#include "mach_traps.h"
59 59
60int panic_on_unrecovered_nmi;
61
60asmlinkage int system_call(void); 62asmlinkage int system_call(void);
61 63
62struct desc_struct default_ldt[] = { { 0, 0 }, { 0, 0 }, { 0, 0 }, 64struct desc_struct default_ldt[] = { { 0, 0 }, { 0, 0 }, { 0, 0 },
@@ -355,9 +357,9 @@ void show_registers(struct pt_regs *regs)
355 KERN_EMERG "EIP: %04x:[<%08lx>] %s VLI\n" 357 KERN_EMERG "EIP: %04x:[<%08lx>] %s VLI\n"
356 KERN_EMERG "EFLAGS: %08lx (%s %.*s)\n", 358 KERN_EMERG "EFLAGS: %08lx (%s %.*s)\n",
357 smp_processor_id(), 0xffff & regs->xcs, regs->eip, 359 smp_processor_id(), 0xffff & regs->xcs, regs->eip,
358 print_tainted(), regs->eflags, system_utsname.release, 360 print_tainted(), regs->eflags, init_utsname()->release,
359 (int)strcspn(system_utsname.version, " "), 361 (int)strcspn(init_utsname()->version, " "),
360 system_utsname.version); 362 init_utsname()->version);
361 print_symbol(KERN_EMERG "EIP is at %s\n", regs->eip); 363 print_symbol(KERN_EMERG "EIP is at %s\n", regs->eip);
362 printk(KERN_EMERG "eax: %08lx ebx: %08lx ecx: %08lx edx: %08lx\n", 364 printk(KERN_EMERG "eax: %08lx ebx: %08lx ecx: %08lx edx: %08lx\n",
363 regs->eax, regs->ebx, regs->ecx, regs->edx); 365 regs->eax, regs->ebx, regs->ecx, regs->edx);
diff --git a/arch/i386/lib/delay.c b/arch/i386/lib/delay.c
index 3c0714c4b669..f6edb11364df 100644
--- a/arch/i386/lib/delay.c
+++ b/arch/i386/lib/delay.c
@@ -11,7 +11,6 @@
11 */ 11 */
12 12
13#include <linux/module.h> 13#include <linux/module.h>
14#include <linux/config.h>
15#include <linux/sched.h> 14#include <linux/sched.h>
16#include <linux/delay.h> 15#include <linux/delay.h>
17 16
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c
index 6c86575ffdcb..856c73fcb7e7 100644
--- a/arch/i386/mach-voyager/voyager_smp.c
+++ b/arch/i386/mach-voyager/voyager_smp.c
@@ -99,6 +99,7 @@ static void do_boot_cpu(__u8 cpuid);
99static void do_quad_bootstrap(void); 99static void do_quad_bootstrap(void);
100 100
101int hard_smp_processor_id(void); 101int hard_smp_processor_id(void);
102int safe_smp_processor_id(void);
102 103
103/* Inline functions */ 104/* Inline functions */
104static inline void 105static inline void
@@ -1247,6 +1248,12 @@ hard_smp_processor_id(void)
1247 return 0; 1248 return 0;
1248} 1249}
1249 1250
1251int
1252safe_smp_processor_id(void)
1253{
1254 return hard_smp_processor_id();
1255}
1256
1250/* broadcast a halt to all other CPUs */ 1257/* broadcast a halt to all other CPUs */
1251void 1258void
1252smp_send_stop(void) 1259smp_send_stop(void)
diff --git a/arch/i386/mm/highmem.c b/arch/i386/mm/highmem.c
index ba44000b9069..f9f647cdbc7b 100644
--- a/arch/i386/mm/highmem.c
+++ b/arch/i386/mm/highmem.c
@@ -38,22 +38,19 @@ void *kmap_atomic(struct page *page, enum km_type type)
38 38
39 idx = type + KM_TYPE_NR*smp_processor_id(); 39 idx = type + KM_TYPE_NR*smp_processor_id();
40 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); 40 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
41#ifdef CONFIG_DEBUG_HIGHMEM
42 if (!pte_none(*(kmap_pte-idx))) 41 if (!pte_none(*(kmap_pte-idx)))
43 BUG(); 42 BUG();
44#endif
45 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot)); 43 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot));
46 __flush_tlb_one(vaddr);
47 44
48 return (void*) vaddr; 45 return (void*) vaddr;
49} 46}
50 47
51void kunmap_atomic(void *kvaddr, enum km_type type) 48void kunmap_atomic(void *kvaddr, enum km_type type)
52{ 49{
53#ifdef CONFIG_DEBUG_HIGHMEM
54 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; 50 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK;
55 enum fixed_addresses idx = type + KM_TYPE_NR*smp_processor_id(); 51 enum fixed_addresses idx = type + KM_TYPE_NR*smp_processor_id();
56 52
53#ifdef CONFIG_DEBUG_HIGHMEM
57 if (vaddr >= PAGE_OFFSET && vaddr < (unsigned long)high_memory) { 54 if (vaddr >= PAGE_OFFSET && vaddr < (unsigned long)high_memory) {
58 dec_preempt_count(); 55 dec_preempt_count();
59 preempt_check_resched(); 56 preempt_check_resched();
@@ -62,14 +59,14 @@ void kunmap_atomic(void *kvaddr, enum km_type type)
62 59
63 if (vaddr != __fix_to_virt(FIX_KMAP_BEGIN+idx)) 60 if (vaddr != __fix_to_virt(FIX_KMAP_BEGIN+idx))
64 BUG(); 61 BUG();
65 62#endif
66 /* 63 /*
67 * force other mappings to Oops if they'll try to access 64 * Force other mappings to Oops if they'll try to access this pte
68 * this pte without first remap it 65 * without first remap it. Keeping stale mappings around is a bad idea
66 * also, in case the page changes cacheability attributes or becomes
67 * a protected page in a hypervisor.
69 */ 68 */
70 pte_clear(&init_mm, vaddr, kmap_pte-idx); 69 kpte_clear_flush(kmap_pte-idx, vaddr);
71 __flush_tlb_one(vaddr);
72#endif
73 70
74 dec_preempt_count(); 71 dec_preempt_count();
75 preempt_check_resched(); 72 preempt_check_resched();
@@ -88,7 +85,6 @@ void *kmap_atomic_pfn(unsigned long pfn, enum km_type type)
88 idx = type + KM_TYPE_NR*smp_processor_id(); 85 idx = type + KM_TYPE_NR*smp_processor_id();
89 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); 86 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
90 set_pte(kmap_pte-idx, pfn_pte(pfn, kmap_prot)); 87 set_pte(kmap_pte-idx, pfn_pte(pfn, kmap_prot));
91 __flush_tlb_one(vaddr);
92 88
93 return (void*) vaddr; 89 return (void*) vaddr;
94} 90}
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c
index 4a5a914b3432..90089c14c23d 100644
--- a/arch/i386/mm/init.c
+++ b/arch/i386/mm/init.c
@@ -493,6 +493,7 @@ int __init set_kernel_exec(unsigned long vaddr, int enable)
493 pte->pte_high &= ~(1 << (_PAGE_BIT_NX - 32)); 493 pte->pte_high &= ~(1 << (_PAGE_BIT_NX - 32));
494 else 494 else
495 pte->pte_high |= 1 << (_PAGE_BIT_NX - 32); 495 pte->pte_high |= 1 << (_PAGE_BIT_NX - 32);
496 pte_update_defer(&init_mm, vaddr, pte);
496 __flush_tlb_all(); 497 __flush_tlb_all();
497out: 498out:
498 return ret; 499 return ret;
diff --git a/arch/i386/mm/ioremap.c b/arch/i386/mm/ioremap.c
index 247fde76aaed..fff08ae7b5ed 100644
--- a/arch/i386/mm/ioremap.c
+++ b/arch/i386/mm/ioremap.c
@@ -12,7 +12,7 @@
12#include <linux/init.h> 12#include <linux/init.h>
13#include <linux/slab.h> 13#include <linux/slab.h>
14#include <linux/module.h> 14#include <linux/module.h>
15#include <asm/io.h> 15#include <linux/io.h>
16#include <asm/fixmap.h> 16#include <asm/fixmap.h>
17#include <asm/cacheflush.h> 17#include <asm/cacheflush.h>
18#include <asm/tlbflush.h> 18#include <asm/tlbflush.h>
@@ -21,82 +21,6 @@
21#define ISA_START_ADDRESS 0xa0000 21#define ISA_START_ADDRESS 0xa0000
22#define ISA_END_ADDRESS 0x100000 22#define ISA_END_ADDRESS 0x100000
23 23
24static int ioremap_pte_range(pmd_t *pmd, unsigned long addr,
25 unsigned long end, unsigned long phys_addr, unsigned long flags)
26{
27 pte_t *pte;
28 unsigned long pfn;
29
30 pfn = phys_addr >> PAGE_SHIFT;
31 pte = pte_alloc_kernel(pmd, addr);
32 if (!pte)
33 return -ENOMEM;
34 do {
35 BUG_ON(!pte_none(*pte));
36 set_pte(pte, pfn_pte(pfn, __pgprot(_PAGE_PRESENT | _PAGE_RW |
37 _PAGE_DIRTY | _PAGE_ACCESSED | flags)));
38 pfn++;
39 } while (pte++, addr += PAGE_SIZE, addr != end);
40 return 0;
41}
42
43static inline int ioremap_pmd_range(pud_t *pud, unsigned long addr,
44 unsigned long end, unsigned long phys_addr, unsigned long flags)
45{
46 pmd_t *pmd;
47 unsigned long next;
48
49 phys_addr -= addr;
50 pmd = pmd_alloc(&init_mm, pud, addr);
51 if (!pmd)
52 return -ENOMEM;
53 do {
54 next = pmd_addr_end(addr, end);
55 if (ioremap_pte_range(pmd, addr, next, phys_addr + addr, flags))
56 return -ENOMEM;
57 } while (pmd++, addr = next, addr != end);
58 return 0;
59}
60
61static inline int ioremap_pud_range(pgd_t *pgd, unsigned long addr,
62 unsigned long end, unsigned long phys_addr, unsigned long flags)
63{
64 pud_t *pud;
65 unsigned long next;
66
67 phys_addr -= addr;
68 pud = pud_alloc(&init_mm, pgd, addr);
69 if (!pud)
70 return -ENOMEM;
71 do {
72 next = pud_addr_end(addr, end);
73 if (ioremap_pmd_range(pud, addr, next, phys_addr + addr, flags))
74 return -ENOMEM;
75 } while (pud++, addr = next, addr != end);
76 return 0;
77}
78
79static int ioremap_page_range(unsigned long addr,
80 unsigned long end, unsigned long phys_addr, unsigned long flags)
81{
82 pgd_t *pgd;
83 unsigned long next;
84 int err;
85
86 BUG_ON(addr >= end);
87 flush_cache_all();
88 phys_addr -= addr;
89 pgd = pgd_offset_k(addr);
90 do {
91 next = pgd_addr_end(addr, end);
92 err = ioremap_pud_range(pgd, addr, next, phys_addr+addr, flags);
93 if (err)
94 break;
95 } while (pgd++, addr = next, addr != end);
96 flush_tlb_all();
97 return err;
98}
99
100/* 24/*
101 * Generic mapping function (not visible outside): 25 * Generic mapping function (not visible outside):
102 */ 26 */
@@ -115,6 +39,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
115 void __iomem * addr; 39 void __iomem * addr;
116 struct vm_struct * area; 40 struct vm_struct * area;
117 unsigned long offset, last_addr; 41 unsigned long offset, last_addr;
42 pgprot_t prot;
118 43
119 /* Don't allow wraparound or zero size */ 44 /* Don't allow wraparound or zero size */
120 last_addr = phys_addr + size - 1; 45 last_addr = phys_addr + size - 1;
@@ -142,6 +67,9 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
142 return NULL; 67 return NULL;
143 } 68 }
144 69
70 prot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY
71 | _PAGE_ACCESSED | flags);
72
145 /* 73 /*
146 * Mappings have to be page-aligned 74 * Mappings have to be page-aligned
147 */ 75 */
@@ -158,7 +86,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
158 area->phys_addr = phys_addr; 86 area->phys_addr = phys_addr;
159 addr = (void __iomem *) area->addr; 87 addr = (void __iomem *) area->addr;
160 if (ioremap_page_range((unsigned long) addr, 88 if (ioremap_page_range((unsigned long) addr,
161 (unsigned long) addr + size, phys_addr, flags)) { 89 (unsigned long) addr + size, phys_addr, prot)) {
162 vunmap((void __force *) addr); 90 vunmap((void __force *) addr);
163 return NULL; 91 return NULL;
164 } 92 }
diff --git a/arch/i386/pci/mmconfig.c b/arch/i386/pci/mmconfig.c
index 05be8db58a8c..d0c3da3aa2aa 100644
--- a/arch/i386/pci/mmconfig.c
+++ b/arch/i386/pci/mmconfig.c
@@ -67,7 +67,10 @@ static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn)
67 return 0; 67 return 0;
68} 68}
69 69
70static inline void pci_exp_set_dev_base(unsigned int base, int bus, int devfn) 70/*
71 * This is always called under pci_config_lock
72 */
73static void pci_exp_set_dev_base(unsigned int base, int bus, int devfn)
71{ 74{
72 u32 dev_base = base | (bus << 20) | (devfn << 12); 75 u32 dev_base = base | (bus << 20) | (devfn << 12);
73 if (dev_base != mmcfg_last_accessed_device) { 76 if (dev_base != mmcfg_last_accessed_device) {
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 0b7f701d5cf7..70f7eb9fed35 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -516,7 +516,7 @@ source "arch/ia64/oprofile/Kconfig"
516 516
517config KPROBES 517config KPROBES
518 bool "Kprobes (EXPERIMENTAL)" 518 bool "Kprobes (EXPERIMENTAL)"
519 depends on EXPERIMENTAL && MODULES 519 depends on KALLSYMS && EXPERIMENTAL && MODULES
520 help 520 help
521 Kprobes allows you to trap at almost any kernel address and 521 Kprobes allows you to trap at almost any kernel address and
522 execute a callback function. register_kprobe() establishes 522 execute a callback function. register_kprobe() establishes
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index 0daacc20ed36..246eb3d3757a 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -940,7 +940,7 @@ static inline void show_serial_version(void)
940 printk(KERN_INFO " no serial options enabled\n"); 940 printk(KERN_INFO " no serial options enabled\n");
941} 941}
942 942
943static struct tty_operations hp_ops = { 943static const struct tty_operations hp_ops = {
944 .open = rs_open, 944 .open = rs_open,
945 .close = rs_close, 945 .close = rs_close,
946 .write = rs_write, 946 .write = rs_write,
diff --git a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c
index bddbd22706ed..9d6a3f210148 100644
--- a/arch/ia64/ia32/sys_ia32.c
+++ b/arch/ia64/ia32/sys_ia32.c
@@ -125,6 +125,7 @@ sys32_execve (char __user *name, compat_uptr_t __user *argv, compat_uptr_t __use
125 125
126int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) 126int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf)
127{ 127{
128 compat_ino_t ino;
128 int err; 129 int err;
129 130
130 if ((u64) stat->size > MAX_NON_LFS || 131 if ((u64) stat->size > MAX_NON_LFS ||
@@ -132,11 +133,15 @@ int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf)
132 !old_valid_dev(stat->rdev)) 133 !old_valid_dev(stat->rdev))
133 return -EOVERFLOW; 134 return -EOVERFLOW;
134 135
136 ino = stat->ino;
137 if (sizeof(ino) < sizeof(stat->ino) && ino != stat->ino)
138 return -EOVERFLOW;
139
135 if (clear_user(ubuf, sizeof(*ubuf))) 140 if (clear_user(ubuf, sizeof(*ubuf)))
136 return -EFAULT; 141 return -EFAULT;
137 142
138 err = __put_user(old_encode_dev(stat->dev), &ubuf->st_dev); 143 err = __put_user(old_encode_dev(stat->dev), &ubuf->st_dev);
139 err |= __put_user(stat->ino, &ubuf->st_ino); 144 err |= __put_user(ino, &ubuf->st_ino);
140 err |= __put_user(stat->mode, &ubuf->st_mode); 145 err |= __put_user(stat->mode, &ubuf->st_mode);
141 err |= __put_user(stat->nlink, &ubuf->st_nlink); 146 err |= __put_user(stat->nlink, &ubuf->st_nlink);
142 err |= __put_user(high2lowuid(stat->uid), &ubuf->st_uid); 147 err |= __put_user(high2lowuid(stat->uid), &ubuf->st_uid);
@@ -1222,16 +1227,20 @@ struct readdir32_callback {
1222}; 1227};
1223 1228
1224static int 1229static int
1225filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino, 1230filldir32 (void *__buf, const char *name, int namlen, loff_t offset, u64 ino,
1226 unsigned int d_type) 1231 unsigned int d_type)
1227{ 1232{
1228 struct compat_dirent __user * dirent; 1233 struct compat_dirent __user * dirent;
1229 struct getdents32_callback * buf = (struct getdents32_callback *) __buf; 1234 struct getdents32_callback * buf = (struct getdents32_callback *) __buf;
1230 int reclen = ROUND_UP(offsetof(struct compat_dirent, d_name) + namlen + 1, 4); 1235 int reclen = ROUND_UP(offsetof(struct compat_dirent, d_name) + namlen + 1, 4);
1236 u32 d_ino;
1231 1237
1232 buf->error = -EINVAL; /* only used if we fail.. */ 1238 buf->error = -EINVAL; /* only used if we fail.. */
1233 if (reclen > buf->count) 1239 if (reclen > buf->count)
1234 return -EINVAL; 1240 return -EINVAL;
1241 d_ino = ino;
1242 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
1243 return -EOVERFLOW;
1235 buf->error = -EFAULT; /* only used if we fail.. */ 1244 buf->error = -EFAULT; /* only used if we fail.. */
1236 dirent = buf->previous; 1245 dirent = buf->previous;
1237 if (dirent) 1246 if (dirent)
@@ -1239,7 +1248,7 @@ filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino,
1239 return -EFAULT; 1248 return -EFAULT;
1240 dirent = buf->current_dir; 1249 dirent = buf->current_dir;
1241 buf->previous = dirent; 1250 buf->previous = dirent;
1242 if (put_user(ino, &dirent->d_ino) 1251 if (put_user(d_ino, &dirent->d_ino)
1243 || put_user(reclen, &dirent->d_reclen) 1252 || put_user(reclen, &dirent->d_reclen)
1244 || copy_to_user(dirent->d_name, name, namlen) 1253 || copy_to_user(dirent->d_name, name, namlen)
1245 || put_user(0, dirent->d_name + namlen)) 1254 || put_user(0, dirent->d_name + namlen))
@@ -1287,17 +1296,21 @@ out:
1287} 1296}
1288 1297
1289static int 1298static int
1290fillonedir32 (void * __buf, const char * name, int namlen, loff_t offset, ino_t ino, 1299fillonedir32 (void * __buf, const char * name, int namlen, loff_t offset, u64 ino,
1291 unsigned int d_type) 1300 unsigned int d_type)
1292{ 1301{
1293 struct readdir32_callback * buf = (struct readdir32_callback *) __buf; 1302 struct readdir32_callback * buf = (struct readdir32_callback *) __buf;
1294 struct old_linux32_dirent __user * dirent; 1303 struct old_linux32_dirent __user * dirent;
1304 u32 d_ino;
1295 1305
1296 if (buf->count) 1306 if (buf->count)
1297 return -EINVAL; 1307 return -EINVAL;
1308 d_ino = ino;
1309 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
1310 return -EOVERFLOW;
1298 buf->count++; 1311 buf->count++;
1299 dirent = buf->dirent; 1312 dirent = buf->dirent;
1300 if (put_user(ino, &dirent->d_ino) 1313 if (put_user(d_ino, &dirent->d_ino)
1301 || put_user(offset, &dirent->d_offset) 1314 || put_user(offset, &dirent->d_offset)
1302 || put_user(namlen, &dirent->d_namlen) 1315 || put_user(namlen, &dirent->d_namlen)
1303 || copy_to_user(dirent->d_name, name, namlen) 1316 || copy_to_user(dirent->d_name, name, namlen)
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 12701cf32d99..e5b1be51b197 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -492,11 +492,11 @@ GLOBAL_ENTRY(prefetch_stack)
492 br.ret.sptk.many rp 492 br.ret.sptk.many rp
493END(prefetch_stack) 493END(prefetch_stack)
494 494
495GLOBAL_ENTRY(execve) 495GLOBAL_ENTRY(kernel_execve)
496 mov r15=__NR_execve // put syscall number in place 496 mov r15=__NR_execve // put syscall number in place
497 break __BREAK_SYSCALL 497 break __BREAK_SYSCALL
498 br.ret.sptk.many rp 498 br.ret.sptk.many rp
499END(execve) 499END(kernel_execve)
500 500
501GLOBAL_ENTRY(clone) 501GLOBAL_ENTRY(clone)
502 mov r15=__NR_clone // put syscall number in place 502 mov r15=__NR_clone // put syscall number in place
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
index 169ec3a7156c..51217d63285e 100644
--- a/arch/ia64/kernel/kprobes.c
+++ b/arch/ia64/kernel/kprobes.c
@@ -90,7 +90,7 @@ static void __kprobes update_kprobe_inst_flag(uint template, uint slot,
90 p->ainsn.target_br_reg = 0; 90 p->ainsn.target_br_reg = 0;
91 91
92 /* Check for Break instruction 92 /* Check for Break instruction
93 * Bits 37:40 Major opcode to be zero 93 * Bits 37:40 Major opcode to be zero
94 * Bits 27:32 X6 to be zero 94 * Bits 27:32 X6 to be zero
95 * Bits 32:35 X3 to be zero 95 * Bits 32:35 X3 to be zero
96 */ 96 */
@@ -104,19 +104,19 @@ static void __kprobes update_kprobe_inst_flag(uint template, uint slot,
104 switch (major_opcode) { 104 switch (major_opcode) {
105 case INDIRECT_CALL_OPCODE: 105 case INDIRECT_CALL_OPCODE:
106 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG; 106 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG;
107 p->ainsn.target_br_reg = ((kprobe_inst >> 6) & 0x7); 107 p->ainsn.target_br_reg = ((kprobe_inst >> 6) & 0x7);
108 break; 108 break;
109 case IP_RELATIVE_PREDICT_OPCODE: 109 case IP_RELATIVE_PREDICT_OPCODE:
110 case IP_RELATIVE_BRANCH_OPCODE: 110 case IP_RELATIVE_BRANCH_OPCODE:
111 p->ainsn.inst_flag |= INST_FLAG_FIX_RELATIVE_IP_ADDR; 111 p->ainsn.inst_flag |= INST_FLAG_FIX_RELATIVE_IP_ADDR;
112 break; 112 break;
113 case IP_RELATIVE_CALL_OPCODE: 113 case IP_RELATIVE_CALL_OPCODE:
114 p->ainsn.inst_flag |= INST_FLAG_FIX_RELATIVE_IP_ADDR; 114 p->ainsn.inst_flag |= INST_FLAG_FIX_RELATIVE_IP_ADDR;
115 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG; 115 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG;
116 p->ainsn.target_br_reg = ((kprobe_inst >> 6) & 0x7); 116 p->ainsn.target_br_reg = ((kprobe_inst >> 6) & 0x7);
117 break; 117 break;
118 } 118 }
119 } else if (bundle_encoding[template][slot] == X) { 119 } else if (bundle_encoding[template][slot] == X) {
120 switch (major_opcode) { 120 switch (major_opcode) {
121 case LONG_CALL_OPCODE: 121 case LONG_CALL_OPCODE:
122 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG; 122 p->ainsn.inst_flag |= INST_FLAG_FIX_BRANCH_REG;
@@ -258,18 +258,18 @@ static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot,
258 258
259 switch (slot) { 259 switch (slot) {
260 case 0: 260 case 0:
261 *major_opcode = (bundle->quad0.slot0 >> SLOT0_OPCODE_SHIFT); 261 *major_opcode = (bundle->quad0.slot0 >> SLOT0_OPCODE_SHIFT);
262 *kprobe_inst = bundle->quad0.slot0; 262 *kprobe_inst = bundle->quad0.slot0;
263 break; 263 break;
264 case 1: 264 case 1:
265 *major_opcode = (bundle->quad1.slot1_p1 >> SLOT1_p1_OPCODE_SHIFT); 265 *major_opcode = (bundle->quad1.slot1_p1 >> SLOT1_p1_OPCODE_SHIFT);
266 kprobe_inst_p0 = bundle->quad0.slot1_p0; 266 kprobe_inst_p0 = bundle->quad0.slot1_p0;
267 kprobe_inst_p1 = bundle->quad1.slot1_p1; 267 kprobe_inst_p1 = bundle->quad1.slot1_p1;
268 *kprobe_inst = kprobe_inst_p0 | (kprobe_inst_p1 << (64-46)); 268 *kprobe_inst = kprobe_inst_p0 | (kprobe_inst_p1 << (64-46));
269 break; 269 break;
270 case 2: 270 case 2:
271 *major_opcode = (bundle->quad1.slot2 >> SLOT2_OPCODE_SHIFT); 271 *major_opcode = (bundle->quad1.slot2 >> SLOT2_OPCODE_SHIFT);
272 *kprobe_inst = bundle->quad1.slot2; 272 *kprobe_inst = bundle->quad1.slot2;
273 break; 273 break;
274 } 274 }
275} 275}
@@ -290,11 +290,11 @@ static int __kprobes valid_kprobe_addr(int template, int slot,
290 return -EINVAL; 290 return -EINVAL;
291 } 291 }
292 292
293 if (in_ivt_functions(addr)) { 293 if (in_ivt_functions(addr)) {
294 printk(KERN_WARNING "Kprobes can't be inserted inside " 294 printk(KERN_WARNING "Kprobes can't be inserted inside "
295 "IVT functions at 0x%lx\n", addr); 295 "IVT functions at 0x%lx\n", addr);
296 return -EINVAL; 296 return -EINVAL;
297 } 297 }
298 298
299 if (slot == 1 && bundle_encoding[template][1] != L) { 299 if (slot == 1 && bundle_encoding[template][1] != L) {
300 printk(KERN_WARNING "Inserting kprobes on slot #1 " 300 printk(KERN_WARNING "Inserting kprobes on slot #1 "
@@ -338,12 +338,13 @@ static void kretprobe_trampoline(void)
338int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) 338int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
339{ 339{
340 struct kretprobe_instance *ri = NULL; 340 struct kretprobe_instance *ri = NULL;
341 struct hlist_head *head; 341 struct hlist_head *head, empty_rp;
342 struct hlist_node *node, *tmp; 342 struct hlist_node *node, *tmp;
343 unsigned long flags, orig_ret_address = 0; 343 unsigned long flags, orig_ret_address = 0;
344 unsigned long trampoline_address = 344 unsigned long trampoline_address =
345 ((struct fnptr *)kretprobe_trampoline)->ip; 345 ((struct fnptr *)kretprobe_trampoline)->ip;
346 346
347 INIT_HLIST_HEAD(&empty_rp);
347 spin_lock_irqsave(&kretprobe_lock, flags); 348 spin_lock_irqsave(&kretprobe_lock, flags);
348 head = kretprobe_inst_table_head(current); 349 head = kretprobe_inst_table_head(current);
349 350
@@ -369,7 +370,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
369 ri->rp->handler(ri, regs); 370 ri->rp->handler(ri, regs);
370 371
371 orig_ret_address = (unsigned long)ri->ret_addr; 372 orig_ret_address = (unsigned long)ri->ret_addr;
372 recycle_rp_inst(ri); 373 recycle_rp_inst(ri, &empty_rp);
373 374
374 if (orig_ret_address != trampoline_address) 375 if (orig_ret_address != trampoline_address)
375 /* 376 /*
@@ -387,6 +388,10 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
387 spin_unlock_irqrestore(&kretprobe_lock, flags); 388 spin_unlock_irqrestore(&kretprobe_lock, flags);
388 preempt_enable_no_resched(); 389 preempt_enable_no_resched();
389 390
391 hlist_for_each_entry_safe(ri, node, tmp, &empty_rp, hlist) {
392 hlist_del(&ri->hlist);
393 kfree(ri);
394 }
390 /* 395 /*
391 * By returning a non-zero value, we are telling 396 * By returning a non-zero value, we are telling
392 * kprobe_handler() that we don't want the post_handler 397 * kprobe_handler() that we don't want the post_handler
@@ -424,14 +429,14 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p)
424 bundle_t *bundle; 429 bundle_t *bundle;
425 430
426 bundle = &((kprobe_opcode_t *)kprobe_addr)->bundle; 431 bundle = &((kprobe_opcode_t *)kprobe_addr)->bundle;
427 template = bundle->quad0.template; 432 template = bundle->quad0.template;
428 433
429 if(valid_kprobe_addr(template, slot, addr)) 434 if(valid_kprobe_addr(template, slot, addr))
430 return -EINVAL; 435 return -EINVAL;
431 436
432 /* Move to slot 2, if bundle is MLX type and kprobe slot is 1 */ 437 /* Move to slot 2, if bundle is MLX type and kprobe slot is 1 */
433 if (slot == 1 && bundle_encoding[template][1] == L) 438 if (slot == 1 && bundle_encoding[template][1] == L)
434 slot++; 439 slot++;
435 440
436 /* Get kprobe_inst and major_opcode from the bundle */ 441 /* Get kprobe_inst and major_opcode from the bundle */
437 get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode); 442 get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode);
@@ -489,21 +494,22 @@ void __kprobes arch_remove_kprobe(struct kprobe *p)
489 */ 494 */
490static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs) 495static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs)
491{ 496{
492 unsigned long bundle_addr = (unsigned long) (&p->ainsn.insn->bundle); 497 unsigned long bundle_addr = (unsigned long) (&p->ainsn.insn->bundle);
493 unsigned long resume_addr = (unsigned long)p->addr & ~0xFULL; 498 unsigned long resume_addr = (unsigned long)p->addr & ~0xFULL;
494 unsigned long template; 499 unsigned long template;
495 int slot = ((unsigned long)p->addr & 0xf); 500 int slot = ((unsigned long)p->addr & 0xf);
496 501
497 template = p->ainsn.insn->bundle.quad0.template; 502 template = p->ainsn.insn->bundle.quad0.template;
498 503
499 if (slot == 1 && bundle_encoding[template][1] == L) 504 if (slot == 1 && bundle_encoding[template][1] == L)
500 slot = 2; 505 slot = 2;
501 506
502 if (p->ainsn.inst_flag) { 507 if (p->ainsn.inst_flag) {
503 508
504 if (p->ainsn.inst_flag & INST_FLAG_FIX_RELATIVE_IP_ADDR) { 509 if (p->ainsn.inst_flag & INST_FLAG_FIX_RELATIVE_IP_ADDR) {
505 /* Fix relative IP address */ 510 /* Fix relative IP address */
506 regs->cr_iip = (regs->cr_iip - bundle_addr) + resume_addr; 511 regs->cr_iip = (regs->cr_iip - bundle_addr) +
512 resume_addr;
507 } 513 }
508 514
509 if (p->ainsn.inst_flag & INST_FLAG_FIX_BRANCH_REG) { 515 if (p->ainsn.inst_flag & INST_FLAG_FIX_BRANCH_REG) {
@@ -540,18 +546,18 @@ static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs)
540 } 546 }
541 547
542 if (slot == 2) { 548 if (slot == 2) {
543 if (regs->cr_iip == bundle_addr + 0x10) { 549 if (regs->cr_iip == bundle_addr + 0x10) {
544 regs->cr_iip = resume_addr + 0x10; 550 regs->cr_iip = resume_addr + 0x10;
545 } 551 }
546 } else { 552 } else {
547 if (regs->cr_iip == bundle_addr) { 553 if (regs->cr_iip == bundle_addr) {
548 regs->cr_iip = resume_addr; 554 regs->cr_iip = resume_addr;
549 } 555 }
550 } 556 }
551 557
552turn_ss_off: 558turn_ss_off:
553 /* Turn off Single Step bit */ 559 /* Turn off Single Step bit */
554 ia64_psr(regs)->ss = 0; 560 ia64_psr(regs)->ss = 0;
555} 561}
556 562
557static void __kprobes prepare_ss(struct kprobe *p, struct pt_regs *regs) 563static void __kprobes prepare_ss(struct kprobe *p, struct pt_regs *regs)
@@ -587,7 +593,7 @@ static int __kprobes is_ia64_break_inst(struct pt_regs *regs)
587 593
588 /* Move to slot 2, if bundle is MLX type and kprobe slot is 1 */ 594 /* Move to slot 2, if bundle is MLX type and kprobe slot is 1 */
589 if (slot == 1 && bundle_encoding[template][1] == L) 595 if (slot == 1 && bundle_encoding[template][1] == L)
590 slot++; 596 slot++;
591 597
592 /* Get Kprobe probe instruction at given slot*/ 598 /* Get Kprobe probe instruction at given slot*/
593 get_kprobe_inst(&bundle, slot, &kprobe_inst, &major_opcode); 599 get_kprobe_inst(&bundle, slot, &kprobe_inst, &major_opcode);
@@ -627,7 +633,7 @@ static int __kprobes pre_kprobes_handler(struct die_args *args)
627 if (p) { 633 if (p) {
628 if ((kcb->kprobe_status == KPROBE_HIT_SS) && 634 if ((kcb->kprobe_status == KPROBE_HIT_SS) &&
629 (p->ainsn.inst_flag == INST_FLAG_BREAK_INST)) { 635 (p->ainsn.inst_flag == INST_FLAG_BREAK_INST)) {
630 ia64_psr(regs)->ss = 0; 636 ia64_psr(regs)->ss = 0;
631 goto no_kprobe; 637 goto no_kprobe;
632 } 638 }
633 /* We have reentered the pre_kprobe_handler(), since 639 /* We have reentered the pre_kprobe_handler(), since
@@ -887,7 +893,7 @@ int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs)
887 * fix the return address to our jprobe_inst_return() function 893 * fix the return address to our jprobe_inst_return() function
888 * in the jprobes.S file 894 * in the jprobes.S file
889 */ 895 */
890 regs->b0 = ((struct fnptr *)(jprobe_inst_return))->ip; 896 regs->b0 = ((struct fnptr *)(jprobe_inst_return))->ip;
891 897
892 return 1; 898 return 1;
893} 899}
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c
index bfbd8986153b..663230183254 100644
--- a/arch/ia64/kernel/mca.c
+++ b/arch/ia64/kernel/mca.c
@@ -388,7 +388,7 @@ ia64_log_get(int sal_info_type, u8 **buffer, int irq_safe)
388{ 388{
389 sal_log_record_header_t *log_buffer; 389 sal_log_record_header_t *log_buffer;
390 u64 total_len = 0; 390 u64 total_len = 0;
391 int s; 391 unsigned long s;
392 392
393 IA64_LOG_LOCK(sal_info_type); 393 IA64_LOG_LOCK(sal_info_type);
394 394
diff --git a/arch/ia64/kernel/numa.c b/arch/ia64/kernel/numa.c
index 20340631179f..a78b45f5fe2f 100644
--- a/arch/ia64/kernel/numa.c
+++ b/arch/ia64/kernel/numa.c
@@ -28,6 +28,7 @@ u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
28EXPORT_SYMBOL(cpu_to_node_map); 28EXPORT_SYMBOL(cpu_to_node_map);
29 29
30cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; 30cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
31EXPORT_SYMBOL(node_to_cpu_mask);
31 32
32void __cpuinit map_cpu_to_node(int cpu, int nid) 33void __cpuinit map_cpu_to_node(int cpu, int nid)
33{ 34{
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index ea914cc6812a..51922b98086a 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -8,8 +8,6 @@
8 * 2005-10-07 Keith Owens <kaos@sgi.com> 8 * 2005-10-07 Keith Owens <kaos@sgi.com>
9 * Add notify_die() hooks. 9 * Add notify_die() hooks.
10 */ 10 */
11#define __KERNEL_SYSCALLS__ /* see <asm/unistd.h> */
12
13#include <linux/cpu.h> 11#include <linux/cpu.h>
14#include <linux/pm.h> 12#include <linux/pm.h>
15#include <linux/elf.h> 13#include <linux/elf.h>
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index 16262687a103..62e07f906e05 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -29,8 +29,6 @@
29#include <asm/sections.h> 29#include <asm/sections.h>
30#include <asm/system.h> 30#include <asm/system.h>
31 31
32extern unsigned long wall_jiffies;
33
34volatile int time_keeper_id = 0; /* smp_processor_id() of time-keeper */ 32volatile int time_keeper_id = 0; /* smp_processor_id() of time-keeper */
35 33
36#ifdef CONFIG_IA64_DEBUG_IRQ 34#ifdef CONFIG_IA64_DEBUG_IRQ
diff --git a/arch/ia64/mm/numa.c b/arch/ia64/mm/numa.c
index 64e4c21f311c..7807fc5c0422 100644
--- a/arch/ia64/mm/numa.c
+++ b/arch/ia64/mm/numa.c
@@ -16,6 +16,7 @@
16#include <linux/node.h> 16#include <linux/node.h>
17#include <linux/init.h> 17#include <linux/init.h>
18#include <linux/bootmem.h> 18#include <linux/bootmem.h>
19#include <linux/module.h>
19#include <asm/mmzone.h> 20#include <asm/mmzone.h>
20#include <asm/numa.h> 21#include <asm/numa.h>
21 22
@@ -69,4 +70,21 @@ int early_pfn_to_nid(unsigned long pfn)
69 70
70 return 0; 71 return 0;
71} 72}
73
74#ifdef CONFIG_MEMORY_HOTPLUG
75/*
76 * SRAT information is stored in node_memblk[], then we can use SRAT
77 * information at memory-hot-add if necessary.
78 */
79
80int memory_add_physaddr_to_nid(u64 addr)
81{
82 int nid = paddr_to_nid(addr);
83 if (nid < 0)
84 return 0;
85 return nid;
86}
87
88EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
89#endif
72#endif 90#endif
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
index b632b9c1e3b3..462ea178f49a 100644
--- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c
+++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -423,7 +423,7 @@ static int sn_topology_show(struct seq_file *s, void *d)
423 "coherency_domain %d, " 423 "coherency_domain %d, "
424 "region_size %d\n", 424 "region_size %d\n",
425 425
426 partid, system_utsname.nodename, 426 partid, utsname()->nodename,
427 shubtype ? "shub2" : "shub1", 427 shubtype ? "shub2" : "shub1",
428 (u64)nasid_mask << nasid_shift, nasid_msb, nasid_shift, 428 (u64)nasid_mask << nasid_shift, nasid_msb, nasid_shift,
429 system_size, sharing_size, coher, region_size); 429 system_size, sharing_size, coher, region_size);
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_ate.c b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
index 1f0253bfe0a0..5eb1e1e078b4 100644
--- a/arch/ia64/sn/pci/pcibr/pcibr_ate.c
+++ b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
@@ -160,7 +160,7 @@ void pcibr_ate_free(struct pcibus_info *pcibus_info, int index)
160 160
161 volatile u64 ate; 161 volatile u64 ate;
162 int count; 162 int count;
163 u64 flags; 163 unsigned long flags;
164 164
165 if (pcibr_invalidate_ate) { 165 if (pcibr_invalidate_ate) {
166 /* For debugging purposes, clear the valid bit in the ATE */ 166 /* For debugging purposes, clear the valid bit in the ATE */
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_dma.c b/arch/ia64/sn/pci/pcibr/pcibr_dma.c
index a86c7b945962..1ee977fb6ebb 100644
--- a/arch/ia64/sn/pci/pcibr/pcibr_dma.c
+++ b/arch/ia64/sn/pci/pcibr/pcibr_dma.c
@@ -237,7 +237,7 @@ void sn_dma_flush(u64 addr)
237 int is_tio; 237 int is_tio;
238 int wid_num; 238 int wid_num;
239 int i, j; 239 int i, j;
240 u64 flags; 240 unsigned long flags;
241 u64 itte; 241 u64 itte;
242 struct hubdev_info *hubinfo; 242 struct hubdev_info *hubinfo;
243 struct sn_flush_device_kernel *p; 243 struct sn_flush_device_kernel *p;
diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c
index a9cea32eb824..b567351f3c52 100644
--- a/arch/m32r/kernel/sys_m32r.c
+++ b/arch/m32r/kernel/sys_m32r.c
@@ -25,6 +25,8 @@
25#include <asm/cachectl.h> 25#include <asm/cachectl.h>
26#include <asm/cacheflush.h> 26#include <asm/cacheflush.h>
27#include <asm/ipc.h> 27#include <asm/ipc.h>
28#include <asm/syscall.h>
29#include <asm/unistd.h>
28 30
29/* 31/*
30 * sys_tas() - test-and-set 32 * sys_tas() - test-and-set
@@ -205,7 +207,7 @@ asmlinkage int sys_uname(struct old_utsname * name)
205 if (!name) 207 if (!name)
206 return -EFAULT; 208 return -EFAULT;
207 down_read(&uts_sem); 209 down_read(&uts_sem);
208 err=copy_to_user(name, &system_utsname, sizeof (*name)); 210 err = copy_to_user(name, utsname(), sizeof (*name));
209 up_read(&uts_sem); 211 up_read(&uts_sem);
210 return err?-EFAULT:0; 212 return err?-EFAULT:0;
211} 213}
@@ -223,3 +225,21 @@ asmlinkage int sys_cachectl(char *addr, int nbytes, int op)
223 return -ENOSYS; 225 return -ENOSYS;
224} 226}
225 227
228/*
229 * Do a system call from kernel instead of calling sys_execve so we
230 * end up with proper pt_regs.
231 */
232int kernel_execve(const char *filename, char *const argv[], char *const envp[])
233{
234 register long __scno __asm__ ("r7") = __NR_execve;
235 register long __arg3 __asm__ ("r2") = (long)(envp);
236 register long __arg2 __asm__ ("r1") = (long)(argv);
237 register long __res __asm__ ("r0") = (long)(filename);
238 __asm__ __volatile__ (
239 "trap #" SYSCALL_VECTOR "|| nop"
240 : "=r" (__res)
241 : "r" (__scno), "0" (__res), "r" (__arg2),
242 "r" (__arg3)
243 : "memory");
244 return __res;
245}
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c
index 7a896893cd28..d8af155db984 100644
--- a/arch/m32r/kernel/time.c
+++ b/arch/m32r/kernel/time.c
@@ -38,7 +38,6 @@ extern void send_IPI_allbutself(int, int);
38extern void smp_local_timer_interrupt(struct pt_regs *); 38extern void smp_local_timer_interrupt(struct pt_regs *);
39#endif 39#endif
40 40
41extern unsigned long wall_jiffies;
42#define TICK_SIZE (tick_nsec / 1000) 41#define TICK_SIZE (tick_nsec / 1000)
43 42
44/* 43/*
@@ -108,24 +107,17 @@ void do_gettimeofday(struct timeval *tv)
108 unsigned long max_ntp_tick = tick_usec - tickadj; 107 unsigned long max_ntp_tick = tick_usec - tickadj;
109 108
110 do { 109 do {
111 unsigned long lost;
112
113 seq = read_seqbegin(&xtime_lock); 110 seq = read_seqbegin(&xtime_lock);
114 111
115 usec = do_gettimeoffset(); 112 usec = do_gettimeoffset();
116 lost = jiffies - wall_jiffies;
117 113
118 /* 114 /*
119 * If time_adjust is negative then NTP is slowing the clock 115 * If time_adjust is negative then NTP is slowing the clock
120 * so make sure not to go into next possible interval. 116 * so make sure not to go into next possible interval.
121 * Better to lose some accuracy than have time go backwards.. 117 * Better to lose some accuracy than have time go backwards..
122 */ 118 */
123 if (unlikely(time_adjust < 0)) { 119 if (unlikely(time_adjust < 0))
124 usec = min(usec, max_ntp_tick); 120 usec = min(usec, max_ntp_tick);
125 if (lost)
126 usec += lost * max_ntp_tick;
127 } else if (unlikely(lost))
128 usec += lost * tick_usec;
129 121
130 sec = xtime.tv_sec; 122 sec = xtime.tv_sec;
131 usec += (xtime.tv_nsec / 1000); 123 usec += (xtime.tv_nsec / 1000);
@@ -158,7 +150,6 @@ int do_settimeofday(struct timespec *tv)
158 * made, and then undo it! 150 * made, and then undo it!
159 */ 151 */
160 nsec -= do_gettimeoffset() * NSEC_PER_USEC; 152 nsec -= do_gettimeoffset() * NSEC_PER_USEC;
161 nsec -= (jiffies - wall_jiffies) * TICK_NSEC;
162 153
163 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 154 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
164 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 155 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/m32r/mm/ioremap.c b/arch/m32r/mm/ioremap.c
index a151849a605e..5152c4e6ac80 100644
--- a/arch/m32r/mm/ioremap.c
+++ b/arch/m32r/mm/ioremap.c
@@ -20,92 +20,8 @@
20#include <asm/byteorder.h> 20#include <asm/byteorder.h>
21 21
22#include <linux/vmalloc.h> 22#include <linux/vmalloc.h>
23#include <asm/io.h> 23#include <linux/io.h>
24#include <asm/pgalloc.h> 24#include <asm/pgalloc.h>
25#include <asm/cacheflush.h>
26#include <asm/tlbflush.h>
27
28static inline void
29remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
30 unsigned long phys_addr, unsigned long flags)
31{
32 unsigned long end;
33 unsigned long pfn;
34 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ
35 | _PAGE_WRITE | flags);
36
37 address &= ~PMD_MASK;
38 end = address + size;
39 if (end > PMD_SIZE)
40 end = PMD_SIZE;
41 if (address >= end)
42 BUG();
43 pfn = phys_addr >> PAGE_SHIFT;
44 do {
45 if (!pte_none(*pte)) {
46 printk("remap_area_pte: page already exists\n");
47 BUG();
48 }
49 set_pte(pte, pfn_pte(pfn, pgprot));
50 address += PAGE_SIZE;
51 pfn++;
52 pte++;
53 } while (address && (address < end));
54}
55
56static inline int
57remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size,
58 unsigned long phys_addr, unsigned long flags)
59{
60 unsigned long end;
61
62 address &= ~PGDIR_MASK;
63 end = address + size;
64 if (end > PGDIR_SIZE)
65 end = PGDIR_SIZE;
66 phys_addr -= address;
67 if (address >= end)
68 BUG();
69 do {
70 pte_t * pte = pte_alloc_kernel(pmd, address);
71 if (!pte)
72 return -ENOMEM;
73 remap_area_pte(pte, address, end - address, address + phys_addr, flags);
74 address = (address + PMD_SIZE) & PMD_MASK;
75 pmd++;
76 } while (address && (address < end));
77 return 0;
78}
79
80static int
81remap_area_pages(unsigned long address, unsigned long phys_addr,
82 unsigned long size, unsigned long flags)
83{
84 int error;
85 pgd_t * dir;
86 unsigned long end = address + size;
87
88 phys_addr -= address;
89 dir = pgd_offset(&init_mm, address);
90 flush_cache_all();
91 if (address >= end)
92 BUG();
93 do {
94 pmd_t *pmd;
95 pmd = pmd_alloc(&init_mm, dir, address);
96 error = -ENOMEM;
97 if (!pmd)
98 break;
99 if (remap_area_pmd(pmd, address, end - address,
100 phys_addr + address, flags))
101 break;
102 error = 0;
103 address = (address + PGDIR_SIZE) & PGDIR_MASK;
104 dir++;
105 } while (address && (address < end));
106 flush_tlb_all();
107 return error;
108}
109 25
110/* 26/*
111 * Generic mapping function (not visible outside): 27 * Generic mapping function (not visible outside):
@@ -129,6 +45,7 @@ __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)
129 void __iomem * addr; 45 void __iomem * addr;
130 struct vm_struct * area; 46 struct vm_struct * area;
131 unsigned long offset, last_addr; 47 unsigned long offset, last_addr;
48 pgprot_t pgprot;
132 49
133 /* Don't allow wraparound or zero size */ 50 /* Don't allow wraparound or zero size */
134 last_addr = phys_addr + size - 1; 51 last_addr = phys_addr + size - 1;
@@ -157,6 +74,9 @@ __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)
157 return NULL; 74 return NULL;
158 } 75 }
159 76
77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ
78 | _PAGE_WRITE | flags);
79
160 /* 80 /*
161 * Mappings have to be page-aligned 81 * Mappings have to be page-aligned
162 */ 82 */
@@ -172,7 +92,8 @@ __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)
172 return NULL; 92 return NULL;
173 area->phys_addr = phys_addr; 93 area->phys_addr = phys_addr;
174 addr = (void __iomem *) area->addr; 94 addr = (void __iomem *) area->addr;
175 if (remap_area_pages((unsigned long)addr, phys_addr, size, flags)) { 95 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size,
96 phys_addr, pgprot)) {
176 vunmap((void __force *) addr); 97 vunmap((void __force *) addr);
177 return NULL; 98 return NULL;
178 } 99 }
diff --git a/arch/m68k/kernel/sys_m68k.c b/arch/m68k/kernel/sys_m68k.c
index 143c552d38f3..90238a8c9e14 100644
--- a/arch/m68k/kernel/sys_m68k.c
+++ b/arch/m68k/kernel/sys_m68k.c
@@ -27,6 +27,7 @@
27#include <asm/traps.h> 27#include <asm/traps.h>
28#include <asm/ipc.h> 28#include <asm/ipc.h>
29#include <asm/page.h> 29#include <asm/page.h>
30#include <asm/unistd.h>
30 31
31/* 32/*
32 * sys_pipe() is the normal C calling standard for creating 33 * sys_pipe() is the normal C calling standard for creating
@@ -663,3 +664,18 @@ asmlinkage int sys_getpagesize(void)
663{ 664{
664 return PAGE_SIZE; 665 return PAGE_SIZE;
665} 666}
667
668/*
669 * Do a system call from kernel instead of calling sys_execve so we
670 * end up with proper pt_regs.
671 */
672int kernel_execve(const char *filename, char *const argv[], char *const envp[])
673{
674 register long __res asm ("%d0") = __NR_execve;
675 register long __a asm ("%d1") = (long)(filename);
676 register long __b asm ("%d2") = (long)(argv);
677 register long __c asm ("%d3") = (long)(envp);
678 asm volatile ("trap #0" : "+d" (__res)
679 : "d" (__a), "d" (__b), "d" (__c));
680 return __res;
681}
diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c
index 1072e4946a4a..6cfc984380d9 100644
--- a/arch/m68k/kernel/time.c
+++ b/arch/m68k/kernel/time.c
@@ -96,31 +96,23 @@ void time_init(void)
96void do_gettimeofday(struct timeval *tv) 96void do_gettimeofday(struct timeval *tv)
97{ 97{
98 unsigned long flags; 98 unsigned long flags;
99 extern unsigned long wall_jiffies;
100 unsigned long seq; 99 unsigned long seq;
101 unsigned long usec, sec, lost; 100 unsigned long usec, sec;
102 unsigned long max_ntp_tick = tick_usec - tickadj; 101 unsigned long max_ntp_tick = tick_usec - tickadj;
103 102
104 do { 103 do {
105 seq = read_seqbegin_irqsave(&xtime_lock, flags); 104 seq = read_seqbegin_irqsave(&xtime_lock, flags);
106 105
107 usec = mach_gettimeoffset(); 106 usec = mach_gettimeoffset();
108 lost = jiffies - wall_jiffies;
109 107
110 /* 108 /*
111 * If time_adjust is negative then NTP is slowing the clock 109 * If time_adjust is negative then NTP is slowing the clock
112 * so make sure not to go into next possible interval. 110 * so make sure not to go into next possible interval.
113 * Better to lose some accuracy than have time go backwards.. 111 * Better to lose some accuracy than have time go backwards..
114 */ 112 */
115 if (unlikely(time_adjust < 0)) { 113 if (unlikely(time_adjust < 0))
116 usec = min(usec, max_ntp_tick); 114 usec = min(usec, max_ntp_tick);
117 115
118 if (lost)
119 usec += lost * max_ntp_tick;
120 }
121 else if (unlikely(lost))
122 usec += lost * tick_usec;
123
124 sec = xtime.tv_sec; 116 sec = xtime.tv_sec;
125 usec += xtime.tv_nsec/1000; 117 usec += xtime.tv_nsec/1000;
126 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 118 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -141,7 +133,6 @@ int do_settimeofday(struct timespec *tv)
141{ 133{
142 time_t wtm_sec, sec = tv->tv_sec; 134 time_t wtm_sec, sec = tv->tv_sec;
143 long wtm_nsec, nsec = tv->tv_nsec; 135 long wtm_nsec, nsec = tv->tv_nsec;
144 extern unsigned long wall_jiffies;
145 136
146 if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC) 137 if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC)
147 return -EINVAL; 138 return -EINVAL;
@@ -153,8 +144,7 @@ int do_settimeofday(struct timespec *tv)
153 * Discover what correction gettimeofday 144 * Discover what correction gettimeofday
154 * would have done, and then undo it! 145 * would have done, and then undo it!
155 */ 146 */
156 nsec -= 1000 * (mach_gettimeoffset() + 147 nsec -= 1000 * mach_gettimeoffset();
157 (jiffies - wall_jiffies) * (1000000 / HZ));
158 148
159 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 149 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
160 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 150 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/m68knommu/kernel/sys_m68k.c b/arch/m68knommu/kernel/sys_m68k.c
index d87e1e0a1336..c3494b8447d1 100644
--- a/arch/m68knommu/kernel/sys_m68k.c
+++ b/arch/m68knommu/kernel/sys_m68k.c
@@ -26,6 +26,7 @@
26#include <asm/traps.h> 26#include <asm/traps.h>
27#include <asm/ipc.h> 27#include <asm/ipc.h>
28#include <asm/cacheflush.h> 28#include <asm/cacheflush.h>
29#include <asm/unistd.h>
29 30
30/* 31/*
31 * sys_pipe() is the normal C calling standard for creating 32 * sys_pipe() is the normal C calling standard for creating
@@ -206,3 +207,17 @@ asmlinkage int sys_getpagesize(void)
206 return PAGE_SIZE; 207 return PAGE_SIZE;
207} 208}
208 209
210/*
211 * Do a system call from kernel instead of calling sys_execve so we
212 * end up with proper pt_regs.
213 */
214int kernel_execve(const char *filename, char *const argv[], char *const envp[])
215{
216 register long __res asm ("%d0") = __NR_execve;
217 register long __a asm ("%d1") = (long)(filename);
218 register long __b asm ("%d2") = (long)(argv);
219 register long __c asm ("%d3") = (long)(envp);
220 asm volatile ("trap #0" : "+d" (__res)
221 : "d" (__a), "d" (__b), "d" (__c));
222 return __res;
223}
diff --git a/arch/m68knommu/kernel/time.c b/arch/m68knommu/kernel/time.c
index db1e1ce0a349..c5667bdddd5e 100644
--- a/arch/m68knommu/kernel/time.c
+++ b/arch/m68knommu/kernel/time.c
@@ -26,8 +26,6 @@
26 26
27#define TICK_SIZE (tick_nsec / 1000) 27#define TICK_SIZE (tick_nsec / 1000)
28 28
29extern unsigned long wall_jiffies;
30
31 29
32static inline int set_rtc_mmss(unsigned long nowtime) 30static inline int set_rtc_mmss(unsigned long nowtime)
33{ 31{
@@ -124,15 +122,12 @@ void time_init(void)
124void do_gettimeofday(struct timeval *tv) 122void do_gettimeofday(struct timeval *tv)
125{ 123{
126 unsigned long flags; 124 unsigned long flags;
127 unsigned long lost, seq; 125 unsigned long seq;
128 unsigned long usec, sec; 126 unsigned long usec, sec;
129 127
130 do { 128 do {
131 seq = read_seqbegin_irqsave(&xtime_lock, flags); 129 seq = read_seqbegin_irqsave(&xtime_lock, flags);
132 usec = mach_gettimeoffset ? mach_gettimeoffset() : 0; 130 usec = mach_gettimeoffset ? mach_gettimeoffset() : 0;
133 lost = jiffies - wall_jiffies;
134 if (lost)
135 usec += lost * (1000000 / HZ);
136 sec = xtime.tv_sec; 131 sec = xtime.tv_sec;
137 usec += (xtime.tv_nsec / 1000); 132 usec += (xtime.tv_nsec / 1000);
138 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 133 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 30750c54bdf5..87cee341eb54 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -537,6 +537,7 @@ config QEMU
537 select SYS_HAS_CPU_MIPS32_R1 537 select SYS_HAS_CPU_MIPS32_R1
538 select SYS_SUPPORTS_32BIT_KERNEL 538 select SYS_SUPPORTS_32BIT_KERNEL
539 select SYS_SUPPORTS_BIG_ENDIAN 539 select SYS_SUPPORTS_BIG_ENDIAN
540 select SYS_SUPPORTS_LITTLE_ENDIAN
540 select ARCH_SPARSEMEM_ENABLE 541 select ARCH_SPARSEMEM_ENABLE
541 help 542 help
542 Qemu is a software emulator which among other architectures also 543 Qemu is a software emulator which among other architectures also
@@ -1841,6 +1842,14 @@ config RWSEM_GENERIC_SPINLOCK
1841 bool 1842 bool
1842 default y 1843 default y
1843 1844
1845config LOCKDEP_SUPPORT
1846 bool
1847 default y
1848
1849config STACKTRACE_SUPPORT
1850 bool
1851 default y
1852
1844source "init/Kconfig" 1853source "init/Kconfig"
1845 1854
1846menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 1855menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
diff --git a/arch/mips/basler/excite/excite_flashtest.c b/arch/mips/basler/excite/excite_flashtest.c
deleted file mode 100644
index f0024a8e3294..000000000000
--- a/arch/mips/basler/excite/excite_flashtest.c
+++ /dev/null
@@ -1,294 +0,0 @@
1/*
2* Copyright (C) 2005 by Basler Vision Technologies AG
3* Author: Thies Moeller <thies.moeller@baslerweb.com>
4*
5* This program is free software; you can redistribute it and/or modify
6* it under the terms of the GNU General Public License as published by
7* the Free Software Foundation; either version 2 of the License, or
8* (at your option) any later version.
9*
10* This program is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13* GNU General Public License for more details.
14*
15* You should have received a copy of the GNU General Public License
16* along with this program; if not, write to the Free Software
17* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19
20#include <linux/module.h>
21#include <linux/types.h>
22#include <linux/init.h>
23#include <linux/kernel.h>
24#include <linux/string.h>
25#include <linux/ioport.h>
26#include <linux/device.h>
27#include <linux/delay.h>
28#include <linux/err.h>
29#include <linux/kernel.h>
30
31#include <excite.h>
32
33#include <asm/io.h>
34
35#include <linux/mtd/mtd.h>
36#include <linux/mtd/nand.h>
37#include <linux/mtd/nand_ecc.h>
38#include <linux/mtd/partitions.h>
39#include <asm/rm9k-ocd.h> // for ocd_write
40#include <linux/workqueue.h> // for queue
41
42#include "excite_nandflash.h"
43#include "nandflash.h"
44
45#define PFX "excite flashtest: "
46typedef void __iomem *io_reg_t;
47
48#define io_readb(__a__) __raw_readb((__a__))
49#define io_writeb(__v__, __a__) __raw_writeb((__v__), (__a__))
50
51
52
53static inline const struct resource *excite_nandflash_get_resource(
54 struct platform_device *d, unsigned long flags, const char *basename)
55{
56 const char fmt[] = "%s_%u";
57 char buf[80];
58
59 if (unlikely(snprintf(buf, sizeof buf, fmt, basename, d->id) >= sizeof buf))
60 return NULL;
61
62 return platform_get_resource_byname(d, flags, buf);
63}
64
65static inline io_reg_t
66excite_nandflash_map_regs(struct platform_device *d, const char *basename)
67{
68 void *result = NULL;
69 const struct resource *const r =
70 excite_nandflash_get_resource(d, IORESOURCE_MEM, basename);
71 if (r)
72 result = ioremap_nocache(r->start, r->end + 1 - r->start);
73 return result;
74}
75
76/* controller and mtd information */
77
78struct excite_nandflash_drvdata {
79 struct mtd_info board_mtd;
80 struct nand_chip board_chip;
81 io_reg_t regs;
82};
83
84
85/* command and control functions */
86static void excite_nandflash_hwcontrol(struct mtd_info *mtd, int cmd)
87{
88 struct nand_chip *this = mtd->priv;
89 io_reg_t regs = container_of(mtd,struct excite_nandflash_drvdata,board_mtd)->regs;
90
91 switch (cmd) {
92 /* Select the command latch */
93 case NAND_CTL_SETCLE: this->IO_ADDR_W = regs + EXCITE_NANDFLASH_CMD;
94 break;
95 /* Deselect the command latch */
96 case NAND_CTL_CLRCLE: this->IO_ADDR_W = regs + EXCITE_NANDFLASH_DATA;
97 break;
98 /* Select the address latch */
99 case NAND_CTL_SETALE: this->IO_ADDR_W = regs + EXCITE_NANDFLASH_ADDR;
100 break;
101 /* Deselect the address latch */
102 case NAND_CTL_CLRALE: this->IO_ADDR_W = regs + EXCITE_NANDFLASH_DATA;
103 break;
104 /* Select the chip -- not used */
105 case NAND_CTL_SETNCE:
106 break;
107 /* Deselect the chip -- not used */
108 case NAND_CTL_CLRNCE:
109 break;
110 }
111
112 this->IO_ADDR_R = this->IO_ADDR_W;
113}
114
115/* excite_nandflash_devready()
116 *
117 * returns 0 if the nand is busy, 1 if it is ready
118 */
119static int excite_nandflash_devready(struct mtd_info *mtd)
120{
121 struct excite_nandflash_drvdata *drvdata =
122 container_of(mtd, struct excite_nandflash_drvdata, board_mtd);
123
124 return io_readb(drvdata->regs + EXCITE_NANDFLASH_STATUS);
125}
126
127/* device management functions */
128
129/* excite_nandflash_remove
130 *
131 * called by device layer to remove the driver
132 * the binding to the mtd and all allocated
133 * resources are released
134 */
135static int excite_nandflash_remove(struct device *dev)
136{
137 struct excite_nandflash_drvdata *this = dev_get_drvdata(dev);
138
139 pr_info(PFX "remove");
140
141 dev_set_drvdata(dev, NULL);
142
143 if (this == NULL) {
144 pr_debug(PFX "call remove without private data!!");
145 return 0;
146 }
147
148
149 /* free the common resources */
150 if (this->regs != NULL) {
151 iounmap(this->regs);
152 this->regs = NULL;
153 }
154
155 kfree(this);
156
157 return 0;
158}
159
160static int elapsed;
161
162void my_workqueue_handler(void *arg)
163{
164 elapsed = 1;
165}
166
167DECLARE_WORK(sigElapsed, my_workqueue_handler, 0);
168
169
170/* excite_nandflash_probe
171 *
172 * called by device layer when it finds a device matching
173 * one our driver can handled. This code checks to see if
174 * it can allocate all necessary resources then calls the
175 * nand layer to look for devices
176*/
177static int excite_nandflash_probe(struct device *dev)
178{
179 struct platform_device *pdev = to_platform_device(dev);
180
181 struct excite_nandflash_drvdata *drvdata; /* private driver data */
182 struct nand_chip *board_chip; /* private flash chip data */
183 struct mtd_info *board_mtd; /* mtd info for this board */
184
185 int err = 0;
186 int count = 0;
187 struct timeval tv,endtv;
188 unsigned int dt;
189
190 pr_info(PFX "probe dev: (%p)\n", dev);
191
192 pr_info(PFX "adjust LB timing\n");
193 ocd_writel(0x00000330, LDP2);
194
195 drvdata = kmalloc(sizeof(*drvdata), GFP_KERNEL);
196 if (unlikely(!drvdata)) {
197 printk(KERN_ERR PFX "no memory for drvdata\n");
198 err = -ENOMEM;
199 goto mem_error;
200 }
201
202 /* Initialize structures */
203 memset(drvdata, 0, sizeof(*drvdata));
204
205 /* bind private data into driver */
206 dev_set_drvdata(dev, drvdata);
207
208 /* allocate and map the resource */
209 drvdata->regs =
210 excite_nandflash_map_regs(pdev, EXCITE_NANDFLASH_RESOURCE_REGS);
211
212 if (unlikely(!drvdata->regs)) {
213 printk(KERN_ERR PFX "cannot reserve register region\n");
214 err = -ENXIO;
215 goto io_error;
216 }
217
218 /* initialise our chip */
219 board_chip = &drvdata->board_chip;
220
221 board_chip->IO_ADDR_R = drvdata->regs + EXCITE_NANDFLASH_DATA;
222 board_chip->IO_ADDR_W = drvdata->regs + EXCITE_NANDFLASH_DATA;
223
224 board_chip->hwcontrol = excite_nandflash_hwcontrol;
225 board_chip->dev_ready = excite_nandflash_devready;
226
227 board_chip->chip_delay = 25;
228 #if 0
229 /* TODO: speedup the initial scan */
230 board_chip->options = NAND_USE_FLASH_BBT;
231 #endif
232 board_chip->eccmode = NAND_ECC_SOFT;
233
234 /* link chip to mtd */
235 board_mtd = &drvdata->board_mtd;
236 board_mtd->priv = board_chip;
237
238
239 pr_info(PFX "FlashTest\n");
240 elapsed = 0;
241/* schedule_delayed_work(&sigElapsed, 1*HZ);
242 while (!elapsed) {
243 io_readb(drvdata->regs + EXCITE_NANDFLASH_STATUS);
244 count++;
245 }
246 pr_info(PFX "reads in 1 sec --> %d\n",count);
247*/
248 do_gettimeofday(&tv);
249 for (count = 0 ; count < 1000000; count ++) {
250 io_readb(drvdata->regs + EXCITE_NANDFLASH_STATUS);
251 }
252 do_gettimeofday(&endtv);
253 dt = (endtv.tv_sec - tv.tv_sec) * 1000000 + endtv.tv_usec - tv.tv_usec;
254 pr_info(PFX "%8d us timeval\n",dt);
255 pr_info(PFX "EndFlashTest\n");
256
257/* return with error to unload everything
258*/
259io_error:
260 iounmap(drvdata->regs);
261
262mem_error:
263 kfree(drvdata);
264
265 if (err == 0)
266 err = -EINVAL;
267 return err;
268}
269
270static struct device_driver excite_nandflash_driver = {
271 .name = "excite_nand",
272 .bus = &platform_bus_type,
273 .probe = excite_nandflash_probe,
274 .remove = excite_nandflash_remove,
275};
276
277static int __init excite_nandflash_init(void)
278{
279 pr_info(PFX "register Driver (Rev: $Revision:$)\n");
280 return driver_register(&excite_nandflash_driver);
281}
282
283static void __exit excite_nandflash_exit(void)
284{
285 driver_unregister(&excite_nandflash_driver);
286 pr_info(PFX "Driver unregistered");
287}
288
289module_init(excite_nandflash_init);
290module_exit(excite_nandflash_exit);
291
292MODULE_AUTHOR("Thies Moeller <thies.moeller@baslerweb.com>");
293MODULE_DESCRIPTION("Basler eXcite NAND-Flash driver");
294MODULE_LICENSE("GPL");
diff --git a/arch/mips/configs/atlas_defconfig b/arch/mips/configs/atlas_defconfig
index d3705284de39..35931bedc3df 100644
--- a/arch/mips/configs/atlas_defconfig
+++ b/arch/mips/configs/atlas_defconfig
@@ -161,6 +161,8 @@ CONFIG_HZ=100
161CONFIG_PREEMPT_NONE=y 161CONFIG_PREEMPT_NONE=y
162# CONFIG_PREEMPT_VOLUNTARY is not set 162# CONFIG_PREEMPT_VOLUNTARY is not set
163# CONFIG_PREEMPT is not set 163# CONFIG_PREEMPT is not set
164CONFIG_LOCKDEP_SUPPORT=y
165CONFIG_STACKTRACE_SUPPORT=y
164CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 166CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
165 167
166# 168#
@@ -1304,6 +1306,7 @@ CONFIG_NLS_UTF8=m
1304# 1306#
1305# Kernel hacking 1307# Kernel hacking
1306# 1308#
1309CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1307# CONFIG_PRINTK_TIME is not set 1310# CONFIG_PRINTK_TIME is not set
1308# CONFIG_MAGIC_SYSRQ is not set 1311# CONFIG_MAGIC_SYSRQ is not set
1309# CONFIG_UNUSED_SYMBOLS is not set 1312# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig
index e12a475dcbf4..c6a015940b41 100644
--- a/arch/mips/configs/bigsur_defconfig
+++ b/arch/mips/configs/bigsur_defconfig
@@ -167,6 +167,8 @@ CONFIG_PREEMPT_NONE=y
167# CONFIG_PREEMPT_VOLUNTARY is not set 167# CONFIG_PREEMPT_VOLUNTARY is not set
168# CONFIG_PREEMPT is not set 168# CONFIG_PREEMPT is not set
169# CONFIG_PREEMPT_BKL is not set 169# CONFIG_PREEMPT_BKL is not set
170CONFIG_LOCKDEP_SUPPORT=y
171CONFIG_STACKTRACE_SUPPORT=y
170CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 172CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
171 173
172# 174#
@@ -904,6 +906,7 @@ CONFIG_MSDOS_PARTITION=y
904# 906#
905# Kernel hacking 907# Kernel hacking
906# 908#
909CONFIG_TRACE_IRQFLAGS_SUPPORT=y
907CONFIG_PRINTK_TIME=y 910CONFIG_PRINTK_TIME=y
908CONFIG_MAGIC_SYSRQ=y 911CONFIG_MAGIC_SYSRQ=y
909# CONFIG_UNUSED_SYMBOLS is not set 912# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/capcella_defconfig b/arch/mips/configs/capcella_defconfig
index bfade9abb767..e5358121d2da 100644
--- a/arch/mips/configs/capcella_defconfig
+++ b/arch/mips/configs/capcella_defconfig
@@ -149,6 +149,8 @@ CONFIG_HZ=1000
149CONFIG_PREEMPT_NONE=y 149CONFIG_PREEMPT_NONE=y
150# CONFIG_PREEMPT_VOLUNTARY is not set 150# CONFIG_PREEMPT_VOLUNTARY is not set
151# CONFIG_PREEMPT is not set 151# CONFIG_PREEMPT is not set
152CONFIG_LOCKDEP_SUPPORT=y
153CONFIG_STACKTRACE_SUPPORT=y
152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
153 155
154# 156#
@@ -891,6 +893,7 @@ CONFIG_MSDOS_PARTITION=y
891# 893#
892# Kernel hacking 894# Kernel hacking
893# 895#
896CONFIG_TRACE_IRQFLAGS_SUPPORT=y
894# CONFIG_PRINTK_TIME is not set 897# CONFIG_PRINTK_TIME is not set
895# CONFIG_MAGIC_SYSRQ is not set 898# CONFIG_MAGIC_SYSRQ is not set
896# CONFIG_UNUSED_SYMBOLS is not set 899# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/cobalt_defconfig b/arch/mips/configs/cobalt_defconfig
index 4baf2ff1128a..adf1e8c98c65 100644
--- a/arch/mips/configs/cobalt_defconfig
+++ b/arch/mips/configs/cobalt_defconfig
@@ -146,6 +146,8 @@ CONFIG_HZ=1000
146CONFIG_PREEMPT_NONE=y 146CONFIG_PREEMPT_NONE=y
147# CONFIG_PREEMPT_VOLUNTARY is not set 147# CONFIG_PREEMPT_VOLUNTARY is not set
148# CONFIG_PREEMPT is not set 148# CONFIG_PREEMPT is not set
149CONFIG_LOCKDEP_SUPPORT=y
150CONFIG_STACKTRACE_SUPPORT=y
149CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
150 152
151# 153#
@@ -889,6 +891,7 @@ CONFIG_MSDOS_PARTITION=y
889# 891#
890# Kernel hacking 892# Kernel hacking
891# 893#
894CONFIG_TRACE_IRQFLAGS_SUPPORT=y
892# CONFIG_PRINTK_TIME is not set 895# CONFIG_PRINTK_TIME is not set
893# CONFIG_MAGIC_SYSRQ is not set 896# CONFIG_MAGIC_SYSRQ is not set
894# CONFIG_UNUSED_SYMBOLS is not set 897# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/db1000_defconfig b/arch/mips/configs/db1000_defconfig
index 93cca1585bc3..4fd29ffdfb8d 100644
--- a/arch/mips/configs/db1000_defconfig
+++ b/arch/mips/configs/db1000_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -1006,6 +1008,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1006# 1008#
1007# Kernel hacking 1009# Kernel hacking
1008# 1010#
1011CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1009# CONFIG_PRINTK_TIME is not set 1012# CONFIG_PRINTK_TIME is not set
1010# CONFIG_MAGIC_SYSRQ is not set 1013# CONFIG_MAGIC_SYSRQ is not set
1011# CONFIG_UNUSED_SYMBOLS is not set 1014# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/db1100_defconfig b/arch/mips/configs/db1100_defconfig
index ffd99252a837..025b960ba990 100644
--- a/arch/mips/configs/db1100_defconfig
+++ b/arch/mips/configs/db1100_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -1006,6 +1008,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1006# 1008#
1007# Kernel hacking 1009# Kernel hacking
1008# 1010#
1011CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1009# CONFIG_PRINTK_TIME is not set 1012# CONFIG_PRINTK_TIME is not set
1010# CONFIG_MAGIC_SYSRQ is not set 1013# CONFIG_MAGIC_SYSRQ is not set
1011# CONFIG_UNUSED_SYMBOLS is not set 1014# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/db1200_defconfig b/arch/mips/configs/db1200_defconfig
index 63eac5e89b9c..80c9dd98f897 100644
--- a/arch/mips/configs/db1200_defconfig
+++ b/arch/mips/configs/db1200_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -1087,6 +1089,7 @@ CONFIG_NLS_UTF8=m
1087# 1089#
1088# Kernel hacking 1090# Kernel hacking
1089# 1091#
1092CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1090# CONFIG_PRINTK_TIME is not set 1093# CONFIG_PRINTK_TIME is not set
1091# CONFIG_MAGIC_SYSRQ is not set 1094# CONFIG_MAGIC_SYSRQ is not set
1092# CONFIG_UNUSED_SYMBOLS is not set 1095# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/db1500_defconfig b/arch/mips/configs/db1500_defconfig
index 25a095f7dc4e..6caa90b0e176 100644
--- a/arch/mips/configs/db1500_defconfig
+++ b/arch/mips/configs/db1500_defconfig
@@ -149,6 +149,8 @@ CONFIG_HZ=1000
149CONFIG_PREEMPT_NONE=y 149CONFIG_PREEMPT_NONE=y
150# CONFIG_PREEMPT_VOLUNTARY is not set 150# CONFIG_PREEMPT_VOLUNTARY is not set
151# CONFIG_PREEMPT is not set 151# CONFIG_PREEMPT is not set
152CONFIG_LOCKDEP_SUPPORT=y
153CONFIG_STACKTRACE_SUPPORT=y
152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
153 155
154# 156#
@@ -1290,6 +1292,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1290# 1292#
1291# Kernel hacking 1293# Kernel hacking
1292# 1294#
1295CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1293# CONFIG_PRINTK_TIME is not set 1296# CONFIG_PRINTK_TIME is not set
1294# CONFIG_MAGIC_SYSRQ is not set 1297# CONFIG_MAGIC_SYSRQ is not set
1295# CONFIG_UNUSED_SYMBOLS is not set 1298# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/db1550_defconfig b/arch/mips/configs/db1550_defconfig
index dda469c842b3..c6cae86c6ab7 100644
--- a/arch/mips/configs/db1550_defconfig
+++ b/arch/mips/configs/db1550_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
@@ -1111,6 +1113,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1111# 1113#
1112# Kernel hacking 1114# Kernel hacking
1113# 1115#
1116CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1114# CONFIG_PRINTK_TIME is not set 1117# CONFIG_PRINTK_TIME is not set
1115# CONFIG_MAGIC_SYSRQ is not set 1118# CONFIG_MAGIC_SYSRQ is not set
1116# CONFIG_UNUSED_SYMBOLS is not set 1119# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ddb5477_defconfig b/arch/mips/configs/ddb5477_defconfig
index fcd3dd19bc74..72f24001c99e 100644
--- a/arch/mips/configs/ddb5477_defconfig
+++ b/arch/mips/configs/ddb5477_defconfig
@@ -146,6 +146,8 @@ CONFIG_HZ=1000
146CONFIG_PREEMPT_NONE=y 146CONFIG_PREEMPT_NONE=y
147# CONFIG_PREEMPT_VOLUNTARY is not set 147# CONFIG_PREEMPT_VOLUNTARY is not set
148# CONFIG_PREEMPT is not set 148# CONFIG_PREEMPT is not set
149CONFIG_LOCKDEP_SUPPORT=y
150CONFIG_STACKTRACE_SUPPORT=y
149CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
150 152
151# 153#
@@ -852,6 +854,7 @@ CONFIG_MSDOS_PARTITION=y
852# 854#
853# Kernel hacking 855# Kernel hacking
854# 856#
857CONFIG_TRACE_IRQFLAGS_SUPPORT=y
855# CONFIG_PRINTK_TIME is not set 858# CONFIG_PRINTK_TIME is not set
856# CONFIG_MAGIC_SYSRQ is not set 859# CONFIG_MAGIC_SYSRQ is not set
857# CONFIG_UNUSED_SYMBOLS is not set 860# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/decstation_defconfig b/arch/mips/configs/decstation_defconfig
index 8683e0df12e0..be901df7fefa 100644
--- a/arch/mips/configs/decstation_defconfig
+++ b/arch/mips/configs/decstation_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=128
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -828,6 +830,7 @@ CONFIG_ULTRIX_PARTITION=y
828# 830#
829# Kernel hacking 831# Kernel hacking
830# 832#
833CONFIG_TRACE_IRQFLAGS_SUPPORT=y
831# CONFIG_PRINTK_TIME is not set 834# CONFIG_PRINTK_TIME is not set
832CONFIG_MAGIC_SYSRQ=y 835CONFIG_MAGIC_SYSRQ=y
833# CONFIG_UNUSED_SYMBOLS is not set 836# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/e55_defconfig b/arch/mips/configs/e55_defconfig
index 4ace61c95778..6133c28beb8c 100644
--- a/arch/mips/configs/e55_defconfig
+++ b/arch/mips/configs/e55_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
diff --git a/arch/mips/configs/emma2rh_defconfig b/arch/mips/configs/emma2rh_defconfig
index 5847c916c130..a484b7d396fc 100644
--- a/arch/mips/configs/emma2rh_defconfig
+++ b/arch/mips/configs/emma2rh_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147# CONFIG_PREEMPT_VOLUNTARY is not set 147# CONFIG_PREEMPT_VOLUNTARY is not set
148CONFIG_PREEMPT=y 148CONFIG_PREEMPT=y
149CONFIG_PREEMPT_BKL=y 149CONFIG_PREEMPT_BKL=y
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -1180,6 +1182,7 @@ CONFIG_NLS_UTF8=m
1180# 1182#
1181# Kernel hacking 1183# Kernel hacking
1182# 1184#
1185CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1183# CONFIG_PRINTK_TIME is not set 1186# CONFIG_PRINTK_TIME is not set
1184# CONFIG_MAGIC_SYSRQ is not set 1187# CONFIG_MAGIC_SYSRQ is not set
1185# CONFIG_UNUSED_SYMBOLS is not set 1188# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ev64120_defconfig b/arch/mips/configs/ev64120_defconfig
index bc4c4f125c48..21bfcdebf8f5 100644
--- a/arch/mips/configs/ev64120_defconfig
+++ b/arch/mips/configs/ev64120_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
@@ -842,6 +844,7 @@ CONFIG_MSDOS_PARTITION=y
842# 844#
843# Kernel hacking 845# Kernel hacking
844# 846#
847CONFIG_TRACE_IRQFLAGS_SUPPORT=y
845# CONFIG_PRINTK_TIME is not set 848# CONFIG_PRINTK_TIME is not set
846# CONFIG_MAGIC_SYSRQ is not set 849# CONFIG_MAGIC_SYSRQ is not set
847# CONFIG_UNUSED_SYMBOLS is not set 850# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/excite_defconfig b/arch/mips/configs/excite_defconfig
index eb87cbbfd037..1a5b06cfb4d6 100644
--- a/arch/mips/configs/excite_defconfig
+++ b/arch/mips/configs/excite_defconfig
@@ -149,6 +149,8 @@ CONFIG_HZ=1000
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150CONFIG_PREEMPT=y 150CONFIG_PREEMPT=y
151CONFIG_PREEMPT_BKL=y 151CONFIG_PREEMPT_BKL=y
152CONFIG_LOCKDEP_SUPPORT=y
153CONFIG_STACKTRACE_SUPPORT=y
152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
153 155
154# 156#
@@ -1184,6 +1186,7 @@ CONFIG_NLS_ISO8859_1=m
1184# 1186#
1185# Kernel hacking 1187# Kernel hacking
1186# 1188#
1189CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1187# CONFIG_PRINTK_TIME is not set 1190# CONFIG_PRINTK_TIME is not set
1188# CONFIG_MAGIC_SYSRQ is not set 1191# CONFIG_MAGIC_SYSRQ is not set
1189# CONFIG_UNUSED_SYMBOLS is not set 1192# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig
index cc9b24eda9e8..21d53e0c9ee8 100644
--- a/arch/mips/configs/ip22_defconfig
+++ b/arch/mips/configs/ip22_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153# CONFIG_PREEMPT_NONE is not set 153# CONFIG_PREEMPT_NONE is not set
154CONFIG_PREEMPT_VOLUNTARY=y 154CONFIG_PREEMPT_VOLUNTARY=y
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -1147,6 +1149,7 @@ CONFIG_NLS_UTF8=m
1147# 1149#
1148# Kernel hacking 1150# Kernel hacking
1149# 1151#
1152CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1150# CONFIG_PRINTK_TIME is not set 1153# CONFIG_PRINTK_TIME is not set
1151# CONFIG_MAGIC_SYSRQ is not set 1154# CONFIG_MAGIC_SYSRQ is not set
1152# CONFIG_UNUSED_SYMBOLS is not set 1155# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig
index 50092ba8aa71..e3e94c7e5ee1 100644
--- a/arch/mips/configs/ip27_defconfig
+++ b/arch/mips/configs/ip27_defconfig
@@ -162,6 +162,8 @@ CONFIG_PREEMPT_NONE=y
162# CONFIG_PREEMPT is not set 162# CONFIG_PREEMPT is not set
163CONFIG_PREEMPT_BKL=y 163CONFIG_PREEMPT_BKL=y
164# CONFIG_MIPS_INSANE_LARGE is not set 164# CONFIG_MIPS_INSANE_LARGE is not set
165CONFIG_LOCKDEP_SUPPORT=y
166CONFIG_STACKTRACE_SUPPORT=y
165CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 167CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
166 168
167# 169#
@@ -980,6 +982,7 @@ CONFIG_SGI_PARTITION=y
980# 982#
981# Kernel hacking 983# Kernel hacking
982# 984#
985CONFIG_TRACE_IRQFLAGS_SUPPORT=y
983# CONFIG_PRINTK_TIME is not set 986# CONFIG_PRINTK_TIME is not set
984# CONFIG_MAGIC_SYSRQ is not set 987# CONFIG_MAGIC_SYSRQ is not set
985# CONFIG_UNUSED_SYMBOLS is not set 988# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ip32_defconfig b/arch/mips/configs/ip32_defconfig
index dec2ba6ba03f..b4ab2bea9723 100644
--- a/arch/mips/configs/ip32_defconfig
+++ b/arch/mips/configs/ip32_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153# CONFIG_PREEMPT_NONE is not set 153# CONFIG_PREEMPT_NONE is not set
154CONFIG_PREEMPT_VOLUNTARY=y 154CONFIG_PREEMPT_VOLUNTARY=y
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -922,6 +924,7 @@ CONFIG_SGI_PARTITION=y
922# 924#
923# Kernel hacking 925# Kernel hacking
924# 926#
927CONFIG_TRACE_IRQFLAGS_SUPPORT=y
925# CONFIG_PRINTK_TIME is not set 928# CONFIG_PRINTK_TIME is not set
926# CONFIG_MAGIC_SYSRQ is not set 929# CONFIG_MAGIC_SYSRQ is not set
927# CONFIG_UNUSED_SYMBOLS is not set 930# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/it8172_defconfig b/arch/mips/configs/it8172_defconfig
index 37f9dd7187b1..18d20fb7d5f0 100644
--- a/arch/mips/configs/it8172_defconfig
+++ b/arch/mips/configs/it8172_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
@@ -900,6 +902,7 @@ CONFIG_MSDOS_PARTITION=y
900# 902#
901# Kernel hacking 903# Kernel hacking
902# 904#
905CONFIG_TRACE_IRQFLAGS_SUPPORT=y
903# CONFIG_PRINTK_TIME is not set 906# CONFIG_PRINTK_TIME is not set
904# CONFIG_MAGIC_SYSRQ is not set 907# CONFIG_MAGIC_SYSRQ is not set
905# CONFIG_UNUSED_SYMBOLS is not set 908# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ivr_defconfig b/arch/mips/configs/ivr_defconfig
index 18874a4c24fe..99831d0bf76b 100644
--- a/arch/mips/configs/ivr_defconfig
+++ b/arch/mips/configs/ivr_defconfig
@@ -144,6 +144,8 @@ CONFIG_HZ=1000
144CONFIG_PREEMPT_NONE=y 144CONFIG_PREEMPT_NONE=y
145# CONFIG_PREEMPT_VOLUNTARY is not set 145# CONFIG_PREEMPT_VOLUNTARY is not set
146# CONFIG_PREEMPT is not set 146# CONFIG_PREEMPT is not set
147CONFIG_LOCKDEP_SUPPORT=y
148CONFIG_STACKTRACE_SUPPORT=y
147CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 149CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
148 150
149# 151#
@@ -856,6 +858,7 @@ CONFIG_MSDOS_PARTITION=y
856# 858#
857# Kernel hacking 859# Kernel hacking
858# 860#
861CONFIG_TRACE_IRQFLAGS_SUPPORT=y
859# CONFIG_PRINTK_TIME is not set 862# CONFIG_PRINTK_TIME is not set
860# CONFIG_MAGIC_SYSRQ is not set 863# CONFIG_MAGIC_SYSRQ is not set
861# CONFIG_UNUSED_SYMBOLS is not set 864# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/jaguar-atx_defconfig b/arch/mips/configs/jaguar-atx_defconfig
index 9f1e3048d623..9d4d17ace123 100644
--- a/arch/mips/configs/jaguar-atx_defconfig
+++ b/arch/mips/configs/jaguar-atx_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153CONFIG_PREEMPT_NONE=y 153CONFIG_PREEMPT_NONE=y
154# CONFIG_PREEMPT_VOLUNTARY is not set 154# CONFIG_PREEMPT_VOLUNTARY is not set
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -775,6 +777,7 @@ CONFIG_MSDOS_PARTITION=y
775# 777#
776# Kernel hacking 778# Kernel hacking
777# 779#
780CONFIG_TRACE_IRQFLAGS_SUPPORT=y
778# CONFIG_PRINTK_TIME is not set 781# CONFIG_PRINTK_TIME is not set
779# CONFIG_MAGIC_SYSRQ is not set 782# CONFIG_MAGIC_SYSRQ is not set
780# CONFIG_UNUSED_SYMBOLS is not set 783# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/jmr3927_defconfig b/arch/mips/configs/jmr3927_defconfig
index fded3f73815f..d03746667a96 100644
--- a/arch/mips/configs/jmr3927_defconfig
+++ b/arch/mips/configs/jmr3927_defconfig
@@ -143,6 +143,8 @@ CONFIG_PREEMPT_NONE=y
143# CONFIG_PREEMPT_VOLUNTARY is not set 143# CONFIG_PREEMPT_VOLUNTARY is not set
144# CONFIG_PREEMPT is not set 144# CONFIG_PREEMPT is not set
145CONFIG_RTC_DS1742=y 145CONFIG_RTC_DS1742=y
146CONFIG_LOCKDEP_SUPPORT=y
147CONFIG_STACKTRACE_SUPPORT=y
146CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 148CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
147 149
148# 150#
@@ -872,6 +874,7 @@ CONFIG_MSDOS_PARTITION=y
872# 874#
873# Kernel hacking 875# Kernel hacking
874# 876#
877CONFIG_TRACE_IRQFLAGS_SUPPORT=y
875# CONFIG_PRINTK_TIME is not set 878# CONFIG_PRINTK_TIME is not set
876# CONFIG_MAGIC_SYSRQ is not set 879# CONFIG_MAGIC_SYSRQ is not set
877# CONFIG_UNUSED_SYMBOLS is not set 880# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/lasat200_defconfig b/arch/mips/configs/lasat200_defconfig
index 320b8cdd6e58..1db8249b4c0f 100644
--- a/arch/mips/configs/lasat200_defconfig
+++ b/arch/mips/configs/lasat200_defconfig
@@ -151,6 +151,8 @@ CONFIG_HZ=1000
151CONFIG_PREEMPT_NONE=y 151CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_LOCKDEP_SUPPORT=y
155CONFIG_STACKTRACE_SUPPORT=y
154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
155 157
156# 158#
@@ -970,6 +972,7 @@ CONFIG_MSDOS_PARTITION=y
970# 972#
971# Kernel hacking 973# Kernel hacking
972# 974#
975CONFIG_TRACE_IRQFLAGS_SUPPORT=y
973# CONFIG_PRINTK_TIME is not set 976# CONFIG_PRINTK_TIME is not set
974# CONFIG_MAGIC_SYSRQ is not set 977# CONFIG_MAGIC_SYSRQ is not set
975# CONFIG_UNUSED_SYMBOLS is not set 978# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig
index 0ba1ef5048fb..aeefe2873e38 100644
--- a/arch/mips/configs/malta_defconfig
+++ b/arch/mips/configs/malta_defconfig
@@ -170,6 +170,8 @@ CONFIG_HZ=100
170CONFIG_PREEMPT_NONE=y 170CONFIG_PREEMPT_NONE=y
171# CONFIG_PREEMPT_VOLUNTARY is not set 171# CONFIG_PREEMPT_VOLUNTARY is not set
172# CONFIG_PREEMPT is not set 172# CONFIG_PREEMPT is not set
173CONFIG_LOCKDEP_SUPPORT=y
174CONFIG_STACKTRACE_SUPPORT=y
173CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 175CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
174 176
175# 177#
@@ -1341,6 +1343,7 @@ CONFIG_NLS_UTF8=m
1341# 1343#
1342# Kernel hacking 1344# Kernel hacking
1343# 1345#
1346CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1344# CONFIG_PRINTK_TIME is not set 1347# CONFIG_PRINTK_TIME is not set
1345# CONFIG_MAGIC_SYSRQ is not set 1348# CONFIG_MAGIC_SYSRQ is not set
1346# CONFIG_UNUSED_SYMBOLS is not set 1349# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/mipssim_defconfig b/arch/mips/configs/mipssim_defconfig
index adbeeadddb8f..a3cbd23bf217 100644
--- a/arch/mips/configs/mipssim_defconfig
+++ b/arch/mips/configs/mipssim_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
@@ -799,6 +801,7 @@ CONFIG_MSDOS_PARTITION=y
799# 801#
800# Kernel hacking 802# Kernel hacking
801# 803#
804CONFIG_TRACE_IRQFLAGS_SUPPORT=y
802# CONFIG_PRINTK_TIME is not set 805# CONFIG_PRINTK_TIME is not set
803# CONFIG_MAGIC_SYSRQ is not set 806# CONFIG_MAGIC_SYSRQ is not set
804# CONFIG_UNUSED_SYMBOLS is not set 807# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/mpc30x_defconfig b/arch/mips/configs/mpc30x_defconfig
index 79fd544fcb2a..6570b47426ce 100644
--- a/arch/mips/configs/mpc30x_defconfig
+++ b/arch/mips/configs/mpc30x_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
diff --git a/arch/mips/configs/ocelot_3_defconfig b/arch/mips/configs/ocelot_3_defconfig
index 4d87da2b99fd..440d65f93a94 100644
--- a/arch/mips/configs/ocelot_3_defconfig
+++ b/arch/mips/configs/ocelot_3_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153CONFIG_PREEMPT_NONE=y 153CONFIG_PREEMPT_NONE=y
154# CONFIG_PREEMPT_VOLUNTARY is not set 154# CONFIG_PREEMPT_VOLUNTARY is not set
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -1091,6 +1093,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1091# 1093#
1092# Kernel hacking 1094# Kernel hacking
1093# 1095#
1096CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1094# CONFIG_PRINTK_TIME is not set 1097# CONFIG_PRINTK_TIME is not set
1095# CONFIG_MAGIC_SYSRQ is not set 1098# CONFIG_MAGIC_SYSRQ is not set
1096# CONFIG_UNUSED_SYMBOLS is not set 1099# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ocelot_c_defconfig b/arch/mips/configs/ocelot_c_defconfig
index a7ac2b0a8273..c2c7ae77da3e 100644
--- a/arch/mips/configs/ocelot_c_defconfig
+++ b/arch/mips/configs/ocelot_c_defconfig
@@ -150,6 +150,8 @@ CONFIG_HZ=1000
150CONFIG_PREEMPT_NONE=y 150CONFIG_PREEMPT_NONE=y
151# CONFIG_PREEMPT_VOLUNTARY is not set 151# CONFIG_PREEMPT_VOLUNTARY is not set
152# CONFIG_PREEMPT is not set 152# CONFIG_PREEMPT is not set
153CONFIG_LOCKDEP_SUPPORT=y
154CONFIG_STACKTRACE_SUPPORT=y
153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 155CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
154 156
155# 157#
@@ -839,6 +841,7 @@ CONFIG_MSDOS_PARTITION=y
839# 841#
840# Kernel hacking 842# Kernel hacking
841# 843#
844CONFIG_TRACE_IRQFLAGS_SUPPORT=y
842# CONFIG_PRINTK_TIME is not set 845# CONFIG_PRINTK_TIME is not set
843# CONFIG_MAGIC_SYSRQ is not set 846# CONFIG_MAGIC_SYSRQ is not set
844# CONFIG_UNUSED_SYMBOLS is not set 847# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ocelot_defconfig b/arch/mips/configs/ocelot_defconfig
index 853e7bba5122..67efe270e0cc 100644
--- a/arch/mips/configs/ocelot_defconfig
+++ b/arch/mips/configs/ocelot_defconfig
@@ -154,6 +154,8 @@ CONFIG_HZ=1000
154CONFIG_PREEMPT_NONE=y 154CONFIG_PREEMPT_NONE=y
155# CONFIG_PREEMPT_VOLUNTARY is not set 155# CONFIG_PREEMPT_VOLUNTARY is not set
156# CONFIG_PREEMPT is not set 156# CONFIG_PREEMPT is not set
157CONFIG_LOCKDEP_SUPPORT=y
158CONFIG_STACKTRACE_SUPPORT=y
157CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 159CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
158 160
159# 161#
@@ -788,6 +790,7 @@ CONFIG_MSDOS_PARTITION=y
788# 790#
789# Kernel hacking 791# Kernel hacking
790# 792#
793CONFIG_TRACE_IRQFLAGS_SUPPORT=y
791# CONFIG_PRINTK_TIME is not set 794# CONFIG_PRINTK_TIME is not set
792# CONFIG_MAGIC_SYSRQ is not set 795# CONFIG_MAGIC_SYSRQ is not set
793# CONFIG_UNUSED_SYMBOLS is not set 796# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/ocelot_g_defconfig b/arch/mips/configs/ocelot_g_defconfig
index 8524efa23a49..a10f34de5f7e 100644
--- a/arch/mips/configs/ocelot_g_defconfig
+++ b/arch/mips/configs/ocelot_g_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153CONFIG_PREEMPT_NONE=y 153CONFIG_PREEMPT_NONE=y
154# CONFIG_PREEMPT_VOLUNTARY is not set 154# CONFIG_PREEMPT_VOLUNTARY is not set
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -842,6 +844,7 @@ CONFIG_MSDOS_PARTITION=y
842# 844#
843# Kernel hacking 845# Kernel hacking
844# 846#
847CONFIG_TRACE_IRQFLAGS_SUPPORT=y
845# CONFIG_PRINTK_TIME is not set 848# CONFIG_PRINTK_TIME is not set
846# CONFIG_MAGIC_SYSRQ is not set 849# CONFIG_MAGIC_SYSRQ is not set
847# CONFIG_UNUSED_SYMBOLS is not set 850# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/pb1100_defconfig b/arch/mips/configs/pb1100_defconfig
index 1a16e92900cb..741f8258075c 100644
--- a/arch/mips/configs/pb1100_defconfig
+++ b/arch/mips/configs/pb1100_defconfig
@@ -149,6 +149,8 @@ CONFIG_HZ=1000
149CONFIG_PREEMPT_NONE=y 149CONFIG_PREEMPT_NONE=y
150# CONFIG_PREEMPT_VOLUNTARY is not set 150# CONFIG_PREEMPT_VOLUNTARY is not set
151# CONFIG_PREEMPT is not set 151# CONFIG_PREEMPT is not set
152CONFIG_LOCKDEP_SUPPORT=y
153CONFIG_STACKTRACE_SUPPORT=y
152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
153 155
154# 156#
@@ -1000,6 +1002,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1000# 1002#
1001# Kernel hacking 1003# Kernel hacking
1002# 1004#
1005CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1003# CONFIG_PRINTK_TIME is not set 1006# CONFIG_PRINTK_TIME is not set
1004# CONFIG_MAGIC_SYSRQ is not set 1007# CONFIG_MAGIC_SYSRQ is not set
1005# CONFIG_UNUSED_SYMBOLS is not set 1008# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/pb1500_defconfig b/arch/mips/configs/pb1500_defconfig
index 9ea8edea6f29..8576340714da 100644
--- a/arch/mips/configs/pb1500_defconfig
+++ b/arch/mips/configs/pb1500_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
@@ -1106,6 +1108,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1106# 1108#
1107# Kernel hacking 1109# Kernel hacking
1108# 1110#
1111CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1109# CONFIG_PRINTK_TIME is not set 1112# CONFIG_PRINTK_TIME is not set
1110# CONFIG_MAGIC_SYSRQ is not set 1113# CONFIG_MAGIC_SYSRQ is not set
1111# CONFIG_UNUSED_SYMBOLS is not set 1114# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/pb1550_defconfig b/arch/mips/configs/pb1550_defconfig
index c4a158976f8f..3db7427d1b55 100644
--- a/arch/mips/configs/pb1550_defconfig
+++ b/arch/mips/configs/pb1550_defconfig
@@ -148,6 +148,8 @@ CONFIG_HZ=1000
148CONFIG_PREEMPT_NONE=y 148CONFIG_PREEMPT_NONE=y
149# CONFIG_PREEMPT_VOLUNTARY is not set 149# CONFIG_PREEMPT_VOLUNTARY is not set
150# CONFIG_PREEMPT is not set 150# CONFIG_PREEMPT is not set
151CONFIG_LOCKDEP_SUPPORT=y
152CONFIG_STACKTRACE_SUPPORT=y
151CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
152 154
153# 155#
@@ -1098,6 +1100,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1098# 1100#
1099# Kernel hacking 1101# Kernel hacking
1100# 1102#
1103CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1101# CONFIG_PRINTK_TIME is not set 1104# CONFIG_PRINTK_TIME is not set
1102# CONFIG_MAGIC_SYSRQ is not set 1105# CONFIG_MAGIC_SYSRQ is not set
1103# CONFIG_UNUSED_SYMBOLS is not set 1106# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/pnx8550-jbs_defconfig b/arch/mips/configs/pnx8550-jbs_defconfig
index 1cbf270c301c..26b0b9883496 100644
--- a/arch/mips/configs/pnx8550-jbs_defconfig
+++ b/arch/mips/configs/pnx8550-jbs_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153CONFIG_PREEMPT_NONE=y 153CONFIG_PREEMPT_NONE=y
154# CONFIG_PREEMPT_VOLUNTARY is not set 154# CONFIG_PREEMPT_VOLUNTARY is not set
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -876,6 +878,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
876# 878#
877# Kernel hacking 879# Kernel hacking
878# 880#
881CONFIG_TRACE_IRQFLAGS_SUPPORT=y
879# CONFIG_PRINTK_TIME is not set 882# CONFIG_PRINTK_TIME is not set
880CONFIG_MAGIC_SYSRQ=y 883CONFIG_MAGIC_SYSRQ=y
881# CONFIG_UNUSED_SYMBOLS is not set 884# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/pnx8550-v2pci_defconfig b/arch/mips/configs/pnx8550-v2pci_defconfig
index bec30b15b9bd..e93266b37dd9 100644
--- a/arch/mips/configs/pnx8550-v2pci_defconfig
+++ b/arch/mips/configs/pnx8550-v2pci_defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153CONFIG_PREEMPT_NONE=y 153CONFIG_PREEMPT_NONE=y
154# CONFIG_PREEMPT_VOLUNTARY is not set 154# CONFIG_PREEMPT_VOLUNTARY is not set
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -1057,6 +1059,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1057# 1059#
1058# Kernel hacking 1060# Kernel hacking
1059# 1061#
1062CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1060# CONFIG_PRINTK_TIME is not set 1063# CONFIG_PRINTK_TIME is not set
1061# CONFIG_MAGIC_SYSRQ is not set 1064# CONFIG_MAGIC_SYSRQ is not set
1062# CONFIG_UNUSED_SYMBOLS is not set 1065# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/qemu_defconfig b/arch/mips/configs/qemu_defconfig
index f5f799e93707..9b0dab822bd0 100644
--- a/arch/mips/configs/qemu_defconfig
+++ b/arch/mips/configs/qemu_defconfig
@@ -145,6 +145,8 @@ CONFIG_HZ=100
145CONFIG_PREEMPT_NONE=y 145CONFIG_PREEMPT_NONE=y
146# CONFIG_PREEMPT_VOLUNTARY is not set 146# CONFIG_PREEMPT_VOLUNTARY is not set
147# CONFIG_PREEMPT is not set 147# CONFIG_PREEMPT is not set
148CONFIG_LOCKDEP_SUPPORT=y
149CONFIG_STACKTRACE_SUPPORT=y
148CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
149 151
150# 152#
@@ -733,6 +735,7 @@ CONFIG_MSDOS_PARTITION=y
733# 735#
734# Kernel hacking 736# Kernel hacking
735# 737#
738CONFIG_TRACE_IRQFLAGS_SUPPORT=y
736# CONFIG_PRINTK_TIME is not set 739# CONFIG_PRINTK_TIME is not set
737# CONFIG_MAGIC_SYSRQ is not set 740# CONFIG_MAGIC_SYSRQ is not set
738# CONFIG_UNUSED_SYMBOLS is not set 741# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/rbhma4500_defconfig b/arch/mips/configs/rbhma4500_defconfig
index 2f5650227ba3..dd0296036026 100644
--- a/arch/mips/configs/rbhma4500_defconfig
+++ b/arch/mips/configs/rbhma4500_defconfig
@@ -155,6 +155,8 @@ CONFIG_HZ=1000
155CONFIG_PREEMPT_NONE=y 155CONFIG_PREEMPT_NONE=y
156# CONFIG_PREEMPT_VOLUNTARY is not set 156# CONFIG_PREEMPT_VOLUNTARY is not set
157# CONFIG_PREEMPT is not set 157# CONFIG_PREEMPT is not set
158CONFIG_LOCKDEP_SUPPORT=y
159CONFIG_STACKTRACE_SUPPORT=y
158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 160CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
159 161
160# 162#
@@ -1335,6 +1337,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
1335# 1337#
1336# Kernel hacking 1338# Kernel hacking
1337# 1339#
1340CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1338# CONFIG_PRINTK_TIME is not set 1341# CONFIG_PRINTK_TIME is not set
1339# CONFIG_MAGIC_SYSRQ is not set 1342# CONFIG_MAGIC_SYSRQ is not set
1340# CONFIG_UNUSED_SYMBOLS is not set 1343# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig
index 4fee90b2b100..d8a498d64d62 100644
--- a/arch/mips/configs/rm200_defconfig
+++ b/arch/mips/configs/rm200_defconfig
@@ -158,6 +158,8 @@ CONFIG_HZ=1000
158# CONFIG_PREEMPT_NONE is not set 158# CONFIG_PREEMPT_NONE is not set
159CONFIG_PREEMPT_VOLUNTARY=y 159CONFIG_PREEMPT_VOLUNTARY=y
160# CONFIG_PREEMPT is not set 160# CONFIG_PREEMPT is not set
161CONFIG_LOCKDEP_SUPPORT=y
162CONFIG_STACKTRACE_SUPPORT=y
161CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 163CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
162 164
163# 165#
@@ -1584,6 +1586,7 @@ CONFIG_NLS_UTF8=m
1584# 1586#
1585# Kernel hacking 1587# Kernel hacking
1586# 1588#
1589CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1587# CONFIG_PRINTK_TIME is not set 1590# CONFIG_PRINTK_TIME is not set
1588# CONFIG_MAGIC_SYSRQ is not set 1591# CONFIG_MAGIC_SYSRQ is not set
1589# CONFIG_UNUSED_SYMBOLS is not set 1592# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/sb1250-swarm_defconfig b/arch/mips/configs/sb1250-swarm_defconfig
index 9041f095f96f..805a4fe450f5 100644
--- a/arch/mips/configs/sb1250-swarm_defconfig
+++ b/arch/mips/configs/sb1250-swarm_defconfig
@@ -171,6 +171,8 @@ CONFIG_PREEMPT_NONE=y
171# CONFIG_PREEMPT_VOLUNTARY is not set 171# CONFIG_PREEMPT_VOLUNTARY is not set
172# CONFIG_PREEMPT is not set 172# CONFIG_PREEMPT is not set
173CONFIG_PREEMPT_BKL=y 173CONFIG_PREEMPT_BKL=y
174CONFIG_LOCKDEP_SUPPORT=y
175CONFIG_STACKTRACE_SUPPORT=y
174CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 176CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
175 177
176# 178#
@@ -873,6 +875,7 @@ CONFIG_MSDOS_PARTITION=y
873# 875#
874# Kernel hacking 876# Kernel hacking
875# 877#
878CONFIG_TRACE_IRQFLAGS_SUPPORT=y
876# CONFIG_PRINTK_TIME is not set 879# CONFIG_PRINTK_TIME is not set
877# CONFIG_MAGIC_SYSRQ is not set 880# CONFIG_MAGIC_SYSRQ is not set
878# CONFIG_UNUSED_SYMBOLS is not set 881# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/sead_defconfig b/arch/mips/configs/sead_defconfig
index 02abb2f1bfaf..6fcb656d8d87 100644
--- a/arch/mips/configs/sead_defconfig
+++ b/arch/mips/configs/sead_defconfig
@@ -151,6 +151,8 @@ CONFIG_HZ=1000
151CONFIG_PREEMPT_NONE=y 151CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_LOCKDEP_SUPPORT=y
155CONFIG_STACKTRACE_SUPPORT=y
154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
155 157
156# 158#
@@ -581,6 +583,7 @@ CONFIG_PARTITION_ADVANCED=y
581# 583#
582# Kernel hacking 584# Kernel hacking
583# 585#
586CONFIG_TRACE_IRQFLAGS_SUPPORT=y
584# CONFIG_PRINTK_TIME is not set 587# CONFIG_PRINTK_TIME is not set
585# CONFIG_MAGIC_SYSRQ is not set 588# CONFIG_MAGIC_SYSRQ is not set
586# CONFIG_UNUSED_SYMBOLS is not set 589# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/tb0226_defconfig b/arch/mips/configs/tb0226_defconfig
index ca3d0c4ba15b..dc312f19ada7 100644
--- a/arch/mips/configs/tb0226_defconfig
+++ b/arch/mips/configs/tb0226_defconfig
@@ -151,6 +151,8 @@ CONFIG_HZ=1000
151CONFIG_PREEMPT_NONE=y 151CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_LOCKDEP_SUPPORT=y
155CONFIG_STACKTRACE_SUPPORT=y
154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
155 157
156# 158#
@@ -1059,6 +1061,7 @@ CONFIG_MSDOS_PARTITION=y
1059# 1061#
1060# Kernel hacking 1062# Kernel hacking
1061# 1063#
1064CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1062# CONFIG_PRINTK_TIME is not set 1065# CONFIG_PRINTK_TIME is not set
1063# CONFIG_MAGIC_SYSRQ is not set 1066# CONFIG_MAGIC_SYSRQ is not set
1064# CONFIG_UNUSED_SYMBOLS is not set 1067# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/tb0229_defconfig b/arch/mips/configs/tb0229_defconfig
index 4e2009ace278..85615d99b01a 100644
--- a/arch/mips/configs/tb0229_defconfig
+++ b/arch/mips/configs/tb0229_defconfig
@@ -151,6 +151,8 @@ CONFIG_HZ=1000
151CONFIG_PREEMPT_NONE=y 151CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_LOCKDEP_SUPPORT=y
155CONFIG_STACKTRACE_SUPPORT=y
154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
155 157
156# 158#
@@ -968,6 +970,7 @@ CONFIG_MSDOS_PARTITION=y
968# 970#
969# Kernel hacking 971# Kernel hacking
970# 972#
973CONFIG_TRACE_IRQFLAGS_SUPPORT=y
971# CONFIG_PRINTK_TIME is not set 974# CONFIG_PRINTK_TIME is not set
972# CONFIG_MAGIC_SYSRQ is not set 975# CONFIG_MAGIC_SYSRQ is not set
973# CONFIG_UNUSED_SYMBOLS is not set 976# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/tb0287_defconfig b/arch/mips/configs/tb0287_defconfig
index 535a813d01a9..ad7271b3f266 100644
--- a/arch/mips/configs/tb0287_defconfig
+++ b/arch/mips/configs/tb0287_defconfig
@@ -151,6 +151,8 @@ CONFIG_HZ=1000
151CONFIG_PREEMPT_NONE=y 151CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_LOCKDEP_SUPPORT=y
155CONFIG_STACKTRACE_SUPPORT=y
154CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
155 157
156# 158#
@@ -1146,6 +1148,7 @@ CONFIG_MSDOS_PARTITION=y
1146# 1148#
1147# Kernel hacking 1149# Kernel hacking
1148# 1150#
1151CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1149# CONFIG_PRINTK_TIME is not set 1152# CONFIG_PRINTK_TIME is not set
1150# CONFIG_MAGIC_SYSRQ is not set 1153# CONFIG_MAGIC_SYSRQ is not set
1151# CONFIG_UNUSED_SYMBOLS is not set 1154# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/workpad_defconfig b/arch/mips/configs/workpad_defconfig
index 3a3ef20b21cc..863f6a7cadfd 100644
--- a/arch/mips/configs/workpad_defconfig
+++ b/arch/mips/configs/workpad_defconfig
@@ -147,6 +147,8 @@ CONFIG_HZ=1000
147CONFIG_PREEMPT_NONE=y 147CONFIG_PREEMPT_NONE=y
148# CONFIG_PREEMPT_VOLUNTARY is not set 148# CONFIG_PREEMPT_VOLUNTARY is not set
149# CONFIG_PREEMPT is not set 149# CONFIG_PREEMPT is not set
150CONFIG_LOCKDEP_SUPPORT=y
151CONFIG_STACKTRACE_SUPPORT=y
150CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 152CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
151 153
152# 154#
diff --git a/arch/mips/configs/wrppmc_defconfig b/arch/mips/configs/wrppmc_defconfig
index e6b1dea55842..c10267d61cc9 100644
--- a/arch/mips/configs/wrppmc_defconfig
+++ b/arch/mips/configs/wrppmc_defconfig
@@ -155,6 +155,8 @@ CONFIG_HZ=1000
155CONFIG_PREEMPT_NONE=y 155CONFIG_PREEMPT_NONE=y
156# CONFIG_PREEMPT_VOLUNTARY is not set 156# CONFIG_PREEMPT_VOLUNTARY is not set
157# CONFIG_PREEMPT is not set 157# CONFIG_PREEMPT is not set
158CONFIG_LOCKDEP_SUPPORT=y
159CONFIG_STACKTRACE_SUPPORT=y
158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 160CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
159 161
160# 162#
@@ -829,6 +831,7 @@ CONFIG_MSDOS_PARTITION=y
829# 831#
830# Kernel hacking 832# Kernel hacking
831# 833#
834CONFIG_TRACE_IRQFLAGS_SUPPORT=y
832# CONFIG_PRINTK_TIME is not set 835# CONFIG_PRINTK_TIME is not set
833# CONFIG_MAGIC_SYSRQ is not set 836# CONFIG_MAGIC_SYSRQ is not set
834# CONFIG_UNUSED_SYMBOLS is not set 837# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/configs/yosemite_defconfig b/arch/mips/configs/yosemite_defconfig
index 06a072b77b1c..4d3c1329f3cf 100644
--- a/arch/mips/configs/yosemite_defconfig
+++ b/arch/mips/configs/yosemite_defconfig
@@ -152,6 +152,8 @@ CONFIG_PREEMPT_NONE=y
152# CONFIG_PREEMPT_VOLUNTARY is not set 152# CONFIG_PREEMPT_VOLUNTARY is not set
153# CONFIG_PREEMPT is not set 153# CONFIG_PREEMPT is not set
154CONFIG_PREEMPT_BKL=y 154CONFIG_PREEMPT_BKL=y
155CONFIG_LOCKDEP_SUPPORT=y
156CONFIG_STACKTRACE_SUPPORT=y
155CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 157CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
156 158
157# 159#
@@ -760,6 +762,7 @@ CONFIG_MSDOS_PARTITION=y
760# 762#
761# Kernel hacking 763# Kernel hacking
762# 764#
765CONFIG_TRACE_IRQFLAGS_SUPPORT=y
763# CONFIG_PRINTK_TIME is not set 766# CONFIG_PRINTK_TIME is not set
764# CONFIG_MAGIC_SYSRQ is not set 767# CONFIG_MAGIC_SYSRQ is not set
765# CONFIG_UNUSED_SYMBOLS is not set 768# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/defconfig b/arch/mips/defconfig
index cc9b24eda9e8..21d53e0c9ee8 100644
--- a/arch/mips/defconfig
+++ b/arch/mips/defconfig
@@ -153,6 +153,8 @@ CONFIG_HZ=1000
153# CONFIG_PREEMPT_NONE is not set 153# CONFIG_PREEMPT_NONE is not set
154CONFIG_PREEMPT_VOLUNTARY=y 154CONFIG_PREEMPT_VOLUNTARY=y
155# CONFIG_PREEMPT is not set 155# CONFIG_PREEMPT is not set
156CONFIG_LOCKDEP_SUPPORT=y
157CONFIG_STACKTRACE_SUPPORT=y
156CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 158CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
157 159
158# 160#
@@ -1147,6 +1149,7 @@ CONFIG_NLS_UTF8=m
1147# 1149#
1148# Kernel hacking 1150# Kernel hacking
1149# 1151#
1152CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1150# CONFIG_PRINTK_TIME is not set 1153# CONFIG_PRINTK_TIME is not set
1151# CONFIG_MAGIC_SYSRQ is not set 1154# CONFIG_MAGIC_SYSRQ is not set
1152# CONFIG_UNUSED_SYMBOLS is not set 1155# CONFIG_UNUSED_SYMBOLS is not set
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index 881c467c6982..cd9cec9e39e9 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -11,6 +11,7 @@ obj-y += cpu-probe.o branch.o entry.o genex.o irq.o process.o \
11binfmt_irix-objs := irixelf.o irixinv.o irixioctl.o irixsig.o \ 11binfmt_irix-objs := irixelf.o irixinv.o irixioctl.o irixsig.o \
12 irix5sys.o sysirix.o 12 irix5sys.o sysirix.o
13 13
14obj-$(CONFIG_STACKTRACE) += stacktrace.o
14obj-$(CONFIG_MODULES) += mips_ksyms.o module.o 15obj-$(CONFIG_MODULES) += mips_ksyms.o module.o
15 16
16obj-$(CONFIG_APM) += apm.o 17obj-$(CONFIG_APM) += apm.o
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index 37fda3dcdfc5..af6ef2fd8300 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -220,8 +220,8 @@ NESTED(except_vec_vi_handler, 0, sp)
220 CLI 220 CLI
221 TRACE_IRQS_OFF 221 TRACE_IRQS_OFF
222 move a0, sp 222 move a0, sp
223 jalr v0 223 PTR_LA ra, ret_from_irq
224 j ret_from_irq 224 jr v0
225 END(except_vec_vi_handler) 225 END(except_vec_vi_handler)
226 226
227/* 227/*
@@ -349,8 +349,8 @@ NESTED(nmi_handler, PT_SIZE, sp)
349 .set at 349 .set at
350 __BUILD_\verbose \exception 350 __BUILD_\verbose \exception
351 move a0, sp 351 move a0, sp
352 jal do_\handler 352 PTR_LA ra, ret_from_exception
353 j ret_from_exception 353 j do_\handler
354 END(handle_\exception) 354 END(handle_\exception)
355 .endm 355 .endm
356 356
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
index ea36c8e8852c..48e3418c217b 100644
--- a/arch/mips/kernel/i8259.c
+++ b/arch/mips/kernel/i8259.c
@@ -302,11 +302,11 @@ static struct irqaction irq2 = {
302}; 302};
303 303
304static struct resource pic1_io_resource = { 304static struct resource pic1_io_resource = {
305 .name = "pic1", .start = 0x20, .end = 0x3f, .flags = IORESOURCE_BUSY 305 .name = "pic1", .start = 0x20, .end = 0x21, .flags = IORESOURCE_BUSY
306}; 306};
307 307
308static struct resource pic2_io_resource = { 308static struct resource pic2_io_resource = {
309 .name = "pic2", .start = 0xa0, .end = 0xbf, .flags = IORESOURCE_BUSY 309 .name = "pic2", .start = 0xa0, .end = 0xa1, .flags = IORESOURCE_BUSY
310}; 310};
311 311
312/* 312/*
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c
index 43b1162d714f..53f4171fc188 100644
--- a/arch/mips/kernel/linux32.c
+++ b/arch/mips/kernel/linux32.c
@@ -77,6 +77,8 @@ int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf)
77 memset(&tmp, 0, sizeof(tmp)); 77 memset(&tmp, 0, sizeof(tmp));
78 tmp.st_dev = new_encode_dev(stat->dev); 78 tmp.st_dev = new_encode_dev(stat->dev);
79 tmp.st_ino = stat->ino; 79 tmp.st_ino = stat->ino;
80 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino)
81 return -EOVERFLOW;
80 tmp.st_mode = stat->mode; 82 tmp.st_mode = stat->mode;
81 tmp.st_nlink = stat->nlink; 83 tmp.st_nlink = stat->nlink;
82 SET_UID(tmp.st_uid, stat->uid); 84 SET_UID(tmp.st_uid, stat->uid);
@@ -1039,7 +1041,7 @@ asmlinkage long sys32_newuname(struct new_utsname __user * name)
1039 int ret = 0; 1041 int ret = 0;
1040 1042
1041 down_read(&uts_sem); 1043 down_read(&uts_sem);
1042 if (copy_to_user(name,&system_utsname,sizeof *name)) 1044 if (copy_to_user(name, utsname(), sizeof *name))
1043 ret = -EFAULT; 1045 ret = -EFAULT;
1044 up_read(&uts_sem); 1046 up_read(&uts_sem);
1045 1047
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index 2613a0dd4b82..045d987bc683 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -40,6 +40,7 @@
40#include <asm/elf.h> 40#include <asm/elf.h>
41#include <asm/isadep.h> 41#include <asm/isadep.h>
42#include <asm/inst.h> 42#include <asm/inst.h>
43#include <asm/stacktrace.h>
43#ifdef CONFIG_MIPS_MT_SMTC 44#ifdef CONFIG_MIPS_MT_SMTC
44#include <asm/mipsmtregs.h> 45#include <asm/mipsmtregs.h>
45extern void smtc_idle_loop_hook(void); 46extern void smtc_idle_loop_hook(void);
@@ -398,7 +399,7 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
398#ifdef CONFIG_KALLSYMS 399#ifdef CONFIG_KALLSYMS
399/* used by show_backtrace() */ 400/* used by show_backtrace() */
400unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, 401unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
401 unsigned long pc, unsigned long ra) 402 unsigned long pc, unsigned long *ra)
402{ 403{
403 unsigned long stack_page; 404 unsigned long stack_page;
404 struct mips_frame_info info; 405 struct mips_frame_info info;
@@ -406,18 +407,42 @@ unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
406 char namebuf[KSYM_NAME_LEN + 1]; 407 char namebuf[KSYM_NAME_LEN + 1];
407 unsigned long size, ofs; 408 unsigned long size, ofs;
408 int leaf; 409 int leaf;
410 extern void ret_from_irq(void);
411 extern void ret_from_exception(void);
409 412
410 stack_page = (unsigned long)task_stack_page(task); 413 stack_page = (unsigned long)task_stack_page(task);
411 if (!stack_page) 414 if (!stack_page)
412 return 0; 415 return 0;
413 416
417 /*
418 * If we reached the bottom of interrupt context,
419 * return saved pc in pt_regs.
420 */
421 if (pc == (unsigned long)ret_from_irq ||
422 pc == (unsigned long)ret_from_exception) {
423 struct pt_regs *regs;
424 if (*sp >= stack_page &&
425 *sp + sizeof(*regs) <= stack_page + THREAD_SIZE - 32) {
426 regs = (struct pt_regs *)*sp;
427 pc = regs->cp0_epc;
428 if (__kernel_text_address(pc)) {
429 *sp = regs->regs[29];
430 *ra = regs->regs[31];
431 return pc;
432 }
433 }
434 return 0;
435 }
414 if (!kallsyms_lookup(pc, &size, &ofs, &modname, namebuf)) 436 if (!kallsyms_lookup(pc, &size, &ofs, &modname, namebuf))
415 return 0; 437 return 0;
416 /* 438 /*
417 * Return ra if an exception occured at the first instruction 439 * Return ra if an exception occured at the first instruction
418 */ 440 */
419 if (unlikely(ofs == 0)) 441 if (unlikely(ofs == 0)) {
420 return ra; 442 pc = *ra;
443 *ra = 0;
444 return pc;
445 }
421 446
422 info.func = (void *)(pc - ofs); 447 info.func = (void *)(pc - ofs);
423 info.func_size = ofs; /* analyze from start to ofs */ 448 info.func_size = ofs; /* analyze from start to ofs */
@@ -436,11 +461,12 @@ unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
436 * one. In that cases avoid to return always the 461 * one. In that cases avoid to return always the
437 * same value. 462 * same value.
438 */ 463 */
439 pc = pc != ra ? ra : 0; 464 pc = pc != *ra ? *ra : 0;
440 else 465 else
441 pc = ((unsigned long *)(*sp))[info.pc_offset]; 466 pc = ((unsigned long *)(*sp))[info.pc_offset];
442 467
443 *sp += info.frame_size; 468 *sp += info.frame_size;
469 *ra = 0;
444 return __kernel_text_address(pc) ? pc : 0; 470 return __kernel_text_address(pc) ? pc : 0;
445} 471}
446#endif 472#endif
@@ -453,6 +479,7 @@ unsigned long get_wchan(struct task_struct *task)
453 unsigned long pc = 0; 479 unsigned long pc = 0;
454#ifdef CONFIG_KALLSYMS 480#ifdef CONFIG_KALLSYMS
455 unsigned long sp; 481 unsigned long sp;
482 unsigned long ra = 0;
456#endif 483#endif
457 484
458 if (!task || task == current || task->state == TASK_RUNNING) 485 if (!task || task == current || task->state == TASK_RUNNING)
@@ -466,7 +493,7 @@ unsigned long get_wchan(struct task_struct *task)
466 sp = task->thread.reg29 + schedule_mfi.frame_size; 493 sp = task->thread.reg29 + schedule_mfi.frame_size;
467 494
468 while (in_sched_functions(pc)) 495 while (in_sched_functions(pc))
469 pc = unwind_stack(task, &sp, pc, 0); 496 pc = unwind_stack(task, &sp, pc, &ra);
470#endif 497#endif
471 498
472out: 499out:
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index e71785102206..61362e6fa9ec 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -28,18 +28,7 @@
28NESTED(handle_sys, PT_SIZE, sp) 28NESTED(handle_sys, PT_SIZE, sp)
29 .set noat 29 .set noat
30 SAVE_SOME 30 SAVE_SOME
31#ifdef CONFIG_TRACE_IRQFLAGS 31 TRACE_IRQS_ON_RELOAD
32 TRACE_IRQS_ON
33#ifdef CONFIG_64BIT
34 LONG_L $8, PT_R8(sp)
35 LONG_L $9, PT_R9(sp)
36#endif
37 LONG_L $7, PT_R7(sp)
38 LONG_L $6, PT_R6(sp)
39 LONG_L $5, PT_R5(sp)
40 LONG_L $4, PT_R4(sp)
41 LONG_L $2, PT_R2(sp)
42#endif
43 STI 32 STI
44 .set at 33 .set at
45 34
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
index 4c22d0b4825d..6c7b5ed0ea6e 100644
--- a/arch/mips/kernel/scall64-64.S
+++ b/arch/mips/kernel/scall64-64.S
@@ -34,7 +34,7 @@ NESTED(handle_sys64, PT_SIZE, sp)
34 */ 34 */
35 .set noat 35 .set noat
36 SAVE_SOME 36 SAVE_SOME
37 TRACE_IRQS_ON 37 TRACE_IRQS_ON_RELOAD
38 STI 38 STI
39 .set at 39 .set at
40#endif 40#endif
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index f25c2a2f1038..6d9f18727ac5 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -33,7 +33,7 @@ NESTED(handle_sysn32, PT_SIZE, sp)
33#ifndef CONFIG_MIPS32_O32 33#ifndef CONFIG_MIPS32_O32
34 .set noat 34 .set noat
35 SAVE_SOME 35 SAVE_SOME
36 TRACE_IRQS_ON 36 TRACE_IRQS_ON_RELOAD
37 STI 37 STI
38 .set at 38 .set at
39#endif 39#endif
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index 288ee4ac4dbb..2e6d0673163e 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -28,7 +28,7 @@
28NESTED(handle_sys, PT_SIZE, sp) 28NESTED(handle_sys, PT_SIZE, sp)
29 .set noat 29 .set noat
30 SAVE_SOME 30 SAVE_SOME
31 TRACE_IRQS_ON 31 TRACE_IRQS_ON_RELOAD
32 STI 32 STI
33 .set at 33 .set at
34 ld t1, PT_EPC(sp) # skip syscall on return 34 ld t1, PT_EPC(sp) # skip syscall on return
diff --git a/arch/mips/kernel/stacktrace.c b/arch/mips/kernel/stacktrace.c
new file mode 100644
index 000000000000..4aabe526a68e
--- /dev/null
+++ b/arch/mips/kernel/stacktrace.c
@@ -0,0 +1,85 @@
1/*
2 * arch/mips/kernel/stacktrace.c
3 *
4 * Stack trace management functions
5 *
6 * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
7 */
8#include <linux/sched.h>
9#include <linux/stacktrace.h>
10#include <asm/stacktrace.h>
11
12/*
13 * Save stack-backtrace addresses into a stack_trace buffer:
14 */
15static void save_raw_context_stack(struct stack_trace *trace,
16 unsigned long reg29)
17{
18 unsigned long *sp = (unsigned long *)reg29;
19 unsigned long addr;
20
21 while (!kstack_end(sp)) {
22 addr = *sp++;
23 if (__kernel_text_address(addr)) {
24 if (trace->skip > 0)
25 trace->skip--;
26 else
27 trace->entries[trace->nr_entries++] = addr;
28 if (trace->nr_entries >= trace->max_entries)
29 break;
30 }
31 }
32}
33
34static void save_context_stack(struct stack_trace *trace,
35 struct task_struct *task, struct pt_regs *regs)
36{
37 unsigned long sp = regs->regs[29];
38#ifdef CONFIG_KALLSYMS
39 unsigned long ra = regs->regs[31];
40 unsigned long pc = regs->cp0_epc;
41
42 if (raw_show_trace || !__kernel_text_address(pc)) {
43 unsigned long stack_page =
44 (unsigned long)task_stack_page(task);
45 if (stack_page && sp >= stack_page &&
46 sp <= stack_page + THREAD_SIZE - 32)
47 save_raw_context_stack(trace, sp);
48 return;
49 }
50 do {
51 if (trace->skip > 0)
52 trace->skip--;
53 else
54 trace->entries[trace->nr_entries++] = pc;
55 if (trace->nr_entries >= trace->max_entries)
56 break;
57 pc = unwind_stack(task, &sp, pc, &ra);
58 } while (pc);
59#else
60 save_raw_context_stack(sp);
61#endif
62}
63
64/*
65 * Save stack-backtrace addresses into a stack_trace buffer.
66 */
67void save_stack_trace(struct stack_trace *trace, struct task_struct *task)
68{
69 struct pt_regs dummyregs;
70 struct pt_regs *regs = &dummyregs;
71
72 WARN_ON(trace->nr_entries || !trace->max_entries);
73
74 if (task && task != current) {
75 regs->regs[29] = task->thread.reg29;
76 regs->regs[31] = 0;
77 regs->cp0_epc = task->thread.reg31;
78 } else {
79 if (!task)
80 task = current;
81 prepare_frametrace(regs);
82 }
83
84 save_context_stack(trace, task, regs);
85}
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 9951240cc3fd..26e1a7e78d13 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -231,7 +231,7 @@ out:
231 */ 231 */
232asmlinkage int sys_uname(struct old_utsname __user * name) 232asmlinkage int sys_uname(struct old_utsname __user * name)
233{ 233{
234 if (name && !copy_to_user(name, &system_utsname, sizeof (*name))) 234 if (name && !copy_to_user(name, utsname(), sizeof (*name)))
235 return 0; 235 return 0;
236 return -EFAULT; 236 return -EFAULT;
237} 237}
@@ -248,16 +248,21 @@ asmlinkage int sys_olduname(struct oldold_utsname __user * name)
248 if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname))) 248 if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname)))
249 return -EFAULT; 249 return -EFAULT;
250 250
251 error = __copy_to_user(&name->sysname,&system_utsname.sysname,__OLD_UTS_LEN); 251 error = __copy_to_user(&name->sysname, &utsname()->sysname,
252 error -= __put_user(0,name->sysname+__OLD_UTS_LEN); 252 __OLD_UTS_LEN);
253 error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); 253 error -= __put_user(0, name->sysname + __OLD_UTS_LEN);
254 error -= __put_user(0,name->nodename+__OLD_UTS_LEN); 254 error -= __copy_to_user(&name->nodename, &utsname()->nodename,
255 error -= __copy_to_user(&name->release,&system_utsname.release,__OLD_UTS_LEN); 255 __OLD_UTS_LEN);
256 error -= __put_user(0,name->release+__OLD_UTS_LEN); 256 error -= __put_user(0, name->nodename + __OLD_UTS_LEN);
257 error -= __copy_to_user(&name->version,&system_utsname.version,__OLD_UTS_LEN); 257 error -= __copy_to_user(&name->release, &utsname()->release,
258 error -= __put_user(0,name->version+__OLD_UTS_LEN); 258 __OLD_UTS_LEN);
259 error -= __copy_to_user(&name->machine,&system_utsname.machine,__OLD_UTS_LEN); 259 error -= __put_user(0, name->release + __OLD_UTS_LEN);
260 error = __put_user(0,name->machine+__OLD_UTS_LEN); 260 error -= __copy_to_user(&name->version, &utsname()->version,
261 __OLD_UTS_LEN);
262 error -= __put_user(0, name->version + __OLD_UTS_LEN);
263 error -= __copy_to_user(&name->machine, &utsname()->machine,
264 __OLD_UTS_LEN);
265 error = __put_user(0, name->machine + __OLD_UTS_LEN);
261 error = error ? -EFAULT : 0; 266 error = error ? -EFAULT : 0;
262 267
263 return error; 268 return error;
@@ -401,3 +406,32 @@ asmlinkage void bad_stack(void)
401{ 406{
402 do_exit(SIGSEGV); 407 do_exit(SIGSEGV);
403} 408}
409
410/*
411 * Do a system call from kernel instead of calling sys_execve so we
412 * end up with proper pt_regs.
413 */
414int kernel_execve(const char *filename, char *const argv[], char *const envp[])
415{
416 register unsigned long __a0 asm("$4") = (unsigned long) filename;
417 register unsigned long __a1 asm("$5") = (unsigned long) argv;
418 register unsigned long __a2 asm("$6") = (unsigned long) envp;
419 register unsigned long __a3 asm("$7");
420 unsigned long __v0;
421
422 __asm__ volatile (" \n"
423 " .set noreorder \n"
424 " li $2, %5 # __NR_execve \n"
425 " syscall \n"
426 " move %0, $2 \n"
427 " .set reorder \n"
428 : "=&r" (__v0), "=r" (__a3)
429 : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_execve)
430 : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24",
431 "memory");
432
433 if (__a3 == 0)
434 return __v0;
435
436 return -__v0;
437}
diff --git a/arch/mips/kernel/sysirix.c b/arch/mips/kernel/sysirix.c
index 1137dd6ea7aa..93c74fefff76 100644
--- a/arch/mips/kernel/sysirix.c
+++ b/arch/mips/kernel/sysirix.c
@@ -884,7 +884,7 @@ asmlinkage int irix_getdomainname(char __user *name, int len)
884 down_read(&uts_sem); 884 down_read(&uts_sem);
885 if (len > __NEW_UTS_LEN) 885 if (len > __NEW_UTS_LEN)
886 len = __NEW_UTS_LEN; 886 len = __NEW_UTS_LEN;
887 err = copy_to_user(name, system_utsname.domainname, len) ? -EFAULT : 0; 887 err = copy_to_user(name, utsname()->domainname, len) ? -EFAULT : 0;
888 up_read(&uts_sem); 888 up_read(&uts_sem);
889 889
890 return err; 890 return err;
@@ -1127,11 +1127,11 @@ struct iuname {
1127asmlinkage int irix_uname(struct iuname __user *buf) 1127asmlinkage int irix_uname(struct iuname __user *buf)
1128{ 1128{
1129 down_read(&uts_sem); 1129 down_read(&uts_sem);
1130 if (copy_from_user(system_utsname.sysname, buf->sysname, 65) 1130 if (copy_from_user(utsname()->sysname, buf->sysname, 65)
1131 || copy_from_user(system_utsname.nodename, buf->nodename, 65) 1131 || copy_from_user(utsname()->nodename, buf->nodename, 65)
1132 || copy_from_user(system_utsname.release, buf->release, 65) 1132 || copy_from_user(utsname()->release, buf->release, 65)
1133 || copy_from_user(system_utsname.version, buf->version, 65) 1133 || copy_from_user(utsname()->version, buf->version, 65)
1134 || copy_from_user(system_utsname.machine, buf->machine, 65)) { 1134 || copy_from_user(utsname()->machine, buf->machine, 65)) {
1135 return -EFAULT; 1135 return -EFAULT;
1136 } 1136 }
1137 up_read(&uts_sem); 1137 up_read(&uts_sem);
@@ -1739,12 +1739,13 @@ struct irix_dirent32_callback {
1739#define ROUND_UP32(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1)) 1739#define ROUND_UP32(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1))
1740 1740
1741static int irix_filldir32(void *__buf, const char *name, 1741static int irix_filldir32(void *__buf, const char *name,
1742 int namlen, loff_t offset, ino_t ino, unsigned int d_type) 1742 int namlen, loff_t offset, u64 ino, unsigned int d_type)
1743{ 1743{
1744 struct irix_dirent32 __user *dirent; 1744 struct irix_dirent32 __user *dirent;
1745 struct irix_dirent32_callback *buf = __buf; 1745 struct irix_dirent32_callback *buf = __buf;
1746 unsigned short reclen = ROUND_UP32(NAME_OFFSET32(dirent) + namlen + 1); 1746 unsigned short reclen = ROUND_UP32(NAME_OFFSET32(dirent) + namlen + 1);
1747 int err = 0; 1747 int err = 0;
1748 u32 d_ino;
1748 1749
1749#ifdef DEBUG_GETDENTS 1750#ifdef DEBUG_GETDENTS
1750 printk("\nirix_filldir32[reclen<%d>namlen<%d>count<%d>]", 1751 printk("\nirix_filldir32[reclen<%d>namlen<%d>count<%d>]",
@@ -1753,12 +1754,15 @@ static int irix_filldir32(void *__buf, const char *name,
1753 buf->error = -EINVAL; /* only used if we fail.. */ 1754 buf->error = -EINVAL; /* only used if we fail.. */
1754 if (reclen > buf->count) 1755 if (reclen > buf->count)
1755 return -EINVAL; 1756 return -EINVAL;
1757 d_ino = ino;
1758 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
1759 return -EOVERFLOW;
1756 dirent = buf->previous; 1760 dirent = buf->previous;
1757 if (dirent) 1761 if (dirent)
1758 err = __put_user(offset, &dirent->d_off); 1762 err = __put_user(offset, &dirent->d_off);
1759 dirent = buf->current_dir; 1763 dirent = buf->current_dir;
1760 err |= __put_user(dirent, &buf->previous); 1764 err |= __put_user(dirent, &buf->previous);
1761 err |= __put_user(ino, &dirent->d_ino); 1765 err |= __put_user(d_ino, &dirent->d_ino);
1762 err |= __put_user(reclen, &dirent->d_reclen); 1766 err |= __put_user(reclen, &dirent->d_reclen);
1763 err |= copy_to_user((char __user *)dirent->d_name, name, namlen) ? -EFAULT : 0; 1767 err |= copy_to_user((char __user *)dirent->d_name, name, namlen) ? -EFAULT : 0;
1764 err |= __put_user(0, &dirent->d_name[namlen]); 1768 err |= __put_user(0, &dirent->d_name[namlen]);
@@ -1837,7 +1841,7 @@ struct irix_dirent64_callback {
1837#define ROUND_UP64(x) (((x)+sizeof(u64)-1) & ~(sizeof(u64)-1)) 1841#define ROUND_UP64(x) (((x)+sizeof(u64)-1) & ~(sizeof(u64)-1))
1838 1842
1839static int irix_filldir64(void *__buf, const char *name, 1843static int irix_filldir64(void *__buf, const char *name,
1840 int namlen, loff_t offset, ino_t ino, unsigned int d_type) 1844 int namlen, loff_t offset, u64 ino, unsigned int d_type)
1841{ 1845{
1842 struct irix_dirent64 __user *dirent; 1846 struct irix_dirent64 __user *dirent;
1843 struct irix_dirent64_callback * buf = __buf; 1847 struct irix_dirent64_callback * buf = __buf;
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index 6ab8d975a974..845c7e55505d 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -47,8 +47,6 @@
47/* 47/*
48 * forward reference 48 * forward reference
49 */ 49 */
50extern volatile unsigned long wall_jiffies;
51
52DEFINE_SPINLOCK(rtc_lock); 50DEFINE_SPINLOCK(rtc_lock);
53 51
54/* 52/*
@@ -159,7 +157,6 @@ void (*mips_hpt_init)(unsigned int);
159void do_gettimeofday(struct timeval *tv) 157void do_gettimeofday(struct timeval *tv)
160{ 158{
161 unsigned long seq; 159 unsigned long seq;
162 unsigned long lost;
163 unsigned long usec, sec; 160 unsigned long usec, sec;
164 unsigned long max_ntp_tick; 161 unsigned long max_ntp_tick;
165 162
@@ -168,8 +165,6 @@ void do_gettimeofday(struct timeval *tv)
168 165
169 usec = do_gettimeoffset(); 166 usec = do_gettimeoffset();
170 167
171 lost = jiffies - wall_jiffies;
172
173 /* 168 /*
174 * If time_adjust is negative then NTP is slowing the clock 169 * If time_adjust is negative then NTP is slowing the clock
175 * so make sure not to go into next possible interval. 170 * so make sure not to go into next possible interval.
@@ -178,11 +173,7 @@ void do_gettimeofday(struct timeval *tv)
178 if (unlikely(time_adjust < 0)) { 173 if (unlikely(time_adjust < 0)) {
179 max_ntp_tick = (USEC_PER_SEC / HZ) - tickadj; 174 max_ntp_tick = (USEC_PER_SEC / HZ) - tickadj;
180 usec = min(usec, max_ntp_tick); 175 usec = min(usec, max_ntp_tick);
181 176 }
182 if (lost)
183 usec += lost * max_ntp_tick;
184 } else if (unlikely(lost))
185 usec += lost * (USEC_PER_SEC / HZ);
186 177
187 sec = xtime.tv_sec; 178 sec = xtime.tv_sec;
188 usec += (xtime.tv_nsec / 1000); 179 usec += (xtime.tv_nsec / 1000);
@@ -217,7 +208,6 @@ int do_settimeofday(struct timespec *tv)
217 * made, and then undo it! 208 * made, and then undo it!
218 */ 209 */
219 nsec -= do_gettimeoffset() * NSEC_PER_USEC; 210 nsec -= do_gettimeoffset() * NSEC_PER_USEC;
220 nsec -= (jiffies - wall_jiffies) * tick_nsec;
221 211
222 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 212 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
223 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 213 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index e51d8fd9a152..b7292a56d4cd 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -41,6 +41,7 @@
41#include <asm/mmu_context.h> 41#include <asm/mmu_context.h>
42#include <asm/watch.h> 42#include <asm/watch.h>
43#include <asm/types.h> 43#include <asm/types.h>
44#include <asm/stacktrace.h>
44 45
45extern asmlinkage void handle_int(void); 46extern asmlinkage void handle_int(void);
46extern asmlinkage void handle_tlbm(void); 47extern asmlinkage void handle_tlbm(void);
@@ -92,16 +93,14 @@ static void show_raw_backtrace(unsigned long reg29)
92} 93}
93 94
94#ifdef CONFIG_KALLSYMS 95#ifdef CONFIG_KALLSYMS
95static int raw_show_trace; 96int raw_show_trace;
96static int __init set_raw_show_trace(char *str) 97static int __init set_raw_show_trace(char *str)
97{ 98{
98 raw_show_trace = 1; 99 raw_show_trace = 1;
99 return 1; 100 return 1;
100} 101}
101__setup("raw_show_trace", set_raw_show_trace); 102__setup("raw_show_trace", set_raw_show_trace);
102 103#endif
103extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
104 unsigned long pc, unsigned long ra);
105 104
106static void show_backtrace(struct task_struct *task, struct pt_regs *regs) 105static void show_backtrace(struct task_struct *task, struct pt_regs *regs)
107{ 106{
@@ -116,14 +115,10 @@ static void show_backtrace(struct task_struct *task, struct pt_regs *regs)
116 printk("Call Trace:\n"); 115 printk("Call Trace:\n");
117 do { 116 do {
118 print_ip_sym(pc); 117 print_ip_sym(pc);
119 pc = unwind_stack(task, &sp, pc, ra); 118 pc = unwind_stack(task, &sp, pc, &ra);
120 ra = 0;
121 } while (pc); 119 } while (pc);
122 printk("\n"); 120 printk("\n");
123} 121}
124#else
125#define show_backtrace(task, r) show_raw_backtrace((r)->regs[29]);
126#endif
127 122
128/* 123/*
129 * This routine abuses get_user()/put_user() to reference pointers 124 * This routine abuses get_user()/put_user() to reference pointers
@@ -158,28 +153,6 @@ static void show_stacktrace(struct task_struct *task, struct pt_regs *regs)
158 show_backtrace(task, regs); 153 show_backtrace(task, regs);
159} 154}
160 155
161static __always_inline void prepare_frametrace(struct pt_regs *regs)
162{
163 __asm__ __volatile__(
164 ".set push\n\t"
165 ".set noat\n\t"
166#ifdef CONFIG_64BIT
167 "1: dla $1, 1b\n\t"
168 "sd $1, %0\n\t"
169 "sd $29, %1\n\t"
170 "sd $31, %2\n\t"
171#else
172 "1: la $1, 1b\n\t"
173 "sw $1, %0\n\t"
174 "sw $29, %1\n\t"
175 "sw $31, %2\n\t"
176#endif
177 ".set pop\n\t"
178 : "=m" (regs->cp0_epc),
179 "=m" (regs->regs[29]), "=m" (regs->regs[31])
180 : : "memory");
181}
182
183void show_stack(struct task_struct *task, unsigned long *sp) 156void show_stack(struct task_struct *task, unsigned long *sp)
184{ 157{
185 struct pt_regs regs; 158 struct pt_regs regs;
@@ -206,11 +179,6 @@ void dump_stack(void)
206{ 179{
207 struct pt_regs regs; 180 struct pt_regs regs;
208 181
209 /*
210 * Remove any garbage that may be in regs (specially func
211 * addresses) to avoid show_raw_backtrace() to report them
212 */
213 memset(&regs, 0, sizeof(regs));
214 prepare_frametrace(&regs); 182 prepare_frametrace(&regs);
215 show_backtrace(current, &regs); 183 show_backtrace(current, &regs);
216} 184}
diff --git a/arch/mips/mm/c-r3k.c b/arch/mips/mm/c-r3k.c
index e1f35ef81145..d1af42c2a52e 100644
--- a/arch/mips/mm/c-r3k.c
+++ b/arch/mips/mm/c-r3k.c
@@ -268,26 +268,6 @@ static void r3k_flush_data_cache_page(unsigned long addr)
268{ 268{
269} 269}
270 270
271static void r3k_flush_icache_page(struct vm_area_struct *vma, struct page *page)
272{
273 struct mm_struct *mm = vma->vm_mm;
274 unsigned long physpage;
275
276 if (cpu_context(smp_processor_id(), mm) == 0)
277 return;
278
279 if (!(vma->vm_flags & VM_EXEC))
280 return;
281
282#ifdef DEBUG_CACHE
283 printk("cpage[%d,%08lx]", cpu_context(smp_processor_id(), mm), page);
284#endif
285
286 physpage = (unsigned long) page_address(page);
287 if (physpage)
288 r3k_flush_icache_range(physpage, physpage + PAGE_SIZE);
289}
290
291static void r3k_flush_cache_sigtramp(unsigned long addr) 271static void r3k_flush_cache_sigtramp(unsigned long addr)
292{ 272{
293 unsigned long flags; 273 unsigned long flags;
@@ -335,7 +315,6 @@ void __init r3k_cache_init(void)
335 flush_cache_mm = r3k_flush_cache_mm; 315 flush_cache_mm = r3k_flush_cache_mm;
336 flush_cache_range = r3k_flush_cache_range; 316 flush_cache_range = r3k_flush_cache_range;
337 flush_cache_page = r3k_flush_cache_page; 317 flush_cache_page = r3k_flush_cache_page;
338 __flush_icache_page = r3k_flush_icache_page;
339 flush_icache_range = r3k_flush_icache_range; 318 flush_icache_range = r3k_flush_icache_range;
340 319
341 flush_cache_sigtramp = r3k_flush_cache_sigtramp; 320 flush_cache_sigtramp = r3k_flush_cache_sigtramp;
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 0b2da53750bd..cc895dad71d2 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -551,82 +551,6 @@ static void r4k_flush_icache_range(unsigned long start, unsigned long end)
551 instruction_hazard(); 551 instruction_hazard();
552} 552}
553 553
554/*
555 * Ok, this seriously sucks. We use them to flush a user page but don't
556 * know the virtual address, so we have to blast away the whole icache
557 * which is significantly more expensive than the real thing. Otoh we at
558 * least know the kernel address of the page so we can flush it
559 * selectivly.
560 */
561
562struct flush_icache_page_args {
563 struct vm_area_struct *vma;
564 struct page *page;
565};
566
567static inline void local_r4k_flush_icache_page(void *args)
568{
569 struct flush_icache_page_args *fip_args = args;
570 struct vm_area_struct *vma = fip_args->vma;
571 struct page *page = fip_args->page;
572
573 /*
574 * Tricky ... Because we don't know the virtual address we've got the
575 * choice of either invalidating the entire primary and secondary
576 * caches or invalidating the secondary caches also. With the subset
577 * enforcment on R4000SC, R4400SC, R10000 and R12000 invalidating the
578 * secondary cache will result in any entries in the primary caches
579 * also getting invalidated which hopefully is a bit more economical.
580 */
581 if (cpu_has_inclusive_pcaches) {
582 unsigned long addr = (unsigned long) page_address(page);
583
584 r4k_blast_scache_page(addr);
585 ClearPageDcacheDirty(page);
586
587 return;
588 }
589
590 if (!cpu_has_ic_fills_f_dc) {
591 unsigned long addr = (unsigned long) page_address(page);
592 r4k_blast_dcache_page(addr);
593 if (!cpu_icache_snoops_remote_store)
594 r4k_blast_scache_page(addr);
595 ClearPageDcacheDirty(page);
596 }
597
598 /*
599 * We're not sure of the virtual address(es) involved here, so
600 * we have to flush the entire I-cache.
601 */
602 if (cpu_has_vtag_icache && vma->vm_mm == current->active_mm) {
603 int cpu = smp_processor_id();
604
605 if (cpu_context(cpu, vma->vm_mm) != 0)
606 drop_mmu_context(vma->vm_mm, cpu);
607 } else
608 r4k_blast_icache();
609}
610
611static void r4k_flush_icache_page(struct vm_area_struct *vma,
612 struct page *page)
613{
614 struct flush_icache_page_args args;
615
616 /*
617 * If there's no context yet, or the page isn't executable, no I-cache
618 * flush is needed.
619 */
620 if (!(vma->vm_flags & VM_EXEC))
621 return;
622
623 args.vma = vma;
624 args.page = page;
625
626 r4k_on_each_cpu(local_r4k_flush_icache_page, &args, 1, 1);
627}
628
629
630#ifdef CONFIG_DMA_NONCOHERENT 554#ifdef CONFIG_DMA_NONCOHERENT
631 555
632static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size) 556static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size)
@@ -1291,7 +1215,6 @@ void __init r4k_cache_init(void)
1291 __flush_cache_all = r4k___flush_cache_all; 1215 __flush_cache_all = r4k___flush_cache_all;
1292 flush_cache_mm = r4k_flush_cache_mm; 1216 flush_cache_mm = r4k_flush_cache_mm;
1293 flush_cache_page = r4k_flush_cache_page; 1217 flush_cache_page = r4k_flush_cache_page;
1294 __flush_icache_page = r4k_flush_icache_page;
1295 flush_cache_range = r4k_flush_cache_range; 1218 flush_cache_range = r4k_flush_cache_range;
1296 1219
1297 flush_cache_sigtramp = r4k_flush_cache_sigtramp; 1220 flush_cache_sigtramp = r4k_flush_cache_sigtramp;
diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c
index 16bad7c0a63f..5537558f19f7 100644
--- a/arch/mips/mm/c-sb1.c
+++ b/arch/mips/mm/c-sb1.c
@@ -307,66 +307,6 @@ void sb1_flush_icache_range(unsigned long start, unsigned long end)
307#endif 307#endif
308 308
309/* 309/*
310 * Flush the icache for a given physical page. Need to writeback the
311 * dcache first, then invalidate the icache. If the page isn't
312 * executable, nothing is required.
313 */
314static void local_sb1_flush_icache_page(struct vm_area_struct *vma,
315 struct page *page)
316{
317 unsigned long start;
318 int cpu = smp_processor_id();
319
320#ifndef CONFIG_SMP
321 if (!(vma->vm_flags & VM_EXEC))
322 return;
323#endif
324
325 /* Need to writeback any dirty data for that page, we have the PA */
326 start = (unsigned long)(page-mem_map) << PAGE_SHIFT;
327 __sb1_writeback_inv_dcache_phys_range(start, start + PAGE_SIZE);
328 /*
329 * If there's a context, bump the ASID (cheaper than a flush,
330 * since we don't know VAs!)
331 */
332 if (vma->vm_mm == current->active_mm) {
333 if (cpu_context(cpu, vma->vm_mm) != 0)
334 drop_mmu_context(vma->vm_mm, cpu);
335 } else
336 __sb1_flush_icache_range(start, start + PAGE_SIZE);
337
338}
339
340#ifdef CONFIG_SMP
341struct flush_icache_page_args {
342 struct vm_area_struct *vma;
343 struct page *page;
344};
345
346static void sb1_flush_icache_page_ipi(void *info)
347{
348 struct flush_icache_page_args *args = info;
349 local_sb1_flush_icache_page(args->vma, args->page);
350}
351
352/* Dirty dcache could be on another CPU, so do the IPIs */
353static void sb1_flush_icache_page(struct vm_area_struct *vma,
354 struct page *page)
355{
356 struct flush_icache_page_args args;
357
358 if (!(vma->vm_flags & VM_EXEC))
359 return;
360 args.vma = vma;
361 args.page = page;
362 on_each_cpu(sb1_flush_icache_page_ipi, (void *) &args, 1, 1);
363}
364#else
365void sb1_flush_icache_page(struct vm_area_struct *vma, struct page *page)
366 __attribute__((alias("local_sb1_flush_icache_page")));
367#endif
368
369/*
370 * A signal trampoline must fit into a single cacheline. 310 * A signal trampoline must fit into a single cacheline.
371 */ 311 */
372static void local_sb1_flush_cache_sigtramp(unsigned long addr) 312static void local_sb1_flush_cache_sigtramp(unsigned long addr)
@@ -526,7 +466,6 @@ void sb1_cache_init(void)
526 466
527 /* These routines are for Icache coherence with the Dcache */ 467 /* These routines are for Icache coherence with the Dcache */
528 flush_icache_range = sb1_flush_icache_range; 468 flush_icache_range = sb1_flush_icache_range;
529 __flush_icache_page = sb1_flush_icache_page;
530 flush_icache_all = __sb1_flush_icache_all; /* local only */ 469 flush_icache_all = __sb1_flush_icache_all; /* local only */
531 470
532 /* This implies an Icache flush too, so can't be nop'ed */ 471 /* This implies an Icache flush too, so can't be nop'ed */
diff --git a/arch/mips/mm/c-tx39.c b/arch/mips/mm/c-tx39.c
index 932a09d7ef84..f32ebde30ccf 100644
--- a/arch/mips/mm/c-tx39.c
+++ b/arch/mips/mm/c-tx39.c
@@ -248,33 +248,6 @@ static void tx39_flush_icache_range(unsigned long start, unsigned long end)
248 } 248 }
249} 249}
250 250
251/*
252 * Ok, this seriously sucks. We use them to flush a user page but don't
253 * know the virtual address, so we have to blast away the whole icache
254 * which is significantly more expensive than the real thing. Otoh we at
255 * least know the kernel address of the page so we can flush it
256 * selectivly.
257 */
258static void tx39_flush_icache_page(struct vm_area_struct *vma, struct page *page)
259{
260 unsigned long addr;
261 /*
262 * If there's no context yet, or the page isn't executable, no icache
263 * flush is needed.
264 */
265 if (!(vma->vm_flags & VM_EXEC))
266 return;
267
268 addr = (unsigned long) page_address(page);
269 tx39_blast_dcache_page(addr);
270
271 /*
272 * We're not sure of the virtual address(es) involved here, so
273 * we have to flush the entire I-cache.
274 */
275 tx39_blast_icache();
276}
277
278static void tx39_dma_cache_wback_inv(unsigned long addr, unsigned long size) 251static void tx39_dma_cache_wback_inv(unsigned long addr, unsigned long size)
279{ 252{
280 unsigned long end; 253 unsigned long end;
@@ -382,7 +355,6 @@ void __init tx39_cache_init(void)
382 flush_cache_mm = (void *) tx39h_flush_icache_all; 355 flush_cache_mm = (void *) tx39h_flush_icache_all;
383 flush_cache_range = (void *) tx39h_flush_icache_all; 356 flush_cache_range = (void *) tx39h_flush_icache_all;
384 flush_cache_page = (void *) tx39h_flush_icache_all; 357 flush_cache_page = (void *) tx39h_flush_icache_all;
385 __flush_icache_page = (void *) tx39h_flush_icache_all;
386 flush_icache_range = (void *) tx39h_flush_icache_all; 358 flush_icache_range = (void *) tx39h_flush_icache_all;
387 359
388 flush_cache_sigtramp = (void *) tx39h_flush_icache_all; 360 flush_cache_sigtramp = (void *) tx39h_flush_icache_all;
@@ -408,7 +380,6 @@ void __init tx39_cache_init(void)
408 flush_cache_mm = tx39_flush_cache_mm; 380 flush_cache_mm = tx39_flush_cache_mm;
409 flush_cache_range = tx39_flush_cache_range; 381 flush_cache_range = tx39_flush_cache_range;
410 flush_cache_page = tx39_flush_cache_page; 382 flush_cache_page = tx39_flush_cache_page;
411 __flush_icache_page = tx39_flush_icache_page;
412 flush_icache_range = tx39_flush_icache_range; 383 flush_icache_range = tx39_flush_icache_range;
413 384
414 flush_cache_sigtramp = tx39_flush_cache_sigtramp; 385 flush_cache_sigtramp = tx39_flush_cache_sigtramp;
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c
index 40c8b0235183..caf807ded514 100644
--- a/arch/mips/mm/cache.c
+++ b/arch/mips/mm/cache.c
@@ -25,7 +25,6 @@ void (*flush_cache_range)(struct vm_area_struct *vma, unsigned long start,
25void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, 25void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page,
26 unsigned long pfn); 26 unsigned long pfn);
27void (*flush_icache_range)(unsigned long start, unsigned long end); 27void (*flush_icache_range)(unsigned long start, unsigned long end);
28void (*__flush_icache_page)(struct vm_area_struct *vma, struct page *page);
29 28
30/* MIPS specific cache operations */ 29/* MIPS specific cache operations */
31void (*flush_cache_sigtramp)(unsigned long addr); 30void (*flush_cache_sigtramp)(unsigned long addr);
diff --git a/arch/mips/mm/tlbex-fault.S b/arch/mips/mm/tlbex-fault.S
index 9e7f4175b493..e99eaa1fbedc 100644
--- a/arch/mips/mm/tlbex-fault.S
+++ b/arch/mips/mm/tlbex-fault.S
@@ -19,8 +19,8 @@
19 move a0, sp 19 move a0, sp
20 REG_S a2, PT_BVADDR(sp) 20 REG_S a2, PT_BVADDR(sp)
21 li a1, \write 21 li a1, \write
22 jal do_page_fault 22 PTR_LA ra, ret_from_exception
23 j ret_from_exception 23 j do_page_fault
24 END(tlb_do_page_fault_\write) 24 END(tlb_do_page_fault_\write)
25 .endm 25 .endm
26 26
diff --git a/arch/mips/sgi-ip22/ip22-reset.c b/arch/mips/sgi-ip22/ip22-reset.c
index 8134220ed600..7a941ecff3bb 100644
--- a/arch/mips/sgi-ip22/ip22-reset.c
+++ b/arch/mips/sgi-ip22/ip22-reset.c
@@ -123,7 +123,8 @@ static inline void power_button(void)
123 if (machine_state & MACHINE_PANICED) 123 if (machine_state & MACHINE_PANICED)
124 return; 124 return;
125 125
126 if ((machine_state & MACHINE_SHUTTING_DOWN) || kill_proc(1,SIGINT,1)) { 126 if ((machine_state & MACHINE_SHUTTING_DOWN) ||
127 kill_cad_pid(SIGINT, 1)) {
127 /* No init process or button pressed twice. */ 128 /* No init process or button pressed twice. */
128 sgi_machine_power_off(); 129 sgi_machine_power_off();
129 } 130 }
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c
index c62a3a9ef867..257ce118e380 100644
--- a/arch/mips/sgi-ip27/ip27-timer.c
+++ b/arch/mips/sgi-ip27/ip27-timer.c
@@ -42,8 +42,6 @@
42static unsigned long ct_cur[NR_CPUS]; /* What counter should be at next timer irq */ 42static unsigned long ct_cur[NR_CPUS]; /* What counter should be at next timer irq */
43static long last_rtc_update; /* Last time the rtc clock got updated */ 43static long last_rtc_update; /* Last time the rtc clock got updated */
44 44
45extern volatile unsigned long wall_jiffies;
46
47#if 0 45#if 0
48static int set_rtc_mmss(unsigned long nowtime) 46static int set_rtc_mmss(unsigned long nowtime)
49{ 47{
diff --git a/arch/mips/sgi-ip32/ip32-reset.c b/arch/mips/sgi-ip32/ip32-reset.c
index 79ddb4605659..fd0932b2d521 100644
--- a/arch/mips/sgi-ip32/ip32-reset.c
+++ b/arch/mips/sgi-ip32/ip32-reset.c
@@ -120,7 +120,7 @@ static inline void ip32_power_button(void)
120 if (has_panicked) 120 if (has_panicked)
121 return; 121 return;
122 122
123 if (shuting_down || kill_proc(1, SIGINT, 1)) { 123 if (shuting_down || kill_cad_pid(SIGINT, 1)) {
124 /* No init process or button pressed twice. */ 124 /* No init process or button pressed twice. */
125 ip32_machine_power_off(); 125 ip32_machine_power_off();
126 } 126 }
diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c
index d7c80edf4489..6e79dbf3f6bd 100644
--- a/arch/parisc/hpux/fs.c
+++ b/arch/parisc/hpux/fs.c
@@ -77,17 +77,21 @@ static int filldir(void * __buf, const char * name, int namlen, loff_t offset,
77{ 77{
78 struct hpux_dirent * dirent; 78 struct hpux_dirent * dirent;
79 struct getdents_callback * buf = (struct getdents_callback *) __buf; 79 struct getdents_callback * buf = (struct getdents_callback *) __buf;
80 ino_t d_ino;
80 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 81 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1);
81 82
82 buf->error = -EINVAL; /* only used if we fail.. */ 83 buf->error = -EINVAL; /* only used if we fail.. */
83 if (reclen > buf->count) 84 if (reclen > buf->count)
84 return -EINVAL; 85 return -EINVAL;
86 d_ino = ino;
87 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
88 return -EOVERFLOW;
85 dirent = buf->previous; 89 dirent = buf->previous;
86 if (dirent) 90 if (dirent)
87 put_user(offset, &dirent->d_off); 91 put_user(offset, &dirent->d_off);
88 dirent = buf->current_dir; 92 dirent = buf->current_dir;
89 buf->previous = dirent; 93 buf->previous = dirent;
90 put_user(ino, &dirent->d_ino); 94 put_user(d_ino, &dirent->d_ino);
91 put_user(reclen, &dirent->d_reclen); 95 put_user(reclen, &dirent->d_reclen);
92 put_user(namlen, &dirent->d_namlen); 96 put_user(namlen, &dirent->d_namlen);
93 copy_to_user(dirent->d_name, name, namlen); 97 copy_to_user(dirent->d_name, name, namlen);
diff --git a/arch/parisc/hpux/sys_hpux.c b/arch/parisc/hpux/sys_hpux.c
index cb69727027ae..2e2dc4f2c853 100644
--- a/arch/parisc/hpux/sys_hpux.c
+++ b/arch/parisc/hpux/sys_hpux.c
@@ -266,16 +266,21 @@ static int hpux_uname(struct hpux_utsname *name)
266 266
267 down_read(&uts_sem); 267 down_read(&uts_sem);
268 268
269 error = __copy_to_user(&name->sysname,&system_utsname.sysname,HPUX_UTSLEN-1); 269 error = __copy_to_user(&name->sysname, &utsname()->sysname,
270 error |= __put_user(0,name->sysname+HPUX_UTSLEN-1); 270 HPUX_UTSLEN - 1);
271 error |= __copy_to_user(&name->nodename,&system_utsname.nodename,HPUX_UTSLEN-1); 271 error |= __put_user(0, name->sysname + HPUX_UTSLEN - 1);
272 error |= __put_user(0,name->nodename+HPUX_UTSLEN-1); 272 error |= __copy_to_user(&name->nodename, &utsname()->nodename,
273 error |= __copy_to_user(&name->release,&system_utsname.release,HPUX_UTSLEN-1); 273 HPUX_UTSLEN - 1);
274 error |= __put_user(0,name->release+HPUX_UTSLEN-1); 274 error |= __put_user(0, name->nodename + HPUX_UTSLEN - 1);
275 error |= __copy_to_user(&name->version,&system_utsname.version,HPUX_UTSLEN-1); 275 error |= __copy_to_user(&name->release, &utsname()->release,
276 error |= __put_user(0,name->version+HPUX_UTSLEN-1); 276 HPUX_UTSLEN - 1);
277 error |= __copy_to_user(&name->machine,&system_utsname.machine,HPUX_UTSLEN-1); 277 error |= __put_user(0, name->release + HPUX_UTSLEN - 1);
278 error |= __put_user(0,name->machine+HPUX_UTSLEN-1); 278 error |= __copy_to_user(&name->version, &utsname()->version,
279 HPUX_UTSLEN - 1);
280 error |= __put_user(0, name->version + HPUX_UTSLEN - 1);
281 error |= __copy_to_user(&name->machine, &utsname()->machine,
282 HPUX_UTSLEN - 1);
283 error |= __put_user(0, name->machine + HPUX_UTSLEN - 1);
279 284
280 up_read(&uts_sem); 285 up_read(&uts_sem);
281 286
@@ -373,8 +378,8 @@ int hpux_utssys(char *ubuf, int n, int type)
373 /* TODO: print a warning about using this? */ 378 /* TODO: print a warning about using this? */
374 down_write(&uts_sem); 379 down_write(&uts_sem);
375 error = -EFAULT; 380 error = -EFAULT;
376 if (!copy_from_user(system_utsname.sysname, ubuf, len)) { 381 if (!copy_from_user(utsname()->sysname, ubuf, len)) {
377 system_utsname.sysname[len] = 0; 382 utsname()->sysname[len] = 0;
378 error = 0; 383 error = 0;
379 } 384 }
380 up_write(&uts_sem); 385 up_write(&uts_sem);
@@ -400,8 +405,8 @@ int hpux_utssys(char *ubuf, int n, int type)
400 /* TODO: print a warning about this? */ 405 /* TODO: print a warning about this? */
401 down_write(&uts_sem); 406 down_write(&uts_sem);
402 error = -EFAULT; 407 error = -EFAULT;
403 if (!copy_from_user(system_utsname.release, ubuf, len)) { 408 if (!copy_from_user(utsname()->release, ubuf, len)) {
404 system_utsname.release[len] = 0; 409 utsname()->release[len] = 0;
405 error = 0; 410 error = 0;
406 } 411 }
407 up_write(&uts_sem); 412 up_write(&uts_sem);
@@ -422,13 +427,13 @@ int hpux_getdomainname(char *name, int len)
422 427
423 down_read(&uts_sem); 428 down_read(&uts_sem);
424 429
425 nlen = strlen(system_utsname.domainname) + 1; 430 nlen = strlen(utsname()->domainname) + 1;
426 431
427 if (nlen < len) 432 if (nlen < len)
428 len = nlen; 433 len = nlen;
429 if(len > __NEW_UTS_LEN) 434 if(len > __NEW_UTS_LEN)
430 goto done; 435 goto done;
431 if(copy_to_user(name, system_utsname.domainname, len)) 436 if(copy_to_user(name, utsname()->domainname, len))
432 goto done; 437 goto done;
433 err = 0; 438 err = 0;
434done: 439done:
diff --git a/arch/parisc/kernel/firmware.c b/arch/parisc/kernel/firmware.c
index 4398d2a95789..c2531ae032cf 100644
--- a/arch/parisc/kernel/firmware.c
+++ b/arch/parisc/kernel/firmware.c
@@ -1049,7 +1049,7 @@ void pdc_iodc_putc(unsigned char c)
1049 static int __attribute__((aligned(8))) iodc_retbuf[32]; 1049 static int __attribute__((aligned(8))) iodc_retbuf[32];
1050 static char __attribute__((aligned(64))) iodc_dbuf[4096]; 1050 static char __attribute__((aligned(64))) iodc_dbuf[4096];
1051 unsigned int n; 1051 unsigned int n;
1052 unsigned int flags; 1052 unsigned long flags;
1053 1053
1054 switch (c) { 1054 switch (c) {
1055 case '\n': 1055 case '\n':
@@ -1088,7 +1088,8 @@ void pdc_iodc_putc(unsigned char c)
1088 */ 1088 */
1089void pdc_iodc_outc(unsigned char c) 1089void pdc_iodc_outc(unsigned char c)
1090{ 1090{
1091 unsigned int n, flags; 1091 unsigned int n;
1092 unsigned long flags;
1092 1093
1093 /* fill buffer with one caracter and print it */ 1094 /* fill buffer with one caracter and print it */
1094 static int __attribute__((aligned(8))) iodc_retbuf[32]; 1095 static int __attribute__((aligned(8))) iodc_retbuf[32];
@@ -1113,7 +1114,7 @@ void pdc_iodc_outc(unsigned char c)
1113 */ 1114 */
1114int pdc_iodc_getc(void) 1115int pdc_iodc_getc(void)
1115{ 1116{
1116 unsigned int flags; 1117 unsigned long flags;
1117 static int __attribute__((aligned(8))) iodc_retbuf[32]; 1118 static int __attribute__((aligned(8))) iodc_retbuf[32];
1118 static char __attribute__((aligned(64))) iodc_dbuf[4096]; 1119 static char __attribute__((aligned(64))) iodc_dbuf[4096];
1119 int ch; 1120 int ch;
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 0b485ef4be89..2f9f9dfa66f7 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -368,7 +368,14 @@ out:
368 return error; 368 return error;
369} 369}
370 370
371unsigned long 371extern int __execve(const char *filename, char *const argv[],
372 char *const envp[], struct task_struct *task);
373int kernel_execve(const char *filename, char *const argv[], char *const envp[])
374{
375 return __execve(filename, argv, envp, current);
376}
377
378unsigned long
372get_wchan(struct task_struct *p) 379get_wchan(struct task_struct *p)
373{ 380{
374 struct unwind_frame_info info; 381 struct unwind_frame_info info;
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c
index b74869803081..e3b30bc36453 100644
--- a/arch/parisc/kernel/sys_parisc32.c
+++ b/arch/parisc/kernel/sys_parisc32.c
@@ -237,14 +237,19 @@ int sys32_settimeofday(struct compat_timeval __user *tv, struct timezone __user
237 237
238int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) 238int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf)
239{ 239{
240 compat_ino_t ino;
240 int err; 241 int err;
241 242
242 if (stat->size > MAX_NON_LFS || !new_valid_dev(stat->dev) || 243 if (stat->size > MAX_NON_LFS || !new_valid_dev(stat->dev) ||
243 !new_valid_dev(stat->rdev)) 244 !new_valid_dev(stat->rdev))
244 return -EOVERFLOW; 245 return -EOVERFLOW;
245 246
247 ino = stat->ino;
248 if (sizeof(ino) < sizeof(stat->ino) && ino != stat->ino)
249 return -EOVERFLOW;
250
246 err = put_user(new_encode_dev(stat->dev), &statbuf->st_dev); 251 err = put_user(new_encode_dev(stat->dev), &statbuf->st_dev);
247 err |= put_user(stat->ino, &statbuf->st_ino); 252 err |= put_user(ino, &statbuf->st_ino);
248 err |= put_user(stat->mode, &statbuf->st_mode); 253 err |= put_user(stat->mode, &statbuf->st_mode);
249 err |= put_user(stat->nlink, &statbuf->st_nlink); 254 err |= put_user(stat->nlink, &statbuf->st_nlink);
250 err |= put_user(0, &statbuf->st_reserved1); 255 err |= put_user(0, &statbuf->st_reserved1);
@@ -312,16 +317,20 @@ filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino,
312 struct linux32_dirent __user * dirent; 317 struct linux32_dirent __user * dirent;
313 struct getdents32_callback * buf = (struct getdents32_callback *) __buf; 318 struct getdents32_callback * buf = (struct getdents32_callback *) __buf;
314 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1, 4); 319 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1, 4);
320 u32 d_ino;
315 321
316 buf->error = -EINVAL; /* only used if we fail.. */ 322 buf->error = -EINVAL; /* only used if we fail.. */
317 if (reclen > buf->count) 323 if (reclen > buf->count)
318 return -EINVAL; 324 return -EINVAL;
325 d_ino = ino;
326 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
327 return -EOVERFLOW;
319 dirent = buf->previous; 328 dirent = buf->previous;
320 if (dirent) 329 if (dirent)
321 put_user(offset, &dirent->d_off); 330 put_user(offset, &dirent->d_off);
322 dirent = buf->current_dir; 331 dirent = buf->current_dir;
323 buf->previous = dirent; 332 buf->previous = dirent;
324 put_user(ino, &dirent->d_ino); 333 put_user(d_ino, &dirent->d_ino);
325 put_user(reclen, &dirent->d_reclen); 334 put_user(reclen, &dirent->d_reclen);
326 copy_to_user(dirent->d_name, name, namlen); 335 copy_to_user(dirent->d_name, name, namlen);
327 put_user(0, dirent->d_name + namlen); 336 put_user(0, dirent->d_name + namlen);
@@ -371,12 +380,16 @@ fillonedir32 (void * __buf, const char * name, int namlen, loff_t offset, ino_t
371{ 380{
372 struct readdir32_callback * buf = (struct readdir32_callback *) __buf; 381 struct readdir32_callback * buf = (struct readdir32_callback *) __buf;
373 struct old_linux32_dirent __user * dirent; 382 struct old_linux32_dirent __user * dirent;
383 u32 d_ino;
374 384
375 if (buf->count) 385 if (buf->count)
376 return -EINVAL; 386 return -EINVAL;
387 d_ino = ino;
388 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
389 return -EOVERFLOW;
377 buf->count++; 390 buf->count++;
378 dirent = buf->dirent; 391 dirent = buf->dirent;
379 put_user(ino, &dirent->d_ino); 392 put_user(d_ino, &dirent->d_ino);
380 put_user(offset, &dirent->d_offset); 393 put_user(offset, &dirent->d_offset);
381 put_user(namlen, &dirent->d_namlen); 394 put_user(namlen, &dirent->d_namlen);
382 copy_to_user(dirent->d_name, name, namlen); 395 copy_to_user(dirent->d_name, name, namlen);
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 700df10924dd..ab641d67f551 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -32,9 +32,6 @@
32 32
33#include <linux/timex.h> 33#include <linux/timex.h>
34 34
35/* xtime and wall_jiffies keep wall-clock time */
36extern unsigned long wall_jiffies;
37
38static long clocktick __read_mostly; /* timer cycles per tick */ 35static long clocktick __read_mostly; /* timer cycles per tick */
39static long halftick __read_mostly; 36static long halftick __read_mostly;
40 37
@@ -112,7 +109,7 @@ EXPORT_SYMBOL(profile_pc);
112/*** converted from ia64 ***/ 109/*** converted from ia64 ***/
113/* 110/*
114 * Return the number of micro-seconds that elapsed since the last 111 * Return the number of micro-seconds that elapsed since the last
115 * update to wall time (aka xtime aka wall_jiffies). The xtime_lock 112 * update to wall time (aka xtime). The xtime_lock
116 * must be at least read-locked when calling this routine. 113 * must be at least read-locked when calling this routine.
117 */ 114 */
118static inline unsigned long 115static inline unsigned long
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index a0dd1b0ee483..032e6ab5d3c4 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -1069,7 +1069,7 @@ source "arch/powerpc/oprofile/Kconfig"
1069 1069
1070config KPROBES 1070config KPROBES
1071 bool "Kprobes (EXPERIMENTAL)" 1071 bool "Kprobes (EXPERIMENTAL)"
1072 depends on PPC64 && EXPERIMENTAL && MODULES 1072 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
1073 help 1073 help
1074 Kprobes allows you to trap at almost any kernel address and 1074 Kprobes allows you to trap at almost any kernel address and
1075 execute a callback function. register_kprobe() establishes 1075 execute a callback function. register_kprobe() establishes
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 01667d1d571d..a00fe7236555 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -20,6 +20,7 @@ CROSS32_COMPILE ?=
20CROSS32CC := $(CROSS32_COMPILE)gcc 20CROSS32CC := $(CROSS32_COMPILE)gcc
21CROSS32AS := $(CROSS32_COMPILE)as 21CROSS32AS := $(CROSS32_COMPILE)as
22CROSS32LD := $(CROSS32_COMPILE)ld 22CROSS32LD := $(CROSS32_COMPILE)ld
23CROSS32AR := $(CROSS32_COMPILE)ar
23CROSS32OBJCOPY := $(CROSS32_COMPILE)objcopy 24CROSS32OBJCOPY := $(CROSS32_COMPILE)objcopy
24 25
25ifeq ($(HAS_BIARCH),y) 26ifeq ($(HAS_BIARCH),y)
@@ -28,10 +29,11 @@ CROSS32CC := $(CC) -m32
28CROSS32AS := $(AS) -a32 29CROSS32AS := $(AS) -a32
29CROSS32LD := $(LD) -m elf32ppc 30CROSS32LD := $(LD) -m elf32ppc
30CROSS32OBJCOPY := $(OBJCOPY) 31CROSS32OBJCOPY := $(OBJCOPY)
32CROSS32AR := $(AR)
31endif 33endif
32endif 34endif
33 35
34export CROSS32CC CROSS32AS CROSS32LD CROSS32OBJCOPY 36export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY
35 37
36KBUILD_DEFCONFIG := $(shell uname -m)_defconfig 38KBUILD_DEFCONFIG := $(shell uname -m)_defconfig
37 39
@@ -146,7 +148,7 @@ all: $(KBUILD_IMAGE)
146 148
147CPPFLAGS_vmlinux.lds := -Upowerpc 149CPPFLAGS_vmlinux.lds := -Upowerpc
148 150
149BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm uImage vmlinux.bin 151BOOT_TARGETS = zImage zImage.initrd uImage
150 152
151PHONY += $(BOOT_TARGETS) 153PHONY += $(BOOT_TARGETS)
152 154
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index e73774136b55..c383d56bbe18 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -20,33 +20,34 @@
20# CROSS32_COMPILE is setup as a prefix just like CROSS_COMPILE 20# CROSS32_COMPILE is setup as a prefix just like CROSS_COMPILE
21# in the toplevel makefile. 21# in the toplevel makefile.
22 22
23all: $(obj)/zImage
23 24
24HOSTCC := gcc 25HOSTCC := gcc
25BOOTCFLAGS := $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem \ 26BOOTCFLAGS := $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem \
26 $(shell $(CROSS32CC) -print-file-name=include) -fPIC 27 $(shell $(CROSS32CC) -print-file-name=include) -fPIC
27BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc 28BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
28OBJCOPYFLAGS := contents,alloc,load,readonly,data 29
29OBJCOPY_COFF_ARGS := -O aixcoff-rs6000 --set-start 0x500000 30ifeq ($(call cc-option-yn, -fstack-protector),y)
30OBJCOPY_MIB_ARGS := -O aixcoff-rs6000 -R .stab -R .stabstr -R .comment 31BOOTCFLAGS += -fno-stack-protector
32endif
33
34BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
31 35
32zlib := inffast.c inflate.c inftrees.c 36zlib := inffast.c inflate.c inftrees.c
33zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h 37zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h
34zliblinuxheader := zlib.h zconf.h zutil.h 38zliblinuxheader := zlib.h zconf.h zutil.h
35 39
36$(addprefix $(obj)/,$(zlib) main.o): $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader)) 40$(addprefix $(obj)/,$(zlib) main.o): $(addprefix $(obj)/,$(zliblinuxheader)) \
37#$(addprefix $(obj)/,main.o): $(addprefix $(obj)/,zlib.h) 41 $(addprefix $(obj)/,$(zlibheader))
42
43src-wlib := string.S stdio.c main.c div64.S $(zlib)
44src-plat := of.c
45src-boot := crt0.S $(src-wlib) $(src-plat) empty.c
38 46
39src-boot-$(CONFIG_PPC_MULTIPLATFORM) := of.c
40src-boot := crt0.S string.S stdio.c main.c div64.S $(src-boot-y)
41src-boot += $(zlib)
42src-boot := $(addprefix $(obj)/, $(src-boot)) 47src-boot := $(addprefix $(obj)/, $(src-boot))
43obj-boot := $(addsuffix .o, $(basename $(src-boot))) 48obj-boot := $(addsuffix .o, $(basename $(src-boot)))
44 49obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-wlib))))
45ifeq ($(call cc-option-yn, -fstack-protector),y) 50obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat))))
46BOOTCFLAGS += -fno-stack-protector
47endif
48
49BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
50 51
51quiet_cmd_copy_zlib = COPY $@ 52quiet_cmd_copy_zlib = COPY $@
52 cmd_copy_zlib = sed "s@__attribute_used__@@;s@<linux/\([^>]\+\).*@\"\1\"@" $< > $@ 53 cmd_copy_zlib = sed "s@__attribute_used__@@;s@<linux/\([^>]\+\).*@\"\1\"@" $< > $@
@@ -66,8 +67,14 @@ $(addprefix $(obj)/,$(zlibheader)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
66$(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/% 67$(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/%
67 $(call cmd,copy_zliblinuxheader) 68 $(call cmd,copy_zliblinuxheader)
68 69
69clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) 70$(obj)/empty.c:
71 @touch $@
72
73$(obj)/zImage.lds $(obj)/zImage.coff.lds: $(obj)/%: $(srctree)/$(src)/%.S
74 @cp $< $@
70 75
76clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
77 $(obj)/empty.c
71 78
72quiet_cmd_bootcc = BOOTCC $@ 79quiet_cmd_bootcc = BOOTCC $@
73 cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $< 80 cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $<
@@ -75,146 +82,97 @@ quiet_cmd_bootcc = BOOTCC $@
75quiet_cmd_bootas = BOOTAS $@ 82quiet_cmd_bootas = BOOTAS $@
76 cmd_bootas = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTAFLAGS) -c -o $@ $< 83 cmd_bootas = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTAFLAGS) -c -o $@ $<
77 84
78quiet_cmd_bootld = BOOTLD $@ 85quiet_cmd_bootar = BOOTAR $@
79 cmd_bootld = $(CROSS32LD) -T $(srctree)/$(src)/$(3) -o $@ $(2) 86 cmd_bootar = $(CROSS32AR) -cr $@.$$$$ $^; mv $@.$$$$ $@
80 87
81$(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c 88$(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c
82 $(call if_changed_dep,bootcc) 89 $(call if_changed_dep,bootcc)
83$(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S 90$(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S
84 $(call if_changed_dep,bootas) 91 $(call if_changed_dep,bootas)
85 92
86#----------------------------------------------------------- 93$(obj)/wrapper.a: $(obj-wlib)
87# ELF sections within the zImage bootloader/wrapper 94 $(call cmd,bootar)
88#-----------------------------------------------------------
89required := vmlinux.strip
90initrd := initrd
91 95
92obj-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.o, $(section))) 96hostprogs-y := addnote addRamDisk hack-coff
93src-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.c, $(section)))
94gz-sec = $(foreach section, $(1), $(patsubst %,$(obj)/kernel-%.gz, $(section)))
95 97
96hostprogs-y := addnote addRamDisk hack-coff 98extra-y := $(obj)/crt0.o $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \
99 $(obj)/zImage.lds $(obj)/zImage.coff.lds
97 100
98targets += zImage.vmode zImage.initrd.vmode zImage zImage.initrd \ 101wrapper :=$(srctree)/$(src)/wrapper
99 zImage.coff zImage.initrd.coff miboot.image miboot.initrd.image \ 102wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff)
100 $(patsubst $(obj)/%,%, $(call obj-sec, $(required) $(initrd))) \
101 $(patsubst $(obj)/%,%, $(call src-sec, $(required) $(initrd))) \
102 $(patsubst $(obj)/%,%, $(call gz-sec, $(required) $(initrd))) \
103 vmlinux.initrd dummy.o
104extra-y := initrd.o
105 103
106quiet_cmd_ramdisk = RAMDISK $@ 104#############
107 cmd_ramdisk = $(obj)/addRamDisk $(obj)/ramdisk.image.gz $< $@ 105# Bits for building various flavours of zImage
108 106
109quiet_cmd_stripvm = STRIP $@ 107ifneq ($(CROSS32_COMPILE),)
110 cmd_stripvm = $(STRIP) -s -R .comment $< -o $@ 108CROSSWRAP := -C $(CROSS32_COMPILE)
109else
110ifneq ($(CROSS_COMPILE),)
111CROSSWRAP := -C $(CROSS_COMPILE)
112endif
113endif
111 114
112vmlinux.strip: vmlinux 115quiet_cmd_wrap = WRAP $@
113 $(call if_changed,stripvm) 116 cmd_wrap =$(wrapper) -c -o $@ -p $2 $(CROSSWRAP) vmlinux
114$(obj)/vmlinux.initrd: vmlinux.strip $(obj)/addRamDisk $(obj)/ramdisk.image.gz 117quiet_cmd_wrap_initrd = WRAP $@
115 $(call if_changed,ramdisk) 118 cmd_wrap_initrd =$(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
119 -i $(obj)/ramdisk.image.gz vmlinux
116 120
117quiet_cmd_addsection = ADDSEC $@ 121$(obj)/zImage.chrp: vmlinux $(wrapperbits)
118 cmd_addsection = $(CROSS32OBJCOPY) $@ \ 122 $(call cmd,wrap,chrp)
119 --add-section=.kernel:$(strip $(patsubst $(obj)/kernel-%.o,%, $@))=$(patsubst %.o,%.gz, $@) \
120 --set-section-flags=.kernel:$(strip $(patsubst $(obj)/kernel-%.o,%, $@))=$(OBJCOPYFLAGS)
121 123
122quiet_cmd_addnote = ADDNOTE $@ 124$(obj)/zImage.initrd.chrp: vmlinux $(wrapperbits)
123 cmd_addnote = $(obj)/addnote $@ 125 $(call cmd,wrap_initrd,chrp)
124 126
125quiet_cmd_gen-miboot = GEN $@ 127$(obj)/zImage.pseries: vmlinux $(wrapperbits)
126 cmd_gen-miboot = $(OBJCOPY) $(OBJCOPY_MIB_ARGS) \ 128 $(call cmd,wrap,pseries)
127 --add-section=$1=$(word 2, $^) $< $@
128 129
129quiet_cmd_gencoff = COFF $@ 130$(obj)/zImage.initrd.pseries: vmlinux $(wrapperbits)
130 cmd_gencoff = $(OBJCOPY) $(OBJCOPY_COFF_ARGS) $@ && \ 131 $(call cmd,wrap_initrd,pseries)
131 $(obj)/hack-coff $@
132 132
133$(call gz-sec, $(required)): $(obj)/kernel-%.gz: % 133$(obj)/zImage.pmac: vmlinux $(wrapperbits)
134 $(call if_changed,gzip) 134 $(call cmd,wrap,pmac)
135 135
136$(obj)/kernel-initrd.gz: $(obj)/ramdisk.image.gz 136$(obj)/zImage.initrd.pmac: vmlinux $(wrapperbits)
137 cp -f $(obj)/ramdisk.image.gz $@ 137 $(call cmd,wrap_initrd,pmac)
138 138
139$(call src-sec, $(required) $(initrd)): $(obj)/kernel-%.c: $(obj)/kernel-%.gz 139$(obj)/zImage.coff: vmlinux $(wrapperbits)
140 @touch $@ 140 $(call cmd,wrap,pmaccoff)
141 141
142$(call obj-sec, $(required) $(initrd)): $(obj)/kernel-%.o: $(obj)/kernel-%.c 142$(obj)/zImage.initrd.coff: vmlinux $(wrapperbits)
143 $(call if_changed_dep,bootcc) 143 $(call cmd,wrap_initrd,pmaccoff)
144 $(call cmd,addsection) 144
145$(obj)/zImage.miboot: vmlinux $(wrapperbits)
146 $(call cmd,wrap,miboot)
145 147
146$(obj)/zImage.vmode $(obj)/zImage.coff: obj-boot += $(call obj-sec, $(required)) 148$(obj)/zImage.initrd.miboot: vmlinux $(wrapperbits)
147$(obj)/zImage.vmode: $(call obj-sec, $(required)) $(obj-boot) $(srctree)/$(src)/zImage.lds 149 $(call cmd,wrap_initrd,miboot)
148 $(call cmd,bootld,$(obj-boot),zImage.lds)
149 150
150$(obj)/zImage.initrd.vmode $(obj)/zImage.initrd.coff: obj-boot += $(call obj-sec, $(required) $(initrd)) 151$(obj)/uImage: vmlinux $(wrapperbits)
151$(obj)/zImage.initrd.vmode: $(call obj-sec, $(required) $(initrd)) $(obj-boot) $(srctree)/$(src)/zImage.lds 152 $(call cmd,wrap,uboot)
152 $(call cmd,bootld,$(obj-boot),zImage.lds) 153
154image-$(CONFIG_PPC_PSERIES) += zImage.pseries
155image-$(CONFIG_PPC_MAPLE) += zImage.pseries
156image-$(CONFIG_PPC_CELL) += zImage.pseries
157image-$(CONFIG_PPC_CHRP) += zImage.chrp
158image-$(CONFIG_PPC_PMAC) += zImage.pmac
159image-$(CONFIG_DEFAULT_UIMAGE) += uImage
153 160
154# For 32-bit powermacs, build the COFF and miboot images 161# For 32-bit powermacs, build the COFF and miboot images
155# as well as the ELF images. 162# as well as the ELF images.
156coffimage-$(CONFIG_PPC_PMAC)-$(CONFIG_PPC32) := $(obj)/zImage.coff 163ifeq ($(CONFIG_PPC32),y)
157coffrdimg-$(CONFIG_PPC_PMAC)-$(CONFIG_PPC32) := $(obj)/zImage.initrd.coff 164image-$(CONFIG_PPC_PMAC) += zImage.coff zImage.miboot
158mibootimg-$(CONFIG_PPC_PMAC)-$(CONFIG_PPC32) := $(obj)/miboot.image 165endif
159mibrdimg-$(CONFIG_PPC_PMAC)-$(CONFIG_PPC32) := $(obj)/miboot.initrd.image 166
160 167initrd-y := $(patsubst zImage%, zImage.initrd%, $(image-y))
161$(obj)/zImage: $(obj)/zImage.vmode $(obj)/addnote $(coffimage-y-y) \ 168
162 $(mibootimg-y-y) 169$(obj)/zImage: $(addprefix $(obj)/, $(image-y))
163 @cp -f $< $@ 170 @rm -f $@; ln $< $@
164 $(call if_changed,addnote) 171$(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y))
165 172 @rm -f $@; ln $< $@
166$(obj)/zImage.initrd: $(obj)/zImage.initrd.vmode $(obj)/addnote \ 173
167 $(coffrdimg-y-y) $(mibrdimg-y-y) 174install: $(CONFIGURE) $(image-y)
168 @cp -f $< $@ 175 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $<
169 $(call if_changed,addnote) 176
170 177clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.strip.gz)
171$(obj)/zImage.coff: $(call obj-sec, $(required)) $(obj-boot) \ 178clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.bin.gz)
172 $(srctree)/$(src)/zImage.coff.lds $(obj)/hack-coff
173 $(call cmd,bootld,$(obj-boot),zImage.coff.lds)
174 $(call cmd,gencoff)
175
176$(obj)/zImage.initrd.coff: $(call obj-sec, $(required) $(initrd)) $(obj-boot) \
177 $(srctree)/$(src)/zImage.coff.lds $(obj)/hack-coff
178 $(call cmd,bootld,$(obj-boot),zImage.coff.lds)
179 $(call cmd,gencoff)
180
181$(obj)/miboot.image: $(obj)/dummy.o $(obj)/vmlinux.gz
182 $(call cmd,gen-miboot,image)
183
184$(obj)/miboot.initrd.image: $(obj)/miboot.image $(images)/ramdisk.image.gz
185 $(call cmd,gen-miboot,initrd)
186
187#-----------------------------------------------------------
188# build u-boot images
189#-----------------------------------------------------------
190quiet_cmd_mygzip = GZIP $@
191cmd_mygzip = gzip -f -9 < $< > $@.$$$$ && mv $@.$$$$ $@
192
193quiet_cmd_objbin = OBJCOPY $@
194 cmd_objbin = $(OBJCOPY) -O binary $< $@
195
196quiet_cmd_uimage = UIMAGE $@
197 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A ppc -O linux -T kernel \
198 -C gzip -a 00000000 -e 00000000 -n 'Linux-$(KERNELRELEASE)' \
199 -d $< $@
200
201MKIMAGE := $(srctree)/scripts/mkuboot.sh
202targets += uImage
203extra-y += vmlinux.bin vmlinux.gz
204
205$(obj)/vmlinux.bin: vmlinux FORCE
206 $(call if_changed,objbin)
207
208$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
209 $(call if_changed,mygzip)
210
211$(obj)/uImage: $(obj)/vmlinux.gz
212 $(Q)rm -f $@
213 $(call cmd,uimage)
214 @echo -n ' Image: $@ '
215 @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi
216
217install: $(CONFIGURE) $(BOOTIMAGE)
218 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" "$(BOOTIMAGE)"
219
220clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.strip)
diff --git a/arch/powerpc/boot/dts/mpc8560ads.dts b/arch/powerpc/boot/dts/mpc8560ads.dts
new file mode 100644
index 000000000000..2b168486aeba
--- /dev/null
+++ b/arch/powerpc/boot/dts/mpc8560ads.dts
@@ -0,0 +1,302 @@
1/*
2 * MPC8560 ADS Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
12
13/ {
14 model = "MPC8560ADS";
15 compatible = "MPC85xxADS";
16 #address-cells = <1>;
17 #size-cells = <1>;
18 linux,phandle = <100>;
19
20 cpus {
21 #cpus = <1>;
22 #address-cells = <1>;
23 #size-cells = <0>;
24 linux,phandle = <200>;
25
26 PowerPC,8560@0 {
27 device_type = "cpu";
28 reg = <0>;
29 d-cache-line-size = <20>; // 32 bytes
30 i-cache-line-size = <20>; // 32 bytes
31 d-cache-size = <8000>; // L1, 32K
32 i-cache-size = <8000>; // L1, 32K
33 timebase-frequency = <04ead9a0>;
34 bus-frequency = <13ab6680>;
35 clock-frequency = <312c8040>;
36 32-bit;
37 linux,phandle = <201>;
38 linux,boot-cpu;
39 };
40 };
41
42 memory {
43 device_type = "memory";
44 linux,phandle = <300>;
45 reg = <00000000 10000000>;
46 };
47
48 soc8560@e0000000 {
49 #address-cells = <1>;
50 #size-cells = <1>;
51 #interrupt-cells = <2>;
52 device_type = "soc";
53 ranges = <0 e0000000 00100000>;
54 reg = <e0000000 00000200>;
55 bus-frequency = <13ab6680>;
56
57 mdio@24520 {
58 device_type = "mdio";
59 compatible = "gianfar";
60 reg = <24520 20>;
61 linux,phandle = <24520>;
62 #address-cells = <1>;
63 #size-cells = <0>;
64 ethernet-phy@0 {
65 linux,phandle = <2452000>;
66 interrupt-parent = <40000>;
67 interrupts = <35 1>;
68 reg = <0>;
69 device_type = "ethernet-phy";
70 };
71 ethernet-phy@1 {
72 linux,phandle = <2452001>;
73 interrupt-parent = <40000>;
74 interrupts = <35 1>;
75 reg = <1>;
76 device_type = "ethernet-phy";
77 };
78 ethernet-phy@2 {
79 linux,phandle = <2452002>;
80 interrupt-parent = <40000>;
81 interrupts = <37 1>;
82 reg = <2>;
83 device_type = "ethernet-phy";
84 };
85 ethernet-phy@3 {
86 linux,phandle = <2452003>;
87 interrupt-parent = <40000>;
88 interrupts = <37 1>;
89 reg = <3>;
90 device_type = "ethernet-phy";
91 };
92 };
93
94 ethernet@24000 {
95 device_type = "network";
96 model = "TSEC";
97 compatible = "gianfar";
98 reg = <24000 1000>;
99 address = [ 00 00 0C 00 00 FD ];
100 interrupts = <d 2 e 2 12 2>;
101 interrupt-parent = <40000>;
102 phy-handle = <2452000>;
103 };
104
105 ethernet@25000 {
106 #address-cells = <1>;
107 #size-cells = <0>;
108 device_type = "network";
109 model = "TSEC";
110 compatible = "gianfar";
111 reg = <25000 1000>;
112 address = [ 00 00 0C 00 01 FD ];
113 interrupts = <13 2 14 2 18 2>;
114 interrupt-parent = <40000>;
115 phy-handle = <2452001>;
116 };
117
118 pci@8000 {
119 linux,phandle = <8000>;
120 #interrupt-cells = <1>;
121 #size-cells = <2>;
122 #address-cells = <3>;
123 compatible = "85xx";
124 device_type = "pci";
125 reg = <8000 400>;
126 clock-frequency = <3f940aa>;
127 interrupt-map-mask = <f800 0 0 7>;
128 interrupt-map = <
129
130 /* IDSEL 0x2 */
131 1000 0 0 1 40000 31 1
132 1000 0 0 2 40000 32 1
133 1000 0 0 3 40000 33 1
134 1000 0 0 4 40000 34 1
135
136 /* IDSEL 0x3 */
137 1800 0 0 1 40000 34 1
138 1800 0 0 2 40000 31 1
139 1800 0 0 3 40000 32 1
140 1800 0 0 4 40000 33 1
141
142 /* IDSEL 0x4 */
143 2000 0 0 1 40000 33 1
144 2000 0 0 2 40000 34 1
145 2000 0 0 3 40000 31 1
146 2000 0 0 4 40000 32 1
147
148 /* IDSEL 0x5 */
149 2800 0 0 1 40000 32 1
150 2800 0 0 2 40000 33 1
151 2800 0 0 3 40000 34 1
152 2800 0 0 4 40000 31 1
153
154 /* IDSEL 12 */
155 6000 0 0 1 40000 31 1
156 6000 0 0 2 40000 32 1
157 6000 0 0 3 40000 33 1
158 6000 0 0 4 40000 34 1
159
160 /* IDSEL 13 */
161 6800 0 0 1 40000 34 1
162 6800 0 0 2 40000 31 1
163 6800 0 0 3 40000 32 1
164 6800 0 0 4 40000 33 1
165
166 /* IDSEL 14*/
167 7000 0 0 1 40000 33 1
168 7000 0 0 2 40000 34 1
169 7000 0 0 3 40000 31 1
170 7000 0 0 4 40000 32 1
171
172 /* IDSEL 15 */
173 7800 0 0 1 40000 32 1
174 7800 0 0 2 40000 33 1
175 7800 0 0 3 40000 34 1
176 7800 0 0 4 40000 31 1
177
178 /* IDSEL 18 */
179 9000 0 0 1 40000 31 1
180 9000 0 0 2 40000 32 1
181 9000 0 0 3 40000 33 1
182 9000 0 0 4 40000 34 1
183
184 /* IDSEL 19 */
185 9800 0 0 1 40000 34 1
186 9800 0 0 2 40000 31 1
187 9800 0 0 3 40000 32 1
188 9800 0 0 4 40000 33 1
189
190 /* IDSEL 20 */
191 a000 0 0 1 40000 33 1
192 a000 0 0 2 40000 34 1
193 a000 0 0 3 40000 31 1
194 a000 0 0 4 40000 32 1
195
196 /* IDSEL 21 */
197 a800 0 0 1 40000 32 1
198 a800 0 0 2 40000 33 1
199 a800 0 0 3 40000 34 1
200 a800 0 0 4 40000 31 1>;
201
202 interrupt-parent = <40000>;
203 interrupts = <42 0>;
204 bus-range = <0 0>;
205 ranges = <02000000 0 80000000 80000000 0 20000000
206 01000000 0 00000000 e2000000 0 01000000>;
207 };
208
209 pic@40000 {
210 linux,phandle = <40000>;
211 interrupt-controller;
212 #address-cells = <0>;
213 #interrupt-cells = <2>;
214 reg = <40000 20100>;
215 built-in;
216 device_type = "open-pic";
217 };
218
219 cpm@e0000000 {
220 linux,phandle = <e0000000>;
221 #address-cells = <1>;
222 #size-cells = <1>;
223 #interrupt-cells = <2>;
224 device_type = "cpm";
225 model = "CPM2";
226 ranges = <0 0 c0000>;
227 reg = <80000 40000>;
228 command-proc = <919c0>;
229 brg-frequency = <9d5b340>;
230
231 pic@90c00 {
232 linux,phandle = <90c00>;
233 interrupt-controller;
234 #address-cells = <0>;
235 #interrupt-cells = <2>;
236 interrupts = <1e 0>;
237 interrupt-parent = <40000>;
238 reg = <90c00 80>;
239 built-in;
240 device_type = "cpm-pic";
241 };
242
243 scc@91a00 {
244 device_type = "serial";
245 compatible = "cpm_uart";
246 model = "SCC";
247 device-id = <1>;
248 reg = <91a00 20 88000 100>;
249 clock-setup = <00ffffff 0>;
250 rx-clock = <1>;
251 tx-clock = <1>;
252 current-speed = <1c200>;
253 interrupts = <64 1>;
254 interrupt-parent = <90c00>;
255 };
256
257 scc@91a20 {
258 device_type = "serial";
259 compatible = "cpm_uart";
260 model = "SCC";
261 device-id = <2>;
262 reg = <91a20 20 88100 100>;
263 clock-setup = <ff00ffff 90000>;
264 rx-clock = <2>;
265 tx-clock = <2>;
266 current-speed = <1c200>;
267 interrupts = <65 1>;
268 interrupt-parent = <90c00>;
269 };
270
271 fcc@91320 {
272 device_type = "network";
273 compatible = "fs_enet";
274 model = "FCC";
275 device-id = <2>;
276 reg = <91320 20 88500 100 913a0 30>;
277 mac-address = [ 00 00 0C 00 02 FD ];
278 clock-setup = <ff00ffff 250000>;
279 rx-clock = <15>;
280 tx-clock = <16>;
281 interrupts = <5d 1>;
282 interrupt-parent = <90c00>;
283 phy-handle = <2452002>;
284 };
285
286 fcc@91340 {
287 device_type = "network";
288 compatible = "fs_enet";
289 model = "FCC";
290 device-id = <3>;
291 reg = <91340 20 88600 100 913d0 30>;
292 mac-address = [ 00 00 0C 00 03 FD ];
293 clock-setup = <ffff00ff 3700>;
294 rx-clock = <17>;
295 tx-clock = <18>;
296 interrupts = <5e 1>;
297 interrupt-parent = <90c00>;
298 phy-handle = <2452003>;
299 };
300 };
301 };
302};
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
new file mode 100755
index 000000000000..eab7318729e9
--- /dev/null
+++ b/arch/powerpc/boot/wrapper
@@ -0,0 +1,204 @@
1#!/bin/sh
2
3# Copyright (C) 2006 Paul Mackerras, IBM Corporation <paulus@samba.org>
4# This program may be used under the terms of version 2 of the GNU
5# General Public License.
6
7# This script takes a kernel binary and optionally an initrd image
8# and/or a device-tree blob, and creates a bootable zImage for a
9# given platform.
10
11# Options:
12# -o zImage specify output file
13# -p platform specify platform (links in $platform.o)
14# -i initrd specify initrd file
15# -d devtree specify device-tree blob
16# -s tree.dts specify device-tree source file (needs dtc installed)
17# -c cache $kernel.strip.gz (use if present & newer, else make)
18# -C prefix specify command prefix for cross-building tools
19# (strip, objcopy, ld)
20# -D dir specify directory containing data files used by script
21# (default ./arch/powerpc/boot)
22# -W dir specify working directory for temporary files (default .)
23
24# defaults
25kernel=
26ofile=zImage
27platform=of
28initrd=
29dtb=
30dts=
31cacheit=
32
33# cross-compilation prefix
34CROSS=
35
36# directory for object and other files used by this script
37object=arch/powerpc/boot
38
39# directory for working files
40tmpdir=.
41
42usage() {
43 echo 'Usage: wrapper [-o output] [-p platform] [-i initrd]' >&2
44 echo ' [-d devtree] [-s tree.dts] [-c] [-C cross-prefix]' >&2
45 echo ' [-D datadir] [-W workingdir] [vmlinux]' >&2
46 exit 1
47}
48
49while [ "$#" -gt 0 ]; do
50 case "$1" in
51 -o)
52 shift
53 [ "$#" -gt 0 ] || usage
54 ofile="$1"
55 ;;
56 -p)
57 shift
58 [ "$#" -gt 0 ] || usage
59 platform="$1"
60 ;;
61 -i)
62 shift
63 [ "$#" -gt 0 ] || usage
64 initrd="$1"
65 ;;
66 -d)
67 shift
68 [ "$#" -gt 0 ] || usage
69 dtb="$1"
70 ;;
71 -s)
72 shift
73 [ "$#" -gt 0 ] || usage
74 dts="$1"
75 ;;
76 -c)
77 cacheit=y
78 ;;
79 -C)
80 shift
81 [ "$#" -gt 0 ] || usage
82 CROSS="$1"
83 ;;
84 -D)
85 shift
86 [ "$#" -gt 0 ] || usage
87 object="$1"
88 ;;
89 -W)
90 shift
91 [ "$#" -gt 0 ] || usage
92 tmpdir="$1"
93 ;;
94 -?)
95 usage
96 ;;
97 *)
98 [ -z "$kernel" ] || usage
99 kernel="$1"
100 ;;
101 esac
102 shift
103done
104
105if [ -n "$dts" ]; then
106 if [ -z "$dtb" ]; then
107 dtb="$platform.dtb"
108 fi
109 dtc -O dtb -o "$dtb" -b 0 -V 16 "$dts" || exit 1
110fi
111
112if [ -z "$kernel" ]; then
113 kernel=vmlinux
114fi
115
116platformo=$object/"$platform".o
117lds=$object/zImage.lds
118ext=strip
119objflags=-S
120tmp=$tmpdir/zImage.$$.o
121ksection=.kernel:vmlinux.strip
122isection=.kernel:initrd
123
124case "$platform" in
125pmac|pseries|chrp)
126 platformo=$object/of.o
127 ;;
128pmaccoff)
129 platformo=$object/of.o
130 lds=$object/zImage.coff.lds
131 ;;
132miboot|uboot)
133 # miboot and U-boot want just the bare bits, not an ELF binary
134 ext=bin
135 objflags="-O binary"
136 tmp="$ofile"
137 ksection=image
138 isection=initrd
139 ;;
140esac
141
142vmz="$tmpdir/`basename \"$kernel\"`.$ext"
143if [ -z "$cacheit" -o ! -f "$vmz.gz" -o "$vmz.gz" -ot "$kernel" ]; then
144 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
145 gzip -f -9 "$vmz.$$"
146 if [ -n "$cacheit" ]; then
147 mv -f "$vmz.$$.gz" "$vmz.gz"
148 else
149 vmz="$vmz.$$"
150 fi
151fi
152
153case "$platform" in
154uboot)
155 rm -f "$ofile"
156 version=`${CROSS}strings "$kernel" | grep '^Linux version [-0-9.]' | \
157 cut -d' ' -f3`
158 if [ -n "$version" ]; then
159 version="-n Linux-$version"
160 fi
161 mkimage -A ppc -O linux -T kernel -C gzip -a 00000000 -e 00000000 \
162 $version -d "$vmz.gz" "$ofile"
163 if [ -z "$cacheit" ]; then
164 rm -f $vmz.gz
165 fi
166 exit 0
167 ;;
168esac
169
170addsec() {
171 ${CROSS}objcopy $4 $1 \
172 --add-section=$3="$2" \
173 --set-section-flags=$3=contents,alloc,load,readonly,data
174}
175
176addsec $tmp "$vmz.gz" $ksection $object/empty.o
177if [ -z "$cacheit" ]; then
178 rm -f "$vmz.gz"
179fi
180
181if [ -n "$initrd" ]; then
182 addsec $tmp "$initrd" initrd
183fi
184
185if [ -n "$dtb" ]; then
186 addsec $tmp "$dtb" dtb
187fi
188
189if [ "$platform" != "miboot" ]; then
190 ${CROSS}ld -m elf32ppc -T $lds -o "$ofile" \
191 $object/crt0.o $platformo $tmp $object/wrapper.a
192 rm $tmp
193fi
194
195# post-processing needed for some platforms
196case "$platform" in
197pseries|chrp)
198 $object/addnote "$ofile"
199 ;;
200pmaccoff)
201 ${CROSS}objcopy -O aixcoff-rs6000 --set-start 0x500000 "$ofile"
202 $object/hack-coff "$ofile"
203 ;;
204esac
diff --git a/arch/powerpc/boot/zImage.coff.lds b/arch/powerpc/boot/zImage.coff.lds.S
index 6016251a1a2c..6016251a1a2c 100644
--- a/arch/powerpc/boot/zImage.coff.lds
+++ b/arch/powerpc/boot/zImage.coff.lds.S
diff --git a/arch/powerpc/boot/zImage.lds b/arch/powerpc/boot/zImage.lds.S
index 4b6bb3ffe3dc..4b6bb3ffe3dc 100644
--- a/arch/powerpc/boot/zImage.lds
+++ b/arch/powerpc/boot/zImage.lds.S
diff --git a/arch/powerpc/configs/chrp32_defconfig b/arch/powerpc/configs/chrp32_defconfig
index bbf2b5f8a8cb..fee72f8a2fb7 100644
--- a/arch/powerpc/configs/chrp32_defconfig
+++ b/arch/powerpc/configs/chrp32_defconfig
@@ -492,7 +492,7 @@ CONFIG_SCSI_SPI_ATTRS=y
492# CONFIG_MEGARAID_NEWGEN is not set 492# CONFIG_MEGARAID_NEWGEN is not set
493# CONFIG_MEGARAID_LEGACY is not set 493# CONFIG_MEGARAID_LEGACY is not set
494# CONFIG_MEGARAID_SAS is not set 494# CONFIG_MEGARAID_SAS is not set
495# CONFIG_SCSI_SATA is not set 495# CONFIG_ATA is not set
496# CONFIG_SCSI_HPTIOP is not set 496# CONFIG_SCSI_HPTIOP is not set
497# CONFIG_SCSI_BUSLOGIC is not set 497# CONFIG_SCSI_BUSLOGIC is not set
498# CONFIG_SCSI_DMX3191D is not set 498# CONFIG_SCSI_DMX3191D is not set
diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig
index 4b9c2ed925f5..92d0a9dd0b8f 100644
--- a/arch/powerpc/configs/g5_defconfig
+++ b/arch/powerpc/configs/g5_defconfig
@@ -490,23 +490,23 @@ CONFIG_SCSI_SPI_ATTRS=y
490# CONFIG_MEGARAID_NEWGEN is not set 490# CONFIG_MEGARAID_NEWGEN is not set
491# CONFIG_MEGARAID_LEGACY is not set 491# CONFIG_MEGARAID_LEGACY is not set
492# CONFIG_MEGARAID_SAS is not set 492# CONFIG_MEGARAID_SAS is not set
493CONFIG_SCSI_SATA=y 493CONFIG_ATA=y
494# CONFIG_SCSI_SATA_AHCI is not set 494# CONFIG_SATA_AHCI is not set
495CONFIG_SCSI_SATA_SVW=y 495CONFIG_SATA_SVW=y
496# CONFIG_SCSI_ATA_PIIX is not set 496# CONFIG_SCSI_ATA_PIIX is not set
497# CONFIG_SCSI_SATA_MV is not set 497# CONFIG_SATA_MV is not set
498# CONFIG_SCSI_SATA_NV is not set 498# CONFIG_SATA_NV is not set
499# CONFIG_SCSI_PDC_ADMA is not set 499# CONFIG_SCSI_PDC_ADMA is not set
500# CONFIG_SCSI_HPTIOP is not set 500# CONFIG_SCSI_HPTIOP is not set
501# CONFIG_SCSI_SATA_QSTOR is not set 501# CONFIG_SATA_QSTOR is not set
502# CONFIG_SCSI_SATA_PROMISE is not set 502# CONFIG_SATA_PROMISE is not set
503# CONFIG_SCSI_SATA_SX4 is not set 503# CONFIG_SATA_SX4 is not set
504# CONFIG_SCSI_SATA_SIL is not set 504# CONFIG_SATA_SIL is not set
505# CONFIG_SCSI_SATA_SIL24 is not set 505# CONFIG_SATA_SIL24 is not set
506# CONFIG_SCSI_SATA_SIS is not set 506# CONFIG_SATA_SIS is not set
507# CONFIG_SCSI_SATA_ULI is not set 507# CONFIG_SATA_ULI is not set
508# CONFIG_SCSI_SATA_VIA is not set 508# CONFIG_SATA_VIA is not set
509# CONFIG_SCSI_SATA_VITESSE is not set 509# CONFIG_SATA_VITESSE is not set
510# CONFIG_SCSI_BUSLOGIC is not set 510# CONFIG_SCSI_BUSLOGIC is not set
511# CONFIG_SCSI_DMX3191D is not set 511# CONFIG_SCSI_DMX3191D is not set
512# CONFIG_SCSI_EATA is not set 512# CONFIG_SCSI_EATA is not set
diff --git a/arch/powerpc/configs/iseries_defconfig b/arch/powerpc/configs/iseries_defconfig
index eb0885ea0731..d58f82f836f8 100644
--- a/arch/powerpc/configs/iseries_defconfig
+++ b/arch/powerpc/configs/iseries_defconfig
@@ -475,7 +475,7 @@ CONFIG_SCSI_FC_ATTRS=y
475# CONFIG_MEGARAID_NEWGEN is not set 475# CONFIG_MEGARAID_NEWGEN is not set
476# CONFIG_MEGARAID_LEGACY is not set 476# CONFIG_MEGARAID_LEGACY is not set
477# CONFIG_MEGARAID_SAS is not set 477# CONFIG_MEGARAID_SAS is not set
478# CONFIG_SCSI_SATA is not set 478# CONFIG_ATA is not set
479# CONFIG_SCSI_HPTIOP is not set 479# CONFIG_SCSI_HPTIOP is not set
480# CONFIG_SCSI_BUSLOGIC is not set 480# CONFIG_SCSI_BUSLOGIC is not set
481# CONFIG_SCSI_DMX3191D is not set 481# CONFIG_SCSI_DMX3191D is not set
diff --git a/arch/powerpc/configs/mpc7448_hpc2_defconfig b/arch/powerpc/configs/mpc7448_hpc2_defconfig
index 719fba4eb421..d1811e754518 100644
--- a/arch/powerpc/configs/mpc7448_hpc2_defconfig
+++ b/arch/powerpc/configs/mpc7448_hpc2_defconfig
@@ -413,23 +413,23 @@ CONFIG_BLK_DEV_SD=y
413# CONFIG_MEGARAID_NEWGEN is not set 413# CONFIG_MEGARAID_NEWGEN is not set
414# CONFIG_MEGARAID_LEGACY is not set 414# CONFIG_MEGARAID_LEGACY is not set
415# CONFIG_MEGARAID_SAS is not set 415# CONFIG_MEGARAID_SAS is not set
416CONFIG_SCSI_SATA=y 416CONFIG_ATA=y
417# CONFIG_SCSI_SATA_AHCI is not set 417# CONFIG_SATA_AHCI is not set
418# CONFIG_SCSI_SATA_SVW is not set 418# CONFIG_SATA_SVW is not set
419# CONFIG_SCSI_ATA_PIIX is not set 419# CONFIG_SCSI_ATA_PIIX is not set
420CONFIG_SCSI_SATA_MV=y 420CONFIG_SATA_MV=y
421# CONFIG_SCSI_SATA_NV is not set 421# CONFIG_SATA_NV is not set
422# CONFIG_SCSI_PDC_ADMA is not set 422# CONFIG_SCSI_PDC_ADMA is not set
423# CONFIG_SCSI_HPTIOP is not set 423# CONFIG_SCSI_HPTIOP is not set
424# CONFIG_SCSI_SATA_QSTOR is not set 424# CONFIG_SATA_QSTOR is not set
425# CONFIG_SCSI_SATA_PROMISE is not set 425# CONFIG_SATA_PROMISE is not set
426# CONFIG_SCSI_SATA_SX4 is not set 426# CONFIG_SATA_SX4 is not set
427# CONFIG_SCSI_SATA_SIL is not set 427# CONFIG_SATA_SIL is not set
428# CONFIG_SCSI_SATA_SIL24 is not set 428# CONFIG_SATA_SIL24 is not set
429# CONFIG_SCSI_SATA_SIS is not set 429# CONFIG_SATA_SIS is not set
430# CONFIG_SCSI_SATA_ULI is not set 430# CONFIG_SATA_ULI is not set
431# CONFIG_SCSI_SATA_VIA is not set 431# CONFIG_SATA_VIA is not set
432# CONFIG_SCSI_SATA_VITESSE is not set 432# CONFIG_SATA_VITESSE is not set
433# CONFIG_SCSI_BUSLOGIC is not set 433# CONFIG_SCSI_BUSLOGIC is not set
434# CONFIG_SCSI_DMX3191D is not set 434# CONFIG_SCSI_DMX3191D is not set
435# CONFIG_SCSI_EATA is not set 435# CONFIG_SCSI_EATA is not set
diff --git a/arch/powerpc/configs/mpc834x_itx_defconfig b/arch/powerpc/configs/mpc834x_itx_defconfig
index 8da6a47f0339..cd3535e1a095 100644
--- a/arch/powerpc/configs/mpc834x_itx_defconfig
+++ b/arch/powerpc/configs/mpc834x_itx_defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18-rc6 3# Linux kernel version: 2.6.18
4# Sun Sep 10 10:28:05 2006 4# Mon Sep 25 19:41:14 2006
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7CONFIG_PPC32=y 7CONFIG_PPC32=y
@@ -21,6 +21,7 @@ CONFIG_ARCH_MAY_HAVE_PC_FDC=y
21CONFIG_PPC_OF=y 21CONFIG_PPC_OF=y
22CONFIG_PPC_UDBG_16550=y 22CONFIG_PPC_UDBG_16550=y
23# CONFIG_GENERIC_TBSYNC is not set 23# CONFIG_GENERIC_TBSYNC is not set
24CONFIG_AUDIT_ARCH=y
24CONFIG_DEFAULT_UIMAGE=y 25CONFIG_DEFAULT_UIMAGE=y
25 26
26# 27#
@@ -61,25 +62,25 @@ CONFIG_SYSVIPC=y
61# CONFIG_POSIX_MQUEUE is not set 62# CONFIG_POSIX_MQUEUE is not set
62# CONFIG_BSD_PROCESS_ACCT is not set 63# CONFIG_BSD_PROCESS_ACCT is not set
63# CONFIG_TASKSTATS is not set 64# CONFIG_TASKSTATS is not set
64CONFIG_SYSCTL=y
65# CONFIG_AUDIT is not set 65# CONFIG_AUDIT is not set
66# CONFIG_IKCONFIG is not set 66# CONFIG_IKCONFIG is not set
67# CONFIG_RELAY is not set 67# CONFIG_RELAY is not set
68CONFIG_INITRAMFS_SOURCE="" 68CONFIG_INITRAMFS_SOURCE=""
69# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 69# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
70CONFIG_EMBEDDED=y 70CONFIG_EMBEDDED=y
71CONFIG_SYSCTL=y
71# CONFIG_KALLSYMS is not set 72# CONFIG_KALLSYMS is not set
72CONFIG_HOTPLUG=y 73CONFIG_HOTPLUG=y
73CONFIG_PRINTK=y 74CONFIG_PRINTK=y
74CONFIG_BUG=y 75CONFIG_BUG=y
75CONFIG_ELF_CORE=y 76CONFIG_ELF_CORE=y
76CONFIG_BASE_FULL=y 77CONFIG_BASE_FULL=y
77CONFIG_RT_MUTEXES=y
78CONFIG_FUTEX=y 78CONFIG_FUTEX=y
79# CONFIG_EPOLL is not set 79# CONFIG_EPOLL is not set
80CONFIG_SHMEM=y 80CONFIG_SHMEM=y
81CONFIG_SLAB=y 81CONFIG_SLAB=y
82CONFIG_VM_EVENT_COUNTERS=y 82CONFIG_VM_EVENT_COUNTERS=y
83CONFIG_RT_MUTEXES=y
83# CONFIG_TINY_SHMEM is not set 84# CONFIG_TINY_SHMEM is not set
84CONFIG_BASE_SMALL=0 85CONFIG_BASE_SMALL=0
85# CONFIG_SLOB is not set 86# CONFIG_SLOB is not set
@@ -259,7 +260,6 @@ CONFIG_TCP_CONG_BIC=y
259# CONFIG_ATALK is not set 260# CONFIG_ATALK is not set
260# CONFIG_X25 is not set 261# CONFIG_X25 is not set
261# CONFIG_LAPB is not set 262# CONFIG_LAPB is not set
262# CONFIG_NET_DIVERT is not set
263# CONFIG_ECONET is not set 263# CONFIG_ECONET is not set
264# CONFIG_WAN_ROUTER is not set 264# CONFIG_WAN_ROUTER is not set
265 265
@@ -313,6 +313,7 @@ CONFIG_MTD_CHAR=y
313# CONFIG_NFTL is not set 313# CONFIG_NFTL is not set
314# CONFIG_INFTL is not set 314# CONFIG_INFTL is not set
315# CONFIG_RFD_FTL is not set 315# CONFIG_RFD_FTL is not set
316# CONFIG_SSFDC is not set
316 317
317# 318#
318# RAM/ROM/Flash chip drivers 319# RAM/ROM/Flash chip drivers
@@ -464,23 +465,23 @@ CONFIG_SCSI_SPI_ATTRS=y
464# CONFIG_MEGARAID_NEWGEN is not set 465# CONFIG_MEGARAID_NEWGEN is not set
465# CONFIG_MEGARAID_LEGACY is not set 466# CONFIG_MEGARAID_LEGACY is not set
466# CONFIG_MEGARAID_SAS is not set 467# CONFIG_MEGARAID_SAS is not set
467CONFIG_SCSI_SATA=y 468CONFIG_ATA=y
468# CONFIG_SCSI_SATA_AHCI is not set 469# CONFIG_SATA_AHCI is not set
469# CONFIG_SCSI_SATA_SVW is not set 470# CONFIG_SATA_SVW is not set
470# CONFIG_SCSI_ATA_PIIX is not set 471# CONFIG_SCSI_ATA_PIIX is not set
471# CONFIG_SCSI_SATA_MV is not set 472# CONFIG_SATA_MV is not set
472# CONFIG_SCSI_SATA_NV is not set 473# CONFIG_SATA_NV is not set
473# CONFIG_SCSI_PDC_ADMA is not set 474# CONFIG_SCSI_PDC_ADMA is not set
474# CONFIG_SCSI_HPTIOP is not set 475# CONFIG_SCSI_HPTIOP is not set
475# CONFIG_SCSI_SATA_QSTOR is not set 476# CONFIG_SATA_QSTOR is not set
476# CONFIG_SCSI_SATA_PROMISE is not set 477# CONFIG_SATA_PROMISE is not set
477# CONFIG_SCSI_SATA_SX4 is not set 478# CONFIG_SATA_SX4 is not set
478CONFIG_SCSI_SATA_SIL=y 479CONFIG_SATA_SIL=y
479# CONFIG_SCSI_SATA_SIL24 is not set 480# CONFIG_SATA_SIL24 is not set
480# CONFIG_SCSI_SATA_SIS is not set 481# CONFIG_SATA_SIS is not set
481# CONFIG_SCSI_SATA_ULI is not set 482# CONFIG_SATA_ULI is not set
482# CONFIG_SCSI_SATA_VIA is not set 483# CONFIG_SATA_VIA is not set
483# CONFIG_SCSI_SATA_VITESSE is not set 484# CONFIG_SATA_VITESSE is not set
484# CONFIG_SCSI_BUSLOGIC is not set 485# CONFIG_SCSI_BUSLOGIC is not set
485# CONFIG_SCSI_DMX3191D is not set 486# CONFIG_SCSI_DMX3191D is not set
486# CONFIG_SCSI_EATA is not set 487# CONFIG_SCSI_EATA is not set
@@ -1277,11 +1278,11 @@ CONFIG_PLIST=y
1277# 1278#
1278# Kernel hacking 1279# Kernel hacking
1279# 1280#
1280CONFIG_PRINTK_TIME=y 1281# CONFIG_PRINTK_TIME is not set
1281# CONFIG_MAGIC_SYSRQ is not set 1282# CONFIG_MAGIC_SYSRQ is not set
1282# CONFIG_UNUSED_SYMBOLS is not set 1283# CONFIG_UNUSED_SYMBOLS is not set
1283CONFIG_DEBUG_KERNEL=y 1284CONFIG_DEBUG_KERNEL=y
1284CONFIG_LOG_BUF_SHIFT=17 1285CONFIG_LOG_BUF_SHIFT=14
1285CONFIG_DETECT_SOFTLOCKUP=y 1286CONFIG_DETECT_SOFTLOCKUP=y
1286# CONFIG_SCHEDSTATS is not set 1287# CONFIG_SCHEDSTATS is not set
1287# CONFIG_DEBUG_SLAB is not set 1288# CONFIG_DEBUG_SLAB is not set
@@ -1293,15 +1294,15 @@ CONFIG_DETECT_SOFTLOCKUP=y
1293# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1294# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1294# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 1295# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1295# CONFIG_DEBUG_KOBJECT is not set 1296# CONFIG_DEBUG_KOBJECT is not set
1296CONFIG_DEBUG_INFO=y 1297# CONFIG_DEBUG_INFO is not set
1297# CONFIG_DEBUG_FS is not set 1298# CONFIG_DEBUG_FS is not set
1298# CONFIG_DEBUG_VM is not set 1299# CONFIG_DEBUG_VM is not set
1299CONFIG_FORCED_INLINING=y 1300CONFIG_FORCED_INLINING=y
1300# CONFIG_RCU_TORTURE_TEST is not set 1301# CONFIG_RCU_TORTURE_TEST is not set
1301# CONFIG_DEBUGGER is not set 1302# CONFIG_DEBUGGER is not set
1302# CONFIG_BDI_SWITCH is not set 1303# CONFIG_BDI_SWITCH is not set
1303CONFIG_BOOTX_TEXT=y 1304# CONFIG_BOOTX_TEXT is not set
1304CONFIG_SERIAL_TEXT_DEBUG=y 1305# CONFIG_SERIAL_TEXT_DEBUG is not set
1305# CONFIG_PPC_EARLY_DEBUG is not set 1306# CONFIG_PPC_EARLY_DEBUG is not set
1306 1307
1307# 1308#
@@ -1314,6 +1315,8 @@ CONFIG_SERIAL_TEXT_DEBUG=y
1314# Cryptographic options 1315# Cryptographic options
1315# 1316#
1316CONFIG_CRYPTO=y 1317CONFIG_CRYPTO=y
1318CONFIG_CRYPTO_ALGAPI=y
1319# CONFIG_CRYPTO_MANAGER is not set
1317# CONFIG_CRYPTO_HMAC is not set 1320# CONFIG_CRYPTO_HMAC is not set
1318# CONFIG_CRYPTO_NULL is not set 1321# CONFIG_CRYPTO_NULL is not set
1319# CONFIG_CRYPTO_MD4 is not set 1322# CONFIG_CRYPTO_MD4 is not set
@@ -1323,6 +1326,8 @@ CONFIG_CRYPTO_MD5=y
1323# CONFIG_CRYPTO_SHA512 is not set 1326# CONFIG_CRYPTO_SHA512 is not set
1324# CONFIG_CRYPTO_WP512 is not set 1327# CONFIG_CRYPTO_WP512 is not set
1325# CONFIG_CRYPTO_TGR192 is not set 1328# CONFIG_CRYPTO_TGR192 is not set
1329# CONFIG_CRYPTO_ECB is not set
1330# CONFIG_CRYPTO_CBC is not set
1326CONFIG_CRYPTO_DES=y 1331CONFIG_CRYPTO_DES=y
1327# CONFIG_CRYPTO_BLOWFISH is not set 1332# CONFIG_CRYPTO_BLOWFISH is not set
1328# CONFIG_CRYPTO_TWOFISH is not set 1333# CONFIG_CRYPTO_TWOFISH is not set
diff --git a/arch/powerpc/configs/mpc8560_ads_defconfig b/arch/powerpc/configs/mpc8560_ads_defconfig
new file mode 100644
index 000000000000..ddc2a7b07ba0
--- /dev/null
+++ b/arch/powerpc/configs/mpc8560_ads_defconfig
@@ -0,0 +1,854 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18-rc4
4# Fri Aug 11 16:45:05 2006
5#
6# CONFIG_PPC64 is not set
7CONFIG_PPC32=y
8CONFIG_PPC_MERGE=y
9CONFIG_MMU=y
10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_IRQ_PER_CPU=y
12CONFIG_RWSEM_XCHGADD_ALGORITHM=y
13CONFIG_GENERIC_HWEIGHT=y
14CONFIG_GENERIC_CALIBRATE_DELAY=y
15CONFIG_GENERIC_FIND_NEXT_BIT=y
16CONFIG_PPC=y
17CONFIG_EARLY_PRINTK=y
18CONFIG_GENERIC_NVRAM=y
19CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
20CONFIG_ARCH_MAY_HAVE_PC_FDC=y
21CONFIG_PPC_OF=y
22# CONFIG_PPC_UDBG_16550 is not set
23# CONFIG_GENERIC_TBSYNC is not set
24CONFIG_DEFAULT_UIMAGE=y
25
26#
27# Processor support
28#
29# CONFIG_CLASSIC32 is not set
30# CONFIG_PPC_52xx is not set
31# CONFIG_PPC_82xx is not set
32# CONFIG_PPC_83xx is not set
33CONFIG_PPC_85xx=y
34# CONFIG_PPC_86xx is not set
35# CONFIG_40x is not set
36# CONFIG_44x is not set
37# CONFIG_8xx is not set
38# CONFIG_E200 is not set
39CONFIG_85xx=y
40CONFIG_E500=y
41CONFIG_BOOKE=y
42CONFIG_FSL_BOOKE=y
43# CONFIG_PHYS_64BIT is not set
44CONFIG_SPE=y
45CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
46
47#
48# Code maturity level options
49#
50CONFIG_EXPERIMENTAL=y
51CONFIG_BROKEN_ON_SMP=y
52CONFIG_INIT_ENV_ARG_LIMIT=32
53
54#
55# General setup
56#
57CONFIG_LOCALVERSION=""
58CONFIG_LOCALVERSION_AUTO=y
59CONFIG_SWAP=y
60CONFIG_SYSVIPC=y
61# CONFIG_POSIX_MQUEUE is not set
62# CONFIG_BSD_PROCESS_ACCT is not set
63# CONFIG_TASKSTATS is not set
64CONFIG_SYSCTL=y
65# CONFIG_AUDIT is not set
66# CONFIG_IKCONFIG is not set
67# CONFIG_RELAY is not set
68CONFIG_INITRAMFS_SOURCE=""
69# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
70CONFIG_EMBEDDED=y
71CONFIG_KALLSYMS=y
72# CONFIG_KALLSYMS_ALL is not set
73# CONFIG_KALLSYMS_EXTRA_PASS is not set
74CONFIG_HOTPLUG=y
75CONFIG_PRINTK=y
76CONFIG_BUG=y
77CONFIG_ELF_CORE=y
78CONFIG_BASE_FULL=y
79CONFIG_RT_MUTEXES=y
80CONFIG_FUTEX=y
81CONFIG_EPOLL=y
82CONFIG_SHMEM=y
83CONFIG_SLAB=y
84CONFIG_VM_EVENT_COUNTERS=y
85# CONFIG_TINY_SHMEM is not set
86CONFIG_BASE_SMALL=0
87# CONFIG_SLOB is not set
88
89#
90# Loadable module support
91#
92# CONFIG_MODULES is not set
93
94#
95# Block layer
96#
97# CONFIG_LBD is not set
98# CONFIG_BLK_DEV_IO_TRACE is not set
99# CONFIG_LSF is not set
100
101#
102# IO Schedulers
103#
104CONFIG_IOSCHED_NOOP=y
105CONFIG_IOSCHED_AS=y
106CONFIG_IOSCHED_DEADLINE=y
107CONFIG_IOSCHED_CFQ=y
108CONFIG_DEFAULT_AS=y
109# CONFIG_DEFAULT_DEADLINE is not set
110# CONFIG_DEFAULT_CFQ is not set
111# CONFIG_DEFAULT_NOOP is not set
112CONFIG_DEFAULT_IOSCHED="anticipatory"
113CONFIG_MPIC=y
114CONFIG_CPM2=y
115# CONFIG_WANT_EARLY_SERIAL is not set
116
117#
118# Platform support
119#
120# CONFIG_MPC8540_ADS is not set
121CONFIG_MPC8560_ADS=y
122# CONFIG_MPC85xx_CDS is not set
123CONFIG_MPC8560=y
124CONFIG_PPC_INDIRECT_PCI_BE=y
125
126#
127# Kernel options
128#
129# CONFIG_HIGHMEM is not set
130# CONFIG_HZ_100 is not set
131CONFIG_HZ_250=y
132# CONFIG_HZ_1000 is not set
133CONFIG_HZ=250
134CONFIG_PREEMPT_NONE=y
135# CONFIG_PREEMPT_VOLUNTARY is not set
136# CONFIG_PREEMPT is not set
137CONFIG_BINFMT_ELF=y
138CONFIG_BINFMT_MISC=y
139# CONFIG_MATH_EMULATION is not set
140CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
141# CONFIG_PC_KEYBOARD is not set
142CONFIG_ARCH_FLATMEM_ENABLE=y
143CONFIG_SELECT_MEMORY_MODEL=y
144CONFIG_FLATMEM_MANUAL=y
145# CONFIG_DISCONTIGMEM_MANUAL is not set
146# CONFIG_SPARSEMEM_MANUAL is not set
147CONFIG_FLATMEM=y
148CONFIG_FLAT_NODE_MEM_MAP=y
149# CONFIG_SPARSEMEM_STATIC is not set
150CONFIG_SPLIT_PTLOCK_CPUS=4
151# CONFIG_RESOURCES_64BIT is not set
152# CONFIG_PROC_DEVICETREE is not set
153# CONFIG_CMDLINE_BOOL is not set
154# CONFIG_PM is not set
155# CONFIG_SOFTWARE_SUSPEND is not set
156# CONFIG_SECCOMP is not set
157CONFIG_ISA_DMA_API=y
158
159#
160# Bus options
161#
162# CONFIG_PPC_I8259 is not set
163CONFIG_PPC_INDIRECT_PCI=y
164CONFIG_FSL_SOC=y
165CONFIG_PCI=y
166CONFIG_PCI_DOMAINS=y
167# CONFIG_PCIEPORTBUS is not set
168CONFIG_PCI_DEBUG=y
169
170#
171# PCCARD (PCMCIA/CardBus) support
172#
173# CONFIG_PCCARD is not set
174
175#
176# PCI Hotplug Support
177#
178# CONFIG_HOTPLUG_PCI is not set
179
180#
181# Advanced setup
182#
183# CONFIG_ADVANCED_OPTIONS is not set
184
185#
186# Default settings for advanced configuration options are used
187#
188CONFIG_HIGHMEM_START=0xfe000000
189CONFIG_LOWMEM_SIZE=0x30000000
190CONFIG_KERNEL_START=0xc0000000
191CONFIG_TASK_SIZE=0x80000000
192CONFIG_BOOT_LOAD=0x00800000
193
194#
195# Networking
196#
197CONFIG_NET=y
198
199#
200# Networking options
201#
202# CONFIG_NETDEBUG is not set
203CONFIG_PACKET=y
204# CONFIG_PACKET_MMAP is not set
205CONFIG_UNIX=y
206CONFIG_XFRM=y
207# CONFIG_XFRM_USER is not set
208# CONFIG_NET_KEY is not set
209CONFIG_INET=y
210CONFIG_IP_MULTICAST=y
211# CONFIG_IP_ADVANCED_ROUTER is not set
212CONFIG_IP_FIB_HASH=y
213CONFIG_IP_PNP=y
214CONFIG_IP_PNP_DHCP=y
215CONFIG_IP_PNP_BOOTP=y
216# CONFIG_IP_PNP_RARP is not set
217# CONFIG_NET_IPIP is not set
218# CONFIG_NET_IPGRE is not set
219# CONFIG_IP_MROUTE is not set
220# CONFIG_ARPD is not set
221CONFIG_SYN_COOKIES=y
222# CONFIG_INET_AH is not set
223# CONFIG_INET_ESP is not set
224# CONFIG_INET_IPCOMP is not set
225# CONFIG_INET_XFRM_TUNNEL is not set
226# CONFIG_INET_TUNNEL is not set
227CONFIG_INET_XFRM_MODE_TRANSPORT=y
228CONFIG_INET_XFRM_MODE_TUNNEL=y
229CONFIG_INET_DIAG=y
230CONFIG_INET_TCP_DIAG=y
231# CONFIG_TCP_CONG_ADVANCED is not set
232CONFIG_TCP_CONG_BIC=y
233# CONFIG_IPV6 is not set
234# CONFIG_INET6_XFRM_TUNNEL is not set
235# CONFIG_INET6_TUNNEL is not set
236# CONFIG_NETWORK_SECMARK is not set
237# CONFIG_NETFILTER is not set
238
239#
240# DCCP Configuration (EXPERIMENTAL)
241#
242# CONFIG_IP_DCCP is not set
243
244#
245# SCTP Configuration (EXPERIMENTAL)
246#
247# CONFIG_IP_SCTP is not set
248
249#
250# TIPC Configuration (EXPERIMENTAL)
251#
252# CONFIG_TIPC is not set
253# CONFIG_ATM is not set
254# CONFIG_BRIDGE is not set
255# CONFIG_VLAN_8021Q is not set
256# CONFIG_DECNET is not set
257# CONFIG_LLC2 is not set
258# CONFIG_IPX is not set
259# CONFIG_ATALK is not set
260# CONFIG_X25 is not set
261# CONFIG_LAPB is not set
262# CONFIG_NET_DIVERT is not set
263# CONFIG_ECONET is not set
264# CONFIG_WAN_ROUTER is not set
265
266#
267# QoS and/or fair queueing
268#
269# CONFIG_NET_SCHED is not set
270
271#
272# Network testing
273#
274# CONFIG_NET_PKTGEN is not set
275# CONFIG_HAMRADIO is not set
276# CONFIG_IRDA is not set
277# CONFIG_BT is not set
278# CONFIG_IEEE80211 is not set
279
280#
281# Device Drivers
282#
283
284#
285# Generic Driver Options
286#
287CONFIG_STANDALONE=y
288CONFIG_PREVENT_FIRMWARE_BUILD=y
289# CONFIG_FW_LOADER is not set
290# CONFIG_DEBUG_DRIVER is not set
291# CONFIG_SYS_HYPERVISOR is not set
292
293#
294# Connector - unified userspace <-> kernelspace linker
295#
296# CONFIG_CONNECTOR is not set
297
298#
299# Memory Technology Devices (MTD)
300#
301# CONFIG_MTD is not set
302
303#
304# Parallel port support
305#
306# CONFIG_PARPORT is not set
307
308#
309# Plug and Play support
310#
311
312#
313# Block devices
314#
315# CONFIG_BLK_DEV_FD is not set
316# CONFIG_BLK_CPQ_DA is not set
317# CONFIG_BLK_CPQ_CISS_DA is not set
318# CONFIG_BLK_DEV_DAC960 is not set
319# CONFIG_BLK_DEV_UMEM is not set
320# CONFIG_BLK_DEV_COW_COMMON is not set
321CONFIG_BLK_DEV_LOOP=y
322# CONFIG_BLK_DEV_CRYPTOLOOP is not set
323# CONFIG_BLK_DEV_NBD is not set
324# CONFIG_BLK_DEV_SX8 is not set
325CONFIG_BLK_DEV_RAM=y
326CONFIG_BLK_DEV_RAM_COUNT=16
327CONFIG_BLK_DEV_RAM_SIZE=32768
328CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
329CONFIG_BLK_DEV_INITRD=y
330# CONFIG_CDROM_PKTCDVD is not set
331# CONFIG_ATA_OVER_ETH is not set
332
333#
334# ATA/ATAPI/MFM/RLL support
335#
336# CONFIG_IDE is not set
337
338#
339# SCSI device support
340#
341# CONFIG_RAID_ATTRS is not set
342# CONFIG_SCSI is not set
343
344#
345# Multi-device support (RAID and LVM)
346#
347# CONFIG_MD is not set
348
349#
350# Fusion MPT device support
351#
352# CONFIG_FUSION is not set
353
354#
355# IEEE 1394 (FireWire) support
356#
357# CONFIG_IEEE1394 is not set
358
359#
360# I2O device support
361#
362# CONFIG_I2O is not set
363
364#
365# Macintosh device drivers
366#
367# CONFIG_WINDFARM is not set
368
369#
370# Network device support
371#
372CONFIG_NETDEVICES=y
373# CONFIG_DUMMY is not set
374# CONFIG_BONDING is not set
375# CONFIG_EQUALIZER is not set
376# CONFIG_TUN is not set
377
378#
379# ARCnet devices
380#
381# CONFIG_ARCNET is not set
382
383#
384# PHY device support
385#
386CONFIG_PHYLIB=y
387
388#
389# MII PHY device drivers
390#
391CONFIG_MARVELL_PHY=y
392CONFIG_DAVICOM_PHY=y
393# CONFIG_QSEMI_PHY is not set
394# CONFIG_LXT_PHY is not set
395# CONFIG_CICADA_PHY is not set
396# CONFIG_VITESSE_PHY is not set
397# CONFIG_SMSC_PHY is not set
398# CONFIG_FIXED_PHY is not set
399
400#
401# Ethernet (10 or 100Mbit)
402#
403CONFIG_NET_ETHERNET=y
404CONFIG_MII=y
405# CONFIG_HAPPYMEAL is not set
406# CONFIG_SUNGEM is not set
407# CONFIG_CASSINI is not set
408# CONFIG_NET_VENDOR_3COM is not set
409
410#
411# Tulip family network device support
412#
413# CONFIG_NET_TULIP is not set
414# CONFIG_HP100 is not set
415# CONFIG_NET_PCI is not set
416CONFIG_FS_ENET=y
417# CONFIG_FS_ENET_HAS_SCC is not set
418CONFIG_FS_ENET_HAS_FCC=y
419
420#
421# Ethernet (1000 Mbit)
422#
423# CONFIG_ACENIC is not set
424# CONFIG_DL2K is not set
425CONFIG_E1000=y
426CONFIG_E1000_NAPI=y
427# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
428# CONFIG_NS83820 is not set
429# CONFIG_HAMACHI is not set
430# CONFIG_YELLOWFIN is not set
431# CONFIG_R8169 is not set
432# CONFIG_SIS190 is not set
433# CONFIG_SKGE is not set
434# CONFIG_SKY2 is not set
435# CONFIG_SK98LIN is not set
436# CONFIG_TIGON3 is not set
437# CONFIG_BNX2 is not set
438CONFIG_GIANFAR=y
439CONFIG_GFAR_NAPI=y
440
441#
442# Ethernet (10000 Mbit)
443#
444# CONFIG_CHELSIO_T1 is not set
445# CONFIG_IXGB is not set
446# CONFIG_S2IO is not set
447# CONFIG_MYRI10GE is not set
448
449#
450# Token Ring devices
451#
452# CONFIG_TR is not set
453
454#
455# Wireless LAN (non-hamradio)
456#
457# CONFIG_NET_RADIO is not set
458
459#
460# Wan interfaces
461#
462# CONFIG_WAN is not set
463# CONFIG_FDDI is not set
464# CONFIG_HIPPI is not set
465# CONFIG_PPP is not set
466# CONFIG_SLIP is not set
467# CONFIG_SHAPER is not set
468# CONFIG_NETCONSOLE is not set
469# CONFIG_NETPOLL is not set
470# CONFIG_NET_POLL_CONTROLLER is not set
471
472#
473# ISDN subsystem
474#
475# CONFIG_ISDN is not set
476
477#
478# Telephony Support
479#
480# CONFIG_PHONE is not set
481
482#
483# Input device support
484#
485CONFIG_INPUT=y
486
487#
488# Userland interfaces
489#
490# CONFIG_INPUT_MOUSEDEV is not set
491# CONFIG_INPUT_JOYDEV is not set
492# CONFIG_INPUT_TSDEV is not set
493# CONFIG_INPUT_EVDEV is not set
494# CONFIG_INPUT_EVBUG is not set
495
496#
497# Input Device Drivers
498#
499# CONFIG_INPUT_KEYBOARD is not set
500# CONFIG_INPUT_MOUSE is not set
501# CONFIG_INPUT_JOYSTICK is not set
502# CONFIG_INPUT_TOUCHSCREEN is not set
503# CONFIG_INPUT_MISC is not set
504
505#
506# Hardware I/O ports
507#
508# CONFIG_SERIO is not set
509# CONFIG_GAMEPORT is not set
510
511#
512# Character devices
513#
514# CONFIG_VT is not set
515# CONFIG_SERIAL_NONSTANDARD is not set
516
517#
518# Serial drivers
519#
520# CONFIG_SERIAL_8250 is not set
521
522#
523# Non-8250 serial port support
524#
525CONFIG_SERIAL_CORE=y
526CONFIG_SERIAL_CORE_CONSOLE=y
527CONFIG_SERIAL_CPM=y
528CONFIG_SERIAL_CPM_CONSOLE=y
529CONFIG_SERIAL_CPM_SCC1=y
530CONFIG_SERIAL_CPM_SCC2=y
531# CONFIG_SERIAL_CPM_SCC3 is not set
532# CONFIG_SERIAL_CPM_SCC4 is not set
533# CONFIG_SERIAL_CPM_SMC1 is not set
534# CONFIG_SERIAL_CPM_SMC2 is not set
535# CONFIG_SERIAL_JSM is not set
536CONFIG_UNIX98_PTYS=y
537CONFIG_LEGACY_PTYS=y
538CONFIG_LEGACY_PTY_COUNT=256
539# CONFIG_BRIQ_PANEL is not set
540
541#
542# IPMI
543#
544# CONFIG_IPMI_HANDLER is not set
545
546#
547# Watchdog Cards
548#
549# CONFIG_WATCHDOG is not set
550CONFIG_HW_RANDOM=y
551# CONFIG_NVRAM is not set
552CONFIG_GEN_RTC=y
553# CONFIG_GEN_RTC_X is not set
554# CONFIG_DTLK is not set
555# CONFIG_R3964 is not set
556# CONFIG_APPLICOM is not set
557
558#
559# Ftape, the floppy tape device driver
560#
561# CONFIG_AGP is not set
562# CONFIG_DRM is not set
563# CONFIG_RAW_DRIVER is not set
564
565#
566# TPM devices
567#
568# CONFIG_TCG_TPM is not set
569# CONFIG_TELCLOCK is not set
570
571#
572# I2C support
573#
574# CONFIG_I2C is not set
575
576#
577# SPI support
578#
579# CONFIG_SPI is not set
580# CONFIG_SPI_MASTER is not set
581
582#
583# Dallas's 1-wire bus
584#
585
586#
587# Hardware Monitoring support
588#
589CONFIG_HWMON=y
590# CONFIG_HWMON_VID is not set
591# CONFIG_SENSORS_ABITUGURU is not set
592# CONFIG_SENSORS_F71805F is not set
593# CONFIG_HWMON_DEBUG_CHIP is not set
594
595#
596# Misc devices
597#
598
599#
600# Multimedia devices
601#
602# CONFIG_VIDEO_DEV is not set
603CONFIG_VIDEO_V4L2=y
604
605#
606# Digital Video Broadcasting Devices
607#
608# CONFIG_DVB is not set
609
610#
611# Graphics support
612#
613CONFIG_FIRMWARE_EDID=y
614# CONFIG_FB is not set
615# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
616
617#
618# Sound
619#
620# CONFIG_SOUND is not set
621
622#
623# USB support
624#
625CONFIG_USB_ARCH_HAS_HCD=y
626CONFIG_USB_ARCH_HAS_OHCI=y
627CONFIG_USB_ARCH_HAS_EHCI=y
628# CONFIG_USB is not set
629
630#
631# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
632#
633
634#
635# USB Gadget Support
636#
637# CONFIG_USB_GADGET is not set
638
639#
640# MMC/SD Card support
641#
642# CONFIG_MMC is not set
643
644#
645# LED devices
646#
647# CONFIG_NEW_LEDS is not set
648
649#
650# LED drivers
651#
652
653#
654# LED Triggers
655#
656
657#
658# InfiniBand support
659#
660# CONFIG_INFINIBAND is not set
661
662#
663# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
664#
665
666#
667# Real Time Clock
668#
669# CONFIG_RTC_CLASS is not set
670
671#
672# DMA Engine support
673#
674# CONFIG_DMA_ENGINE is not set
675
676#
677# DMA Clients
678#
679
680#
681# DMA Devices
682#
683
684#
685# File systems
686#
687CONFIG_EXT2_FS=y
688# CONFIG_EXT2_FS_XATTR is not set
689# CONFIG_EXT2_FS_XIP is not set
690CONFIG_EXT3_FS=y
691CONFIG_EXT3_FS_XATTR=y
692# CONFIG_EXT3_FS_POSIX_ACL is not set
693# CONFIG_EXT3_FS_SECURITY is not set
694CONFIG_JBD=y
695# CONFIG_JBD_DEBUG is not set
696CONFIG_FS_MBCACHE=y
697# CONFIG_REISERFS_FS is not set
698# CONFIG_JFS_FS is not set
699# CONFIG_FS_POSIX_ACL is not set
700# CONFIG_XFS_FS is not set
701# CONFIG_OCFS2_FS is not set
702# CONFIG_MINIX_FS is not set
703# CONFIG_ROMFS_FS is not set
704CONFIG_INOTIFY=y
705CONFIG_INOTIFY_USER=y
706# CONFIG_QUOTA is not set
707CONFIG_DNOTIFY=y
708# CONFIG_AUTOFS_FS is not set
709# CONFIG_AUTOFS4_FS is not set
710# CONFIG_FUSE_FS is not set
711
712#
713# CD-ROM/DVD Filesystems
714#
715# CONFIG_ISO9660_FS is not set
716# CONFIG_UDF_FS is not set
717
718#
719# DOS/FAT/NT Filesystems
720#
721# CONFIG_MSDOS_FS is not set
722# CONFIG_VFAT_FS is not set
723# CONFIG_NTFS_FS is not set
724
725#
726# Pseudo filesystems
727#
728CONFIG_PROC_FS=y
729CONFIG_PROC_KCORE=y
730CONFIG_SYSFS=y
731CONFIG_TMPFS=y
732# CONFIG_HUGETLB_PAGE is not set
733CONFIG_RAMFS=y
734# CONFIG_CONFIGFS_FS is not set
735
736#
737# Miscellaneous filesystems
738#
739# CONFIG_ADFS_FS is not set
740# CONFIG_AFFS_FS is not set
741# CONFIG_HFS_FS is not set
742# CONFIG_HFSPLUS_FS is not set
743# CONFIG_BEFS_FS is not set
744# CONFIG_BFS_FS is not set
745# CONFIG_EFS_FS is not set
746# CONFIG_CRAMFS is not set
747# CONFIG_VXFS_FS is not set
748# CONFIG_HPFS_FS is not set
749# CONFIG_QNX4FS_FS is not set
750# CONFIG_SYSV_FS is not set
751# CONFIG_UFS_FS is not set
752
753#
754# Network File Systems
755#
756CONFIG_NFS_FS=y
757# CONFIG_NFS_V3 is not set
758# CONFIG_NFS_V4 is not set
759# CONFIG_NFS_DIRECTIO is not set
760# CONFIG_NFSD is not set
761CONFIG_ROOT_NFS=y
762CONFIG_LOCKD=y
763CONFIG_NFS_COMMON=y
764CONFIG_SUNRPC=y
765# CONFIG_RPCSEC_GSS_KRB5 is not set
766# CONFIG_RPCSEC_GSS_SPKM3 is not set
767# CONFIG_SMB_FS is not set
768# CONFIG_CIFS is not set
769# CONFIG_NCP_FS is not set
770# CONFIG_CODA_FS is not set
771# CONFIG_AFS_FS is not set
772# CONFIG_9P_FS is not set
773
774#
775# Partition Types
776#
777CONFIG_PARTITION_ADVANCED=y
778# CONFIG_ACORN_PARTITION is not set
779# CONFIG_OSF_PARTITION is not set
780# CONFIG_AMIGA_PARTITION is not set
781# CONFIG_ATARI_PARTITION is not set
782# CONFIG_MAC_PARTITION is not set
783# CONFIG_MSDOS_PARTITION is not set
784# CONFIG_LDM_PARTITION is not set
785# CONFIG_SGI_PARTITION is not set
786# CONFIG_ULTRIX_PARTITION is not set
787# CONFIG_SUN_PARTITION is not set
788# CONFIG_KARMA_PARTITION is not set
789# CONFIG_EFI_PARTITION is not set
790
791#
792# Native Language Support
793#
794# CONFIG_NLS is not set
795
796#
797# Library routines
798#
799# CONFIG_CRC_CCITT is not set
800# CONFIG_CRC16 is not set
801CONFIG_CRC32=y
802# CONFIG_LIBCRC32C is not set
803CONFIG_PLIST=y
804
805#
806# Instrumentation Support
807#
808# CONFIG_PROFILING is not set
809
810#
811# Kernel hacking
812#
813# CONFIG_PRINTK_TIME is not set
814# CONFIG_MAGIC_SYSRQ is not set
815# CONFIG_UNUSED_SYMBOLS is not set
816CONFIG_DEBUG_KERNEL=y
817CONFIG_LOG_BUF_SHIFT=14
818CONFIG_DETECT_SOFTLOCKUP=y
819# CONFIG_SCHEDSTATS is not set
820# CONFIG_DEBUG_SLAB is not set
821# CONFIG_DEBUG_RT_MUTEXES is not set
822# CONFIG_RT_MUTEX_TESTER is not set
823# CONFIG_DEBUG_SPINLOCK is not set
824CONFIG_DEBUG_MUTEXES=y
825# CONFIG_DEBUG_RWSEMS is not set
826# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
827# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
828# CONFIG_DEBUG_KOBJECT is not set
829# CONFIG_DEBUG_INFO is not set
830# CONFIG_DEBUG_FS is not set
831# CONFIG_DEBUG_VM is not set
832# CONFIG_UNWIND_INFO is not set
833CONFIG_FORCED_INLINING=y
834# CONFIG_RCU_TORTURE_TEST is not set
835# CONFIG_DEBUGGER is not set
836# CONFIG_KGDB_CONSOLE is not set
837# CONFIG_BDI_SWITCH is not set
838# CONFIG_BOOTX_TEXT is not set
839# CONFIG_PPC_EARLY_DEBUG is not set
840
841#
842# Security options
843#
844# CONFIG_KEYS is not set
845# CONFIG_SECURITY is not set
846
847#
848# Cryptographic options
849#
850# CONFIG_CRYPTO is not set
851
852#
853# Hardware crypto devices
854#
diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig
index 6861dde7d77b..765c8bb90ddd 100644
--- a/arch/powerpc/configs/pmac32_defconfig
+++ b/arch/powerpc/configs/pmac32_defconfig
@@ -682,7 +682,7 @@ CONFIG_SCSI_AIC7XXX_OLD=m
682# CONFIG_MEGARAID_NEWGEN is not set 682# CONFIG_MEGARAID_NEWGEN is not set
683# CONFIG_MEGARAID_LEGACY is not set 683# CONFIG_MEGARAID_LEGACY is not set
684# CONFIG_MEGARAID_SAS is not set 684# CONFIG_MEGARAID_SAS is not set
685# CONFIG_SCSI_SATA is not set 685# CONFIG_ATA is not set
686# CONFIG_SCSI_HPTIOP is not set 686# CONFIG_SCSI_HPTIOP is not set
687# CONFIG_SCSI_BUSLOGIC is not set 687# CONFIG_SCSI_BUSLOGIC is not set
688# CONFIG_SCSI_DMX3191D is not set 688# CONFIG_SCSI_DMX3191D is not set
@@ -1826,7 +1826,7 @@ CONFIG_OPROFILE=y
1826# Kernel hacking 1826# Kernel hacking
1827# 1827#
1828# CONFIG_PRINTK_TIME is not set 1828# CONFIG_PRINTK_TIME is not set
1829# CONFIG_MAGIC_SYSRQ is not set 1829CONFIG_MAGIC_SYSRQ=y
1830# CONFIG_UNUSED_SYMBOLS is not set 1830# CONFIG_UNUSED_SYMBOLS is not set
1831CONFIG_DEBUG_KERNEL=y 1831CONFIG_DEBUG_KERNEL=y
1832CONFIG_LOG_BUF_SHIFT=14 1832CONFIG_LOG_BUF_SHIFT=14
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index 7517d0c5303f..be11df7c11aa 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -520,23 +520,23 @@ CONFIG_SCSI_ISCSI_ATTRS=m
520# CONFIG_MEGARAID_NEWGEN is not set 520# CONFIG_MEGARAID_NEWGEN is not set
521# CONFIG_MEGARAID_LEGACY is not set 521# CONFIG_MEGARAID_LEGACY is not set
522# CONFIG_MEGARAID_SAS is not set 522# CONFIG_MEGARAID_SAS is not set
523CONFIG_SCSI_SATA=y 523CONFIG_ATA=y
524# CONFIG_SCSI_SATA_AHCI is not set 524# CONFIG_SATA_AHCI is not set
525CONFIG_SCSI_SATA_SVW=y 525CONFIG_SATA_SVW=y
526# CONFIG_SCSI_ATA_PIIX is not set 526# CONFIG_SCSI_ATA_PIIX is not set
527# CONFIG_SCSI_SATA_MV is not set 527# CONFIG_SATA_MV is not set
528# CONFIG_SCSI_SATA_NV is not set 528# CONFIG_SATA_NV is not set
529# CONFIG_SCSI_PDC_ADMA is not set 529# CONFIG_SCSI_PDC_ADMA is not set
530# CONFIG_SCSI_HPTIOP is not set 530# CONFIG_SCSI_HPTIOP is not set
531# CONFIG_SCSI_SATA_QSTOR is not set 531# CONFIG_SATA_QSTOR is not set
532# CONFIG_SCSI_SATA_PROMISE is not set 532# CONFIG_SATA_PROMISE is not set
533# CONFIG_SCSI_SATA_SX4 is not set 533# CONFIG_SATA_SX4 is not set
534# CONFIG_SCSI_SATA_SIL is not set 534# CONFIG_SATA_SIL is not set
535# CONFIG_SCSI_SATA_SIL24 is not set 535# CONFIG_SATA_SIL24 is not set
536# CONFIG_SCSI_SATA_SIS is not set 536# CONFIG_SATA_SIS is not set
537# CONFIG_SCSI_SATA_ULI is not set 537# CONFIG_SATA_ULI is not set
538# CONFIG_SCSI_SATA_VIA is not set 538# CONFIG_SATA_VIA is not set
539# CONFIG_SCSI_SATA_VITESSE is not set 539# CONFIG_SATA_VITESSE is not set
540# CONFIG_SCSI_BUSLOGIC is not set 540# CONFIG_SCSI_BUSLOGIC is not set
541# CONFIG_SCSI_DMX3191D is not set 541# CONFIG_SCSI_DMX3191D is not set
542# CONFIG_SCSI_EATA is not set 542# CONFIG_SCSI_EATA is not set
diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
index a8cdf312e1b0..44175fb7adec 100644
--- a/arch/powerpc/configs/pseries_defconfig
+++ b/arch/powerpc/configs/pseries_defconfig
@@ -506,7 +506,7 @@ CONFIG_SCSI_SAS_ATTRS=m
506# CONFIG_MEGARAID_NEWGEN is not set 506# CONFIG_MEGARAID_NEWGEN is not set
507# CONFIG_MEGARAID_LEGACY is not set 507# CONFIG_MEGARAID_LEGACY is not set
508# CONFIG_MEGARAID_SAS is not set 508# CONFIG_MEGARAID_SAS is not set
509# CONFIG_SCSI_SATA is not set 509# CONFIG_ATA is not set
510# CONFIG_SCSI_HPTIOP is not set 510# CONFIG_SCSI_HPTIOP is not set
511# CONFIG_SCSI_BUSLOGIC is not set 511# CONFIG_SCSI_BUSLOGIC is not set
512# CONFIG_SCSI_DMX3191D is not set 512# CONFIG_SCSI_DMX3191D is not set
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index b4432332341f..c3f58f2f9f52 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -777,7 +777,6 @@ unsigned int irq_alloc_virt(struct irq_host *host,
777{ 777{
778 unsigned long flags; 778 unsigned long flags;
779 unsigned int i, j, found = NO_IRQ; 779 unsigned int i, j, found = NO_IRQ;
780 unsigned int limit = irq_virq_count - count;
781 780
782 if (count == 0 || count > (irq_virq_count - NUM_ISA_INTERRUPTS)) 781 if (count == 0 || count > (irq_virq_count - NUM_ISA_INTERRUPTS))
783 return NO_IRQ; 782 return NO_IRQ;
@@ -794,14 +793,16 @@ unsigned int irq_alloc_virt(struct irq_host *host,
794 /* Look for count consecutive numbers in the allocatable 793 /* Look for count consecutive numbers in the allocatable
795 * (non-legacy) space 794 * (non-legacy) space
796 */ 795 */
797 for (i = NUM_ISA_INTERRUPTS; i <= limit; ) { 796 for (i = NUM_ISA_INTERRUPTS, j = 0; i < irq_virq_count; i++) {
798 for (j = i; j < (i + count); j++) 797 if (irq_map[i].host != NULL)
799 if (irq_map[j].host != NULL) { 798 j = 0;
800 i = j + 1; 799 else
801 continue; 800 j++;
802 } 801
803 found = i; 802 if (j == count) {
804 break; 803 found = i - count + 1;
804 break;
805 }
805 } 806 }
806 if (found == NO_IRQ) { 807 if (found == NO_IRQ) {
807 spin_unlock_irqrestore(&irq_big_lock, flags); 808 spin_unlock_irqrestore(&irq_big_lock, flags);
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c
index cd65c367b8b6..7b8d12b9026c 100644
--- a/arch/powerpc/kernel/kprobes.c
+++ b/arch/powerpc/kernel/kprobes.c
@@ -259,14 +259,15 @@ void kretprobe_trampoline_holder(void)
259 */ 259 */
260int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) 260int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
261{ 261{
262 struct kretprobe_instance *ri = NULL; 262 struct kretprobe_instance *ri = NULL;
263 struct hlist_head *head; 263 struct hlist_head *head, empty_rp;
264 struct hlist_node *node, *tmp; 264 struct hlist_node *node, *tmp;
265 unsigned long flags, orig_ret_address = 0; 265 unsigned long flags, orig_ret_address = 0;
266 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline; 266 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline;
267 267
268 INIT_HLIST_HEAD(&empty_rp);
268 spin_lock_irqsave(&kretprobe_lock, flags); 269 spin_lock_irqsave(&kretprobe_lock, flags);
269 head = kretprobe_inst_table_head(current); 270 head = kretprobe_inst_table_head(current);
270 271
271 /* 272 /*
272 * It is possible to have multiple instances associated with a given 273 * It is possible to have multiple instances associated with a given
@@ -277,20 +278,20 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
277 * We can handle this because: 278 * We can handle this because:
278 * - instances are always inserted at the head of the list 279 * - instances are always inserted at the head of the list
279 * - when multiple return probes are registered for the same 280 * - when multiple return probes are registered for the same
280 * function, the first instance's ret_addr will point to the 281 * function, the first instance's ret_addr will point to the
281 * real return address, and all the rest will point to 282 * real return address, and all the rest will point to
282 * kretprobe_trampoline 283 * kretprobe_trampoline
283 */ 284 */
284 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { 285 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {
285 if (ri->task != current) 286 if (ri->task != current)
286 /* another task is sharing our hash bucket */ 287 /* another task is sharing our hash bucket */
287 continue; 288 continue;
288 289
289 if (ri->rp && ri->rp->handler) 290 if (ri->rp && ri->rp->handler)
290 ri->rp->handler(ri, regs); 291 ri->rp->handler(ri, regs);
291 292
292 orig_ret_address = (unsigned long)ri->ret_addr; 293 orig_ret_address = (unsigned long)ri->ret_addr;
293 recycle_rp_inst(ri); 294 recycle_rp_inst(ri, &empty_rp);
294 295
295 if (orig_ret_address != trampoline_address) 296 if (orig_ret_address != trampoline_address)
296 /* 297 /*
@@ -308,12 +309,16 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
308 spin_unlock_irqrestore(&kretprobe_lock, flags); 309 spin_unlock_irqrestore(&kretprobe_lock, flags);
309 preempt_enable_no_resched(); 310 preempt_enable_no_resched();
310 311
311 /* 312 hlist_for_each_entry_safe(ri, node, tmp, &empty_rp, hlist) {
312 * By returning a non-zero value, we are telling 313 hlist_del(&ri->hlist);
313 * kprobe_handler() that we don't want the post_handler 314 kfree(ri);
314 * to run (and have re-enabled preemption) 315 }
315 */ 316 /*
316 return 1; 317 * By returning a non-zero value, we are telling
318 * kprobe_handler() that we don't want the post_handler
319 * to run (and have re-enabled preemption)
320 */
321 return 1;
317} 322}
318 323
319/* 324/*
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index 58758d883361..88fd73fdf048 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -843,7 +843,7 @@ _GLOBAL(kernel_thread)
843 addi r1,r1,16 843 addi r1,r1,16
844 blr 844 blr
845 845
846_GLOBAL(execve) 846_GLOBAL(kernel_execve)
847 li r0,__NR_execve 847 li r0,__NR_execve
848 sc 848 sc
849 bnslr 849 bnslr
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S
index e3ed21cd3d94..9c54eccad993 100644
--- a/arch/powerpc/kernel/misc_64.S
+++ b/arch/powerpc/kernel/misc_64.S
@@ -556,7 +556,7 @@ _GLOBAL(giveup_altivec)
556 556
557#endif /* CONFIG_ALTIVEC */ 557#endif /* CONFIG_ALTIVEC */
558 558
559_GLOBAL(execve) 559_GLOBAL(kernel_execve)
560 li r0,__NR_execve 560 li r0,__NR_execve
561 sc 561 sc
562 bnslr 562 bnslr
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index a127a1e3c097..7b2f6452ba72 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -424,7 +424,7 @@ void show_regs(struct pt_regs * regs)
424 printk("NIP: "REG" LR: "REG" CTR: "REG"\n", 424 printk("NIP: "REG" LR: "REG" CTR: "REG"\n",
425 regs->nip, regs->link, regs->ctr); 425 regs->nip, regs->link, regs->ctr);
426 printk("REGS: %p TRAP: %04lx %s (%s)\n", 426 printk("REGS: %p TRAP: %04lx %s (%s)\n",
427 regs, regs->trap, print_tainted(), system_utsname.release); 427 regs, regs->trap, print_tainted(), init_utsname()->release);
428 printk("MSR: "REG" ", regs->msr); 428 printk("MSR: "REG" ", regs->msr);
429 printbits(regs->msr, msr_bits); 429 printbits(regs->msr, msr_bits);
430 printk(" CR: %08lX XER: %08lX\n", regs->ccr, regs->xer); 430 printk(" CR: %08lX XER: %08lX\n", regs->ccr, regs->xer);
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index dea75d73f983..975102a020d9 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -526,9 +526,7 @@ static void do_syscall_trace(void)
526 526
527void do_syscall_trace_enter(struct pt_regs *regs) 527void do_syscall_trace_enter(struct pt_regs *regs)
528{ 528{
529#ifdef CONFIG_PPC64
530 secure_computing(regs->gpr[0]); 529 secure_computing(regs->gpr[0]);
531#endif
532 530
533 if (test_thread_flag(TIF_SYSCALL_TRACE) 531 if (test_thread_flag(TIF_SYSCALL_TRACE)
534 && (current->ptrace & PT_PTRACED)) 532 && (current->ptrace & PT_PTRACED))
@@ -548,12 +546,8 @@ void do_syscall_trace_enter(struct pt_regs *regs)
548 546
549void do_syscall_trace_leave(struct pt_regs *regs) 547void do_syscall_trace_leave(struct pt_regs *regs)
550{ 548{
551#ifdef CONFIG_PPC32
552 secure_computing(regs->gpr[0]);
553#endif
554
555 if (unlikely(current->audit_context)) 549 if (unlikely(current->audit_context))
556 audit_syscall_exit((regs->ccr&0x1000)?AUDITSC_FAILURE:AUDITSC_SUCCESS, 550 audit_syscall_exit((regs->ccr&0x10000000)?AUDITSC_FAILURE:AUDITSC_SUCCESS,
557 regs->result); 551 regs->result);
558 552
559 if ((test_thread_flag(TIF_SYSCALL_TRACE) 553 if ((test_thread_flag(TIF_SYSCALL_TRACE)
@@ -561,8 +555,3 @@ void do_syscall_trace_leave(struct pt_regs *regs)
561 && (current->ptrace & PT_PTRACED)) 555 && (current->ptrace & PT_PTRACED))
562 do_syscall_trace(); 556 do_syscall_trace();
563} 557}
564
565#ifdef CONFIG_PPC32
566EXPORT_SYMBOL(do_syscall_trace_enter);
567EXPORT_SYMBOL(do_syscall_trace_leave);
568#endif
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index e0df2ba1ab9f..79a17795d17b 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -67,10 +67,6 @@ int have_of = 1;
67dev_t boot_dev; 67dev_t boot_dev;
68#endif /* CONFIG_PPC_MULTIPLATFORM */ 68#endif /* CONFIG_PPC_MULTIPLATFORM */
69 69
70#ifdef CONFIG_MAGIC_SYSRQ
71unsigned long SYSRQ_KEY = 0x54;
72#endif /* CONFIG_MAGIC_SYSRQ */
73
74#ifdef CONFIG_VGA_CONSOLE 70#ifdef CONFIG_VGA_CONSOLE
75unsigned long vgacon_remap_base; 71unsigned long vgacon_remap_base;
76#endif 72#endif
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 00d6b8addd78..cda2dbe70a76 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -93,11 +93,6 @@ int dcache_bsize;
93int icache_bsize; 93int icache_bsize;
94int ucache_bsize; 94int ucache_bsize;
95 95
96#ifdef CONFIG_MAGIC_SYSRQ
97unsigned long SYSRQ_KEY;
98#endif /* CONFIG_MAGIC_SYSRQ */
99
100
101#ifdef CONFIG_SMP 96#ifdef CONFIG_SMP
102 97
103static int smt_enabled_cmdline; 98static int smt_enabled_cmdline;
@@ -419,7 +414,7 @@ void __init setup_system(void)
419 smp_release_cpus(); 414 smp_release_cpus();
420#endif 415#endif
421 416
422 printk("Starting Linux PPC64 %s\n", system_utsname.version); 417 printk("Starting Linux PPC64 %s\n", init_utsname()->version);
423 418
424 printk("-----------------------------------------------------\n"); 419 printk("-----------------------------------------------------\n");
425 printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size); 420 printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size);
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index 5e391fc25340..d15c33e95959 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -69,16 +69,20 @@ struct readdir_callback32 {
69}; 69};
70 70
71static int fillonedir(void * __buf, const char * name, int namlen, 71static int fillonedir(void * __buf, const char * name, int namlen,
72 off_t offset, ino_t ino, unsigned int d_type) 72 off_t offset, u64 ino, unsigned int d_type)
73{ 73{
74 struct readdir_callback32 * buf = (struct readdir_callback32 *) __buf; 74 struct readdir_callback32 * buf = (struct readdir_callback32 *) __buf;
75 struct old_linux_dirent32 __user * dirent; 75 struct old_linux_dirent32 __user * dirent;
76 ino_t d_ino;
76 77
77 if (buf->count) 78 if (buf->count)
78 return -EINVAL; 79 return -EINVAL;
80 d_ino = ino;
81 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
82 return -EOVERFLOW;
79 buf->count++; 83 buf->count++;
80 dirent = buf->dirent; 84 dirent = buf->dirent;
81 put_user(ino, &dirent->d_ino); 85 put_user(d_ino, &dirent->d_ino);
82 put_user(offset, &dirent->d_offset); 86 put_user(offset, &dirent->d_offset);
83 put_user(namlen, &dirent->d_namlen); 87 put_user(namlen, &dirent->d_namlen);
84 copy_to_user(dirent->d_name, name, namlen); 88 copy_to_user(dirent->d_name, name, namlen);
@@ -120,15 +124,20 @@ asmlinkage long ppc32_select(u32 n, compat_ulong_t __user *inp,
120 124
121int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) 125int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf)
122{ 126{
127 compat_ino_t ino;
123 long err; 128 long err;
124 129
125 if (stat->size > MAX_NON_LFS || !new_valid_dev(stat->dev) || 130 if (stat->size > MAX_NON_LFS || !new_valid_dev(stat->dev) ||
126 !new_valid_dev(stat->rdev)) 131 !new_valid_dev(stat->rdev))
127 return -EOVERFLOW; 132 return -EOVERFLOW;
128 133
134 ino = stat->ino;
135 if (sizeof(ino) < sizeof(stat->ino) && ino != stat->ino)
136 return -EOVERFLOW;
137
129 err = access_ok(VERIFY_WRITE, statbuf, sizeof(*statbuf)) ? 0 : -EFAULT; 138 err = access_ok(VERIFY_WRITE, statbuf, sizeof(*statbuf)) ? 0 : -EFAULT;
130 err |= __put_user(new_encode_dev(stat->dev), &statbuf->st_dev); 139 err |= __put_user(new_encode_dev(stat->dev), &statbuf->st_dev);
131 err |= __put_user(stat->ino, &statbuf->st_ino); 140 err |= __put_user(ino, &statbuf->st_ino);
132 err |= __put_user(stat->mode, &statbuf->st_mode); 141 err |= __put_user(stat->mode, &statbuf->st_mode);
133 err |= __put_user(stat->nlink, &statbuf->st_nlink); 142 err |= __put_user(stat->nlink, &statbuf->st_nlink);
134 err |= __put_user(stat->uid, &statbuf->st_uid); 143 err |= __put_user(stat->uid, &statbuf->st_uid);
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c
index 9b69d99a9103..d358866b880f 100644
--- a/arch/powerpc/kernel/syscalls.c
+++ b/arch/powerpc/kernel/syscalls.c
@@ -260,7 +260,7 @@ long ppc_newuname(struct new_utsname __user * name)
260 int err = 0; 260 int err = 0;
261 261
262 down_read(&uts_sem); 262 down_read(&uts_sem);
263 if (copy_to_user(name, &system_utsname, sizeof(*name))) 263 if (copy_to_user(name, utsname(), sizeof(*name)))
264 err = -EFAULT; 264 err = -EFAULT;
265 up_read(&uts_sem); 265 up_read(&uts_sem);
266 if (!err) 266 if (!err)
@@ -273,7 +273,7 @@ int sys_uname(struct old_utsname __user *name)
273 int err = 0; 273 int err = 0;
274 274
275 down_read(&uts_sem); 275 down_read(&uts_sem);
276 if (copy_to_user(name, &system_utsname, sizeof(*name))) 276 if (copy_to_user(name, utsname(), sizeof(*name)))
277 err = -EFAULT; 277 err = -EFAULT;
278 up_read(&uts_sem); 278 up_read(&uts_sem);
279 if (!err) 279 if (!err)
@@ -289,19 +289,19 @@ int sys_olduname(struct oldold_utsname __user *name)
289 return -EFAULT; 289 return -EFAULT;
290 290
291 down_read(&uts_sem); 291 down_read(&uts_sem);
292 error = __copy_to_user(&name->sysname, &system_utsname.sysname, 292 error = __copy_to_user(&name->sysname, &utsname()->sysname,
293 __OLD_UTS_LEN); 293 __OLD_UTS_LEN);
294 error |= __put_user(0, name->sysname + __OLD_UTS_LEN); 294 error |= __put_user(0, name->sysname + __OLD_UTS_LEN);
295 error |= __copy_to_user(&name->nodename, &system_utsname.nodename, 295 error |= __copy_to_user(&name->nodename, &utsname()->nodename,
296 __OLD_UTS_LEN); 296 __OLD_UTS_LEN);
297 error |= __put_user(0, name->nodename + __OLD_UTS_LEN); 297 error |= __put_user(0, name->nodename + __OLD_UTS_LEN);
298 error |= __copy_to_user(&name->release, &system_utsname.release, 298 error |= __copy_to_user(&name->release, &utsname()->release,
299 __OLD_UTS_LEN); 299 __OLD_UTS_LEN);
300 error |= __put_user(0, name->release + __OLD_UTS_LEN); 300 error |= __put_user(0, name->release + __OLD_UTS_LEN);
301 error |= __copy_to_user(&name->version, &system_utsname.version, 301 error |= __copy_to_user(&name->version, &utsname()->version,
302 __OLD_UTS_LEN); 302 __OLD_UTS_LEN);
303 error |= __put_user(0, name->version + __OLD_UTS_LEN); 303 error |= __put_user(0, name->version + __OLD_UTS_LEN);
304 error |= __copy_to_user(&name->machine, &system_utsname.machine, 304 error |= __copy_to_user(&name->machine, &utsname()->machine,
305 __OLD_UTS_LEN); 305 __OLD_UTS_LEN);
306 error |= override_machine(name->machine); 306 error |= override_machine(name->machine);
307 up_read(&uts_sem); 307 up_read(&uts_sem);
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c
index 406f308ddead..d45a168bdaca 100644
--- a/arch/powerpc/kernel/sysfs.c
+++ b/arch/powerpc/kernel/sysfs.c
@@ -25,8 +25,8 @@ static DEFINE_PER_CPU(struct cpu, cpu_devices);
25/* SMT stuff */ 25/* SMT stuff */
26 26
27#ifdef CONFIG_PPC_MULTIPLATFORM 27#ifdef CONFIG_PPC_MULTIPLATFORM
28/* default to snooze disabled */ 28/* Time in microseconds we delay before sleeping in the idle loop */
29DEFINE_PER_CPU(unsigned long, smt_snooze_delay); 29DEFINE_PER_CPU(unsigned long, smt_snooze_delay) = { 100 };
30 30
31static ssize_t store_smt_snooze_delay(struct sys_device *dev, const char *buf, 31static ssize_t store_smt_snooze_delay(struct sys_device *dev, const char *buf,
32 size_t count) 32 size_t count)
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 71f71da98e7d..85b9244a098c 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -117,8 +117,6 @@ unsigned tb_to_ns_shift;
117 117
118struct gettimeofday_struct do_gtod; 118struct gettimeofday_struct do_gtod;
119 119
120extern unsigned long wall_jiffies;
121
122extern struct timezone sys_tz; 120extern struct timezone sys_tz;
123static long timezone_offset; 121static long timezone_offset;
124 122
@@ -816,11 +814,6 @@ int do_settimeofday(struct timespec *tv)
816 /* 814 /*
817 * Subtract off the number of nanoseconds since the 815 * Subtract off the number of nanoseconds since the
818 * beginning of the last tick. 816 * beginning of the last tick.
819 * Note that since we don't increment jiffies_64 anywhere other
820 * than in do_timer (since we don't have a lost tick problem),
821 * wall_jiffies will always be the same as jiffies,
822 * and therefore the (jiffies - wall_jiffies) computation
823 * has been removed.
824 */ 817 */
825 tb_delta = tb_ticks_since(tb_last_jiffy); 818 tb_delta = tb_ticks_since(tb_last_jiffy);
826 tb_delta = mulhdu(tb_delta, do_gtod.varp->tb_to_xs); /* in xsec */ 819 tb_delta = mulhdu(tb_delta, do_gtod.varp->tb_to_xs); /* in xsec */
@@ -1048,6 +1041,48 @@ void __init time_init(void)
1048 set_dec(tb_ticks_per_jiffy); 1041 set_dec(tb_ticks_per_jiffy);
1049} 1042}
1050 1043
1044#ifdef CONFIG_RTC_CLASS
1045static int set_rtc_class_time(struct rtc_time *tm)
1046{
1047 int err;
1048 struct class_device *class_dev =
1049 rtc_class_open(CONFIG_RTC_HCTOSYS_DEVICE);
1050
1051 if (class_dev == NULL)
1052 return -ENODEV;
1053
1054 err = rtc_set_time(class_dev, tm);
1055
1056 rtc_class_close(class_dev);
1057
1058 return 0;
1059}
1060
1061static void get_rtc_class_time(struct rtc_time *tm)
1062{
1063 int err;
1064 struct class_device *class_dev =
1065 rtc_class_open(CONFIG_RTC_HCTOSYS_DEVICE);
1066
1067 if (class_dev == NULL)
1068 return;
1069
1070 err = rtc_read_time(class_dev, tm);
1071
1072 rtc_class_close(class_dev);
1073
1074 return;
1075}
1076
1077int __init rtc_class_hookup(void)
1078{
1079 ppc_md.get_rtc_time = get_rtc_class_time;
1080 ppc_md.set_rtc_time = set_rtc_class_time;
1081
1082 return 0;
1083}
1084#endif /* CONFIG_RTC_CLASS */
1085
1051 1086
1052#define FEBRUARY 2 1087#define FEBRUARY 2
1053#define STARTOFTIME 1970 1088#define STARTOFTIME 1970
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 336dd191f768..a0360ae10d0c 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -14,9 +14,15 @@ endif
14obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \ 14obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
15 memcpy_64.o usercopy_64.o mem_64.o string.o \ 15 memcpy_64.o usercopy_64.o mem_64.o string.o \
16 strcase.o 16 strcase.o
17obj-$(CONFIG_QUICC_ENGINE) += rheap.o
17obj-$(CONFIG_XMON) += sstep.o 18obj-$(CONFIG_XMON) += sstep.o
18 19
19ifeq ($(CONFIG_PPC64),y) 20ifeq ($(CONFIG_PPC64),y)
20obj-$(CONFIG_SMP) += locks.o 21obj-$(CONFIG_SMP) += locks.o
21obj-$(CONFIG_DEBUG_KERNEL) += sstep.o 22obj-$(CONFIG_DEBUG_KERNEL) += sstep.o
22endif 23endif
24
25# Temporary hack until we have migrated to asm-powerpc
26ifeq ($(CONFIG_PPC_MERGE),y)
27obj-$(CONFIG_CPM2) += rheap.o
28endif
diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c
index 31e511856dc5..57bf991ccd6e 100644
--- a/arch/powerpc/lib/rheap.c
+++ b/arch/powerpc/lib/rheap.c
@@ -423,17 +423,21 @@ void *rh_detach_region(rh_info_t * info, void *start, int size)
423 return (void *)s; 423 return (void *)s;
424} 424}
425 425
426void *rh_alloc(rh_info_t * info, int size, const char *owner) 426void *rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner)
427{ 427{
428 struct list_head *l; 428 struct list_head *l;
429 rh_block_t *blk; 429 rh_block_t *blk;
430 rh_block_t *newblk; 430 rh_block_t *newblk;
431 void *start; 431 void *start;
432 432
433 /* Validate size */ 433 /* Validate size, (must be power of two) */
434 if (size <= 0) 434 if (size <= 0 || (alignment & (alignment - 1)) != 0)
435 return ERR_PTR(-EINVAL); 435 return ERR_PTR(-EINVAL);
436 436
437 /* given alignment larger that default rheap alignment */
438 if (alignment > info->alignment)
439 size += alignment - 1;
440
437 /* Align to configured alignment */ 441 /* Align to configured alignment */
438 size = (size + (info->alignment - 1)) & ~(info->alignment - 1); 442 size = (size + (info->alignment - 1)) & ~(info->alignment - 1);
439 443
@@ -476,15 +480,27 @@ void *rh_alloc(rh_info_t * info, int size, const char *owner)
476 480
477 attach_taken_block(info, newblk); 481 attach_taken_block(info, newblk);
478 482
483 /* for larger alignment return fixed up pointer */
484 /* this is no problem with the deallocator since */
485 /* we scan for pointers that lie in the blocks */
486 if (alignment > info->alignment)
487 start = (void *)(((unsigned long)start + alignment - 1) &
488 ~(alignment - 1));
489
479 return start; 490 return start;
480} 491}
481 492
493void *rh_alloc(rh_info_t * info, int size, const char *owner)
494{
495 return rh_alloc_align(info, size, info->alignment, owner);
496}
497
482/* allocate at precisely the given address */ 498/* allocate at precisely the given address */
483void *rh_alloc_fixed(rh_info_t * info, void *start, int size, const char *owner) 499void *rh_alloc_fixed(rh_info_t * info, void *start, int size, const char *owner)
484{ 500{
485 struct list_head *l; 501 struct list_head *l;
486 rh_block_t *blk, *newblk1, *newblk2; 502 rh_block_t *blk, *newblk1, *newblk2;
487 unsigned long s, e, m, bs, be; 503 unsigned long s, e, m, bs = 0, be = 0;
488 504
489 /* Validate size */ 505 /* Validate size */
490 if (size <= 0) 506 if (size <= 0)
diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile
index 754143e8936b..29bc9126241b 100644
--- a/arch/powerpc/math-emu/Makefile
+++ b/arch/powerpc/math-emu/Makefile
@@ -11,3 +11,6 @@ obj-$(CONFIG_MATH_EMULATION) += fabs.o fadd.o fadds.o fcmpo.o fcmpu.o \
11 mcrfs.o mffs.o mtfsb0.o mtfsb1.o \ 11 mcrfs.o mffs.o mtfsb0.o mtfsb1.o \
12 mtfsf.o mtfsfi.o stfiwx.o stfs.o \ 12 mtfsf.o mtfsfi.o stfiwx.o stfs.o \
13 udivmodti4.o 13 udivmodti4.o
14
15CFLAGS_fabs.o = -fno-builtin-fabs
16CFLAGS_math.o = -fno-builtin-fabs
diff --git a/arch/powerpc/oprofile/backtrace.c b/arch/powerpc/oprofile/backtrace.c
index 75f57bc96b40..b4278cfd1f80 100644
--- a/arch/powerpc/oprofile/backtrace.c
+++ b/arch/powerpc/oprofile/backtrace.c
@@ -11,6 +11,7 @@
11#include <linux/sched.h> 11#include <linux/sched.h>
12#include <asm/processor.h> 12#include <asm/processor.h>
13#include <asm/uaccess.h> 13#include <asm/uaccess.h>
14#include <asm/compat.h>
14 15
15#define STACK_SP(STACK) *(STACK) 16#define STACK_SP(STACK) *(STACK)
16 17
@@ -26,8 +27,9 @@
26static unsigned int user_getsp32(unsigned int sp, int is_first) 27static unsigned int user_getsp32(unsigned int sp, int is_first)
27{ 28{
28 unsigned int stack_frame[2]; 29 unsigned int stack_frame[2];
30 void __user *p = compat_ptr(sp);
29 31
30 if (!access_ok(VERIFY_READ, sp, sizeof(stack_frame))) 32 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame)))
31 return 0; 33 return 0;
32 34
33 /* 35 /*
@@ -35,8 +37,7 @@ static unsigned int user_getsp32(unsigned int sp, int is_first)
35 * which means that we've done all that we can do from 37 * which means that we've done all that we can do from
36 * interrupt context. 38 * interrupt context.
37 */ 39 */
38 if (__copy_from_user_inatomic(stack_frame, (void *)(long)sp, 40 if (__copy_from_user_inatomic(stack_frame, p, sizeof(stack_frame)))
39 sizeof(stack_frame)))
40 return 0; 41 return 0;
41 42
42 if (!is_first) 43 if (!is_first)
@@ -54,10 +55,10 @@ static unsigned long user_getsp64(unsigned long sp, int is_first)
54{ 55{
55 unsigned long stack_frame[3]; 56 unsigned long stack_frame[3];
56 57
57 if (!access_ok(VERIFY_READ, sp, sizeof(stack_frame))) 58 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame)))
58 return 0; 59 return 0;
59 60
60 if (__copy_from_user_inatomic(stack_frame, (void *)sp, 61 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp,
61 sizeof(stack_frame))) 62 sizeof(stack_frame)))
62 return 0; 63 return 0;
63 64
diff --git a/arch/powerpc/platforms/83xx/mpc834x_itx.c b/arch/powerpc/platforms/83xx/mpc834x_itx.c
index 969fbb6d8c46..8c676d763bb0 100644
--- a/arch/powerpc/platforms/83xx/mpc834x_itx.c
+++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c
@@ -109,6 +109,10 @@ static int __init mpc834x_itx_probe(void)
109 return 1; 109 return 1;
110} 110}
111 111
112#ifdef CONFIG_RTC_CLASS
113late_initcall(rtc_class_hookup);
114#endif
115
112define_machine(mpc834x_itx) { 116define_machine(mpc834x_itx) {
113 .name = "MPC834x ITX", 117 .name = "MPC834x ITX",
114 .probe = mpc834x_itx_probe, 118 .probe = mpc834x_itx_probe,
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index c3268d9877e4..0584f3c7e884 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -11,6 +11,12 @@ config MPC8540_ADS
11 help 11 help
12 This option enables support for the MPC 8540 ADS board 12 This option enables support for the MPC 8540 ADS board
13 13
14config MPC8560_ADS
15 bool "Freescale MPC8560 ADS"
16 select DEFAULT_UIMAGE
17 help
18 This option enables support for the MPC 8560 ADS board
19
14config MPC85xx_CDS 20config MPC85xx_CDS
15 bool "Freescale MPC85xx CDS" 21 bool "Freescale MPC85xx CDS"
16 select DEFAULT_UIMAGE 22 select DEFAULT_UIMAGE
@@ -25,6 +31,11 @@ config MPC8540
25 select PPC_INDIRECT_PCI 31 select PPC_INDIRECT_PCI
26 default y if MPC8540_ADS || MPC85xx_CDS 32 default y if MPC8540_ADS || MPC85xx_CDS
27 33
34config MPC8560
35 bool
36 select PPC_INDIRECT_PCI
37 default y if MPC8560_ADS
38
28config PPC_INDIRECT_PCI_BE 39config PPC_INDIRECT_PCI_BE
29 bool 40 bool
30 depends on PPC_85xx 41 depends on PPC_85xx
@@ -34,4 +45,14 @@ config MPIC
34 bool 45 bool
35 default y 46 default y
36 47
48config CPM2
49 bool
50 depends on MPC8560
51 default y
52 help
53 The CPM2 (Communications Processor Module) is a coprocessor on
54 embedded CPUs made by Motorola. Selecting this option means that
55 you wish to build a kernel for a machine with a CPM2 coprocessor
56 on it.
57
37endmenu 58endmenu
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
index 7615aa59c78b..282f5d0d0152 100644
--- a/arch/powerpc/platforms/85xx/Makefile
+++ b/arch/powerpc/platforms/85xx/Makefile
@@ -3,4 +3,5 @@
3# 3#
4obj-$(CONFIG_PPC_85xx) += misc.o pci.o 4obj-$(CONFIG_PPC_85xx) += misc.o pci.o
5obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o 5obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o
6obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o
6obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o 7obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c
index cae6b73357d5..28070e7ae507 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c
@@ -32,6 +32,13 @@
32#include <sysdev/fsl_soc.h> 32#include <sysdev/fsl_soc.h>
33#include "mpc85xx.h" 33#include "mpc85xx.h"
34 34
35#ifdef CONFIG_CPM2
36#include <linux/fs_enet_pd.h>
37#include <asm/cpm2.h>
38#include <sysdev/cpm2_pic.h>
39#include <asm/fs_pd.h>
40#endif
41
35#ifndef CONFIG_PCI 42#ifndef CONFIG_PCI
36unsigned long isa_io_base = 0; 43unsigned long isa_io_base = 0;
37unsigned long isa_mem_base = 0; 44unsigned long isa_mem_base = 0;
@@ -57,12 +64,29 @@ mpc85xx_pcibios_fixup(void)
57} 64}
58#endif /* CONFIG_PCI */ 65#endif /* CONFIG_PCI */
59 66
67#ifdef CONFIG_CPM2
68
69static void cpm2_cascade(unsigned int irq, struct irq_desc *desc,
70 struct pt_regs *regs)
71{
72 int cascade_irq;
73
74 while ((cascade_irq = cpm2_get_irq(regs)) >= 0) {
75 generic_handle_irq(cascade_irq, regs);
76 }
77 desc->chip->eoi(irq);
78}
79
80#endif /* CONFIG_CPM2 */
60 81
61void __init mpc85xx_ads_pic_init(void) 82void __init mpc85xx_ads_pic_init(void)
62{ 83{
63 struct mpic *mpic; 84 struct mpic *mpic;
64 struct resource r; 85 struct resource r;
65 struct device_node *np = NULL; 86 struct device_node *np = NULL;
87#ifdef CONFIG_CPM2
88 int irq;
89#endif
66 90
67 np = of_find_node_by_type(np, "open-pic"); 91 np = of_find_node_by_type(np, "open-pic");
68 92
@@ -104,11 +128,103 @@ void __init mpc85xx_ads_pic_init(void)
104 mpic_assign_isu(mpic, 14, r.start + 0x10100); 128 mpic_assign_isu(mpic, 14, r.start + 0x10100);
105 129
106 mpic_init(mpic); 130 mpic_init(mpic);
131
132#ifdef CONFIG_CPM2
133 /* Setup CPM2 PIC */
134 np = of_find_node_by_type(NULL, "cpm-pic");
135 if (np == NULL) {
136 printk(KERN_ERR "PIC init: can not find cpm-pic node\n");
137 return;
138 }
139 irq = irq_of_parse_and_map(np, 0);
140
141 cpm2_pic_init(np);
142 set_irq_chained_handler(irq, cpm2_cascade);
143#endif
107} 144}
108 145
109/* 146/*
110 * Setup the architecture 147 * Setup the architecture
111 */ 148 */
149#ifdef CONFIG_CPM2
150void init_fcc_ioports(struct fs_platform_info *fpi)
151{
152 struct io_port *io = cpm2_map(im_ioport);
153 int fcc_no = fs_get_fcc_index(fpi->fs_no);
154 int target;
155 u32 tempval;
156
157 switch(fcc_no) {
158 case 1:
159 tempval = in_be32(&io->iop_pdirb);
160 tempval &= ~PB2_DIRB0;
161 tempval |= PB2_DIRB1;
162 out_be32(&io->iop_pdirb, tempval);
163
164 tempval = in_be32(&io->iop_psorb);
165 tempval &= ~PB2_PSORB0;
166 tempval |= PB2_PSORB1;
167 out_be32(&io->iop_psorb, tempval);
168
169 tempval = in_be32(&io->iop_pparb);
170 tempval |= (PB2_DIRB0 | PB2_DIRB1);
171 out_be32(&io->iop_pparb, tempval);
172
173 target = CPM_CLK_FCC2;
174 break;
175 case 2:
176 tempval = in_be32(&io->iop_pdirb);
177 tempval &= ~PB3_DIRB0;
178 tempval |= PB3_DIRB1;
179 out_be32(&io->iop_pdirb, tempval);
180
181 tempval = in_be32(&io->iop_psorb);
182 tempval &= ~PB3_PSORB0;
183 tempval |= PB3_PSORB1;
184 out_be32(&io->iop_psorb, tempval);
185
186 tempval = in_be32(&io->iop_pparb);
187 tempval |= (PB3_DIRB0 | PB3_DIRB1);
188 out_be32(&io->iop_pparb, tempval);
189
190 tempval = in_be32(&io->iop_pdirc);
191 tempval |= PC3_DIRC1;
192 out_be32(&io->iop_pdirc, tempval);
193
194 tempval = in_be32(&io->iop_pparc);
195 tempval |= PC3_DIRC1;
196 out_be32(&io->iop_pparc, tempval);
197
198 target = CPM_CLK_FCC3;
199 break;
200 default:
201 printk(KERN_ERR "init_fcc_ioports: invalid FCC number\n");
202 return;
203 }
204
205 /* Port C has clocks...... */
206 tempval = in_be32(&io->iop_psorc);
207 tempval &= ~(PC_CLK(fpi->clk_rx - 8) | PC_CLK(fpi->clk_tx - 8));
208 out_be32(&io->iop_psorc, tempval);
209
210 tempval = in_be32(&io->iop_pdirc);
211 tempval &= ~(PC_CLK(fpi->clk_rx - 8) | PC_CLK(fpi->clk_tx - 8));
212 out_be32(&io->iop_pdirc, tempval);
213 tempval = in_be32(&io->iop_pparc);
214 tempval |= (PC_CLK(fpi->clk_rx - 8) | PC_CLK(fpi->clk_tx - 8));
215 out_be32(&io->iop_pparc, tempval);
216
217 cpm2_unmap(io);
218
219 /* Configure Serial Interface clock routing.
220 * First, clear FCC bits to zero,
221 * then set the ones we want.
222 */
223 cpm2_clk_setup(target, fpi->clk_rx, CPM_CLK_RX);
224 cpm2_clk_setup(target, fpi->clk_tx, CPM_CLK_TX);
225}
226#endif
227
112static void __init mpc85xx_ads_setup_arch(void) 228static void __init mpc85xx_ads_setup_arch(void)
113{ 229{
114 struct device_node *cpu; 230 struct device_node *cpu;
@@ -131,6 +247,10 @@ static void __init mpc85xx_ads_setup_arch(void)
131 of_node_put(cpu); 247 of_node_put(cpu);
132 } 248 }
133 249
250#ifdef CONFIG_CPM2
251 cpm2_reset();
252#endif
253
134#ifdef CONFIG_PCI 254#ifdef CONFIG_PCI
135 for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) 255 for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
136 add_bridge(np); 256 add_bridge(np);
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.h b/arch/powerpc/platforms/85xx/mpc85xx_ads.h
new file mode 100644
index 000000000000..effcbf78f851
--- /dev/null
+++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.h
@@ -0,0 +1,61 @@
1/*
2 * MPC85xx ADS board definitions
3 *
4 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
5 *
6 * Copyright 2004 Freescale Semiconductor Inc.
7 *
8 * 2006 (c) MontaVista Software, Inc.
9 * Vitaly Bordug <vbordug@ru.mvista.com>
10 *
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
15 *
16 */
17
18#ifndef __MACH_MPC85XXADS_H
19#define __MACH_MPC85XXADS_H
20
21#include <linux/config.h>
22#include <linux/initrd.h>
23#include <sysdev/fsl_soc.h>
24
25#define BCSR_ADDR ((uint)0xf8000000)
26#define BCSR_SIZE ((uint)(32 * 1024))
27
28#ifdef CONFIG_CPM2
29
30#define MPC85xx_CPM_OFFSET (0x80000)
31
32#define CPM_MAP_ADDR (get_immrbase() + MPC85xx_CPM_OFFSET)
33#define CPM_IRQ_OFFSET 60
34
35#define SIU_INT_SMC1 ((uint)0x04+CPM_IRQ_OFFSET)
36#define SIU_INT_SMC2 ((uint)0x05+CPM_IRQ_OFFSET)
37#define SIU_INT_SCC1 ((uint)0x28+CPM_IRQ_OFFSET)
38#define SIU_INT_SCC2 ((uint)0x29+CPM_IRQ_OFFSET)
39#define SIU_INT_SCC3 ((uint)0x2a+CPM_IRQ_OFFSET)
40#define SIU_INT_SCC4 ((uint)0x2b+CPM_IRQ_OFFSET)
41
42/* FCC1 Clock Source Configuration. These can be
43 * redefined in the board specific file.
44 * Can only choose from CLK9-12 */
45#define F1_RXCLK 12
46#define F1_TXCLK 11
47
48/* FCC2 Clock Source Configuration. These can be
49 * redefined in the board specific file.
50 * Can only choose from CLK13-16 */
51#define F2_RXCLK 13
52#define F2_TXCLK 14
53
54/* FCC3 Clock Source Configuration. These can be
55 * redefined in the board specific file.
56 * Can only choose from CLK13-16 */
57#define F3_RXCLK 15
58#define F3_TXCLK 16
59
60#endif /* CONFIG_CPM2 */
61#endif /* __MACH_MPC85XXADS_H */
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index 3bd36d46ab4a..0f5c8ebc7fc3 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -538,7 +538,7 @@ static void __iomem * __init map_spe_prop(struct spu *spu,
538 538
539 const void *p; 539 const void *p;
540 int proplen; 540 int proplen;
541 void* ret = NULL; 541 void __iomem *ret = NULL;
542 int err = 0; 542 int err = 0;
543 543
544 p = get_property(n, name, &proplen); 544 p = get_property(n, name, &proplen);
@@ -562,7 +562,7 @@ static void spu_unmap(struct spu *spu)
562 iounmap(spu->priv2); 562 iounmap(spu->priv2);
563 iounmap(spu->priv1); 563 iounmap(spu->priv1);
564 iounmap(spu->problem); 564 iounmap(spu->problem);
565 iounmap((u8 __iomem *)spu->local_store); 565 iounmap((__force u8 __iomem *)spu->local_store);
566} 566}
567 567
568/* This function shall be abstracted for HV platforms */ 568/* This function shall be abstracted for HV platforms */
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index 58e794f9da1b..51fd197ab5dd 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -1342,7 +1342,7 @@ static u64 spufs_id_get(void *data)
1342 1342
1343 return num; 1343 return num;
1344} 1344}
1345DEFINE_SIMPLE_ATTRIBUTE(spufs_id_ops, spufs_id_get, 0, "0x%llx\n") 1345DEFINE_SIMPLE_ATTRIBUTE(spufs_id_ops, spufs_id_get, NULL, "0x%llx\n")
1346 1346
1347struct tree_descr spufs_dir_contents[] = { 1347struct tree_descr spufs_dir_contents[] = {
1348 { "mem", &spufs_mem_fops, 0666, }, 1348 { "mem", &spufs_mem_fops, 0666, },
diff --git a/arch/powerpc/platforms/cell/spufs/hw_ops.c b/arch/powerpc/platforms/cell/spufs/hw_ops.c
index c8670f519734..efc452e71ab0 100644
--- a/arch/powerpc/platforms/cell/spufs/hw_ops.c
+++ b/arch/powerpc/platforms/cell/spufs/hw_ops.c
@@ -234,7 +234,7 @@ static void spu_hw_runcntl_stop(struct spu_context *ctx)
234 234
235static int spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) 235static int spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode)
236{ 236{
237 struct spu_problem *prob = ctx->spu->problem; 237 struct spu_problem __iomem *prob = ctx->spu->problem;
238 int ret; 238 int ret;
239 239
240 spin_lock_irq(&ctx->spu->register_lock); 240 spin_lock_irq(&ctx->spu->register_lock);
@@ -263,7 +263,7 @@ static int spu_hw_send_mfc_command(struct spu_context *ctx,
263 struct mfc_dma_command *cmd) 263 struct mfc_dma_command *cmd)
264{ 264{
265 u32 status; 265 u32 status;
266 struct spu_problem *prob = ctx->spu->problem; 266 struct spu_problem __iomem *prob = ctx->spu->problem;
267 267
268 spin_lock_irq(&ctx->spu->register_lock); 268 spin_lock_irq(&ctx->spu->register_lock);
269 out_be32(&prob->mfc_lsa_W, cmd->lsa); 269 out_be32(&prob->mfc_lsa_W, cmd->lsa);
diff --git a/arch/powerpc/platforms/iseries/mf.c b/arch/powerpc/platforms/iseries/mf.c
index 1a2c2a50f922..1983b640bac1 100644
--- a/arch/powerpc/platforms/iseries/mf.c
+++ b/arch/powerpc/platforms/iseries/mf.c
@@ -357,7 +357,7 @@ static int dma_and_signal_ce_msg(char *ce_msg,
357 */ 357 */
358static int shutdown(void) 358static int shutdown(void)
359{ 359{
360 int rc = kill_proc(1, SIGINT, 1); 360 int rc = kill_cad_pid(SIGINT, 1);
361 361
362 if (rc) { 362 if (rc) {
363 printk(KERN_ALERT "mf.c: SIGINT to init failed (%d), " 363 printk(KERN_ALERT "mf.c: SIGINT to init failed (%d), "
diff --git a/arch/powerpc/platforms/maple/pci.c b/arch/powerpc/platforms/maple/pci.c
index c3aa46b8e2b9..1b827618e05f 100644
--- a/arch/powerpc/platforms/maple/pci.c
+++ b/arch/powerpc/platforms/maple/pci.c
@@ -96,14 +96,14 @@ static unsigned long u3_agp_cfa1(u8 bus, u8 devfn, u8 off)
96 1UL; 96 1UL;
97} 97}
98 98
99static unsigned long u3_agp_cfg_access(struct pci_controller* hose, 99static volatile void __iomem *u3_agp_cfg_access(struct pci_controller* hose,
100 u8 bus, u8 dev_fn, u8 offset) 100 u8 bus, u8 dev_fn, u8 offset)
101{ 101{
102 unsigned int caddr; 102 unsigned int caddr;
103 103
104 if (bus == hose->first_busno) { 104 if (bus == hose->first_busno) {
105 if (dev_fn < (11 << 3)) 105 if (dev_fn < (11 << 3))
106 return 0; 106 return NULL;
107 caddr = u3_agp_cfa0(dev_fn, offset); 107 caddr = u3_agp_cfa0(dev_fn, offset);
108 } else 108 } else
109 caddr = u3_agp_cfa1(bus, dev_fn, offset); 109 caddr = u3_agp_cfa1(bus, dev_fn, offset);
@@ -114,14 +114,14 @@ static unsigned long u3_agp_cfg_access(struct pci_controller* hose,
114 } while (in_le32(hose->cfg_addr) != caddr); 114 } while (in_le32(hose->cfg_addr) != caddr);
115 115
116 offset &= 0x07; 116 offset &= 0x07;
117 return ((unsigned long)hose->cfg_data) + offset; 117 return hose->cfg_data + offset;
118} 118}
119 119
120static int u3_agp_read_config(struct pci_bus *bus, unsigned int devfn, 120static int u3_agp_read_config(struct pci_bus *bus, unsigned int devfn,
121 int offset, int len, u32 *val) 121 int offset, int len, u32 *val)
122{ 122{
123 struct pci_controller *hose; 123 struct pci_controller *hose;
124 unsigned long addr; 124 volatile void __iomem *addr;
125 125
126 hose = pci_bus_to_host(bus); 126 hose = pci_bus_to_host(bus);
127 if (hose == NULL) 127 if (hose == NULL)
@@ -136,13 +136,13 @@ static int u3_agp_read_config(struct pci_bus *bus, unsigned int devfn,
136 */ 136 */
137 switch (len) { 137 switch (len) {
138 case 1: 138 case 1:
139 *val = in_8((u8 *)addr); 139 *val = in_8(addr);
140 break; 140 break;
141 case 2: 141 case 2:
142 *val = in_le16((u16 *)addr); 142 *val = in_le16(addr);
143 break; 143 break;
144 default: 144 default:
145 *val = in_le32((u32 *)addr); 145 *val = in_le32(addr);
146 break; 146 break;
147 } 147 }
148 return PCIBIOS_SUCCESSFUL; 148 return PCIBIOS_SUCCESSFUL;
@@ -152,7 +152,7 @@ static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn,
152 int offset, int len, u32 val) 152 int offset, int len, u32 val)
153{ 153{
154 struct pci_controller *hose; 154 struct pci_controller *hose;
155 unsigned long addr; 155 volatile void __iomem *addr;
156 156
157 hose = pci_bus_to_host(bus); 157 hose = pci_bus_to_host(bus);
158 if (hose == NULL) 158 if (hose == NULL)
@@ -167,16 +167,16 @@ static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn,
167 */ 167 */
168 switch (len) { 168 switch (len) {
169 case 1: 169 case 1:
170 out_8((u8 *)addr, val); 170 out_8(addr, val);
171 (void) in_8((u8 *)addr); 171 (void) in_8(addr);
172 break; 172 break;
173 case 2: 173 case 2:
174 out_le16((u16 *)addr, val); 174 out_le16(addr, val);
175 (void) in_le16((u16 *)addr); 175 (void) in_le16(addr);
176 break; 176 break;
177 default: 177 default:
178 out_le32((u32 *)addr, val); 178 out_le32(addr, val);
179 (void) in_le32((u32 *)addr); 179 (void) in_le32(addr);
180 break; 180 break;
181 } 181 }
182 return PCIBIOS_SUCCESSFUL; 182 return PCIBIOS_SUCCESSFUL;
@@ -198,22 +198,22 @@ static unsigned long u3_ht_cfa1(u8 bus, u8 devfn, u8 off)
198 return u3_ht_cfa0(devfn, off) + (bus << 16) + 0x01000000UL; 198 return u3_ht_cfa0(devfn, off) + (bus << 16) + 0x01000000UL;
199} 199}
200 200
201static unsigned long u3_ht_cfg_access(struct pci_controller* hose, 201static volatile void __iomem *u3_ht_cfg_access(struct pci_controller* hose,
202 u8 bus, u8 devfn, u8 offset) 202 u8 bus, u8 devfn, u8 offset)
203{ 203{
204 if (bus == hose->first_busno) { 204 if (bus == hose->first_busno) {
205 if (PCI_SLOT(devfn) == 0) 205 if (PCI_SLOT(devfn) == 0)
206 return 0; 206 return NULL;
207 return ((unsigned long)hose->cfg_data) + u3_ht_cfa0(devfn, offset); 207 return hose->cfg_data + u3_ht_cfa0(devfn, offset);
208 } else 208 } else
209 return ((unsigned long)hose->cfg_data) + u3_ht_cfa1(bus, devfn, offset); 209 return hose->cfg_data + u3_ht_cfa1(bus, devfn, offset);
210} 210}
211 211
212static int u3_ht_read_config(struct pci_bus *bus, unsigned int devfn, 212static int u3_ht_read_config(struct pci_bus *bus, unsigned int devfn,
213 int offset, int len, u32 *val) 213 int offset, int len, u32 *val)
214{ 214{
215 struct pci_controller *hose; 215 struct pci_controller *hose;
216 unsigned long addr; 216 volatile void __iomem *addr;
217 217
218 hose = pci_bus_to_host(bus); 218 hose = pci_bus_to_host(bus);
219 if (hose == NULL) 219 if (hose == NULL)
@@ -232,13 +232,13 @@ static int u3_ht_read_config(struct pci_bus *bus, unsigned int devfn,
232 */ 232 */
233 switch (len) { 233 switch (len) {
234 case 1: 234 case 1:
235 *val = in_8((u8 *)addr); 235 *val = in_8(addr);
236 break; 236 break;
237 case 2: 237 case 2:
238 *val = in_le16((u16 *)addr); 238 *val = in_le16(addr);
239 break; 239 break;
240 default: 240 default:
241 *val = in_le32((u32 *)addr); 241 *val = in_le32(addr);
242 break; 242 break;
243 } 243 }
244 return PCIBIOS_SUCCESSFUL; 244 return PCIBIOS_SUCCESSFUL;
@@ -248,7 +248,7 @@ static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn,
248 int offset, int len, u32 val) 248 int offset, int len, u32 val)
249{ 249{
250 struct pci_controller *hose; 250 struct pci_controller *hose;
251 unsigned long addr; 251 volatile void __iomem *addr;
252 252
253 hose = pci_bus_to_host(bus); 253 hose = pci_bus_to_host(bus);
254 if (hose == NULL) 254 if (hose == NULL)
@@ -266,16 +266,16 @@ static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn,
266 */ 266 */
267 switch (len) { 267 switch (len) {
268 case 1: 268 case 1:
269 out_8((u8 *)addr, val); 269 out_8(addr, val);
270 (void) in_8((u8 *)addr); 270 (void) in_8(addr);
271 break; 271 break;
272 case 2: 272 case 2:
273 out_le16((u16 *)addr, val); 273 out_le16(addr, val);
274 (void) in_le16((u16 *)addr); 274 (void) in_le16(addr);
275 break; 275 break;
276 default: 276 default:
277 out_le32((u32 *)addr, val); 277 out_le32(addr, val);
278 (void) in_le32((u32 *)addr); 278 (void) in_le32(addr);
279 break; 279 break;
280 } 280 }
281 return PCIBIOS_SUCCESSFUL; 281 return PCIBIOS_SUCCESSFUL;
@@ -315,7 +315,7 @@ static void __init setup_u3_ht(struct pci_controller* hose)
315 * the reg address cell, we shall fix that by killing struct 315 * the reg address cell, we shall fix that by killing struct
316 * reg_property and using some accessor functions instead 316 * reg_property and using some accessor functions instead
317 */ 317 */
318 hose->cfg_data = (volatile unsigned char *)ioremap(0xf2000000, 0x02000000); 318 hose->cfg_data = ioremap(0xf2000000, 0x02000000);
319 319
320 hose->first_busno = 0; 320 hose->first_busno = 0;
321 hose->last_busno = 0xef; 321 hose->last_busno = 0xef;
diff --git a/arch/powerpc/platforms/powermac/cpufreq_64.c b/arch/powerpc/platforms/powermac/cpufreq_64.c
index d30466d74194..9d22361a26d6 100644
--- a/arch/powerpc/platforms/powermac/cpufreq_64.c
+++ b/arch/powerpc/platforms/powermac/cpufreq_64.c
@@ -104,7 +104,7 @@ static void g5_smu_switch_volt(int speed_mode)
104{ 104{
105 struct smu_simple_cmd cmd; 105 struct smu_simple_cmd cmd;
106 106
107 DECLARE_COMPLETION(comp); 107 DECLARE_COMPLETION_ONSTACK(comp);
108 smu_queue_simple(&cmd, SMU_CMD_POWER_COMMAND, 8, smu_done_complete, 108 smu_queue_simple(&cmd, SMU_CMD_POWER_COMMAND, 8, smu_done_complete,
109 &comp, 'V', 'S', 'L', 'E', 'W', 109 &comp, 'V', 'S', 'L', 'E', 'W',
110 0xff, g5_fvt_cur+1, speed_mode); 110 0xff, g5_fvt_cur+1, speed_mode);
diff --git a/arch/powerpc/platforms/powermac/nvram.c b/arch/powerpc/platforms/powermac/nvram.c
index 6a36ea9bf673..692945c14919 100644
--- a/arch/powerpc/platforms/powermac/nvram.c
+++ b/arch/powerpc/platforms/powermac/nvram.c
@@ -195,7 +195,7 @@ static void pmu_nvram_complete(struct adb_request *req)
195static unsigned char pmu_nvram_read_byte(int addr) 195static unsigned char pmu_nvram_read_byte(int addr)
196{ 196{
197 struct adb_request req; 197 struct adb_request req;
198 DECLARE_COMPLETION(req_complete); 198 DECLARE_COMPLETION_ONSTACK(req_complete);
199 199
200 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; 200 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL;
201 if (pmu_request(&req, pmu_nvram_complete, 3, PMU_READ_NVRAM, 201 if (pmu_request(&req, pmu_nvram_complete, 3, PMU_READ_NVRAM,
@@ -211,7 +211,7 @@ static unsigned char pmu_nvram_read_byte(int addr)
211static void pmu_nvram_write_byte(int addr, unsigned char val) 211static void pmu_nvram_write_byte(int addr, unsigned char val)
212{ 212{
213 struct adb_request req; 213 struct adb_request req;
214 DECLARE_COMPLETION(req_complete); 214 DECLARE_COMPLETION_ONSTACK(req_complete);
215 215
216 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; 216 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL;
217 if (pmu_request(&req, pmu_nvram_complete, 4, PMU_WRITE_NVRAM, 217 if (pmu_request(&req, pmu_nvram_complete, 4, PMU_WRITE_NVRAM,
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index 84bc8f7e17ef..3c2d63ebf787 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -225,6 +225,7 @@ static void __eeh_mark_slot (struct device_node *dn, int mode_flag)
225 225
226void eeh_mark_slot (struct device_node *dn, int mode_flag) 226void eeh_mark_slot (struct device_node *dn, int mode_flag)
227{ 227{
228 struct pci_dev *dev;
228 dn = find_device_pe (dn); 229 dn = find_device_pe (dn);
229 230
230 /* Back up one, since config addrs might be shared */ 231 /* Back up one, since config addrs might be shared */
@@ -232,6 +233,12 @@ void eeh_mark_slot (struct device_node *dn, int mode_flag)
232 dn = dn->parent; 233 dn = dn->parent;
233 234
234 PCI_DN(dn)->eeh_mode |= mode_flag; 235 PCI_DN(dn)->eeh_mode |= mode_flag;
236
237 /* Mark the pci device too */
238 dev = PCI_DN(dn)->pcidev;
239 if (dev)
240 dev->error_state = pci_channel_io_frozen;
241
235 __eeh_mark_slot (dn->child, mode_flag); 242 __eeh_mark_slot (dn->child, mode_flag);
236} 243}
237 244
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index a6398fbe530d..43dbf737698c 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -342,7 +342,7 @@ static int __init pSeries_init_panel(void)
342{ 342{
343 /* Manually leave the kernel version on the panel. */ 343 /* Manually leave the kernel version on the panel. */
344 ppc_md.progress("Linux ppc64\n", 0); 344 ppc_md.progress("Linux ppc64\n", 0);
345 ppc_md.progress(system_utsname.release, 0); 345 ppc_md.progress(init_utsname()->version, 0);
346 346
347 return 0; 347 return 0;
348} 348}
@@ -477,7 +477,6 @@ static void pseries_dedicated_idle_sleep(void)
477{ 477{
478 unsigned int cpu = smp_processor_id(); 478 unsigned int cpu = smp_processor_id();
479 unsigned long start_snooze; 479 unsigned long start_snooze;
480 unsigned long *smt_snooze_delay = &__get_cpu_var(smt_snooze_delay);
481 480
482 /* 481 /*
483 * Indicate to the HV that we are idle. Now would be 482 * Indicate to the HV that we are idle. Now would be
@@ -490,9 +489,9 @@ static void pseries_dedicated_idle_sleep(void)
490 * has been checked recently. If we should poll for a little 489 * has been checked recently. If we should poll for a little
491 * while, do so. 490 * while, do so.
492 */ 491 */
493 if (*smt_snooze_delay) { 492 if (__get_cpu_var(smt_snooze_delay)) {
494 start_snooze = get_tb() + 493 start_snooze = get_tb() +
495 *smt_snooze_delay * tb_ticks_per_usec; 494 __get_cpu_var(smt_snooze_delay) * tb_ticks_per_usec;
496 local_irq_enable(); 495 local_irq_enable();
497 set_thread_flag(TIF_POLLING_NRFLAG); 496 set_thread_flag(TIF_POLLING_NRFLAG);
498 497
@@ -512,24 +511,7 @@ static void pseries_dedicated_idle_sleep(void)
512 goto out; 511 goto out;
513 } 512 }
514 513
515 /* 514 cede_processor();
516 * If not SMT, cede processor. If CPU is running SMT
517 * cede if the other thread is not idle, so that it can
518 * go single-threaded. If the other thread is idle,
519 * we ask the hypervisor if it has pending work it
520 * wants to do and cede if it does. Otherwise we keep
521 * polling in order to reduce interrupt latency.
522 *
523 * Doing the cede when the other thread is active will
524 * result in this thread going dormant, meaning the other
525 * thread gets to run in single-threaded (ST) mode, which
526 * is slightly faster than SMT mode with this thread at
527 * very low priority. The cede enables interrupts, which
528 * doesn't matter here.
529 */
530 if (!cpu_has_feature(CPU_FTR_SMT) || !lppaca[cpu ^ 1].idle
531 || poll_pending() == H_PENDING)
532 cede_processor();
533 515
534out: 516out:
535 HMT_medium(); 517 HMT_medium();
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index e5e999ea891a..f15f4d78aee9 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -17,3 +17,8 @@ ifeq ($(CONFIG_PPC_MERGE),y)
17obj-$(CONFIG_PPC_I8259) += i8259.o 17obj-$(CONFIG_PPC_I8259) += i8259.o
18obj-$(CONFIG_PPC_83xx) += ipic.o 18obj-$(CONFIG_PPC_83xx) += ipic.o
19endif 19endif
20
21# Temporary hack until we have migrated to asm-powerpc
22ifeq ($(ARCH),powerpc)
23obj-$(CONFIG_CPM2) += cpm2_common.o cpm2_pic.o
24endif
diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c
new file mode 100644
index 000000000000..ec265995d5d8
--- /dev/null
+++ b/arch/powerpc/sysdev/cpm2_common.c
@@ -0,0 +1,309 @@
1/*
2 * General Purpose functions for the global management of the
3 * 8260 Communication Processor Module.
4 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com>
5 * Copyright (c) 2000 MontaVista Software, Inc (source@mvista.com)
6 * 2.3.99 Updates
7 *
8 * 2006 (c) MontaVista Software, Inc.
9 * Vitaly Bordug <vbordug@ru.mvista.com>
10 * Merged to arch/powerpc from arch/ppc/syslib/cpm2_common.c
11 *
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
15 */
16
17/*
18 *
19 * In addition to the individual control of the communication
20 * channels, there are a few functions that globally affect the
21 * communication processor.
22 *
23 * Buffer descriptors must be allocated from the dual ported memory
24 * space. The allocator for that is here. When the communication
25 * process is reset, we reclaim the memory available. There is
26 * currently no deallocator for this memory.
27 */
28#include <linux/errno.h>
29#include <linux/sched.h>
30#include <linux/kernel.h>
31#include <linux/param.h>
32#include <linux/string.h>
33#include <linux/mm.h>
34#include <linux/interrupt.h>
35#include <linux/module.h>
36#include <asm/io.h>
37#include <asm/irq.h>
38#include <asm/mpc8260.h>
39#include <asm/page.h>
40#include <asm/pgtable.h>
41#include <asm/cpm2.h>
42#include <asm/rheap.h>
43#include <asm/fs_pd.h>
44
45#include <sysdev/fsl_soc.h>
46
47static void cpm2_dpinit(void);
48cpm_cpm2_t *cpmp; /* Pointer to comm processor space */
49
50/* We allocate this here because it is used almost exclusively for
51 * the communication processor devices.
52 */
53cpm2_map_t *cpm2_immr;
54intctl_cpm2_t *cpm2_intctl;
55
56#define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount
57 of space for CPM as it is larger
58 than on PQ2 */
59
60void
61cpm2_reset(void)
62{
63 cpm2_immr = (cpm2_map_t *)ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE);
64 cpm2_intctl = cpm2_map(im_intctl);
65
66 /* Reclaim the DP memory for our use.
67 */
68 cpm2_dpinit();
69
70 /* Tell everyone where the comm processor resides.
71 */
72 cpmp = &cpm2_immr->im_cpm;
73}
74
75/* Set a baud rate generator. This needs lots of work. There are
76 * eight BRGs, which can be connected to the CPM channels or output
77 * as clocks. The BRGs are in two different block of internal
78 * memory mapped space.
79 * The baud rate clock is the system clock divided by something.
80 * It was set up long ago during the initial boot phase and is
81 * is given to us.
82 * Baud rate clocks are zero-based in the driver code (as that maps
83 * to port numbers). Documentation uses 1-based numbering.
84 */
85#define BRG_INT_CLK (get_brgfreq())
86#define BRG_UART_CLK (BRG_INT_CLK/16)
87
88/* This function is used by UARTS, or anything else that uses a 16x
89 * oversampled clock.
90 */
91void
92cpm_setbrg(uint brg, uint rate)
93{
94 volatile uint *bp;
95
96 /* This is good enough to get SMCs running.....
97 */
98 if (brg < 4) {
99 bp = cpm2_map_size(im_brgc1, 16);
100 } else {
101 bp = cpm2_map_size(im_brgc5, 16);
102 brg -= 4;
103 }
104 bp += brg;
105 *bp = ((BRG_UART_CLK / rate) << 1) | CPM_BRG_EN;
106
107 cpm2_unmap(bp);
108}
109
110/* This function is used to set high speed synchronous baud rate
111 * clocks.
112 */
113void
114cpm2_fastbrg(uint brg, uint rate, int div16)
115{
116 volatile uint *bp;
117
118 if (brg < 4) {
119 bp = cpm2_map_size(im_brgc1, 16);
120 }
121 else {
122 bp = cpm2_map_size(im_brgc5, 16);
123 brg -= 4;
124 }
125 bp += brg;
126 *bp = ((BRG_INT_CLK / rate) << 1) | CPM_BRG_EN;
127 if (div16)
128 *bp |= CPM_BRG_DIV16;
129
130 cpm2_unmap(bp);
131}
132
133int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode)
134{
135 int ret = 0;
136 int shift;
137 int i, bits = 0;
138 cpmux_t *im_cpmux;
139 u32 *reg;
140 u32 mask = 7;
141 u8 clk_map [24][3] = {
142 {CPM_CLK_FCC1, CPM_BRG5, 0},
143 {CPM_CLK_FCC1, CPM_BRG6, 1},
144 {CPM_CLK_FCC1, CPM_BRG7, 2},
145 {CPM_CLK_FCC1, CPM_BRG8, 3},
146 {CPM_CLK_FCC1, CPM_CLK9, 4},
147 {CPM_CLK_FCC1, CPM_CLK10, 5},
148 {CPM_CLK_FCC1, CPM_CLK11, 6},
149 {CPM_CLK_FCC1, CPM_CLK12, 7},
150 {CPM_CLK_FCC2, CPM_BRG5, 0},
151 {CPM_CLK_FCC2, CPM_BRG6, 1},
152 {CPM_CLK_FCC2, CPM_BRG7, 2},
153 {CPM_CLK_FCC2, CPM_BRG8, 3},
154 {CPM_CLK_FCC2, CPM_CLK13, 4},
155 {CPM_CLK_FCC2, CPM_CLK14, 5},
156 {CPM_CLK_FCC2, CPM_CLK15, 6},
157 {CPM_CLK_FCC2, CPM_CLK16, 7},
158 {CPM_CLK_FCC3, CPM_BRG5, 0},
159 {CPM_CLK_FCC3, CPM_BRG6, 1},
160 {CPM_CLK_FCC3, CPM_BRG7, 2},
161 {CPM_CLK_FCC3, CPM_BRG8, 3},
162 {CPM_CLK_FCC3, CPM_CLK13, 4},
163 {CPM_CLK_FCC3, CPM_CLK14, 5},
164 {CPM_CLK_FCC3, CPM_CLK15, 6},
165 {CPM_CLK_FCC3, CPM_CLK16, 7}
166 };
167
168 im_cpmux = cpm2_map(im_cpmux);
169
170 switch (target) {
171 case CPM_CLK_SCC1:
172 reg = &im_cpmux->cmx_scr;
173 shift = 24;
174 case CPM_CLK_SCC2:
175 reg = &im_cpmux->cmx_scr;
176 shift = 16;
177 break;
178 case CPM_CLK_SCC3:
179 reg = &im_cpmux->cmx_scr;
180 shift = 8;
181 break;
182 case CPM_CLK_SCC4:
183 reg = &im_cpmux->cmx_scr;
184 shift = 0;
185 break;
186 case CPM_CLK_FCC1:
187 reg = &im_cpmux->cmx_fcr;
188 shift = 24;
189 break;
190 case CPM_CLK_FCC2:
191 reg = &im_cpmux->cmx_fcr;
192 shift = 16;
193 break;
194 case CPM_CLK_FCC3:
195 reg = &im_cpmux->cmx_fcr;
196 shift = 8;
197 break;
198 default:
199 printk(KERN_ERR "cpm2_clock_setup: invalid clock target\n");
200 return -EINVAL;
201 }
202
203 if (mode == CPM_CLK_RX)
204 shift +=3;
205
206 for (i=0; i<24; i++) {
207 if (clk_map[i][0] == target && clk_map[i][1] == clock) {
208 bits = clk_map[i][2];
209 break;
210 }
211 }
212 if (i == sizeof(clk_map)/3)
213 ret = -EINVAL;
214
215 bits <<= shift;
216 mask <<= shift;
217 out_be32(reg, (in_be32(reg) & ~mask) | bits);
218
219 cpm2_unmap(im_cpmux);
220 return ret;
221}
222
223/*
224 * dpalloc / dpfree bits.
225 */
226static spinlock_t cpm_dpmem_lock;
227/* 16 blocks should be enough to satisfy all requests
228 * until the memory subsystem goes up... */
229static rh_block_t cpm_boot_dpmem_rh_block[16];
230static rh_info_t cpm_dpmem_info;
231static u8* im_dprambase;
232
233static void cpm2_dpinit(void)
234{
235 spin_lock_init(&cpm_dpmem_lock);
236
237 im_dprambase = ioremap(CPM_MAP_ADDR, CPM_DATAONLY_BASE + CPM_DATAONLY_SIZE);
238
239 /* initialize the info header */
240 rh_init(&cpm_dpmem_info, 1,
241 sizeof(cpm_boot_dpmem_rh_block) /
242 sizeof(cpm_boot_dpmem_rh_block[0]),
243 cpm_boot_dpmem_rh_block);
244
245 /* Attach the usable dpmem area */
246 /* XXX: This is actually crap. CPM_DATAONLY_BASE and
247 * CPM_DATAONLY_SIZE is only a subset of the available dpram. It
248 * varies with the processor and the microcode patches activated.
249 * But the following should be at least safe.
250 */
251 rh_attach_region(&cpm_dpmem_info, (void *)CPM_DATAONLY_BASE,
252 CPM_DATAONLY_SIZE);
253}
254
255/* This function returns an index into the DPRAM area.
256 */
257uint cpm_dpalloc(uint size, uint align)
258{
259 void *start;
260 unsigned long flags;
261
262 spin_lock_irqsave(&cpm_dpmem_lock, flags);
263 cpm_dpmem_info.alignment = align;
264 start = rh_alloc(&cpm_dpmem_info, size, "commproc");
265 spin_unlock_irqrestore(&cpm_dpmem_lock, flags);
266
267 return (uint)start;
268}
269EXPORT_SYMBOL(cpm_dpalloc);
270
271int cpm_dpfree(uint offset)
272{
273 int ret;
274 unsigned long flags;
275
276 spin_lock_irqsave(&cpm_dpmem_lock, flags);
277 ret = rh_free(&cpm_dpmem_info, (void *)offset);
278 spin_unlock_irqrestore(&cpm_dpmem_lock, flags);
279
280 return ret;
281}
282EXPORT_SYMBOL(cpm_dpfree);
283
284/* not sure if this is ever needed */
285uint cpm_dpalloc_fixed(uint offset, uint size, uint align)
286{
287 void *start;
288 unsigned long flags;
289
290 spin_lock_irqsave(&cpm_dpmem_lock, flags);
291 cpm_dpmem_info.alignment = align;
292 start = rh_alloc_fixed(&cpm_dpmem_info, (void *)offset, size, "commproc");
293 spin_unlock_irqrestore(&cpm_dpmem_lock, flags);
294
295 return (uint)start;
296}
297EXPORT_SYMBOL(cpm_dpalloc_fixed);
298
299void cpm_dpdump(void)
300{
301 rh_dump(&cpm_dpmem_info);
302}
303EXPORT_SYMBOL(cpm_dpdump);
304
305void *cpm_dpram_addr(uint offset)
306{
307 return (void *)(im_dprambase + offset);
308}
309EXPORT_SYMBOL(cpm_dpram_addr);
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c
new file mode 100644
index 000000000000..51752990f7b9
--- /dev/null
+++ b/arch/powerpc/sysdev/cpm2_pic.c
@@ -0,0 +1,256 @@
1/*
2 * Platform information definitions.
3 *
4 * Copied from arch/ppc/syslib/cpm2_pic.c with minor subsequent updates
5 * to make in work in arch/powerpc/. Original (c) belongs to Dan Malek.
6 *
7 * Author: Vitaly Bordug <vbordug@ru.mvista.com>
8 *
9 * 1999-2001 (c) Dan Malek <dan@embeddedalley.com>
10 * 2006 (c) MontaVista Software, Inc.
11 *
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
15 */
16
17/* The CPM2 internal interrupt controller. It is usually
18 * the only interrupt controller.
19 * There are two 32-bit registers (high/low) for up to 64
20 * possible interrupts.
21 *
22 * Now, the fun starts.....Interrupt Numbers DO NOT MAP
23 * in a simple arithmetic fashion to mask or pending registers.
24 * That is, interrupt 4 does not map to bit position 4.
25 * We create two tables, indexed by vector number, to indicate
26 * which register to use and which bit in the register to use.
27 */
28
29#include <linux/stddef.h>
30#include <linux/init.h>
31#include <linux/sched.h>
32#include <linux/signal.h>
33#include <linux/irq.h>
34
35#include <asm/immap_cpm2.h>
36#include <asm/mpc8260.h>
37#include <asm/io.h>
38#include <asm/prom.h>
39
40#include "cpm2_pic.h"
41
42static struct device_node *cpm2_pic_node;
43static struct irq_host *cpm2_pic_host;
44#define NR_MASK_WORDS ((NR_IRQS + 31) / 32)
45static unsigned long ppc_cached_irq_mask[NR_MASK_WORDS];
46
47static const u_char irq_to_siureg[] = {
48 1, 1, 1, 1, 1, 1, 1, 1,
49 1, 1, 1, 1, 1, 1, 1, 1,
50 0, 0, 0, 0, 0, 0, 0, 0,
51 0, 0, 0, 0, 0, 0, 0, 0,
52 1, 1, 1, 1, 1, 1, 1, 1,
53 1, 1, 1, 1, 1, 1, 1, 1,
54 0, 0, 0, 0, 0, 0, 0, 0,
55 0, 0, 0, 0, 0, 0, 0, 0
56};
57
58/* bit numbers do not match the docs, these are precomputed so the bit for
59 * a given irq is (1 << irq_to_siubit[irq]) */
60static const u_char irq_to_siubit[] = {
61 0, 15, 14, 13, 12, 11, 10, 9,
62 8, 7, 6, 5, 4, 3, 2, 1,
63 2, 1, 0, 14, 13, 12, 11, 10,
64 9, 8, 7, 6, 5, 4, 3, 0,
65 31, 30, 29, 28, 27, 26, 25, 24,
66 23, 22, 21, 20, 19, 18, 17, 16,
67 16, 17, 18, 19, 20, 21, 22, 23,
68 24, 25, 26, 27, 28, 29, 30, 31,
69};
70
71static void cpm2_mask_irq(unsigned int irq_nr)
72{
73 int bit, word;
74 volatile uint *simr;
75
76 irq_nr -= CPM_IRQ_OFFSET;
77
78 bit = irq_to_siubit[irq_nr];
79 word = irq_to_siureg[irq_nr];
80
81 simr = &(cpm2_intctl->ic_simrh);
82 ppc_cached_irq_mask[word] &= ~(1 << bit);
83 simr[word] = ppc_cached_irq_mask[word];
84}
85
86static void cpm2_unmask_irq(unsigned int irq_nr)
87{
88 int bit, word;
89 volatile uint *simr;
90
91 irq_nr -= CPM_IRQ_OFFSET;
92
93 bit = irq_to_siubit[irq_nr];
94 word = irq_to_siureg[irq_nr];
95
96 simr = &(cpm2_intctl->ic_simrh);
97 ppc_cached_irq_mask[word] |= 1 << bit;
98 simr[word] = ppc_cached_irq_mask[word];
99}
100
101static void cpm2_mask_and_ack(unsigned int irq_nr)
102{
103 int bit, word;
104 volatile uint *simr, *sipnr;
105
106 irq_nr -= CPM_IRQ_OFFSET;
107
108 bit = irq_to_siubit[irq_nr];
109 word = irq_to_siureg[irq_nr];
110
111 simr = &(cpm2_intctl->ic_simrh);
112 sipnr = &(cpm2_intctl->ic_sipnrh);
113 ppc_cached_irq_mask[word] &= ~(1 << bit);
114 simr[word] = ppc_cached_irq_mask[word];
115 sipnr[word] = 1 << bit;
116}
117
118static void cpm2_end_irq(unsigned int irq_nr)
119{
120 int bit, word;
121 volatile uint *simr;
122
123 if (!(irq_desc[irq_nr].status & (IRQ_DISABLED|IRQ_INPROGRESS))
124 && irq_desc[irq_nr].action) {
125
126 irq_nr -= CPM_IRQ_OFFSET;
127 bit = irq_to_siubit[irq_nr];
128 word = irq_to_siureg[irq_nr];
129
130 simr = &(cpm2_intctl->ic_simrh);
131 ppc_cached_irq_mask[word] |= 1 << bit;
132 simr[word] = ppc_cached_irq_mask[word];
133 /*
134 * Work around large numbers of spurious IRQs on PowerPC 82xx
135 * systems.
136 */
137 mb();
138 }
139}
140
141static struct irq_chip cpm2_pic = {
142 .typename = " CPM2 SIU ",
143 .enable = cpm2_unmask_irq,
144 .disable = cpm2_mask_irq,
145 .unmask = cpm2_unmask_irq,
146 .mask_ack = cpm2_mask_and_ack,
147 .end = cpm2_end_irq,
148};
149
150int cpm2_get_irq(struct pt_regs *regs)
151{
152 int irq;
153 unsigned long bits;
154
155 /* For CPM2, read the SIVEC register and shift the bits down
156 * to get the irq number. */
157 bits = cpm2_intctl->ic_sivec;
158 irq = bits >> 26;
159
160 if (irq == 0)
161 return(-1);
162 return irq+CPM_IRQ_OFFSET;
163}
164
165static int cpm2_pic_host_match(struct irq_host *h, struct device_node *node)
166{
167 return cpm2_pic_node == NULL || cpm2_pic_node == node;
168}
169
170static int cpm2_pic_host_map(struct irq_host *h, unsigned int virq,
171 irq_hw_number_t hw)
172{
173 pr_debug("cpm2_pic_host_map(%d, 0x%lx)\n", virq, hw);
174
175 get_irq_desc(virq)->status |= IRQ_LEVEL;
176 set_irq_chip_and_handler(virq, &cpm2_pic, handle_level_irq);
177 return 0;
178}
179
180static void cpm2_host_unmap(struct irq_host *h, unsigned int virq)
181{
182 /* Make sure irq is masked in hardware */
183 cpm2_mask_irq(virq);
184
185 /* remove chip and handler */
186 set_irq_chip_and_handler(virq, NULL, NULL);
187}
188
189static int cpm2_pic_host_xlate(struct irq_host *h, struct device_node *ct,
190 u32 *intspec, unsigned int intsize,
191 irq_hw_number_t *out_hwirq, unsigned int *out_flags)
192{
193 static const unsigned char map_cpm2_senses[4] = {
194 IRQ_TYPE_LEVEL_LOW,
195 IRQ_TYPE_LEVEL_HIGH,
196 IRQ_TYPE_EDGE_FALLING,
197 IRQ_TYPE_EDGE_RISING,
198 };
199
200 *out_hwirq = intspec[0];
201 if (intsize > 1 && intspec[1] < 4)
202 *out_flags = map_cpm2_senses[intspec[1]];
203 else
204 *out_flags = IRQ_TYPE_NONE;
205
206 return 0;
207}
208
209static struct irq_host_ops cpm2_pic_host_ops = {
210 .match = cpm2_pic_host_match,
211 .map = cpm2_pic_host_map,
212 .unmap = cpm2_host_unmap,
213 .xlate = cpm2_pic_host_xlate,
214};
215
216void cpm2_pic_init(struct device_node *node)
217{
218 int i;
219
220 /* Clear the CPM IRQ controller, in case it has any bits set
221 * from the bootloader
222 */
223
224 /* Mask out everything */
225
226 cpm2_intctl->ic_simrh = 0x00000000;
227 cpm2_intctl->ic_simrl = 0x00000000;
228
229 wmb();
230
231 /* Ack everything */
232 cpm2_intctl->ic_sipnrh = 0xffffffff;
233 cpm2_intctl->ic_sipnrl = 0xffffffff;
234 wmb();
235
236 /* Dummy read of the vector */
237 i = cpm2_intctl->ic_sivec;
238 rmb();
239
240 /* Initialize the default interrupt mapping priorities,
241 * in case the boot rom changed something on us.
242 */
243 cpm2_intctl->ic_sicr = 0;
244 cpm2_intctl->ic_scprrh = 0x05309770;
245 cpm2_intctl->ic_scprrl = 0x05309770;
246
247 /* create a legacy host */
248 if (node)
249 cpm2_pic_node = of_node_get(node);
250
251 cpm2_pic_host = irq_alloc_host(IRQ_HOST_MAP_LINEAR, 64, &cpm2_pic_host_ops, 64);
252 if (cpm2_pic_host == NULL) {
253 printk(KERN_ERR "CPM2 PIC: failed to allocate irq host!\n");
254 return;
255 }
256}
diff --git a/arch/powerpc/sysdev/cpm2_pic.h b/arch/powerpc/sysdev/cpm2_pic.h
new file mode 100644
index 000000000000..d63e45d4df58
--- /dev/null
+++ b/arch/powerpc/sysdev/cpm2_pic.h
@@ -0,0 +1,10 @@
1#ifndef _PPC_KERNEL_CPM2_H
2#define _PPC_KERNEL_CPM2_H
3
4extern intctl_cpm2_t *cpm2_intctl;
5
6extern int cpm2_get_irq(struct pt_regs *regs);
7
8extern void cpm2_pic_init(struct device_node*);
9
10#endif /* _PPC_KERNEL_CPM2_H */
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 92ba378b7990..022ed275ea68 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -3,6 +3,9 @@
3 * 3 *
4 * Maintained by Kumar Gala (see MAINTAINERS for contact information) 4 * Maintained by Kumar Gala (see MAINTAINERS for contact information)
5 * 5 *
6 * 2006 (c) MontaVista Software, Inc.
7 * Vitaly Bordug <vbordug@ru.mvista.com>
8 *
6 * This program is free software; you can redistribute it and/or modify it 9 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the 10 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your 11 * Free Software Foundation; either version 2 of the License, or (at your
@@ -20,15 +23,20 @@
20#include <linux/device.h> 23#include <linux/device.h>
21#include <linux/platform_device.h> 24#include <linux/platform_device.h>
22#include <linux/fsl_devices.h> 25#include <linux/fsl_devices.h>
26#include <linux/fs_enet_pd.h>
27#include <linux/fs_uart_pd.h>
23 28
24#include <asm/system.h> 29#include <asm/system.h>
25#include <asm/atomic.h> 30#include <asm/atomic.h>
26#include <asm/io.h> 31#include <asm/io.h>
27#include <asm/irq.h> 32#include <asm/irq.h>
33#include <asm/time.h>
28#include <asm/prom.h> 34#include <asm/prom.h>
29#include <sysdev/fsl_soc.h> 35#include <sysdev/fsl_soc.h>
30#include <mm/mmu_decl.h> 36#include <mm/mmu_decl.h>
37#include <asm/cpm2.h>
31 38
39extern void init_fcc_ioports(struct fs_platform_info*);
32static phys_addr_t immrbase = -1; 40static phys_addr_t immrbase = -1;
33 41
34phys_addr_t get_immrbase(void) 42phys_addr_t get_immrbase(void)
@@ -42,7 +50,9 @@ phys_addr_t get_immrbase(void)
42 if (soc) { 50 if (soc) {
43 unsigned int size; 51 unsigned int size;
44 const void *prop = get_property(soc, "reg", &size); 52 const void *prop = get_property(soc, "reg", &size);
45 immrbase = of_translate_address(soc, prop); 53
54 if (prop)
55 immrbase = of_translate_address(soc, prop);
46 of_node_put(soc); 56 of_node_put(soc);
47 }; 57 };
48 58
@@ -51,6 +61,59 @@ phys_addr_t get_immrbase(void)
51 61
52EXPORT_SYMBOL(get_immrbase); 62EXPORT_SYMBOL(get_immrbase);
53 63
64#ifdef CONFIG_CPM2
65
66static u32 brgfreq = -1;
67
68u32 get_brgfreq(void)
69{
70 struct device_node *node;
71
72 if (brgfreq != -1)
73 return brgfreq;
74
75 node = of_find_node_by_type(NULL, "cpm");
76 if (node) {
77 unsigned int size;
78 const unsigned int *prop = get_property(node, "brg-frequency",
79 &size);
80
81 if (prop)
82 brgfreq = *prop;
83 of_node_put(node);
84 };
85
86 return brgfreq;
87}
88
89EXPORT_SYMBOL(get_brgfreq);
90
91static u32 fs_baudrate = -1;
92
93u32 get_baudrate(void)
94{
95 struct device_node *node;
96
97 if (fs_baudrate != -1)
98 return fs_baudrate;
99
100 node = of_find_node_by_type(NULL, "serial");
101 if (node) {
102 unsigned int size;
103 const unsigned int *prop = get_property(node, "current-speed",
104 &size);
105
106 if (prop)
107 fs_baudrate = *prop;
108 of_node_put(node);
109 };
110
111 return fs_baudrate;
112}
113
114EXPORT_SYMBOL(get_baudrate);
115#endif /* CONFIG_CPM2 */
116
54static int __init gfar_mdio_of_init(void) 117static int __init gfar_mdio_of_init(void)
55{ 118{
56 struct device_node *np; 119 struct device_node *np;
@@ -85,8 +148,11 @@ static int __init gfar_mdio_of_init(void)
85 mdio_data.irq[k] = -1; 148 mdio_data.irq[k] = -1;
86 149
87 while ((child = of_get_next_child(np, child)) != NULL) { 150 while ((child = of_get_next_child(np, child)) != NULL) {
88 const u32 *id = get_property(child, "reg", NULL); 151 int irq = irq_of_parse_and_map(child, 0);
89 mdio_data.irq[*id] = irq_of_parse_and_map(child, 0); 152 if (irq != NO_IRQ) {
153 const u32 *id = get_property(child, "reg", NULL);
154 mdio_data.irq[*id] = irq;
155 }
90 } 156 }
91 157
92 ret = 158 ret =
@@ -128,7 +194,7 @@ static int __init gfar_of_init(void)
128 const char *model; 194 const char *model;
129 const void *mac_addr; 195 const void *mac_addr;
130 const phandle *ph; 196 const phandle *ph;
131 int n_res = 1; 197 int n_res = 2;
132 198
133 memset(r, 0, sizeof(r)); 199 memset(r, 0, sizeof(r));
134 memset(&gfar_data, 0, sizeof(gfar_data)); 200 memset(&gfar_data, 0, sizeof(gfar_data));
@@ -159,7 +225,7 @@ static int __init gfar_of_init(void)
159 225
160 gfar_dev = 226 gfar_dev =
161 platform_device_register_simple("fsl-gianfar", i, &r[0], 227 platform_device_register_simple("fsl-gianfar", i, &r[0],
162 n_res + 1); 228 n_res);
163 229
164 if (IS_ERR(gfar_dev)) { 230 if (IS_ERR(gfar_dev)) {
165 ret = PTR_ERR(gfar_dev); 231 ret = PTR_ERR(gfar_dev);
@@ -478,3 +544,208 @@ err:
478} 544}
479 545
480arch_initcall(fsl_usb_of_init); 546arch_initcall(fsl_usb_of_init);
547
548#ifdef CONFIG_CPM2
549
550static const char fcc_regs[] = "fcc_regs";
551static const char fcc_regs_c[] = "fcc_regs_c";
552static const char fcc_pram[] = "fcc_pram";
553static char bus_id[9][BUS_ID_SIZE];
554
555static int __init fs_enet_of_init(void)
556{
557 struct device_node *np;
558 unsigned int i;
559 struct platform_device *fs_enet_dev;
560 struct resource res;
561 int ret;
562
563 for (np = NULL, i = 0;
564 (np = of_find_compatible_node(np, "network", "fs_enet")) != NULL;
565 i++) {
566 struct resource r[4];
567 struct device_node *phy, *mdio;
568 struct fs_platform_info fs_enet_data;
569 const unsigned int *id, *phy_addr;
570 const void *mac_addr;
571 const phandle *ph;
572 const char *model;
573
574 memset(r, 0, sizeof(r));
575 memset(&fs_enet_data, 0, sizeof(fs_enet_data));
576
577 ret = of_address_to_resource(np, 0, &r[0]);
578 if (ret)
579 goto err;
580 r[0].name = fcc_regs;
581
582 ret = of_address_to_resource(np, 1, &r[1]);
583 if (ret)
584 goto err;
585 r[1].name = fcc_pram;
586
587 ret = of_address_to_resource(np, 2, &r[2]);
588 if (ret)
589 goto err;
590 r[2].name = fcc_regs_c;
591
592 r[3].start = r[3].end = irq_of_parse_and_map(np, 0);
593 r[3].flags = IORESOURCE_IRQ;
594
595 fs_enet_dev =
596 platform_device_register_simple("fsl-cpm-fcc", i, &r[0], 4);
597
598 if (IS_ERR(fs_enet_dev)) {
599 ret = PTR_ERR(fs_enet_dev);
600 goto err;
601 }
602
603 model = get_property(np, "model", NULL);
604 if (model == NULL) {
605 ret = -ENODEV;
606 goto unreg;
607 }
608
609 mac_addr = get_property(np, "mac-address", NULL);
610 memcpy(fs_enet_data.macaddr, mac_addr, 6);
611
612 ph = get_property(np, "phy-handle", NULL);
613 phy = of_find_node_by_phandle(*ph);
614
615 if (phy == NULL) {
616 ret = -ENODEV;
617 goto unreg;
618 }
619
620 phy_addr = get_property(phy, "reg", NULL);
621 fs_enet_data.phy_addr = *phy_addr;
622
623 id = get_property(np, "device-id", NULL);
624 fs_enet_data.fs_no = *id;
625 strcpy(fs_enet_data.fs_type, model);
626
627 mdio = of_get_parent(phy);
628 ret = of_address_to_resource(mdio, 0, &res);
629 if (ret) {
630 of_node_put(phy);
631 of_node_put(mdio);
632 goto unreg;
633 }
634
635 fs_enet_data.clk_rx = *((u32 *) get_property(np, "rx-clock", NULL));
636 fs_enet_data.clk_tx = *((u32 *) get_property(np, "tx-clock", NULL));
637
638 if (strstr(model, "FCC")) {
639 int fcc_index = *id - 1;
640
641 fs_enet_data.dpram_offset = (u32)cpm_dpram_addr(0);
642 fs_enet_data.rx_ring = 32;
643 fs_enet_data.tx_ring = 32;
644 fs_enet_data.rx_copybreak = 240;
645 fs_enet_data.use_napi = 0;
646 fs_enet_data.napi_weight = 17;
647 fs_enet_data.mem_offset = FCC_MEM_OFFSET(fcc_index);
648 fs_enet_data.cp_page = CPM_CR_FCC_PAGE(fcc_index);
649 fs_enet_data.cp_block = CPM_CR_FCC_SBLOCK(fcc_index);
650
651 snprintf((char*)&bus_id[(*id)], BUS_ID_SIZE, "%x:%02x",
652 (u32)res.start, fs_enet_data.phy_addr);
653 fs_enet_data.bus_id = (char*)&bus_id[(*id)];
654 fs_enet_data.init_ioports = init_fcc_ioports;
655 }
656
657 of_node_put(phy);
658 of_node_put(mdio);
659
660 ret = platform_device_add_data(fs_enet_dev, &fs_enet_data,
661 sizeof(struct
662 fs_platform_info));
663 if (ret)
664 goto unreg;
665 }
666 return 0;
667
668unreg:
669 platform_device_unregister(fs_enet_dev);
670err:
671 return ret;
672}
673
674arch_initcall(fs_enet_of_init);
675
676static const char scc_regs[] = "regs";
677static const char scc_pram[] = "pram";
678
679static int __init cpm_uart_of_init(void)
680{
681 struct device_node *np;
682 unsigned int i;
683 struct platform_device *cpm_uart_dev;
684 int ret;
685
686 for (np = NULL, i = 0;
687 (np = of_find_compatible_node(np, "serial", "cpm_uart")) != NULL;
688 i++) {
689 struct resource r[3];
690 struct fs_uart_platform_info cpm_uart_data;
691 const int *id;
692 const char *model;
693
694 memset(r, 0, sizeof(r));
695 memset(&cpm_uart_data, 0, sizeof(cpm_uart_data));
696
697 ret = of_address_to_resource(np, 0, &r[0]);
698 if (ret)
699 goto err;
700
701 r[0].name = scc_regs;
702
703 ret = of_address_to_resource(np, 1, &r[1]);
704 if (ret)
705 goto err;
706 r[1].name = scc_pram;
707
708 r[2].start = r[2].end = irq_of_parse_and_map(np, 0);
709 r[2].flags = IORESOURCE_IRQ;
710
711 cpm_uart_dev =
712 platform_device_register_simple("fsl-cpm-scc:uart", i, &r[0], 3);
713
714 if (IS_ERR(cpm_uart_dev)) {
715 ret = PTR_ERR(cpm_uart_dev);
716 goto err;
717 }
718
719 id = get_property(np, "device-id", NULL);
720 cpm_uart_data.fs_no = *id;
721
722 model = (char*)get_property(np, "model", NULL);
723 strcpy(cpm_uart_data.fs_type, model);
724
725 cpm_uart_data.uart_clk = ppc_proc_freq;
726
727 cpm_uart_data.tx_num_fifo = 4;
728 cpm_uart_data.tx_buf_size = 32;
729 cpm_uart_data.rx_num_fifo = 4;
730 cpm_uart_data.rx_buf_size = 32;
731 cpm_uart_data.clk_rx = *((u32 *) get_property(np, "rx-clock", NULL));
732 cpm_uart_data.clk_tx = *((u32 *) get_property(np, "tx-clock", NULL));
733
734 ret =
735 platform_device_add_data(cpm_uart_dev, &cpm_uart_data,
736 sizeof(struct
737 fs_uart_platform_info));
738 if (ret)
739 goto unreg;
740 }
741
742 return 0;
743
744unreg:
745 platform_device_unregister(cpm_uart_dev);
746err:
747 return ret;
748}
749
750arch_initcall(cpm_uart_of_init);
751#endif /* CONFIG_CPM2 */
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h
index 5a3dd480d2fd..04e145b5fc32 100644
--- a/arch/powerpc/sysdev/fsl_soc.h
+++ b/arch/powerpc/sysdev/fsl_soc.h
@@ -5,6 +5,8 @@
5#include <asm/mmu.h> 5#include <asm/mmu.h>
6 6
7extern phys_addr_t get_immrbase(void); 7extern phys_addr_t get_immrbase(void);
8extern u32 get_brgfreq(void);
9extern u32 get_baudrate(void);
8 10
9#endif 11#endif
10#endif 12#endif
diff --git a/arch/ppc/4xx_io/serial_sicc.c b/arch/ppc/4xx_io/serial_sicc.c
index b81a367dc278..87fe9a89dba7 100644
--- a/arch/ppc/4xx_io/serial_sicc.c
+++ b/arch/ppc/4xx_io/serial_sicc.c
@@ -1720,7 +1720,7 @@ static int siccuart_open(struct tty_struct *tty, struct file *filp)
1720 return 0; 1720 return 0;
1721} 1721}
1722 1722
1723static struct tty_operations sicc_ops = { 1723static const struct tty_operations sicc_ops = {
1724 .open = siccuart_open, 1724 .open = siccuart_open,
1725 .close = siccuart_close, 1725 .close = siccuart_close,
1726 .write = siccuart_write, 1726 .write = siccuart_write,
diff --git a/arch/ppc/boot/utils/mkbugboot.c b/arch/ppc/boot/utils/mkbugboot.c
index 29115e01f60a..1640c4199ca6 100644
--- a/arch/ppc/boot/utils/mkbugboot.c
+++ b/arch/ppc/boot/utils/mkbugboot.c
@@ -19,36 +19,13 @@
19#include <stdlib.h> 19#include <stdlib.h>
20#include <errno.h> 20#include <errno.h>
21#include <fcntl.h> 21#include <fcntl.h>
22#include <netinet/in.h>
22#ifdef __sun__ 23#ifdef __sun__
23#include <inttypes.h> 24#include <inttypes.h>
24#else 25#else
25#include <stdint.h> 26#include <stdint.h>
26#endif 27#endif
27 28
28#ifdef __i386__
29#define cpu_to_be32(x) le32_to_cpu(x)
30#define cpu_to_be16(x) le16_to_cpu(x)
31#else
32#define cpu_to_be32(x) (x)
33#define cpu_to_be16(x) (x)
34#endif
35
36#define cpu_to_le32(x) le32_to_cpu((x))
37unsigned long le32_to_cpu(unsigned long x)
38{
39 return (((x & 0x000000ffU) << 24) |
40 ((x & 0x0000ff00U) << 8) |
41 ((x & 0x00ff0000U) >> 8) |
42 ((x & 0xff000000U) >> 24));
43}
44
45#define cpu_to_le16(x) le16_to_cpu((x))
46unsigned short le16_to_cpu(unsigned short x)
47{
48 return (((x & 0x00ff) << 8) |
49 ((x & 0xff00) >> 8));
50}
51
52/* size of read buffer */ 29/* size of read buffer */
53#define SIZE 0x1000 30#define SIZE 0x1000
54 31
@@ -62,124 +39,109 @@ typedef struct bug_boot_header {
62 39
63#define HEADER_SIZE sizeof(bug_boot_header_t) 40#define HEADER_SIZE sizeof(bug_boot_header_t)
64 41
65uint32_t copy_image(int32_t in_fd, int32_t out_fd) 42void update_checksum(void *buf, size_t size, uint16_t *sum)
66{ 43{
67 uint8_t buf[SIZE]; 44 uint32_t csum = *sum;
68 int n; 45
69 uint32_t image_size = 0; 46 while (size) {
70 uint8_t zero = 0; 47 csum += *(uint16_t *)buf;
71 48 if (csum > 0xffff)
72 lseek(in_fd, ELF_HEADER_SIZE, SEEK_SET); 49 csum -= 0xffff;
73 50 buf = (uint16_t *)buf + 1;
74 /* Copy an image while recording its size */ 51 size -= 2;
75 while ( (n = read(in_fd, buf, SIZE)) > 0 ) 52 }
76 { 53 *sum = csum;
77 image_size = image_size + n;
78 write(out_fd, buf, n);
79 }
80
81 /* BUG romboot requires that our size is divisible by 2 */
82 /* align image to 2 byte boundary */
83 if (image_size % 2)
84 {
85 image_size++;
86 write(out_fd, &zero, 1);
87 }
88
89 return image_size;
90} 54}
91 55
92void write_bugboot_header(int32_t out_fd, uint32_t boot_size) 56uint32_t copy_image(int in_fd, int out_fd, uint16_t *sum)
93{ 57{
94 uint8_t header_block[HEADER_SIZE]; 58 uint8_t buf[SIZE];
95 bug_boot_header_t *bbh = (bug_boot_header_t *)&header_block[0]; 59 int offset = 0;
96 60 int n;
97 memset(header_block, 0, HEADER_SIZE); 61 uint32_t image_size = 0;
98 62
99 /* Fill in the PPCBUG ROM boot header */ 63 lseek(in_fd, ELF_HEADER_SIZE, SEEK_SET);
100 strncpy(bbh->magic_word, "BOOT", 4); /* PPCBUG magic word */ 64
101 bbh->entry_offset = cpu_to_be32(HEADER_SIZE); /* Entry address */ 65 /* Copy an image while recording its size */
102 bbh->routine_length= cpu_to_be32(HEADER_SIZE+boot_size+2); /* Routine length */ 66 while ( (n = read(in_fd, buf + offset, SIZE - offset)) > 0 ) {
103 strncpy(bbh->routine_name, "LINUXROM", 8); /* Routine name */ 67 n += offset;
104 68 offset = n & 1;
105 /* Output the header and bootloader to the file */ 69 n -= offset;
106 write(out_fd, header_block, HEADER_SIZE); 70 image_size = image_size + n;
71 /* who's going to deal with short writes? */
72 write(out_fd, buf, n);
73 update_checksum(buf, n, sum);
74 if (offset)
75 buf[0] = buf[n];
76 }
77
78 /* BUG romboot requires that our size is divisible by 2 */
79 /* align image to 2 byte boundary */
80 if (offset) {
81 image_size += 2;
82 buf[1] = '\0';
83 write(out_fd, buf, 2);
84 update_checksum(buf, 2, sum);
85 }
86 return image_size;
107} 87}
108 88
109uint16_t calc_checksum(int32_t bug_fd) 89void write_bugboot_header(int out_fd, uint32_t boot_size, uint16_t *sum)
110{ 90{
111 uint32_t checksum_var = 0; 91 static bug_boot_header_t bbh = {
112 uint8_t buf[2]; 92 .magic_word = "BOOT",
113 int n; 93 .routine_name = "LINUXROM"
114 94 };
115 /* Checksum loop */ 95
116 while ( (n = read(bug_fd, buf, 2) ) ) 96 /* Fill in the PPCBUG ROM boot header */
117 { 97 bbh.entry_offset = htonl(HEADER_SIZE); /* Entry address */
118 checksum_var = checksum_var + *(uint16_t *)buf; 98 bbh.routine_length= htonl(HEADER_SIZE+boot_size+2); /* Routine length */
119 99
120 /* If we carry out, mask it and add one to the checksum */ 100 /* Output the header and bootloader to the file */
121 if (checksum_var >> 16) 101 write(out_fd, &bbh, sizeof(bug_boot_header_t));
122 checksum_var = (checksum_var & 0x0000ffff) + 1; 102 update_checksum(&bbh, sizeof(bug_boot_header_t), sum);
123 }
124
125 return checksum_var;
126} 103}
127 104
128int main(int argc, char *argv[]) 105int main(int argc, char *argv[])
129{ 106{
130 int32_t image_fd, bugboot_fd; 107 int image_fd, bugboot_fd;
131 int argptr = 1; 108 uint32_t kernel_size = 0;
132 uint32_t kernel_size = 0; 109 uint16_t checksum = 0;
133 uint16_t checksum = 0;
134 uint8_t bugbootname[256];
135
136 if ( (argc != 3) )
137 {
138 fprintf(stderr, "usage: %s <kernel_image> <bugboot>\n",argv[0]);
139 exit(-1);
140 }
141
142 /* Get file args */
143
144 /* kernel image file */
145 if ((image_fd = open( argv[argptr] , 0)) < 0)
146 exit(-1);
147 argptr++;
148 110
149 /* bugboot file */ 111 if (argc != 3) {
150 if ( !strcmp( argv[argptr], "-" ) ) 112 fprintf(stderr, "usage: %s <kernel_image> <bugboot>\n",argv[0]);
151 bugboot_fd = 1; /* stdout */ 113 exit(-1);
152 else 114 }
153 if ((bugboot_fd = creat( argv[argptr] , 0755)) < 0)
154 exit(-1);
155 else
156 strcpy(bugbootname, argv[argptr]);
157 argptr++;
158 115
159 /* Set file position after ROM header block where zImage will be written */ 116 /* Get file args */
160 lseek(bugboot_fd, HEADER_SIZE, SEEK_SET);
161 117
162 /* Copy kernel image into bugboot image */ 118 /* kernel image file */
163 kernel_size = copy_image(image_fd, bugboot_fd); 119 if ((image_fd = open(argv[1] , 0)) < 0)
164 close(image_fd); 120 exit(-1);
165 121
166 /* Set file position to beginning where header/romboot will be written */ 122 /* bugboot file */
167 lseek(bugboot_fd, 0, SEEK_SET); 123 if (!strcmp(argv[2], "-"))
124 bugboot_fd = 1; /* stdout */
125 else if ((bugboot_fd = creat(argv[2] , 0755)) < 0)
126 exit(-1);
168 127
169 /* Write out BUG header/romboot */ 128 /* Set file position after ROM header block where zImage will be written */
170 write_bugboot_header(bugboot_fd, kernel_size); 129 lseek(bugboot_fd, HEADER_SIZE, SEEK_SET);
171 130
172 /* Close bugboot file */ 131 /* Copy kernel image into bugboot image */
173 close(bugboot_fd); 132 kernel_size = copy_image(image_fd, bugboot_fd, &checksum);
174 133
175 /* Reopen it as read/write */ 134 /* Set file position to beginning where header/romboot will be written */
176 bugboot_fd = open(bugbootname, O_RDWR); 135 lseek(bugboot_fd, 0, SEEK_SET);
177 136
178 /* Calculate checksum */ 137 /* Write out BUG header/romboot */
179 checksum = calc_checksum(bugboot_fd); 138 write_bugboot_header(bugboot_fd, kernel_size, &checksum);
180 139
181 /* Write out the calculated checksum */ 140 /* Write out the calculated checksum */
182 write(bugboot_fd, &checksum, 2); 141 lseek(bugboot_fd, 0, SEEK_END);
142 write(bugboot_fd, &checksum, 2);
183 143
184 return 0; 144 /* Close bugboot file */
145 close(bugboot_fd);
146 return 0;
185} 147}
diff --git a/arch/ppc/boot/utils/mkprep.c b/arch/ppc/boot/utils/mkprep.c
index f6d5a2f2fcf6..192bb397126f 100644
--- a/arch/ppc/boot/utils/mkprep.c
+++ b/arch/ppc/boot/utils/mkprep.c
@@ -15,279 +15,227 @@
15 * Modified for Sparc hosted builds by Peter Wahl <PeterWahl@web.de> 15 * Modified for Sparc hosted builds by Peter Wahl <PeterWahl@web.de>
16 */ 16 */
17 17
18#include <fcntl.h>
19#include <stdio.h> 18#include <stdio.h>
20#include <stdlib.h>
21#include <string.h> 19#include <string.h>
22#include <strings.h> 20#include <stdlib.h>
23#include <sys/stat.h>
24#include <unistd.h>
25
26#define cpu_to_le32(x) le32_to_cpu((x))
27unsigned long le32_to_cpu(unsigned long x)
28{
29 return (((x & 0x000000ffU) << 24) |
30 ((x & 0x0000ff00U) << 8) |
31 ((x & 0x00ff0000U) >> 8) |
32 ((x & 0xff000000U) >> 24));
33}
34
35
36#define cpu_to_le16(x) le16_to_cpu((x))
37unsigned short le16_to_cpu(unsigned short x)
38{
39 return (((x & 0x00ff) << 8) |
40 ((x & 0xff00) >> 8));
41}
42
43#define cpu_to_be32(x) (x)
44#define be32_to_cpu(x) (x)
45#define cpu_to_be16(x) (x)
46#define be16_to_cpu(x) (x)
47 21
48/* size of read buffer */ 22/* size of read buffer */
49#define SIZE 0x1000 23#define SIZE 0x1000
50 24
51
52typedef unsigned long dword_t;
53typedef unsigned short word_t;
54typedef unsigned char byte_t;
55typedef byte_t block_t[512];
56typedef byte_t page_t[4096];
57
58
59/* 25/*
60 * Partition table entry 26 * Partition table entry
61 * - from the PReP spec 27 * - from the PReP spec
62 */ 28 */
63typedef struct partition_entry { 29typedef struct partition_entry {
64 byte_t boot_indicator; 30 unsigned char boot_indicator;
65 byte_t starting_head; 31 unsigned char starting_head;
66 byte_t starting_sector; 32 unsigned char starting_sector;
67 byte_t starting_cylinder; 33 unsigned char starting_cylinder;
68 34
69 byte_t system_indicator; 35 unsigned char system_indicator;
70 byte_t ending_head; 36 unsigned char ending_head;
71 byte_t ending_sector; 37 unsigned char ending_sector;
72 byte_t ending_cylinder; 38 unsigned char ending_cylinder;
73 39
74 dword_t beginning_sector; 40 unsigned char beginning_sector[4];
75 dword_t number_of_sectors; 41 unsigned char number_of_sectors[4];
76} partition_entry_t; 42} partition_entry_t;
77 43
78#define BootActive 0x80 44#define BootActive 0x80
79#define SystemPrep 0x41 45#define SystemPrep 0x41
80 46
81void copy_image(int , int); 47void copy_image(FILE *, FILE *);
82void write_prep_partition(int , int ); 48void write_prep_partition(FILE *, FILE *);
83void write_asm_data( int in, int out ); 49void write_asm_data(FILE *, FILE *);
84 50
85unsigned int elfhdr_size = 65536; 51unsigned int elfhdr_size = 65536;
86 52
87int main(int argc, char *argv[]) 53int main(int argc, char *argv[])
88{ 54{
89 int in_fd, out_fd; 55 FILE *in, *out;
90 int argptr = 1; 56 int argptr = 1;
91 unsigned int prep = 0; 57 int prep = 0;
92 unsigned int asmoutput = 0; 58 int asmoutput = 0;
93 59
94 if ( (argc < 3) || (argc > 4) ) 60 if (argc < 3 || argc > 4) {
95 { 61 fprintf(stderr, "usage: %s [-pbp] [-asm] <boot-file> <image>\n",
96 fprintf(stderr, "usage: %s [-pbp] [-asm] <boot-file> <image>\n",argv[0]); 62 argv[0]);
97 exit(-1); 63 exit(-1);
98 } 64 }
99 65
100 /* needs to handle args more elegantly -- but this is a small/simple program */ 66/* needs to handle args more elegantly -- but this is a small/simple program */
101 67
102 /* check for -pbp */ 68 /* check for -pbp */
103 if ( !strcmp( argv[argptr], "-pbp" ) ) 69 if (!strcmp(argv[argptr], "-pbp")) {
104 { 70 prep = 1;
105 prep = 1; 71 argptr++;
106 argptr++; 72 }
107 } 73
108 74 /* check for -asm */
109 /* check for -asm */ 75 if (!strcmp(argv[argptr], "-asm")) {
110 if ( !strcmp( argv[argptr], "-asm" ) ) 76 asmoutput = 1;
111 { 77 argptr++;
112 asmoutput = 1; 78 }
113 argptr++; 79
114 } 80 /* input file */
115 81 if (!strcmp(argv[argptr], "-"))
116 /* input file */ 82 in = stdin;
117 if ( !strcmp( argv[argptr], "-" ) ) 83 else if (!(in = fopen(argv[argptr], "r")))
118 in_fd = 0; /* stdin */ 84 exit(-1);
119 else 85 argptr++;
120 if ((in_fd = open( argv[argptr] , 0)) < 0) 86
121 exit(-1); 87 /* output file */
122 argptr++; 88 if (!strcmp(argv[argptr], "-"))
123 89 out = stdout;
124 /* output file */ 90 else if (!(out = fopen(argv[argptr], "w")))
125 if ( !strcmp( argv[argptr], "-" ) ) 91 exit(-1);
126 out_fd = 1; /* stdout */ 92 argptr++;
127 else 93
128 if ((out_fd = creat( argv[argptr] , 0755)) < 0) 94 /* skip elf header in input file */
129 exit(-1); 95 /*if ( !prep )*/
130 argptr++; 96 fseek(in, elfhdr_size, SEEK_SET);
131 97
132 /* skip elf header in input file */ 98 /* write prep partition if necessary */
133 /*if ( !prep )*/ 99 if (prep)
134 lseek(in_fd, elfhdr_size, SEEK_SET); 100 write_prep_partition(in, out);
135 101
136 /* write prep partition if necessary */ 102 /* write input image to bootimage */
137 if ( prep ) 103 if (asmoutput)
138 write_prep_partition( in_fd, out_fd ); 104 write_asm_data(in, out);
139 105 else
140 /* write input image to bootimage */ 106 copy_image(in, out);
141 if ( asmoutput ) 107
142 write_asm_data( in_fd, out_fd ); 108 return 0;
143 else
144 copy_image(in_fd, out_fd);
145
146 return 0;
147} 109}
148 110
149void write_prep_partition(int in, int out) 111void store_le32(unsigned int v, unsigned char *p)
150{ 112{
151 unsigned char block[512]; 113 p[0] = v;
152 partition_entry_t pe; 114 p[1] = v >>= 8;
153 dword_t *entry = (dword_t *)&block[0]; 115 p[2] = v >>= 8;
154 dword_t *length = (dword_t *)&block[sizeof(long)]; 116 p[3] = v >> 8;
155 struct stat info; 117}
156 118
157 if (fstat(in, &info) < 0) 119void write_prep_partition(FILE *in, FILE *out)
158 { 120{
159 fprintf(stderr,"info failed\n"); 121 unsigned char block[512];
160 exit(-1); 122 partition_entry_t pe;
161 } 123 unsigned char *entry = block;
162 124 unsigned char *length = block + 4;
163 bzero( block, sizeof block ); 125 long pos = ftell(in), size;
164 126
165 /* set entry point and boot image size skipping over elf header */ 127 if (fseek(in, 0, SEEK_END) < 0) {
166#ifdef __i386__ 128 fprintf(stderr,"info failed\n");
167 *entry = 0x400/*+65536*/; 129 exit(-1);
168 *length = info.st_size-elfhdr_size+0x400; 130 }
169#else 131 size = ftell(in);
170 *entry = cpu_to_le32(0x400/*+65536*/); 132 if (fseek(in, pos, SEEK_SET) < 0) {
171 *length = cpu_to_le32(info.st_size-elfhdr_size+0x400); 133 fprintf(stderr,"info failed\n");
172#endif /* __i386__ */ 134 exit(-1);
173 135 }
174 /* sets magic number for msdos partition (used by linux) */ 136
175 block[510] = 0x55; 137 memset(block, '\0', sizeof(block));
176 block[511] = 0xAA; 138
177 139 /* set entry point and boot image size skipping over elf header */
178 /* 140 store_le32(0x400/*+65536*/, entry);
179 * Build a "PReP" partition table entry in the boot record 141 store_le32(size-elfhdr_size+0x400, length);
180 * - "PReP" may only look at the system_indicator 142
181 */ 143 /* sets magic number for msdos partition (used by linux) */
182 pe.boot_indicator = BootActive; 144 block[510] = 0x55;
183 pe.system_indicator = SystemPrep; 145 block[511] = 0xAA;
184 /* 146
185 * The first block of the diskette is used by this "boot record" which 147 /*
186 * actually contains the partition table. (The first block of the 148 * Build a "PReP" partition table entry in the boot record
187 * partition contains the boot image, but I digress...) We'll set up 149 * - "PReP" may only look at the system_indicator
188 * one partition on the diskette and it shall contain the rest of the 150 */
189 * diskette. 151 pe.boot_indicator = BootActive;
190 */ 152 pe.system_indicator = SystemPrep;
191 pe.starting_head = 0; /* zero-based */ 153 /*
192 pe.starting_sector = 2; /* one-based */ 154 * The first block of the diskette is used by this "boot record" which
193 pe.starting_cylinder = 0; /* zero-based */ 155 * actually contains the partition table. (The first block of the
194 pe.ending_head = 1; /* assumes two heads */ 156 * partition contains the boot image, but I digress...) We'll set up
195 pe.ending_sector = 18; /* assumes 18 sectors/track */ 157 * one partition on the diskette and it shall contain the rest of the
196 pe.ending_cylinder = 79; /* assumes 80 cylinders/diskette */ 158 * diskette.
197 159 */
198 /* 160 pe.starting_head = 0; /* zero-based */
199 * The "PReP" software ignores the above fields and just looks at 161 pe.starting_sector = 2; /* one-based */
200 * the next two. 162 pe.starting_cylinder = 0; /* zero-based */
201 * - size of the diskette is (assumed to be) 163 pe.ending_head = 1; /* assumes two heads */
202 * (2 tracks/cylinder)(18 sectors/tracks)(80 cylinders/diskette) 164 pe.ending_sector = 18; /* assumes 18 sectors/track */
203 * - unlike the above sector numbers, the beginning sector is zero-based! 165 pe.ending_cylinder = 79; /* assumes 80 cylinders/diskette */
204 */ 166
167 /*
168 * The "PReP" software ignores the above fields and just looks at
169 * the next two.
170 * - size of the diskette is (assumed to be)
171 * (2 tracks/cylinder)(18 sectors/tracks)(80 cylinders/diskette)
172 * - unlike the above sector numbers, the beginning sector is zero-based!
173 */
205#if 0 174#if 0
206 pe.beginning_sector = cpu_to_le32(1); 175 store_le32(1, pe.beginning_sector);
207#else
208 /* This has to be 0 on the PowerStack? */
209#ifdef __i386__
210 pe.beginning_sector = 0;
211#else 176#else
212 pe.beginning_sector = cpu_to_le32(0); 177 /* This has to be 0 on the PowerStack? */
213#endif /* __i386__ */ 178 store_le32(0, pe.beginning_sector);
214#endif 179#endif
215 180
216#ifdef __i386__ 181 store_le32(2*18*80-1, pe.number_of_sectors);
217 pe.number_of_sectors = 2*18*80-1;
218#else
219 pe.number_of_sectors = cpu_to_le32(2*18*80-1);
220#endif /* __i386__ */
221 182
222 memcpy(&block[0x1BE], &pe, sizeof(pe)); 183 memcpy(&block[0x1BE], &pe, sizeof(pe));
223 184
224 write( out, block, sizeof(block) ); 185 fwrite(block, sizeof(block), 1, out);
225 write( out, entry, sizeof(*entry) ); 186 fwrite(entry, 4, 1, out);
226 write( out, length, sizeof(*length) ); 187 fwrite(length, 4, 1, out);
227 /* set file position to 2nd sector where image will be written */ 188 /* set file position to 2nd sector where image will be written */
228 lseek( out, 0x400, SEEK_SET ); 189 fseek( out, 0x400, SEEK_SET );
229} 190}
230 191
231 192
232 193
233void 194void copy_image(FILE *in, FILE *out)
234copy_image(int in, int out)
235{ 195{
236 char buf[SIZE]; 196 char buf[SIZE];
237 int n; 197 int n;
238 198
239 while ( (n = read(in, buf, SIZE)) > 0 ) 199 while ( (n = fread(buf, 1, SIZE, in)) > 0 )
240 write(out, buf, n); 200 fwrite(buf, 1, n, out);
241} 201}
242 202
243 203
244void 204void
245write_asm_data( int in, int out ) 205write_asm_data(FILE *in, FILE *out)
246{ 206{
247 int i, cnt, pos, len; 207 int i, cnt, pos = 0;
248 unsigned int cksum, val; 208 unsigned int cksum = 0, val;
249 unsigned char *lp; 209 unsigned char *lp;
250 unsigned char buf[SIZE]; 210 unsigned char buf[SIZE];
251 unsigned char str[256]; 211 size_t len;
252 212
253 write( out, "\t.data\n\t.globl input_data\ninput_data:\n", 213 fputs("\t.data\n\t.globl input_data\ninput_data:\n", out);
254 strlen( "\t.data\n\t.globl input_data\ninput_data:\n" ) ); 214 while ((len = fread(buf, 1, sizeof(buf), in)) > 0) {
255 pos = 0; 215 cnt = 0;
256 cksum = 0; 216 lp = buf;
257 while ((len = read(in, buf, sizeof(buf))) > 0) 217 /* Round up to longwords */
258 { 218 while (len & 3)
259 cnt = 0; 219 buf[len++] = '\0';
260 lp = (unsigned char *)buf; 220 for (i = 0; i < len; i += 4) {
261 len = (len + 3) & ~3; /* Round up to longwords */ 221 if (cnt == 0)
262 for (i = 0; i < len; i += 4) 222 fputs("\t.long\t", out);
263 { 223 fprintf(out, "0x%02X%02X%02X%02X",
264 if (cnt == 0) 224 lp[0], lp[1], lp[2], lp[3]);
265 { 225 val = *(unsigned long *)lp;
266 write( out, "\t.long\t", strlen( "\t.long\t" ) ); 226 cksum ^= val;
267 } 227 lp += 4;
268 sprintf( str, "0x%02X%02X%02X%02X", lp[0], lp[1], lp[2], lp[3]); 228 if (++cnt == 4) {
269 write( out, str, strlen(str) ); 229 cnt = 0;
270 val = *(unsigned long *)lp; 230 fprintf(out, " # %x \n", pos+i-12);
271 cksum ^= val; 231 } else {
272 lp += 4; 232 fputs(",", out);
273 if (++cnt == 4) 233 }
274 { 234 }
275 cnt = 0; 235 if (cnt)
276 sprintf( str, " # %x \n", pos+i-12); 236 fputs("0\n", out);
277 write( out, str, strlen(str) ); 237 pos += len;
278 } else 238 }
279 { 239 fprintf(out, "\t.globl input_len\ninput_len:\t.long\t0x%x\n", pos);
280 write( out, ",", 1 ); 240 fprintf(stderr, "cksum = %x\n", cksum);
281 }
282 }
283 if (cnt)
284 {
285 write( out, "0\n", 2 );
286 }
287 pos += len;
288 }
289 sprintf(str, "\t.globl input_len\ninput_len:\t.long\t0x%x\n", pos);
290 write( out, str, strlen(str) );
291
292 fprintf(stderr, "cksum = %x\n", cksum);
293} 241}
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S
index 50b4bbd06804..5f6684012ded 100644
--- a/arch/ppc/kernel/misc.S
+++ b/arch/ppc/kernel/misc.S
@@ -942,20 +942,16 @@ _GLOBAL(kernel_thread)
942 addi r1,r1,16 942 addi r1,r1,16
943 blr 943 blr
944 944
945_GLOBAL(kernel_execve)
946 li r0,__NR_execve
947 sc
948 bnslr
949 neg r3,r3
950 blr
951
945/* 952/*
946 * This routine is just here to keep GCC happy - sigh... 953 * This routine is just here to keep GCC happy - sigh...
947 */ 954 */
948_GLOBAL(__main) 955_GLOBAL(__main)
949 blr 956 blr
950 957
951#define SYSCALL(name) \
952_GLOBAL(name) \
953 li r0,__NR_##name; \
954 sc; \
955 bnslr; \
956 lis r4,errno@ha; \
957 stw r3,errno@l(r4); \
958 li r3,-1; \
959 blr
960
961SYSCALL(execve)
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c
index 5458ac5da7c3..75fe13815be2 100644
--- a/arch/ppc/kernel/setup.c
+++ b/arch/ppc/kernel/setup.c
@@ -86,10 +86,6 @@ int ppc_do_canonicalize_irqs;
86EXPORT_SYMBOL(ppc_do_canonicalize_irqs); 86EXPORT_SYMBOL(ppc_do_canonicalize_irqs);
87#endif 87#endif
88 88
89#ifdef CONFIG_MAGIC_SYSRQ
90unsigned long SYSRQ_KEY = 0x54;
91#endif /* CONFIG_MAGIC_SYSRQ */
92
93#ifdef CONFIG_VGA_CONSOLE 89#ifdef CONFIG_VGA_CONSOLE
94unsigned long vgacon_remap_base; 90unsigned long vgacon_remap_base;
95#endif 91#endif
diff --git a/arch/ppc/kernel/time.c b/arch/ppc/kernel/time.c
index 1e1f31554767..187388625a76 100644
--- a/arch/ppc/kernel/time.c
+++ b/arch/ppc/kernel/time.c
@@ -80,8 +80,6 @@ unsigned tb_to_us;
80unsigned tb_last_stamp; 80unsigned tb_last_stamp;
81unsigned long tb_to_ns_scale; 81unsigned long tb_to_ns_scale;
82 82
83extern unsigned long wall_jiffies;
84
85/* used for timezone offset */ 83/* used for timezone offset */
86static long timezone_offset; 84static long timezone_offset;
87 85
@@ -173,8 +171,7 @@ void timer_interrupt(struct pt_regs * regs)
173 */ 171 */
174 if ( ppc_md.set_rtc_time && ntp_synced() && 172 if ( ppc_md.set_rtc_time && ntp_synced() &&
175 xtime.tv_sec - last_rtc_update >= 659 && 173 xtime.tv_sec - last_rtc_update >= 659 &&
176 abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ && 174 abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ) {
177 jiffies - wall_jiffies == 1) {
178 if (ppc_md.set_rtc_time(xtime.tv_sec+1 + timezone_offset) == 0) 175 if (ppc_md.set_rtc_time(xtime.tv_sec+1 + timezone_offset) == 0)
179 last_rtc_update = xtime.tv_sec+1; 176 last_rtc_update = xtime.tv_sec+1;
180 else 177 else
@@ -200,7 +197,7 @@ void do_gettimeofday(struct timeval *tv)
200{ 197{
201 unsigned long flags; 198 unsigned long flags;
202 unsigned long seq; 199 unsigned long seq;
203 unsigned delta, lost_ticks, usec, sec; 200 unsigned delta, usec, sec;
204 201
205 do { 202 do {
206 seq = read_seqbegin_irqsave(&xtime_lock, flags); 203 seq = read_seqbegin_irqsave(&xtime_lock, flags);
@@ -214,10 +211,9 @@ void do_gettimeofday(struct timeval *tv)
214 if (!smp_tb_synchronized) 211 if (!smp_tb_synchronized)
215 delta = 0; 212 delta = 0;
216#endif /* CONFIG_SMP */ 213#endif /* CONFIG_SMP */
217 lost_ticks = jiffies - wall_jiffies;
218 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 214 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
219 215
220 usec += mulhwu(tb_to_us, tb_ticks_per_jiffy * lost_ticks + delta); 216 usec += mulhwu(tb_to_us, delta);
221 while (usec >= 1000000) { 217 while (usec >= 1000000) {
222 sec++; 218 sec++;
223 usec -= 1000000; 219 usec -= 1000000;
@@ -258,7 +254,6 @@ int do_settimeofday(struct timespec *tv)
258 * still reasonable when gettimeofday resolution is 1 jiffy. 254 * still reasonable when gettimeofday resolution is 1 jiffy.
259 */ 255 */
260 tb_delta = tb_ticks_since(last_jiffy_stamp(smp_processor_id())); 256 tb_delta = tb_ticks_since(last_jiffy_stamp(smp_processor_id()));
261 tb_delta += (jiffies - wall_jiffies) * tb_ticks_per_jiffy;
262 257
263 new_nsec -= 1000 * mulhwu(tb_to_us, tb_delta); 258 new_nsec -= 1000 * mulhwu(tb_to_us, tb_delta);
264 259
diff --git a/arch/ppc/platforms/mpc8272ads_setup.c b/arch/ppc/platforms/mpc8272ads_setup.c
index 2a35fe2b9b96..d5d36c372c8e 100644
--- a/arch/ppc/platforms/mpc8272ads_setup.c
+++ b/arch/ppc/platforms/mpc8272ads_setup.c
@@ -103,7 +103,7 @@ static struct fs_platform_info mpc82xx_enet_pdata[] = {
103 }, 103 },
104}; 104};
105 105
106static void init_fcc1_ioports(void) 106static void init_fcc1_ioports(struct fs_platform_info*)
107{ 107{
108 struct io_port *io; 108 struct io_port *io;
109 u32 tempval; 109 u32 tempval;
@@ -144,7 +144,7 @@ static void init_fcc1_ioports(void)
144 iounmap(immap); 144 iounmap(immap);
145} 145}
146 146
147static void init_fcc2_ioports(void) 147static void init_fcc2_ioports(struct fs_platform_info*)
148{ 148{
149 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); 149 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t));
150 u32 *bcsr = ioremap(BCSR_ADDR+12, sizeof(u32)); 150 u32 *bcsr = ioremap(BCSR_ADDR+12, sizeof(u32));
@@ -229,7 +229,7 @@ static void mpc8272ads_fixup_uart_pdata(struct platform_device *pdev,
229 } 229 }
230} 230}
231 231
232static void init_scc1_uart_ioports(void) 232static void init_scc1_uart_ioports(struct fs_uart_platform_info*)
233{ 233{
234 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); 234 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t));
235 235
@@ -246,7 +246,7 @@ static void init_scc1_uart_ioports(void)
246 iounmap(immap); 246 iounmap(immap);
247} 247}
248 248
249static void init_scc4_uart_ioports(void) 249static void init_scc4_uart_ioports(struct fs_uart_platform_info*)
250{ 250{
251 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); 251 cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t));
252 252
diff --git a/arch/ppc/platforms/mpc866ads_setup.c b/arch/ppc/platforms/mpc866ads_setup.c
index e12cece4c9fd..5f130dca3770 100644
--- a/arch/ppc/platforms/mpc866ads_setup.c
+++ b/arch/ppc/platforms/mpc866ads_setup.c
@@ -137,7 +137,7 @@ void __init board_init(void)
137 iounmap(bcsr_io); 137 iounmap(bcsr_io);
138} 138}
139 139
140static void setup_fec1_ioports(void) 140static void setup_fec1_ioports(struct fs_platform_info*)
141{ 141{
142 immap_t *immap = (immap_t *) IMAP_ADDR; 142 immap_t *immap = (immap_t *) IMAP_ADDR;
143 143
@@ -145,7 +145,7 @@ static void setup_fec1_ioports(void)
145 setbits16(&immap->im_ioport.iop_pddir, 0x1fff); 145 setbits16(&immap->im_ioport.iop_pddir, 0x1fff);
146} 146}
147 147
148static void setup_scc1_ioports(void) 148static void setup_scc1_ioports(struct fs_platform_info*)
149{ 149{
150 immap_t *immap = (immap_t *) IMAP_ADDR; 150 immap_t *immap = (immap_t *) IMAP_ADDR;
151 unsigned *bcsr_io; 151 unsigned *bcsr_io;
@@ -194,7 +194,7 @@ static void setup_scc1_ioports(void)
194 194
195} 195}
196 196
197static void setup_smc1_ioports(void) 197static void setup_smc1_ioports(struct fs_uart_platform_info*)
198{ 198{
199 immap_t *immap = (immap_t *) IMAP_ADDR; 199 immap_t *immap = (immap_t *) IMAP_ADDR;
200 unsigned *bcsr_io; 200 unsigned *bcsr_io;
@@ -216,7 +216,7 @@ static void setup_smc1_ioports(void)
216 216
217} 217}
218 218
219static void setup_smc2_ioports(void) 219static void setup_smc2_ioports(struct fs_uart_platform_info*)
220{ 220{
221 immap_t *immap = (immap_t *) IMAP_ADDR; 221 immap_t *immap = (immap_t *) IMAP_ADDR;
222 unsigned *bcsr_io; 222 unsigned *bcsr_io;
diff --git a/arch/ppc/platforms/mpc885ads_setup.c b/arch/ppc/platforms/mpc885ads_setup.c
index 5dfa4e6c2af0..bf388ed04d46 100644
--- a/arch/ppc/platforms/mpc885ads_setup.c
+++ b/arch/ppc/platforms/mpc885ads_setup.c
@@ -161,7 +161,7 @@ void __init board_init(void)
161#endif 161#endif
162} 162}
163 163
164static void setup_fec1_ioports(void) 164static void setup_fec1_ioports(struct fs_platform_info*)
165{ 165{
166 immap_t *immap = (immap_t *) IMAP_ADDR; 166 immap_t *immap = (immap_t *) IMAP_ADDR;
167 167
@@ -181,7 +181,7 @@ static void setup_fec1_ioports(void)
181 clrbits32(&immap->im_cpm.cp_cptr, 0x00000100); 181 clrbits32(&immap->im_cpm.cp_cptr, 0x00000100);
182} 182}
183 183
184static void setup_fec2_ioports(void) 184static void setup_fec2_ioports(struct fs_platform_info*)
185{ 185{
186 immap_t *immap = (immap_t *) IMAP_ADDR; 186 immap_t *immap = (immap_t *) IMAP_ADDR;
187 187
@@ -193,7 +193,7 @@ static void setup_fec2_ioports(void)
193 clrbits32(&immap->im_cpm.cp_cptr, 0x00000080); 193 clrbits32(&immap->im_cpm.cp_cptr, 0x00000080);
194} 194}
195 195
196static void setup_scc3_ioports(void) 196static void setup_scc3_ioports(struct fs_platform_info*)
197{ 197{
198 immap_t *immap = (immap_t *) IMAP_ADDR; 198 immap_t *immap = (immap_t *) IMAP_ADDR;
199 unsigned *bcsr_io; 199 unsigned *bcsr_io;
@@ -315,7 +315,7 @@ static void __init mpc885ads_fixup_scc_enet_pdata(struct platform_device *pdev,
315 mpc885ads_fixup_enet_pdata(pdev, fsid_scc1 + pdev->id - 1); 315 mpc885ads_fixup_enet_pdata(pdev, fsid_scc1 + pdev->id - 1);
316} 316}
317 317
318static void setup_smc1_ioports(void) 318static void setup_smc1_ioports(struct fs_uart_platform_info*)
319{ 319{
320 immap_t *immap = (immap_t *) IMAP_ADDR; 320 immap_t *immap = (immap_t *) IMAP_ADDR;
321 unsigned *bcsr_io; 321 unsigned *bcsr_io;
@@ -335,7 +335,7 @@ static void setup_smc1_ioports(void)
335 clrbits16(&immap->im_cpm.cp_pbodr, iobits); 335 clrbits16(&immap->im_cpm.cp_pbodr, iobits);
336} 336}
337 337
338static void setup_smc2_ioports(void) 338static void setup_smc2_ioports(struct fs_uart_platform_info*)
339{ 339{
340 immap_t *immap = (immap_t *) IMAP_ADDR; 340 immap_t *immap = (immap_t *) IMAP_ADDR;
341 unsigned *bcsr_io; 341 unsigned *bcsr_io;
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c
index 813fc21358f9..cd702ae45d6d 100644
--- a/arch/s390/hypfs/inode.c
+++ b/arch/s390/hypfs/inode.c
@@ -134,12 +134,20 @@ static int hypfs_open(struct inode *inode, struct file *filp)
134 return 0; 134 return 0;
135} 135}
136 136
137static ssize_t hypfs_aio_read(struct kiocb *iocb, __user char *buf, 137static ssize_t hypfs_aio_read(struct kiocb *iocb, const struct iovec *iov,
138 size_t count, loff_t offset) 138 unsigned long nr_segs, loff_t offset)
139{ 139{
140 char *data; 140 char *data;
141 size_t len; 141 size_t len;
142 struct file *filp = iocb->ki_filp; 142 struct file *filp = iocb->ki_filp;
143 /* XXX: temporary */
144 char __user *buf = iov[0].iov_base;
145 size_t count = iov[0].iov_len;
146
147 if (nr_segs != 1) {
148 count = -EINVAL;
149 goto out;
150 }
143 151
144 data = filp->private_data; 152 data = filp->private_data;
145 len = strlen(data); 153 len = strlen(data);
@@ -158,12 +166,13 @@ static ssize_t hypfs_aio_read(struct kiocb *iocb, __user char *buf,
158out: 166out:
159 return count; 167 return count;
160} 168}
161static ssize_t hypfs_aio_write(struct kiocb *iocb, const char __user *buf, 169static ssize_t hypfs_aio_write(struct kiocb *iocb, const struct iovec *iov,
162 size_t count, loff_t pos) 170 unsigned long nr_segs, loff_t offset)
163{ 171{
164 int rc; 172 int rc;
165 struct super_block *sb; 173 struct super_block *sb;
166 struct hypfs_sb_info *fs_info; 174 struct hypfs_sb_info *fs_info;
175 size_t count = iov_length(iov, nr_segs);
167 176
168 sb = iocb->ki_filp->f_dentry->d_inode->i_sb; 177 sb = iocb->ki_filp->f_dentry->d_inode->i_sb;
169 fs_info = sb->s_fs_info; 178 fs_info = sb->s_fs_info;
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c
index c46e3d48e410..e15e1489aef5 100644
--- a/arch/s390/kernel/compat_linux.c
+++ b/arch/s390/kernel/compat_linux.c
@@ -357,11 +357,16 @@ asmlinkage long sys32_ftruncate64(unsigned int fd, unsigned long high, unsigned
357 357
358int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) 358int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf)
359{ 359{
360 compat_ino_t ino;
360 int err; 361 int err;
361 362
362 if (!old_valid_dev(stat->dev) || !old_valid_dev(stat->rdev)) 363 if (!old_valid_dev(stat->dev) || !old_valid_dev(stat->rdev))
363 return -EOVERFLOW; 364 return -EOVERFLOW;
364 365
366 ino = stat->ino;
367 if (sizeof(ino) < sizeof(stat->ino) && ino != stat->ino)
368 return -EOVERFLOW;
369
365 err = put_user(old_encode_dev(stat->dev), &statbuf->st_dev); 370 err = put_user(old_encode_dev(stat->dev), &statbuf->st_dev);
366 err |= put_user(stat->ino, &statbuf->st_ino); 371 err |= put_user(stat->ino, &statbuf->st_ino);
367 err |= put_user(stat->mode, &statbuf->st_mode); 372 err |= put_user(stat->mode, &statbuf->st_mode);
diff --git a/arch/s390/kernel/head31.S b/arch/s390/kernel/head31.S
index 1fa9fa1ca740..1b952a3664e2 100644
--- a/arch/s390/kernel/head31.S
+++ b/arch/s390/kernel/head31.S
@@ -254,6 +254,16 @@ startup_continue:
254 oi 3(%r12),0x80 # set IDTE flag 254 oi 3(%r12),0x80 # set IDTE flag
255.Lchkidte: 255.Lchkidte:
256 256
257#
258# find out if the diag 0x9c is available
259#
260 mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13)
261 stap __LC_CPUID+4 # store cpu address
262 lh %r1,__LC_CPUID+4
263 diag %r1,0,0x9c # test diag 0x9c
264 oi 2(%r12),1 # set diag9c flag
265.Lchkdiag9c:
266
257 lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space, 267 lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space,
258 # virtual and never return ... 268 # virtual and never return ...
259 .align 8 269 .align 8
@@ -281,6 +291,7 @@ startup_continue:
281.Lpccsp:.long 0x00080000,0x80000000 + .Lchkcsp 291.Lpccsp:.long 0x00080000,0x80000000 + .Lchkcsp
282.Lpcmvpg:.long 0x00080000,0x80000000 + .Lchkmvpg 292.Lpcmvpg:.long 0x00080000,0x80000000 + .Lchkmvpg
283.Lpcidte:.long 0x00080000,0x80000000 + .Lchkidte 293.Lpcidte:.long 0x00080000,0x80000000 + .Lchkidte
294.Lpcdiag9c:.long 0x00080000,0x80000000 + .Lchkdiag9c
284.Lmemsize:.long memory_size 295.Lmemsize:.long memory_size
285.Lmchunk:.long memory_chunk 296.Lmchunk:.long memory_chunk
286.Lmflags:.long machine_flags 297.Lmflags:.long machine_flags
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index 48998d50b00a..b30e5897cdf7 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -251,6 +251,17 @@ startup_continue:
2510: 2510:
252 252
253# 253#
254# find out if the diag 0x9c is available
255#
256 la %r1,0f-.LPG1(%r13) # set program check address
257 stg %r1,__LC_PGM_NEW_PSW+8
258 stap __LC_CPUID+4 # store cpu address
259 lh %r1,__LC_CPUID+4
260 diag %r1,0,0x9c # test diag 0x9c
261 oi 6(%r12),1 # set diag9c flag
2620:
263
264#
254# find out if we have the MVCOS instruction 265# find out if we have the MVCOS instruction
255# 266#
256 la %r1,0f-.LPG1(%r13) # set program check address 267 la %r1,0f-.LPG1(%r13) # set program check address
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c
index ca28fb0b3790..4d9ff5ce4cbd 100644
--- a/arch/s390/kernel/kprobes.c
+++ b/arch/s390/kernel/kprobes.c
@@ -369,11 +369,12 @@ void __kprobes kretprobe_trampoline_holder(void)
369int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) 369int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
370{ 370{
371 struct kretprobe_instance *ri = NULL; 371 struct kretprobe_instance *ri = NULL;
372 struct hlist_head *head; 372 struct hlist_head *head, empty_rp;
373 struct hlist_node *node, *tmp; 373 struct hlist_node *node, *tmp;
374 unsigned long flags, orig_ret_address = 0; 374 unsigned long flags, orig_ret_address = 0;
375 unsigned long trampoline_address = (unsigned long)&kretprobe_trampoline; 375 unsigned long trampoline_address = (unsigned long)&kretprobe_trampoline;
376 376
377 INIT_HLIST_HEAD(&empty_rp);
377 spin_lock_irqsave(&kretprobe_lock, flags); 378 spin_lock_irqsave(&kretprobe_lock, flags);
378 head = kretprobe_inst_table_head(current); 379 head = kretprobe_inst_table_head(current);
379 380
@@ -399,7 +400,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
399 ri->rp->handler(ri, regs); 400 ri->rp->handler(ri, regs);
400 401
401 orig_ret_address = (unsigned long)ri->ret_addr; 402 orig_ret_address = (unsigned long)ri->ret_addr;
402 recycle_rp_inst(ri); 403 recycle_rp_inst(ri, &empty_rp);
403 404
404 if (orig_ret_address != trampoline_address) { 405 if (orig_ret_address != trampoline_address) {
405 /* 406 /*
@@ -417,6 +418,10 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
417 spin_unlock_irqrestore(&kretprobe_lock, flags); 418 spin_unlock_irqrestore(&kretprobe_lock, flags);
418 preempt_enable_no_resched(); 419 preempt_enable_no_resched();
419 420
421 hlist_for_each_entry_safe(ri, node, tmp, &empty_rp, hlist) {
422 hlist_del(&ri->hlist);
423 kfree(ri);
424 }
420 /* 425 /*
421 * By returning a non-zero value, we are telling 426 * By returning a non-zero value, we are telling
422 * kprobe_handler() that we don't want the post_handler 427 * kprobe_handler() that we don't want the post_handler
diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c
index e351780bb660..584ed95f3380 100644
--- a/arch/s390/kernel/sys_s390.c
+++ b/arch/s390/kernel/sys_s390.c
@@ -27,6 +27,7 @@
27#include <linux/file.h> 27#include <linux/file.h>
28#include <linux/utsname.h> 28#include <linux/utsname.h>
29#include <linux/personality.h> 29#include <linux/personality.h>
30#include <linux/unistd.h>
30 31
31#include <asm/uaccess.h> 32#include <asm/uaccess.h>
32#include <asm/ipc.h> 33#include <asm/ipc.h>
@@ -266,3 +267,22 @@ s390_fadvise64_64(struct fadvise64_64_args __user *args)
266 return sys_fadvise64_64(a.fd, a.offset, a.len, a.advice); 267 return sys_fadvise64_64(a.fd, a.offset, a.len, a.advice);
267} 268}
268 269
270/*
271 * Do a system call from kernel instead of calling sys_execve so we
272 * end up with proper pt_regs.
273 */
274int kernel_execve(const char *filename, char *const argv[], char *const envp[])
275{
276 register const char *__arg1 asm("2") = filename;
277 register char *const*__arg2 asm("3") = argv;
278 register char *const*__arg3 asm("4") = envp;
279 register long __svcres asm("2");
280 asm volatile(
281 "svc %b1"
282 : "=d" (__svcres)
283 : "i" (__NR_execve),
284 "0" (__arg1),
285 "d" (__arg2),
286 "d" (__arg3) : "memory");
287 return __svcres;
288}
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index abab42e9f5f8..4bf66cc4a267 100644
--- a/arch/s390/kernel/time.c
+++ b/arch/s390/kernel/time.c
@@ -53,8 +53,6 @@ static u64 init_timer_cc;
53static u64 jiffies_timer_cc; 53static u64 jiffies_timer_cc;
54static u64 xtime_cc; 54static u64 xtime_cc;
55 55
56extern unsigned long wall_jiffies;
57
58/* 56/*
59 * Scheduler clock - returns current time in nanosec units. 57 * Scheduler clock - returns current time in nanosec units.
60 */ 58 */
@@ -87,9 +85,8 @@ static inline unsigned long do_gettimeoffset(void)
87{ 85{
88 __u64 now; 86 __u64 now;
89 87
90 now = (get_clock() - jiffies_timer_cc) >> 12; 88 now = (get_clock() - jiffies_timer_cc) >> 12;
91 /* We require the offset from the latest update of xtime */ 89 now -= (__u64) jiffies * USECS_PER_JIFFY;
92 now -= (__u64) wall_jiffies*USECS_PER_JIFFY;
93 return (unsigned long) now; 90 return (unsigned long) now;
94} 91}
95 92
diff --git a/arch/s390/lib/spinlock.c b/arch/s390/lib/spinlock.c
index b9b7958a226a..8d76403fcf89 100644
--- a/arch/s390/lib/spinlock.c
+++ b/arch/s390/lib/spinlock.c
@@ -24,57 +24,76 @@ static int __init spin_retry_setup(char *str)
24} 24}
25__setup("spin_retry=", spin_retry_setup); 25__setup("spin_retry=", spin_retry_setup);
26 26
27static inline void 27static inline void _raw_yield(void)
28_diag44(void)
29{ 28{
30#ifdef CONFIG_64BIT
31 if (MACHINE_HAS_DIAG44) 29 if (MACHINE_HAS_DIAG44)
32#endif
33 asm volatile("diag 0,0,0x44"); 30 asm volatile("diag 0,0,0x44");
34} 31}
35 32
36void 33static inline void _raw_yield_cpu(int cpu)
37_raw_spin_lock_wait(raw_spinlock_t *lp, unsigned int pc) 34{
35 if (MACHINE_HAS_DIAG9C)
36 asm volatile("diag %0,0,0x9c"
37 : : "d" (__cpu_logical_map[cpu]));
38 else
39 _raw_yield();
40}
41
42void _raw_spin_lock_wait(raw_spinlock_t *lp, unsigned int pc)
38{ 43{
39 int count = spin_retry; 44 int count = spin_retry;
45 unsigned int cpu = ~smp_processor_id();
40 46
41 while (1) { 47 while (1) {
42 if (count-- <= 0) { 48 if (count-- <= 0) {
43 _diag44(); 49 unsigned int owner = lp->owner_cpu;
50 if (owner != 0)
51 _raw_yield_cpu(~owner);
44 count = spin_retry; 52 count = spin_retry;
45 } 53 }
46 if (__raw_spin_is_locked(lp)) 54 if (__raw_spin_is_locked(lp))
47 continue; 55 continue;
48 if (_raw_compare_and_swap(&lp->lock, 0, pc) == 0) 56 if (_raw_compare_and_swap(&lp->owner_cpu, 0, cpu) == 0) {
57 lp->owner_pc = pc;
49 return; 58 return;
59 }
50 } 60 }
51} 61}
52EXPORT_SYMBOL(_raw_spin_lock_wait); 62EXPORT_SYMBOL(_raw_spin_lock_wait);
53 63
54int 64int _raw_spin_trylock_retry(raw_spinlock_t *lp, unsigned int pc)
55_raw_spin_trylock_retry(raw_spinlock_t *lp, unsigned int pc)
56{ 65{
57 int count = spin_retry; 66 unsigned int cpu = ~smp_processor_id();
67 int count;
58 68
59 while (count-- > 0) { 69 for (count = spin_retry; count > 0; count--) {
60 if (__raw_spin_is_locked(lp)) 70 if (__raw_spin_is_locked(lp))
61 continue; 71 continue;
62 if (_raw_compare_and_swap(&lp->lock, 0, pc) == 0) 72 if (_raw_compare_and_swap(&lp->owner_cpu, 0, cpu) == 0) {
73 lp->owner_pc = pc;
63 return 1; 74 return 1;
75 }
64 } 76 }
65 return 0; 77 return 0;
66} 78}
67EXPORT_SYMBOL(_raw_spin_trylock_retry); 79EXPORT_SYMBOL(_raw_spin_trylock_retry);
68 80
69void 81void _raw_spin_relax(raw_spinlock_t *lock)
70_raw_read_lock_wait(raw_rwlock_t *rw) 82{
83 unsigned int cpu = lock->owner_cpu;
84 if (cpu != 0)
85 _raw_yield_cpu(~cpu);
86}
87EXPORT_SYMBOL(_raw_spin_relax);
88
89void _raw_read_lock_wait(raw_rwlock_t *rw)
71{ 90{
72 unsigned int old; 91 unsigned int old;
73 int count = spin_retry; 92 int count = spin_retry;
74 93
75 while (1) { 94 while (1) {
76 if (count-- <= 0) { 95 if (count-- <= 0) {
77 _diag44(); 96 _raw_yield();
78 count = spin_retry; 97 count = spin_retry;
79 } 98 }
80 if (!__raw_read_can_lock(rw)) 99 if (!__raw_read_can_lock(rw))
@@ -86,8 +105,7 @@ _raw_read_lock_wait(raw_rwlock_t *rw)
86} 105}
87EXPORT_SYMBOL(_raw_read_lock_wait); 106EXPORT_SYMBOL(_raw_read_lock_wait);
88 107
89int 108int _raw_read_trylock_retry(raw_rwlock_t *rw)
90_raw_read_trylock_retry(raw_rwlock_t *rw)
91{ 109{
92 unsigned int old; 110 unsigned int old;
93 int count = spin_retry; 111 int count = spin_retry;
@@ -103,14 +121,13 @@ _raw_read_trylock_retry(raw_rwlock_t *rw)
103} 121}
104EXPORT_SYMBOL(_raw_read_trylock_retry); 122EXPORT_SYMBOL(_raw_read_trylock_retry);
105 123
106void 124void _raw_write_lock_wait(raw_rwlock_t *rw)
107_raw_write_lock_wait(raw_rwlock_t *rw)
108{ 125{
109 int count = spin_retry; 126 int count = spin_retry;
110 127
111 while (1) { 128 while (1) {
112 if (count-- <= 0) { 129 if (count-- <= 0) {
113 _diag44(); 130 _raw_yield();
114 count = spin_retry; 131 count = spin_retry;
115 } 132 }
116 if (!__raw_write_can_lock(rw)) 133 if (!__raw_write_can_lock(rw))
@@ -121,8 +138,7 @@ _raw_write_lock_wait(raw_rwlock_t *rw)
121} 138}
122EXPORT_SYMBOL(_raw_write_lock_wait); 139EXPORT_SYMBOL(_raw_write_lock_wait);
123 140
124int 141int _raw_write_trylock_retry(raw_rwlock_t *rw)
125_raw_write_trylock_retry(raw_rwlock_t *rw)
126{ 142{
127 int count = spin_retry; 143 int count = spin_retry;
128 144
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 1cc5c9b27bfd..f6a0c4436168 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -377,7 +377,7 @@ config SH_PCLK_FREQ
377 default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 377 default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780
378 default "60000000" if CPU_SUBTYPE_SH7751 378 default "60000000" if CPU_SUBTYPE_SH7751
379 default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ 379 default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \
380 CPU_SUBTYPE_SH7760 380 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705
381 default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 381 default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343
382 default "66000000" if CPU_SUBTYPE_SH4_202 382 default "66000000" if CPU_SUBTYPE_SH4_202
383 help 383 help
diff --git a/arch/sh/boards/hp6xx/hp6xx_apm.c b/arch/sh/boards/hp6xx/hp6xx_apm.c
index ad0e712c29f6..75f91aaae077 100644
--- a/arch/sh/boards/hp6xx/hp6xx_apm.c
+++ b/arch/sh/boards/hp6xx/hp6xx_apm.c
@@ -6,7 +6,6 @@
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License. 7 * modify it under the terms of the GNU General Public License.
8 */ 8 */
9#include <linux/config.h>
10#include <linux/module.h> 9#include <linux/module.h>
11#include <linux/apm_bios.h> 10#include <linux/apm_bios.h>
12#include <linux/kernel.h> 11#include <linux/kernel.h>
diff --git a/arch/sh/boards/hp6xx/pm.c b/arch/sh/boards/hp6xx/pm.c
index 0e501bcbd7a9..83d327212064 100644
--- a/arch/sh/boards/hp6xx/pm.c
+++ b/arch/sh/boards/hp6xx/pm.c
@@ -6,7 +6,6 @@
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License. 7 * modify it under the terms of the GNU General Public License.
8 */ 8 */
9#include <linux/config.h>
10#include <linux/init.h> 9#include <linux/init.h>
11#include <linux/suspend.h> 10#include <linux/suspend.h>
12#include <linux/errno.h> 11#include <linux/errno.h>
diff --git a/arch/sh/boards/landisk/irq.c b/arch/sh/boards/landisk/irq.c
index a006d6443225..8f2e1c68b90f 100644
--- a/arch/sh/boards/landisk/irq.c
+++ b/arch/sh/boards/landisk/irq.c
@@ -14,8 +14,6 @@
14 * modified by kogiidena 14 * modified by kogiidena
15 * 2005.03.03 15 * 2005.03.03
16 */ 16 */
17
18#include <linux/config.h>
19#include <linux/init.h> 17#include <linux/init.h>
20#include <linux/irq.h> 18#include <linux/irq.h>
21#include <asm/io.h> 19#include <asm/io.h>
@@ -83,7 +81,7 @@ static struct hw_interrupt_type landisk_irq_type = {
83static void make_landisk_irq(unsigned int irq) 81static void make_landisk_irq(unsigned int irq)
84{ 82{
85 disable_irq_nosync(irq); 83 disable_irq_nosync(irq);
86 irq_desc[irq].handler = &landisk_irq_type; 84 irq_desc[irq].chip = &landisk_irq_type;
87 disable_landisk_irq(irq); 85 disable_landisk_irq(irq);
88} 86}
89 87
diff --git a/arch/sh/boards/landisk/landisk_pwb.c b/arch/sh/boards/landisk/landisk_pwb.c
index e75cb578a28b..0b7bee1a9ca5 100644
--- a/arch/sh/boards/landisk/landisk_pwb.c
+++ b/arch/sh/boards/landisk/landisk_pwb.c
@@ -11,8 +11,6 @@
11 * 11 *
12 * LED control drive function added by kogiidena 12 * LED control drive function added by kogiidena
13 */ 13 */
14
15#include <linux/config.h>
16#include <linux/module.h> 14#include <linux/module.h>
17#include <linux/errno.h> 15#include <linux/errno.h>
18#include <linux/signal.h> 16#include <linux/signal.h>
diff --git a/arch/sh/boards/landisk/rtc.c b/arch/sh/boards/landisk/rtc.c
index 35ba726a0979..0a9a2a2ad05b 100644
--- a/arch/sh/boards/landisk/rtc.c
+++ b/arch/sh/boards/landisk/rtc.c
@@ -8,8 +8,6 @@
8 * modifed by kogiidena 8 * modifed by kogiidena
9 * 2005.09.16 9 * 2005.09.16
10 */ 10 */
11
12#include <linux/config.h>
13#include <linux/init.h> 11#include <linux/init.h>
14#include <linux/kernel.h> 12#include <linux/kernel.h>
15#include <linux/sched.h> 13#include <linux/sched.h>
diff --git a/arch/sh/boards/landisk/setup.c b/arch/sh/boards/landisk/setup.c
index 127b9e020e00..122d69962637 100644
--- a/arch/sh/boards/landisk/setup.c
+++ b/arch/sh/boards/landisk/setup.c
@@ -16,7 +16,6 @@
16 * License. See the file "COPYING" in the main directory of this archive 16 * License. See the file "COPYING" in the main directory of this archive
17 * for more details. 17 * for more details.
18 */ 18 */
19#include <linux/config.h>
20#include <linux/init.h> 19#include <linux/init.h>
21#include <linux/pm.h> 20#include <linux/pm.h>
22#include <linux/mm.h> 21#include <linux/mm.h>
diff --git a/arch/sh/boards/renesas/r7780rp/irq.c b/arch/sh/boards/renesas/r7780rp/irq.c
index 61d5e5d3c294..2d960e9a3143 100644
--- a/arch/sh/boards/renesas/r7780rp/irq.c
+++ b/arch/sh/boards/renesas/r7780rp/irq.c
@@ -8,8 +8,6 @@
8 * Modified for R7780RP-1 by 8 * Modified for R7780RP-1 by
9 * Atom Create Engineering Co., Ltd. 2002. 9 * Atom Create Engineering Co., Ltd. 2002.
10 */ 10 */
11
12#include <linux/config.h>
13#include <linux/init.h> 11#include <linux/init.h>
14#include <linux/irq.h> 12#include <linux/irq.h>
15#include <asm/io.h> 13#include <asm/io.h>
@@ -83,7 +81,7 @@ static struct hw_interrupt_type r7780rp_irq_type = {
83static void make_r7780rp_irq(unsigned int irq) 81static void make_r7780rp_irq(unsigned int irq)
84{ 82{
85 disable_irq_nosync(irq); 83 disable_irq_nosync(irq);
86 irq_desc[irq].handler = &r7780rp_irq_type; 84 irq_desc[irq].chip = &r7780rp_irq_type;
87 disable_r7780rp_irq(irq); 85 disable_r7780rp_irq(irq);
88} 86}
89 87
diff --git a/arch/sh/boards/renesas/r7780rp/led.c b/arch/sh/boards/renesas/r7780rp/led.c
index 9f02766b6f53..6a00a257afd2 100644
--- a/arch/sh/boards/renesas/r7780rp/led.c
+++ b/arch/sh/boards/renesas/r7780rp/led.c
@@ -6,8 +6,6 @@
6 * 6 *
7 * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code. 7 * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code.
8 */ 8 */
9
10#include <linux/config.h>
11#include <linux/sched.h> 9#include <linux/sched.h>
12#include <asm/io.h> 10#include <asm/io.h>
13#include <asm/r7780rp/r7780rp.h> 11#include <asm/r7780rp/r7780rp.h>
diff --git a/arch/sh/boards/renesas/systemh/setup.c b/arch/sh/boards/renesas/systemh/setup.c
index a8467bf90c25..bab7d3cdc87b 100644
--- a/arch/sh/boards/renesas/systemh/setup.c
+++ b/arch/sh/boards/renesas/systemh/setup.c
@@ -53,6 +53,6 @@ struct sh_machine_vector mv_7751systemh __initmv = {
53 .mv_outsw = sh7751systemh_outsw, 53 .mv_outsw = sh7751systemh_outsw,
54 .mv_outsl = sh7751systemh_outsl, 54 .mv_outsl = sh7751systemh_outsl,
55 55
56 .mv_init_irq = sh7751system_init_irq, 56 .mv_init_irq = sh7751systemh_init_irq,
57}; 57};
58ALIAS_MV(7751systemh) 58ALIAS_MV(7751systemh)
diff --git a/arch/sh/boards/se/7343/io.c b/arch/sh/boards/se/7343/io.c
index 646661a146ad..3a6d11424938 100644
--- a/arch/sh/boards/se/7343/io.c
+++ b/arch/sh/boards/se/7343/io.c
@@ -4,8 +4,6 @@
4 * I/O routine for SH-Mobile3AS 7343 SolutionEngine. 4 * I/O routine for SH-Mobile3AS 7343 SolutionEngine.
5 * 5 *
6 */ 6 */
7
8#include <linux/config.h>
9#include <linux/kernel.h> 7#include <linux/kernel.h>
10#include <asm/io.h> 8#include <asm/io.h>
11#include <asm/mach/se7343.h> 9#include <asm/mach/se7343.h>
diff --git a/arch/sh/boards/se/7343/irq.c b/arch/sh/boards/se/7343/irq.c
index b41e3d4ea37c..288b62f59419 100644
--- a/arch/sh/boards/se/7343/irq.c
+++ b/arch/sh/boards/se/7343/irq.c
@@ -2,8 +2,6 @@
2 * arch/sh/boards/se/7343/irq.c 2 * arch/sh/boards/se/7343/irq.c
3 * 3 *
4 */ 4 */
5
6#include <linux/config.h>
7#include <linux/init.h> 5#include <linux/init.h>
8#include <linux/interrupt.h> 6#include <linux/interrupt.h>
9#include <linux/irq.h> 7#include <linux/irq.h>
@@ -73,7 +71,7 @@ static void
73make_intreq_irq(unsigned int irq) 71make_intreq_irq(unsigned int irq)
74{ 72{
75 disable_irq_nosync(irq); 73 disable_irq_nosync(irq);
76 irq_desc[irq].handler = &intreq_irq_type; 74 irq_desc[irq].chip = &intreq_irq_type;
77 disable_intreq_irq(irq); 75 disable_intreq_irq(irq);
78} 76}
79 77
diff --git a/arch/sh/boards/se/7343/led.c b/arch/sh/boards/se/7343/led.c
index 6a439cf83e46..6b39e191c420 100644
--- a/arch/sh/boards/se/7343/led.c
+++ b/arch/sh/boards/se/7343/led.c
@@ -2,8 +2,6 @@
2 * arch/sh/boards/se/7343/led.c 2 * arch/sh/boards/se/7343/led.c
3 * 3 *
4 */ 4 */
5
6#include <linux/config.h>
7#include <linux/sched.h> 5#include <linux/sched.h>
8#include <asm/mach/se7343.h> 6#include <asm/mach/se7343.h>
9 7
diff --git a/arch/sh/boards/se/7343/setup.c b/arch/sh/boards/se/7343/setup.c
index 787322291fb3..c7d17fe7764e 100644
--- a/arch/sh/boards/se/7343/setup.c
+++ b/arch/sh/boards/se/7343/setup.c
@@ -1,4 +1,3 @@
1#include <linux/config.h>
2#include <linux/init.h> 1#include <linux/init.h>
3#include <linux/platform_device.h> 2#include <linux/platform_device.h>
4#include <asm/machvec.h> 3#include <asm/machvec.h>
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c
index f3f82b7c8217..a1d51d5fa925 100644
--- a/arch/sh/boards/se/770x/setup.c
+++ b/arch/sh/boards/se/770x/setup.c
@@ -8,13 +8,10 @@
8 * 8 *
9 */ 9 */
10#include <linux/init.h> 10#include <linux/init.h>
11#include <linux/irq.h> 11#include <asm/machvec.h>
12#include <linux/hdreg.h>
13#include <linux/ide.h>
14#include <asm/io.h>
15#include <asm/se.h> 12#include <asm/se.h>
13#include <asm/io.h>
16#include <asm/smc37c93x.h> 14#include <asm/smc37c93x.h>
17#include <asm/machvec.h>
18 15
19void heartbeat_se(void); 16void heartbeat_se(void);
20void init_se_IRQ(void); 17void init_se_IRQ(void);
diff --git a/arch/sh/boards/se/7751/setup.c b/arch/sh/boards/se/7751/setup.c
index 73e826310ba8..f7e1dd39c836 100644
--- a/arch/sh/boards/se/7751/setup.c
+++ b/arch/sh/boards/se/7751/setup.c
@@ -8,12 +8,10 @@
8 * Modified for 7751 Solution Engine by 8 * Modified for 7751 Solution Engine by
9 * Ian da Silva and Jeremy Siegel, 2001. 9 * Ian da Silva and Jeremy Siegel, 2001.
10 */ 10 */
11
12#include <linux/init.h> 11#include <linux/init.h>
13#include <linux/irq.h> 12#include <asm/machvec.h>
14#include <linux/ide.h>
15#include <asm/io.h>
16#include <asm/se7751.h> 13#include <asm/se7751.h>
14#include <asm/io.h>
17 15
18void heartbeat_7751se(void); 16void heartbeat_7751se(void);
19void init_7751se_IRQ(void); 17void init_7751se_IRQ(void);
diff --git a/arch/sh/boards/sh03/setup.c b/arch/sh/boards/sh03/setup.c
index 6c310587ddfe..137e2ba9243e 100644
--- a/arch/sh/boards/sh03/setup.c
+++ b/arch/sh/boards/sh03/setup.c
@@ -7,6 +7,7 @@
7 7
8#include <linux/init.h> 8#include <linux/init.h>
9#include <linux/irq.h> 9#include <linux/irq.h>
10#include <linux/pci.h>
10#include <asm/io.h> 11#include <asm/io.h>
11#include <asm/rtc.h> 12#include <asm/rtc.h>
12#include <asm/sh03/io.h> 13#include <asm/sh03/io.h>
diff --git a/arch/sh/boot/.gitignore b/arch/sh/boot/.gitignore
new file mode 100644
index 000000000000..b6718de23693
--- /dev/null
+++ b/arch/sh/boot/.gitignore
@@ -0,0 +1 @@
zImage
diff --git a/arch/sh/configs/adx_defconfig b/arch/sh/configs/adx_defconfig
deleted file mode 100644
index 353bfdc457d4..000000000000
--- a/arch/sh/configs/adx_defconfig
+++ /dev/null
@@ -1,539 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh
4# Wed Mar 2 15:09:26 2005
5#
6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y
9CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y
12
13#
14# Code maturity level options
15#
16CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y
19
20#
21# General setup
22#
23CONFIG_LOCALVERSION=""
24CONFIG_SWAP=y
25# CONFIG_SYSVIPC is not set
26# CONFIG_BSD_PROCESS_ACCT is not set
27# CONFIG_SYSCTL is not set
28# CONFIG_AUDIT is not set
29CONFIG_LOG_BUF_SHIFT=14
30# CONFIG_HOTPLUG is not set
31# CONFIG_IKCONFIG is not set
32# CONFIG_EMBEDDED is not set
33CONFIG_KALLSYMS=y
34# CONFIG_KALLSYMS_EXTRA_PASS is not set
35CONFIG_FUTEX=y
36CONFIG_EPOLL=y
37# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
38CONFIG_SHMEM=y
39CONFIG_CC_ALIGN_FUNCTIONS=0
40CONFIG_CC_ALIGN_LABELS=0
41CONFIG_CC_ALIGN_LOOPS=0
42CONFIG_CC_ALIGN_JUMPS=0
43# CONFIG_TINY_SHMEM is not set
44
45#
46# Loadable module support
47#
48# CONFIG_MODULES is not set
49
50#
51# System type
52#
53# CONFIG_SH_SOLUTION_ENGINE is not set
54# CONFIG_SH_7751_SOLUTION_ENGINE is not set
55# CONFIG_SH_7300_SOLUTION_ENGINE is not set
56# CONFIG_SH_73180_SOLUTION_ENGINE is not set
57# CONFIG_SH_7751_SYSTEMH is not set
58# CONFIG_SH_STB1_HARP is not set
59# CONFIG_SH_STB1_OVERDRIVE is not set
60# CONFIG_SH_HP620 is not set
61# CONFIG_SH_HP680 is not set
62# CONFIG_SH_HP690 is not set
63# CONFIG_SH_CQREEK is not set
64# CONFIG_SH_DMIDA is not set
65# CONFIG_SH_EC3104 is not set
66# CONFIG_SH_SATURN is not set
67# CONFIG_SH_DREAMCAST is not set
68# CONFIG_SH_CAT68701 is not set
69# CONFIG_SH_BIGSUR is not set
70# CONFIG_SH_SH2000 is not set
71CONFIG_SH_ADX=y
72# CONFIG_SH_MPC1211 is not set
73# CONFIG_SH_SH03 is not set
74# CONFIG_SH_SECUREEDGE5410 is not set
75# CONFIG_SH_HS7751RVOIP is not set
76# CONFIG_SH_RTS7751R2D is not set
77# CONFIG_SH_EDOSK7705 is not set
78# CONFIG_SH_SH4202_MICRODEV is not set
79# CONFIG_SH_UNKNOWN is not set
80# CONFIG_CPU_SH2 is not set
81# CONFIG_CPU_SH3 is not set
82CONFIG_CPU_SH4=y
83# CONFIG_CPU_SUBTYPE_SH7604 is not set
84# CONFIG_CPU_SUBTYPE_SH7300 is not set
85# CONFIG_CPU_SUBTYPE_SH7705 is not set
86# CONFIG_CPU_SUBTYPE_SH7707 is not set
87# CONFIG_CPU_SUBTYPE_SH7708 is not set
88# CONFIG_CPU_SUBTYPE_SH7709 is not set
89CONFIG_CPU_SUBTYPE_SH7750=y
90# CONFIG_CPU_SUBTYPE_SH7751 is not set
91# CONFIG_CPU_SUBTYPE_SH7760 is not set
92# CONFIG_CPU_SUBTYPE_SH73180 is not set
93# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
94# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
95# CONFIG_CPU_SUBTYPE_SH4_202 is not set
96CONFIG_MMU=y
97# CONFIG_CMDLINE_BOOL is not set
98CONFIG_MEMORY_START=0x08000000
99CONFIG_MEMORY_SIZE=0x00400000
100CONFIG_MEMORY_SET=y
101# CONFIG_MEMORY_OVERRIDE is not set
102CONFIG_CF_ENABLER=y
103# CONFIG_CF_AREA5 is not set
104CONFIG_CF_AREA6=y
105CONFIG_CF_BASE_ADDR=0xb8000000
106CONFIG_SH_RTC=y
107CONFIG_SH_FPU=y
108CONFIG_ZERO_PAGE_OFFSET=0x00001000
109CONFIG_BOOT_LINK_OFFSET=0x00800000
110CONFIG_CPU_LITTLE_ENDIAN=y
111# CONFIG_PREEMPT is not set
112# CONFIG_UBC_WAKEUP is not set
113# CONFIG_SH_WRITETHROUGH is not set
114# CONFIG_SH_OCRAM is not set
115# CONFIG_SH_STORE_QUEUES is not set
116# CONFIG_SMP is not set
117CONFIG_SH_PCLK_CALC=y
118CONFIG_SH_PCLK_FREQ=50000000
119
120#
121# CPU Frequency scaling
122#
123# CONFIG_CPU_FREQ is not set
124
125#
126# DMA support
127#
128# CONFIG_SH_DMA is not set
129
130#
131# Companion Chips
132#
133# CONFIG_HD6446X_SERIES is not set
134
135#
136# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
137#
138# CONFIG_PCI is not set
139
140#
141# PCCARD (PCMCIA/CardBus) support
142#
143# CONFIG_PCCARD is not set
144
145#
146# PC-card bridges
147#
148
149#
150# PCI Hotplug Support
151#
152
153#
154# Executable file formats
155#
156CONFIG_BINFMT_ELF=y
157# CONFIG_BINFMT_FLAT is not set
158# CONFIG_BINFMT_MISC is not set
159
160#
161# SH initrd options
162#
163# CONFIG_EMBEDDED_RAMDISK is not set
164
165#
166# Device Drivers
167#
168
169#
170# Generic Driver Options
171#
172CONFIG_STANDALONE=y
173CONFIG_PREVENT_FIRMWARE_BUILD=y
174# CONFIG_FW_LOADER is not set
175
176#
177# Memory Technology Devices (MTD)
178#
179# CONFIG_MTD is not set
180
181#
182# Parallel port support
183#
184# CONFIG_PARPORT is not set
185
186#
187# Plug and Play support
188#
189
190#
191# Block devices
192#
193# CONFIG_BLK_DEV_FD is not set
194# CONFIG_BLK_DEV_COW_COMMON is not set
195# CONFIG_BLK_DEV_LOOP is not set
196CONFIG_BLK_DEV_RAM=y
197CONFIG_BLK_DEV_RAM_COUNT=16
198CONFIG_BLK_DEV_RAM_SIZE=4096
199CONFIG_BLK_DEV_INITRD=y
200CONFIG_INITRAMFS_SOURCE=""
201# CONFIG_LBD is not set
202# CONFIG_CDROM_PKTCDVD is not set
203
204#
205# IO Schedulers
206#
207CONFIG_IOSCHED_NOOP=y
208CONFIG_IOSCHED_AS=y
209CONFIG_IOSCHED_DEADLINE=y
210CONFIG_IOSCHED_CFQ=y
211
212#
213# ATA/ATAPI/MFM/RLL support
214#
215CONFIG_IDE=y
216CONFIG_IDE_MAX_HWIFS=4
217CONFIG_BLK_DEV_IDE=y
218
219#
220# Please see Documentation/ide.txt for help/info on IDE drives
221#
222# CONFIG_BLK_DEV_IDE_SATA is not set
223CONFIG_BLK_DEV_IDEDISK=y
224# CONFIG_IDEDISK_MULTI_MODE is not set
225# CONFIG_BLK_DEV_IDECD is not set
226# CONFIG_BLK_DEV_IDETAPE is not set
227# CONFIG_BLK_DEV_IDEFLOPPY is not set
228# CONFIG_IDE_TASK_IOCTL is not set
229
230#
231# IDE chipset support/bugfixes
232#
233CONFIG_IDE_GENERIC=y
234CONFIG_IDE_SH=y
235# CONFIG_IDE_ARM is not set
236# CONFIG_BLK_DEV_IDEDMA is not set
237# CONFIG_IDEDMA_AUTO is not set
238# CONFIG_BLK_DEV_HD is not set
239
240#
241# SCSI device support
242#
243# CONFIG_SCSI is not set
244
245#
246# Multi-device support (RAID and LVM)
247#
248# CONFIG_MD is not set
249
250#
251# Fusion MPT device support
252#
253
254#
255# IEEE 1394 (FireWire) support
256#
257
258#
259# I2O device support
260#
261
262#
263# Networking support
264#
265# CONFIG_NET is not set
266# CONFIG_NETPOLL is not set
267# CONFIG_NET_POLL_CONTROLLER is not set
268
269#
270# ISDN subsystem
271#
272
273#
274# Telephony Support
275#
276# CONFIG_PHONE is not set
277
278#
279# Input device support
280#
281CONFIG_INPUT=y
282
283#
284# Userland interfaces
285#
286CONFIG_INPUT_MOUSEDEV=y
287CONFIG_INPUT_MOUSEDEV_PSAUX=y
288CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
289CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
290# CONFIG_INPUT_JOYDEV is not set
291# CONFIG_INPUT_TSDEV is not set
292# CONFIG_INPUT_EVDEV is not set
293# CONFIG_INPUT_EVBUG is not set
294
295#
296# Input I/O drivers
297#
298# CONFIG_GAMEPORT is not set
299CONFIG_SOUND_GAMEPORT=y
300CONFIG_SERIO=y
301CONFIG_SERIO_I8042=y
302CONFIG_SERIO_SERPORT=y
303# CONFIG_SERIO_CT82C710 is not set
304CONFIG_SERIO_LIBPS2=y
305# CONFIG_SERIO_RAW is not set
306
307#
308# Input Device Drivers
309#
310CONFIG_INPUT_KEYBOARD=y
311CONFIG_KEYBOARD_ATKBD=y
312# CONFIG_KEYBOARD_SUNKBD is not set
313# CONFIG_KEYBOARD_LKKBD is not set
314# CONFIG_KEYBOARD_XTKBD is not set
315# CONFIG_KEYBOARD_NEWTON is not set
316CONFIG_INPUT_MOUSE=y
317CONFIG_MOUSE_PS2=y
318# CONFIG_MOUSE_SERIAL is not set
319# CONFIG_MOUSE_VSXXXAA is not set
320# CONFIG_INPUT_JOYSTICK is not set
321# CONFIG_INPUT_TOUCHSCREEN is not set
322# CONFIG_INPUT_MISC is not set
323
324#
325# Character devices
326#
327CONFIG_VT=y
328CONFIG_VT_CONSOLE=y
329CONFIG_HW_CONSOLE=y
330# CONFIG_SERIAL_NONSTANDARD is not set
331
332#
333# Serial drivers
334#
335# CONFIG_SERIAL_8250 is not set
336
337#
338# Non-8250 serial port support
339#
340# CONFIG_SERIAL_SH_SCI is not set
341CONFIG_UNIX98_PTYS=y
342CONFIG_LEGACY_PTYS=y
343CONFIG_LEGACY_PTY_COUNT=256
344
345#
346# IPMI
347#
348# CONFIG_IPMI_HANDLER is not set
349
350#
351# Watchdog Cards
352#
353# CONFIG_WATCHDOG is not set
354# CONFIG_RTC is not set
355# CONFIG_GEN_RTC is not set
356# CONFIG_DTLK is not set
357# CONFIG_R3964 is not set
358
359#
360# Ftape, the floppy tape device driver
361#
362# CONFIG_DRM is not set
363# CONFIG_RAW_DRIVER is not set
364
365#
366# I2C support
367#
368# CONFIG_I2C is not set
369
370#
371# Dallas's 1-wire bus
372#
373# CONFIG_W1 is not set
374
375#
376# Misc devices
377#
378
379#
380# Multimedia devices
381#
382# CONFIG_VIDEO_DEV is not set
383
384#
385# Digital Video Broadcasting Devices
386#
387
388#
389# Graphics support
390#
391# CONFIG_FB is not set
392
393#
394# Console display driver support
395#
396CONFIG_VGA_CONSOLE=y
397CONFIG_DUMMY_CONSOLE=y
398
399#
400# Sound
401#
402# CONFIG_SOUND is not set
403
404#
405# USB support
406#
407# CONFIG_USB_ARCH_HAS_HCD is not set
408# CONFIG_USB_ARCH_HAS_OHCI is not set
409
410#
411# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
412#
413
414#
415# USB Gadget Support
416#
417# CONFIG_USB_GADGET is not set
418
419#
420# MMC/SD Card support
421#
422# CONFIG_MMC is not set
423
424#
425# InfiniBand support
426#
427# CONFIG_INFINIBAND is not set
428
429#
430# File systems
431#
432CONFIG_EXT2_FS=y
433# CONFIG_EXT2_FS_XATTR is not set
434# CONFIG_EXT3_FS is not set
435# CONFIG_JBD is not set
436# CONFIG_REISERFS_FS is not set
437# CONFIG_JFS_FS is not set
438
439#
440# XFS support
441#
442# CONFIG_XFS_FS is not set
443# CONFIG_MINIX_FS is not set
444# CONFIG_ROMFS_FS is not set
445# CONFIG_QUOTA is not set
446CONFIG_DNOTIFY=y
447# CONFIG_AUTOFS_FS is not set
448# CONFIG_AUTOFS4_FS is not set
449
450#
451# CD-ROM/DVD Filesystems
452#
453# CONFIG_ISO9660_FS is not set
454# CONFIG_UDF_FS is not set
455
456#
457# DOS/FAT/NT Filesystems
458#
459# CONFIG_MSDOS_FS is not set
460# CONFIG_VFAT_FS is not set
461# CONFIG_NTFS_FS is not set
462
463#
464# Pseudo filesystems
465#
466CONFIG_PROC_FS=y
467# CONFIG_PROC_KCORE is not set
468CONFIG_SYSFS=y
469# CONFIG_DEVFS_FS is not set
470# CONFIG_DEVPTS_FS_XATTR is not set
471# CONFIG_TMPFS is not set
472# CONFIG_HUGETLBFS is not set
473# CONFIG_HUGETLB_PAGE is not set
474CONFIG_RAMFS=y
475
476#
477# Miscellaneous filesystems
478#
479# CONFIG_ADFS_FS is not set
480# CONFIG_AFFS_FS is not set
481# CONFIG_HFS_FS is not set
482# CONFIG_HFSPLUS_FS is not set
483# CONFIG_BEFS_FS is not set
484# CONFIG_BFS_FS is not set
485# CONFIG_EFS_FS is not set
486# CONFIG_CRAMFS is not set
487# CONFIG_VXFS_FS is not set
488# CONFIG_HPFS_FS is not set
489# CONFIG_QNX4FS_FS is not set
490# CONFIG_SYSV_FS is not set
491# CONFIG_UFS_FS is not set
492
493#
494# Partition Types
495#
496# CONFIG_PARTITION_ADVANCED is not set
497CONFIG_MSDOS_PARTITION=y
498
499#
500# Native Language Support
501#
502# CONFIG_NLS is not set
503
504#
505# Profiling support
506#
507# CONFIG_PROFILING is not set
508
509#
510# Kernel hacking
511#
512# CONFIG_DEBUG_KERNEL is not set
513# CONFIG_FRAME_POINTER is not set
514CONFIG_SH_STANDARD_BIOS=y
515# CONFIG_EARLY_SCIF_CONSOLE is not set
516# CONFIG_EARLY_PRINTK is not set
517# CONFIG_KGDB is not set
518
519#
520# Security options
521#
522# CONFIG_KEYS is not set
523# CONFIG_SECURITY is not set
524
525#
526# Cryptographic options
527#
528# CONFIG_CRYPTO is not set
529
530#
531# Hardware crypto devices
532#
533
534#
535# Library routines
536#
537# CONFIG_CRC_CCITT is not set
538# CONFIG_CRC32 is not set
539# CONFIG_LIBCRC32C is not set
diff --git a/arch/sh/configs/cqreek_defconfig b/arch/sh/configs/cqreek_defconfig
deleted file mode 100644
index 614662ae5789..000000000000
--- a/arch/sh/configs/cqreek_defconfig
+++ /dev/null
@@ -1,533 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh
4# Wed Mar 2 15:09:38 2005
5#
6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y
9CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y
12
13#
14# Code maturity level options
15#
16CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y
19
20#
21# General setup
22#
23CONFIG_LOCALVERSION=""
24CONFIG_SWAP=y
25# CONFIG_SYSVIPC is not set
26# CONFIG_BSD_PROCESS_ACCT is not set
27# CONFIG_SYSCTL is not set
28# CONFIG_AUDIT is not set
29CONFIG_LOG_BUF_SHIFT=14
30# CONFIG_HOTPLUG is not set
31# CONFIG_IKCONFIG is not set
32# CONFIG_EMBEDDED is not set
33CONFIG_KALLSYMS=y
34# CONFIG_KALLSYMS_EXTRA_PASS is not set
35CONFIG_FUTEX=y
36CONFIG_EPOLL=y
37# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
38CONFIG_SHMEM=y
39CONFIG_CC_ALIGN_FUNCTIONS=0
40CONFIG_CC_ALIGN_LABELS=0
41CONFIG_CC_ALIGN_LOOPS=0
42CONFIG_CC_ALIGN_JUMPS=0
43# CONFIG_TINY_SHMEM is not set
44
45#
46# Loadable module support
47#
48# CONFIG_MODULES is not set
49
50#
51# System type
52#
53# CONFIG_SH_SOLUTION_ENGINE is not set
54# CONFIG_SH_7751_SOLUTION_ENGINE is not set
55# CONFIG_SH_7300_SOLUTION_ENGINE is not set
56# CONFIG_SH_73180_SOLUTION_ENGINE is not set
57# CONFIG_SH_7751_SYSTEMH is not set
58# CONFIG_SH_STB1_HARP is not set
59# CONFIG_SH_STB1_OVERDRIVE is not set
60# CONFIG_SH_HP620 is not set
61# CONFIG_SH_HP680 is not set
62# CONFIG_SH_HP690 is not set
63CONFIG_SH_CQREEK=y
64# CONFIG_SH_DMIDA is not set
65# CONFIG_SH_EC3104 is not set
66# CONFIG_SH_SATURN is not set
67# CONFIG_SH_DREAMCAST is not set
68# CONFIG_SH_CAT68701 is not set
69# CONFIG_SH_BIGSUR is not set
70# CONFIG_SH_SH2000 is not set
71# CONFIG_SH_ADX is not set
72# CONFIG_SH_MPC1211 is not set
73# CONFIG_SH_SH03 is not set
74# CONFIG_SH_SECUREEDGE5410 is not set
75# CONFIG_SH_HS7751RVOIP is not set
76# CONFIG_SH_RTS7751R2D is not set
77# CONFIG_SH_EDOSK7705 is not set
78# CONFIG_SH_SH4202_MICRODEV is not set
79# CONFIG_SH_UNKNOWN is not set
80# CONFIG_CPU_SH2 is not set
81CONFIG_CPU_SH3=y
82# CONFIG_CPU_SH4 is not set
83# CONFIG_CPU_SUBTYPE_SH7604 is not set
84# CONFIG_CPU_SUBTYPE_SH7300 is not set
85# CONFIG_CPU_SUBTYPE_SH7705 is not set
86# CONFIG_CPU_SUBTYPE_SH7707 is not set
87CONFIG_CPU_SUBTYPE_SH7708=y
88# CONFIG_CPU_SUBTYPE_SH7709 is not set
89# CONFIG_CPU_SUBTYPE_SH7750 is not set
90# CONFIG_CPU_SUBTYPE_SH7751 is not set
91# CONFIG_CPU_SUBTYPE_SH7760 is not set
92# CONFIG_CPU_SUBTYPE_SH73180 is not set
93# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
94# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
95# CONFIG_CPU_SUBTYPE_SH4_202 is not set
96CONFIG_MMU=y
97# CONFIG_CMDLINE_BOOL is not set
98CONFIG_MEMORY_START=0x0c000000
99CONFIG_MEMORY_SIZE=0x00400000
100# CONFIG_MEMORY_OVERRIDE is not set
101CONFIG_SH_RTC=y
102CONFIG_SH_DSP=y
103CONFIG_SH_ADC=y
104CONFIG_ZERO_PAGE_OFFSET=0x00001000
105CONFIG_BOOT_LINK_OFFSET=0x00800000
106CONFIG_CPU_LITTLE_ENDIAN=y
107# CONFIG_PREEMPT is not set
108# CONFIG_UBC_WAKEUP is not set
109# CONFIG_SH_WRITETHROUGH is not set
110# CONFIG_SH_OCRAM is not set
111# CONFIG_SMP is not set
112CONFIG_SH_PCLK_CALC=y
113CONFIG_SH_PCLK_FREQ=1193182
114
115#
116# CPU Frequency scaling
117#
118# CONFIG_CPU_FREQ is not set
119
120#
121# DMA support
122#
123# CONFIG_SH_DMA is not set
124
125#
126# Companion Chips
127#
128# CONFIG_HD6446X_SERIES is not set
129
130#
131# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
132#
133# CONFIG_PCI is not set
134
135#
136# PCCARD (PCMCIA/CardBus) support
137#
138# CONFIG_PCCARD is not set
139
140#
141# PC-card bridges
142#
143
144#
145# PCI Hotplug Support
146#
147
148#
149# Executable file formats
150#
151CONFIG_BINFMT_ELF=y
152# CONFIG_BINFMT_FLAT is not set
153# CONFIG_BINFMT_MISC is not set
154
155#
156# SH initrd options
157#
158# CONFIG_EMBEDDED_RAMDISK is not set
159
160#
161# Device Drivers
162#
163
164#
165# Generic Driver Options
166#
167CONFIG_STANDALONE=y
168CONFIG_PREVENT_FIRMWARE_BUILD=y
169# CONFIG_FW_LOADER is not set
170
171#
172# Memory Technology Devices (MTD)
173#
174# CONFIG_MTD is not set
175
176#
177# Parallel port support
178#
179# CONFIG_PARPORT is not set
180
181#
182# Plug and Play support
183#
184
185#
186# Block devices
187#
188# CONFIG_BLK_DEV_FD is not set
189# CONFIG_BLK_DEV_COW_COMMON is not set
190# CONFIG_BLK_DEV_LOOP is not set
191CONFIG_BLK_DEV_RAM=y
192CONFIG_BLK_DEV_RAM_COUNT=16
193CONFIG_BLK_DEV_RAM_SIZE=4096
194CONFIG_BLK_DEV_INITRD=y
195CONFIG_INITRAMFS_SOURCE=""
196# CONFIG_LBD is not set
197# CONFIG_CDROM_PKTCDVD is not set
198
199#
200# IO Schedulers
201#
202CONFIG_IOSCHED_NOOP=y
203CONFIG_IOSCHED_AS=y
204CONFIG_IOSCHED_DEADLINE=y
205CONFIG_IOSCHED_CFQ=y
206
207#
208# ATA/ATAPI/MFM/RLL support
209#
210CONFIG_IDE=y
211CONFIG_IDE_MAX_HWIFS=4
212CONFIG_BLK_DEV_IDE=y
213
214#
215# Please see Documentation/ide.txt for help/info on IDE drives
216#
217# CONFIG_BLK_DEV_IDE_SATA is not set
218CONFIG_BLK_DEV_IDEDISK=y
219# CONFIG_IDEDISK_MULTI_MODE is not set
220# CONFIG_BLK_DEV_IDECD is not set
221# CONFIG_BLK_DEV_IDETAPE is not set
222# CONFIG_BLK_DEV_IDEFLOPPY is not set
223# CONFIG_IDE_TASK_IOCTL is not set
224
225#
226# IDE chipset support/bugfixes
227#
228CONFIG_IDE_GENERIC=y
229CONFIG_IDE_SH=y
230# CONFIG_IDE_ARM is not set
231# CONFIG_BLK_DEV_IDEDMA is not set
232# CONFIG_IDEDMA_AUTO is not set
233# CONFIG_BLK_DEV_HD is not set
234
235#
236# SCSI device support
237#
238# CONFIG_SCSI is not set
239
240#
241# Multi-device support (RAID and LVM)
242#
243# CONFIG_MD is not set
244
245#
246# Fusion MPT device support
247#
248
249#
250# IEEE 1394 (FireWire) support
251#
252
253#
254# I2O device support
255#
256
257#
258# Networking support
259#
260# CONFIG_NET is not set
261# CONFIG_NETPOLL is not set
262# CONFIG_NET_POLL_CONTROLLER is not set
263
264#
265# ISDN subsystem
266#
267
268#
269# Telephony Support
270#
271# CONFIG_PHONE is not set
272
273#
274# Input device support
275#
276CONFIG_INPUT=y
277
278#
279# Userland interfaces
280#
281CONFIG_INPUT_MOUSEDEV=y
282CONFIG_INPUT_MOUSEDEV_PSAUX=y
283CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
284CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
285# CONFIG_INPUT_JOYDEV is not set
286# CONFIG_INPUT_TSDEV is not set
287# CONFIG_INPUT_EVDEV is not set
288# CONFIG_INPUT_EVBUG is not set
289
290#
291# Input I/O drivers
292#
293# CONFIG_GAMEPORT is not set
294CONFIG_SOUND_GAMEPORT=y
295CONFIG_SERIO=y
296CONFIG_SERIO_I8042=y
297CONFIG_SERIO_SERPORT=y
298# CONFIG_SERIO_CT82C710 is not set
299CONFIG_SERIO_LIBPS2=y
300# CONFIG_SERIO_RAW is not set
301
302#
303# Input Device Drivers
304#
305CONFIG_INPUT_KEYBOARD=y
306CONFIG_KEYBOARD_ATKBD=y
307# CONFIG_KEYBOARD_SUNKBD is not set
308# CONFIG_KEYBOARD_LKKBD is not set
309# CONFIG_KEYBOARD_XTKBD is not set
310# CONFIG_KEYBOARD_NEWTON is not set
311CONFIG_INPUT_MOUSE=y
312CONFIG_MOUSE_PS2=y
313# CONFIG_MOUSE_SERIAL is not set
314# CONFIG_MOUSE_VSXXXAA is not set
315# CONFIG_INPUT_JOYSTICK is not set
316# CONFIG_INPUT_TOUCHSCREEN is not set
317# CONFIG_INPUT_MISC is not set
318
319#
320# Character devices
321#
322CONFIG_VT=y
323CONFIG_VT_CONSOLE=y
324CONFIG_HW_CONSOLE=y
325# CONFIG_SERIAL_NONSTANDARD is not set
326
327#
328# Serial drivers
329#
330# CONFIG_SERIAL_8250 is not set
331
332#
333# Non-8250 serial port support
334#
335# CONFIG_SERIAL_SH_SCI is not set
336CONFIG_UNIX98_PTYS=y
337CONFIG_LEGACY_PTYS=y
338CONFIG_LEGACY_PTY_COUNT=256
339
340#
341# IPMI
342#
343# CONFIG_IPMI_HANDLER is not set
344
345#
346# Watchdog Cards
347#
348# CONFIG_WATCHDOG is not set
349# CONFIG_RTC is not set
350# CONFIG_GEN_RTC is not set
351# CONFIG_DTLK is not set
352# CONFIG_R3964 is not set
353
354#
355# Ftape, the floppy tape device driver
356#
357# CONFIG_DRM is not set
358# CONFIG_RAW_DRIVER is not set
359
360#
361# I2C support
362#
363# CONFIG_I2C is not set
364
365#
366# Dallas's 1-wire bus
367#
368# CONFIG_W1 is not set
369
370#
371# Misc devices
372#
373
374#
375# Multimedia devices
376#
377# CONFIG_VIDEO_DEV is not set
378
379#
380# Digital Video Broadcasting Devices
381#
382
383#
384# Graphics support
385#
386# CONFIG_FB is not set
387
388#
389# Console display driver support
390#
391CONFIG_VGA_CONSOLE=y
392CONFIG_DUMMY_CONSOLE=y
393
394#
395# Sound
396#
397# CONFIG_SOUND is not set
398
399#
400# USB support
401#
402# CONFIG_USB_ARCH_HAS_HCD is not set
403# CONFIG_USB_ARCH_HAS_OHCI is not set
404
405#
406# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
407#
408
409#
410# USB Gadget Support
411#
412# CONFIG_USB_GADGET is not set
413
414#
415# MMC/SD Card support
416#
417# CONFIG_MMC is not set
418
419#
420# InfiniBand support
421#
422# CONFIG_INFINIBAND is not set
423
424#
425# File systems
426#
427CONFIG_EXT2_FS=y
428# CONFIG_EXT2_FS_XATTR is not set
429# CONFIG_EXT3_FS is not set
430# CONFIG_JBD is not set
431# CONFIG_REISERFS_FS is not set
432# CONFIG_JFS_FS is not set
433
434#
435# XFS support
436#
437# CONFIG_XFS_FS is not set
438# CONFIG_MINIX_FS is not set
439# CONFIG_ROMFS_FS is not set
440# CONFIG_QUOTA is not set
441CONFIG_DNOTIFY=y
442# CONFIG_AUTOFS_FS is not set
443# CONFIG_AUTOFS4_FS is not set
444
445#
446# CD-ROM/DVD Filesystems
447#
448# CONFIG_ISO9660_FS is not set
449# CONFIG_UDF_FS is not set
450
451#
452# DOS/FAT/NT Filesystems
453#
454# CONFIG_MSDOS_FS is not set
455# CONFIG_VFAT_FS is not set
456# CONFIG_NTFS_FS is not set
457
458#
459# Pseudo filesystems
460#
461CONFIG_PROC_FS=y
462# CONFIG_PROC_KCORE is not set
463CONFIG_SYSFS=y
464# CONFIG_DEVFS_FS is not set
465# CONFIG_DEVPTS_FS_XATTR is not set
466# CONFIG_TMPFS is not set
467# CONFIG_HUGETLBFS is not set
468# CONFIG_HUGETLB_PAGE is not set
469CONFIG_RAMFS=y
470
471#
472# Miscellaneous filesystems
473#
474# CONFIG_ADFS_FS is not set
475# CONFIG_AFFS_FS is not set
476# CONFIG_HFS_FS is not set
477# CONFIG_HFSPLUS_FS is not set
478# CONFIG_BEFS_FS is not set
479# CONFIG_BFS_FS is not set
480# CONFIG_EFS_FS is not set
481# CONFIG_CRAMFS is not set
482# CONFIG_VXFS_FS is not set
483# CONFIG_HPFS_FS is not set
484# CONFIG_QNX4FS_FS is not set
485# CONFIG_SYSV_FS is not set
486# CONFIG_UFS_FS is not set
487
488#
489# Partition Types
490#
491# CONFIG_PARTITION_ADVANCED is not set
492CONFIG_MSDOS_PARTITION=y
493
494#
495# Native Language Support
496#
497# CONFIG_NLS is not set
498
499#
500# Profiling support
501#
502# CONFIG_PROFILING is not set
503
504#
505# Kernel hacking
506#
507# CONFIG_DEBUG_KERNEL is not set
508# CONFIG_FRAME_POINTER is not set
509CONFIG_SH_STANDARD_BIOS=y
510# CONFIG_EARLY_PRINTK is not set
511# CONFIG_KGDB is not set
512
513#
514# Security options
515#
516# CONFIG_KEYS is not set
517# CONFIG_SECURITY is not set
518
519#
520# Cryptographic options
521#
522# CONFIG_CRYPTO is not set
523
524#
525# Hardware crypto devices
526#
527
528#
529# Library routines
530#
531# CONFIG_CRC_CCITT is not set
532# CONFIG_CRC32 is not set
533# CONFIG_LIBCRC32C is not set
diff --git a/arch/sh/configs/dreamcast_defconfig b/arch/sh/configs/dreamcast_defconfig
index 776c1909bee3..8b6b5a779de8 100644
--- a/arch/sh/configs/dreamcast_defconfig
+++ b/arch/sh/configs/dreamcast_defconfig
@@ -1,50 +1,63 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:40 2005 4# Tue Oct 3 10:51:55 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
19CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
20 22
21# 23#
22# General setup 24# General setup
23# 25#
24CONFIG_LOCALVERSION="" 26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
25CONFIG_SWAP=y 28CONFIG_SWAP=y
26CONFIG_SYSVIPC=y 29CONFIG_SYSVIPC=y
30# CONFIG_IPC_NS is not set
27# CONFIG_POSIX_MQUEUE is not set 31# CONFIG_POSIX_MQUEUE is not set
28CONFIG_BSD_PROCESS_ACCT=y 32CONFIG_BSD_PROCESS_ACCT=y
29# CONFIG_BSD_PROCESS_ACCT_V3 is not set 33# CONFIG_BSD_PROCESS_ACCT_V3 is not set
30CONFIG_SYSCTL=y 34# CONFIG_TASKSTATS is not set
35# CONFIG_UTS_NS is not set
31# CONFIG_AUDIT is not set 36# CONFIG_AUDIT is not set
32CONFIG_LOG_BUF_SHIFT=14
33CONFIG_HOTPLUG=y
34CONFIG_KOBJECT_UEVENT=y
35# CONFIG_IKCONFIG is not set 37# CONFIG_IKCONFIG is not set
38# CONFIG_RELAY is not set
39CONFIG_INITRAMFS_SOURCE=""
40CONFIG_CC_OPTIMIZE_FOR_SIZE=y
41CONFIG_SYSCTL=y
36CONFIG_EMBEDDED=y 42CONFIG_EMBEDDED=y
43CONFIG_UID16=y
44# CONFIG_SYSCTL_SYSCALL is not set
37CONFIG_KALLSYMS=y 45CONFIG_KALLSYMS=y
38# CONFIG_KALLSYMS_EXTRA_PASS is not set 46# CONFIG_KALLSYMS_EXTRA_PASS is not set
47CONFIG_HOTPLUG=y
48CONFIG_PRINTK=y
49CONFIG_BUG=y
50CONFIG_ELF_CORE=y
51CONFIG_BASE_FULL=y
39CONFIG_FUTEX=y 52CONFIG_FUTEX=y
40CONFIG_EPOLL=y 53CONFIG_EPOLL=y
41CONFIG_CC_OPTIMIZE_FOR_SIZE=y
42CONFIG_SHMEM=y 54CONFIG_SHMEM=y
43CONFIG_CC_ALIGN_FUNCTIONS=0 55CONFIG_SLAB=y
44CONFIG_CC_ALIGN_LABELS=0 56CONFIG_VM_EVENT_COUNTERS=y
45CONFIG_CC_ALIGN_LOOPS=0 57CONFIG_RT_MUTEXES=y
46CONFIG_CC_ALIGN_JUMPS=0
47# CONFIG_TINY_SHMEM is not set 58# CONFIG_TINY_SHMEM is not set
59CONFIG_BASE_SMALL=0
60# CONFIG_SLOB is not set
48 61
49# 62#
50# Loadable module support 63# Loadable module support
@@ -52,82 +65,158 @@ CONFIG_CC_ALIGN_JUMPS=0
52CONFIG_MODULES=y 65CONFIG_MODULES=y
53CONFIG_MODULE_UNLOAD=y 66CONFIG_MODULE_UNLOAD=y
54# CONFIG_MODULE_FORCE_UNLOAD is not set 67# CONFIG_MODULE_FORCE_UNLOAD is not set
55CONFIG_OBSOLETE_MODPARM=y
56# CONFIG_MODVERSIONS is not set 68# CONFIG_MODVERSIONS is not set
57# CONFIG_MODULE_SRCVERSION_ALL is not set 69# CONFIG_MODULE_SRCVERSION_ALL is not set
58CONFIG_KMOD=y 70CONFIG_KMOD=y
59 71
60# 72#
73# Block layer
74#
75CONFIG_BLOCK=y
76# CONFIG_LBD is not set
77# CONFIG_BLK_DEV_IO_TRACE is not set
78# CONFIG_LSF is not set
79
80#
81# IO Schedulers
82#
83CONFIG_IOSCHED_NOOP=y
84CONFIG_IOSCHED_AS=y
85CONFIG_IOSCHED_DEADLINE=y
86CONFIG_IOSCHED_CFQ=y
87CONFIG_DEFAULT_AS=y
88# CONFIG_DEFAULT_DEADLINE is not set
89# CONFIG_DEFAULT_CFQ is not set
90# CONFIG_DEFAULT_NOOP is not set
91CONFIG_DEFAULT_IOSCHED="anticipatory"
92
93#
61# System type 94# System type
62# 95#
63# CONFIG_SH_SOLUTION_ENGINE is not set 96# CONFIG_SH_SOLUTION_ENGINE is not set
64# CONFIG_SH_7751_SOLUTION_ENGINE is not set 97# CONFIG_SH_7751_SOLUTION_ENGINE is not set
65# CONFIG_SH_7300_SOLUTION_ENGINE is not set 98# CONFIG_SH_7300_SOLUTION_ENGINE is not set
99# CONFIG_SH_7343_SOLUTION_ENGINE is not set
66# CONFIG_SH_73180_SOLUTION_ENGINE is not set 100# CONFIG_SH_73180_SOLUTION_ENGINE is not set
67# CONFIG_SH_7751_SYSTEMH is not set 101# CONFIG_SH_7751_SYSTEMH is not set
68# CONFIG_SH_STB1_HARP is not set 102# CONFIG_SH_HP6XX is not set
69# CONFIG_SH_STB1_OVERDRIVE is not set
70# CONFIG_SH_HP620 is not set
71# CONFIG_SH_HP680 is not set
72# CONFIG_SH_HP690 is not set
73# CONFIG_SH_CQREEK is not set
74# CONFIG_SH_DMIDA is not set
75# CONFIG_SH_EC3104 is not set 103# CONFIG_SH_EC3104 is not set
76# CONFIG_SH_SATURN is not set 104# CONFIG_SH_SATURN is not set
77CONFIG_SH_DREAMCAST=y 105CONFIG_SH_DREAMCAST=y
78# CONFIG_SH_CAT68701 is not set
79# CONFIG_SH_BIGSUR is not set 106# CONFIG_SH_BIGSUR is not set
80# CONFIG_SH_SH2000 is not set
81# CONFIG_SH_ADX is not set
82# CONFIG_SH_MPC1211 is not set 107# CONFIG_SH_MPC1211 is not set
83# CONFIG_SH_SH03 is not set 108# CONFIG_SH_SH03 is not set
84# CONFIG_SH_SECUREEDGE5410 is not set 109# CONFIG_SH_SECUREEDGE5410 is not set
85# CONFIG_SH_HS7751RVOIP is not set 110# CONFIG_SH_HS7751RVOIP is not set
111# CONFIG_SH_7710VOIPGW is not set
86# CONFIG_SH_RTS7751R2D is not set 112# CONFIG_SH_RTS7751R2D is not set
113# CONFIG_SH_R7780RP is not set
87# CONFIG_SH_EDOSK7705 is not set 114# CONFIG_SH_EDOSK7705 is not set
88# CONFIG_SH_SH4202_MICRODEV is not set 115# CONFIG_SH_SH4202_MICRODEV is not set
116# CONFIG_SH_LANDISK is not set
117# CONFIG_SH_TITAN is not set
118# CONFIG_SH_SHMIN is not set
89# CONFIG_SH_UNKNOWN is not set 119# CONFIG_SH_UNKNOWN is not set
90# CONFIG_CPU_SH2 is not set 120
91# CONFIG_CPU_SH3 is not set 121#
122# Processor selection
123#
92CONFIG_CPU_SH4=y 124CONFIG_CPU_SH4=y
125
126#
127# SH-2 Processor Support
128#
93# CONFIG_CPU_SUBTYPE_SH7604 is not set 129# CONFIG_CPU_SUBTYPE_SH7604 is not set
130
131#
132# SH-3 Processor Support
133#
94# CONFIG_CPU_SUBTYPE_SH7300 is not set 134# CONFIG_CPU_SUBTYPE_SH7300 is not set
95# CONFIG_CPU_SUBTYPE_SH7705 is not set 135# CONFIG_CPU_SUBTYPE_SH7705 is not set
136# CONFIG_CPU_SUBTYPE_SH7706 is not set
96# CONFIG_CPU_SUBTYPE_SH7707 is not set 137# CONFIG_CPU_SUBTYPE_SH7707 is not set
97# CONFIG_CPU_SUBTYPE_SH7708 is not set 138# CONFIG_CPU_SUBTYPE_SH7708 is not set
98# CONFIG_CPU_SUBTYPE_SH7709 is not set 139# CONFIG_CPU_SUBTYPE_SH7709 is not set
140# CONFIG_CPU_SUBTYPE_SH7710 is not set
141
142#
143# SH-4 Processor Support
144#
99CONFIG_CPU_SUBTYPE_SH7750=y 145CONFIG_CPU_SUBTYPE_SH7750=y
146CONFIG_CPU_SUBTYPE_SH7091=y
147CONFIG_CPU_SUBTYPE_SH7750R=y
148# CONFIG_CPU_SUBTYPE_SH7750S is not set
100# CONFIG_CPU_SUBTYPE_SH7751 is not set 149# CONFIG_CPU_SUBTYPE_SH7751 is not set
150# CONFIG_CPU_SUBTYPE_SH7751R is not set
101# CONFIG_CPU_SUBTYPE_SH7760 is not set 151# CONFIG_CPU_SUBTYPE_SH7760 is not set
102# CONFIG_CPU_SUBTYPE_SH73180 is not set 152# CONFIG_CPU_SUBTYPE_SH4_202 is not set
153
154#
155# ST40 Processor Support
156#
103# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 157# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
104# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 158# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
105# CONFIG_CPU_SUBTYPE_SH4_202 is not set 159
160#
161# SH-4A Processor Support
162#
163# CONFIG_CPU_SUBTYPE_SH7770 is not set
164# CONFIG_CPU_SUBTYPE_SH7780 is not set
165
166#
167# SH4AL-DSP Processor Support
168#
169# CONFIG_CPU_SUBTYPE_SH73180 is not set
170# CONFIG_CPU_SUBTYPE_SH7343 is not set
171
172#
173# Memory management options
174#
106CONFIG_MMU=y 175CONFIG_MMU=y
107CONFIG_HUGETLB_PAGE_SIZE_64K=y 176CONFIG_PAGE_OFFSET=0x80000000
108# CONFIG_HUGETLB_PAGE_SIZE_1MB is not set
109# CONFIG_CMDLINE_BOOL is not set
110CONFIG_MEMORY_START=0x0c000000 177CONFIG_MEMORY_START=0x0c000000
111CONFIG_MEMORY_SIZE=0x01000000 178CONFIG_MEMORY_SIZE=0x01000000
112CONFIG_MEMORY_SET=y 179CONFIG_VSYSCALL=y
113# CONFIG_MEMORY_OVERRIDE is not set 180CONFIG_HUGETLB_PAGE_SIZE_64K=y
114CONFIG_SH_FPU=y 181# CONFIG_HUGETLB_PAGE_SIZE_1MB is not set
115CONFIG_ZERO_PAGE_OFFSET=0x00001000 182CONFIG_SELECT_MEMORY_MODEL=y
116CONFIG_BOOT_LINK_OFFSET=0x00800000 183CONFIG_FLATMEM_MANUAL=y
117CONFIG_CPU_LITTLE_ENDIAN=y 184# CONFIG_DISCONTIGMEM_MANUAL is not set
118CONFIG_PREEMPT=y 185# CONFIG_SPARSEMEM_MANUAL is not set
119# CONFIG_UBC_WAKEUP is not set 186CONFIG_FLATMEM=y
187CONFIG_FLAT_NODE_MEM_MAP=y
188# CONFIG_SPARSEMEM_STATIC is not set
189CONFIG_SPLIT_PTLOCK_CPUS=4
190# CONFIG_RESOURCES_64BIT is not set
191
192#
193# Cache configuration
194#
195# CONFIG_SH_DIRECT_MAPPED is not set
120# CONFIG_SH_WRITETHROUGH is not set 196# CONFIG_SH_WRITETHROUGH is not set
121CONFIG_SH_OCRAM=y 197# CONFIG_SH_OCRAM is not set
198
199#
200# Processor features
201#
202CONFIG_CPU_LITTLE_ENDIAN=y
203CONFIG_SH_FPU=y
204# CONFIG_SH_DSP is not set
122CONFIG_SH_STORE_QUEUES=y 205CONFIG_SH_STORE_QUEUES=y
123# CONFIG_SMP is not set 206CONFIG_CPU_HAS_INTEVT=y
124CONFIG_SH_PCLK_CALC=y 207CONFIG_CPU_HAS_SR_RB=y
208
209#
210# Timer support
211#
212CONFIG_SH_TMU=y
125CONFIG_SH_PCLK_FREQ=49876504 213CONFIG_SH_PCLK_FREQ=49876504
126 214
127# 215#
128# CPU Frequency scaling 216# CPU Frequency scaling
129# 217#
130CONFIG_CPU_FREQ=y 218CONFIG_CPU_FREQ=y
219CONFIG_CPU_FREQ_TABLE=y
131# CONFIG_CPU_FREQ_DEBUG is not set 220# CONFIG_CPU_FREQ_DEBUG is not set
132CONFIG_CPU_FREQ_STAT=y 221CONFIG_CPU_FREQ_STAT=y
133# CONFIG_CPU_FREQ_STAT_DETAILS is not set 222# CONFIG_CPU_FREQ_STAT_DETAILS is not set
@@ -137,8 +226,8 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
137CONFIG_CPU_FREQ_GOV_POWERSAVE=y 226CONFIG_CPU_FREQ_GOV_POWERSAVE=y
138CONFIG_CPU_FREQ_GOV_USERSPACE=y 227CONFIG_CPU_FREQ_GOV_USERSPACE=y
139# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set 228# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
140CONFIG_CPU_FREQ_TABLE=y 229# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
141CONFIG_SH_CPU_FREQ=y 230# CONFIG_SH_CPU_FREQ is not set
142 231
143# 232#
144# DMA support 233# DMA support
@@ -154,14 +243,35 @@ CONFIG_NR_DMA_CHANNELS=9
154# CONFIG_HD6446X_SERIES is not set 243# CONFIG_HD6446X_SERIES is not set
155 244
156# 245#
157# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 246# Kernel features
247#
248# CONFIG_HZ_100 is not set
249CONFIG_HZ_250=y
250# CONFIG_HZ_1000 is not set
251CONFIG_HZ=250
252# CONFIG_KEXEC is not set
253# CONFIG_SMP is not set
254# CONFIG_PREEMPT_NONE is not set
255# CONFIG_PREEMPT_VOLUNTARY is not set
256CONFIG_PREEMPT=y
257CONFIG_PREEMPT_BKL=y
258
259#
260# Boot options
261#
262CONFIG_ZERO_PAGE_OFFSET=0x00001000
263CONFIG_BOOT_LINK_OFFSET=0x00800000
264# CONFIG_UBC_WAKEUP is not set
265CONFIG_CMDLINE_BOOL=y
266CONFIG_CMDLINE="console=ttySC1,115200 panic=3"
267
268#
269# Bus options
158# 270#
159CONFIG_MAPLE=y
160CONFIG_PCI=y 271CONFIG_PCI=y
161# CONFIG_SH_PCIDMA_NONCOHERENT is not set 272# CONFIG_SH_PCIDMA_NONCOHERENT is not set
162CONFIG_PCI_AUTO=y 273CONFIG_PCI_AUTO=y
163CONFIG_PCI_LEGACY_PROC=y 274# CONFIG_PCI_MULTITHREAD_PROBE is not set
164CONFIG_PCI_NAMES=y
165 275
166# 276#
167# PCCARD (PCMCIA/CardBus) support 277# PCCARD (PCMCIA/CardBus) support
@@ -169,10 +279,6 @@ CONFIG_PCI_NAMES=y
169# CONFIG_PCCARD is not set 279# CONFIG_PCCARD is not set
170 280
171# 281#
172# PC-card bridges
173#
174
175#
176# PCI Hotplug Support 282# PCI Hotplug Support
177# 283#
178# CONFIG_HOTPLUG_PCI is not set 284# CONFIG_HOTPLUG_PCI is not set
@@ -185,9 +291,92 @@ CONFIG_BINFMT_ELF=y
185# CONFIG_BINFMT_MISC is not set 291# CONFIG_BINFMT_MISC is not set
186 292
187# 293#
188# SH initrd options 294# Power management options (EXPERIMENTAL)
295#
296# CONFIG_PM is not set
297
298#
299# Networking
300#
301CONFIG_NET=y
302
303#
304# Networking options
305#
306# CONFIG_NETDEBUG is not set
307CONFIG_PACKET=y
308# CONFIG_PACKET_MMAP is not set
309CONFIG_UNIX=y
310CONFIG_XFRM=y
311# CONFIG_XFRM_USER is not set
312# CONFIG_XFRM_SUB_POLICY is not set
313# CONFIG_NET_KEY is not set
314CONFIG_INET=y
315# CONFIG_IP_MULTICAST is not set
316# CONFIG_IP_ADVANCED_ROUTER is not set
317CONFIG_IP_FIB_HASH=y
318# CONFIG_IP_PNP is not set
319# CONFIG_NET_IPIP is not set
320# CONFIG_NET_IPGRE is not set
321# CONFIG_ARPD is not set
322# CONFIG_SYN_COOKIES is not set
323# CONFIG_INET_AH is not set
324# CONFIG_INET_ESP is not set
325# CONFIG_INET_IPCOMP is not set
326# CONFIG_INET_XFRM_TUNNEL is not set
327# CONFIG_INET_TUNNEL is not set
328CONFIG_INET_XFRM_MODE_TRANSPORT=y
329CONFIG_INET_XFRM_MODE_TUNNEL=y
330CONFIG_INET_DIAG=y
331CONFIG_INET_TCP_DIAG=y
332# CONFIG_TCP_CONG_ADVANCED is not set
333CONFIG_TCP_CONG_CUBIC=y
334CONFIG_DEFAULT_TCP_CONG="cubic"
335# CONFIG_IPV6 is not set
336# CONFIG_INET6_XFRM_TUNNEL is not set
337# CONFIG_INET6_TUNNEL is not set
338# CONFIG_NETWORK_SECMARK is not set
339# CONFIG_NETFILTER is not set
340
341#
342# DCCP Configuration (EXPERIMENTAL)
343#
344# CONFIG_IP_DCCP is not set
345
346#
347# SCTP Configuration (EXPERIMENTAL)
348#
349# CONFIG_IP_SCTP is not set
350
351#
352# TIPC Configuration (EXPERIMENTAL)
353#
354# CONFIG_TIPC is not set
355# CONFIG_ATM is not set
356# CONFIG_BRIDGE is not set
357# CONFIG_VLAN_8021Q is not set
358# CONFIG_DECNET is not set
359# CONFIG_LLC2 is not set
360# CONFIG_IPX is not set
361# CONFIG_ATALK is not set
362# CONFIG_X25 is not set
363# CONFIG_LAPB is not set
364# CONFIG_ECONET is not set
365# CONFIG_WAN_ROUTER is not set
366
367#
368# QoS and/or fair queueing
369#
370# CONFIG_NET_SCHED is not set
371
372#
373# Network testing
189# 374#
190# CONFIG_EMBEDDED_RAMDISK is not set 375# CONFIG_NET_PKTGEN is not set
376# CONFIG_HAMRADIO is not set
377# CONFIG_IRDA is not set
378# CONFIG_BT is not set
379# CONFIG_IEEE80211 is not set
191 380
192# 381#
193# Device Drivers 382# Device Drivers
@@ -199,6 +388,12 @@ CONFIG_BINFMT_ELF=y
199# CONFIG_STANDALONE is not set 388# CONFIG_STANDALONE is not set
200CONFIG_PREVENT_FIRMWARE_BUILD=y 389CONFIG_PREVENT_FIRMWARE_BUILD=y
201# CONFIG_FW_LOADER is not set 390# CONFIG_FW_LOADER is not set
391# CONFIG_SYS_HYPERVISOR is not set
392
393#
394# Connector - unified userspace <-> kernelspace linker
395#
396# CONFIG_CONNECTOR is not set
202 397
203# 398#
204# Memory Technology Devices (MTD) 399# Memory Technology Devices (MTD)
@@ -217,7 +412,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
217# 412#
218# Block devices 413# Block devices
219# 414#
220# CONFIG_BLK_DEV_FD is not set
221# CONFIG_BLK_CPQ_DA is not set 415# CONFIG_BLK_CPQ_DA is not set
222# CONFIG_BLK_CPQ_CISS_DA is not set 416# CONFIG_BLK_CPQ_CISS_DA is not set
223# CONFIG_BLK_DEV_DAC960 is not set 417# CONFIG_BLK_DEV_DAC960 is not set
@@ -226,21 +420,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
226# CONFIG_BLK_DEV_LOOP is not set 420# CONFIG_BLK_DEV_LOOP is not set
227# CONFIG_BLK_DEV_NBD is not set 421# CONFIG_BLK_DEV_NBD is not set
228# CONFIG_BLK_DEV_SX8 is not set 422# CONFIG_BLK_DEV_SX8 is not set
229CONFIG_BLK_DEV_RAM=y 423# CONFIG_BLK_DEV_RAM is not set
230CONFIG_BLK_DEV_RAM_COUNT=16 424# CONFIG_BLK_DEV_INITRD is not set
231CONFIG_BLK_DEV_RAM_SIZE=1024
232CONFIG_BLK_DEV_INITRD=y
233CONFIG_INITRAMFS_SOURCE=""
234# CONFIG_LBD is not set
235# CONFIG_CDROM_PKTCDVD is not set 425# CONFIG_CDROM_PKTCDVD is not set
236
237#
238# IO Schedulers
239#
240CONFIG_IOSCHED_NOOP=y
241CONFIG_IOSCHED_AS=y
242CONFIG_IOSCHED_DEADLINE=y
243CONFIG_IOSCHED_CFQ=y
244# CONFIG_ATA_OVER_ETH is not set 426# CONFIG_ATA_OVER_ETH is not set
245 427
246# 428#
@@ -251,7 +433,14 @@ CONFIG_IOSCHED_CFQ=y
251# 433#
252# SCSI device support 434# SCSI device support
253# 435#
436# CONFIG_RAID_ATTRS is not set
254# CONFIG_SCSI is not set 437# CONFIG_SCSI is not set
438# CONFIG_SCSI_NETLINK is not set
439
440#
441# Serial ATA (prod) and Parallel ATA (experimental) drivers
442#
443# CONFIG_ATA is not set
255 444
256# 445#
257# Multi-device support (RAID and LVM) 446# Multi-device support (RAID and LVM)
@@ -261,6 +450,7 @@ CONFIG_IOSCHED_CFQ=y
261# 450#
262# Fusion MPT device support 451# Fusion MPT device support
263# 452#
453# CONFIG_FUSION is not set
264 454
265# 455#
266# IEEE 1394 (FireWire) support 456# IEEE 1394 (FireWire) support
@@ -273,70 +463,8 @@ CONFIG_IOSCHED_CFQ=y
273# CONFIG_I2O is not set 463# CONFIG_I2O is not set
274 464
275# 465#
276# Networking support 466# Network device support
277#
278CONFIG_NET=y
279
280#
281# Networking options
282# 467#
283CONFIG_PACKET=y
284# CONFIG_PACKET_MMAP is not set
285# CONFIG_NETLINK_DEV is not set
286CONFIG_UNIX=y
287# CONFIG_NET_KEY is not set
288CONFIG_INET=y
289# CONFIG_IP_MULTICAST is not set
290# CONFIG_IP_ADVANCED_ROUTER is not set
291CONFIG_IP_PNP=y
292CONFIG_IP_PNP_DHCP=y
293# CONFIG_IP_PNP_BOOTP is not set
294# CONFIG_IP_PNP_RARP is not set
295# CONFIG_NET_IPIP is not set
296# CONFIG_NET_IPGRE is not set
297# CONFIG_ARPD is not set
298# CONFIG_SYN_COOKIES is not set
299# CONFIG_INET_AH is not set
300# CONFIG_INET_ESP is not set
301# CONFIG_INET_IPCOMP is not set
302# CONFIG_INET_TUNNEL is not set
303CONFIG_IP_TCPDIAG=y
304# CONFIG_IP_TCPDIAG_IPV6 is not set
305# CONFIG_IPV6 is not set
306# CONFIG_NETFILTER is not set
307
308#
309# SCTP Configuration (EXPERIMENTAL)
310#
311# CONFIG_IP_SCTP is not set
312# CONFIG_ATM is not set
313# CONFIG_BRIDGE is not set
314# CONFIG_VLAN_8021Q is not set
315# CONFIG_DECNET is not set
316# CONFIG_LLC2 is not set
317# CONFIG_IPX is not set
318# CONFIG_ATALK is not set
319# CONFIG_X25 is not set
320# CONFIG_LAPB is not set
321# CONFIG_NET_DIVERT is not set
322# CONFIG_ECONET is not set
323# CONFIG_WAN_ROUTER is not set
324
325#
326# QoS and/or fair queueing
327#
328# CONFIG_NET_SCHED is not set
329# CONFIG_NET_CLS_ROUTE is not set
330
331#
332# Network testing
333#
334# CONFIG_NET_PKTGEN is not set
335# CONFIG_NETPOLL is not set
336# CONFIG_NET_POLL_CONTROLLER is not set
337# CONFIG_HAMRADIO is not set
338# CONFIG_IRDA is not set
339# CONFIG_BT is not set
340CONFIG_NETDEVICES=y 468CONFIG_NETDEVICES=y
341# CONFIG_DUMMY is not set 469# CONFIG_DUMMY is not set
342# CONFIG_BONDING is not set 470# CONFIG_BONDING is not set
@@ -349,6 +477,11 @@ CONFIG_NETDEVICES=y
349# CONFIG_ARCNET is not set 477# CONFIG_ARCNET is not set
350 478
351# 479#
480# PHY device support
481#
482# CONFIG_PHYLIB is not set
483
484#
352# Ethernet (10 or 100Mbit) 485# Ethernet (10 or 100Mbit)
353# 486#
354CONFIG_NET_ETHERNET=y 487CONFIG_NET_ETHERNET=y
@@ -356,6 +489,7 @@ CONFIG_MII=y
356# CONFIG_STNIC is not set 489# CONFIG_STNIC is not set
357# CONFIG_HAPPYMEAL is not set 490# CONFIG_HAPPYMEAL is not set
358# CONFIG_SUNGEM is not set 491# CONFIG_SUNGEM is not set
492# CONFIG_CASSINI is not set
359# CONFIG_NET_VENDOR_3COM is not set 493# CONFIG_NET_VENDOR_3COM is not set
360# CONFIG_SMC91X is not set 494# CONFIG_SMC91X is not set
361 495
@@ -398,15 +532,22 @@ CONFIG_8139TOO=y
398# CONFIG_HAMACHI is not set 532# CONFIG_HAMACHI is not set
399# CONFIG_YELLOWFIN is not set 533# CONFIG_YELLOWFIN is not set
400# CONFIG_R8169 is not set 534# CONFIG_R8169 is not set
535# CONFIG_SIS190 is not set
536# CONFIG_SKGE is not set
537# CONFIG_SKY2 is not set
401# CONFIG_SK98LIN is not set 538# CONFIG_SK98LIN is not set
402# CONFIG_VIA_VELOCITY is not set 539# CONFIG_VIA_VELOCITY is not set
403# CONFIG_TIGON3 is not set 540# CONFIG_TIGON3 is not set
541# CONFIG_BNX2 is not set
542# CONFIG_QLA3XXX is not set
404 543
405# 544#
406# Ethernet (10000 Mbit) 545# Ethernet (10000 Mbit)
407# 546#
547# CONFIG_CHELSIO_T1 is not set
408# CONFIG_IXGB is not set 548# CONFIG_IXGB is not set
409# CONFIG_S2IO is not set 549# CONFIG_S2IO is not set
550# CONFIG_MYRI10GE is not set
410 551
411# 552#
412# Token Ring devices 553# Token Ring devices
@@ -428,6 +569,8 @@ CONFIG_8139TOO=y
428# CONFIG_SLIP is not set 569# CONFIG_SLIP is not set
429# CONFIG_SHAPER is not set 570# CONFIG_SHAPER is not set
430# CONFIG_NETCONSOLE is not set 571# CONFIG_NETCONSOLE is not set
572# CONFIG_NETPOLL is not set
573# CONFIG_NET_POLL_CONTROLLER is not set
431 574
432# 575#
433# ISDN subsystem 576# ISDN subsystem
@@ -443,6 +586,7 @@ CONFIG_8139TOO=y
443# Input device support 586# Input device support
444# 587#
445CONFIG_INPUT=y 588CONFIG_INPUT=y
589# CONFIG_INPUT_FF_MEMLESS is not set
446 590
447# 591#
448# Userland interfaces 592# Userland interfaces
@@ -457,19 +601,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
457# CONFIG_INPUT_EVBUG is not set 601# CONFIG_INPUT_EVBUG is not set
458 602
459# 603#
460# Input I/O drivers
461#
462# CONFIG_GAMEPORT is not set
463CONFIG_SOUND_GAMEPORT=y
464CONFIG_SERIO=y
465# CONFIG_SERIO_I8042 is not set
466# CONFIG_SERIO_SERPORT is not set
467# CONFIG_SERIO_CT82C710 is not set
468# CONFIG_SERIO_PCIPS2 is not set
469CONFIG_SERIO_LIBPS2=y
470# CONFIG_SERIO_RAW is not set
471
472#
473# Input Device Drivers 604# Input Device Drivers
474# 605#
475CONFIG_INPUT_KEYBOARD=y 606CONFIG_INPUT_KEYBOARD=y
@@ -478,22 +609,33 @@ CONFIG_KEYBOARD_ATKBD=y
478# CONFIG_KEYBOARD_LKKBD is not set 609# CONFIG_KEYBOARD_LKKBD is not set
479# CONFIG_KEYBOARD_XTKBD is not set 610# CONFIG_KEYBOARD_XTKBD is not set
480# CONFIG_KEYBOARD_NEWTON is not set 611# CONFIG_KEYBOARD_NEWTON is not set
481# CONFIG_KEYBOARD_MAPLE is not set 612# CONFIG_KEYBOARD_STOWAWAY is not set
482CONFIG_INPUT_MOUSE=y 613CONFIG_INPUT_MOUSE=y
483CONFIG_MOUSE_PS2=y 614CONFIG_MOUSE_PS2=y
484# CONFIG_MOUSE_SERIAL is not set 615# CONFIG_MOUSE_SERIAL is not set
485# CONFIG_MOUSE_MAPLE is not set
486# CONFIG_MOUSE_VSXXXAA is not set 616# CONFIG_MOUSE_VSXXXAA is not set
487# CONFIG_INPUT_JOYSTICK is not set 617# CONFIG_INPUT_JOYSTICK is not set
488# CONFIG_INPUT_TOUCHSCREEN is not set 618# CONFIG_INPUT_TOUCHSCREEN is not set
489# CONFIG_INPUT_MISC is not set 619# CONFIG_INPUT_MISC is not set
490 620
491# 621#
622# Hardware I/O ports
623#
624CONFIG_SERIO=y
625# CONFIG_SERIO_I8042 is not set
626# CONFIG_SERIO_SERPORT is not set
627# CONFIG_SERIO_PCIPS2 is not set
628CONFIG_SERIO_LIBPS2=y
629# CONFIG_SERIO_RAW is not set
630# CONFIG_GAMEPORT is not set
631
632#
492# Character devices 633# Character devices
493# 634#
494CONFIG_VT=y 635CONFIG_VT=y
495CONFIG_VT_CONSOLE=y 636CONFIG_VT_CONSOLE=y
496CONFIG_HW_CONSOLE=y 637CONFIG_HW_CONSOLE=y
638# CONFIG_VT_HW_CONSOLE_BINDING is not set
497# CONFIG_SERIAL_NONSTANDARD is not set 639# CONFIG_SERIAL_NONSTANDARD is not set
498 640
499# 641#
@@ -505,9 +647,11 @@ CONFIG_HW_CONSOLE=y
505# Non-8250 serial port support 647# Non-8250 serial port support
506# 648#
507CONFIG_SERIAL_SH_SCI=y 649CONFIG_SERIAL_SH_SCI=y
650CONFIG_SERIAL_SH_SCI_NR_UARTS=2
508CONFIG_SERIAL_SH_SCI_CONSOLE=y 651CONFIG_SERIAL_SH_SCI_CONSOLE=y
509CONFIG_SERIAL_CORE=y 652CONFIG_SERIAL_CORE=y
510CONFIG_SERIAL_CORE_CONSOLE=y 653CONFIG_SERIAL_CORE_CONSOLE=y
654# CONFIG_SERIAL_JSM is not set
511CONFIG_UNIX98_PTYS=y 655CONFIG_UNIX98_PTYS=y
512CONFIG_LEGACY_PTYS=y 656CONFIG_LEGACY_PTYS=y
513CONFIG_LEGACY_PTY_COUNT=256 657CONFIG_LEGACY_PTY_COUNT=256
@@ -528,13 +672,14 @@ CONFIG_WATCHDOG=y
528# 672#
529# CONFIG_SOFT_WATCHDOG is not set 673# CONFIG_SOFT_WATCHDOG is not set
530CONFIG_SH_WDT=y 674CONFIG_SH_WDT=y
675# CONFIG_SH_WDT_MMAP is not set
531 676
532# 677#
533# PCI-based Watchdog Cards 678# PCI-based Watchdog Cards
534# 679#
535# CONFIG_PCIPCWATCHDOG is not set 680# CONFIG_PCIPCWATCHDOG is not set
536# CONFIG_WDTPCI is not set 681# CONFIG_WDTPCI is not set
537# CONFIG_RTC is not set 682CONFIG_HW_RANDOM=y
538# CONFIG_GEN_RTC is not set 683# CONFIG_GEN_RTC is not set
539# CONFIG_DTLK is not set 684# CONFIG_DTLK is not set
540# CONFIG_R3964 is not set 685# CONFIG_R3964 is not set
@@ -547,14 +692,35 @@ CONFIG_SH_WDT=y
547# CONFIG_RAW_DRIVER is not set 692# CONFIG_RAW_DRIVER is not set
548 693
549# 694#
695# TPM devices
696#
697# CONFIG_TCG_TPM is not set
698# CONFIG_TELCLOCK is not set
699
700#
550# I2C support 701# I2C support
551# 702#
552# CONFIG_I2C is not set 703# CONFIG_I2C is not set
553 704
554# 705#
706# SPI support
707#
708# CONFIG_SPI is not set
709# CONFIG_SPI_MASTER is not set
710
711#
555# Dallas's 1-wire bus 712# Dallas's 1-wire bus
556# 713#
557# CONFIG_W1 is not set 714
715#
716# Hardware Monitoring support
717#
718CONFIG_HWMON=y
719# CONFIG_HWMON_VID is not set
720# CONFIG_SENSORS_ABITUGURU is not set
721# CONFIG_SENSORS_F71805F is not set
722# CONFIG_SENSORS_VT1211 is not set
723# CONFIG_HWMON_DEBUG_CHIP is not set
558 724
559# 725#
560# Misc devices 726# Misc devices
@@ -564,6 +730,7 @@ CONFIG_SH_WDT=y
564# Multimedia devices 730# Multimedia devices
565# 731#
566# CONFIG_VIDEO_DEV is not set 732# CONFIG_VIDEO_DEV is not set
733CONFIG_VIDEO_V4L2=y
567 734
568# 735#
569# Digital Video Broadcasting Devices 736# Digital Video Broadcasting Devices
@@ -573,7 +740,13 @@ CONFIG_SH_WDT=y
573# 740#
574# Graphics support 741# Graphics support
575# 742#
743CONFIG_FIRMWARE_EDID=y
576CONFIG_FB=y 744CONFIG_FB=y
745CONFIG_FB_CFB_FILLRECT=y
746CONFIG_FB_CFB_COPYAREA=y
747CONFIG_FB_CFB_IMAGEBLIT=y
748# CONFIG_FB_MACMODES is not set
749# CONFIG_FB_BACKLIGHT is not set
577# CONFIG_FB_MODE_HELPERS is not set 750# CONFIG_FB_MODE_HELPERS is not set
578# CONFIG_FB_TILEBLITTING is not set 751# CONFIG_FB_TILEBLITTING is not set
579# CONFIG_FB_CIRRUS is not set 752# CONFIG_FB_CIRRUS is not set
@@ -583,9 +756,10 @@ CONFIG_FB=y
583# CONFIG_FB_IMSTT is not set 756# CONFIG_FB_IMSTT is not set
584CONFIG_FB_PVR2=y 757CONFIG_FB_PVR2=y
585# CONFIG_FB_EPSON1355 is not set 758# CONFIG_FB_EPSON1355 is not set
759# CONFIG_FB_S1D13XXX is not set
760# CONFIG_FB_NVIDIA is not set
586# CONFIG_FB_RIVA is not set 761# CONFIG_FB_RIVA is not set
587# CONFIG_FB_MATROX is not set 762# CONFIG_FB_MATROX is not set
588# CONFIG_FB_RADEON_OLD is not set
589# CONFIG_FB_RADEON is not set 763# CONFIG_FB_RADEON is not set
590# CONFIG_FB_ATY128 is not set 764# CONFIG_FB_ATY128 is not set
591# CONFIG_FB_ATY is not set 765# CONFIG_FB_ATY is not set
@@ -601,18 +775,20 @@ CONFIG_FB_PVR2=y
601# 775#
602# Console display driver support 776# Console display driver support
603# 777#
604# CONFIG_VGA_CONSOLE is not set
605CONFIG_DUMMY_CONSOLE=y 778CONFIG_DUMMY_CONSOLE=y
606CONFIG_FRAMEBUFFER_CONSOLE=y 779CONFIG_FRAMEBUFFER_CONSOLE=y
780# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
607CONFIG_FONTS=y 781CONFIG_FONTS=y
608CONFIG_FONT_8x8=y 782CONFIG_FONT_8x8=y
609CONFIG_FONT_8x16=y 783CONFIG_FONT_8x16=y
610# CONFIG_FONT_6x11 is not set 784# CONFIG_FONT_6x11 is not set
785# CONFIG_FONT_7x14 is not set
611# CONFIG_FONT_PEARL_8x8 is not set 786# CONFIG_FONT_PEARL_8x8 is not set
612# CONFIG_FONT_ACORN_8x8 is not set 787# CONFIG_FONT_ACORN_8x8 is not set
613# CONFIG_FONT_MINI_4x6 is not set 788# CONFIG_FONT_MINI_4x6 is not set
614# CONFIG_FONT_SUN8x16 is not set 789# CONFIG_FONT_SUN8x16 is not set
615# CONFIG_FONT_SUN12x22 is not set 790# CONFIG_FONT_SUN12x22 is not set
791# CONFIG_FONT_10x18 is not set
616 792
617# 793#
618# Logo configuration 794# Logo configuration
@@ -634,12 +810,13 @@ CONFIG_LOGO_SUPERH_CLUT224=y
634# 810#
635# USB support 811# USB support
636# 812#
637# CONFIG_USB is not set
638CONFIG_USB_ARCH_HAS_HCD=y 813CONFIG_USB_ARCH_HAS_HCD=y
639CONFIG_USB_ARCH_HAS_OHCI=y 814CONFIG_USB_ARCH_HAS_OHCI=y
815CONFIG_USB_ARCH_HAS_EHCI=y
816# CONFIG_USB is not set
640 817
641# 818#
642# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 819# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
643# 820#
644 821
645# 822#
@@ -653,29 +830,64 @@ CONFIG_USB_ARCH_HAS_OHCI=y
653# CONFIG_MMC is not set 830# CONFIG_MMC is not set
654 831
655# 832#
833# LED devices
834#
835# CONFIG_NEW_LEDS is not set
836
837#
838# LED drivers
839#
840
841#
842# LED Triggers
843#
844
845#
656# InfiniBand support 846# InfiniBand support
657# 847#
658# CONFIG_INFINIBAND is not set 848# CONFIG_INFINIBAND is not set
659 849
660# 850#
851# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
852#
853
854#
855# Real Time Clock
856#
857# CONFIG_RTC_CLASS is not set
858
859#
860# DMA Engine support
861#
862# CONFIG_DMA_ENGINE is not set
863
864#
865# DMA Clients
866#
867
868#
869# DMA Devices
870#
871
872#
661# File systems 873# File systems
662# 874#
663# CONFIG_EXT2_FS is not set 875# CONFIG_EXT2_FS is not set
664# CONFIG_EXT3_FS is not set 876# CONFIG_EXT3_FS is not set
665# CONFIG_JBD is not set
666# CONFIG_REISERFS_FS is not set 877# CONFIG_REISERFS_FS is not set
667# CONFIG_JFS_FS is not set 878# CONFIG_JFS_FS is not set
668 879# CONFIG_FS_POSIX_ACL is not set
669#
670# XFS support
671#
672# CONFIG_XFS_FS is not set 880# CONFIG_XFS_FS is not set
881# CONFIG_OCFS2_FS is not set
673# CONFIG_MINIX_FS is not set 882# CONFIG_MINIX_FS is not set
674CONFIG_ROMFS_FS=y 883# CONFIG_ROMFS_FS is not set
884CONFIG_INOTIFY=y
885CONFIG_INOTIFY_USER=y
675# CONFIG_QUOTA is not set 886# CONFIG_QUOTA is not set
676CONFIG_DNOTIFY=y 887# CONFIG_DNOTIFY is not set
677# CONFIG_AUTOFS_FS is not set 888# CONFIG_AUTOFS_FS is not set
678# CONFIG_AUTOFS4_FS is not set 889# CONFIG_AUTOFS4_FS is not set
890# CONFIG_FUSE_FS is not set
679 891
680# 892#
681# CD-ROM/DVD Filesystems 893# CD-ROM/DVD Filesystems
@@ -695,16 +907,14 @@ CONFIG_DNOTIFY=y
695# 907#
696CONFIG_PROC_FS=y 908CONFIG_PROC_FS=y
697CONFIG_PROC_KCORE=y 909CONFIG_PROC_KCORE=y
910CONFIG_PROC_SYSCTL=y
698CONFIG_SYSFS=y 911CONFIG_SYSFS=y
699CONFIG_DEVFS_FS=y
700CONFIG_DEVFS_MOUNT=y
701# CONFIG_DEVFS_DEBUG is not set
702# CONFIG_DEVPTS_FS_XATTR is not set
703CONFIG_TMPFS=y 912CONFIG_TMPFS=y
704# CONFIG_TMPFS_XATTR is not set 913# CONFIG_TMPFS_POSIX_ACL is not set
705CONFIG_HUGETLBFS=y 914CONFIG_HUGETLBFS=y
706CONFIG_HUGETLB_PAGE=y 915CONFIG_HUGETLB_PAGE=y
707CONFIG_RAMFS=y 916CONFIG_RAMFS=y
917# CONFIG_CONFIGFS_FS is not set
708 918
709# 919#
710# Miscellaneous filesystems 920# Miscellaneous filesystems
@@ -716,7 +926,7 @@ CONFIG_RAMFS=y
716# CONFIG_BEFS_FS is not set 926# CONFIG_BEFS_FS is not set
717# CONFIG_BFS_FS is not set 927# CONFIG_BFS_FS is not set
718# CONFIG_EFS_FS is not set 928# CONFIG_EFS_FS is not set
719CONFIG_CRAMFS=y 929# CONFIG_CRAMFS is not set
720# CONFIG_VXFS_FS is not set 930# CONFIG_VXFS_FS is not set
721# CONFIG_HPFS_FS is not set 931# CONFIG_HPFS_FS is not set
722# CONFIG_QNX4FS_FS is not set 932# CONFIG_QNX4FS_FS is not set
@@ -726,22 +936,14 @@ CONFIG_CRAMFS=y
726# 936#
727# Network File Systems 937# Network File Systems
728# 938#
729CONFIG_NFS_FS=y 939# CONFIG_NFS_FS is not set
730CONFIG_NFS_V3=y
731# CONFIG_NFS_V4 is not set
732# CONFIG_NFS_DIRECTIO is not set
733# CONFIG_NFSD is not set 940# CONFIG_NFSD is not set
734CONFIG_ROOT_NFS=y
735CONFIG_LOCKD=y
736CONFIG_LOCKD_V4=y
737CONFIG_SUNRPC=y
738# CONFIG_RPCSEC_GSS_KRB5 is not set
739# CONFIG_RPCSEC_GSS_SPKM3 is not set
740# CONFIG_SMB_FS is not set 941# CONFIG_SMB_FS is not set
741# CONFIG_CIFS is not set 942# CONFIG_CIFS is not set
742# CONFIG_NCP_FS is not set 943# CONFIG_NCP_FS is not set
743# CONFIG_CODA_FS is not set 944# CONFIG_CODA_FS is not set
744# CONFIG_AFS_FS is not set 945# CONFIG_AFS_FS is not set
946# CONFIG_9P_FS is not set
745 947
746# 948#
747# Partition Types 949# Partition Types
@@ -758,14 +960,19 @@ CONFIG_MSDOS_PARTITION=y
758# Profiling support 960# Profiling support
759# 961#
760CONFIG_PROFILING=y 962CONFIG_PROFILING=y
761CONFIG_OPROFILE=y 963# CONFIG_OPROFILE is not set
762 964
763# 965#
764# Kernel hacking 966# Kernel hacking
765# 967#
968# CONFIG_PRINTK_TIME is not set
969CONFIG_ENABLE_MUST_CHECK=y
970# CONFIG_MAGIC_SYSRQ is not set
971# CONFIG_UNUSED_SYMBOLS is not set
766# CONFIG_DEBUG_KERNEL is not set 972# CONFIG_DEBUG_KERNEL is not set
767CONFIG_DEBUG_PREEMPT=y 973CONFIG_LOG_BUF_SHIFT=14
768# CONFIG_FRAME_POINTER is not set 974# CONFIG_DEBUG_BUGVERBOSE is not set
975# CONFIG_DEBUG_FS is not set
769# CONFIG_SH_STANDARD_BIOS is not set 976# CONFIG_SH_STANDARD_BIOS is not set
770# CONFIG_EARLY_SCIF_CONSOLE is not set 977# CONFIG_EARLY_SCIF_CONSOLE is not set
771# CONFIG_KGDB is not set 978# CONFIG_KGDB is not set
@@ -782,13 +989,10 @@ CONFIG_DEBUG_PREEMPT=y
782# CONFIG_CRYPTO is not set 989# CONFIG_CRYPTO is not set
783 990
784# 991#
785# Hardware crypto devices
786#
787
788#
789# Library routines 992# Library routines
790# 993#
791# CONFIG_CRC_CCITT is not set 994# CONFIG_CRC_CCITT is not set
995# CONFIG_CRC16 is not set
792CONFIG_CRC32=y 996CONFIG_CRC32=y
793# CONFIG_LIBCRC32C is not set 997# CONFIG_LIBCRC32C is not set
794CONFIG_ZLIB_INFLATE=y 998CONFIG_PLIST=y
diff --git a/arch/sh/configs/hp6xx_defconfig b/arch/sh/configs/hp6xx_defconfig
index b36f102cec81..b931d9b2d579 100644
--- a/arch/sh/configs/hp6xx_defconfig
+++ b/arch/sh/configs/hp6xx_defconfig
@@ -1,21 +1,21 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.15-sh 3# Linux kernel version: 2.6.18
4# Wed Jan 4 15:32:56 2006 4# Tue Oct 3 11:10:06 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17# CONFIG_CLEAN_COMPILE is not set
18CONFIG_BROKEN=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32 20CONFIG_INIT_ENV_ARG_LIMIT=32
21 21
@@ -27,26 +27,31 @@ CONFIG_LOCALVERSION_AUTO=y
27CONFIG_SWAP=y 27CONFIG_SWAP=y
28# CONFIG_SYSVIPC is not set 28# CONFIG_SYSVIPC is not set
29# CONFIG_BSD_PROCESS_ACCT is not set 29# CONFIG_BSD_PROCESS_ACCT is not set
30# CONFIG_SYSCTL is not set 30# CONFIG_UTS_NS is not set
31CONFIG_HOTPLUG=y
32# CONFIG_IKCONFIG is not set 31# CONFIG_IKCONFIG is not set
32# CONFIG_RELAY is not set
33CONFIG_INITRAMFS_SOURCE="" 33CONFIG_INITRAMFS_SOURCE=""
34CONFIG_CC_OPTIMIZE_FOR_SIZE=y 34CONFIG_CC_OPTIMIZE_FOR_SIZE=y
35# CONFIG_EMBEDDED is not set 35CONFIG_SYSCTL=y
36CONFIG_EMBEDDED=y
37CONFIG_UID16=y
38# CONFIG_SYSCTL_SYSCALL is not set
36CONFIG_KALLSYMS=y 39CONFIG_KALLSYMS=y
37# CONFIG_KALLSYMS_EXTRA_PASS is not set 40# CONFIG_KALLSYMS_EXTRA_PASS is not set
41CONFIG_HOTPLUG=y
38CONFIG_PRINTK=y 42CONFIG_PRINTK=y
39CONFIG_BUG=y 43CONFIG_BUG=y
44CONFIG_ELF_CORE=y
40CONFIG_BASE_FULL=y 45CONFIG_BASE_FULL=y
41CONFIG_FUTEX=y 46CONFIG_FUTEX=y
42CONFIG_EPOLL=y 47CONFIG_EPOLL=y
43CONFIG_SHMEM=y 48CONFIG_SHMEM=y
44CONFIG_CC_ALIGN_FUNCTIONS=0 49CONFIG_SLAB=y
45CONFIG_CC_ALIGN_LABELS=0 50CONFIG_VM_EVENT_COUNTERS=y
46CONFIG_CC_ALIGN_LOOPS=0 51CONFIG_RT_MUTEXES=y
47CONFIG_CC_ALIGN_JUMPS=0
48# CONFIG_TINY_SHMEM is not set 52# CONFIG_TINY_SHMEM is not set
49CONFIG_BASE_SMALL=0 53CONFIG_BASE_SMALL=0
54# CONFIG_SLOB is not set
50 55
51# 56#
52# Loadable module support 57# Loadable module support
@@ -56,7 +61,10 @@ CONFIG_BASE_SMALL=0
56# 61#
57# Block layer 62# Block layer
58# 63#
64CONFIG_BLOCK=y
59# CONFIG_LBD is not set 65# CONFIG_LBD is not set
66# CONFIG_BLK_DEV_IO_TRACE is not set
67# CONFIG_LSF is not set
60 68
61# 69#
62# IO Schedulers 70# IO Schedulers
@@ -77,29 +85,26 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
77# CONFIG_SH_SOLUTION_ENGINE is not set 85# CONFIG_SH_SOLUTION_ENGINE is not set
78# CONFIG_SH_7751_SOLUTION_ENGINE is not set 86# CONFIG_SH_7751_SOLUTION_ENGINE is not set
79# CONFIG_SH_7300_SOLUTION_ENGINE is not set 87# CONFIG_SH_7300_SOLUTION_ENGINE is not set
88# CONFIG_SH_7343_SOLUTION_ENGINE is not set
80# CONFIG_SH_73180_SOLUTION_ENGINE is not set 89# CONFIG_SH_73180_SOLUTION_ENGINE is not set
81# CONFIG_SH_7751_SYSTEMH is not set 90# CONFIG_SH_7751_SYSTEMH is not set
82# CONFIG_SH_STB1_HARP is not set
83# CONFIG_SH_STB1_OVERDRIVE is not set
84CONFIG_SH_HP6XX=y 91CONFIG_SH_HP6XX=y
85# CONFIG_SH_CQREEK is not set
86# CONFIG_SH_DMIDA is not set
87# CONFIG_SH_EC3104 is not set 92# CONFIG_SH_EC3104 is not set
88# CONFIG_SH_SATURN is not set 93# CONFIG_SH_SATURN is not set
89# CONFIG_SH_DREAMCAST is not set 94# CONFIG_SH_DREAMCAST is not set
90# CONFIG_SH_CAT68701 is not set
91# CONFIG_SH_BIGSUR is not set 95# CONFIG_SH_BIGSUR is not set
92# CONFIG_SH_SH2000 is not set
93# CONFIG_SH_ADX is not set
94# CONFIG_SH_MPC1211 is not set 96# CONFIG_SH_MPC1211 is not set
95# CONFIG_SH_SH03 is not set 97# CONFIG_SH_SH03 is not set
96# CONFIG_SH_SECUREEDGE5410 is not set 98# CONFIG_SH_SECUREEDGE5410 is not set
97# CONFIG_SH_HS7751RVOIP is not set 99# CONFIG_SH_HS7751RVOIP is not set
100# CONFIG_SH_7710VOIPGW is not set
98# CONFIG_SH_RTS7751R2D is not set 101# CONFIG_SH_RTS7751R2D is not set
102# CONFIG_SH_R7780RP is not set
99# CONFIG_SH_EDOSK7705 is not set 103# CONFIG_SH_EDOSK7705 is not set
100# CONFIG_SH_SH4202_MICRODEV is not set 104# CONFIG_SH_SH4202_MICRODEV is not set
101# CONFIG_SH_LANDISK is not set 105# CONFIG_SH_LANDISK is not set
102# CONFIG_SH_TITAN is not set 106# CONFIG_SH_TITAN is not set
107# CONFIG_SH_SHMIN is not set
103# CONFIG_SH_UNKNOWN is not set 108# CONFIG_SH_UNKNOWN is not set
104 109
105# 110#
@@ -117,9 +122,11 @@ CONFIG_CPU_SH3=y
117# 122#
118# CONFIG_CPU_SUBTYPE_SH7300 is not set 123# CONFIG_CPU_SUBTYPE_SH7300 is not set
119# CONFIG_CPU_SUBTYPE_SH7705 is not set 124# CONFIG_CPU_SUBTYPE_SH7705 is not set
125# CONFIG_CPU_SUBTYPE_SH7706 is not set
120# CONFIG_CPU_SUBTYPE_SH7707 is not set 126# CONFIG_CPU_SUBTYPE_SH7707 is not set
121# CONFIG_CPU_SUBTYPE_SH7708 is not set 127# CONFIG_CPU_SUBTYPE_SH7708 is not set
122CONFIG_CPU_SUBTYPE_SH7709=y 128CONFIG_CPU_SUBTYPE_SH7709=y
129# CONFIG_CPU_SUBTYPE_SH7710 is not set
123 130
124# 131#
125# SH-4 Processor Support 132# SH-4 Processor Support
@@ -142,14 +149,23 @@ CONFIG_CPU_SUBTYPE_SH7709=y
142# 149#
143# SH-4A Processor Support 150# SH-4A Processor Support
144# 151#
145# CONFIG_CPU_SUBTYPE_SH73180 is not set
146# CONFIG_CPU_SUBTYPE_SH7770 is not set 152# CONFIG_CPU_SUBTYPE_SH7770 is not set
147# CONFIG_CPU_SUBTYPE_SH7780 is not set 153# CONFIG_CPU_SUBTYPE_SH7780 is not set
148 154
149# 155#
156# SH4AL-DSP Processor Support
157#
158# CONFIG_CPU_SUBTYPE_SH73180 is not set
159# CONFIG_CPU_SUBTYPE_SH7343 is not set
160
161#
150# Memory management options 162# Memory management options
151# 163#
152CONFIG_MMU=y 164CONFIG_MMU=y
165CONFIG_PAGE_OFFSET=0x80000000
166CONFIG_MEMORY_START=0x0c000000
167CONFIG_MEMORY_SIZE=0x00400000
168CONFIG_VSYSCALL=y
153CONFIG_SELECT_MEMORY_MODEL=y 169CONFIG_SELECT_MEMORY_MODEL=y
154CONFIG_FLATMEM_MANUAL=y 170CONFIG_FLATMEM_MANUAL=y
155# CONFIG_DISCONTIGMEM_MANUAL is not set 171# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -158,6 +174,7 @@ CONFIG_FLATMEM=y
158CONFIG_FLAT_NODE_MEM_MAP=y 174CONFIG_FLAT_NODE_MEM_MAP=y
159# CONFIG_SPARSEMEM_STATIC is not set 175# CONFIG_SPARSEMEM_STATIC is not set
160CONFIG_SPLIT_PTLOCK_CPUS=4 176CONFIG_SPLIT_PTLOCK_CPUS=4
177# CONFIG_RESOURCES_64BIT is not set
161 178
162# 179#
163# Cache configuration 180# Cache configuration
@@ -165,22 +182,22 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
165# CONFIG_SH_DIRECT_MAPPED is not set 182# CONFIG_SH_DIRECT_MAPPED is not set
166# CONFIG_SH_WRITETHROUGH is not set 183# CONFIG_SH_WRITETHROUGH is not set
167# CONFIG_SH_OCRAM is not set 184# CONFIG_SH_OCRAM is not set
168CONFIG_MEMORY_START=0x0c000000
169CONFIG_MEMORY_SIZE=0x00400000
170 185
171# 186#
172# Processor features 187# Processor features
173# 188#
174CONFIG_CPU_LITTLE_ENDIAN=y 189CONFIG_CPU_LITTLE_ENDIAN=y
175CONFIG_SH_RTC=y 190# CONFIG_SH_FPU_EMU is not set
176# CONFIG_SH_DSP is not set 191# CONFIG_SH_DSP is not set
177CONFIG_SH_ADC=y 192CONFIG_SH_ADC=y
193CONFIG_CPU_HAS_INTEVT=y
194CONFIG_CPU_HAS_PINT_IRQ=y
195CONFIG_CPU_HAS_SR_RB=y
178 196
179# 197#
180# Timer support 198# Timer support
181# 199#
182CONFIG_SH_TMU=y 200CONFIG_SH_TMU=y
183CONFIG_SH_PCLK_FREQ_BOOL=y
184CONFIG_SH_PCLK_FREQ=22110000 201CONFIG_SH_PCLK_FREQ=22110000
185 202
186# 203#
@@ -194,7 +211,6 @@ CONFIG_SH_PCLK_FREQ=22110000
194CONFIG_SH_DMA=y 211CONFIG_SH_DMA=y
195CONFIG_NR_ONCHIP_DMA_CHANNELS=4 212CONFIG_NR_ONCHIP_DMA_CHANNELS=4
196# CONFIG_NR_DMA_CHANNELS_BOOL is not set 213# CONFIG_NR_DMA_CHANNELS_BOOL is not set
197# CONFIG_DMA_PAGE_OPS is not set
198 214
199# 215#
200# Companion Chips 216# Companion Chips
@@ -209,9 +225,15 @@ CONFIG_HD64461_ENABLER=y
209# 225#
210# Kernel features 226# Kernel features
211# 227#
228# CONFIG_HZ_100 is not set
229CONFIG_HZ_250=y
230# CONFIG_HZ_1000 is not set
231CONFIG_HZ=250
212# CONFIG_KEXEC is not set 232# CONFIG_KEXEC is not set
213# CONFIG_PREEMPT is not set
214# CONFIG_SMP is not set 233# CONFIG_SMP is not set
234CONFIG_PREEMPT_NONE=y
235# CONFIG_PREEMPT_VOLUNTARY is not set
236# CONFIG_PREEMPT is not set
215 237
216# 238#
217# Boot options 239# Boot options
@@ -241,8 +263,6 @@ CONFIG_PCMCIA_IOCTL=y
241# 263#
242# CONFIG_I82365 is not set 264# CONFIG_I82365 is not set
243# CONFIG_TCIC is not set 265# CONFIG_TCIC is not set
244CONFIG_HD64461_PCMCIA=y
245CONFIG_HD64461_PCMCIA_SOCKETS=1
246CONFIG_PCMCIA_PROBE=y 266CONFIG_PCMCIA_PROBE=y
247 267
248# 268#
@@ -257,6 +277,15 @@ CONFIG_BINFMT_ELF=y
257# CONFIG_BINFMT_MISC is not set 277# CONFIG_BINFMT_MISC is not set
258 278
259# 279#
280# Power management options (EXPERIMENTAL)
281#
282CONFIG_PM=y
283CONFIG_PM_LEGACY=y
284# CONFIG_PM_DEBUG is not set
285# CONFIG_PM_SYSFS_DEPRECATED is not set
286CONFIG_APM=y
287
288#
260# Networking 289# Networking
261# 290#
262# CONFIG_NET is not set 291# CONFIG_NET is not set
@@ -271,6 +300,7 @@ CONFIG_BINFMT_ELF=y
271# CONFIG_STANDALONE is not set 300# CONFIG_STANDALONE is not set
272CONFIG_PREVENT_FIRMWARE_BUILD=y 301CONFIG_PREVENT_FIRMWARE_BUILD=y
273CONFIG_FW_LOADER=y 302CONFIG_FW_LOADER=y
303# CONFIG_SYS_HYPERVISOR is not set
274 304
275# 305#
276# Connector - unified userspace <-> kernelspace linker 306# Connector - unified userspace <-> kernelspace linker
@@ -299,6 +329,7 @@ CONFIG_FW_LOADER=y
299CONFIG_BLK_DEV_RAM=y 329CONFIG_BLK_DEV_RAM=y
300CONFIG_BLK_DEV_RAM_COUNT=16 330CONFIG_BLK_DEV_RAM_COUNT=16
301CONFIG_BLK_DEV_RAM_SIZE=4096 331CONFIG_BLK_DEV_RAM_SIZE=4096
332CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
302CONFIG_BLK_DEV_INITRD=y 333CONFIG_BLK_DEV_INITRD=y
303# CONFIG_CDROM_PKTCDVD is not set 334# CONFIG_CDROM_PKTCDVD is not set
304 335
@@ -315,7 +346,7 @@ CONFIG_BLK_DEV_IDE=y
315# CONFIG_BLK_DEV_IDE_SATA is not set 346# CONFIG_BLK_DEV_IDE_SATA is not set
316CONFIG_BLK_DEV_IDEDISK=y 347CONFIG_BLK_DEV_IDEDISK=y
317# CONFIG_IDEDISK_MULTI_MODE is not set 348# CONFIG_IDEDISK_MULTI_MODE is not set
318# CONFIG_BLK_DEV_IDECS is not set 349CONFIG_BLK_DEV_IDECS=y
319# CONFIG_BLK_DEV_IDECD is not set 350# CONFIG_BLK_DEV_IDECD is not set
320# CONFIG_BLK_DEV_IDETAPE is not set 351# CONFIG_BLK_DEV_IDETAPE is not set
321# CONFIG_BLK_DEV_IDEFLOPPY is not set 352# CONFIG_BLK_DEV_IDEFLOPPY is not set
@@ -325,7 +356,6 @@ CONFIG_BLK_DEV_IDEDISK=y
325# IDE chipset support/bugfixes 356# IDE chipset support/bugfixes
326# 357#
327CONFIG_IDE_GENERIC=y 358CONFIG_IDE_GENERIC=y
328CONFIG_IDE_SH=y
329# CONFIG_IDE_ARM is not set 359# CONFIG_IDE_ARM is not set
330# CONFIG_IDE_CHIPSETS is not set 360# CONFIG_IDE_CHIPSETS is not set
331# CONFIG_BLK_DEV_IDEDMA is not set 361# CONFIG_BLK_DEV_IDEDMA is not set
@@ -337,6 +367,12 @@ CONFIG_IDE_SH=y
337# 367#
338# CONFIG_RAID_ATTRS is not set 368# CONFIG_RAID_ATTRS is not set
339# CONFIG_SCSI is not set 369# CONFIG_SCSI is not set
370# CONFIG_SCSI_NETLINK is not set
371
372#
373# Serial ATA (prod) and Parallel ATA (experimental) drivers
374#
375# CONFIG_ATA is not set
340 376
341# 377#
342# Old CD-ROM drivers (not SCSI, not IDE) 378# Old CD-ROM drivers (not SCSI, not IDE)
@@ -356,19 +392,12 @@ CONFIG_IDE_SH=y
356# 392#
357# IEEE 1394 (FireWire) support 393# IEEE 1394 (FireWire) support
358# 394#
359# CONFIG_IEEE1394 is not set
360 395
361# 396#
362# I2O device support 397# I2O device support
363# 398#
364 399
365# 400#
366# Network device support
367#
368# CONFIG_NETPOLL is not set
369# CONFIG_NET_POLL_CONTROLLER is not set
370
371#
372# ISDN subsystem 401# ISDN subsystem
373# 402#
374 403
@@ -381,6 +410,7 @@ CONFIG_IDE_SH=y
381# Input device support 410# Input device support
382# 411#
383CONFIG_INPUT=y 412CONFIG_INPUT=y
413# CONFIG_INPUT_FF_MEMLESS is not set
384 414
385# 415#
386# Userland interfaces 416# Userland interfaces
@@ -390,17 +420,33 @@ CONFIG_INPUT_MOUSEDEV_PSAUX=y
390CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 420CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
391CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 421CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
392# CONFIG_INPUT_JOYDEV is not set 422# CONFIG_INPUT_JOYDEV is not set
393# CONFIG_INPUT_TSDEV is not set 423CONFIG_INPUT_TSDEV=y
424CONFIG_INPUT_TSDEV_SCREEN_X=240
425CONFIG_INPUT_TSDEV_SCREEN_Y=320
394# CONFIG_INPUT_EVDEV is not set 426# CONFIG_INPUT_EVDEV is not set
395# CONFIG_INPUT_EVBUG is not set 427# CONFIG_INPUT_EVBUG is not set
396 428
397# 429#
398# Input Device Drivers 430# Input Device Drivers
399# 431#
400# CONFIG_INPUT_KEYBOARD is not set 432CONFIG_INPUT_KEYBOARD=y
433# CONFIG_KEYBOARD_ATKBD is not set
434# CONFIG_KEYBOARD_SUNKBD is not set
435# CONFIG_KEYBOARD_LKKBD is not set
436# CONFIG_KEYBOARD_XTKBD is not set
437# CONFIG_KEYBOARD_NEWTON is not set
438# CONFIG_KEYBOARD_STOWAWAY is not set
401# CONFIG_INPUT_MOUSE is not set 439# CONFIG_INPUT_MOUSE is not set
402# CONFIG_INPUT_JOYSTICK is not set 440# CONFIG_INPUT_JOYSTICK is not set
403# CONFIG_INPUT_TOUCHSCREEN is not set 441CONFIG_INPUT_TOUCHSCREEN=y
442# CONFIG_TOUCHSCREEN_GUNZE is not set
443# CONFIG_TOUCHSCREEN_ELO is not set
444# CONFIG_TOUCHSCREEN_MTOUCH is not set
445# CONFIG_TOUCHSCREEN_MK712 is not set
446CONFIG_TOUCHSCREEN_HP600=y
447# CONFIG_TOUCHSCREEN_PENMOUNT is not set
448# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
449# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
404# CONFIG_INPUT_MISC is not set 450# CONFIG_INPUT_MISC is not set
405 451
406# 452#
@@ -409,6 +455,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
409CONFIG_SERIO=y 455CONFIG_SERIO=y
410# CONFIG_SERIO_I8042 is not set 456# CONFIG_SERIO_I8042 is not set
411# CONFIG_SERIO_SERPORT is not set 457# CONFIG_SERIO_SERPORT is not set
458# CONFIG_SERIO_LIBPS2 is not set
412# CONFIG_SERIO_RAW is not set 459# CONFIG_SERIO_RAW is not set
413# CONFIG_GAMEPORT is not set 460# CONFIG_GAMEPORT is not set
414 461
@@ -418,6 +465,7 @@ CONFIG_SERIO=y
418CONFIG_VT=y 465CONFIG_VT=y
419CONFIG_VT_CONSOLE=y 466CONFIG_VT_CONSOLE=y
420CONFIG_HW_CONSOLE=y 467CONFIG_HW_CONSOLE=y
468# CONFIG_VT_HW_CONSOLE_BINDING is not set
421# CONFIG_SERIAL_NONSTANDARD is not set 469# CONFIG_SERIAL_NONSTANDARD is not set
422 470
423# 471#
@@ -442,7 +490,7 @@ CONFIG_LEGACY_PTY_COUNT=256
442# Watchdog Cards 490# Watchdog Cards
443# 491#
444# CONFIG_WATCHDOG is not set 492# CONFIG_WATCHDOG is not set
445# CONFIG_RTC is not set 493CONFIG_HW_RANDOM=y
446# CONFIG_GEN_RTC is not set 494# CONFIG_GEN_RTC is not set
447# CONFIG_DTLK is not set 495# CONFIG_DTLK is not set
448# CONFIG_R3964 is not set 496# CONFIG_R3964 is not set
@@ -471,15 +519,23 @@ CONFIG_LEGACY_PTY_COUNT=256
471# CONFIG_I2C is not set 519# CONFIG_I2C is not set
472 520
473# 521#
522# SPI support
523#
524# CONFIG_SPI is not set
525# CONFIG_SPI_MASTER is not set
526
527#
474# Dallas's 1-wire bus 528# Dallas's 1-wire bus
475# 529#
476# CONFIG_W1 is not set
477 530
478# 531#
479# Hardware Monitoring support 532# Hardware Monitoring support
480# 533#
481CONFIG_HWMON=y 534CONFIG_HWMON=y
482# CONFIG_HWMON_VID is not set 535# CONFIG_HWMON_VID is not set
536# CONFIG_SENSORS_ABITUGURU is not set
537# CONFIG_SENSORS_F71805F is not set
538# CONFIG_SENSORS_VT1211 is not set
483# CONFIG_HWMON_DEBUG_CHIP is not set 539# CONFIG_HWMON_DEBUG_CHIP is not set
484 540
485# 541#
@@ -487,13 +543,10 @@ CONFIG_HWMON=y
487# 543#
488 544
489# 545#
490# Multimedia Capabilities Port drivers
491#
492
493#
494# Multimedia devices 546# Multimedia devices
495# 547#
496# CONFIG_VIDEO_DEV is not set 548# CONFIG_VIDEO_DEV is not set
549CONFIG_VIDEO_V4L2=y
497 550
498# 551#
499# Digital Video Broadcasting Devices 552# Digital Video Broadcasting Devices
@@ -502,11 +555,13 @@ CONFIG_HWMON=y
502# 555#
503# Graphics support 556# Graphics support
504# 557#
558CONFIG_FIRMWARE_EDID=y
505CONFIG_FB=y 559CONFIG_FB=y
506CONFIG_FB_CFB_FILLRECT=y 560CONFIG_FB_CFB_FILLRECT=y
507CONFIG_FB_CFB_COPYAREA=y 561CONFIG_FB_CFB_COPYAREA=y
508CONFIG_FB_CFB_IMAGEBLIT=y 562CONFIG_FB_CFB_IMAGEBLIT=y
509# CONFIG_FB_MACMODES is not set 563# CONFIG_FB_MACMODES is not set
564# CONFIG_FB_BACKLIGHT is not set
510# CONFIG_FB_MODE_HELPERS is not set 565# CONFIG_FB_MODE_HELPERS is not set
511# CONFIG_FB_TILEBLITTING is not set 566# CONFIG_FB_TILEBLITTING is not set
512# CONFIG_FB_EPSON1355 is not set 567# CONFIG_FB_EPSON1355 is not set
@@ -553,7 +608,7 @@ CONFIG_SOUND=y
553# Open Sound System 608# Open Sound System
554# 609#
555CONFIG_SOUND_PRIME=y 610CONFIG_SOUND_PRIME=y
556# CONFIG_OBSOLETE_OSS_DRIVER is not set 611# CONFIG_OSS_OBSOLETE_DRIVER is not set
557# CONFIG_SOUND_MSNDCLAS is not set 612# CONFIG_SOUND_MSNDCLAS is not set
558# CONFIG_SOUND_MSNDPIN is not set 613# CONFIG_SOUND_MSNDPIN is not set
559CONFIG_SOUND_SH_DAC_AUDIO=y 614CONFIG_SOUND_SH_DAC_AUDIO=y
@@ -564,6 +619,7 @@ CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL=1
564# 619#
565# CONFIG_USB_ARCH_HAS_HCD is not set 620# CONFIG_USB_ARCH_HAS_HCD is not set
566# CONFIG_USB_ARCH_HAS_OHCI is not set 621# CONFIG_USB_ARCH_HAS_OHCI is not set
622# CONFIG_USB_ARCH_HAS_EHCI is not set
567 623
568# 624#
569# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 625# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -580,12 +636,42 @@ CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL=1
580# CONFIG_MMC is not set 636# CONFIG_MMC is not set
581 637
582# 638#
639# LED devices
640#
641# CONFIG_NEW_LEDS is not set
642
643#
644# LED drivers
645#
646
647#
648# LED Triggers
649#
650
651#
583# InfiniBand support 652# InfiniBand support
584# 653#
585# CONFIG_INFINIBAND is not set
586 654
587# 655#
588# SN Devices 656# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
657#
658
659#
660# Real Time Clock
661#
662# CONFIG_RTC_CLASS is not set
663
664#
665# DMA Engine support
666#
667# CONFIG_DMA_ENGINE is not set
668
669#
670# DMA Clients
671#
672
673#
674# DMA Devices
589# 675#
590 676
591# 677#
@@ -595,7 +681,6 @@ CONFIG_EXT2_FS=y
595# CONFIG_EXT2_FS_XATTR is not set 681# CONFIG_EXT2_FS_XATTR is not set
596# CONFIG_EXT2_FS_XIP is not set 682# CONFIG_EXT2_FS_XIP is not set
597# CONFIG_EXT3_FS is not set 683# CONFIG_EXT3_FS is not set
598# CONFIG_JBD is not set
599# CONFIG_REISERFS_FS is not set 684# CONFIG_REISERFS_FS is not set
600# CONFIG_JFS_FS is not set 685# CONFIG_JFS_FS is not set
601# CONFIG_FS_POSIX_ACL is not set 686# CONFIG_FS_POSIX_ACL is not set
@@ -603,6 +688,7 @@ CONFIG_EXT2_FS=y
603# CONFIG_MINIX_FS is not set 688# CONFIG_MINIX_FS is not set
604# CONFIG_ROMFS_FS is not set 689# CONFIG_ROMFS_FS is not set
605CONFIG_INOTIFY=y 690CONFIG_INOTIFY=y
691CONFIG_INOTIFY_USER=y
606# CONFIG_QUOTA is not set 692# CONFIG_QUOTA is not set
607CONFIG_DNOTIFY=y 693CONFIG_DNOTIFY=y
608# CONFIG_AUTOFS_FS is not set 694# CONFIG_AUTOFS_FS is not set
@@ -630,12 +716,13 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
630# 716#
631CONFIG_PROC_FS=y 717CONFIG_PROC_FS=y
632CONFIG_PROC_KCORE=y 718CONFIG_PROC_KCORE=y
719CONFIG_PROC_SYSCTL=y
633CONFIG_SYSFS=y 720CONFIG_SYSFS=y
634# CONFIG_TMPFS is not set 721# CONFIG_TMPFS is not set
635# CONFIG_HUGETLBFS is not set 722# CONFIG_HUGETLBFS is not set
636# CONFIG_HUGETLB_PAGE is not set 723# CONFIG_HUGETLB_PAGE is not set
637CONFIG_RAMFS=y 724CONFIG_RAMFS=y
638# CONFIG_RELAYFS_FS is not set 725# CONFIG_CONFIGFS_FS is not set
639 726
640# 727#
641# Miscellaneous filesystems 728# Miscellaneous filesystems
@@ -713,9 +800,14 @@ CONFIG_NLS_DEFAULT="iso8859-1"
713# Kernel hacking 800# Kernel hacking
714# 801#
715# CONFIG_PRINTK_TIME is not set 802# CONFIG_PRINTK_TIME is not set
803CONFIG_ENABLE_MUST_CHECK=y
804# CONFIG_MAGIC_SYSRQ is not set
805# CONFIG_UNUSED_SYMBOLS is not set
716# CONFIG_DEBUG_KERNEL is not set 806# CONFIG_DEBUG_KERNEL is not set
717CONFIG_LOG_BUF_SHIFT=14 807CONFIG_LOG_BUF_SHIFT=14
718# CONFIG_FRAME_POINTER is not set 808# CONFIG_DEBUG_BUGVERBOSE is not set
809# CONFIG_DEBUG_FS is not set
810# CONFIG_UNWIND_INFO is not set
719# CONFIG_SH_STANDARD_BIOS is not set 811# CONFIG_SH_STANDARD_BIOS is not set
720# CONFIG_KGDB is not set 812# CONFIG_KGDB is not set
721 813
@@ -731,13 +823,10 @@ CONFIG_LOG_BUF_SHIFT=14
731# CONFIG_CRYPTO is not set 823# CONFIG_CRYPTO is not set
732 824
733# 825#
734# Hardware crypto devices
735#
736
737#
738# Library routines 826# Library routines
739# 827#
740# CONFIG_CRC_CCITT is not set 828# CONFIG_CRC_CCITT is not set
741# CONFIG_CRC16 is not set 829# CONFIG_CRC16 is not set
742CONFIG_CRC32=y 830CONFIG_CRC32=y
743# CONFIG_LIBCRC32C is not set 831# CONFIG_LIBCRC32C is not set
832CONFIG_PLIST=y
diff --git a/arch/sh/configs/hs7751rvoip_defconfig b/arch/sh/configs/hs7751rvoip_defconfig
new file mode 100644
index 000000000000..e1a886d621db
--- /dev/null
+++ b/arch/sh/configs/hs7751rvoip_defconfig
@@ -0,0 +1,908 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18
4# Tue Oct 3 13:04:52 2006
5#
6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_GENERIC_IRQ_PROBE=y
12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
14
15#
16# Code maturity level options
17#
18CONFIG_EXPERIMENTAL=y
19CONFIG_BROKEN_ON_SMP=y
20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
22
23#
24# General setup
25#
26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
28CONFIG_SWAP=y
29CONFIG_SYSVIPC=y
30# CONFIG_IPC_NS is not set
31CONFIG_POSIX_MQUEUE=y
32CONFIG_BSD_PROCESS_ACCT=y
33# CONFIG_BSD_PROCESS_ACCT_V3 is not set
34# CONFIG_TASKSTATS is not set
35# CONFIG_UTS_NS is not set
36# CONFIG_AUDIT is not set
37# CONFIG_IKCONFIG is not set
38# CONFIG_RELAY is not set
39CONFIG_INITRAMFS_SOURCE=""
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SYSCTL=y
42CONFIG_EMBEDDED=y
43CONFIG_UID16=y
44# CONFIG_SYSCTL_SYSCALL is not set
45# CONFIG_KALLSYMS is not set
46CONFIG_HOTPLUG=y
47CONFIG_PRINTK=y
48CONFIG_BUG=y
49CONFIG_ELF_CORE=y
50CONFIG_BASE_FULL=y
51CONFIG_FUTEX=y
52CONFIG_EPOLL=y
53CONFIG_SHMEM=y
54CONFIG_SLAB=y
55CONFIG_VM_EVENT_COUNTERS=y
56CONFIG_RT_MUTEXES=y
57# CONFIG_TINY_SHMEM is not set
58CONFIG_BASE_SMALL=0
59# CONFIG_SLOB is not set
60
61#
62# Loadable module support
63#
64CONFIG_MODULES=y
65CONFIG_MODULE_UNLOAD=y
66# CONFIG_MODULE_FORCE_UNLOAD is not set
67# CONFIG_MODVERSIONS is not set
68# CONFIG_MODULE_SRCVERSION_ALL is not set
69CONFIG_KMOD=y
70
71#
72# Block layer
73#
74CONFIG_BLOCK=y
75# CONFIG_LBD is not set
76# CONFIG_BLK_DEV_IO_TRACE is not set
77# CONFIG_LSF is not set
78
79#
80# IO Schedulers
81#
82CONFIG_IOSCHED_NOOP=y
83CONFIG_IOSCHED_AS=y
84CONFIG_IOSCHED_DEADLINE=y
85CONFIG_IOSCHED_CFQ=y
86CONFIG_DEFAULT_AS=y
87# CONFIG_DEFAULT_DEADLINE is not set
88# CONFIG_DEFAULT_CFQ is not set
89# CONFIG_DEFAULT_NOOP is not set
90CONFIG_DEFAULT_IOSCHED="anticipatory"
91
92#
93# System type
94#
95# CONFIG_SH_SOLUTION_ENGINE is not set
96# CONFIG_SH_7751_SOLUTION_ENGINE is not set
97# CONFIG_SH_7300_SOLUTION_ENGINE is not set
98# CONFIG_SH_7343_SOLUTION_ENGINE is not set
99# CONFIG_SH_73180_SOLUTION_ENGINE is not set
100# CONFIG_SH_7751_SYSTEMH is not set
101# CONFIG_SH_HP6XX is not set
102# CONFIG_SH_EC3104 is not set
103# CONFIG_SH_SATURN is not set
104# CONFIG_SH_DREAMCAST is not set
105# CONFIG_SH_BIGSUR is not set
106# CONFIG_SH_MPC1211 is not set
107# CONFIG_SH_SH03 is not set
108# CONFIG_SH_SECUREEDGE5410 is not set
109CONFIG_SH_HS7751RVOIP=y
110# CONFIG_SH_7710VOIPGW is not set
111# CONFIG_SH_RTS7751R2D is not set
112# CONFIG_SH_R7780RP is not set
113# CONFIG_SH_EDOSK7705 is not set
114# CONFIG_SH_SH4202_MICRODEV is not set
115# CONFIG_SH_LANDISK is not set
116# CONFIG_SH_TITAN is not set
117# CONFIG_SH_SHMIN is not set
118# CONFIG_SH_UNKNOWN is not set
119
120#
121# Processor selection
122#
123CONFIG_CPU_SH4=y
124
125#
126# SH-2 Processor Support
127#
128# CONFIG_CPU_SUBTYPE_SH7604 is not set
129
130#
131# SH-3 Processor Support
132#
133# CONFIG_CPU_SUBTYPE_SH7300 is not set
134# CONFIG_CPU_SUBTYPE_SH7705 is not set
135# CONFIG_CPU_SUBTYPE_SH7706 is not set
136# CONFIG_CPU_SUBTYPE_SH7707 is not set
137# CONFIG_CPU_SUBTYPE_SH7708 is not set
138# CONFIG_CPU_SUBTYPE_SH7709 is not set
139# CONFIG_CPU_SUBTYPE_SH7710 is not set
140
141#
142# SH-4 Processor Support
143#
144# CONFIG_CPU_SUBTYPE_SH7750 is not set
145# CONFIG_CPU_SUBTYPE_SH7091 is not set
146# CONFIG_CPU_SUBTYPE_SH7750R is not set
147# CONFIG_CPU_SUBTYPE_SH7750S is not set
148CONFIG_CPU_SUBTYPE_SH7751=y
149CONFIG_CPU_SUBTYPE_SH7751R=y
150# CONFIG_CPU_SUBTYPE_SH7760 is not set
151# CONFIG_CPU_SUBTYPE_SH4_202 is not set
152
153#
154# ST40 Processor Support
155#
156# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
157# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
158
159#
160# SH-4A Processor Support
161#
162# CONFIG_CPU_SUBTYPE_SH7770 is not set
163# CONFIG_CPU_SUBTYPE_SH7780 is not set
164
165#
166# SH4AL-DSP Processor Support
167#
168# CONFIG_CPU_SUBTYPE_SH73180 is not set
169# CONFIG_CPU_SUBTYPE_SH7343 is not set
170
171#
172# Memory management options
173#
174CONFIG_MMU=y
175CONFIG_PAGE_OFFSET=0x80000000
176CONFIG_MEMORY_START=0x0c000000
177CONFIG_MEMORY_SIZE=0x04000000
178CONFIG_VSYSCALL=y
179CONFIG_SELECT_MEMORY_MODEL=y
180CONFIG_FLATMEM_MANUAL=y
181# CONFIG_DISCONTIGMEM_MANUAL is not set
182# CONFIG_SPARSEMEM_MANUAL is not set
183CONFIG_FLATMEM=y
184CONFIG_FLAT_NODE_MEM_MAP=y
185# CONFIG_SPARSEMEM_STATIC is not set
186CONFIG_SPLIT_PTLOCK_CPUS=4
187# CONFIG_RESOURCES_64BIT is not set
188
189#
190# Cache configuration
191#
192# CONFIG_SH_DIRECT_MAPPED is not set
193# CONFIG_SH_WRITETHROUGH is not set
194# CONFIG_SH_OCRAM is not set
195
196#
197# Processor features
198#
199CONFIG_CPU_LITTLE_ENDIAN=y
200CONFIG_SH_FPU=y
201# CONFIG_SH_DSP is not set
202# CONFIG_SH_STORE_QUEUES is not set
203CONFIG_CPU_HAS_INTEVT=y
204CONFIG_CPU_HAS_SR_RB=y
205
206#
207# Timer support
208#
209CONFIG_SH_TMU=y
210
211#
212# HS7751RVoIP options
213#
214CONFIG_HS7751RVOIP_CODEC=y
215CONFIG_SH_PCLK_FREQ=60000000
216
217#
218# CPU Frequency scaling
219#
220# CONFIG_CPU_FREQ is not set
221
222#
223# DMA support
224#
225# CONFIG_SH_DMA is not set
226
227#
228# Companion Chips
229#
230# CONFIG_HD6446X_SERIES is not set
231
232#
233# Kernel features
234#
235# CONFIG_HZ_100 is not set
236CONFIG_HZ_250=y
237# CONFIG_HZ_1000 is not set
238CONFIG_HZ=250
239# CONFIG_KEXEC is not set
240# CONFIG_SMP is not set
241# CONFIG_PREEMPT_NONE is not set
242# CONFIG_PREEMPT_VOLUNTARY is not set
243CONFIG_PREEMPT=y
244CONFIG_PREEMPT_BKL=y
245
246#
247# Boot options
248#
249CONFIG_ZERO_PAGE_OFFSET=0x00001000
250CONFIG_BOOT_LINK_OFFSET=0x00800000
251# CONFIG_UBC_WAKEUP is not set
252CONFIG_CMDLINE_BOOL=y
253CONFIG_CMDLINE="mem=64M console=ttySC1,115200 root=/dev/hda1"
254
255#
256# Bus options
257#
258# CONFIG_PCI is not set
259
260#
261# PCCARD (PCMCIA/CardBus) support
262#
263# CONFIG_PCCARD is not set
264
265#
266# PCI Hotplug Support
267#
268
269#
270# Executable file formats
271#
272CONFIG_BINFMT_ELF=y
273# CONFIG_BINFMT_FLAT is not set
274# CONFIG_BINFMT_MISC is not set
275
276#
277# Power management options (EXPERIMENTAL)
278#
279# CONFIG_PM is not set
280
281#
282# Networking
283#
284CONFIG_NET=y
285
286#
287# Networking options
288#
289# CONFIG_NETDEBUG is not set
290CONFIG_PACKET=y
291CONFIG_PACKET_MMAP=y
292CONFIG_UNIX=y
293CONFIG_XFRM=y
294# CONFIG_XFRM_USER is not set
295# CONFIG_XFRM_SUB_POLICY is not set
296# CONFIG_NET_KEY is not set
297CONFIG_INET=y
298CONFIG_IP_MULTICAST=y
299CONFIG_IP_ADVANCED_ROUTER=y
300CONFIG_ASK_IP_FIB_HASH=y
301# CONFIG_IP_FIB_TRIE is not set
302CONFIG_IP_FIB_HASH=y
303# CONFIG_IP_MULTIPLE_TABLES is not set
304# CONFIG_IP_ROUTE_MULTIPATH is not set
305# CONFIG_IP_ROUTE_VERBOSE is not set
306# CONFIG_IP_PNP is not set
307# CONFIG_NET_IPIP is not set
308# CONFIG_NET_IPGRE is not set
309# CONFIG_IP_MROUTE is not set
310# CONFIG_ARPD is not set
311# CONFIG_SYN_COOKIES is not set
312# CONFIG_INET_AH is not set
313# CONFIG_INET_ESP is not set
314# CONFIG_INET_IPCOMP is not set
315# CONFIG_INET_XFRM_TUNNEL is not set
316# CONFIG_INET_TUNNEL is not set
317CONFIG_INET_XFRM_MODE_TRANSPORT=y
318CONFIG_INET_XFRM_MODE_TUNNEL=y
319CONFIG_INET_DIAG=y
320CONFIG_INET_TCP_DIAG=y
321# CONFIG_TCP_CONG_ADVANCED is not set
322CONFIG_TCP_CONG_CUBIC=y
323CONFIG_DEFAULT_TCP_CONG="cubic"
324# CONFIG_IPV6 is not set
325# CONFIG_INET6_XFRM_TUNNEL is not set
326# CONFIG_INET6_TUNNEL is not set
327# CONFIG_NETWORK_SECMARK is not set
328# CONFIG_NETFILTER is not set
329
330#
331# DCCP Configuration (EXPERIMENTAL)
332#
333# CONFIG_IP_DCCP is not set
334
335#
336# SCTP Configuration (EXPERIMENTAL)
337#
338# CONFIG_IP_SCTP is not set
339
340#
341# TIPC Configuration (EXPERIMENTAL)
342#
343# CONFIG_TIPC is not set
344# CONFIG_ATM is not set
345# CONFIG_BRIDGE is not set
346# CONFIG_VLAN_8021Q is not set
347# CONFIG_DECNET is not set
348# CONFIG_LLC2 is not set
349# CONFIG_IPX is not set
350# CONFIG_ATALK is not set
351# CONFIG_X25 is not set
352# CONFIG_LAPB is not set
353# CONFIG_ECONET is not set
354# CONFIG_WAN_ROUTER is not set
355
356#
357# QoS and/or fair queueing
358#
359# CONFIG_NET_SCHED is not set
360
361#
362# Network testing
363#
364# CONFIG_NET_PKTGEN is not set
365# CONFIG_HAMRADIO is not set
366# CONFIG_IRDA is not set
367# CONFIG_BT is not set
368# CONFIG_IEEE80211 is not set
369
370#
371# Device Drivers
372#
373
374#
375# Generic Driver Options
376#
377CONFIG_STANDALONE=y
378CONFIG_PREVENT_FIRMWARE_BUILD=y
379CONFIG_FW_LOADER=m
380# CONFIG_SYS_HYPERVISOR is not set
381
382#
383# Connector - unified userspace <-> kernelspace linker
384#
385# CONFIG_CONNECTOR is not set
386
387#
388# Memory Technology Devices (MTD)
389#
390# CONFIG_MTD is not set
391
392#
393# Parallel port support
394#
395# CONFIG_PARPORT is not set
396
397#
398# Plug and Play support
399#
400
401#
402# Block devices
403#
404# CONFIG_BLK_DEV_COW_COMMON is not set
405# CONFIG_BLK_DEV_LOOP is not set
406# CONFIG_BLK_DEV_NBD is not set
407# CONFIG_BLK_DEV_RAM is not set
408# CONFIG_BLK_DEV_INITRD is not set
409# CONFIG_CDROM_PKTCDVD is not set
410# CONFIG_ATA_OVER_ETH is not set
411
412#
413# ATA/ATAPI/MFM/RLL support
414#
415CONFIG_IDE=y
416CONFIG_IDE_MAX_HWIFS=1
417CONFIG_BLK_DEV_IDE=y
418
419#
420# Please see Documentation/ide.txt for help/info on IDE drives
421#
422# CONFIG_BLK_DEV_IDE_SATA is not set
423CONFIG_BLK_DEV_IDEDISK=y
424# CONFIG_IDEDISK_MULTI_MODE is not set
425# CONFIG_BLK_DEV_IDECD is not set
426# CONFIG_BLK_DEV_IDETAPE is not set
427# CONFIG_BLK_DEV_IDEFLOPPY is not set
428# CONFIG_IDE_TASK_IOCTL is not set
429
430#
431# IDE chipset support/bugfixes
432#
433CONFIG_IDE_GENERIC=y
434# CONFIG_IDE_ARM is not set
435# CONFIG_BLK_DEV_IDEDMA is not set
436# CONFIG_IDEDMA_AUTO is not set
437# CONFIG_BLK_DEV_HD is not set
438
439#
440# SCSI device support
441#
442# CONFIG_RAID_ATTRS is not set
443# CONFIG_SCSI is not set
444# CONFIG_SCSI_NETLINK is not set
445
446#
447# Serial ATA (prod) and Parallel ATA (experimental) drivers
448#
449# CONFIG_ATA is not set
450
451#
452# Multi-device support (RAID and LVM)
453#
454# CONFIG_MD is not set
455
456#
457# Fusion MPT device support
458#
459# CONFIG_FUSION is not set
460
461#
462# IEEE 1394 (FireWire) support
463#
464
465#
466# I2O device support
467#
468
469#
470# Network device support
471#
472CONFIG_NETDEVICES=y
473# CONFIG_DUMMY is not set
474# CONFIG_BONDING is not set
475# CONFIG_EQUALIZER is not set
476# CONFIG_TUN is not set
477
478#
479# PHY device support
480#
481# CONFIG_PHYLIB is not set
482
483#
484# Ethernet (10 or 100Mbit)
485#
486CONFIG_NET_ETHERNET=y
487CONFIG_MII=y
488# CONFIG_STNIC is not set
489# CONFIG_SMC91X is not set
490
491#
492# Ethernet (1000 Mbit)
493#
494
495#
496# Ethernet (10000 Mbit)
497#
498
499#
500# Token Ring devices
501#
502
503#
504# Wireless LAN (non-hamradio)
505#
506# CONFIG_NET_RADIO is not set
507
508#
509# Wan interfaces
510#
511# CONFIG_WAN is not set
512# CONFIG_PPP is not set
513# CONFIG_SLIP is not set
514# CONFIG_SHAPER is not set
515# CONFIG_NETCONSOLE is not set
516# CONFIG_NETPOLL is not set
517# CONFIG_NET_POLL_CONTROLLER is not set
518
519#
520# ISDN subsystem
521#
522# CONFIG_ISDN is not set
523
524#
525# Telephony Support
526#
527# CONFIG_PHONE is not set
528
529#
530# Input device support
531#
532CONFIG_INPUT=y
533# CONFIG_INPUT_FF_MEMLESS is not set
534
535#
536# Userland interfaces
537#
538# CONFIG_INPUT_MOUSEDEV is not set
539# CONFIG_INPUT_JOYDEV is not set
540# CONFIG_INPUT_TSDEV is not set
541# CONFIG_INPUT_EVDEV is not set
542# CONFIG_INPUT_EVBUG is not set
543
544#
545# Input Device Drivers
546#
547# CONFIG_INPUT_KEYBOARD is not set
548# CONFIG_INPUT_MOUSE is not set
549# CONFIG_INPUT_JOYSTICK is not set
550# CONFIG_INPUT_TOUCHSCREEN is not set
551# CONFIG_INPUT_MISC is not set
552
553#
554# Hardware I/O ports
555#
556CONFIG_SERIO=y
557CONFIG_SERIO_I8042=y
558CONFIG_SERIO_SERPORT=y
559# CONFIG_SERIO_LIBPS2 is not set
560# CONFIG_SERIO_RAW is not set
561# CONFIG_GAMEPORT is not set
562
563#
564# Character devices
565#
566# CONFIG_VT is not set
567# CONFIG_SERIAL_NONSTANDARD is not set
568
569#
570# Serial drivers
571#
572# CONFIG_SERIAL_8250 is not set
573
574#
575# Non-8250 serial port support
576#
577CONFIG_SERIAL_SH_SCI=y
578CONFIG_SERIAL_SH_SCI_NR_UARTS=2
579CONFIG_SERIAL_SH_SCI_CONSOLE=y
580CONFIG_SERIAL_CORE=y
581CONFIG_SERIAL_CORE_CONSOLE=y
582CONFIG_UNIX98_PTYS=y
583# CONFIG_LEGACY_PTYS is not set
584
585#
586# IPMI
587#
588# CONFIG_IPMI_HANDLER is not set
589
590#
591# Watchdog Cards
592#
593# CONFIG_WATCHDOG is not set
594CONFIG_HW_RANDOM=y
595# CONFIG_GEN_RTC is not set
596# CONFIG_DTLK is not set
597# CONFIG_R3964 is not set
598
599#
600# Ftape, the floppy tape device driver
601#
602# CONFIG_RAW_DRIVER is not set
603
604#
605# TPM devices
606#
607# CONFIG_TCG_TPM is not set
608# CONFIG_TELCLOCK is not set
609
610#
611# I2C support
612#
613# CONFIG_I2C is not set
614
615#
616# SPI support
617#
618# CONFIG_SPI is not set
619# CONFIG_SPI_MASTER is not set
620
621#
622# Dallas's 1-wire bus
623#
624
625#
626# Hardware Monitoring support
627#
628CONFIG_HWMON=y
629# CONFIG_HWMON_VID is not set
630# CONFIG_SENSORS_ABITUGURU is not set
631# CONFIG_SENSORS_F71805F is not set
632# CONFIG_SENSORS_VT1211 is not set
633# CONFIG_HWMON_DEBUG_CHIP is not set
634
635#
636# Misc devices
637#
638
639#
640# Multimedia devices
641#
642# CONFIG_VIDEO_DEV is not set
643CONFIG_VIDEO_V4L2=y
644
645#
646# Digital Video Broadcasting Devices
647#
648# CONFIG_DVB is not set
649
650#
651# Graphics support
652#
653CONFIG_FIRMWARE_EDID=y
654# CONFIG_FB is not set
655# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
656
657#
658# Sound
659#
660# CONFIG_SOUND is not set
661
662#
663# USB support
664#
665# CONFIG_USB_ARCH_HAS_HCD is not set
666# CONFIG_USB_ARCH_HAS_OHCI is not set
667# CONFIG_USB_ARCH_HAS_EHCI is not set
668
669#
670# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
671#
672
673#
674# USB Gadget Support
675#
676# CONFIG_USB_GADGET is not set
677
678#
679# MMC/SD Card support
680#
681# CONFIG_MMC is not set
682
683#
684# LED devices
685#
686# CONFIG_NEW_LEDS is not set
687
688#
689# LED drivers
690#
691
692#
693# LED Triggers
694#
695
696#
697# InfiniBand support
698#
699
700#
701# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
702#
703
704#
705# Real Time Clock
706#
707# CONFIG_RTC_CLASS is not set
708
709#
710# DMA Engine support
711#
712# CONFIG_DMA_ENGINE is not set
713
714#
715# DMA Clients
716#
717
718#
719# DMA Devices
720#
721
722#
723# File systems
724#
725CONFIG_EXT2_FS=y
726# CONFIG_EXT2_FS_XATTR is not set
727# CONFIG_EXT2_FS_XIP is not set
728# CONFIG_EXT3_FS is not set
729# CONFIG_REISERFS_FS is not set
730# CONFIG_JFS_FS is not set
731# CONFIG_FS_POSIX_ACL is not set
732# CONFIG_XFS_FS is not set
733# CONFIG_OCFS2_FS is not set
734# CONFIG_MINIX_FS is not set
735# CONFIG_ROMFS_FS is not set
736CONFIG_INOTIFY=y
737CONFIG_INOTIFY_USER=y
738# CONFIG_QUOTA is not set
739CONFIG_DNOTIFY=y
740# CONFIG_AUTOFS_FS is not set
741# CONFIG_AUTOFS4_FS is not set
742# CONFIG_FUSE_FS is not set
743
744#
745# CD-ROM/DVD Filesystems
746#
747# CONFIG_ISO9660_FS is not set
748# CONFIG_UDF_FS is not set
749
750#
751# DOS/FAT/NT Filesystems
752#
753# CONFIG_MSDOS_FS is not set
754# CONFIG_VFAT_FS is not set
755# CONFIG_NTFS_FS is not set
756
757#
758# Pseudo filesystems
759#
760CONFIG_PROC_FS=y
761CONFIG_PROC_KCORE=y
762CONFIG_PROC_SYSCTL=y
763CONFIG_SYSFS=y
764CONFIG_TMPFS=y
765# CONFIG_TMPFS_POSIX_ACL is not set
766# CONFIG_HUGETLBFS is not set
767# CONFIG_HUGETLB_PAGE is not set
768CONFIG_RAMFS=y
769# CONFIG_CONFIGFS_FS is not set
770
771#
772# Miscellaneous filesystems
773#
774# CONFIG_ADFS_FS is not set
775# CONFIG_AFFS_FS is not set
776# CONFIG_HFS_FS is not set
777# CONFIG_HFSPLUS_FS is not set
778# CONFIG_BEFS_FS is not set
779# CONFIG_BFS_FS is not set
780# CONFIG_EFS_FS is not set
781# CONFIG_CRAMFS is not set
782# CONFIG_VXFS_FS is not set
783# CONFIG_HPFS_FS is not set
784# CONFIG_QNX4FS_FS is not set
785# CONFIG_SYSV_FS is not set
786# CONFIG_UFS_FS is not set
787
788#
789# Network File Systems
790#
791CONFIG_NFS_FS=y
792CONFIG_NFS_V3=y
793# CONFIG_NFS_V3_ACL is not set
794CONFIG_NFS_V4=y
795CONFIG_NFS_DIRECTIO=y
796# CONFIG_NFSD is not set
797CONFIG_LOCKD=y
798CONFIG_LOCKD_V4=y
799CONFIG_NFS_COMMON=y
800CONFIG_SUNRPC=y
801CONFIG_SUNRPC_GSS=y
802CONFIG_RPCSEC_GSS_KRB5=y
803# CONFIG_RPCSEC_GSS_SPKM3 is not set
804# CONFIG_SMB_FS is not set
805# CONFIG_CIFS is not set
806# CONFIG_NCP_FS is not set
807# CONFIG_CODA_FS is not set
808# CONFIG_AFS_FS is not set
809# CONFIG_9P_FS is not set
810
811#
812# Partition Types
813#
814CONFIG_PARTITION_ADVANCED=y
815# CONFIG_ACORN_PARTITION is not set
816# CONFIG_OSF_PARTITION is not set
817# CONFIG_AMIGA_PARTITION is not set
818# CONFIG_ATARI_PARTITION is not set
819# CONFIG_MAC_PARTITION is not set
820CONFIG_MSDOS_PARTITION=y
821# CONFIG_BSD_DISKLABEL is not set
822# CONFIG_MINIX_SUBPARTITION is not set
823# CONFIG_SOLARIS_X86_PARTITION is not set
824# CONFIG_UNIXWARE_DISKLABEL is not set
825# CONFIG_LDM_PARTITION is not set
826# CONFIG_SGI_PARTITION is not set
827# CONFIG_ULTRIX_PARTITION is not set
828# CONFIG_SUN_PARTITION is not set
829# CONFIG_KARMA_PARTITION is not set
830# CONFIG_EFI_PARTITION is not set
831
832#
833# Native Language Support
834#
835# CONFIG_NLS is not set
836
837#
838# Profiling support
839#
840# CONFIG_PROFILING is not set
841
842#
843# Kernel hacking
844#
845# CONFIG_PRINTK_TIME is not set
846CONFIG_ENABLE_MUST_CHECK=y
847# CONFIG_MAGIC_SYSRQ is not set
848# CONFIG_UNUSED_SYMBOLS is not set
849# CONFIG_DEBUG_KERNEL is not set
850CONFIG_LOG_BUF_SHIFT=14
851# CONFIG_DEBUG_BUGVERBOSE is not set
852# CONFIG_DEBUG_FS is not set
853# CONFIG_SH_STANDARD_BIOS is not set
854# CONFIG_EARLY_SCIF_CONSOLE is not set
855# CONFIG_KGDB is not set
856
857#
858# Security options
859#
860# CONFIG_KEYS is not set
861# CONFIG_SECURITY is not set
862
863#
864# Cryptographic options
865#
866CONFIG_CRYPTO=y
867CONFIG_CRYPTO_ALGAPI=y
868CONFIG_CRYPTO_BLKCIPHER=m
869CONFIG_CRYPTO_MANAGER=m
870# CONFIG_CRYPTO_HMAC is not set
871# CONFIG_CRYPTO_NULL is not set
872# CONFIG_CRYPTO_MD4 is not set
873CONFIG_CRYPTO_MD5=y
874# CONFIG_CRYPTO_SHA1 is not set
875# CONFIG_CRYPTO_SHA256 is not set
876# CONFIG_CRYPTO_SHA512 is not set
877# CONFIG_CRYPTO_WP512 is not set
878# CONFIG_CRYPTO_TGR192 is not set
879CONFIG_CRYPTO_ECB=m
880CONFIG_CRYPTO_CBC=m
881CONFIG_CRYPTO_DES=y
882# CONFIG_CRYPTO_BLOWFISH is not set
883# CONFIG_CRYPTO_TWOFISH is not set
884# CONFIG_CRYPTO_SERPENT is not set
885# CONFIG_CRYPTO_AES is not set
886# CONFIG_CRYPTO_CAST5 is not set
887# CONFIG_CRYPTO_CAST6 is not set
888# CONFIG_CRYPTO_TEA is not set
889# CONFIG_CRYPTO_ARC4 is not set
890# CONFIG_CRYPTO_KHAZAD is not set
891# CONFIG_CRYPTO_ANUBIS is not set
892# CONFIG_CRYPTO_DEFLATE is not set
893# CONFIG_CRYPTO_MICHAEL_MIC is not set
894# CONFIG_CRYPTO_CRC32C is not set
895# CONFIG_CRYPTO_TEST is not set
896
897#
898# Hardware crypto devices
899#
900
901#
902# Library routines
903#
904# CONFIG_CRC_CCITT is not set
905# CONFIG_CRC16 is not set
906CONFIG_CRC32=y
907# CONFIG_LIBCRC32C is not set
908CONFIG_PLIST=y
diff --git a/arch/sh/configs/landisk_defconfig b/arch/sh/configs/landisk_defconfig
index 6b43316d03cf..238c0f109907 100644
--- a/arch/sh/configs/landisk_defconfig
+++ b/arch/sh/configs/landisk_defconfig
@@ -1,21 +1,21 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.13-sh 3# Linux kernel version: 2.6.18
4# Sun Sep 11 13:00:46 2005 4# Tue Oct 3 11:14:13 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
12CONFIG_GENERIC_IOMAP=y 13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 14
14# 15#
15# Code maturity level options 16# Code maturity level options
16# 17#
17CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
18CONFIG_CLEAN_COMPILE=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32 20CONFIG_INIT_ENV_ARG_LIMIT=32
21 21
@@ -26,29 +26,36 @@ CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y 26CONFIG_LOCALVERSION_AUTO=y
27CONFIG_SWAP=y 27CONFIG_SWAP=y
28CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
29# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
30# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
31CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
32# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
33CONFIG_HOTPLUG=y
34CONFIG_KOBJECT_UEVENT=y
35# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
36# CONFIG_RELAY is not set
36CONFIG_INITRAMFS_SOURCE="" 37CONFIG_INITRAMFS_SOURCE=""
37# CONFIG_EMBEDDED is not set 38CONFIG_CC_OPTIMIZE_FOR_SIZE=y
39CONFIG_SYSCTL=y
40CONFIG_EMBEDDED=y
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
38CONFIG_KALLSYMS=y 43CONFIG_KALLSYMS=y
39CONFIG_KALLSYMS_EXTRA_PASS=y 44CONFIG_KALLSYMS_EXTRA_PASS=y
45CONFIG_HOTPLUG=y
40CONFIG_PRINTK=y 46CONFIG_PRINTK=y
41CONFIG_BUG=y 47CONFIG_BUG=y
48CONFIG_ELF_CORE=y
42CONFIG_BASE_FULL=y 49CONFIG_BASE_FULL=y
43CONFIG_FUTEX=y 50CONFIG_FUTEX=y
44CONFIG_EPOLL=y 51CONFIG_EPOLL=y
45CONFIG_SHMEM=y 52CONFIG_SHMEM=y
46CONFIG_CC_ALIGN_FUNCTIONS=0 53CONFIG_SLAB=y
47CONFIG_CC_ALIGN_LABELS=0 54CONFIG_VM_EVENT_COUNTERS=y
48CONFIG_CC_ALIGN_LOOPS=0 55CONFIG_RT_MUTEXES=y
49CONFIG_CC_ALIGN_JUMPS=0
50# CONFIG_TINY_SHMEM is not set 56# CONFIG_TINY_SHMEM is not set
51CONFIG_BASE_SMALL=0 57CONFIG_BASE_SMALL=0
58# CONFIG_SLOB is not set
52 59
53# 60#
54# Loadable module support 61# Loadable module support
@@ -56,40 +63,57 @@ CONFIG_BASE_SMALL=0
56CONFIG_MODULES=y 63CONFIG_MODULES=y
57CONFIG_MODULE_UNLOAD=y 64CONFIG_MODULE_UNLOAD=y
58CONFIG_MODULE_FORCE_UNLOAD=y 65CONFIG_MODULE_FORCE_UNLOAD=y
59CONFIG_OBSOLETE_MODPARM=y
60# CONFIG_MODVERSIONS is not set 66# CONFIG_MODVERSIONS is not set
61# CONFIG_MODULE_SRCVERSION_ALL is not set 67# CONFIG_MODULE_SRCVERSION_ALL is not set
62CONFIG_KMOD=y 68CONFIG_KMOD=y
63 69
64# 70#
71# Block layer
72#
73CONFIG_BLOCK=y
74# CONFIG_LBD is not set
75# CONFIG_BLK_DEV_IO_TRACE is not set
76# CONFIG_LSF is not set
77
78#
79# IO Schedulers
80#
81CONFIG_IOSCHED_NOOP=y
82CONFIG_IOSCHED_AS=y
83CONFIG_IOSCHED_DEADLINE=y
84CONFIG_IOSCHED_CFQ=y
85CONFIG_DEFAULT_AS=y
86# CONFIG_DEFAULT_DEADLINE is not set
87# CONFIG_DEFAULT_CFQ is not set
88# CONFIG_DEFAULT_NOOP is not set
89CONFIG_DEFAULT_IOSCHED="anticipatory"
90
91#
65# System type 92# System type
66# 93#
67# CONFIG_SH_SOLUTION_ENGINE is not set 94# CONFIG_SH_SOLUTION_ENGINE is not set
68# CONFIG_SH_7751_SOLUTION_ENGINE is not set 95# CONFIG_SH_7751_SOLUTION_ENGINE is not set
69# CONFIG_SH_7300_SOLUTION_ENGINE is not set 96# CONFIG_SH_7300_SOLUTION_ENGINE is not set
97# CONFIG_SH_7343_SOLUTION_ENGINE is not set
70# CONFIG_SH_73180_SOLUTION_ENGINE is not set 98# CONFIG_SH_73180_SOLUTION_ENGINE is not set
71# CONFIG_SH_7751_SYSTEMH is not set 99# CONFIG_SH_7751_SYSTEMH is not set
72# CONFIG_SH_STB1_HARP is not set
73# CONFIG_SH_STB1_OVERDRIVE is not set
74# CONFIG_SH_HP6XX is not set 100# CONFIG_SH_HP6XX is not set
75# CONFIG_SH_CQREEK is not set
76# CONFIG_SH_DMIDA is not set
77# CONFIG_SH_EC3104 is not set 101# CONFIG_SH_EC3104 is not set
78# CONFIG_SH_SATURN is not set 102# CONFIG_SH_SATURN is not set
79# CONFIG_SH_DREAMCAST is not set 103# CONFIG_SH_DREAMCAST is not set
80# CONFIG_SH_CAT68701 is not set
81# CONFIG_SH_BIGSUR is not set 104# CONFIG_SH_BIGSUR is not set
82# CONFIG_SH_SH2000 is not set
83# CONFIG_SH_ADX is not set
84# CONFIG_SH_MPC1211 is not set 105# CONFIG_SH_MPC1211 is not set
85# CONFIG_SH_SH03 is not set 106# CONFIG_SH_SH03 is not set
86# CONFIG_SH_SECUREEDGE5410 is not set 107# CONFIG_SH_SECUREEDGE5410 is not set
87# CONFIG_SH_HS7751RVOIP is not set 108# CONFIG_SH_HS7751RVOIP is not set
109# CONFIG_SH_7710VOIPGW is not set
88# CONFIG_SH_RTS7751R2D is not set 110# CONFIG_SH_RTS7751R2D is not set
111# CONFIG_SH_R7780RP is not set
89# CONFIG_SH_EDOSK7705 is not set 112# CONFIG_SH_EDOSK7705 is not set
90# CONFIG_SH_SH4202_MICRODEV is not set 113# CONFIG_SH_SH4202_MICRODEV is not set
91CONFIG_SH_LANDISK=y 114CONFIG_SH_LANDISK=y
92# CONFIG_SH_TITAN is not set 115# CONFIG_SH_TITAN is not set
116# CONFIG_SH_SHMIN is not set
93# CONFIG_SH_UNKNOWN is not set 117# CONFIG_SH_UNKNOWN is not set
94 118
95# 119#
@@ -107,9 +131,11 @@ CONFIG_CPU_SH4=y
107# 131#
108# CONFIG_CPU_SUBTYPE_SH7300 is not set 132# CONFIG_CPU_SUBTYPE_SH7300 is not set
109# CONFIG_CPU_SUBTYPE_SH7705 is not set 133# CONFIG_CPU_SUBTYPE_SH7705 is not set
134# CONFIG_CPU_SUBTYPE_SH7706 is not set
110# CONFIG_CPU_SUBTYPE_SH7707 is not set 135# CONFIG_CPU_SUBTYPE_SH7707 is not set
111# CONFIG_CPU_SUBTYPE_SH7708 is not set 136# CONFIG_CPU_SUBTYPE_SH7708 is not set
112# CONFIG_CPU_SUBTYPE_SH7709 is not set 137# CONFIG_CPU_SUBTYPE_SH7709 is not set
138# CONFIG_CPU_SUBTYPE_SH7710 is not set
113 139
114# 140#
115# SH-4 Processor Support 141# SH-4 Processor Support
@@ -132,14 +158,23 @@ CONFIG_CPU_SUBTYPE_SH7751R=y
132# 158#
133# SH-4A Processor Support 159# SH-4A Processor Support
134# 160#
135# CONFIG_CPU_SUBTYPE_SH73180 is not set
136# CONFIG_CPU_SUBTYPE_SH7770 is not set 161# CONFIG_CPU_SUBTYPE_SH7770 is not set
137# CONFIG_CPU_SUBTYPE_SH7780 is not set 162# CONFIG_CPU_SUBTYPE_SH7780 is not set
138 163
139# 164#
165# SH4AL-DSP Processor Support
166#
167# CONFIG_CPU_SUBTYPE_SH73180 is not set
168# CONFIG_CPU_SUBTYPE_SH7343 is not set
169
170#
140# Memory management options 171# Memory management options
141# 172#
142CONFIG_MMU=y 173CONFIG_MMU=y
174CONFIG_PAGE_OFFSET=0x80000000
175CONFIG_MEMORY_START=0x0c000000
176CONFIG_MEMORY_SIZE=0x04000000
177CONFIG_VSYSCALL=y
143CONFIG_SELECT_MEMORY_MODEL=y 178CONFIG_SELECT_MEMORY_MODEL=y
144CONFIG_FLATMEM_MANUAL=y 179CONFIG_FLATMEM_MANUAL=y
145# CONFIG_DISCONTIGMEM_MANUAL is not set 180# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -147,6 +182,8 @@ CONFIG_FLATMEM_MANUAL=y
147CONFIG_FLATMEM=y 182CONFIG_FLATMEM=y
148CONFIG_FLAT_NODE_MEM_MAP=y 183CONFIG_FLAT_NODE_MEM_MAP=y
149# CONFIG_SPARSEMEM_STATIC is not set 184# CONFIG_SPARSEMEM_STATIC is not set
185CONFIG_SPLIT_PTLOCK_CPUS=4
186# CONFIG_RESOURCES_64BIT is not set
150 187
151# 188#
152# Cache configuration 189# Cache configuration
@@ -154,21 +191,21 @@ CONFIG_FLAT_NODE_MEM_MAP=y
154# CONFIG_SH_DIRECT_MAPPED is not set 191# CONFIG_SH_DIRECT_MAPPED is not set
155# CONFIG_SH_WRITETHROUGH is not set 192# CONFIG_SH_WRITETHROUGH is not set
156# CONFIG_SH_OCRAM is not set 193# CONFIG_SH_OCRAM is not set
157CONFIG_MEMORY_START=0x0c000000
158CONFIG_MEMORY_SIZE=0x04000000
159 194
160# 195#
161# Processor features 196# Processor features
162# 197#
163CONFIG_CPU_LITTLE_ENDIAN=y 198CONFIG_CPU_LITTLE_ENDIAN=y
164CONFIG_SH_FPU=y 199CONFIG_SH_FPU=y
200# CONFIG_SH_DSP is not set
165# CONFIG_SH_STORE_QUEUES is not set 201# CONFIG_SH_STORE_QUEUES is not set
202CONFIG_CPU_HAS_INTEVT=y
203CONFIG_CPU_HAS_SR_RB=y
166 204
167# 205#
168# Timer support 206# Timer support
169# 207#
170CONFIG_SH_TMU=y 208CONFIG_SH_TMU=y
171CONFIG_SH_PCLK_FREQ_BOOL=y
172CONFIG_SH_PCLK_FREQ=33333333 209CONFIG_SH_PCLK_FREQ=33333333
173 210
174# 211#
@@ -192,9 +229,15 @@ CONFIG_HEARTBEAT=y
192# 229#
193# Kernel features 230# Kernel features
194# 231#
232# CONFIG_HZ_100 is not set
233CONFIG_HZ_250=y
234# CONFIG_HZ_1000 is not set
235CONFIG_HZ=250
195CONFIG_KEXEC=y 236CONFIG_KEXEC=y
196# CONFIG_PREEMPT is not set
197# CONFIG_SMP is not set 237# CONFIG_SMP is not set
238CONFIG_PREEMPT_NONE=y
239# CONFIG_PREEMPT_VOLUNTARY is not set
240# CONFIG_PREEMPT is not set
198 241
199# 242#
200# Boot options 243# Boot options
@@ -212,7 +255,7 @@ CONFIG_PCI=y
212CONFIG_SH_PCIDMA_NONCOHERENT=y 255CONFIG_SH_PCIDMA_NONCOHERENT=y
213CONFIG_PCI_AUTO=y 256CONFIG_PCI_AUTO=y
214CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 257CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
215CONFIG_PCI_LEGACY_PROC=y 258# CONFIG_PCI_MULTITHREAD_PROBE is not set
216 259
217# 260#
218# PCCARD (PCMCIA/CardBus) support 261# PCCARD (PCMCIA/CardBus) support
@@ -228,6 +271,11 @@ CONFIG_CARDBUS=y
228# PC-card bridges 271# PC-card bridges
229# 272#
230CONFIG_YENTA=y 273CONFIG_YENTA=y
274CONFIG_YENTA_O2=y
275CONFIG_YENTA_RICOH=y
276CONFIG_YENTA_TI=y
277CONFIG_YENTA_ENE_TUNE=y
278CONFIG_YENTA_TOSHIBA=y
231# CONFIG_PD6729 is not set 279# CONFIG_PD6729 is not set
232# CONFIG_I82092 is not set 280# CONFIG_I82092 is not set
233# CONFIG_I82365 is not set 281# CONFIG_I82365 is not set
@@ -248,6 +296,11 @@ CONFIG_BINFMT_ELF=y
248# CONFIG_BINFMT_MISC is not set 296# CONFIG_BINFMT_MISC is not set
249 297
250# 298#
299# Power management options (EXPERIMENTAL)
300#
301# CONFIG_PM is not set
302
303#
251# Networking 304# Networking
252# 305#
253CONFIG_NET=y 306CONFIG_NET=y
@@ -255,9 +308,13 @@ CONFIG_NET=y
255# 308#
256# Networking options 309# Networking options
257# 310#
311# CONFIG_NETDEBUG is not set
258CONFIG_PACKET=y 312CONFIG_PACKET=y
259# CONFIG_PACKET_MMAP is not set 313# CONFIG_PACKET_MMAP is not set
260CONFIG_UNIX=y 314CONFIG_UNIX=y
315CONFIG_XFRM=y
316# CONFIG_XFRM_USER is not set
317# CONFIG_XFRM_SUB_POLICY is not set
261# CONFIG_NET_KEY is not set 318# CONFIG_NET_KEY is not set
262CONFIG_INET=y 319CONFIG_INET=y
263# CONFIG_IP_MULTICAST is not set 320# CONFIG_IP_MULTICAST is not set
@@ -279,20 +336,32 @@ CONFIG_IP_PNP=y
279# CONFIG_INET_AH is not set 336# CONFIG_INET_AH is not set
280# CONFIG_INET_ESP is not set 337# CONFIG_INET_ESP is not set
281# CONFIG_INET_IPCOMP is not set 338# CONFIG_INET_IPCOMP is not set
339# CONFIG_INET_XFRM_TUNNEL is not set
282# CONFIG_INET_TUNNEL is not set 340# CONFIG_INET_TUNNEL is not set
341CONFIG_INET_XFRM_MODE_TRANSPORT=y
342CONFIG_INET_XFRM_MODE_TUNNEL=y
283CONFIG_INET_DIAG=y 343CONFIG_INET_DIAG=y
284CONFIG_INET_TCP_DIAG=y 344CONFIG_INET_TCP_DIAG=y
285# CONFIG_TCP_CONG_ADVANCED is not set 345# CONFIG_TCP_CONG_ADVANCED is not set
286CONFIG_TCP_CONG_BIC=y 346CONFIG_TCP_CONG_CUBIC=y
347CONFIG_DEFAULT_TCP_CONG="cubic"
287 348
288# 349#
289# IP: Virtual Server Configuration 350# IP: Virtual Server Configuration
290# 351#
291# CONFIG_IP_VS is not set 352# CONFIG_IP_VS is not set
292# CONFIG_IPV6 is not set 353# CONFIG_IPV6 is not set
354# CONFIG_INET6_XFRM_TUNNEL is not set
355# CONFIG_INET6_TUNNEL is not set
356# CONFIG_NETWORK_SECMARK is not set
293CONFIG_NETFILTER=y 357CONFIG_NETFILTER=y
294# CONFIG_NETFILTER_DEBUG is not set 358# CONFIG_NETFILTER_DEBUG is not set
359
360#
361# Core Netfilter Configuration
362#
295# CONFIG_NETFILTER_NETLINK is not set 363# CONFIG_NETFILTER_NETLINK is not set
364# CONFIG_NETFILTER_XTABLES is not set
296 365
297# 366#
298# IP: Netfilter Configuration 367# IP: Netfilter Configuration
@@ -308,66 +377,9 @@ CONFIG_IP_NF_IRC=m
308CONFIG_IP_NF_TFTP=m 377CONFIG_IP_NF_TFTP=m
309CONFIG_IP_NF_AMANDA=m 378CONFIG_IP_NF_AMANDA=m
310# CONFIG_IP_NF_PPTP is not set 379# CONFIG_IP_NF_PPTP is not set
380# CONFIG_IP_NF_H323 is not set
381# CONFIG_IP_NF_SIP is not set
311CONFIG_IP_NF_QUEUE=m 382CONFIG_IP_NF_QUEUE=m
312CONFIG_IP_NF_IPTABLES=m
313CONFIG_IP_NF_MATCH_LIMIT=m
314CONFIG_IP_NF_MATCH_IPRANGE=m
315CONFIG_IP_NF_MATCH_MAC=m
316CONFIG_IP_NF_MATCH_PKTTYPE=m
317CONFIG_IP_NF_MATCH_MARK=m
318CONFIG_IP_NF_MATCH_MULTIPORT=m
319CONFIG_IP_NF_MATCH_TOS=m
320CONFIG_IP_NF_MATCH_RECENT=m
321CONFIG_IP_NF_MATCH_ECN=m
322CONFIG_IP_NF_MATCH_DSCP=m
323CONFIG_IP_NF_MATCH_AH_ESP=m
324CONFIG_IP_NF_MATCH_LENGTH=m
325CONFIG_IP_NF_MATCH_TTL=m
326CONFIG_IP_NF_MATCH_TCPMSS=m
327CONFIG_IP_NF_MATCH_HELPER=m
328CONFIG_IP_NF_MATCH_STATE=m
329CONFIG_IP_NF_MATCH_CONNTRACK=m
330CONFIG_IP_NF_MATCH_OWNER=m
331CONFIG_IP_NF_MATCH_ADDRTYPE=m
332CONFIG_IP_NF_MATCH_REALM=m
333CONFIG_IP_NF_MATCH_SCTP=m
334# CONFIG_IP_NF_MATCH_DCCP is not set
335CONFIG_IP_NF_MATCH_COMMENT=m
336CONFIG_IP_NF_MATCH_CONNMARK=m
337# CONFIG_IP_NF_MATCH_CONNBYTES is not set
338CONFIG_IP_NF_MATCH_HASHLIMIT=m
339# CONFIG_IP_NF_MATCH_STRING is not set
340CONFIG_IP_NF_FILTER=m
341CONFIG_IP_NF_TARGET_REJECT=m
342CONFIG_IP_NF_TARGET_LOG=m
343CONFIG_IP_NF_TARGET_ULOG=m
344CONFIG_IP_NF_TARGET_TCPMSS=m
345# CONFIG_IP_NF_TARGET_NFQUEUE is not set
346CONFIG_IP_NF_NAT=m
347CONFIG_IP_NF_NAT_NEEDED=y
348CONFIG_IP_NF_TARGET_MASQUERADE=m
349CONFIG_IP_NF_TARGET_REDIRECT=m
350CONFIG_IP_NF_TARGET_NETMAP=m
351CONFIG_IP_NF_TARGET_SAME=m
352# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
353CONFIG_IP_NF_NAT_IRC=m
354CONFIG_IP_NF_NAT_FTP=m
355CONFIG_IP_NF_NAT_TFTP=m
356CONFIG_IP_NF_NAT_AMANDA=m
357CONFIG_IP_NF_MANGLE=m
358CONFIG_IP_NF_TARGET_TOS=m
359CONFIG_IP_NF_TARGET_ECN=m
360CONFIG_IP_NF_TARGET_DSCP=m
361CONFIG_IP_NF_TARGET_MARK=m
362CONFIG_IP_NF_TARGET_CLASSIFY=m
363# CONFIG_IP_NF_TARGET_TTL is not set
364CONFIG_IP_NF_TARGET_CONNMARK=m
365# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
366CONFIG_IP_NF_RAW=m
367CONFIG_IP_NF_TARGET_NOTRACK=m
368CONFIG_IP_NF_ARPTABLES=m
369CONFIG_IP_NF_ARPFILTER=m
370CONFIG_IP_NF_ARP_MANGLE=m
371 383
372# 384#
373# DCCP Configuration (EXPERIMENTAL) 385# DCCP Configuration (EXPERIMENTAL)
@@ -378,6 +390,11 @@ CONFIG_IP_NF_ARP_MANGLE=m
378# SCTP Configuration (EXPERIMENTAL) 390# SCTP Configuration (EXPERIMENTAL)
379# 391#
380# CONFIG_IP_SCTP is not set 392# CONFIG_IP_SCTP is not set
393
394#
395# TIPC Configuration (EXPERIMENTAL)
396#
397# CONFIG_TIPC is not set
381# CONFIG_ATM is not set 398# CONFIG_ATM is not set
382# CONFIG_BRIDGE is not set 399# CONFIG_BRIDGE is not set
383# CONFIG_VLAN_8021Q is not set 400# CONFIG_VLAN_8021Q is not set
@@ -389,11 +406,13 @@ CONFIG_ATALK=m
389# CONFIG_DEV_APPLETALK is not set 406# CONFIG_DEV_APPLETALK is not set
390# CONFIG_X25 is not set 407# CONFIG_X25 is not set
391# CONFIG_LAPB is not set 408# CONFIG_LAPB is not set
392# CONFIG_NET_DIVERT is not set
393# CONFIG_ECONET is not set 409# CONFIG_ECONET is not set
394# CONFIG_WAN_ROUTER is not set 410# CONFIG_WAN_ROUTER is not set
411
412#
413# QoS and/or fair queueing
414#
395# CONFIG_NET_SCHED is not set 415# CONFIG_NET_SCHED is not set
396CONFIG_NET_CLS_ROUTE=y
397 416
398# 417#
399# Network testing 418# Network testing
@@ -414,6 +433,7 @@ CONFIG_NET_CLS_ROUTE=y
414CONFIG_STANDALONE=y 433CONFIG_STANDALONE=y
415CONFIG_PREVENT_FIRMWARE_BUILD=y 434CONFIG_PREVENT_FIRMWARE_BUILD=y
416CONFIG_FW_LOADER=y 435CONFIG_FW_LOADER=y
436# CONFIG_SYS_HYPERVISOR is not set
417 437
418# 438#
419# Connector - unified userspace <-> kernelspace linker 439# Connector - unified userspace <-> kernelspace linker
@@ -451,17 +471,9 @@ CONFIG_BLK_DEV_LOOP=y
451CONFIG_BLK_DEV_RAM=y 471CONFIG_BLK_DEV_RAM=y
452CONFIG_BLK_DEV_RAM_COUNT=16 472CONFIG_BLK_DEV_RAM_COUNT=16
453CONFIG_BLK_DEV_RAM_SIZE=4096 473CONFIG_BLK_DEV_RAM_SIZE=4096
474CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
454# CONFIG_BLK_DEV_INITRD is not set 475# CONFIG_BLK_DEV_INITRD is not set
455# CONFIG_LBD is not set
456# CONFIG_CDROM_PKTCDVD is not set 476# CONFIG_CDROM_PKTCDVD is not set
457
458#
459# IO Schedulers
460#
461CONFIG_IOSCHED_NOOP=y
462CONFIG_IOSCHED_AS=y
463CONFIG_IOSCHED_DEADLINE=y
464CONFIG_IOSCHED_CFQ=y
465# CONFIG_ATA_OVER_ETH is not set 477# CONFIG_ATA_OVER_ETH is not set
466 478
467# 479#
@@ -518,7 +530,6 @@ CONFIG_BLK_DEV_AEC62XX=y
518# CONFIG_BLK_DEV_SLC90E66 is not set 530# CONFIG_BLK_DEV_SLC90E66 is not set
519# CONFIG_BLK_DEV_TRM290 is not set 531# CONFIG_BLK_DEV_TRM290 is not set
520# CONFIG_BLK_DEV_VIA82CXXX is not set 532# CONFIG_BLK_DEV_VIA82CXXX is not set
521CONFIG_IDE_SH=y
522# CONFIG_IDE_ARM is not set 533# CONFIG_IDE_ARM is not set
523# CONFIG_IDE_CHIPSETS is not set 534# CONFIG_IDE_CHIPSETS is not set
524CONFIG_BLK_DEV_IDEDMA=y 535CONFIG_BLK_DEV_IDEDMA=y
@@ -531,6 +542,7 @@ CONFIG_IDEDMA_AUTO=y
531# 542#
532# CONFIG_RAID_ATTRS is not set 543# CONFIG_RAID_ATTRS is not set
533CONFIG_SCSI=y 544CONFIG_SCSI=y
545# CONFIG_SCSI_NETLINK is not set
534CONFIG_SCSI_PROC_FS=y 546CONFIG_SCSI_PROC_FS=y
535 547
536# 548#
@@ -551,16 +563,18 @@ CONFIG_SCSI_MULTI_LUN=y
551# CONFIG_SCSI_LOGGING is not set 563# CONFIG_SCSI_LOGGING is not set
552 564
553# 565#
554# SCSI Transport Attributes 566# SCSI Transports
555# 567#
556# CONFIG_SCSI_SPI_ATTRS is not set 568# CONFIG_SCSI_SPI_ATTRS is not set
557# CONFIG_SCSI_FC_ATTRS is not set 569# CONFIG_SCSI_FC_ATTRS is not set
558# CONFIG_SCSI_ISCSI_ATTRS is not set 570# CONFIG_SCSI_ISCSI_ATTRS is not set
559# CONFIG_SCSI_SAS_ATTRS is not set 571# CONFIG_SCSI_SAS_ATTRS is not set
572# CONFIG_SCSI_SAS_LIBSAS is not set
560 573
561# 574#
562# SCSI low-level drivers 575# SCSI low-level drivers
563# 576#
577# CONFIG_ISCSI_TCP is not set
564# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 578# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
565# CONFIG_SCSI_3W_9XXX is not set 579# CONFIG_SCSI_3W_9XXX is not set
566# CONFIG_SCSI_ACARD is not set 580# CONFIG_SCSI_ACARD is not set
@@ -569,12 +583,14 @@ CONFIG_SCSI_MULTI_LUN=y
569# CONFIG_SCSI_AIC7XXX is not set 583# CONFIG_SCSI_AIC7XXX is not set
570# CONFIG_SCSI_AIC7XXX_OLD is not set 584# CONFIG_SCSI_AIC7XXX_OLD is not set
571# CONFIG_SCSI_AIC79XX is not set 585# CONFIG_SCSI_AIC79XX is not set
586# CONFIG_SCSI_AIC94XX is not set
572# CONFIG_SCSI_DPT_I2O is not set 587# CONFIG_SCSI_DPT_I2O is not set
573# CONFIG_SCSI_IN2000 is not set 588# CONFIG_SCSI_IN2000 is not set
589# CONFIG_SCSI_ARCMSR is not set
574# CONFIG_MEGARAID_NEWGEN is not set 590# CONFIG_MEGARAID_NEWGEN is not set
575# CONFIG_MEGARAID_LEGACY is not set 591# CONFIG_MEGARAID_LEGACY is not set
576# CONFIG_MEGARAID_SAS is not set 592# CONFIG_MEGARAID_SAS is not set
577# CONFIG_SCSI_SATA is not set 593# CONFIG_SCSI_HPTIOP is not set
578# CONFIG_SCSI_DMX3191D is not set 594# CONFIG_SCSI_DMX3191D is not set
579# CONFIG_SCSI_DTC3280 is not set 595# CONFIG_SCSI_DTC3280 is not set
580# CONFIG_SCSI_FUTURE_DOMAIN is not set 596# CONFIG_SCSI_FUTURE_DOMAIN is not set
@@ -584,20 +600,14 @@ CONFIG_SCSI_MULTI_LUN=y
584# CONFIG_SCSI_INITIO is not set 600# CONFIG_SCSI_INITIO is not set
585# CONFIG_SCSI_INIA100 is not set 601# CONFIG_SCSI_INIA100 is not set
586# CONFIG_SCSI_NCR53C406A is not set 602# CONFIG_SCSI_NCR53C406A is not set
603# CONFIG_SCSI_STEX is not set
587# CONFIG_SCSI_SYM53C8XX_2 is not set 604# CONFIG_SCSI_SYM53C8XX_2 is not set
588# CONFIG_SCSI_IPR is not set 605# CONFIG_SCSI_IPR is not set
589# CONFIG_SCSI_PAS16 is not set 606# CONFIG_SCSI_PAS16 is not set
590# CONFIG_SCSI_PSI240I is not set 607# CONFIG_SCSI_PSI240I is not set
591# CONFIG_SCSI_QLOGIC_FAS is not set 608# CONFIG_SCSI_QLOGIC_FAS is not set
592# CONFIG_SCSI_QLOGIC_FC is not set
593# CONFIG_SCSI_QLOGIC_1280 is not set 609# CONFIG_SCSI_QLOGIC_1280 is not set
594CONFIG_SCSI_QLA2XXX=y 610# CONFIG_SCSI_QLA_FC is not set
595# CONFIG_SCSI_QLA21XX is not set
596# CONFIG_SCSI_QLA22XX is not set
597# CONFIG_SCSI_QLA2300 is not set
598# CONFIG_SCSI_QLA2322 is not set
599# CONFIG_SCSI_QLA6312 is not set
600# CONFIG_SCSI_QLA24XX is not set
601# CONFIG_SCSI_LPFC is not set 611# CONFIG_SCSI_LPFC is not set
602# CONFIG_SCSI_SYM53C416 is not set 612# CONFIG_SCSI_SYM53C416 is not set
603# CONFIG_SCSI_DC395x is not set 613# CONFIG_SCSI_DC395x is not set
@@ -616,6 +626,11 @@ CONFIG_SCSI_QLA2XXX=y
616# CONFIG_PCMCIA_SYM53C500 is not set 626# CONFIG_PCMCIA_SYM53C500 is not set
617 627
618# 628#
629# Serial ATA (prod) and Parallel ATA (experimental) drivers
630#
631# CONFIG_ATA is not set
632
633#
619# Old CD-ROM drivers (not SCSI, not IDE) 634# Old CD-ROM drivers (not SCSI, not IDE)
620# 635#
621# CONFIG_CD_NO_IDESCSI is not set 636# CONFIG_CD_NO_IDESCSI is not set
@@ -629,8 +644,7 @@ CONFIG_MD_LINEAR=m
629CONFIG_MD_RAID0=m 644CONFIG_MD_RAID0=m
630CONFIG_MD_RAID1=m 645CONFIG_MD_RAID1=m
631# CONFIG_MD_RAID10 is not set 646# CONFIG_MD_RAID10 is not set
632# CONFIG_MD_RAID5 is not set 647# CONFIG_MD_RAID456 is not set
633# CONFIG_MD_RAID6 is not set
634# CONFIG_MD_MULTIPATH is not set 648# CONFIG_MD_MULTIPATH is not set
635# CONFIG_MD_FAULTY is not set 649# CONFIG_MD_FAULTY is not set
636# CONFIG_BLK_DEV_DM is not set 650# CONFIG_BLK_DEV_DM is not set
@@ -694,7 +708,6 @@ CONFIG_MII=y
694# CONFIG_DEPCA is not set 708# CONFIG_DEPCA is not set
695# CONFIG_HP100 is not set 709# CONFIG_HP100 is not set
696# CONFIG_NET_ISA is not set 710# CONFIG_NET_ISA is not set
697# CONFIG_NE2000 is not set
698CONFIG_NET_PCI=y 711CONFIG_NET_PCI=y
699# CONFIG_PCNET32 is not set 712# CONFIG_PCNET32 is not set
700# CONFIG_AMD8111_ETH is not set 713# CONFIG_AMD8111_ETH is not set
@@ -730,10 +743,12 @@ CONFIG_8139CP=y
730# CONFIG_R8169 is not set 743# CONFIG_R8169 is not set
731# CONFIG_SIS190 is not set 744# CONFIG_SIS190 is not set
732# CONFIG_SKGE is not set 745# CONFIG_SKGE is not set
746# CONFIG_SKY2 is not set
733# CONFIG_SK98LIN is not set 747# CONFIG_SK98LIN is not set
734# CONFIG_VIA_VELOCITY is not set 748# CONFIG_VIA_VELOCITY is not set
735# CONFIG_TIGON3 is not set 749# CONFIG_TIGON3 is not set
736# CONFIG_BNX2 is not set 750# CONFIG_BNX2 is not set
751# CONFIG_QLA3XXX is not set
737 752
738# 753#
739# Ethernet (10000 Mbit) 754# Ethernet (10000 Mbit)
@@ -741,6 +756,7 @@ CONFIG_8139CP=y
741# CONFIG_CHELSIO_T1 is not set 756# CONFIG_CHELSIO_T1 is not set
742# CONFIG_IXGB is not set 757# CONFIG_IXGB is not set
743# CONFIG_S2IO is not set 758# CONFIG_S2IO is not set
759# CONFIG_MYRI10GE is not set
744 760
745# 761#
746# Token Ring devices 762# Token Ring devices
@@ -785,6 +801,7 @@ CONFIG_8139CP=y
785# Input device support 801# Input device support
786# 802#
787CONFIG_INPUT=y 803CONFIG_INPUT=y
804# CONFIG_INPUT_FF_MEMLESS is not set
788 805
789# 806#
790# Userland interfaces 807# Userland interfaces
@@ -819,6 +836,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
819CONFIG_VT=y 836CONFIG_VT=y
820CONFIG_VT_CONSOLE=y 837CONFIG_VT_CONSOLE=y
821CONFIG_HW_CONSOLE=y 838CONFIG_HW_CONSOLE=y
839# CONFIG_VT_HW_CONSOLE_BINDING is not set
822# CONFIG_SERIAL_NONSTANDARD is not set 840# CONFIG_SERIAL_NONSTANDARD is not set
823 841
824# 842#
@@ -830,6 +848,7 @@ CONFIG_HW_CONSOLE=y
830# Non-8250 serial port support 848# Non-8250 serial port support
831# 849#
832CONFIG_SERIAL_SH_SCI=y 850CONFIG_SERIAL_SH_SCI=y
851CONFIG_SERIAL_SH_SCI_NR_UARTS=2
833CONFIG_SERIAL_SH_SCI_CONSOLE=y 852CONFIG_SERIAL_SH_SCI_CONSOLE=y
834CONFIG_SERIAL_CORE=y 853CONFIG_SERIAL_CORE=y
835CONFIG_SERIAL_CORE_CONSOLE=y 854CONFIG_SERIAL_CORE_CONSOLE=y
@@ -847,8 +866,7 @@ CONFIG_LEGACY_PTY_COUNT=256
847# Watchdog Cards 866# Watchdog Cards
848# 867#
849# CONFIG_WATCHDOG is not set 868# CONFIG_WATCHDOG is not set
850# CONFIG_RTC is not set 869CONFIG_HW_RANDOM=y
851CONFIG_RS5C313_RTC=y
852# CONFIG_GEN_RTC is not set 870# CONFIG_GEN_RTC is not set
853# CONFIG_DTLK is not set 871# CONFIG_DTLK is not set
854# CONFIG_R3964 is not set 872# CONFIG_R3964 is not set
@@ -863,12 +881,15 @@ CONFIG_RS5C313_RTC=y
863# PCMCIA character devices 881# PCMCIA character devices
864# 882#
865# CONFIG_SYNCLINK_CS is not set 883# CONFIG_SYNCLINK_CS is not set
884# CONFIG_CARDMAN_4000 is not set
885# CONFIG_CARDMAN_4040 is not set
866# CONFIG_RAW_DRIVER is not set 886# CONFIG_RAW_DRIVER is not set
867 887
868# 888#
869# TPM devices 889# TPM devices
870# 890#
871# CONFIG_TCG_TPM is not set 891# CONFIG_TCG_TPM is not set
892# CONFIG_TELCLOCK is not set
872 893
873# 894#
874# I2C support 895# I2C support
@@ -876,15 +897,23 @@ CONFIG_RS5C313_RTC=y
876# CONFIG_I2C is not set 897# CONFIG_I2C is not set
877 898
878# 899#
900# SPI support
901#
902# CONFIG_SPI is not set
903# CONFIG_SPI_MASTER is not set
904
905#
879# Dallas's 1-wire bus 906# Dallas's 1-wire bus
880# 907#
881# CONFIG_W1 is not set
882 908
883# 909#
884# Hardware Monitoring support 910# Hardware Monitoring support
885# 911#
886CONFIG_HWMON=y 912CONFIG_HWMON=y
887# CONFIG_HWMON_VID is not set 913# CONFIG_HWMON_VID is not set
914# CONFIG_SENSORS_ABITUGURU is not set
915# CONFIG_SENSORS_F71805F is not set
916# CONFIG_SENSORS_VT1211 is not set
888# CONFIG_HWMON_DEBUG_CHIP is not set 917# CONFIG_HWMON_DEBUG_CHIP is not set
889 918
890# 919#
@@ -892,28 +921,44 @@ CONFIG_HWMON=y
892# 921#
893 922
894# 923#
895# Multimedia Capabilities Port drivers
896#
897
898#
899# Multimedia devices 924# Multimedia devices
900# 925#
901CONFIG_VIDEO_DEV=m 926CONFIG_VIDEO_DEV=m
927CONFIG_VIDEO_V4L1=y
928CONFIG_VIDEO_V4L1_COMPAT=y
929CONFIG_VIDEO_V4L2=y
902 930
903# 931#
904# Video For Linux 932# Video Capture Adapters
905# 933#
906 934
907# 935#
908# Video Adapters 936# Video Capture Adapters
909# 937#
938# CONFIG_VIDEO_ADV_DEBUG is not set
939CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
940# CONFIG_VIDEO_VIVI is not set
910# CONFIG_VIDEO_PMS is not set 941# CONFIG_VIDEO_PMS is not set
911# CONFIG_VIDEO_CPIA is not set 942# CONFIG_VIDEO_CPIA is not set
943# CONFIG_VIDEO_CPIA2 is not set
912# CONFIG_VIDEO_STRADIS is not set 944# CONFIG_VIDEO_STRADIS is not set
913# CONFIG_VIDEO_MXB is not set 945
914# CONFIG_VIDEO_DPC is not set 946#
915# CONFIG_VIDEO_HEXIUM_ORION is not set 947# V4L USB devices
916# CONFIG_VIDEO_HEXIUM_GEMINI is not set 948#
949CONFIG_VIDEO_USBVIDEO=m
950CONFIG_USB_VICAM=m
951CONFIG_USB_IBMCAM=m
952CONFIG_USB_KONICAWC=m
953# CONFIG_USB_QUICKCAM_MESSENGER is not set
954# CONFIG_USB_ET61X251 is not set
955CONFIG_USB_OV511=m
956CONFIG_USB_SE401=m
957CONFIG_USB_SN9C102=m
958CONFIG_USB_STV680=m
959# CONFIG_USB_ZC0301 is not set
960CONFIG_USB_PWC=m
961# CONFIG_USB_PWC_DEBUG is not set
917 962
918# 963#
919# Radio Adapters 964# Radio Adapters
@@ -932,15 +977,18 @@ CONFIG_VIDEO_DEV=m
932# CONFIG_RADIO_TRUST is not set 977# CONFIG_RADIO_TRUST is not set
933# CONFIG_RADIO_TYPHOON is not set 978# CONFIG_RADIO_TYPHOON is not set
934# CONFIG_RADIO_ZOLTRIX is not set 979# CONFIG_RADIO_ZOLTRIX is not set
980CONFIG_USB_DSBR=m
935 981
936# 982#
937# Digital Video Broadcasting Devices 983# Digital Video Broadcasting Devices
938# 984#
939# CONFIG_DVB is not set 985# CONFIG_DVB is not set
986CONFIG_USB_DABUSB=m
940 987
941# 988#
942# Graphics support 989# Graphics support
943# 990#
991CONFIG_FIRMWARE_EDID=y
944# CONFIG_FB is not set 992# CONFIG_FB is not set
945 993
946# 994#
@@ -949,6 +997,7 @@ CONFIG_VIDEO_DEV=m
949# CONFIG_MDA_CONSOLE is not set 997# CONFIG_MDA_CONSOLE is not set
950CONFIG_DUMMY_CONSOLE=y 998CONFIG_DUMMY_CONSOLE=y
951CONFIG_FONT_8x16=y 999CONFIG_FONT_8x16=y
1000# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
952 1001
953# 1002#
954# Sound 1003# Sound
@@ -964,32 +1013,21 @@ CONFIG_SOUND=m
964# Open Sound System 1013# Open Sound System
965# 1014#
966CONFIG_SOUND_PRIME=m 1015CONFIG_SOUND_PRIME=m
1016# CONFIG_OSS_OBSOLETE_DRIVER is not set
967# CONFIG_SOUND_BT878 is not set 1017# CONFIG_SOUND_BT878 is not set
968# CONFIG_SOUND_CMPCI is not set
969# CONFIG_SOUND_EMU10K1 is not set
970# CONFIG_SOUND_FUSION is not set
971# CONFIG_SOUND_CS4281 is not set
972# CONFIG_SOUND_ES1370 is not set
973# CONFIG_SOUND_ES1371 is not set 1018# CONFIG_SOUND_ES1371 is not set
974# CONFIG_SOUND_ESSSOLO1 is not set
975# CONFIG_SOUND_MAESTRO is not set
976# CONFIG_SOUND_MAESTRO3 is not set
977# CONFIG_SOUND_ICH is not set 1019# CONFIG_SOUND_ICH is not set
978# CONFIG_SOUND_SONICVIBES is not set
979# CONFIG_SOUND_TRIDENT is not set 1020# CONFIG_SOUND_TRIDENT is not set
980# CONFIG_SOUND_MSNDCLAS is not set 1021# CONFIG_SOUND_MSNDCLAS is not set
981# CONFIG_SOUND_MSNDPIN is not set 1022# CONFIG_SOUND_MSNDPIN is not set
982# CONFIG_SOUND_VIA82CXXX is not set 1023# CONFIG_SOUND_VIA82CXXX is not set
983# CONFIG_SOUND_ALI5455 is not set
984# CONFIG_SOUND_FORTE is not set
985# CONFIG_SOUND_RME96XX is not set
986# CONFIG_SOUND_AD1980 is not set
987 1024
988# 1025#
989# USB support 1026# USB support
990# 1027#
991CONFIG_USB_ARCH_HAS_HCD=y 1028CONFIG_USB_ARCH_HAS_HCD=y
992CONFIG_USB_ARCH_HAS_OHCI=y 1029CONFIG_USB_ARCH_HAS_OHCI=y
1030CONFIG_USB_ARCH_HAS_EHCI=y
993CONFIG_USB=y 1031CONFIG_USB=y
994# CONFIG_USB_DEBUG is not set 1032# CONFIG_USB_DEBUG is not set
995 1033
@@ -1007,6 +1045,7 @@ CONFIG_USB_DEVICEFS=y
1007CONFIG_USB_EHCI_HCD=y 1045CONFIG_USB_EHCI_HCD=y
1008# CONFIG_USB_EHCI_SPLIT_ISO is not set 1046# CONFIG_USB_EHCI_SPLIT_ISO is not set
1009# CONFIG_USB_EHCI_ROOT_HUB_TT is not set 1047# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
1048# CONFIG_USB_EHCI_TT_NEWSCHED is not set
1010# CONFIG_USB_ISP116X_HCD is not set 1049# CONFIG_USB_ISP116X_HCD is not set
1011CONFIG_USB_OHCI_HCD=y 1050CONFIG_USB_OHCI_HCD=y
1012# CONFIG_USB_OHCI_BIG_ENDIAN is not set 1051# CONFIG_USB_OHCI_BIG_ENDIAN is not set
@@ -1017,15 +1056,15 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1017# 1056#
1018# USB Device Class drivers 1057# USB Device Class drivers
1019# 1058#
1020CONFIG_OBSOLETE_OSS_USB_DRIVER=y
1021CONFIG_USB_AUDIO=m
1022# CONFIG_USB_BLUETOOTH_TTY is not set
1023CONFIG_USB_MIDI=m
1024# CONFIG_USB_ACM is not set 1059# CONFIG_USB_ACM is not set
1025CONFIG_USB_PRINTER=m 1060CONFIG_USB_PRINTER=m
1026 1061
1027# 1062#
1028# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 1063# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1064#
1065
1066#
1067# may also be needed; see USB_STORAGE Help for more information
1029# 1068#
1030CONFIG_USB_STORAGE=m 1069CONFIG_USB_STORAGE=m
1031# CONFIG_USB_STORAGE_DEBUG is not set 1070# CONFIG_USB_STORAGE_DEBUG is not set
@@ -1037,12 +1076,16 @@ CONFIG_USB_STORAGE_DPCM=y
1037CONFIG_USB_STORAGE_SDDR09=y 1076CONFIG_USB_STORAGE_SDDR09=y
1038CONFIG_USB_STORAGE_SDDR55=y 1077CONFIG_USB_STORAGE_SDDR55=y
1039CONFIG_USB_STORAGE_JUMPSHOT=y 1078CONFIG_USB_STORAGE_JUMPSHOT=y
1079# CONFIG_USB_STORAGE_ALAUDA is not set
1080# CONFIG_USB_STORAGE_KARMA is not set
1081# CONFIG_USB_LIBUSUAL is not set
1040 1082
1041# 1083#
1042# USB Input Devices 1084# USB Input Devices
1043# 1085#
1044CONFIG_USB_HID=m 1086CONFIG_USB_HID=m
1045CONFIG_USB_HIDINPUT=y 1087CONFIG_USB_HIDINPUT=y
1088# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1046# CONFIG_HID_FF is not set 1089# CONFIG_HID_FF is not set
1047# CONFIG_USB_HIDDEV is not set 1090# CONFIG_USB_HIDDEV is not set
1048 1091
@@ -1056,14 +1099,14 @@ CONFIG_USB_HIDINPUT=y
1056# CONFIG_USB_ACECAD is not set 1099# CONFIG_USB_ACECAD is not set
1057# CONFIG_USB_KBTAB is not set 1100# CONFIG_USB_KBTAB is not set
1058# CONFIG_USB_POWERMATE is not set 1101# CONFIG_USB_POWERMATE is not set
1059# CONFIG_USB_MTOUCH is not set 1102# CONFIG_USB_TOUCHSCREEN is not set
1060# CONFIG_USB_ITMTOUCH is not set
1061# CONFIG_USB_EGALAX is not set
1062# CONFIG_USB_YEALINK is not set 1103# CONFIG_USB_YEALINK is not set
1063# CONFIG_USB_XPAD is not set 1104# CONFIG_USB_XPAD is not set
1064# CONFIG_USB_ATI_REMOTE is not set 1105# CONFIG_USB_ATI_REMOTE is not set
1106# CONFIG_USB_ATI_REMOTE2 is not set
1065# CONFIG_USB_KEYSPAN_REMOTE is not set 1107# CONFIG_USB_KEYSPAN_REMOTE is not set
1066# CONFIG_USB_APPLETOUCH is not set 1108# CONFIG_USB_APPLETOUCH is not set
1109# CONFIG_USB_TRANCEVIBRATOR is not set
1067 1110
1068# 1111#
1069# USB Imaging devices 1112# USB Imaging devices
@@ -1072,20 +1115,6 @@ CONFIG_USB_HIDINPUT=y
1072# CONFIG_USB_MICROTEK is not set 1115# CONFIG_USB_MICROTEK is not set
1073 1116
1074# 1117#
1075# USB Multimedia devices
1076#
1077CONFIG_USB_DABUSB=m
1078CONFIG_USB_VICAM=m
1079CONFIG_USB_DSBR=m
1080CONFIG_USB_IBMCAM=m
1081CONFIG_USB_KONICAWC=m
1082CONFIG_USB_OV511=m
1083CONFIG_USB_SE401=m
1084CONFIG_USB_SN9C102=m
1085CONFIG_USB_STV680=m
1086CONFIG_USB_PWC=m
1087
1088#
1089# USB Network Adapters 1118# USB Network Adapters
1090# 1119#
1091# CONFIG_USB_CATC is not set 1120# CONFIG_USB_CATC is not set
@@ -1104,7 +1133,9 @@ CONFIG_USB_MON=y
1104# 1133#
1105CONFIG_USB_SERIAL=m 1134CONFIG_USB_SERIAL=m
1106# CONFIG_USB_SERIAL_GENERIC is not set 1135# CONFIG_USB_SERIAL_GENERIC is not set
1136# CONFIG_USB_SERIAL_AIRCABLE is not set
1107# CONFIG_USB_SERIAL_AIRPRIME is not set 1137# CONFIG_USB_SERIAL_AIRPRIME is not set
1138# CONFIG_USB_SERIAL_ARK3116 is not set
1108# CONFIG_USB_SERIAL_BELKIN is not set 1139# CONFIG_USB_SERIAL_BELKIN is not set
1109# CONFIG_USB_SERIAL_WHITEHEAT is not set 1140# CONFIG_USB_SERIAL_WHITEHEAT is not set
1110# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set 1141# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
@@ -1112,6 +1143,7 @@ CONFIG_USB_SERIAL=m
1112# CONFIG_USB_SERIAL_CYPRESS_M8 is not set 1143# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
1113# CONFIG_USB_SERIAL_EMPEG is not set 1144# CONFIG_USB_SERIAL_EMPEG is not set
1114CONFIG_USB_SERIAL_FTDI_SIO=m 1145CONFIG_USB_SERIAL_FTDI_SIO=m
1146# CONFIG_USB_SERIAL_FUNSOFT is not set
1115# CONFIG_USB_SERIAL_VISOR is not set 1147# CONFIG_USB_SERIAL_VISOR is not set
1116# CONFIG_USB_SERIAL_IPAQ is not set 1148# CONFIG_USB_SERIAL_IPAQ is not set
1117# CONFIG_USB_SERIAL_IR is not set 1149# CONFIG_USB_SERIAL_IR is not set
@@ -1124,9 +1156,12 @@ CONFIG_USB_SERIAL_FTDI_SIO=m
1124# CONFIG_USB_SERIAL_KLSI is not set 1156# CONFIG_USB_SERIAL_KLSI is not set
1125# CONFIG_USB_SERIAL_KOBIL_SCT is not set 1157# CONFIG_USB_SERIAL_KOBIL_SCT is not set
1126# CONFIG_USB_SERIAL_MCT_U232 is not set 1158# CONFIG_USB_SERIAL_MCT_U232 is not set
1159# CONFIG_USB_SERIAL_MOS7840 is not set
1160# CONFIG_USB_SERIAL_NAVMAN is not set
1127CONFIG_USB_SERIAL_PL2303=m 1161CONFIG_USB_SERIAL_PL2303=m
1128# CONFIG_USB_SERIAL_HP4X is not set 1162# CONFIG_USB_SERIAL_HP4X is not set
1129# CONFIG_USB_SERIAL_SAFE is not set 1163# CONFIG_USB_SERIAL_SAFE is not set
1164# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
1130# CONFIG_USB_SERIAL_TI is not set 1165# CONFIG_USB_SERIAL_TI is not set
1131# CONFIG_USB_SERIAL_CYBERJACK is not set 1166# CONFIG_USB_SERIAL_CYBERJACK is not set
1132# CONFIG_USB_SERIAL_XIRCOM is not set 1167# CONFIG_USB_SERIAL_XIRCOM is not set
@@ -1138,15 +1173,18 @@ CONFIG_USB_SERIAL_PL2303=m
1138# 1173#
1139CONFIG_USB_EMI62=m 1174CONFIG_USB_EMI62=m
1140CONFIG_USB_EMI26=m 1175CONFIG_USB_EMI26=m
1176# CONFIG_USB_ADUTUX is not set
1141# CONFIG_USB_AUERSWALD is not set 1177# CONFIG_USB_AUERSWALD is not set
1142# CONFIG_USB_RIO500 is not set 1178# CONFIG_USB_RIO500 is not set
1143# CONFIG_USB_LEGOTOWER is not set 1179# CONFIG_USB_LEGOTOWER is not set
1144# CONFIG_USB_LCD is not set 1180# CONFIG_USB_LCD is not set
1145# CONFIG_USB_LED is not set 1181# CONFIG_USB_LED is not set
1182# CONFIG_USB_CYPRESS_CY7C63 is not set
1146# CONFIG_USB_CYTHERM is not set 1183# CONFIG_USB_CYTHERM is not set
1147# CONFIG_USB_PHIDGETKIT is not set 1184# CONFIG_USB_PHIDGET is not set
1148# CONFIG_USB_PHIDGETSERVO is not set
1149# CONFIG_USB_IDMOUSE is not set 1185# CONFIG_USB_IDMOUSE is not set
1186# CONFIG_USB_FTDI_ELAN is not set
1187# CONFIG_USB_APPLEDISPLAY is not set
1150CONFIG_USB_SISUSBVGA=m 1188CONFIG_USB_SISUSBVGA=m
1151CONFIG_USB_SISUSBVGA_CON=y 1189CONFIG_USB_SISUSBVGA_CON=y
1152# CONFIG_USB_LD is not set 1190# CONFIG_USB_LD is not set
@@ -1167,12 +1205,43 @@ CONFIG_USB_SISUSBVGA_CON=y
1167# CONFIG_MMC is not set 1205# CONFIG_MMC is not set
1168 1206
1169# 1207#
1208# LED devices
1209#
1210# CONFIG_NEW_LEDS is not set
1211
1212#
1213# LED drivers
1214#
1215
1216#
1217# LED Triggers
1218#
1219
1220#
1170# InfiniBand support 1221# InfiniBand support
1171# 1222#
1172# CONFIG_INFINIBAND is not set 1223# CONFIG_INFINIBAND is not set
1173 1224
1174# 1225#
1175# SN Devices 1226# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
1227#
1228
1229#
1230# Real Time Clock
1231#
1232# CONFIG_RTC_CLASS is not set
1233
1234#
1235# DMA Engine support
1236#
1237# CONFIG_DMA_ENGINE is not set
1238
1239#
1240# DMA Clients
1241#
1242
1243#
1244# DMA Devices
1176# 1245#
1177 1246
1178# 1247#
@@ -1195,9 +1264,11 @@ CONFIG_REISERFS_FS=y
1195# CONFIG_JFS_FS is not set 1264# CONFIG_JFS_FS is not set
1196# CONFIG_FS_POSIX_ACL is not set 1265# CONFIG_FS_POSIX_ACL is not set
1197# CONFIG_XFS_FS is not set 1266# CONFIG_XFS_FS is not set
1267# CONFIG_OCFS2_FS is not set
1198# CONFIG_MINIX_FS is not set 1268# CONFIG_MINIX_FS is not set
1199CONFIG_ROMFS_FS=y 1269CONFIG_ROMFS_FS=y
1200CONFIG_INOTIFY=y 1270CONFIG_INOTIFY=y
1271CONFIG_INOTIFY_USER=y
1201# CONFIG_QUOTA is not set 1272# CONFIG_QUOTA is not set
1202CONFIG_DNOTIFY=y 1273CONFIG_DNOTIFY=y
1203# CONFIG_AUTOFS_FS is not set 1274# CONFIG_AUTOFS_FS is not set
@@ -1229,12 +1300,14 @@ CONFIG_NTFS_RW=y
1229# 1300#
1230CONFIG_PROC_FS=y 1301CONFIG_PROC_FS=y
1231# CONFIG_PROC_KCORE is not set 1302# CONFIG_PROC_KCORE is not set
1303CONFIG_PROC_SYSCTL=y
1232CONFIG_SYSFS=y 1304CONFIG_SYSFS=y
1233CONFIG_TMPFS=y 1305CONFIG_TMPFS=y
1306# CONFIG_TMPFS_POSIX_ACL is not set
1234# CONFIG_HUGETLBFS is not set 1307# CONFIG_HUGETLBFS is not set
1235# CONFIG_HUGETLB_PAGE is not set 1308# CONFIG_HUGETLB_PAGE is not set
1236CONFIG_RAMFS=y 1309CONFIG_RAMFS=y
1237# CONFIG_RELAYFS_FS is not set 1310# CONFIG_CONFIGFS_FS is not set
1238 1311
1239# 1312#
1240# Miscellaneous filesystems 1313# Miscellaneous filesystems
@@ -1252,7 +1325,8 @@ CONFIG_RAMFS=y
1252# CONFIG_QNX4FS_FS is not set 1325# CONFIG_QNX4FS_FS is not set
1253# CONFIG_SYSV_FS is not set 1326# CONFIG_SYSV_FS is not set
1254CONFIG_UFS_FS=m 1327CONFIG_UFS_FS=m
1255CONFIG_UFS_FS_WRITE=y 1328# CONFIG_UFS_FS_WRITE is not set
1329# CONFIG_UFS_DEBUG is not set
1256 1330
1257# 1331#
1258# Network File Systems 1332# Network File Systems
@@ -1341,9 +1415,13 @@ CONFIG_NLS_CODEPAGE_932=y
1341# Kernel hacking 1415# Kernel hacking
1342# 1416#
1343# CONFIG_PRINTK_TIME is not set 1417# CONFIG_PRINTK_TIME is not set
1418CONFIG_ENABLE_MUST_CHECK=y
1419# CONFIG_MAGIC_SYSRQ is not set
1420# CONFIG_UNUSED_SYMBOLS is not set
1344# CONFIG_DEBUG_KERNEL is not set 1421# CONFIG_DEBUG_KERNEL is not set
1345CONFIG_LOG_BUF_SHIFT=14 1422CONFIG_LOG_BUF_SHIFT=14
1346# CONFIG_FRAME_POINTER is not set 1423# CONFIG_DEBUG_BUGVERBOSE is not set
1424# CONFIG_DEBUG_FS is not set
1347CONFIG_SH_STANDARD_BIOS=y 1425CONFIG_SH_STANDARD_BIOS=y
1348# CONFIG_EARLY_SCIF_CONSOLE is not set 1426# CONFIG_EARLY_SCIF_CONSOLE is not set
1349# CONFIG_EARLY_PRINTK is not set 1427# CONFIG_EARLY_PRINTK is not set
@@ -1361,13 +1439,12 @@ CONFIG_SH_STANDARD_BIOS=y
1361# CONFIG_CRYPTO is not set 1439# CONFIG_CRYPTO is not set
1362 1440
1363# 1441#
1364# Hardware crypto devices
1365#
1366
1367#
1368# Library routines 1442# Library routines
1369# 1443#
1370# CONFIG_CRC_CCITT is not set 1444# CONFIG_CRC_CCITT is not set
1371# CONFIG_CRC16 is not set 1445# CONFIG_CRC16 is not set
1372CONFIG_CRC32=y 1446CONFIG_CRC32=y
1373# CONFIG_LIBCRC32C is not set 1447# CONFIG_LIBCRC32C is not set
1448CONFIG_TEXTSEARCH=y
1449CONFIG_TEXTSEARCH_KMP=m
1450CONFIG_PLIST=y
diff --git a/arch/sh/configs/microdev_defconfig b/arch/sh/configs/microdev_defconfig
index ab3db76d1e51..e89d951c3c16 100644
--- a/arch/sh/configs/microdev_defconfig
+++ b/arch/sh/configs/microdev_defconfig
@@ -1,19 +1,21 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16-rc1 3# Linux kernel version: 2.6.18
4# Fri Jan 27 19:43:20 2006 4# Tue Oct 3 11:27:01 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
8CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
9CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
11 14
12# 15#
13# Code maturity level options 16# Code maturity level options
14# 17#
15CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
16CONFIG_CLEAN_COMPILE=y
17CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
18CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
19CONFIG_INIT_ENV_ARG_LIMIT=32 21CONFIG_INIT_ENV_ARG_LIMIT=32
@@ -28,13 +30,17 @@ CONFIG_SWAP=y
28# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
29CONFIG_BSD_PROCESS_ACCT=y 31CONFIG_BSD_PROCESS_ACCT=y
30# CONFIG_BSD_PROCESS_ACCT_V3 is not set 32# CONFIG_BSD_PROCESS_ACCT_V3 is not set
31CONFIG_SYSCTL=y 33# CONFIG_TASKSTATS is not set
34# CONFIG_UTS_NS is not set
32# CONFIG_AUDIT is not set 35# CONFIG_AUDIT is not set
33# CONFIG_IKCONFIG is not set 36# CONFIG_IKCONFIG is not set
37# CONFIG_RELAY is not set
34CONFIG_INITRAMFS_SOURCE="" 38CONFIG_INITRAMFS_SOURCE=""
35CONFIG_UID16=y
36# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SYSCTL=y
37CONFIG_EMBEDDED=y 41CONFIG_EMBEDDED=y
42CONFIG_UID16=y
43# CONFIG_SYSCTL_SYSCALL is not set
38CONFIG_KALLSYMS=y 44CONFIG_KALLSYMS=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 45# CONFIG_KALLSYMS_EXTRA_PASS is not set
40CONFIG_HOTPLUG=y 46CONFIG_HOTPLUG=y
@@ -45,11 +51,9 @@ CONFIG_BASE_FULL=y
45CONFIG_FUTEX=y 51CONFIG_FUTEX=y
46CONFIG_EPOLL=y 52CONFIG_EPOLL=y
47CONFIG_SHMEM=y 53CONFIG_SHMEM=y
48CONFIG_CC_ALIGN_FUNCTIONS=0
49CONFIG_CC_ALIGN_LABELS=0
50CONFIG_CC_ALIGN_LOOPS=0
51CONFIG_CC_ALIGN_JUMPS=0
52CONFIG_SLAB=y 54CONFIG_SLAB=y
55CONFIG_VM_EVENT_COUNTERS=y
56CONFIG_RT_MUTEXES=y
53# CONFIG_TINY_SHMEM is not set 57# CONFIG_TINY_SHMEM is not set
54CONFIG_BASE_SMALL=0 58CONFIG_BASE_SMALL=0
55# CONFIG_SLOB is not set 59# CONFIG_SLOB is not set
@@ -62,7 +66,10 @@ CONFIG_BASE_SMALL=0
62# 66#
63# Block layer 67# Block layer
64# 68#
69CONFIG_BLOCK=y
65# CONFIG_LBD is not set 70# CONFIG_LBD is not set
71# CONFIG_BLK_DEV_IO_TRACE is not set
72# CONFIG_LSF is not set
66 73
67# 74#
68# IO Schedulers 75# IO Schedulers
@@ -83,30 +90,26 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
83# CONFIG_SH_SOLUTION_ENGINE is not set 90# CONFIG_SH_SOLUTION_ENGINE is not set
84# CONFIG_SH_7751_SOLUTION_ENGINE is not set 91# CONFIG_SH_7751_SOLUTION_ENGINE is not set
85# CONFIG_SH_7300_SOLUTION_ENGINE is not set 92# CONFIG_SH_7300_SOLUTION_ENGINE is not set
93# CONFIG_SH_7343_SOLUTION_ENGINE is not set
86# CONFIG_SH_73180_SOLUTION_ENGINE is not set 94# CONFIG_SH_73180_SOLUTION_ENGINE is not set
87# CONFIG_SH_7751_SYSTEMH is not set 95# CONFIG_SH_7751_SYSTEMH is not set
88# CONFIG_SH_STB1_HARP is not set
89# CONFIG_SH_STB1_OVERDRIVE is not set
90# CONFIG_SH_HP6XX is not set 96# CONFIG_SH_HP6XX is not set
91# CONFIG_SH_CQREEK is not set
92# CONFIG_SH_DMIDA is not set
93# CONFIG_SH_EC3104 is not set 97# CONFIG_SH_EC3104 is not set
94# CONFIG_SH_SATURN is not set 98# CONFIG_SH_SATURN is not set
95# CONFIG_SH_DREAMCAST is not set 99# CONFIG_SH_DREAMCAST is not set
96# CONFIG_SH_CAT68701 is not set
97# CONFIG_SH_BIGSUR is not set 100# CONFIG_SH_BIGSUR is not set
98# CONFIG_SH_SH2000 is not set
99# CONFIG_SH_ADX is not set
100# CONFIG_SH_MPC1211 is not set 101# CONFIG_SH_MPC1211 is not set
101# CONFIG_SH_SH03 is not set 102# CONFIG_SH_SH03 is not set
102# CONFIG_SH_SECUREEDGE5410 is not set 103# CONFIG_SH_SECUREEDGE5410 is not set
103# CONFIG_SH_HS7751RVOIP is not set 104# CONFIG_SH_HS7751RVOIP is not set
105# CONFIG_SH_7710VOIPGW is not set
104# CONFIG_SH_RTS7751R2D is not set 106# CONFIG_SH_RTS7751R2D is not set
105# CONFIG_SH_R7780RP is not set 107# CONFIG_SH_R7780RP is not set
106# CONFIG_SH_EDOSK7705 is not set 108# CONFIG_SH_EDOSK7705 is not set
107CONFIG_SH_SH4202_MICRODEV=y 109CONFIG_SH_SH4202_MICRODEV=y
108# CONFIG_SH_LANDISK is not set 110# CONFIG_SH_LANDISK is not set
109# CONFIG_SH_TITAN is not set 111# CONFIG_SH_TITAN is not set
112# CONFIG_SH_SHMIN is not set
110# CONFIG_SH_UNKNOWN is not set 113# CONFIG_SH_UNKNOWN is not set
111 114
112# 115#
@@ -124,9 +127,11 @@ CONFIG_CPU_SH4=y
124# 127#
125# CONFIG_CPU_SUBTYPE_SH7300 is not set 128# CONFIG_CPU_SUBTYPE_SH7300 is not set
126# CONFIG_CPU_SUBTYPE_SH7705 is not set 129# CONFIG_CPU_SUBTYPE_SH7705 is not set
130# CONFIG_CPU_SUBTYPE_SH7706 is not set
127# CONFIG_CPU_SUBTYPE_SH7707 is not set 131# CONFIG_CPU_SUBTYPE_SH7707 is not set
128# CONFIG_CPU_SUBTYPE_SH7708 is not set 132# CONFIG_CPU_SUBTYPE_SH7708 is not set
129# CONFIG_CPU_SUBTYPE_SH7709 is not set 133# CONFIG_CPU_SUBTYPE_SH7709 is not set
134# CONFIG_CPU_SUBTYPE_SH7710 is not set
130 135
131# 136#
132# SH-4 Processor Support 137# SH-4 Processor Support
@@ -149,14 +154,25 @@ CONFIG_CPU_SUBTYPE_SH4_202=y
149# 154#
150# SH-4A Processor Support 155# SH-4A Processor Support
151# 156#
152# CONFIG_CPU_SUBTYPE_SH73180 is not set
153# CONFIG_CPU_SUBTYPE_SH7770 is not set 157# CONFIG_CPU_SUBTYPE_SH7770 is not set
154# CONFIG_CPU_SUBTYPE_SH7780 is not set 158# CONFIG_CPU_SUBTYPE_SH7780 is not set
155 159
156# 160#
161# SH4AL-DSP Processor Support
162#
163# CONFIG_CPU_SUBTYPE_SH73180 is not set
164# CONFIG_CPU_SUBTYPE_SH7343 is not set
165
166#
157# Memory management options 167# Memory management options
158# 168#
159CONFIG_MMU=y 169CONFIG_MMU=y
170CONFIG_PAGE_OFFSET=0x80000000
171CONFIG_MEMORY_START=0x08000000
172CONFIG_MEMORY_SIZE=0x04000000
173CONFIG_VSYSCALL=y
174CONFIG_HUGETLB_PAGE_SIZE_64K=y
175# CONFIG_HUGETLB_PAGE_SIZE_1MB is not set
160CONFIG_SELECT_MEMORY_MODEL=y 176CONFIG_SELECT_MEMORY_MODEL=y
161CONFIG_FLATMEM_MANUAL=y 177CONFIG_FLATMEM_MANUAL=y
162# CONFIG_DISCONTIGMEM_MANUAL is not set 178# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -165,22 +181,21 @@ CONFIG_FLATMEM=y
165CONFIG_FLAT_NODE_MEM_MAP=y 181CONFIG_FLAT_NODE_MEM_MAP=y
166# CONFIG_SPARSEMEM_STATIC is not set 182# CONFIG_SPARSEMEM_STATIC is not set
167CONFIG_SPLIT_PTLOCK_CPUS=4 183CONFIG_SPLIT_PTLOCK_CPUS=4
184# CONFIG_RESOURCES_64BIT is not set
168 185
169# 186#
170# Cache configuration 187# Cache configuration
171# 188#
172# CONFIG_SH_DIRECT_MAPPED is not set 189# CONFIG_SH_DIRECT_MAPPED is not set
173# CONFIG_SH_WRITETHROUGH is not set 190CONFIG_SH_WRITETHROUGH=y
174# CONFIG_SH_OCRAM is not set 191# CONFIG_SH_OCRAM is not set
175CONFIG_MEMORY_START=0x08000000
176CONFIG_MEMORY_SIZE=0x04000000
177 192
178# 193#
179# Processor features 194# Processor features
180# 195#
181CONFIG_CPU_LITTLE_ENDIAN=y 196CONFIG_CPU_LITTLE_ENDIAN=y
182CONFIG_SH_RTC=y
183CONFIG_SH_FPU=y 197CONFIG_SH_FPU=y
198# CONFIG_SH_DSP is not set
184# CONFIG_SH_STORE_QUEUES is not set 199# CONFIG_SH_STORE_QUEUES is not set
185CONFIG_CPU_HAS_INTEVT=y 200CONFIG_CPU_HAS_INTEVT=y
186CONFIG_CPU_HAS_SR_RB=y 201CONFIG_CPU_HAS_SR_RB=y
@@ -212,9 +227,16 @@ CONFIG_HEARTBEAT=y
212# 227#
213# Kernel features 228# Kernel features
214# 229#
230# CONFIG_HZ_100 is not set
231CONFIG_HZ_250=y
232# CONFIG_HZ_1000 is not set
233CONFIG_HZ=250
215# CONFIG_KEXEC is not set 234# CONFIG_KEXEC is not set
216CONFIG_PREEMPT=y
217# CONFIG_SMP is not set 235# CONFIG_SMP is not set
236# CONFIG_PREEMPT_NONE is not set
237# CONFIG_PREEMPT_VOLUNTARY is not set
238CONFIG_PREEMPT=y
239CONFIG_PREEMPT_BKL=y
218 240
219# 241#
220# Boot options 242# Boot options
@@ -223,12 +245,12 @@ CONFIG_ZERO_PAGE_OFFSET=0x00001000
223CONFIG_BOOT_LINK_OFFSET=0x00800000 245CONFIG_BOOT_LINK_OFFSET=0x00800000
224# CONFIG_UBC_WAKEUP is not set 246# CONFIG_UBC_WAKEUP is not set
225CONFIG_CMDLINE_BOOL=y 247CONFIG_CMDLINE_BOOL=y
226CONFIG_CMDLINE="console=ttySC0,115200" 248CONFIG_CMDLINE="console=ttySC0,115200 root=/dev/hda1"
227 249
228# 250#
229# Bus options 251# Bus options
230# 252#
231# CONFIG_SUPERHYWAY is not set 253CONFIG_SUPERHYWAY=y
232# CONFIG_PCI is not set 254# CONFIG_PCI is not set
233 255
234# 256#
@@ -248,6 +270,11 @@ CONFIG_BINFMT_ELF=y
248# CONFIG_BINFMT_MISC is not set 270# CONFIG_BINFMT_MISC is not set
249 271
250# 272#
273# Power management options (EXPERIMENTAL)
274#
275# CONFIG_PM is not set
276
277#
251# Networking 278# Networking
252# 279#
253CONFIG_NET=y 280CONFIG_NET=y
@@ -255,15 +282,19 @@ CONFIG_NET=y
255# 282#
256# Networking options 283# Networking options
257# 284#
285# CONFIG_NETDEBUG is not set
258# CONFIG_PACKET is not set 286# CONFIG_PACKET is not set
259# CONFIG_UNIX is not set 287# CONFIG_UNIX is not set
288CONFIG_XFRM=y
289# CONFIG_XFRM_USER is not set
290# CONFIG_XFRM_SUB_POLICY is not set
260# CONFIG_NET_KEY is not set 291# CONFIG_NET_KEY is not set
261CONFIG_INET=y 292CONFIG_INET=y
262# CONFIG_IP_MULTICAST is not set 293# CONFIG_IP_MULTICAST is not set
263# CONFIG_IP_ADVANCED_ROUTER is not set 294# CONFIG_IP_ADVANCED_ROUTER is not set
264CONFIG_IP_FIB_HASH=y 295CONFIG_IP_FIB_HASH=y
265CONFIG_IP_PNP=y 296CONFIG_IP_PNP=y
266CONFIG_IP_PNP_DHCP=y 297# CONFIG_IP_PNP_DHCP is not set
267# CONFIG_IP_PNP_BOOTP is not set 298# CONFIG_IP_PNP_BOOTP is not set
268# CONFIG_IP_PNP_RARP is not set 299# CONFIG_IP_PNP_RARP is not set
269# CONFIG_NET_IPIP is not set 300# CONFIG_NET_IPIP is not set
@@ -273,12 +304,19 @@ CONFIG_IP_PNP_DHCP=y
273# CONFIG_INET_AH is not set 304# CONFIG_INET_AH is not set
274# CONFIG_INET_ESP is not set 305# CONFIG_INET_ESP is not set
275# CONFIG_INET_IPCOMP is not set 306# CONFIG_INET_IPCOMP is not set
307# CONFIG_INET_XFRM_TUNNEL is not set
276# CONFIG_INET_TUNNEL is not set 308# CONFIG_INET_TUNNEL is not set
309CONFIG_INET_XFRM_MODE_TRANSPORT=y
310CONFIG_INET_XFRM_MODE_TUNNEL=y
277CONFIG_INET_DIAG=y 311CONFIG_INET_DIAG=y
278CONFIG_INET_TCP_DIAG=y 312CONFIG_INET_TCP_DIAG=y
279# CONFIG_TCP_CONG_ADVANCED is not set 313# CONFIG_TCP_CONG_ADVANCED is not set
280CONFIG_TCP_CONG_BIC=y 314CONFIG_TCP_CONG_CUBIC=y
315CONFIG_DEFAULT_TCP_CONG="cubic"
281# CONFIG_IPV6 is not set 316# CONFIG_IPV6 is not set
317# CONFIG_INET6_XFRM_TUNNEL is not set
318# CONFIG_INET6_TUNNEL is not set
319# CONFIG_NETWORK_SECMARK is not set
282# CONFIG_NETFILTER is not set 320# CONFIG_NETFILTER is not set
283 321
284# 322#
@@ -304,7 +342,6 @@ CONFIG_TCP_CONG_BIC=y
304# CONFIG_ATALK is not set 342# CONFIG_ATALK is not set
305# CONFIG_X25 is not set 343# CONFIG_X25 is not set
306# CONFIG_LAPB is not set 344# CONFIG_LAPB is not set
307# CONFIG_NET_DIVERT is not set
308# CONFIG_ECONET is not set 345# CONFIG_ECONET is not set
309# CONFIG_WAN_ROUTER is not set 346# CONFIG_WAN_ROUTER is not set
310 347
@@ -332,6 +369,7 @@ CONFIG_TCP_CONG_BIC=y
332CONFIG_STANDALONE=y 369CONFIG_STANDALONE=y
333CONFIG_PREVENT_FIRMWARE_BUILD=y 370CONFIG_PREVENT_FIRMWARE_BUILD=y
334# CONFIG_FW_LOADER is not set 371# CONFIG_FW_LOADER is not set
372# CONFIG_SYS_HYPERVISOR is not set
335 373
336# 374#
337# Connector - unified userspace <-> kernelspace linker 375# Connector - unified userspace <-> kernelspace linker
@@ -361,6 +399,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
361CONFIG_BLK_DEV_RAM=y 399CONFIG_BLK_DEV_RAM=y
362CONFIG_BLK_DEV_RAM_COUNT=16 400CONFIG_BLK_DEV_RAM_COUNT=16
363CONFIG_BLK_DEV_RAM_SIZE=4096 401CONFIG_BLK_DEV_RAM_SIZE=4096
402CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
364CONFIG_BLK_DEV_INITRD=y 403CONFIG_BLK_DEV_INITRD=y
365# CONFIG_CDROM_PKTCDVD is not set 404# CONFIG_CDROM_PKTCDVD is not set
366# CONFIG_ATA_OVER_ETH is not set 405# CONFIG_ATA_OVER_ETH is not set
@@ -397,6 +436,12 @@ CONFIG_IDE_GENERIC=y
397# 436#
398# CONFIG_RAID_ATTRS is not set 437# CONFIG_RAID_ATTRS is not set
399# CONFIG_SCSI is not set 438# CONFIG_SCSI is not set
439# CONFIG_SCSI_NETLINK is not set
440
441#
442# Serial ATA (prod) and Parallel ATA (experimental) drivers
443#
444# CONFIG_ATA is not set
400 445
401# 446#
402# Multi-device support (RAID and LVM) 447# Multi-device support (RAID and LVM)
@@ -502,6 +547,7 @@ CONFIG_SMC91X=y
502# Non-8250 serial port support 547# Non-8250 serial port support
503# 548#
504CONFIG_SERIAL_SH_SCI=y 549CONFIG_SERIAL_SH_SCI=y
550CONFIG_SERIAL_SH_SCI_NR_UARTS=2
505CONFIG_SERIAL_SH_SCI_CONSOLE=y 551CONFIG_SERIAL_SH_SCI_CONSOLE=y
506CONFIG_SERIAL_CORE=y 552CONFIG_SERIAL_CORE=y
507CONFIG_SERIAL_CORE_CONSOLE=y 553CONFIG_SERIAL_CORE_CONSOLE=y
@@ -518,7 +564,8 @@ CONFIG_LEGACY_PTY_COUNT=256
518# Watchdog Cards 564# Watchdog Cards
519# 565#
520# CONFIG_WATCHDOG is not set 566# CONFIG_WATCHDOG is not set
521CONFIG_RTC=y 567CONFIG_HW_RANDOM=y
568# CONFIG_GEN_RTC is not set
522# CONFIG_DTLK is not set 569# CONFIG_DTLK is not set
523# CONFIG_R3964 is not set 570# CONFIG_R3964 is not set
524 571
@@ -547,13 +594,15 @@ CONFIG_RTC=y
547# 594#
548# Dallas's 1-wire bus 595# Dallas's 1-wire bus
549# 596#
550# CONFIG_W1 is not set
551 597
552# 598#
553# Hardware Monitoring support 599# Hardware Monitoring support
554# 600#
555CONFIG_HWMON=y 601CONFIG_HWMON=y
556# CONFIG_HWMON_VID is not set 602# CONFIG_HWMON_VID is not set
603# CONFIG_SENSORS_ABITUGURU is not set
604# CONFIG_SENSORS_F71805F is not set
605# CONFIG_SENSORS_VT1211 is not set
557# CONFIG_HWMON_DEBUG_CHIP is not set 606# CONFIG_HWMON_DEBUG_CHIP is not set
558 607
559# 608#
@@ -561,13 +610,10 @@ CONFIG_HWMON=y
561# 610#
562 611
563# 612#
564# Multimedia Capabilities Port drivers
565#
566
567#
568# Multimedia devices 613# Multimedia devices
569# 614#
570# CONFIG_VIDEO_DEV is not set 615# CONFIG_VIDEO_DEV is not set
616CONFIG_VIDEO_V4L2=y
571 617
572# 618#
573# Digital Video Broadcasting Devices 619# Digital Video Broadcasting Devices
@@ -577,7 +623,9 @@ CONFIG_HWMON=y
577# 623#
578# Graphics support 624# Graphics support
579# 625#
626CONFIG_FIRMWARE_EDID=y
580# CONFIG_FB is not set 627# CONFIG_FB is not set
628# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
581 629
582# 630#
583# Sound 631# Sound
@@ -589,6 +637,7 @@ CONFIG_HWMON=y
589# 637#
590# CONFIG_USB_ARCH_HAS_HCD is not set 638# CONFIG_USB_ARCH_HAS_HCD is not set
591# CONFIG_USB_ARCH_HAS_OHCI is not set 639# CONFIG_USB_ARCH_HAS_OHCI is not set
640# CONFIG_USB_ARCH_HAS_EHCI is not set
592 641
593# 642#
594# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 643# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -605,15 +654,42 @@ CONFIG_HWMON=y
605# CONFIG_MMC is not set 654# CONFIG_MMC is not set
606 655
607# 656#
657# LED devices
658#
659# CONFIG_NEW_LEDS is not set
660
661#
662# LED drivers
663#
664
665#
666# LED Triggers
667#
668
669#
608# InfiniBand support 670# InfiniBand support
609# 671#
610 672
611# 673#
612# SN Devices 674# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
675#
676
677#
678# Real Time Clock
679#
680# CONFIG_RTC_CLASS is not set
681
682#
683# DMA Engine support
684#
685# CONFIG_DMA_ENGINE is not set
686
687#
688# DMA Clients
613# 689#
614 690
615# 691#
616# EDAC - error detection and reporting (RAS) 692# DMA Devices
617# 693#
618 694
619# 695#
@@ -637,6 +713,7 @@ CONFIG_FS_MBCACHE=y
637# CONFIG_MINIX_FS is not set 713# CONFIG_MINIX_FS is not set
638# CONFIG_ROMFS_FS is not set 714# CONFIG_ROMFS_FS is not set
639CONFIG_INOTIFY=y 715CONFIG_INOTIFY=y
716CONFIG_INOTIFY_USER=y
640# CONFIG_QUOTA is not set 717# CONFIG_QUOTA is not set
641CONFIG_DNOTIFY=y 718CONFIG_DNOTIFY=y
642# CONFIG_AUTOFS_FS is not set 719# CONFIG_AUTOFS_FS is not set
@@ -664,12 +741,13 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
664# 741#
665CONFIG_PROC_FS=y 742CONFIG_PROC_FS=y
666CONFIG_PROC_KCORE=y 743CONFIG_PROC_KCORE=y
744CONFIG_PROC_SYSCTL=y
667CONFIG_SYSFS=y 745CONFIG_SYSFS=y
668CONFIG_TMPFS=y 746CONFIG_TMPFS=y
669# CONFIG_HUGETLBFS is not set 747# CONFIG_TMPFS_POSIX_ACL is not set
670# CONFIG_HUGETLB_PAGE is not set 748CONFIG_HUGETLBFS=y
749CONFIG_HUGETLB_PAGE=y
671CONFIG_RAMFS=y 750CONFIG_RAMFS=y
672# CONFIG_RELAYFS_FS is not set
673# CONFIG_CONFIGFS_FS is not set 751# CONFIG_CONFIGFS_FS is not set
674 752
675# 753#
@@ -772,10 +850,14 @@ CONFIG_NLS_DEFAULT="iso8859-1"
772# Kernel hacking 850# Kernel hacking
773# 851#
774# CONFIG_PRINTK_TIME is not set 852# CONFIG_PRINTK_TIME is not set
853CONFIG_ENABLE_MUST_CHECK=y
775# CONFIG_MAGIC_SYSRQ is not set 854# CONFIG_MAGIC_SYSRQ is not set
855# CONFIG_UNUSED_SYMBOLS is not set
776# CONFIG_DEBUG_KERNEL is not set 856# CONFIG_DEBUG_KERNEL is not set
777CONFIG_LOG_BUF_SHIFT=14 857CONFIG_LOG_BUF_SHIFT=14
778# CONFIG_FRAME_POINTER is not set 858# CONFIG_DEBUG_BUGVERBOSE is not set
859# CONFIG_DEBUG_FS is not set
860# CONFIG_UNWIND_INFO is not set
779# CONFIG_SH_STANDARD_BIOS is not set 861# CONFIG_SH_STANDARD_BIOS is not set
780# CONFIG_EARLY_SCIF_CONSOLE is not set 862# CONFIG_EARLY_SCIF_CONSOLE is not set
781# CONFIG_KGDB is not set 863# CONFIG_KGDB is not set
@@ -790,6 +872,9 @@ CONFIG_LOG_BUF_SHIFT=14
790# Cryptographic options 872# Cryptographic options
791# 873#
792CONFIG_CRYPTO=y 874CONFIG_CRYPTO=y
875CONFIG_CRYPTO_ALGAPI=y
876CONFIG_CRYPTO_BLKCIPHER=y
877CONFIG_CRYPTO_MANAGER=y
793# CONFIG_CRYPTO_HMAC is not set 878# CONFIG_CRYPTO_HMAC is not set
794# CONFIG_CRYPTO_NULL is not set 879# CONFIG_CRYPTO_NULL is not set
795# CONFIG_CRYPTO_MD4 is not set 880# CONFIG_CRYPTO_MD4 is not set
@@ -799,6 +884,8 @@ CONFIG_CRYPTO_MD5=y
799# CONFIG_CRYPTO_SHA512 is not set 884# CONFIG_CRYPTO_SHA512 is not set
800# CONFIG_CRYPTO_WP512 is not set 885# CONFIG_CRYPTO_WP512 is not set
801# CONFIG_CRYPTO_TGR192 is not set 886# CONFIG_CRYPTO_TGR192 is not set
887CONFIG_CRYPTO_ECB=y
888CONFIG_CRYPTO_CBC=y
802CONFIG_CRYPTO_DES=y 889CONFIG_CRYPTO_DES=y
803# CONFIG_CRYPTO_BLOWFISH is not set 890# CONFIG_CRYPTO_BLOWFISH is not set
804# CONFIG_CRYPTO_TWOFISH is not set 891# CONFIG_CRYPTO_TWOFISH is not set
@@ -813,7 +900,6 @@ CONFIG_CRYPTO_DES=y
813# CONFIG_CRYPTO_DEFLATE is not set 900# CONFIG_CRYPTO_DEFLATE is not set
814# CONFIG_CRYPTO_MICHAEL_MIC is not set 901# CONFIG_CRYPTO_MICHAEL_MIC is not set
815# CONFIG_CRYPTO_CRC32C is not set 902# CONFIG_CRYPTO_CRC32C is not set
816# CONFIG_CRYPTO_TEST is not set
817 903
818# 904#
819# Hardware crypto devices 905# Hardware crypto devices
@@ -826,3 +912,4 @@ CONFIG_CRYPTO_DES=y
826# CONFIG_CRC16 is not set 912# CONFIG_CRC16 is not set
827CONFIG_CRC32=y 913CONFIG_CRC32=y
828# CONFIG_LIBCRC32C is not set 914# CONFIG_LIBCRC32C is not set
915CONFIG_PLIST=y
diff --git a/arch/sh/configs/r7780rp_defconfig b/arch/sh/configs/r7780rp_defconfig
index d597fc571549..2470364948e7 100644
--- a/arch/sh/configs/r7780rp_defconfig
+++ b/arch/sh/configs/r7780rp_defconfig
@@ -1,20 +1,21 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.15-sh 3# Linux kernel version: 2.6.18
4# Sat Jan 7 19:47:53 2006 4# Tue Oct 3 11:32:47 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
19CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
20CONFIG_INIT_ENV_ARG_LIMIT=32 21CONFIG_INIT_ENV_ARG_LIMIT=32
@@ -26,33 +27,38 @@ CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y 27CONFIG_LOCALVERSION_AUTO=y
27CONFIG_SWAP=y 28CONFIG_SWAP=y
28CONFIG_SYSVIPC=y 29CONFIG_SYSVIPC=y
30# CONFIG_IPC_NS is not set
29# CONFIG_POSIX_MQUEUE is not set 31# CONFIG_POSIX_MQUEUE is not set
30CONFIG_BSD_PROCESS_ACCT=y 32CONFIG_BSD_PROCESS_ACCT=y
31# CONFIG_BSD_PROCESS_ACCT_V3 is not set 33# CONFIG_BSD_PROCESS_ACCT_V3 is not set
32CONFIG_SYSCTL=y 34# CONFIG_TASKSTATS is not set
35# CONFIG_UTS_NS is not set
33# CONFIG_AUDIT is not set 36# CONFIG_AUDIT is not set
34CONFIG_HOTPLUG=y
35CONFIG_KOBJECT_UEVENT=y
36CONFIG_IKCONFIG=y 37CONFIG_IKCONFIG=y
37CONFIG_IKCONFIG_PROC=y 38CONFIG_IKCONFIG_PROC=y
39# CONFIG_RELAY is not set
38CONFIG_INITRAMFS_SOURCE="" 40CONFIG_INITRAMFS_SOURCE=""
39CONFIG_CC_OPTIMIZE_FOR_SIZE=y 41CONFIG_CC_OPTIMIZE_FOR_SIZE=y
42CONFIG_SYSCTL=y
40CONFIG_EMBEDDED=y 43CONFIG_EMBEDDED=y
44CONFIG_UID16=y
45# CONFIG_SYSCTL_SYSCALL is not set
41CONFIG_KALLSYMS=y 46CONFIG_KALLSYMS=y
42# CONFIG_KALLSYMS_ALL is not set 47# CONFIG_KALLSYMS_ALL is not set
43# CONFIG_KALLSYMS_EXTRA_PASS is not set 48# CONFIG_KALLSYMS_EXTRA_PASS is not set
49CONFIG_HOTPLUG=y
44CONFIG_PRINTK=y 50CONFIG_PRINTK=y
45CONFIG_BUG=y 51CONFIG_BUG=y
52CONFIG_ELF_CORE=y
46CONFIG_BASE_FULL=y 53CONFIG_BASE_FULL=y
47# CONFIG_FUTEX is not set 54# CONFIG_FUTEX is not set
48# CONFIG_EPOLL is not set 55# CONFIG_EPOLL is not set
49CONFIG_SHMEM=y 56CONFIG_SHMEM=y
50CONFIG_CC_ALIGN_FUNCTIONS=0 57CONFIG_SLAB=y
51CONFIG_CC_ALIGN_LABELS=0 58CONFIG_VM_EVENT_COUNTERS=y
52CONFIG_CC_ALIGN_LOOPS=0
53CONFIG_CC_ALIGN_JUMPS=0
54# CONFIG_TINY_SHMEM is not set 59# CONFIG_TINY_SHMEM is not set
55CONFIG_BASE_SMALL=0 60CONFIG_BASE_SMALL=0
61# CONFIG_SLOB is not set
56 62
57# 63#
58# Loadable module support 64# Loadable module support
@@ -60,7 +66,6 @@ CONFIG_BASE_SMALL=0
60CONFIG_MODULES=y 66CONFIG_MODULES=y
61CONFIG_MODULE_UNLOAD=y 67CONFIG_MODULE_UNLOAD=y
62# CONFIG_MODULE_FORCE_UNLOAD is not set 68# CONFIG_MODULE_FORCE_UNLOAD is not set
63CONFIG_OBSOLETE_MODPARM=y
64# CONFIG_MODVERSIONS is not set 69# CONFIG_MODVERSIONS is not set
65# CONFIG_MODULE_SRCVERSION_ALL is not set 70# CONFIG_MODULE_SRCVERSION_ALL is not set
66CONFIG_KMOD=y 71CONFIG_KMOD=y
@@ -68,7 +73,10 @@ CONFIG_KMOD=y
68# 73#
69# Block layer 74# Block layer
70# 75#
76CONFIG_BLOCK=y
71# CONFIG_LBD is not set 77# CONFIG_LBD is not set
78# CONFIG_BLK_DEV_IO_TRACE is not set
79# CONFIG_LSF is not set
72 80
73# 81#
74# IO Schedulers 82# IO Schedulers
@@ -89,31 +97,26 @@ CONFIG_DEFAULT_IOSCHED="noop"
89# CONFIG_SH_SOLUTION_ENGINE is not set 97# CONFIG_SH_SOLUTION_ENGINE is not set
90# CONFIG_SH_7751_SOLUTION_ENGINE is not set 98# CONFIG_SH_7751_SOLUTION_ENGINE is not set
91# CONFIG_SH_7300_SOLUTION_ENGINE is not set 99# CONFIG_SH_7300_SOLUTION_ENGINE is not set
100# CONFIG_SH_7343_SOLUTION_ENGINE is not set
92# CONFIG_SH_73180_SOLUTION_ENGINE is not set 101# CONFIG_SH_73180_SOLUTION_ENGINE is not set
93# CONFIG_SH_7751_SYSTEMH is not set 102# CONFIG_SH_7751_SYSTEMH is not set
94# CONFIG_SH_STB1_HARP is not set
95# CONFIG_SH_STB1_OVERDRIVE is not set
96# CONFIG_SH_HP6XX is not set 103# CONFIG_SH_HP6XX is not set
97# CONFIG_SH_CQREEK is not set
98# CONFIG_SH_DMIDA is not set
99# CONFIG_SH_EC3104 is not set 104# CONFIG_SH_EC3104 is not set
100# CONFIG_SH_SATURN is not set 105# CONFIG_SH_SATURN is not set
101# CONFIG_SH_DREAMCAST is not set 106# CONFIG_SH_DREAMCAST is not set
102# CONFIG_SH_CAT68701 is not set
103# CONFIG_SH_BIGSUR is not set 107# CONFIG_SH_BIGSUR is not set
104# CONFIG_SH_SH2000 is not set
105# CONFIG_SH_ADX is not set
106# CONFIG_SH_MPC1211 is not set 108# CONFIG_SH_MPC1211 is not set
107# CONFIG_SH_SH03 is not set 109# CONFIG_SH_SH03 is not set
108# CONFIG_SH_SECUREEDGE5410 is not set 110# CONFIG_SH_SECUREEDGE5410 is not set
109# CONFIG_SH_HS7751RVOIP is not set 111# CONFIG_SH_HS7751RVOIP is not set
112# CONFIG_SH_7710VOIPGW is not set
110# CONFIG_SH_RTS7751R2D is not set 113# CONFIG_SH_RTS7751R2D is not set
111# CONFIG_SH_R77703DRP is not set
112CONFIG_SH_R7780RP=y 114CONFIG_SH_R7780RP=y
113# CONFIG_SH_EDOSK7705 is not set 115# CONFIG_SH_EDOSK7705 is not set
114# CONFIG_SH_SH4202_MICRODEV is not set 116# CONFIG_SH_SH4202_MICRODEV is not set
115# CONFIG_SH_LANDISK is not set 117# CONFIG_SH_LANDISK is not set
116# CONFIG_SH_TITAN is not set 118# CONFIG_SH_TITAN is not set
119# CONFIG_SH_SHMIN is not set
117# CONFIG_SH_UNKNOWN is not set 120# CONFIG_SH_UNKNOWN is not set
118 121
119# 122#
@@ -132,9 +135,11 @@ CONFIG_CPU_SH4A=y
132# 135#
133# CONFIG_CPU_SUBTYPE_SH7300 is not set 136# CONFIG_CPU_SUBTYPE_SH7300 is not set
134# CONFIG_CPU_SUBTYPE_SH7705 is not set 137# CONFIG_CPU_SUBTYPE_SH7705 is not set
138# CONFIG_CPU_SUBTYPE_SH7706 is not set
135# CONFIG_CPU_SUBTYPE_SH7707 is not set 139# CONFIG_CPU_SUBTYPE_SH7707 is not set
136# CONFIG_CPU_SUBTYPE_SH7708 is not set 140# CONFIG_CPU_SUBTYPE_SH7708 is not set
137# CONFIG_CPU_SUBTYPE_SH7709 is not set 141# CONFIG_CPU_SUBTYPE_SH7709 is not set
142# CONFIG_CPU_SUBTYPE_SH7710 is not set
138 143
139# 144#
140# SH-4 Processor Support 145# SH-4 Processor Support
@@ -157,15 +162,24 @@ CONFIG_CPU_SH4A=y
157# 162#
158# SH-4A Processor Support 163# SH-4A Processor Support
159# 164#
160# CONFIG_CPU_SUBTYPE_SH73180 is not set
161# CONFIG_CPU_SUBTYPE_SH7770 is not set 165# CONFIG_CPU_SUBTYPE_SH7770 is not set
162CONFIG_CPU_SUBTYPE_SH7780=y 166CONFIG_CPU_SUBTYPE_SH7780=y
163 167
164# 168#
169# SH4AL-DSP Processor Support
170#
171# CONFIG_CPU_SUBTYPE_SH73180 is not set
172# CONFIG_CPU_SUBTYPE_SH7343 is not set
173
174#
165# Memory management options 175# Memory management options
166# 176#
167CONFIG_MMU=y 177CONFIG_MMU=y
178CONFIG_PAGE_OFFSET=0x80000000
179CONFIG_MEMORY_START=0x08000000
180CONFIG_MEMORY_SIZE=0x08000000
168CONFIG_32BIT=y 181CONFIG_32BIT=y
182CONFIG_VSYSCALL=y
169CONFIG_HUGETLB_PAGE_SIZE_64K=y 183CONFIG_HUGETLB_PAGE_SIZE_64K=y
170# CONFIG_HUGETLB_PAGE_SIZE_1MB is not set 184# CONFIG_HUGETLB_PAGE_SIZE_1MB is not set
171CONFIG_SELECT_MEMORY_MODEL=y 185CONFIG_SELECT_MEMORY_MODEL=y
@@ -176,6 +190,7 @@ CONFIG_FLATMEM=y
176CONFIG_FLAT_NODE_MEM_MAP=y 190CONFIG_FLAT_NODE_MEM_MAP=y
177# CONFIG_SPARSEMEM_STATIC is not set 191# CONFIG_SPARSEMEM_STATIC is not set
178CONFIG_SPLIT_PTLOCK_CPUS=4 192CONFIG_SPLIT_PTLOCK_CPUS=4
193# CONFIG_RESOURCES_64BIT is not set
179 194
180# 195#
181# Cache configuration 196# Cache configuration
@@ -183,21 +198,27 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
183# CONFIG_SH_DIRECT_MAPPED is not set 198# CONFIG_SH_DIRECT_MAPPED is not set
184# CONFIG_SH_WRITETHROUGH is not set 199# CONFIG_SH_WRITETHROUGH is not set
185# CONFIG_SH_OCRAM is not set 200# CONFIG_SH_OCRAM is not set
186CONFIG_MEMORY_START=0x08000000
187CONFIG_MEMORY_SIZE=0x08000000
188 201
189# 202#
190# Processor features 203# Processor features
191# 204#
192CONFIG_CPU_LITTLE_ENDIAN=y 205CONFIG_CPU_LITTLE_ENDIAN=y
193CONFIG_SH_FPU=y 206CONFIG_SH_FPU=y
207# CONFIG_SH_DSP is not set
194CONFIG_SH_STORE_QUEUES=y 208CONFIG_SH_STORE_QUEUES=y
209CONFIG_CPU_HAS_INTEVT=y
210CONFIG_CPU_HAS_INTC2_IRQ=y
211CONFIG_CPU_HAS_SR_RB=y
195 212
196# 213#
197# Timer support 214# Timer support
198# 215#
199CONFIG_SH_TMU=y 216CONFIG_SH_TMU=y
200CONFIG_SH_PCLK_FREQ_BOOL=y 217
218#
219# R7780RP options
220#
221CONFIG_SH_R7780MP=y
201CONFIG_SH_PCLK_FREQ=32000000 222CONFIG_SH_PCLK_FREQ=32000000
202 223
203# 224#
@@ -220,11 +241,16 @@ CONFIG_NR_ONCHIP_DMA_CHANNELS=6
220# 241#
221# Kernel features 242# Kernel features
222# 243#
244# CONFIG_HZ_100 is not set
245CONFIG_HZ_250=y
246# CONFIG_HZ_1000 is not set
247CONFIG_HZ=250
223# CONFIG_KEXEC is not set 248# CONFIG_KEXEC is not set
224CONFIG_PREEMPT=y
225# CONFIG_SMP is not set 249# CONFIG_SMP is not set
226CONFIG_CPU_HAS_INTEVT=y 250# CONFIG_PREEMPT_NONE is not set
227CONFIG_CPU_HAS_INTC2_IRQ=y 251# CONFIG_PREEMPT_VOLUNTARY is not set
252CONFIG_PREEMPT=y
253CONFIG_PREEMPT_BKL=y
228 254
229# 255#
230# Boot options 256# Boot options
@@ -242,7 +268,7 @@ CONFIG_PCI=y
242CONFIG_SH_PCIDMA_NONCOHERENT=y 268CONFIG_SH_PCIDMA_NONCOHERENT=y
243CONFIG_PCI_AUTO=y 269CONFIG_PCI_AUTO=y
244CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 270CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
245CONFIG_PCI_LEGACY_PROC=y 271# CONFIG_PCI_MULTITHREAD_PROBE is not set
246# CONFIG_PCI_DEBUG is not set 272# CONFIG_PCI_DEBUG is not set
247 273
248# 274#
@@ -266,6 +292,11 @@ CONFIG_BINFMT_ELF=y
266# CONFIG_BINFMT_MISC is not set 292# CONFIG_BINFMT_MISC is not set
267 293
268# 294#
295# Power management options (EXPERIMENTAL)
296#
297# CONFIG_PM is not set
298
299#
269# Networking 300# Networking
270# 301#
271CONFIG_NET=y 302CONFIG_NET=y
@@ -273,9 +304,13 @@ CONFIG_NET=y
273# 304#
274# Networking options 305# Networking options
275# 306#
307# CONFIG_NETDEBUG is not set
276CONFIG_PACKET=y 308CONFIG_PACKET=y
277# CONFIG_PACKET_MMAP is not set 309# CONFIG_PACKET_MMAP is not set
278CONFIG_UNIX=y 310CONFIG_UNIX=y
311CONFIG_XFRM=y
312# CONFIG_XFRM_USER is not set
313# CONFIG_XFRM_SUB_POLICY is not set
279# CONFIG_NET_KEY is not set 314# CONFIG_NET_KEY is not set
280CONFIG_INET=y 315CONFIG_INET=y
281# CONFIG_IP_MULTICAST is not set 316# CONFIG_IP_MULTICAST is not set
@@ -297,12 +332,19 @@ CONFIG_IP_PNP_DHCP=y
297# CONFIG_INET_AH is not set 332# CONFIG_INET_AH is not set
298# CONFIG_INET_ESP is not set 333# CONFIG_INET_ESP is not set
299# CONFIG_INET_IPCOMP is not set 334# CONFIG_INET_IPCOMP is not set
335# CONFIG_INET_XFRM_TUNNEL is not set
300# CONFIG_INET_TUNNEL is not set 336# CONFIG_INET_TUNNEL is not set
337CONFIG_INET_XFRM_MODE_TRANSPORT=y
338CONFIG_INET_XFRM_MODE_TUNNEL=y
301CONFIG_INET_DIAG=y 339CONFIG_INET_DIAG=y
302CONFIG_INET_TCP_DIAG=y 340CONFIG_INET_TCP_DIAG=y
303# CONFIG_TCP_CONG_ADVANCED is not set 341# CONFIG_TCP_CONG_ADVANCED is not set
304CONFIG_TCP_CONG_BIC=y 342CONFIG_TCP_CONG_CUBIC=y
343CONFIG_DEFAULT_TCP_CONG="cubic"
305# CONFIG_IPV6 is not set 344# CONFIG_IPV6 is not set
345# CONFIG_INET6_XFRM_TUNNEL is not set
346# CONFIG_INET6_TUNNEL is not set
347# CONFIG_NETWORK_SECMARK is not set
306# CONFIG_NETFILTER is not set 348# CONFIG_NETFILTER is not set
307 349
308# 350#
@@ -314,16 +356,21 @@ CONFIG_TCP_CONG_BIC=y
314# SCTP Configuration (EXPERIMENTAL) 356# SCTP Configuration (EXPERIMENTAL)
315# 357#
316# CONFIG_IP_SCTP is not set 358# CONFIG_IP_SCTP is not set
359
360#
361# TIPC Configuration (EXPERIMENTAL)
362#
363# CONFIG_TIPC is not set
317# CONFIG_ATM is not set 364# CONFIG_ATM is not set
318CONFIG_BRIDGE=m 365CONFIG_BRIDGE=m
319# CONFIG_VLAN_8021Q is not set 366# CONFIG_VLAN_8021Q is not set
320# CONFIG_DECNET is not set 367# CONFIG_DECNET is not set
368CONFIG_LLC=m
321# CONFIG_LLC2 is not set 369# CONFIG_LLC2 is not set
322# CONFIG_IPX is not set 370# CONFIG_IPX is not set
323# CONFIG_ATALK is not set 371# CONFIG_ATALK is not set
324# CONFIG_X25 is not set 372# CONFIG_X25 is not set
325# CONFIG_LAPB is not set 373# CONFIG_LAPB is not set
326# CONFIG_NET_DIVERT is not set
327# CONFIG_ECONET is not set 374# CONFIG_ECONET is not set
328# CONFIG_WAN_ROUTER is not set 375# CONFIG_WAN_ROUTER is not set
329 376
@@ -340,6 +387,7 @@ CONFIG_BRIDGE=m
340# CONFIG_IRDA is not set 387# CONFIG_IRDA is not set
341# CONFIG_BT is not set 388# CONFIG_BT is not set
342# CONFIG_IEEE80211 is not set 389# CONFIG_IEEE80211 is not set
390CONFIG_WIRELESS_EXT=y
343 391
344# 392#
345# Device Drivers 393# Device Drivers
@@ -352,6 +400,7 @@ CONFIG_STANDALONE=y
352CONFIG_PREVENT_FIRMWARE_BUILD=y 400CONFIG_PREVENT_FIRMWARE_BUILD=y
353CONFIG_FW_LOADER=m 401CONFIG_FW_LOADER=m
354# CONFIG_DEBUG_DRIVER is not set 402# CONFIG_DEBUG_DRIVER is not set
403# CONFIG_SYS_HYPERVISOR is not set
355 404
356# 405#
357# Connector - unified userspace <-> kernelspace linker 406# Connector - unified userspace <-> kernelspace linker
@@ -386,6 +435,7 @@ CONFIG_FW_LOADER=m
386CONFIG_BLK_DEV_RAM=y 435CONFIG_BLK_DEV_RAM=y
387CONFIG_BLK_DEV_RAM_COUNT=16 436CONFIG_BLK_DEV_RAM_COUNT=16
388CONFIG_BLK_DEV_RAM_SIZE=4096 437CONFIG_BLK_DEV_RAM_SIZE=4096
438CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
389# CONFIG_BLK_DEV_INITRD is not set 439# CONFIG_BLK_DEV_INITRD is not set
390# CONFIG_CDROM_PKTCDVD is not set 440# CONFIG_CDROM_PKTCDVD is not set
391# CONFIG_ATA_OVER_ETH is not set 441# CONFIG_ATA_OVER_ETH is not set
@@ -438,13 +488,11 @@ CONFIG_BLK_DEV_AEC62XX=m
438# CONFIG_BLK_DEV_NS87415 is not set 488# CONFIG_BLK_DEV_NS87415 is not set
439# CONFIG_BLK_DEV_PDC202XX_OLD is not set 489# CONFIG_BLK_DEV_PDC202XX_OLD is not set
440CONFIG_BLK_DEV_PDC202XX_NEW=m 490CONFIG_BLK_DEV_PDC202XX_NEW=m
441# CONFIG_PDC202XX_FORCE is not set
442# CONFIG_BLK_DEV_SVWKS is not set 491# CONFIG_BLK_DEV_SVWKS is not set
443CONFIG_BLK_DEV_SIIMAGE=m 492CONFIG_BLK_DEV_SIIMAGE=m
444# CONFIG_BLK_DEV_SLC90E66 is not set 493# CONFIG_BLK_DEV_SLC90E66 is not set
445# CONFIG_BLK_DEV_TRM290 is not set 494# CONFIG_BLK_DEV_TRM290 is not set
446# CONFIG_BLK_DEV_VIA82CXXX is not set 495# CONFIG_BLK_DEV_VIA82CXXX is not set
447CONFIG_IDE_SH=y
448# CONFIG_IDE_ARM is not set 496# CONFIG_IDE_ARM is not set
449CONFIG_BLK_DEV_IDEDMA=y 497CONFIG_BLK_DEV_IDEDMA=y
450# CONFIG_IDEDMA_IVB is not set 498# CONFIG_IDEDMA_IVB is not set
@@ -456,6 +504,7 @@ CONFIG_IDEDMA_AUTO=y
456# 504#
457# CONFIG_RAID_ATTRS is not set 505# CONFIG_RAID_ATTRS is not set
458CONFIG_SCSI=m 506CONFIG_SCSI=m
507# CONFIG_SCSI_NETLINK is not set
459CONFIG_SCSI_PROC_FS=y 508CONFIG_SCSI_PROC_FS=y
460 509
461# 510#
@@ -476,12 +525,13 @@ CONFIG_CHR_DEV_SG=m
476# CONFIG_SCSI_LOGGING is not set 525# CONFIG_SCSI_LOGGING is not set
477 526
478# 527#
479# SCSI Transport Attributes 528# SCSI Transports
480# 529#
481# CONFIG_SCSI_SPI_ATTRS is not set 530# CONFIG_SCSI_SPI_ATTRS is not set
482# CONFIG_SCSI_FC_ATTRS is not set 531# CONFIG_SCSI_FC_ATTRS is not set
483# CONFIG_SCSI_ISCSI_ATTRS is not set 532# CONFIG_SCSI_ISCSI_ATTRS is not set
484# CONFIG_SCSI_SAS_ATTRS is not set 533# CONFIG_SCSI_SAS_ATTRS is not set
534# CONFIG_SCSI_SAS_LIBSAS is not set
485 535
486# 536#
487# SCSI low-level drivers 537# SCSI low-level drivers
@@ -494,27 +544,23 @@ CONFIG_CHR_DEV_SG=m
494# CONFIG_SCSI_AIC7XXX is not set 544# CONFIG_SCSI_AIC7XXX is not set
495# CONFIG_SCSI_AIC7XXX_OLD is not set 545# CONFIG_SCSI_AIC7XXX_OLD is not set
496# CONFIG_SCSI_AIC79XX is not set 546# CONFIG_SCSI_AIC79XX is not set
547# CONFIG_SCSI_AIC94XX is not set
497# CONFIG_SCSI_DPT_I2O is not set 548# CONFIG_SCSI_DPT_I2O is not set
549# CONFIG_SCSI_ARCMSR is not set
498# CONFIG_MEGARAID_NEWGEN is not set 550# CONFIG_MEGARAID_NEWGEN is not set
499# CONFIG_MEGARAID_LEGACY is not set 551# CONFIG_MEGARAID_LEGACY is not set
500# CONFIG_MEGARAID_SAS is not set 552# CONFIG_MEGARAID_SAS is not set
501# CONFIG_SCSI_SATA is not set 553# CONFIG_SCSI_HPTIOP is not set
502# CONFIG_SCSI_DMX3191D is not set 554# CONFIG_SCSI_DMX3191D is not set
503# CONFIG_SCSI_FUTURE_DOMAIN is not set 555# CONFIG_SCSI_FUTURE_DOMAIN is not set
504# CONFIG_SCSI_IPS is not set 556# CONFIG_SCSI_IPS is not set
505# CONFIG_SCSI_INITIO is not set 557# CONFIG_SCSI_INITIO is not set
506# CONFIG_SCSI_INIA100 is not set 558# CONFIG_SCSI_INIA100 is not set
559# CONFIG_SCSI_STEX is not set
507# CONFIG_SCSI_SYM53C8XX_2 is not set 560# CONFIG_SCSI_SYM53C8XX_2 is not set
508# CONFIG_SCSI_IPR is not set 561# CONFIG_SCSI_IPR is not set
509# CONFIG_SCSI_QLOGIC_FC is not set
510# CONFIG_SCSI_QLOGIC_1280 is not set 562# CONFIG_SCSI_QLOGIC_1280 is not set
511CONFIG_SCSI_QLA2XXX=m 563# CONFIG_SCSI_QLA_FC is not set
512# CONFIG_SCSI_QLA21XX is not set
513# CONFIG_SCSI_QLA22XX is not set
514# CONFIG_SCSI_QLA2300 is not set
515# CONFIG_SCSI_QLA2322 is not set
516# CONFIG_SCSI_QLA6312 is not set
517# CONFIG_SCSI_QLA24XX is not set
518# CONFIG_SCSI_LPFC is not set 564# CONFIG_SCSI_LPFC is not set
519# CONFIG_SCSI_DC395x is not set 565# CONFIG_SCSI_DC395x is not set
520# CONFIG_SCSI_DC390T is not set 566# CONFIG_SCSI_DC390T is not set
@@ -522,6 +568,11 @@ CONFIG_SCSI_QLA2XXX=m
522# CONFIG_SCSI_DEBUG is not set 568# CONFIG_SCSI_DEBUG is not set
523 569
524# 570#
571# Serial ATA (prod) and Parallel ATA (experimental) drivers
572#
573# CONFIG_ATA is not set
574
575#
525# Multi-device support (RAID and LVM) 576# Multi-device support (RAID and LVM)
526# 577#
527# CONFIG_MD is not set 578# CONFIG_MD is not set
@@ -580,9 +631,9 @@ CONFIG_MII=y
580# 631#
581# CONFIG_NET_TULIP is not set 632# CONFIG_NET_TULIP is not set
582# CONFIG_HP100 is not set 633# CONFIG_HP100 is not set
583CONFIG_NE2000=y
584CONFIG_NET_PCI=y 634CONFIG_NET_PCI=y
585CONFIG_PCNET32=m 635CONFIG_PCNET32=m
636# CONFIG_PCNET32_NAPI is not set
586# CONFIG_AMD8111_ETH is not set 637# CONFIG_AMD8111_ETH is not set
587# CONFIG_ADAPTEC_STARFIRE is not set 638# CONFIG_ADAPTEC_STARFIRE is not set
588# CONFIG_B44 is not set 639# CONFIG_B44 is not set
@@ -605,6 +656,7 @@ CONFIG_8139TOO_8129=y
605# CONFIG_TLAN is not set 656# CONFIG_TLAN is not set
606CONFIG_VIA_RHINE=m 657CONFIG_VIA_RHINE=m
607CONFIG_VIA_RHINE_MMIO=y 658CONFIG_VIA_RHINE_MMIO=y
659# CONFIG_VIA_RHINE_NAPI is not set
608 660
609# 661#
610# Ethernet (1000 Mbit) 662# Ethernet (1000 Mbit)
@@ -613,6 +665,7 @@ CONFIG_VIA_RHINE_MMIO=y
613# CONFIG_DL2K is not set 665# CONFIG_DL2K is not set
614CONFIG_E1000=m 666CONFIG_E1000=m
615# CONFIG_E1000_NAPI is not set 667# CONFIG_E1000_NAPI is not set
668# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
616# CONFIG_NS83820 is not set 669# CONFIG_NS83820 is not set
617# CONFIG_HAMACHI is not set 670# CONFIG_HAMACHI is not set
618# CONFIG_YELLOWFIN is not set 671# CONFIG_YELLOWFIN is not set
@@ -620,10 +673,12 @@ CONFIG_R8169=y
620# CONFIG_R8169_NAPI is not set 673# CONFIG_R8169_NAPI is not set
621# CONFIG_SIS190 is not set 674# CONFIG_SIS190 is not set
622# CONFIG_SKGE is not set 675# CONFIG_SKGE is not set
676# CONFIG_SKY2 is not set
623# CONFIG_SK98LIN is not set 677# CONFIG_SK98LIN is not set
624# CONFIG_VIA_VELOCITY is not set 678# CONFIG_VIA_VELOCITY is not set
625# CONFIG_TIGON3 is not set 679# CONFIG_TIGON3 is not set
626# CONFIG_BNX2 is not set 680# CONFIG_BNX2 is not set
681# CONFIG_QLA3XXX is not set
627 682
628# 683#
629# Ethernet (10000 Mbit) 684# Ethernet (10000 Mbit)
@@ -631,6 +686,7 @@ CONFIG_R8169=y
631# CONFIG_CHELSIO_T1 is not set 686# CONFIG_CHELSIO_T1 is not set
632# CONFIG_IXGB is not set 687# CONFIG_IXGB is not set
633# CONFIG_S2IO is not set 688# CONFIG_S2IO is not set
689# CONFIG_MYRI10GE is not set
634 690
635# 691#
636# Token Ring devices 692# Token Ring devices
@@ -641,6 +697,7 @@ CONFIG_R8169=y
641# Wireless LAN (non-hamradio) 697# Wireless LAN (non-hamradio)
642# 698#
643CONFIG_NET_RADIO=y 699CONFIG_NET_RADIO=y
700# CONFIG_NET_WIRELESS_RTNETLINK is not set
644 701
645# 702#
646# Obsolete Wireless cards support (pre-802.11) 703# Obsolete Wireless cards support (pre-802.11)
@@ -650,6 +707,8 @@ CONFIG_NET_RADIO=y
650# 707#
651# Wireless 802.11b ISA/PCI cards support 708# Wireless 802.11b ISA/PCI cards support
652# 709#
710# CONFIG_IPW2100 is not set
711# CONFIG_IPW2200 is not set
653CONFIG_HERMES=m 712CONFIG_HERMES=m
654# CONFIG_PLX_HERMES is not set 713# CONFIG_PLX_HERMES is not set
655# CONFIG_TMD_HERMES is not set 714# CONFIG_TMD_HERMES is not set
@@ -692,6 +751,7 @@ CONFIG_NET_WIRELESS=y
692# Input device support 751# Input device support
693# 752#
694CONFIG_INPUT=y 753CONFIG_INPUT=y
754# CONFIG_INPUT_FF_MEMLESS is not set
695 755
696# 756#
697# Userland interfaces 757# Userland interfaces
@@ -714,6 +774,7 @@ CONFIG_KEYBOARD_ATKBD=y
714# CONFIG_KEYBOARD_LKKBD is not set 774# CONFIG_KEYBOARD_LKKBD is not set
715# CONFIG_KEYBOARD_XTKBD is not set 775# CONFIG_KEYBOARD_XTKBD is not set
716# CONFIG_KEYBOARD_NEWTON is not set 776# CONFIG_KEYBOARD_NEWTON is not set
777# CONFIG_KEYBOARD_STOWAWAY is not set
717# CONFIG_INPUT_MOUSE is not set 778# CONFIG_INPUT_MOUSE is not set
718# CONFIG_INPUT_JOYSTICK is not set 779# CONFIG_INPUT_JOYSTICK is not set
719# CONFIG_INPUT_TOUCHSCREEN is not set 780# CONFIG_INPUT_TOUCHSCREEN is not set
@@ -745,6 +806,7 @@ CONFIG_SERIO_LIBPS2=y
745# Non-8250 serial port support 806# Non-8250 serial port support
746# 807#
747CONFIG_SERIAL_SH_SCI=y 808CONFIG_SERIAL_SH_SCI=y
809CONFIG_SERIAL_SH_SCI_NR_UARTS=2
748CONFIG_SERIAL_SH_SCI_CONSOLE=y 810CONFIG_SERIAL_SH_SCI_CONSOLE=y
749CONFIG_SERIAL_CORE=y 811CONFIG_SERIAL_CORE=y
750CONFIG_SERIAL_CORE_CONSOLE=y 812CONFIG_SERIAL_CORE_CONSOLE=y
@@ -762,7 +824,7 @@ CONFIG_LEGACY_PTY_COUNT=256
762# Watchdog Cards 824# Watchdog Cards
763# 825#
764# CONFIG_WATCHDOG is not set 826# CONFIG_WATCHDOG is not set
765# CONFIG_RTC is not set 827CONFIG_HW_RANDOM=y
766# CONFIG_GEN_RTC is not set 828# CONFIG_GEN_RTC is not set
767# CONFIG_DTLK is not set 829# CONFIG_DTLK is not set
768# CONFIG_R3964 is not set 830# CONFIG_R3964 is not set
@@ -786,15 +848,23 @@ CONFIG_LEGACY_PTY_COUNT=256
786# CONFIG_I2C is not set 848# CONFIG_I2C is not set
787 849
788# 850#
851# SPI support
852#
853# CONFIG_SPI is not set
854# CONFIG_SPI_MASTER is not set
855
856#
789# Dallas's 1-wire bus 857# Dallas's 1-wire bus
790# 858#
791# CONFIG_W1 is not set
792 859
793# 860#
794# Hardware Monitoring support 861# Hardware Monitoring support
795# 862#
796CONFIG_HWMON=y 863CONFIG_HWMON=y
797# CONFIG_HWMON_VID is not set 864# CONFIG_HWMON_VID is not set
865# CONFIG_SENSORS_ABITUGURU is not set
866# CONFIG_SENSORS_F71805F is not set
867# CONFIG_SENSORS_VT1211 is not set
798# CONFIG_HWMON_DEBUG_CHIP is not set 868# CONFIG_HWMON_DEBUG_CHIP is not set
799 869
800# 870#
@@ -802,13 +872,10 @@ CONFIG_HWMON=y
802# 872#
803 873
804# 874#
805# Multimedia Capabilities Port drivers
806#
807
808#
809# Multimedia devices 875# Multimedia devices
810# 876#
811# CONFIG_VIDEO_DEV is not set 877# CONFIG_VIDEO_DEV is not set
878CONFIG_VIDEO_V4L2=y
812 879
813# 880#
814# Digital Video Broadcasting Devices 881# Digital Video Broadcasting Devices
@@ -818,7 +885,9 @@ CONFIG_HWMON=y
818# 885#
819# Graphics support 886# Graphics support
820# 887#
888CONFIG_FIRMWARE_EDID=y
821# CONFIG_FB is not set 889# CONFIG_FB is not set
890# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
822 891
823# 892#
824# Sound 893# Sound
@@ -834,18 +903,21 @@ CONFIG_SOUND=m
834# Open Sound System 903# Open Sound System
835# 904#
836CONFIG_SOUND_PRIME=m 905CONFIG_SOUND_PRIME=m
837# CONFIG_OBSOLETE_OSS_DRIVER is not set 906# CONFIG_OSS_OBSOLETE_DRIVER is not set
838# CONFIG_SOUND_FUSION is not set 907# CONFIG_SOUND_BT878 is not set
908# CONFIG_SOUND_ES1371 is not set
839# CONFIG_SOUND_ICH is not set 909# CONFIG_SOUND_ICH is not set
840# CONFIG_SOUND_TRIDENT is not set 910# CONFIG_SOUND_TRIDENT is not set
841# CONFIG_SOUND_MSNDCLAS is not set 911# CONFIG_SOUND_MSNDCLAS is not set
842# CONFIG_SOUND_MSNDPIN is not set 912# CONFIG_SOUND_MSNDPIN is not set
913# CONFIG_SOUND_VIA82CXXX is not set
843 914
844# 915#
845# USB support 916# USB support
846# 917#
847CONFIG_USB_ARCH_HAS_HCD=y 918CONFIG_USB_ARCH_HAS_HCD=y
848CONFIG_USB_ARCH_HAS_OHCI=y 919CONFIG_USB_ARCH_HAS_OHCI=y
920CONFIG_USB_ARCH_HAS_EHCI=y
849# CONFIG_USB is not set 921# CONFIG_USB is not set
850 922
851# 923#
@@ -863,12 +935,43 @@ CONFIG_USB_ARCH_HAS_OHCI=y
863# CONFIG_MMC is not set 935# CONFIG_MMC is not set
864 936
865# 937#
938# LED devices
939#
940# CONFIG_NEW_LEDS is not set
941
942#
943# LED drivers
944#
945
946#
947# LED Triggers
948#
949
950#
866# InfiniBand support 951# InfiniBand support
867# 952#
868# CONFIG_INFINIBAND is not set 953# CONFIG_INFINIBAND is not set
869 954
870# 955#
871# SN Devices 956# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
957#
958
959#
960# Real Time Clock
961#
962# CONFIG_RTC_CLASS is not set
963
964#
965# DMA Engine support
966#
967# CONFIG_DMA_ENGINE is not set
968
969#
970# DMA Clients
971#
972
973#
974# DMA Devices
872# 975#
873 976
874# 977#
@@ -888,9 +991,11 @@ CONFIG_FS_MBCACHE=y
888# CONFIG_JFS_FS is not set 991# CONFIG_JFS_FS is not set
889CONFIG_FS_POSIX_ACL=y 992CONFIG_FS_POSIX_ACL=y
890# CONFIG_XFS_FS is not set 993# CONFIG_XFS_FS is not set
994# CONFIG_OCFS2_FS is not set
891CONFIG_MINIX_FS=y 995CONFIG_MINIX_FS=y
892# CONFIG_ROMFS_FS is not set 996# CONFIG_ROMFS_FS is not set
893CONFIG_INOTIFY=y 997CONFIG_INOTIFY=y
998CONFIG_INOTIFY_USER=y
894# CONFIG_QUOTA is not set 999# CONFIG_QUOTA is not set
895CONFIG_DNOTIFY=y 1000CONFIG_DNOTIFY=y
896# CONFIG_AUTOFS_FS is not set 1001# CONFIG_AUTOFS_FS is not set
@@ -920,12 +1025,13 @@ CONFIG_NTFS_RW=y
920# 1025#
921CONFIG_PROC_FS=y 1026CONFIG_PROC_FS=y
922CONFIG_PROC_KCORE=y 1027CONFIG_PROC_KCORE=y
1028CONFIG_PROC_SYSCTL=y
923CONFIG_SYSFS=y 1029CONFIG_SYSFS=y
924# CONFIG_TMPFS is not set 1030# CONFIG_TMPFS is not set
925CONFIG_HUGETLBFS=y 1031CONFIG_HUGETLBFS=y
926CONFIG_HUGETLB_PAGE=y 1032CONFIG_HUGETLB_PAGE=y
927CONFIG_RAMFS=y 1033CONFIG_RAMFS=y
928# CONFIG_RELAYFS_FS is not set 1034# CONFIG_CONFIGFS_FS is not set
929 1035
930# 1036#
931# Miscellaneous filesystems 1037# Miscellaneous filesystems
@@ -1032,23 +1138,33 @@ CONFIG_NLS_ISO8859_1=y
1032# Kernel hacking 1138# Kernel hacking
1033# 1139#
1034# CONFIG_PRINTK_TIME is not set 1140# CONFIG_PRINTK_TIME is not set
1035CONFIG_DEBUG_KERNEL=y 1141CONFIG_ENABLE_MUST_CHECK=y
1036# CONFIG_MAGIC_SYSRQ is not set 1142# CONFIG_MAGIC_SYSRQ is not set
1143# CONFIG_UNUSED_SYMBOLS is not set
1144CONFIG_DEBUG_KERNEL=y
1037CONFIG_LOG_BUF_SHIFT=14 1145CONFIG_LOG_BUF_SHIFT=14
1038CONFIG_DETECT_SOFTLOCKUP=y 1146CONFIG_DETECT_SOFTLOCKUP=y
1039# CONFIG_SCHEDSTATS is not set 1147# CONFIG_SCHEDSTATS is not set
1040# CONFIG_DEBUG_SLAB is not set 1148# CONFIG_DEBUG_SLAB is not set
1041CONFIG_DEBUG_PREEMPT=y
1042CONFIG_DEBUG_SPINLOCK=y 1149CONFIG_DEBUG_SPINLOCK=y
1150# CONFIG_DEBUG_MUTEXES is not set
1151# CONFIG_DEBUG_RWSEMS is not set
1043# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1152# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1153# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1044# CONFIG_DEBUG_KOBJECT is not set 1154# CONFIG_DEBUG_KOBJECT is not set
1155# CONFIG_DEBUG_BUGVERBOSE is not set
1045# CONFIG_DEBUG_INFO is not set 1156# CONFIG_DEBUG_INFO is not set
1046CONFIG_DEBUG_FS=y 1157CONFIG_DEBUG_FS=y
1047# CONFIG_DEBUG_VM is not set 1158# CONFIG_DEBUG_VM is not set
1159# CONFIG_DEBUG_LIST is not set
1048CONFIG_FRAME_POINTER=y 1160CONFIG_FRAME_POINTER=y
1161CONFIG_FORCED_INLINING=y
1049# CONFIG_RCU_TORTURE_TEST is not set 1162# CONFIG_RCU_TORTURE_TEST is not set
1050# CONFIG_SH_STANDARD_BIOS is not set 1163# CONFIG_SH_STANDARD_BIOS is not set
1051# CONFIG_EARLY_SCIF_CONSOLE is not set 1164# CONFIG_EARLY_SCIF_CONSOLE is not set
1165# CONFIG_DEBUG_STACKOVERFLOW is not set
1166# CONFIG_DEBUG_STACK_USAGE is not set
1167# CONFIG_4KSTACKS is not set
1052# CONFIG_KGDB is not set 1168# CONFIG_KGDB is not set
1053 1169
1054# 1170#
@@ -1061,6 +1177,10 @@ CONFIG_FRAME_POINTER=y
1061# Cryptographic options 1177# Cryptographic options
1062# 1178#
1063CONFIG_CRYPTO=y 1179CONFIG_CRYPTO=y
1180CONFIG_CRYPTO_ALGAPI=y
1181CONFIG_CRYPTO_BLKCIPHER=m
1182CONFIG_CRYPTO_HASH=y
1183CONFIG_CRYPTO_MANAGER=m
1064CONFIG_CRYPTO_HMAC=y 1184CONFIG_CRYPTO_HMAC=y
1065# CONFIG_CRYPTO_NULL is not set 1185# CONFIG_CRYPTO_NULL is not set
1066# CONFIG_CRYPTO_MD4 is not set 1186# CONFIG_CRYPTO_MD4 is not set
@@ -1070,6 +1190,8 @@ CONFIG_CRYPTO_MD5=y
1070# CONFIG_CRYPTO_SHA512 is not set 1190# CONFIG_CRYPTO_SHA512 is not set
1071# CONFIG_CRYPTO_WP512 is not set 1191# CONFIG_CRYPTO_WP512 is not set
1072# CONFIG_CRYPTO_TGR192 is not set 1192# CONFIG_CRYPTO_TGR192 is not set
1193CONFIG_CRYPTO_ECB=m
1194CONFIG_CRYPTO_CBC=m
1073CONFIG_CRYPTO_DES=y 1195CONFIG_CRYPTO_DES=y
1074# CONFIG_CRYPTO_BLOWFISH is not set 1196# CONFIG_CRYPTO_BLOWFISH is not set
1075# CONFIG_CRYPTO_TWOFISH is not set 1197# CONFIG_CRYPTO_TWOFISH is not set
diff --git a/arch/sh/configs/rts7751r2d_defconfig b/arch/sh/configs/rts7751r2d_defconfig
index e43cf57326bd..099e98f14729 100644
--- a/arch/sh/configs/rts7751r2d_defconfig
+++ b/arch/sh/configs/rts7751r2d_defconfig
@@ -1,125 +1,215 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:42 2005 4# Tue Oct 3 11:38:36 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24CONFIG_SWAP=y 27CONFIG_SWAP=y
25CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
26# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
27# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
28CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
29# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
30CONFIG_LOG_BUF_SHIFT=14
31CONFIG_HOTPLUG=y
32CONFIG_KOBJECT_UEVENT=y
33# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
36# CONFIG_RELAY is not set
37CONFIG_INITRAMFS_SOURCE=""
38# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
39CONFIG_SYSCTL=y
34CONFIG_EMBEDDED=y 40CONFIG_EMBEDDED=y
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
35CONFIG_KALLSYMS=y 43CONFIG_KALLSYMS=y
36# CONFIG_KALLSYMS_EXTRA_PASS is not set 44# CONFIG_KALLSYMS_EXTRA_PASS is not set
45CONFIG_HOTPLUG=y
46CONFIG_PRINTK=y
47CONFIG_BUG=y
48CONFIG_ELF_CORE=y
49CONFIG_BASE_FULL=y
37CONFIG_FUTEX=y 50CONFIG_FUTEX=y
38CONFIG_EPOLL=y 51CONFIG_EPOLL=y
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SHMEM=y 52CONFIG_SHMEM=y
41CONFIG_CC_ALIGN_FUNCTIONS=0 53CONFIG_SLAB=y
42CONFIG_CC_ALIGN_LABELS=0 54CONFIG_VM_EVENT_COUNTERS=y
43CONFIG_CC_ALIGN_LOOPS=0 55CONFIG_RT_MUTEXES=y
44CONFIG_CC_ALIGN_JUMPS=0
45# CONFIG_TINY_SHMEM is not set 56# CONFIG_TINY_SHMEM is not set
57CONFIG_BASE_SMALL=0
58# CONFIG_SLOB is not set
46 59
47# 60#
48# Loadable module support 61# Loadable module support
49# 62#
50CONFIG_MODULES=y 63CONFIG_MODULES=y
51# CONFIG_MODULE_UNLOAD is not set 64# CONFIG_MODULE_UNLOAD is not set
52CONFIG_OBSOLETE_MODPARM=y
53# CONFIG_MODVERSIONS is not set 65# CONFIG_MODVERSIONS is not set
54# CONFIG_MODULE_SRCVERSION_ALL is not set 66# CONFIG_MODULE_SRCVERSION_ALL is not set
55# CONFIG_KMOD is not set 67# CONFIG_KMOD is not set
56 68
57# 69#
70# Block layer
71#
72CONFIG_BLOCK=y
73# CONFIG_LBD is not set
74# CONFIG_BLK_DEV_IO_TRACE is not set
75# CONFIG_LSF is not set
76
77#
78# IO Schedulers
79#
80CONFIG_IOSCHED_NOOP=y
81CONFIG_IOSCHED_AS=y
82CONFIG_IOSCHED_DEADLINE=y
83CONFIG_IOSCHED_CFQ=y
84CONFIG_DEFAULT_AS=y
85# CONFIG_DEFAULT_DEADLINE is not set
86# CONFIG_DEFAULT_CFQ is not set
87# CONFIG_DEFAULT_NOOP is not set
88CONFIG_DEFAULT_IOSCHED="anticipatory"
89
90#
58# System type 91# System type
59# 92#
60# CONFIG_SH_SOLUTION_ENGINE is not set 93# CONFIG_SH_SOLUTION_ENGINE is not set
61# CONFIG_SH_7751_SOLUTION_ENGINE is not set 94# CONFIG_SH_7751_SOLUTION_ENGINE is not set
62# CONFIG_SH_7300_SOLUTION_ENGINE is not set 95# CONFIG_SH_7300_SOLUTION_ENGINE is not set
96# CONFIG_SH_7343_SOLUTION_ENGINE is not set
63# CONFIG_SH_73180_SOLUTION_ENGINE is not set 97# CONFIG_SH_73180_SOLUTION_ENGINE is not set
64# CONFIG_SH_7751_SYSTEMH is not set 98# CONFIG_SH_7751_SYSTEMH is not set
65# CONFIG_SH_STB1_HARP is not set 99# CONFIG_SH_HP6XX is not set
66# CONFIG_SH_STB1_OVERDRIVE is not set
67# CONFIG_SH_HP620 is not set
68# CONFIG_SH_HP680 is not set
69# CONFIG_SH_HP690 is not set
70# CONFIG_SH_CQREEK is not set
71# CONFIG_SH_DMIDA is not set
72# CONFIG_SH_EC3104 is not set 100# CONFIG_SH_EC3104 is not set
73# CONFIG_SH_SATURN is not set 101# CONFIG_SH_SATURN is not set
74# CONFIG_SH_DREAMCAST is not set 102# CONFIG_SH_DREAMCAST is not set
75# CONFIG_SH_CAT68701 is not set
76# CONFIG_SH_BIGSUR is not set 103# CONFIG_SH_BIGSUR is not set
77# CONFIG_SH_SH2000 is not set
78# CONFIG_SH_ADX is not set
79# CONFIG_SH_MPC1211 is not set 104# CONFIG_SH_MPC1211 is not set
80# CONFIG_SH_SH03 is not set 105# CONFIG_SH_SH03 is not set
81# CONFIG_SH_SECUREEDGE5410 is not set 106# CONFIG_SH_SECUREEDGE5410 is not set
82# CONFIG_SH_HS7751RVOIP is not set 107# CONFIG_SH_HS7751RVOIP is not set
108# CONFIG_SH_7710VOIPGW is not set
83CONFIG_SH_RTS7751R2D=y 109CONFIG_SH_RTS7751R2D=y
110# CONFIG_SH_R7780RP is not set
84# CONFIG_SH_EDOSK7705 is not set 111# CONFIG_SH_EDOSK7705 is not set
85# CONFIG_SH_SH4202_MICRODEV is not set 112# CONFIG_SH_SH4202_MICRODEV is not set
113# CONFIG_SH_LANDISK is not set
114# CONFIG_SH_TITAN is not set
115# CONFIG_SH_SHMIN is not set
86# CONFIG_SH_UNKNOWN is not set 116# CONFIG_SH_UNKNOWN is not set
87# CONFIG_CPU_SH2 is not set 117
88# CONFIG_CPU_SH3 is not set 118#
119# Processor selection
120#
89CONFIG_CPU_SH4=y 121CONFIG_CPU_SH4=y
122
123#
124# SH-2 Processor Support
125#
90# CONFIG_CPU_SUBTYPE_SH7604 is not set 126# CONFIG_CPU_SUBTYPE_SH7604 is not set
127
128#
129# SH-3 Processor Support
130#
91# CONFIG_CPU_SUBTYPE_SH7300 is not set 131# CONFIG_CPU_SUBTYPE_SH7300 is not set
92# CONFIG_CPU_SUBTYPE_SH7705 is not set 132# CONFIG_CPU_SUBTYPE_SH7705 is not set
133# CONFIG_CPU_SUBTYPE_SH7706 is not set
93# CONFIG_CPU_SUBTYPE_SH7707 is not set 134# CONFIG_CPU_SUBTYPE_SH7707 is not set
94# CONFIG_CPU_SUBTYPE_SH7708 is not set 135# CONFIG_CPU_SUBTYPE_SH7708 is not set
95# CONFIG_CPU_SUBTYPE_SH7709 is not set 136# CONFIG_CPU_SUBTYPE_SH7709 is not set
137# CONFIG_CPU_SUBTYPE_SH7710 is not set
138
139#
140# SH-4 Processor Support
141#
96# CONFIG_CPU_SUBTYPE_SH7750 is not set 142# CONFIG_CPU_SUBTYPE_SH7750 is not set
143# CONFIG_CPU_SUBTYPE_SH7091 is not set
144# CONFIG_CPU_SUBTYPE_SH7750R is not set
145# CONFIG_CPU_SUBTYPE_SH7750S is not set
97CONFIG_CPU_SUBTYPE_SH7751=y 146CONFIG_CPU_SUBTYPE_SH7751=y
147CONFIG_CPU_SUBTYPE_SH7751R=y
98# CONFIG_CPU_SUBTYPE_SH7760 is not set 148# CONFIG_CPU_SUBTYPE_SH7760 is not set
99# CONFIG_CPU_SUBTYPE_SH73180 is not set 149# CONFIG_CPU_SUBTYPE_SH4_202 is not set
150
151#
152# ST40 Processor Support
153#
100# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 154# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
101# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 155# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
102# CONFIG_CPU_SUBTYPE_SH4_202 is not set 156
157#
158# SH-4A Processor Support
159#
160# CONFIG_CPU_SUBTYPE_SH7770 is not set
161# CONFIG_CPU_SUBTYPE_SH7780 is not set
162
163#
164# SH4AL-DSP Processor Support
165#
166# CONFIG_CPU_SUBTYPE_SH73180 is not set
167# CONFIG_CPU_SUBTYPE_SH7343 is not set
168
169#
170# Memory management options
171#
103CONFIG_MMU=y 172CONFIG_MMU=y
104CONFIG_CMDLINE_BOOL=y 173CONFIG_PAGE_OFFSET=0x80000000
105CONFIG_CMDLINE="mem=64M console=ttySC0,115200 root=/dev/hda1"
106CONFIG_MEMORY_START=0x0c000000 174CONFIG_MEMORY_START=0x0c000000
107CONFIG_MEMORY_SIZE=0x04000000 175CONFIG_MEMORY_SIZE=0x04000000
108CONFIG_MEMORY_SET=y 176CONFIG_VSYSCALL=y
109# CONFIG_MEMORY_OVERRIDE is not set 177CONFIG_SELECT_MEMORY_MODEL=y
110CONFIG_SH_RTC=y 178CONFIG_FLATMEM_MANUAL=y
111CONFIG_SH_FPU=y 179# CONFIG_DISCONTIGMEM_MANUAL is not set
112CONFIG_ZERO_PAGE_OFFSET=0x00010000 180# CONFIG_SPARSEMEM_MANUAL is not set
113CONFIG_BOOT_LINK_OFFSET=0x00800000 181CONFIG_FLATMEM=y
114CONFIG_CPU_LITTLE_ENDIAN=y 182CONFIG_FLAT_NODE_MEM_MAP=y
115# CONFIG_PREEMPT is not set 183# CONFIG_SPARSEMEM_STATIC is not set
116# CONFIG_UBC_WAKEUP is not set 184CONFIG_SPLIT_PTLOCK_CPUS=4
185# CONFIG_RESOURCES_64BIT is not set
186
187#
188# Cache configuration
189#
190# CONFIG_SH_DIRECT_MAPPED is not set
117# CONFIG_SH_WRITETHROUGH is not set 191# CONFIG_SH_WRITETHROUGH is not set
118# CONFIG_SH_OCRAM is not set 192# CONFIG_SH_OCRAM is not set
193
194#
195# Processor features
196#
197CONFIG_CPU_LITTLE_ENDIAN=y
198CONFIG_SH_FPU=y
199# CONFIG_SH_DSP is not set
119# CONFIG_SH_STORE_QUEUES is not set 200# CONFIG_SH_STORE_QUEUES is not set
120# CONFIG_SMP is not set 201CONFIG_CPU_HAS_INTEVT=y
202CONFIG_CPU_HAS_SR_RB=y
203
204#
205# Timer support
206#
207CONFIG_SH_TMU=y
208
209#
210# RTS7751R2D options
211#
121CONFIG_RTS7751R2D_REV11=y 212CONFIG_RTS7751R2D_REV11=y
122CONFIG_SH_PCLK_CALC=y
123CONFIG_SH_PCLK_FREQ=60000000 213CONFIG_SH_PCLK_FREQ=60000000
124 214
125# 215#
@@ -140,17 +230,37 @@ CONFIG_NR_ONCHIP_DMA_CHANNELS=8
140CONFIG_VOYAGERGX=y 230CONFIG_VOYAGERGX=y
141# CONFIG_HD6446X_SERIES is not set 231# CONFIG_HD6446X_SERIES is not set
142CONFIG_HEARTBEAT=y 232CONFIG_HEARTBEAT=y
143CONFIG_RTC_9701JE=y
144 233
145# 234#
146# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 235# Kernel features
236#
237# CONFIG_HZ_100 is not set
238CONFIG_HZ_250=y
239# CONFIG_HZ_1000 is not set
240CONFIG_HZ=250
241# CONFIG_KEXEC is not set
242# CONFIG_SMP is not set
243CONFIG_PREEMPT_NONE=y
244# CONFIG_PREEMPT_VOLUNTARY is not set
245# CONFIG_PREEMPT is not set
246
247#
248# Boot options
249#
250CONFIG_ZERO_PAGE_OFFSET=0x00010000
251CONFIG_BOOT_LINK_OFFSET=0x00800000
252# CONFIG_UBC_WAKEUP is not set
253CONFIG_CMDLINE_BOOL=y
254CONFIG_CMDLINE="mem=64M console=ttySC0,115200 root=/dev/hda1"
255
256#
257# Bus options
147# 258#
148CONFIG_PCI=y 259CONFIG_PCI=y
149CONFIG_SH_PCIDMA_NONCOHERENT=y 260CONFIG_SH_PCIDMA_NONCOHERENT=y
150CONFIG_PCI_AUTO=y 261CONFIG_PCI_AUTO=y
151CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 262CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
152# CONFIG_PCI_LEGACY_PROC is not set 263# CONFIG_PCI_MULTITHREAD_PROBE is not set
153CONFIG_PCI_NAMES=y
154 264
155# 265#
156# PCCARD (PCMCIA/CardBus) support 266# PCCARD (PCMCIA/CardBus) support
@@ -158,10 +268,6 @@ CONFIG_PCI_NAMES=y
158# CONFIG_PCCARD is not set 268# CONFIG_PCCARD is not set
159 269
160# 270#
161# PC-card bridges
162#
163
164#
165# PCI Hotplug Support 271# PCI Hotplug Support
166# 272#
167CONFIG_HOTPLUG_PCI=y 273CONFIG_HOTPLUG_PCI=y
@@ -177,6 +283,95 @@ CONFIG_BINFMT_ELF=y
177# CONFIG_BINFMT_MISC is not set 283# CONFIG_BINFMT_MISC is not set
178 284
179# 285#
286# Power management options (EXPERIMENTAL)
287#
288# CONFIG_PM is not set
289
290#
291# Networking
292#
293CONFIG_NET=y
294
295#
296# Networking options
297#
298# CONFIG_NETDEBUG is not set
299CONFIG_PACKET=y
300# CONFIG_PACKET_MMAP is not set
301CONFIG_UNIX=y
302CONFIG_XFRM=y
303# CONFIG_XFRM_USER is not set
304# CONFIG_XFRM_SUB_POLICY is not set
305# CONFIG_NET_KEY is not set
306CONFIG_INET=y
307# CONFIG_IP_MULTICAST is not set
308# CONFIG_IP_ADVANCED_ROUTER is not set
309CONFIG_IP_FIB_HASH=y
310# CONFIG_IP_PNP is not set
311# CONFIG_NET_IPIP is not set
312# CONFIG_NET_IPGRE is not set
313# CONFIG_ARPD is not set
314# CONFIG_SYN_COOKIES is not set
315# CONFIG_INET_AH is not set
316# CONFIG_INET_ESP is not set
317# CONFIG_INET_IPCOMP is not set
318# CONFIG_INET_XFRM_TUNNEL is not set
319# CONFIG_INET_TUNNEL is not set
320CONFIG_INET_XFRM_MODE_TRANSPORT=y
321CONFIG_INET_XFRM_MODE_TUNNEL=y
322CONFIG_INET_DIAG=y
323CONFIG_INET_TCP_DIAG=y
324# CONFIG_TCP_CONG_ADVANCED is not set
325CONFIG_TCP_CONG_CUBIC=y
326CONFIG_DEFAULT_TCP_CONG="cubic"
327# CONFIG_IPV6 is not set
328# CONFIG_INET6_XFRM_TUNNEL is not set
329# CONFIG_INET6_TUNNEL is not set
330# CONFIG_NETWORK_SECMARK is not set
331# CONFIG_NETFILTER is not set
332
333#
334# DCCP Configuration (EXPERIMENTAL)
335#
336# CONFIG_IP_DCCP is not set
337
338#
339# SCTP Configuration (EXPERIMENTAL)
340#
341# CONFIG_IP_SCTP is not set
342
343#
344# TIPC Configuration (EXPERIMENTAL)
345#
346# CONFIG_TIPC is not set
347# CONFIG_ATM is not set
348# CONFIG_BRIDGE is not set
349# CONFIG_VLAN_8021Q is not set
350# CONFIG_DECNET is not set
351# CONFIG_LLC2 is not set
352# CONFIG_IPX is not set
353# CONFIG_ATALK is not set
354# CONFIG_X25 is not set
355# CONFIG_LAPB is not set
356# CONFIG_ECONET is not set
357# CONFIG_WAN_ROUTER is not set
358
359#
360# QoS and/or fair queueing
361#
362# CONFIG_NET_SCHED is not set
363
364#
365# Network testing
366#
367# CONFIG_NET_PKTGEN is not set
368# CONFIG_HAMRADIO is not set
369# CONFIG_IRDA is not set
370# CONFIG_BT is not set
371# CONFIG_IEEE80211 is not set
372CONFIG_WIRELESS_EXT=y
373
374#
180# Device Drivers 375# Device Drivers
181# 376#
182 377
@@ -186,6 +381,12 @@ CONFIG_BINFMT_ELF=y
186CONFIG_STANDALONE=y 381CONFIG_STANDALONE=y
187CONFIG_PREVENT_FIRMWARE_BUILD=y 382CONFIG_PREVENT_FIRMWARE_BUILD=y
188# CONFIG_FW_LOADER is not set 383# CONFIG_FW_LOADER is not set
384# CONFIG_SYS_HYPERVISOR is not set
385
386#
387# Connector - unified userspace <-> kernelspace linker
388#
389# CONFIG_CONNECTOR is not set
189 390
190# 391#
191# Memory Technology Devices (MTD) 392# Memory Technology Devices (MTD)
@@ -204,7 +405,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
204# 405#
205# Block devices 406# Block devices
206# 407#
207# CONFIG_BLK_DEV_FD is not set
208# CONFIG_BLK_CPQ_DA is not set 408# CONFIG_BLK_CPQ_DA is not set
209# CONFIG_BLK_CPQ_CISS_DA is not set 409# CONFIG_BLK_CPQ_CISS_DA is not set
210# CONFIG_BLK_DEV_DAC960 is not set 410# CONFIG_BLK_DEV_DAC960 is not set
@@ -216,18 +416,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
216CONFIG_BLK_DEV_RAM=y 416CONFIG_BLK_DEV_RAM=y
217CONFIG_BLK_DEV_RAM_COUNT=16 417CONFIG_BLK_DEV_RAM_COUNT=16
218CONFIG_BLK_DEV_RAM_SIZE=4096 418CONFIG_BLK_DEV_RAM_SIZE=4096
419CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
219# CONFIG_BLK_DEV_INITRD is not set 420# CONFIG_BLK_DEV_INITRD is not set
220CONFIG_INITRAMFS_SOURCE=""
221# CONFIG_LBD is not set
222# CONFIG_CDROM_PKTCDVD is not set 421# CONFIG_CDROM_PKTCDVD is not set
223
224#
225# IO Schedulers
226#
227CONFIG_IOSCHED_NOOP=y
228CONFIG_IOSCHED_AS=y
229CONFIG_IOSCHED_DEADLINE=y
230CONFIG_IOSCHED_CFQ=y
231# CONFIG_ATA_OVER_ETH is not set 422# CONFIG_ATA_OVER_ETH is not set
232 423
233# 424#
@@ -253,7 +444,6 @@ CONFIG_BLK_DEV_IDEDISK=y
253# 444#
254CONFIG_IDE_GENERIC=y 445CONFIG_IDE_GENERIC=y
255# CONFIG_BLK_DEV_IDEPCI is not set 446# CONFIG_BLK_DEV_IDEPCI is not set
256CONFIG_IDE_SH=y
257# CONFIG_IDE_ARM is not set 447# CONFIG_IDE_ARM is not set
258# CONFIG_BLK_DEV_IDEDMA is not set 448# CONFIG_BLK_DEV_IDEDMA is not set
259# CONFIG_IDEDMA_AUTO is not set 449# CONFIG_IDEDMA_AUTO is not set
@@ -262,7 +452,14 @@ CONFIG_IDE_SH=y
262# 452#
263# SCSI device support 453# SCSI device support
264# 454#
455# CONFIG_RAID_ATTRS is not set
265# CONFIG_SCSI is not set 456# CONFIG_SCSI is not set
457# CONFIG_SCSI_NETLINK is not set
458
459#
460# Serial ATA (prod) and Parallel ATA (experimental) drivers
461#
462# CONFIG_ATA is not set
266 463
267# 464#
268# Multi-device support (RAID and LVM) 465# Multi-device support (RAID and LVM)
@@ -272,6 +469,7 @@ CONFIG_IDE_SH=y
272# 469#
273# Fusion MPT device support 470# Fusion MPT device support
274# 471#
472# CONFIG_FUSION is not set
275 473
276# 474#
277# IEEE 1394 (FireWire) support 475# IEEE 1394 (FireWire) support
@@ -284,67 +482,8 @@ CONFIG_IDE_SH=y
284# CONFIG_I2O is not set 482# CONFIG_I2O is not set
285 483
286# 484#
287# Networking support 485# Network device support
288# 486#
289CONFIG_NET=y
290
291#
292# Networking options
293#
294CONFIG_PACKET=y
295# CONFIG_PACKET_MMAP is not set
296# CONFIG_NETLINK_DEV is not set
297CONFIG_UNIX=y
298# CONFIG_NET_KEY is not set
299CONFIG_INET=y
300# CONFIG_IP_MULTICAST is not set
301# CONFIG_IP_ADVANCED_ROUTER is not set
302# CONFIG_IP_PNP is not set
303# CONFIG_NET_IPIP is not set
304# CONFIG_NET_IPGRE is not set
305# CONFIG_ARPD is not set
306# CONFIG_SYN_COOKIES is not set
307# CONFIG_INET_AH is not set
308# CONFIG_INET_ESP is not set
309# CONFIG_INET_IPCOMP is not set
310# CONFIG_INET_TUNNEL is not set
311CONFIG_IP_TCPDIAG=y
312# CONFIG_IP_TCPDIAG_IPV6 is not set
313# CONFIG_IPV6 is not set
314# CONFIG_NETFILTER is not set
315
316#
317# SCTP Configuration (EXPERIMENTAL)
318#
319# CONFIG_IP_SCTP is not set
320# CONFIG_ATM is not set
321# CONFIG_BRIDGE is not set
322# CONFIG_VLAN_8021Q is not set
323# CONFIG_DECNET is not set
324# CONFIG_LLC2 is not set
325# CONFIG_IPX is not set
326# CONFIG_ATALK is not set
327# CONFIG_X25 is not set
328# CONFIG_LAPB is not set
329# CONFIG_NET_DIVERT is not set
330# CONFIG_ECONET is not set
331# CONFIG_WAN_ROUTER is not set
332
333#
334# QoS and/or fair queueing
335#
336# CONFIG_NET_SCHED is not set
337# CONFIG_NET_CLS_ROUTE is not set
338
339#
340# Network testing
341#
342# CONFIG_NET_PKTGEN is not set
343# CONFIG_NETPOLL is not set
344# CONFIG_NET_POLL_CONTROLLER is not set
345# CONFIG_HAMRADIO is not set
346# CONFIG_IRDA is not set
347# CONFIG_BT is not set
348CONFIG_NETDEVICES=y 487CONFIG_NETDEVICES=y
349# CONFIG_DUMMY is not set 488# CONFIG_DUMMY is not set
350# CONFIG_BONDING is not set 489# CONFIG_BONDING is not set
@@ -357,6 +496,11 @@ CONFIG_NETDEVICES=y
357# CONFIG_ARCNET is not set 496# CONFIG_ARCNET is not set
358 497
359# 498#
499# PHY device support
500#
501# CONFIG_PHYLIB is not set
502
503#
360# Ethernet (10 or 100Mbit) 504# Ethernet (10 or 100Mbit)
361# 505#
362CONFIG_NET_ETHERNET=y 506CONFIG_NET_ETHERNET=y
@@ -364,6 +508,7 @@ CONFIG_MII=y
364# CONFIG_STNIC is not set 508# CONFIG_STNIC is not set
365# CONFIG_HAPPYMEAL is not set 509# CONFIG_HAPPYMEAL is not set
366# CONFIG_SUNGEM is not set 510# CONFIG_SUNGEM is not set
511# CONFIG_CASSINI is not set
367# CONFIG_NET_VENDOR_3COM is not set 512# CONFIG_NET_VENDOR_3COM is not set
368# CONFIG_SMC91X is not set 513# CONFIG_SMC91X is not set
369 514
@@ -406,15 +551,22 @@ CONFIG_8139TOO=y
406# CONFIG_HAMACHI is not set 551# CONFIG_HAMACHI is not set
407# CONFIG_YELLOWFIN is not set 552# CONFIG_YELLOWFIN is not set
408# CONFIG_R8169 is not set 553# CONFIG_R8169 is not set
554# CONFIG_SIS190 is not set
555# CONFIG_SKGE is not set
556# CONFIG_SKY2 is not set
409# CONFIG_SK98LIN is not set 557# CONFIG_SK98LIN is not set
410# CONFIG_VIA_VELOCITY is not set 558# CONFIG_VIA_VELOCITY is not set
411# CONFIG_TIGON3 is not set 559# CONFIG_TIGON3 is not set
560# CONFIG_BNX2 is not set
561# CONFIG_QLA3XXX is not set
412 562
413# 563#
414# Ethernet (10000 Mbit) 564# Ethernet (10000 Mbit)
415# 565#
566# CONFIG_CHELSIO_T1 is not set
416# CONFIG_IXGB is not set 567# CONFIG_IXGB is not set
417# CONFIG_S2IO is not set 568# CONFIG_S2IO is not set
569# CONFIG_MYRI10GE is not set
418 570
419# 571#
420# Token Ring devices 572# Token Ring devices
@@ -425,6 +577,7 @@ CONFIG_8139TOO=y
425# Wireless LAN (non-hamradio) 577# Wireless LAN (non-hamradio)
426# 578#
427CONFIG_NET_RADIO=y 579CONFIG_NET_RADIO=y
580# CONFIG_NET_WIRELESS_RTNETLINK is not set
428 581
429# 582#
430# Obsolete Wireless cards support (pre-802.11) 583# Obsolete Wireless cards support (pre-802.11)
@@ -434,9 +587,12 @@ CONFIG_NET_RADIO=y
434# 587#
435# Wireless 802.11b ISA/PCI cards support 588# Wireless 802.11b ISA/PCI cards support
436# 589#
590# CONFIG_IPW2100 is not set
591# CONFIG_IPW2200 is not set
437CONFIG_HERMES=m 592CONFIG_HERMES=m
438# CONFIG_PLX_HERMES is not set 593# CONFIG_PLX_HERMES is not set
439# CONFIG_TMD_HERMES is not set 594# CONFIG_TMD_HERMES is not set
595# CONFIG_NORTEL_HERMES is not set
440# CONFIG_PCI_HERMES is not set 596# CONFIG_PCI_HERMES is not set
441# CONFIG_ATMEL is not set 597# CONFIG_ATMEL is not set
442 598
@@ -444,6 +600,7 @@ CONFIG_HERMES=m
444# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support 600# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
445# 601#
446# CONFIG_PRISM54 is not set 602# CONFIG_PRISM54 is not set
603# CONFIG_HOSTAP is not set
447CONFIG_NET_WIRELESS=y 604CONFIG_NET_WIRELESS=y
448 605
449# 606#
@@ -456,6 +613,8 @@ CONFIG_NET_WIRELESS=y
456# CONFIG_SLIP is not set 613# CONFIG_SLIP is not set
457# CONFIG_SHAPER is not set 614# CONFIG_SHAPER is not set
458# CONFIG_NETCONSOLE is not set 615# CONFIG_NETCONSOLE is not set
616# CONFIG_NETPOLL is not set
617# CONFIG_NET_POLL_CONTROLLER is not set
459 618
460# 619#
461# ISDN subsystem 620# ISDN subsystem
@@ -473,20 +632,10 @@ CONFIG_NET_WIRELESS=y
473# CONFIG_INPUT is not set 632# CONFIG_INPUT is not set
474 633
475# 634#
476# Userland interfaces 635# Hardware I/O ports
477#
478
479# 636#
480# Input I/O drivers
481#
482# CONFIG_GAMEPORT is not set
483CONFIG_SOUND_GAMEPORT=y
484# CONFIG_SERIO is not set 637# CONFIG_SERIO is not set
485# CONFIG_SERIO_I8042 is not set 638# CONFIG_GAMEPORT is not set
486
487#
488# Input Device Drivers
489#
490 639
491# 640#
492# Character devices 641# Character devices
@@ -503,6 +652,7 @@ CONFIG_SOUND_GAMEPORT=y
503# Non-8250 serial port support 652# Non-8250 serial port support
504# 653#
505# CONFIG_SERIAL_SH_SCI is not set 654# CONFIG_SERIAL_SH_SCI is not set
655# CONFIG_SERIAL_JSM is not set
506# CONFIG_UNIX98_PTYS is not set 656# CONFIG_UNIX98_PTYS is not set
507CONFIG_LEGACY_PTYS=y 657CONFIG_LEGACY_PTYS=y
508CONFIG_LEGACY_PTY_COUNT=256 658CONFIG_LEGACY_PTY_COUNT=256
@@ -516,7 +666,7 @@ CONFIG_LEGACY_PTY_COUNT=256
516# Watchdog Cards 666# Watchdog Cards
517# 667#
518# CONFIG_WATCHDOG is not set 668# CONFIG_WATCHDOG is not set
519# CONFIG_RTC is not set 669CONFIG_HW_RANDOM=y
520# CONFIG_GEN_RTC is not set 670# CONFIG_GEN_RTC is not set
521# CONFIG_DTLK is not set 671# CONFIG_DTLK is not set
522# CONFIG_R3964 is not set 672# CONFIG_R3964 is not set
@@ -529,14 +679,35 @@ CONFIG_LEGACY_PTY_COUNT=256
529# CONFIG_RAW_DRIVER is not set 679# CONFIG_RAW_DRIVER is not set
530 680
531# 681#
682# TPM devices
683#
684# CONFIG_TCG_TPM is not set
685# CONFIG_TELCLOCK is not set
686
687#
532# I2C support 688# I2C support
533# 689#
534# CONFIG_I2C is not set 690# CONFIG_I2C is not set
535 691
536# 692#
693# SPI support
694#
695# CONFIG_SPI is not set
696# CONFIG_SPI_MASTER is not set
697
698#
537# Dallas's 1-wire bus 699# Dallas's 1-wire bus
538# 700#
539# CONFIG_W1 is not set 701
702#
703# Hardware Monitoring support
704#
705CONFIG_HWMON=y
706# CONFIG_HWMON_VID is not set
707# CONFIG_SENSORS_ABITUGURU is not set
708# CONFIG_SENSORS_F71805F is not set
709# CONFIG_SENSORS_VT1211 is not set
710# CONFIG_HWMON_DEBUG_CHIP is not set
540 711
541# 712#
542# Misc devices 713# Misc devices
@@ -546,6 +717,7 @@ CONFIG_LEGACY_PTY_COUNT=256
546# Multimedia devices 717# Multimedia devices
547# 718#
548# CONFIG_VIDEO_DEV is not set 719# CONFIG_VIDEO_DEV is not set
720CONFIG_VIDEO_V4L2=y
549 721
550# 722#
551# Digital Video Broadcasting Devices 723# Digital Video Broadcasting Devices
@@ -555,7 +727,9 @@ CONFIG_LEGACY_PTY_COUNT=256
555# 727#
556# Graphics support 728# Graphics support
557# 729#
730CONFIG_FIRMWARE_EDID=y
558# CONFIG_FB is not set 731# CONFIG_FB is not set
732# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
559 733
560# 734#
561# Sound 735# Sound
@@ -573,6 +747,9 @@ CONFIG_SND_RAWMIDI=m
573# CONFIG_SND_SEQUENCER is not set 747# CONFIG_SND_SEQUENCER is not set
574# CONFIG_SND_MIXER_OSS is not set 748# CONFIG_SND_MIXER_OSS is not set
575# CONFIG_SND_PCM_OSS is not set 749# CONFIG_SND_PCM_OSS is not set
750# CONFIG_SND_DYNAMIC_MINORS is not set
751CONFIG_SND_SUPPORT_OLD_API=y
752CONFIG_SND_VERBOSE_PROCFS=y
576# CONFIG_SND_VERBOSE_PRINTK is not set 753# CONFIG_SND_VERBOSE_PRINTK is not set
577# CONFIG_SND_DEBUG is not set 754# CONFIG_SND_DEBUG is not set
578 755
@@ -581,6 +758,8 @@ CONFIG_SND_RAWMIDI=m
581# 758#
582CONFIG_SND_MPU401_UART=m 759CONFIG_SND_MPU401_UART=m
583CONFIG_SND_OPL3_LIB=m 760CONFIG_SND_OPL3_LIB=m
761CONFIG_SND_AC97_CODEC=m
762CONFIG_SND_AC97_BUS=m
584# CONFIG_SND_DUMMY is not set 763# CONFIG_SND_DUMMY is not set
585# CONFIG_SND_MTPAV is not set 764# CONFIG_SND_MTPAV is not set
586# CONFIG_SND_SERIAL_U16550 is not set 765# CONFIG_SND_SERIAL_U16550 is not set
@@ -589,7 +768,8 @@ CONFIG_SND_OPL3_LIB=m
589# 768#
590# PCI devices 769# PCI devices
591# 770#
592CONFIG_SND_AC97_CODEC=m 771# CONFIG_SND_AD1889 is not set
772# CONFIG_SND_ALS300 is not set
593# CONFIG_SND_ALI5451 is not set 773# CONFIG_SND_ALI5451 is not set
594# CONFIG_SND_ATIIXP is not set 774# CONFIG_SND_ATIIXP is not set
595# CONFIG_SND_ATIIXP_MODEM is not set 775# CONFIG_SND_ATIIXP_MODEM is not set
@@ -598,73 +778,63 @@ CONFIG_SND_AC97_CODEC=m
598# CONFIG_SND_AU8830 is not set 778# CONFIG_SND_AU8830 is not set
599# CONFIG_SND_AZT3328 is not set 779# CONFIG_SND_AZT3328 is not set
600# CONFIG_SND_BT87X is not set 780# CONFIG_SND_BT87X is not set
601# CONFIG_SND_CS46XX is not set 781# CONFIG_SND_CA0106 is not set
782# CONFIG_SND_CMIPCI is not set
602# CONFIG_SND_CS4281 is not set 783# CONFIG_SND_CS4281 is not set
784# CONFIG_SND_CS46XX is not set
603# CONFIG_SND_EMU10K1 is not set 785# CONFIG_SND_EMU10K1 is not set
604# CONFIG_SND_EMU10K1X is not set 786# CONFIG_SND_EMU10K1X is not set
605# CONFIG_SND_CA0106 is not set
606# CONFIG_SND_KORG1212 is not set
607# CONFIG_SND_MIXART is not set
608# CONFIG_SND_NM256 is not set
609# CONFIG_SND_RME32 is not set
610# CONFIG_SND_RME96 is not set
611# CONFIG_SND_RME9652 is not set
612# CONFIG_SND_HDSP is not set
613# CONFIG_SND_TRIDENT is not set
614CONFIG_SND_YMFPCI=m
615# CONFIG_SND_ALS4000 is not set
616# CONFIG_SND_CMIPCI is not set
617# CONFIG_SND_ENS1370 is not set 787# CONFIG_SND_ENS1370 is not set
618# CONFIG_SND_ENS1371 is not set 788# CONFIG_SND_ENS1371 is not set
619# CONFIG_SND_ES1938 is not set 789# CONFIG_SND_ES1938 is not set
620# CONFIG_SND_ES1968 is not set 790# CONFIG_SND_ES1968 is not set
621# CONFIG_SND_MAESTRO3 is not set
622# CONFIG_SND_FM801 is not set 791# CONFIG_SND_FM801 is not set
792# CONFIG_SND_HDA_INTEL is not set
793# CONFIG_SND_HDSP is not set
794# CONFIG_SND_HDSPM is not set
623# CONFIG_SND_ICE1712 is not set 795# CONFIG_SND_ICE1712 is not set
624# CONFIG_SND_ICE1724 is not set 796# CONFIG_SND_ICE1724 is not set
625# CONFIG_SND_INTEL8X0 is not set 797# CONFIG_SND_INTEL8X0 is not set
626# CONFIG_SND_INTEL8X0M is not set 798# CONFIG_SND_INTEL8X0M is not set
799# CONFIG_SND_KORG1212 is not set
800# CONFIG_SND_MAESTRO3 is not set
801# CONFIG_SND_MIXART is not set
802# CONFIG_SND_NM256 is not set
803# CONFIG_SND_PCXHR is not set
804# CONFIG_SND_RME32 is not set
805# CONFIG_SND_RME96 is not set
806# CONFIG_SND_RME9652 is not set
627# CONFIG_SND_SONICVIBES is not set 807# CONFIG_SND_SONICVIBES is not set
808# CONFIG_SND_TRIDENT is not set
628# CONFIG_SND_VIA82XX is not set 809# CONFIG_SND_VIA82XX is not set
629# CONFIG_SND_VIA82XX_MODEM is not set 810# CONFIG_SND_VIA82XX_MODEM is not set
630# CONFIG_SND_VX222 is not set 811# CONFIG_SND_VX222 is not set
812CONFIG_SND_YMFPCI=m
813# CONFIG_SND_AC97_POWER_SAVE is not set
631 814
632# 815#
633# Open Sound System 816# Open Sound System
634# 817#
635CONFIG_SOUND_PRIME=m 818CONFIG_SOUND_PRIME=m
819# CONFIG_OSS_OBSOLETE_DRIVER is not set
636# CONFIG_SOUND_BT878 is not set 820# CONFIG_SOUND_BT878 is not set
637CONFIG_SOUND_CMPCI=m
638# CONFIG_SOUND_EMU10K1 is not set
639# CONFIG_SOUND_FUSION is not set
640# CONFIG_SOUND_CS4281 is not set
641# CONFIG_SOUND_ES1370 is not set
642# CONFIG_SOUND_ES1371 is not set 821# CONFIG_SOUND_ES1371 is not set
643# CONFIG_SOUND_ESSSOLO1 is not set
644# CONFIG_SOUND_MAESTRO is not set
645# CONFIG_SOUND_MAESTRO3 is not set
646# CONFIG_SOUND_ICH is not set 822# CONFIG_SOUND_ICH is not set
647# CONFIG_SOUND_SONICVIBES is not set
648# CONFIG_SOUND_TRIDENT is not set 823# CONFIG_SOUND_TRIDENT is not set
649# CONFIG_SOUND_MSNDCLAS is not set 824# CONFIG_SOUND_MSNDCLAS is not set
650# CONFIG_SOUND_MSNDPIN is not set 825# CONFIG_SOUND_MSNDPIN is not set
651# CONFIG_SOUND_VIA82CXXX is not set 826# CONFIG_SOUND_VIA82CXXX is not set
652# CONFIG_SOUND_OSS is not set
653# CONFIG_SOUND_ALI5455 is not set
654# CONFIG_SOUND_FORTE is not set
655# CONFIG_SOUND_RME96XX is not set
656# CONFIG_SOUND_AD1980 is not set
657CONFIG_SOUND_VOYAGERGX=m
658 827
659# 828#
660# USB support 829# USB support
661# 830#
662# CONFIG_USB is not set
663CONFIG_USB_ARCH_HAS_HCD=y 831CONFIG_USB_ARCH_HAS_HCD=y
664CONFIG_USB_ARCH_HAS_OHCI=y 832CONFIG_USB_ARCH_HAS_OHCI=y
833CONFIG_USB_ARCH_HAS_EHCI=y
834# CONFIG_USB is not set
665 835
666# 836#
667# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 837# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
668# 838#
669 839
670# 840#
@@ -678,30 +848,66 @@ CONFIG_USB_ARCH_HAS_OHCI=y
678# CONFIG_MMC is not set 848# CONFIG_MMC is not set
679 849
680# 850#
851# LED devices
852#
853# CONFIG_NEW_LEDS is not set
854
855#
856# LED drivers
857#
858
859#
860# LED Triggers
861#
862
863#
681# InfiniBand support 864# InfiniBand support
682# 865#
683# CONFIG_INFINIBAND is not set 866# CONFIG_INFINIBAND is not set
684 867
685# 868#
869# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
870#
871
872#
873# Real Time Clock
874#
875# CONFIG_RTC_CLASS is not set
876
877#
878# DMA Engine support
879#
880# CONFIG_DMA_ENGINE is not set
881
882#
883# DMA Clients
884#
885
886#
887# DMA Devices
888#
889
890#
686# File systems 891# File systems
687# 892#
688CONFIG_EXT2_FS=y 893CONFIG_EXT2_FS=y
689# CONFIG_EXT2_FS_XATTR is not set 894# CONFIG_EXT2_FS_XATTR is not set
895# CONFIG_EXT2_FS_XIP is not set
690# CONFIG_EXT3_FS is not set 896# CONFIG_EXT3_FS is not set
691# CONFIG_JBD is not set
692# CONFIG_REISERFS_FS is not set 897# CONFIG_REISERFS_FS is not set
693# CONFIG_JFS_FS is not set 898# CONFIG_JFS_FS is not set
694 899# CONFIG_FS_POSIX_ACL is not set
695#
696# XFS support
697#
698# CONFIG_XFS_FS is not set 900# CONFIG_XFS_FS is not set
901# CONFIG_OCFS2_FS is not set
699CONFIG_MINIX_FS=y 902CONFIG_MINIX_FS=y
700# CONFIG_ROMFS_FS is not set 903# CONFIG_ROMFS_FS is not set
904CONFIG_INOTIFY=y
905CONFIG_INOTIFY_USER=y
701# CONFIG_QUOTA is not set 906# CONFIG_QUOTA is not set
702CONFIG_DNOTIFY=y 907CONFIG_DNOTIFY=y
703# CONFIG_AUTOFS_FS is not set 908# CONFIG_AUTOFS_FS is not set
704# CONFIG_AUTOFS4_FS is not set 909# CONFIG_AUTOFS4_FS is not set
910# CONFIG_FUSE_FS is not set
705 911
706# 912#
707# CD-ROM/DVD Filesystems 913# CD-ROM/DVD Filesystems
@@ -724,12 +930,13 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
724# 930#
725CONFIG_PROC_FS=y 931CONFIG_PROC_FS=y
726CONFIG_PROC_KCORE=y 932CONFIG_PROC_KCORE=y
933CONFIG_PROC_SYSCTL=y
727CONFIG_SYSFS=y 934CONFIG_SYSFS=y
728# CONFIG_DEVFS_FS is not set
729# CONFIG_TMPFS is not set 935# CONFIG_TMPFS is not set
730# CONFIG_HUGETLBFS is not set 936# CONFIG_HUGETLBFS is not set
731# CONFIG_HUGETLB_PAGE is not set 937# CONFIG_HUGETLB_PAGE is not set
732CONFIG_RAMFS=y 938CONFIG_RAMFS=y
939# CONFIG_CONFIGFS_FS is not set
733 940
734# 941#
735# Miscellaneous filesystems 942# Miscellaneous filesystems
@@ -758,6 +965,7 @@ CONFIG_RAMFS=y
758# CONFIG_NCP_FS is not set 965# CONFIG_NCP_FS is not set
759# CONFIG_CODA_FS is not set 966# CONFIG_CODA_FS is not set
760# CONFIG_AFS_FS is not set 967# CONFIG_AFS_FS is not set
968# CONFIG_9P_FS is not set
761 969
762# 970#
763# Partition Types 971# Partition Types
@@ -818,8 +1026,14 @@ CONFIG_OPROFILE=y
818# 1026#
819# Kernel hacking 1027# Kernel hacking
820# 1028#
1029# CONFIG_PRINTK_TIME is not set
1030CONFIG_ENABLE_MUST_CHECK=y
1031# CONFIG_MAGIC_SYSRQ is not set
1032# CONFIG_UNUSED_SYMBOLS is not set
821# CONFIG_DEBUG_KERNEL is not set 1033# CONFIG_DEBUG_KERNEL is not set
822# CONFIG_FRAME_POINTER is not set 1034CONFIG_LOG_BUF_SHIFT=14
1035# CONFIG_DEBUG_BUGVERBOSE is not set
1036# CONFIG_DEBUG_FS is not set
823# CONFIG_SH_STANDARD_BIOS is not set 1037# CONFIG_SH_STANDARD_BIOS is not set
824# CONFIG_EARLY_SCIF_CONSOLE is not set 1038# CONFIG_EARLY_SCIF_CONSOLE is not set
825# CONFIG_KGDB is not set 1039# CONFIG_KGDB is not set
@@ -836,12 +1050,10 @@ CONFIG_OPROFILE=y
836# CONFIG_CRYPTO is not set 1050# CONFIG_CRYPTO is not set
837 1051
838# 1052#
839# Hardware crypto devices
840#
841
842#
843# Library routines 1053# Library routines
844# 1054#
845# CONFIG_CRC_CCITT is not set 1055# CONFIG_CRC_CCITT is not set
1056# CONFIG_CRC16 is not set
846CONFIG_CRC32=y 1057CONFIG_CRC32=y
847# CONFIG_LIBCRC32C is not set 1058# CONFIG_LIBCRC32C is not set
1059CONFIG_PLIST=y
diff --git a/arch/sh/configs/se7300_defconfig b/arch/sh/configs/se7300_defconfig
index 4b71cd692fa5..8a217908b81f 100644
--- a/arch/sh/configs/se7300_defconfig
+++ b/arch/sh/configs/se7300_defconfig
@@ -1,45 +1,55 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:43 2005 4# Tue Oct 3 11:43:22 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24# CONFIG_SWAP is not set 27# CONFIG_SWAP is not set
25# CONFIG_SYSVIPC is not set 28# CONFIG_SYSVIPC is not set
26# CONFIG_BSD_PROCESS_ACCT is not set 29# CONFIG_BSD_PROCESS_ACCT is not set
27CONFIG_SYSCTL=y 30# CONFIG_UTS_NS is not set
28# CONFIG_AUDIT is not set
29CONFIG_LOG_BUF_SHIFT=14
30# CONFIG_HOTPLUG is not set
31# CONFIG_IKCONFIG is not set 31# CONFIG_IKCONFIG is not set
32# CONFIG_RELAY is not set
33CONFIG_INITRAMFS_SOURCE=""
34# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
35CONFIG_SYSCTL=y
32CONFIG_EMBEDDED=y 36CONFIG_EMBEDDED=y
37CONFIG_UID16=y
38# CONFIG_SYSCTL_SYSCALL is not set
33# CONFIG_KALLSYMS is not set 39# CONFIG_KALLSYMS is not set
40# CONFIG_HOTPLUG is not set
41CONFIG_PRINTK=y
42CONFIG_BUG=y
43CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y
34# CONFIG_FUTEX is not set 45# CONFIG_FUTEX is not set
35# CONFIG_EPOLL is not set 46# CONFIG_EPOLL is not set
36# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
37CONFIG_SHMEM=y 47CONFIG_SHMEM=y
38CONFIG_CC_ALIGN_FUNCTIONS=0 48CONFIG_SLAB=y
39CONFIG_CC_ALIGN_LABELS=0 49CONFIG_VM_EVENT_COUNTERS=y
40CONFIG_CC_ALIGN_LOOPS=0
41CONFIG_CC_ALIGN_JUMPS=0
42# CONFIG_TINY_SHMEM is not set 50# CONFIG_TINY_SHMEM is not set
51CONFIG_BASE_SMALL=0
52# CONFIG_SLOB is not set
43 53
44# 54#
45# Loadable module support 55# Loadable module support
@@ -47,68 +57,145 @@ CONFIG_CC_ALIGN_JUMPS=0
47# CONFIG_MODULES is not set 57# CONFIG_MODULES is not set
48 58
49# 59#
60# Block layer
61#
62CONFIG_BLOCK=y
63# CONFIG_LBD is not set
64# CONFIG_BLK_DEV_IO_TRACE is not set
65# CONFIG_LSF is not set
66
67#
68# IO Schedulers
69#
70CONFIG_IOSCHED_NOOP=y
71# CONFIG_IOSCHED_AS is not set
72# CONFIG_IOSCHED_DEADLINE is not set
73# CONFIG_IOSCHED_CFQ is not set
74# CONFIG_DEFAULT_AS is not set
75# CONFIG_DEFAULT_DEADLINE is not set
76# CONFIG_DEFAULT_CFQ is not set
77CONFIG_DEFAULT_NOOP=y
78CONFIG_DEFAULT_IOSCHED="noop"
79
80#
50# System type 81# System type
51# 82#
83CONFIG_SOLUTION_ENGINE=y
52# CONFIG_SH_SOLUTION_ENGINE is not set 84# CONFIG_SH_SOLUTION_ENGINE is not set
53# CONFIG_SH_7751_SOLUTION_ENGINE is not set 85# CONFIG_SH_7751_SOLUTION_ENGINE is not set
54CONFIG_SH_7300_SOLUTION_ENGINE=y 86CONFIG_SH_7300_SOLUTION_ENGINE=y
87# CONFIG_SH_7343_SOLUTION_ENGINE is not set
55# CONFIG_SH_73180_SOLUTION_ENGINE is not set 88# CONFIG_SH_73180_SOLUTION_ENGINE is not set
56# CONFIG_SH_7751_SYSTEMH is not set 89# CONFIG_SH_7751_SYSTEMH is not set
57# CONFIG_SH_STB1_HARP is not set 90# CONFIG_SH_HP6XX is not set
58# CONFIG_SH_STB1_OVERDRIVE is not set
59# CONFIG_SH_HP620 is not set
60# CONFIG_SH_HP680 is not set
61# CONFIG_SH_HP690 is not set
62# CONFIG_SH_CQREEK is not set
63# CONFIG_SH_DMIDA is not set
64# CONFIG_SH_EC3104 is not set 91# CONFIG_SH_EC3104 is not set
65# CONFIG_SH_SATURN is not set 92# CONFIG_SH_SATURN is not set
66# CONFIG_SH_DREAMCAST is not set 93# CONFIG_SH_DREAMCAST is not set
67# CONFIG_SH_CAT68701 is not set
68# CONFIG_SH_BIGSUR is not set 94# CONFIG_SH_BIGSUR is not set
69# CONFIG_SH_SH2000 is not set
70# CONFIG_SH_ADX is not set
71# CONFIG_SH_MPC1211 is not set 95# CONFIG_SH_MPC1211 is not set
72# CONFIG_SH_SH03 is not set 96# CONFIG_SH_SH03 is not set
73# CONFIG_SH_SECUREEDGE5410 is not set 97# CONFIG_SH_SECUREEDGE5410 is not set
74# CONFIG_SH_HS7751RVOIP is not set 98# CONFIG_SH_HS7751RVOIP is not set
99# CONFIG_SH_7710VOIPGW is not set
75# CONFIG_SH_RTS7751R2D is not set 100# CONFIG_SH_RTS7751R2D is not set
101# CONFIG_SH_R7780RP is not set
76# CONFIG_SH_EDOSK7705 is not set 102# CONFIG_SH_EDOSK7705 is not set
77# CONFIG_SH_SH4202_MICRODEV is not set 103# CONFIG_SH_SH4202_MICRODEV is not set
104# CONFIG_SH_LANDISK is not set
105# CONFIG_SH_TITAN is not set
106# CONFIG_SH_SHMIN is not set
78# CONFIG_SH_UNKNOWN is not set 107# CONFIG_SH_UNKNOWN is not set
79# CONFIG_CPU_SH2 is not set 108
109#
110# Processor selection
111#
80CONFIG_CPU_SH3=y 112CONFIG_CPU_SH3=y
81# CONFIG_CPU_SH4 is not set 113
114#
115# SH-2 Processor Support
116#
82# CONFIG_CPU_SUBTYPE_SH7604 is not set 117# CONFIG_CPU_SUBTYPE_SH7604 is not set
118
119#
120# SH-3 Processor Support
121#
83CONFIG_CPU_SUBTYPE_SH7300=y 122CONFIG_CPU_SUBTYPE_SH7300=y
84# CONFIG_CPU_SUBTYPE_SH7705 is not set 123# CONFIG_CPU_SUBTYPE_SH7705 is not set
124# CONFIG_CPU_SUBTYPE_SH7706 is not set
85# CONFIG_CPU_SUBTYPE_SH7707 is not set 125# CONFIG_CPU_SUBTYPE_SH7707 is not set
86# CONFIG_CPU_SUBTYPE_SH7708 is not set 126# CONFIG_CPU_SUBTYPE_SH7708 is not set
87# CONFIG_CPU_SUBTYPE_SH7709 is not set 127# CONFIG_CPU_SUBTYPE_SH7709 is not set
128# CONFIG_CPU_SUBTYPE_SH7710 is not set
129
130#
131# SH-4 Processor Support
132#
88# CONFIG_CPU_SUBTYPE_SH7750 is not set 133# CONFIG_CPU_SUBTYPE_SH7750 is not set
134# CONFIG_CPU_SUBTYPE_SH7091 is not set
135# CONFIG_CPU_SUBTYPE_SH7750R is not set
136# CONFIG_CPU_SUBTYPE_SH7750S is not set
89# CONFIG_CPU_SUBTYPE_SH7751 is not set 137# CONFIG_CPU_SUBTYPE_SH7751 is not set
138# CONFIG_CPU_SUBTYPE_SH7751R is not set
90# CONFIG_CPU_SUBTYPE_SH7760 is not set 139# CONFIG_CPU_SUBTYPE_SH7760 is not set
91# CONFIG_CPU_SUBTYPE_SH73180 is not set 140# CONFIG_CPU_SUBTYPE_SH4_202 is not set
141
142#
143# ST40 Processor Support
144#
92# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 145# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
93# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 146# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
94# CONFIG_CPU_SUBTYPE_SH4_202 is not set 147
148#
149# SH-4A Processor Support
150#
151# CONFIG_CPU_SUBTYPE_SH7770 is not set
152# CONFIG_CPU_SUBTYPE_SH7780 is not set
153
154#
155# SH4AL-DSP Processor Support
156#
157# CONFIG_CPU_SUBTYPE_SH73180 is not set
158# CONFIG_CPU_SUBTYPE_SH7343 is not set
159
160#
161# Memory management options
162#
95CONFIG_MMU=y 163CONFIG_MMU=y
96CONFIG_CMDLINE_BOOL=y 164CONFIG_PAGE_OFFSET=0x80000000
97CONFIG_CMDLINE="console=ttySC0,38400 root=/dev/ram0"
98CONFIG_MEMORY_START=0x0c000000 165CONFIG_MEMORY_START=0x0c000000
99CONFIG_MEMORY_SIZE=0x04000000 166CONFIG_MEMORY_SIZE=0x04000000
100# CONFIG_MEMORY_OVERRIDE is not set 167CONFIG_VSYSCALL=y
101CONFIG_SH_DSP=y 168CONFIG_SELECT_MEMORY_MODEL=y
102# CONFIG_SH_ADC is not set 169CONFIG_FLATMEM_MANUAL=y
103CONFIG_ZERO_PAGE_OFFSET=0x00001000 170# CONFIG_DISCONTIGMEM_MANUAL is not set
104CONFIG_BOOT_LINK_OFFSET=0x00210000 171# CONFIG_SPARSEMEM_MANUAL is not set
105CONFIG_CPU_LITTLE_ENDIAN=y 172CONFIG_FLATMEM=y
106# CONFIG_PREEMPT is not set 173CONFIG_FLAT_NODE_MEM_MAP=y
107# CONFIG_UBC_WAKEUP is not set 174# CONFIG_SPARSEMEM_STATIC is not set
175CONFIG_SPLIT_PTLOCK_CPUS=4
176# CONFIG_RESOURCES_64BIT is not set
177
178#
179# Cache configuration
180#
181# CONFIG_SH_DIRECT_MAPPED is not set
108# CONFIG_SH_WRITETHROUGH is not set 182# CONFIG_SH_WRITETHROUGH is not set
109# CONFIG_SH_OCRAM is not set 183# CONFIG_SH_OCRAM is not set
110# CONFIG_SMP is not set 184
111# CONFIG_SH_PCLK_CALC is not set 185#
186# Processor features
187#
188CONFIG_CPU_LITTLE_ENDIAN=y
189# CONFIG_SH_FPU_EMU is not set
190CONFIG_SH_DSP=y
191# CONFIG_SH_ADC is not set
192CONFIG_CPU_HAS_INTEVT=y
193CONFIG_CPU_HAS_SR_RB=y
194
195#
196# Timer support
197#
198CONFIG_SH_TMU=y
112CONFIG_SH_PCLK_FREQ=33333333 199CONFIG_SH_PCLK_FREQ=33333333
113 200
114# 201#
@@ -128,17 +215,34 @@ CONFIG_SH_PCLK_FREQ=33333333
128CONFIG_HEARTBEAT=y 215CONFIG_HEARTBEAT=y
129 216
130# 217#
131# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 218# Kernel features
132# 219#
133# CONFIG_PCI is not set 220# CONFIG_HZ_100 is not set
221CONFIG_HZ_250=y
222# CONFIG_HZ_1000 is not set
223CONFIG_HZ=250
224# CONFIG_KEXEC is not set
225# CONFIG_SMP is not set
226CONFIG_PREEMPT_NONE=y
227# CONFIG_PREEMPT_VOLUNTARY is not set
228# CONFIG_PREEMPT is not set
134 229
135# 230#
136# PCCARD (PCMCIA/CardBus) support 231# Boot options
232#
233CONFIG_ZERO_PAGE_OFFSET=0x00001000
234CONFIG_BOOT_LINK_OFFSET=0x00210000
235# CONFIG_UBC_WAKEUP is not set
236CONFIG_CMDLINE_BOOL=y
237CONFIG_CMDLINE="console=ttySC0,38400 root=/dev/ram0"
238
239#
240# Bus options
137# 241#
138# CONFIG_PCCARD is not set 242# CONFIG_PCI is not set
139 243
140# 244#
141# PC-card bridges 245# PCCARD (PCMCIA/CardBus) support
142# 246#
143 247
144# 248#
@@ -153,10 +257,14 @@ CONFIG_BINFMT_ELF=y
153# CONFIG_BINFMT_MISC is not set 257# CONFIG_BINFMT_MISC is not set
154 258
155# 259#
156# SH initrd options 260# Power management options (EXPERIMENTAL)
261#
262# CONFIG_PM is not set
263
264#
265# Networking
157# 266#
158CONFIG_EMBEDDED_RAMDISK=y 267# CONFIG_NET is not set
159CONFIG_EMBEDDED_RAMDISK_IMAGE="ramdisk.gz"
160 268
161# 269#
162# Device Drivers 270# Device Drivers
@@ -167,7 +275,11 @@ CONFIG_EMBEDDED_RAMDISK_IMAGE="ramdisk.gz"
167# 275#
168CONFIG_STANDALONE=y 276CONFIG_STANDALONE=y
169CONFIG_PREVENT_FIRMWARE_BUILD=y 277CONFIG_PREVENT_FIRMWARE_BUILD=y
170# CONFIG_FW_LOADER is not set 278# CONFIG_SYS_HYPERVISOR is not set
279
280#
281# Connector - unified userspace <-> kernelspace linker
282#
171 283
172# 284#
173# Memory Technology Devices (MTD) 285# Memory Technology Devices (MTD)
@@ -186,26 +298,16 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
186# 298#
187# Block devices 299# Block devices
188# 300#
189# CONFIG_BLK_DEV_FD is not set
190# CONFIG_BLK_DEV_COW_COMMON is not set 301# CONFIG_BLK_DEV_COW_COMMON is not set
191# CONFIG_BLK_DEV_LOOP is not set 302# CONFIG_BLK_DEV_LOOP is not set
192CONFIG_BLK_DEV_RAM=y 303CONFIG_BLK_DEV_RAM=y
193CONFIG_BLK_DEV_RAM_COUNT=16 304CONFIG_BLK_DEV_RAM_COUNT=16
194CONFIG_BLK_DEV_RAM_SIZE=4096 305CONFIG_BLK_DEV_RAM_SIZE=4096
306CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
195CONFIG_BLK_DEV_INITRD=y 307CONFIG_BLK_DEV_INITRD=y
196CONFIG_INITRAMFS_SOURCE=""
197# CONFIG_LBD is not set
198# CONFIG_CDROM_PKTCDVD is not set 308# CONFIG_CDROM_PKTCDVD is not set
199 309
200# 310#
201# IO Schedulers
202#
203CONFIG_IOSCHED_NOOP=y
204# CONFIG_IOSCHED_AS is not set
205# CONFIG_IOSCHED_DEADLINE is not set
206# CONFIG_IOSCHED_CFQ is not set
207
208#
209# ATA/ATAPI/MFM/RLL support 311# ATA/ATAPI/MFM/RLL support
210# 312#
211# CONFIG_IDE is not set 313# CONFIG_IDE is not set
@@ -213,7 +315,14 @@ CONFIG_IOSCHED_NOOP=y
213# 315#
214# SCSI device support 316# SCSI device support
215# 317#
318# CONFIG_RAID_ATTRS is not set
216# CONFIG_SCSI is not set 319# CONFIG_SCSI is not set
320# CONFIG_SCSI_NETLINK is not set
321
322#
323# Serial ATA (prod) and Parallel ATA (experimental) drivers
324#
325# CONFIG_ATA is not set
217 326
218# 327#
219# Multi-device support (RAID and LVM) 328# Multi-device support (RAID and LVM)
@@ -223,6 +332,7 @@ CONFIG_IOSCHED_NOOP=y
223# 332#
224# Fusion MPT device support 333# Fusion MPT device support
225# 334#
335# CONFIG_FUSION is not set
226 336
227# 337#
228# IEEE 1394 (FireWire) support 338# IEEE 1394 (FireWire) support
@@ -233,13 +343,6 @@ CONFIG_IOSCHED_NOOP=y
233# 343#
234 344
235# 345#
236# Networking support
237#
238# CONFIG_NET is not set
239# CONFIG_NETPOLL is not set
240# CONFIG_NET_POLL_CONTROLLER is not set
241
242#
243# ISDN subsystem 346# ISDN subsystem
244# 347#
245 348
@@ -252,6 +355,7 @@ CONFIG_IOSCHED_NOOP=y
252# Input device support 355# Input device support
253# 356#
254CONFIG_INPUT=y 357CONFIG_INPUT=y
358# CONFIG_INPUT_FF_MEMLESS is not set
255 359
256# 360#
257# Userland interfaces 361# Userland interfaces
@@ -266,18 +370,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
266# CONFIG_INPUT_EVBUG is not set 370# CONFIG_INPUT_EVBUG is not set
267 371
268# 372#
269# Input I/O drivers
270#
271# CONFIG_GAMEPORT is not set
272CONFIG_SOUND_GAMEPORT=y
273CONFIG_SERIO=y
274# CONFIG_SERIO_I8042 is not set
275# CONFIG_SERIO_SERPORT is not set
276# CONFIG_SERIO_CT82C710 is not set
277# CONFIG_SERIO_LIBPS2 is not set
278# CONFIG_SERIO_RAW is not set
279
280#
281# Input Device Drivers 373# Input Device Drivers
282# 374#
283# CONFIG_INPUT_KEYBOARD is not set 375# CONFIG_INPUT_KEYBOARD is not set
@@ -287,6 +379,16 @@ CONFIG_SERIO=y
287# CONFIG_INPUT_MISC is not set 379# CONFIG_INPUT_MISC is not set
288 380
289# 381#
382# Hardware I/O ports
383#
384CONFIG_SERIO=y
385# CONFIG_SERIO_I8042 is not set
386# CONFIG_SERIO_SERPORT is not set
387# CONFIG_SERIO_LIBPS2 is not set
388# CONFIG_SERIO_RAW is not set
389# CONFIG_GAMEPORT is not set
390
391#
290# Character devices 392# Character devices
291# 393#
292# CONFIG_VT is not set 394# CONFIG_VT is not set
@@ -301,6 +403,7 @@ CONFIG_SERIO=y
301# Non-8250 serial port support 403# Non-8250 serial port support
302# 404#
303CONFIG_SERIAL_SH_SCI=y 405CONFIG_SERIAL_SH_SCI=y
406CONFIG_SERIAL_SH_SCI_NR_UARTS=2
304CONFIG_SERIAL_SH_SCI_CONSOLE=y 407CONFIG_SERIAL_SH_SCI_CONSOLE=y
305CONFIG_SERIAL_CORE=y 408CONFIG_SERIAL_CORE=y
306CONFIG_SERIAL_CORE_CONSOLE=y 409CONFIG_SERIAL_CORE_CONSOLE=y
@@ -328,7 +431,7 @@ CONFIG_WATCHDOG=y
328# 431#
329CONFIG_SOFT_WATCHDOG=y 432CONFIG_SOFT_WATCHDOG=y
330# CONFIG_SH_WDT is not set 433# CONFIG_SH_WDT is not set
331# CONFIG_RTC is not set 434CONFIG_HW_RANDOM=y
332# CONFIG_GEN_RTC is not set 435# CONFIG_GEN_RTC is not set
333# CONFIG_DTLK is not set 436# CONFIG_DTLK is not set
334# CONFIG_R3964 is not set 437# CONFIG_R3964 is not set
@@ -336,18 +439,38 @@ CONFIG_SOFT_WATCHDOG=y
336# 439#
337# Ftape, the floppy tape device driver 440# Ftape, the floppy tape device driver
338# 441#
339# CONFIG_DRM is not set
340# CONFIG_RAW_DRIVER is not set 442# CONFIG_RAW_DRIVER is not set
341 443
342# 444#
445# TPM devices
446#
447# CONFIG_TCG_TPM is not set
448# CONFIG_TELCLOCK is not set
449
450#
343# I2C support 451# I2C support
344# 452#
345# CONFIG_I2C is not set 453# CONFIG_I2C is not set
346 454
347# 455#
456# SPI support
457#
458# CONFIG_SPI is not set
459# CONFIG_SPI_MASTER is not set
460
461#
348# Dallas's 1-wire bus 462# Dallas's 1-wire bus
349# 463#
350# CONFIG_W1 is not set 464
465#
466# Hardware Monitoring support
467#
468CONFIG_HWMON=y
469# CONFIG_HWMON_VID is not set
470# CONFIG_SENSORS_ABITUGURU is not set
471# CONFIG_SENSORS_F71805F is not set
472# CONFIG_SENSORS_VT1211 is not set
473# CONFIG_HWMON_DEBUG_CHIP is not set
351 474
352# 475#
353# Misc devices 476# Misc devices
@@ -357,6 +480,7 @@ CONFIG_SOFT_WATCHDOG=y
357# Multimedia devices 480# Multimedia devices
358# 481#
359# CONFIG_VIDEO_DEV is not set 482# CONFIG_VIDEO_DEV is not set
483CONFIG_VIDEO_V4L2=y
360 484
361# 485#
362# Digital Video Broadcasting Devices 486# Digital Video Broadcasting Devices
@@ -365,7 +489,9 @@ CONFIG_SOFT_WATCHDOG=y
365# 489#
366# Graphics support 490# Graphics support
367# 491#
492CONFIG_FIRMWARE_EDID=y
368# CONFIG_FB is not set 493# CONFIG_FB is not set
494# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
369 495
370# 496#
371# Sound 497# Sound
@@ -377,9 +503,10 @@ CONFIG_SOFT_WATCHDOG=y
377# 503#
378# CONFIG_USB_ARCH_HAS_HCD is not set 504# CONFIG_USB_ARCH_HAS_HCD is not set
379# CONFIG_USB_ARCH_HAS_OHCI is not set 505# CONFIG_USB_ARCH_HAS_OHCI is not set
506# CONFIG_USB_ARCH_HAS_EHCI is not set
380 507
381# 508#
382# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 509# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
383# 510#
384 511
385# 512#
@@ -393,30 +520,64 @@ CONFIG_SOFT_WATCHDOG=y
393# CONFIG_MMC is not set 520# CONFIG_MMC is not set
394 521
395# 522#
523# LED devices
524#
525# CONFIG_NEW_LEDS is not set
526
527#
528# LED drivers
529#
530
531#
532# LED Triggers
533#
534
535#
396# InfiniBand support 536# InfiniBand support
397# 537#
398# CONFIG_INFINIBAND is not set 538
539#
540# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
541#
542
543#
544# Real Time Clock
545#
546# CONFIG_RTC_CLASS is not set
547
548#
549# DMA Engine support
550#
551# CONFIG_DMA_ENGINE is not set
552
553#
554# DMA Clients
555#
556
557#
558# DMA Devices
559#
399 560
400# 561#
401# File systems 562# File systems
402# 563#
403CONFIG_EXT2_FS=y 564CONFIG_EXT2_FS=y
404# CONFIG_EXT2_FS_XATTR is not set 565# CONFIG_EXT2_FS_XATTR is not set
566# CONFIG_EXT2_FS_XIP is not set
405# CONFIG_EXT3_FS is not set 567# CONFIG_EXT3_FS is not set
406# CONFIG_JBD is not set
407# CONFIG_REISERFS_FS is not set 568# CONFIG_REISERFS_FS is not set
408# CONFIG_JFS_FS is not set 569# CONFIG_JFS_FS is not set
409 570# CONFIG_FS_POSIX_ACL is not set
410#
411# XFS support
412#
413# CONFIG_XFS_FS is not set 571# CONFIG_XFS_FS is not set
414# CONFIG_MINIX_FS is not set 572# CONFIG_MINIX_FS is not set
415# CONFIG_ROMFS_FS is not set 573# CONFIG_ROMFS_FS is not set
574CONFIG_INOTIFY=y
575CONFIG_INOTIFY_USER=y
416# CONFIG_QUOTA is not set 576# CONFIG_QUOTA is not set
417CONFIG_DNOTIFY=y 577CONFIG_DNOTIFY=y
418# CONFIG_AUTOFS_FS is not set 578# CONFIG_AUTOFS_FS is not set
419# CONFIG_AUTOFS4_FS is not set 579# CONFIG_AUTOFS4_FS is not set
580# CONFIG_FUSE_FS is not set
420 581
421# 582#
422# CD-ROM/DVD Filesystems 583# CD-ROM/DVD Filesystems
@@ -436,14 +597,13 @@ CONFIG_DNOTIFY=y
436# 597#
437CONFIG_PROC_FS=y 598CONFIG_PROC_FS=y
438CONFIG_PROC_KCORE=y 599CONFIG_PROC_KCORE=y
600CONFIG_PROC_SYSCTL=y
439CONFIG_SYSFS=y 601CONFIG_SYSFS=y
440CONFIG_DEVFS_FS=y
441CONFIG_DEVFS_MOUNT=y
442# CONFIG_DEVFS_DEBUG is not set
443# CONFIG_TMPFS is not set 602# CONFIG_TMPFS is not set
444# CONFIG_HUGETLBFS is not set 603# CONFIG_HUGETLBFS is not set
445# CONFIG_HUGETLB_PAGE is not set 604# CONFIG_HUGETLB_PAGE is not set
446CONFIG_RAMFS=y 605CONFIG_RAMFS=y
606# CONFIG_CONFIGFS_FS is not set
447 607
448# 608#
449# Miscellaneous filesystems 609# Miscellaneous filesystems
@@ -481,8 +641,16 @@ CONFIG_MSDOS_PARTITION=y
481# 641#
482# Kernel hacking 642# Kernel hacking
483# 643#
644# CONFIG_PRINTK_TIME is not set
645CONFIG_ENABLE_MUST_CHECK=y
646# CONFIG_MAGIC_SYSRQ is not set
647# CONFIG_UNUSED_SYMBOLS is not set
484# CONFIG_DEBUG_KERNEL is not set 648# CONFIG_DEBUG_KERNEL is not set
485# CONFIG_FRAME_POINTER is not set 649CONFIG_LOG_BUF_SHIFT=14
650# CONFIG_DEBUG_BUGVERBOSE is not set
651# CONFIG_DEBUG_FS is not set
652CONFIG_FRAME_POINTER=y
653# CONFIG_UNWIND_INFO is not set
486CONFIG_SH_STANDARD_BIOS=y 654CONFIG_SH_STANDARD_BIOS=y
487CONFIG_EARLY_PRINTK=y 655CONFIG_EARLY_PRINTK=y
488CONFIG_KGDB=y 656CONFIG_KGDB=y
@@ -520,12 +688,9 @@ CONFIG_KGDB_DEFBITS_8=y
520# CONFIG_CRYPTO is not set 688# CONFIG_CRYPTO is not set
521 689
522# 690#
523# Hardware crypto devices
524#
525
526#
527# Library routines 691# Library routines
528# 692#
529# CONFIG_CRC_CCITT is not set 693# CONFIG_CRC_CCITT is not set
694# CONFIG_CRC16 is not set
530CONFIG_CRC32=y 695CONFIG_CRC32=y
531# CONFIG_LIBCRC32C is not set 696# CONFIG_LIBCRC32C is not set
diff --git a/arch/sh/configs/se73180_defconfig b/arch/sh/configs/se73180_defconfig
index fe19feb95ca9..1a766153cbb0 100644
--- a/arch/sh/configs/se73180_defconfig
+++ b/arch/sh/configs/se73180_defconfig
@@ -1,120 +1,208 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:44 2005 4# Tue Oct 3 11:44:45 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24CONFIG_SWAP=y 27CONFIG_SWAP=y
25# CONFIG_SYSVIPC is not set 28# CONFIG_SYSVIPC is not set
26# CONFIG_BSD_PROCESS_ACCT is not set 29# CONFIG_BSD_PROCESS_ACCT is not set
27# CONFIG_SYSCTL is not set 30# CONFIG_UTS_NS is not set
28# CONFIG_AUDIT is not set
29CONFIG_LOG_BUF_SHIFT=14
30# CONFIG_HOTPLUG is not set
31# CONFIG_IKCONFIG is not set 31# CONFIG_IKCONFIG is not set
32# CONFIG_RELAY is not set
33CONFIG_INITRAMFS_SOURCE=""
34# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
35CONFIG_SYSCTL=y
32CONFIG_EMBEDDED=y 36CONFIG_EMBEDDED=y
37CONFIG_UID16=y
38# CONFIG_SYSCTL_SYSCALL is not set
33# CONFIG_KALLSYMS is not set 39# CONFIG_KALLSYMS is not set
40# CONFIG_HOTPLUG is not set
41CONFIG_PRINTK=y
42CONFIG_BUG=y
43CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y
34# CONFIG_FUTEX is not set 45# CONFIG_FUTEX is not set
35# CONFIG_EPOLL is not set 46# CONFIG_EPOLL is not set
36# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
37CONFIG_SHMEM=y 47CONFIG_SHMEM=y
38CONFIG_CC_ALIGN_FUNCTIONS=0 48CONFIG_SLAB=y
39CONFIG_CC_ALIGN_LABELS=0 49CONFIG_VM_EVENT_COUNTERS=y
40CONFIG_CC_ALIGN_LOOPS=0
41CONFIG_CC_ALIGN_JUMPS=0
42# CONFIG_TINY_SHMEM is not set 50# CONFIG_TINY_SHMEM is not set
51CONFIG_BASE_SMALL=0
52# CONFIG_SLOB is not set
43 53
44# 54#
45# Loadable module support 55# Loadable module support
46# 56#
47CONFIG_MODULES=y 57CONFIG_MODULES=y
48# CONFIG_MODULE_UNLOAD is not set 58# CONFIG_MODULE_UNLOAD is not set
49CONFIG_OBSOLETE_MODPARM=y
50# CONFIG_MODVERSIONS is not set 59# CONFIG_MODVERSIONS is not set
51# CONFIG_MODULE_SRCVERSION_ALL is not set 60# CONFIG_MODULE_SRCVERSION_ALL is not set
52# CONFIG_KMOD is not set 61# CONFIG_KMOD is not set
53 62
54# 63#
64# Block layer
65#
66CONFIG_BLOCK=y
67# CONFIG_LBD is not set
68# CONFIG_LSF is not set
69
70#
71# IO Schedulers
72#
73CONFIG_IOSCHED_NOOP=y
74# CONFIG_IOSCHED_AS is not set
75# CONFIG_IOSCHED_DEADLINE is not set
76# CONFIG_IOSCHED_CFQ is not set
77# CONFIG_DEFAULT_AS is not set
78# CONFIG_DEFAULT_DEADLINE is not set
79# CONFIG_DEFAULT_CFQ is not set
80CONFIG_DEFAULT_NOOP=y
81CONFIG_DEFAULT_IOSCHED="noop"
82
83#
55# System type 84# System type
56# 85#
86CONFIG_SOLUTION_ENGINE=y
57# CONFIG_SH_SOLUTION_ENGINE is not set 87# CONFIG_SH_SOLUTION_ENGINE is not set
58# CONFIG_SH_7751_SOLUTION_ENGINE is not set 88# CONFIG_SH_7751_SOLUTION_ENGINE is not set
59# CONFIG_SH_7300_SOLUTION_ENGINE is not set 89# CONFIG_SH_7300_SOLUTION_ENGINE is not set
90# CONFIG_SH_7343_SOLUTION_ENGINE is not set
60CONFIG_SH_73180_SOLUTION_ENGINE=y 91CONFIG_SH_73180_SOLUTION_ENGINE=y
61# CONFIG_SH_7751_SYSTEMH is not set 92# CONFIG_SH_7751_SYSTEMH is not set
62# CONFIG_SH_STB1_HARP is not set 93# CONFIG_SH_HP6XX is not set
63# CONFIG_SH_STB1_OVERDRIVE is not set
64# CONFIG_SH_HP620 is not set
65# CONFIG_SH_HP680 is not set
66# CONFIG_SH_HP690 is not set
67# CONFIG_SH_CQREEK is not set
68# CONFIG_SH_DMIDA is not set
69# CONFIG_SH_EC3104 is not set 94# CONFIG_SH_EC3104 is not set
70# CONFIG_SH_SATURN is not set 95# CONFIG_SH_SATURN is not set
71# CONFIG_SH_DREAMCAST is not set 96# CONFIG_SH_DREAMCAST is not set
72# CONFIG_SH_CAT68701 is not set
73# CONFIG_SH_BIGSUR is not set 97# CONFIG_SH_BIGSUR is not set
74# CONFIG_SH_SH2000 is not set
75# CONFIG_SH_ADX is not set
76# CONFIG_SH_MPC1211 is not set 98# CONFIG_SH_MPC1211 is not set
77# CONFIG_SH_SH03 is not set 99# CONFIG_SH_SH03 is not set
78# CONFIG_SH_SECUREEDGE5410 is not set 100# CONFIG_SH_SECUREEDGE5410 is not set
79# CONFIG_SH_HS7751RVOIP is not set 101# CONFIG_SH_HS7751RVOIP is not set
102# CONFIG_SH_7710VOIPGW is not set
80# CONFIG_SH_RTS7751R2D is not set 103# CONFIG_SH_RTS7751R2D is not set
81# CONFIG_SH_R7780RP is not set 104# CONFIG_SH_R7780RP is not set
82# CONFIG_SH_EDOSK7705 is not set 105# CONFIG_SH_EDOSK7705 is not set
83# CONFIG_SH_SH4202_MICRODEV is not set 106# CONFIG_SH_SH4202_MICRODEV is not set
107# CONFIG_SH_LANDISK is not set
108# CONFIG_SH_TITAN is not set
109# CONFIG_SH_SHMIN is not set
84# CONFIG_SH_UNKNOWN is not set 110# CONFIG_SH_UNKNOWN is not set
85# CONFIG_CPU_SH2 is not set 111
86# CONFIG_CPU_SH3 is not set 112#
113# Processor selection
114#
87CONFIG_CPU_SH4=y 115CONFIG_CPU_SH4=y
116CONFIG_CPU_SH4A=y
117CONFIG_CPU_SH4AL_DSP=y
118
119#
120# SH-2 Processor Support
121#
88# CONFIG_CPU_SUBTYPE_SH7604 is not set 122# CONFIG_CPU_SUBTYPE_SH7604 is not set
123
124#
125# SH-3 Processor Support
126#
89# CONFIG_CPU_SUBTYPE_SH7300 is not set 127# CONFIG_CPU_SUBTYPE_SH7300 is not set
90# CONFIG_CPU_SUBTYPE_SH7705 is not set 128# CONFIG_CPU_SUBTYPE_SH7705 is not set
129# CONFIG_CPU_SUBTYPE_SH7706 is not set
91# CONFIG_CPU_SUBTYPE_SH7707 is not set 130# CONFIG_CPU_SUBTYPE_SH7707 is not set
92# CONFIG_CPU_SUBTYPE_SH7708 is not set 131# CONFIG_CPU_SUBTYPE_SH7708 is not set
93# CONFIG_CPU_SUBTYPE_SH7709 is not set 132# CONFIG_CPU_SUBTYPE_SH7709 is not set
133# CONFIG_CPU_SUBTYPE_SH7710 is not set
134
135#
136# SH-4 Processor Support
137#
94# CONFIG_CPU_SUBTYPE_SH7750 is not set 138# CONFIG_CPU_SUBTYPE_SH7750 is not set
139# CONFIG_CPU_SUBTYPE_SH7091 is not set
140# CONFIG_CPU_SUBTYPE_SH7750R is not set
141# CONFIG_CPU_SUBTYPE_SH7750S is not set
95# CONFIG_CPU_SUBTYPE_SH7751 is not set 142# CONFIG_CPU_SUBTYPE_SH7751 is not set
143# CONFIG_CPU_SUBTYPE_SH7751R is not set
96# CONFIG_CPU_SUBTYPE_SH7760 is not set 144# CONFIG_CPU_SUBTYPE_SH7760 is not set
97CONFIG_CPU_SUBTYPE_SH73180=y 145# CONFIG_CPU_SUBTYPE_SH4_202 is not set
146
147#
148# ST40 Processor Support
149#
98# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 150# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
99# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 151# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
100# CONFIG_CPU_SUBTYPE_SH4_202 is not set 152
153#
154# SH-4A Processor Support
155#
156# CONFIG_CPU_SUBTYPE_SH7770 is not set
157# CONFIG_CPU_SUBTYPE_SH7780 is not set
158
159#
160# SH4AL-DSP Processor Support
161#
162CONFIG_CPU_SUBTYPE_SH73180=y
163# CONFIG_CPU_SUBTYPE_SH7343 is not set
164
165#
166# Memory management options
167#
101CONFIG_MMU=y 168CONFIG_MMU=y
102CONFIG_CMDLINE_BOOL=y 169CONFIG_PAGE_OFFSET=0x80000000
103CONFIG_CMDLINE="console=ttySC0,38400 root=/dev/ram"
104CONFIG_MEMORY_START=0x0c000000 170CONFIG_MEMORY_START=0x0c000000
105CONFIG_MEMORY_SIZE=0x02000000 171CONFIG_MEMORY_SIZE=0x02000000
106# CONFIG_MEMORY_OVERRIDE is not set 172CONFIG_32BIT=y
107# CONFIG_SH_FPU is not set 173CONFIG_VSYSCALL=y
108CONFIG_ZERO_PAGE_OFFSET=0x00010000 174CONFIG_SELECT_MEMORY_MODEL=y
109CONFIG_BOOT_LINK_OFFSET=0x00800000 175CONFIG_FLATMEM_MANUAL=y
110CONFIG_CPU_LITTLE_ENDIAN=y 176# CONFIG_DISCONTIGMEM_MANUAL is not set
111# CONFIG_PREEMPT is not set 177# CONFIG_SPARSEMEM_MANUAL is not set
112# CONFIG_UBC_WAKEUP is not set 178CONFIG_FLATMEM=y
179CONFIG_FLAT_NODE_MEM_MAP=y
180# CONFIG_SPARSEMEM_STATIC is not set
181CONFIG_SPLIT_PTLOCK_CPUS=4
182# CONFIG_RESOURCES_64BIT is not set
183
184#
185# Cache configuration
186#
187# CONFIG_SH_DIRECT_MAPPED is not set
113# CONFIG_SH_WRITETHROUGH is not set 188# CONFIG_SH_WRITETHROUGH is not set
114# CONFIG_SH_OCRAM is not set 189# CONFIG_SH_OCRAM is not set
190
191#
192# Processor features
193#
194CONFIG_CPU_LITTLE_ENDIAN=y
195# CONFIG_SH_FPU is not set
196# CONFIG_SH_FPU_EMU is not set
197CONFIG_SH_DSP=y
115# CONFIG_SH_STORE_QUEUES is not set 198# CONFIG_SH_STORE_QUEUES is not set
116# CONFIG_SMP is not set 199CONFIG_CPU_HAS_INTEVT=y
117# CONFIG_SH_PCLK_CALC is not set 200CONFIG_CPU_HAS_SR_RB=y
201
202#
203# Timer support
204#
205CONFIG_SH_TMU=y
118CONFIG_SH_PCLK_FREQ=27000000 206CONFIG_SH_PCLK_FREQ=27000000
119 207
120# 208#
@@ -134,17 +222,34 @@ CONFIG_SH_PCLK_FREQ=27000000
134CONFIG_HEARTBEAT=y 222CONFIG_HEARTBEAT=y
135 223
136# 224#
137# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 225# Kernel features
138# 226#
139# CONFIG_PCI is not set 227# CONFIG_HZ_100 is not set
228CONFIG_HZ_250=y
229# CONFIG_HZ_1000 is not set
230CONFIG_HZ=250
231# CONFIG_KEXEC is not set
232# CONFIG_SMP is not set
233CONFIG_PREEMPT_NONE=y
234# CONFIG_PREEMPT_VOLUNTARY is not set
235# CONFIG_PREEMPT is not set
140 236
141# 237#
142# PCCARD (PCMCIA/CardBus) support 238# Boot options
143# 239#
144# CONFIG_PCCARD is not set 240CONFIG_ZERO_PAGE_OFFSET=0x00010000
241CONFIG_BOOT_LINK_OFFSET=0x00800000
242# CONFIG_UBC_WAKEUP is not set
243CONFIG_CMDLINE_BOOL=y
244CONFIG_CMDLINE="console=ttySC0,38400 root=/dev/ram"
145 245
146# 246#
147# PC-card bridges 247# Bus options
248#
249# CONFIG_PCI is not set
250
251#
252# PCCARD (PCMCIA/CardBus) support
148# 253#
149 254
150# 255#
@@ -159,10 +264,14 @@ CONFIG_BINFMT_ELF=y
159# CONFIG_BINFMT_MISC is not set 264# CONFIG_BINFMT_MISC is not set
160 265
161# 266#
162# SH initrd options 267# Power management options (EXPERIMENTAL)
268#
269# CONFIG_PM is not set
270
271#
272# Networking
163# 273#
164CONFIG_EMBEDDED_RAMDISK=y 274# CONFIG_NET is not set
165CONFIG_EMBEDDED_RAMDISK_IMAGE="ramdisk.gz"
166 275
167# 276#
168# Device Drivers 277# Device Drivers
@@ -173,7 +282,11 @@ CONFIG_EMBEDDED_RAMDISK_IMAGE="ramdisk.gz"
173# 282#
174CONFIG_STANDALONE=y 283CONFIG_STANDALONE=y
175CONFIG_PREVENT_FIRMWARE_BUILD=y 284CONFIG_PREVENT_FIRMWARE_BUILD=y
176# CONFIG_FW_LOADER is not set 285# CONFIG_SYS_HYPERVISOR is not set
286
287#
288# Connector - unified userspace <-> kernelspace linker
289#
177 290
178# 291#
179# Memory Technology Devices (MTD) 292# Memory Technology Devices (MTD)
@@ -192,27 +305,17 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
192# 305#
193# Block devices 306# Block devices
194# 307#
195# CONFIG_BLK_DEV_FD is not set
196# CONFIG_BLK_DEV_COW_COMMON is not set 308# CONFIG_BLK_DEV_COW_COMMON is not set
197CONFIG_BLK_DEV_LOOP=y 309CONFIG_BLK_DEV_LOOP=y
198# CONFIG_BLK_DEV_CRYPTOLOOP is not set 310# CONFIG_BLK_DEV_CRYPTOLOOP is not set
199CONFIG_BLK_DEV_RAM=y 311CONFIG_BLK_DEV_RAM=y
200CONFIG_BLK_DEV_RAM_COUNT=16 312CONFIG_BLK_DEV_RAM_COUNT=16
201CONFIG_BLK_DEV_RAM_SIZE=4096 313CONFIG_BLK_DEV_RAM_SIZE=4096
314CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
202CONFIG_BLK_DEV_INITRD=y 315CONFIG_BLK_DEV_INITRD=y
203CONFIG_INITRAMFS_SOURCE=""
204# CONFIG_LBD is not set
205# CONFIG_CDROM_PKTCDVD is not set 316# CONFIG_CDROM_PKTCDVD is not set
206 317
207# 318#
208# IO Schedulers
209#
210CONFIG_IOSCHED_NOOP=y
211# CONFIG_IOSCHED_AS is not set
212# CONFIG_IOSCHED_DEADLINE is not set
213# CONFIG_IOSCHED_CFQ is not set
214
215#
216# ATA/ATAPI/MFM/RLL support 319# ATA/ATAPI/MFM/RLL support
217# 320#
218# CONFIG_IDE is not set 321# CONFIG_IDE is not set
@@ -220,7 +323,14 @@ CONFIG_IOSCHED_NOOP=y
220# 323#
221# SCSI device support 324# SCSI device support
222# 325#
326# CONFIG_RAID_ATTRS is not set
223# CONFIG_SCSI is not set 327# CONFIG_SCSI is not set
328# CONFIG_SCSI_NETLINK is not set
329
330#
331# Serial ATA (prod) and Parallel ATA (experimental) drivers
332#
333# CONFIG_ATA is not set
224 334
225# 335#
226# Multi-device support (RAID and LVM) 336# Multi-device support (RAID and LVM)
@@ -230,6 +340,7 @@ CONFIG_IOSCHED_NOOP=y
230# 340#
231# Fusion MPT device support 341# Fusion MPT device support
232# 342#
343# CONFIG_FUSION is not set
233 344
234# 345#
235# IEEE 1394 (FireWire) support 346# IEEE 1394 (FireWire) support
@@ -240,13 +351,6 @@ CONFIG_IOSCHED_NOOP=y
240# 351#
241 352
242# 353#
243# Networking support
244#
245# CONFIG_NET is not set
246# CONFIG_NETPOLL is not set
247# CONFIG_NET_POLL_CONTROLLER is not set
248
249#
250# ISDN subsystem 354# ISDN subsystem
251# 355#
252 356
@@ -261,20 +365,10 @@ CONFIG_IOSCHED_NOOP=y
261# CONFIG_INPUT is not set 365# CONFIG_INPUT is not set
262 366
263# 367#
264# Userland interfaces 368# Hardware I/O ports
265#
266
267# 369#
268# Input I/O drivers
269#
270# CONFIG_GAMEPORT is not set
271CONFIG_SOUND_GAMEPORT=y
272# CONFIG_SERIO is not set 370# CONFIG_SERIO is not set
273# CONFIG_SERIO_I8042 is not set 371# CONFIG_GAMEPORT is not set
274
275#
276# Input Device Drivers
277#
278 372
279# 373#
280# Character devices 374# Character devices
@@ -291,6 +385,7 @@ CONFIG_SOUND_GAMEPORT=y
291# Non-8250 serial port support 385# Non-8250 serial port support
292# 386#
293CONFIG_SERIAL_SH_SCI=y 387CONFIG_SERIAL_SH_SCI=y
388CONFIG_SERIAL_SH_SCI_NR_UARTS=2
294CONFIG_SERIAL_SH_SCI_CONSOLE=y 389CONFIG_SERIAL_SH_SCI_CONSOLE=y
295CONFIG_SERIAL_CORE=y 390CONFIG_SERIAL_CORE=y
296CONFIG_SERIAL_CORE_CONSOLE=y 391CONFIG_SERIAL_CORE_CONSOLE=y
@@ -313,7 +408,7 @@ CONFIG_WATCHDOG=y
313# 408#
314# CONFIG_SOFT_WATCHDOG is not set 409# CONFIG_SOFT_WATCHDOG is not set
315# CONFIG_SH_WDT is not set 410# CONFIG_SH_WDT is not set
316# CONFIG_RTC is not set 411CONFIG_HW_RANDOM=y
317# CONFIG_GEN_RTC is not set 412# CONFIG_GEN_RTC is not set
318# CONFIG_DTLK is not set 413# CONFIG_DTLK is not set
319# CONFIG_R3964 is not set 414# CONFIG_R3964 is not set
@@ -321,18 +416,38 @@ CONFIG_WATCHDOG=y
321# 416#
322# Ftape, the floppy tape device driver 417# Ftape, the floppy tape device driver
323# 418#
324# CONFIG_DRM is not set
325# CONFIG_RAW_DRIVER is not set 419# CONFIG_RAW_DRIVER is not set
326 420
327# 421#
422# TPM devices
423#
424# CONFIG_TCG_TPM is not set
425# CONFIG_TELCLOCK is not set
426
427#
328# I2C support 428# I2C support
329# 429#
330# CONFIG_I2C is not set 430# CONFIG_I2C is not set
331 431
332# 432#
433# SPI support
434#
435# CONFIG_SPI is not set
436# CONFIG_SPI_MASTER is not set
437
438#
333# Dallas's 1-wire bus 439# Dallas's 1-wire bus
334# 440#
335# CONFIG_W1 is not set 441
442#
443# Hardware Monitoring support
444#
445CONFIG_HWMON=y
446# CONFIG_HWMON_VID is not set
447# CONFIG_SENSORS_ABITUGURU is not set
448# CONFIG_SENSORS_F71805F is not set
449# CONFIG_SENSORS_VT1211 is not set
450# CONFIG_HWMON_DEBUG_CHIP is not set
336 451
337# 452#
338# Misc devices 453# Misc devices
@@ -342,6 +457,7 @@ CONFIG_WATCHDOG=y
342# Multimedia devices 457# Multimedia devices
343# 458#
344# CONFIG_VIDEO_DEV is not set 459# CONFIG_VIDEO_DEV is not set
460CONFIG_VIDEO_V4L2=y
345 461
346# 462#
347# Digital Video Broadcasting Devices 463# Digital Video Broadcasting Devices
@@ -350,6 +466,7 @@ CONFIG_WATCHDOG=y
350# 466#
351# Graphics support 467# Graphics support
352# 468#
469CONFIG_FIRMWARE_EDID=y
353# CONFIG_FB is not set 470# CONFIG_FB is not set
354 471
355# 472#
@@ -362,9 +479,10 @@ CONFIG_WATCHDOG=y
362# 479#
363# CONFIG_USB_ARCH_HAS_HCD is not set 480# CONFIG_USB_ARCH_HAS_HCD is not set
364# CONFIG_USB_ARCH_HAS_OHCI is not set 481# CONFIG_USB_ARCH_HAS_OHCI is not set
482# CONFIG_USB_ARCH_HAS_EHCI is not set
365 483
366# 484#
367# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 485# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
368# 486#
369 487
370# 488#
@@ -378,30 +496,64 @@ CONFIG_WATCHDOG=y
378# CONFIG_MMC is not set 496# CONFIG_MMC is not set
379 497
380# 498#
499# LED devices
500#
501# CONFIG_NEW_LEDS is not set
502
503#
504# LED drivers
505#
506
507#
508# LED Triggers
509#
510
511#
381# InfiniBand support 512# InfiniBand support
382# 513#
383# CONFIG_INFINIBAND is not set 514
515#
516# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
517#
518
519#
520# Real Time Clock
521#
522# CONFIG_RTC_CLASS is not set
523
524#
525# DMA Engine support
526#
527# CONFIG_DMA_ENGINE is not set
528
529#
530# DMA Clients
531#
532
533#
534# DMA Devices
535#
384 536
385# 537#
386# File systems 538# File systems
387# 539#
388CONFIG_EXT2_FS=y 540CONFIG_EXT2_FS=y
389# CONFIG_EXT2_FS_XATTR is not set 541# CONFIG_EXT2_FS_XATTR is not set
542# CONFIG_EXT2_FS_XIP is not set
390# CONFIG_EXT3_FS is not set 543# CONFIG_EXT3_FS is not set
391# CONFIG_JBD is not set
392# CONFIG_REISERFS_FS is not set 544# CONFIG_REISERFS_FS is not set
393# CONFIG_JFS_FS is not set 545# CONFIG_JFS_FS is not set
394 546# CONFIG_FS_POSIX_ACL is not set
395#
396# XFS support
397#
398# CONFIG_XFS_FS is not set 547# CONFIG_XFS_FS is not set
399# CONFIG_MINIX_FS is not set 548# CONFIG_MINIX_FS is not set
400# CONFIG_ROMFS_FS is not set 549# CONFIG_ROMFS_FS is not set
550CONFIG_INOTIFY=y
551CONFIG_INOTIFY_USER=y
401# CONFIG_QUOTA is not set 552# CONFIG_QUOTA is not set
402CONFIG_DNOTIFY=y 553CONFIG_DNOTIFY=y
403# CONFIG_AUTOFS_FS is not set 554# CONFIG_AUTOFS_FS is not set
404# CONFIG_AUTOFS4_FS is not set 555# CONFIG_AUTOFS4_FS is not set
556# CONFIG_FUSE_FS is not set
405 557
406# 558#
407# CD-ROM/DVD Filesystems 559# CD-ROM/DVD Filesystems
@@ -421,12 +573,10 @@ CONFIG_DNOTIFY=y
421# 573#
422CONFIG_PROC_FS=y 574CONFIG_PROC_FS=y
423CONFIG_PROC_KCORE=y 575CONFIG_PROC_KCORE=y
576CONFIG_PROC_SYSCTL=y
424# CONFIG_SYSFS is not set 577# CONFIG_SYSFS is not set
425CONFIG_DEVFS_FS=y
426CONFIG_DEVFS_MOUNT=y
427# CONFIG_DEVFS_DEBUG is not set
428CONFIG_TMPFS=y 578CONFIG_TMPFS=y
429# CONFIG_TMPFS_XATTR is not set 579# CONFIG_TMPFS_POSIX_ACL is not set
430# CONFIG_HUGETLBFS is not set 580# CONFIG_HUGETLBFS is not set
431# CONFIG_HUGETLB_PAGE is not set 581# CONFIG_HUGETLB_PAGE is not set
432CONFIG_RAMFS=y 582CONFIG_RAMFS=y
@@ -467,8 +617,13 @@ CONFIG_MSDOS_PARTITION=y
467# 617#
468# Kernel hacking 618# Kernel hacking
469# 619#
620# CONFIG_PRINTK_TIME is not set
621CONFIG_ENABLE_MUST_CHECK=y
622# CONFIG_MAGIC_SYSRQ is not set
623# CONFIG_UNUSED_SYMBOLS is not set
470# CONFIG_DEBUG_KERNEL is not set 624# CONFIG_DEBUG_KERNEL is not set
471# CONFIG_FRAME_POINTER is not set 625CONFIG_LOG_BUF_SHIFT=14
626# CONFIG_DEBUG_BUGVERBOSE is not set
472CONFIG_SH_STANDARD_BIOS=y 627CONFIG_SH_STANDARD_BIOS=y
473# CONFIG_EARLY_SCIF_CONSOLE is not set 628# CONFIG_EARLY_SCIF_CONSOLE is not set
474# CONFIG_EARLY_PRINTK is not set 629# CONFIG_EARLY_PRINTK is not set
@@ -478,7 +633,6 @@ CONFIG_SH_STANDARD_BIOS=y
478# Security options 633# Security options
479# 634#
480# CONFIG_KEYS is not set 635# CONFIG_KEYS is not set
481# CONFIG_SECURITY is not set
482 636
483# 637#
484# Cryptographic options 638# Cryptographic options
@@ -486,12 +640,9 @@ CONFIG_SH_STANDARD_BIOS=y
486# CONFIG_CRYPTO is not set 640# CONFIG_CRYPTO is not set
487 641
488# 642#
489# Hardware crypto devices
490#
491
492#
493# Library routines 643# Library routines
494# 644#
495# CONFIG_CRC_CCITT is not set 645# CONFIG_CRC_CCITT is not set
646# CONFIG_CRC16 is not set
496CONFIG_CRC32=y 647CONFIG_CRC32=y
497# CONFIG_LIBCRC32C is not set 648# CONFIG_LIBCRC32C is not set
diff --git a/arch/sh/configs/se7343_defconfig b/arch/sh/configs/se7343_defconfig
index 948e507b52be..84c0075e2ad4 100644
--- a/arch/sh/configs/se7343_defconfig
+++ b/arch/sh/configs/se7343_defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.17 3# Linux kernel version: 2.6.18
4# Mon Aug 7 20:14:44 2006 4# Tue Oct 3 11:46:17 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
@@ -10,6 +10,7 @@ CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
12CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 14
14# 15#
15# Code maturity level options 16# Code maturity level options
@@ -25,16 +26,20 @@ CONFIG_LOCALVERSION=""
25CONFIG_LOCALVERSION_AUTO=y 26CONFIG_LOCALVERSION_AUTO=y
26# CONFIG_SWAP is not set 27# CONFIG_SWAP is not set
27CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
28CONFIG_POSIX_MQUEUE=y 30CONFIG_POSIX_MQUEUE=y
29# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
31# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
32# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
33# CONFIG_RELAY is not set 36# CONFIG_RELAY is not set
34CONFIG_INITRAMFS_SOURCE="" 37CONFIG_INITRAMFS_SOURCE=""
35CONFIG_UID16=y
36CONFIG_CC_OPTIMIZE_FOR_SIZE=y 38CONFIG_CC_OPTIMIZE_FOR_SIZE=y
39CONFIG_SYSCTL=y
37CONFIG_EMBEDDED=y 40CONFIG_EMBEDDED=y
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
38CONFIG_KALLSYMS=y 43CONFIG_KALLSYMS=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 44# CONFIG_KALLSYMS_EXTRA_PASS is not set
40CONFIG_HOTPLUG=y 45CONFIG_HOTPLUG=y
@@ -46,10 +51,10 @@ CONFIG_BASE_FULL=y
46# CONFIG_EPOLL is not set 51# CONFIG_EPOLL is not set
47# CONFIG_SHMEM is not set 52# CONFIG_SHMEM is not set
48CONFIG_SLAB=y 53CONFIG_SLAB=y
54CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_TINY_SHMEM=y 55CONFIG_TINY_SHMEM=y
50CONFIG_BASE_SMALL=0 56CONFIG_BASE_SMALL=0
51# CONFIG_SLOB is not set 57# CONFIG_SLOB is not set
52CONFIG_OBSOLETE_INTERMODULE=y
53 58
54# 59#
55# Loadable module support 60# Loadable module support
@@ -64,6 +69,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y
64# 69#
65# Block layer 70# Block layer
66# 71#
72CONFIG_BLOCK=y
67# CONFIG_LBD is not set 73# CONFIG_LBD is not set
68# CONFIG_BLK_DEV_IO_TRACE is not set 74# CONFIG_BLK_DEV_IO_TRACE is not set
69# CONFIG_LSF is not set 75# CONFIG_LSF is not set
@@ -115,6 +121,7 @@ CONFIG_SH_7343_SOLUTION_ENGINE=y
115# 121#
116CONFIG_CPU_SH4=y 122CONFIG_CPU_SH4=y
117CONFIG_CPU_SH4A=y 123CONFIG_CPU_SH4A=y
124CONFIG_CPU_SH4AL_DSP=y
118 125
119# 126#
120# SH-2 Processor Support 127# SH-2 Processor Support
@@ -153,12 +160,16 @@ CONFIG_CPU_SH4A=y
153# 160#
154# SH-4A Processor Support 161# SH-4A Processor Support
155# 162#
156# CONFIG_CPU_SUBTYPE_SH73180 is not set
157CONFIG_CPU_SUBTYPE_SH7343=y
158# CONFIG_CPU_SUBTYPE_SH7770 is not set 163# CONFIG_CPU_SUBTYPE_SH7770 is not set
159# CONFIG_CPU_SUBTYPE_SH7780 is not set 164# CONFIG_CPU_SUBTYPE_SH7780 is not set
160 165
161# 166#
167# SH4AL-DSP Processor Support
168#
169# CONFIG_CPU_SUBTYPE_SH73180 is not set
170CONFIG_CPU_SUBTYPE_SH7343=y
171
172#
162# Memory management options 173# Memory management options
163# 174#
164CONFIG_MMU=y 175CONFIG_MMU=y
@@ -166,6 +177,7 @@ CONFIG_PAGE_OFFSET=0x80000000
166CONFIG_MEMORY_START=0x0c000000 177CONFIG_MEMORY_START=0x0c000000
167CONFIG_MEMORY_SIZE=0x01000000 178CONFIG_MEMORY_SIZE=0x01000000
168CONFIG_32BIT=y 179CONFIG_32BIT=y
180CONFIG_VSYSCALL=y
169CONFIG_SELECT_MEMORY_MODEL=y 181CONFIG_SELECT_MEMORY_MODEL=y
170CONFIG_FLATMEM_MANUAL=y 182CONFIG_FLATMEM_MANUAL=y
171# CONFIG_DISCONTIGMEM_MANUAL is not set 183# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -174,6 +186,7 @@ CONFIG_FLATMEM=y
174CONFIG_FLAT_NODE_MEM_MAP=y 186CONFIG_FLAT_NODE_MEM_MAP=y
175# CONFIG_SPARSEMEM_STATIC is not set 187# CONFIG_SPARSEMEM_STATIC is not set
176CONFIG_SPLIT_PTLOCK_CPUS=4 188CONFIG_SPLIT_PTLOCK_CPUS=4
189# CONFIG_RESOURCES_64BIT is not set
177 190
178# 191#
179# Cache configuration 192# Cache configuration
@@ -274,6 +287,9 @@ CONFIG_NET=y
274CONFIG_PACKET=y 287CONFIG_PACKET=y
275CONFIG_PACKET_MMAP=y 288CONFIG_PACKET_MMAP=y
276CONFIG_UNIX=y 289CONFIG_UNIX=y
290CONFIG_XFRM=y
291# CONFIG_XFRM_USER is not set
292# CONFIG_XFRM_SUB_POLICY is not set
277# CONFIG_NET_KEY is not set 293# CONFIG_NET_KEY is not set
278CONFIG_INET=y 294CONFIG_INET=y
279# CONFIG_IP_MULTICAST is not set 295# CONFIG_IP_MULTICAST is not set
@@ -292,12 +308,16 @@ CONFIG_SYN_COOKIES=y
292# CONFIG_INET_IPCOMP is not set 308# CONFIG_INET_IPCOMP is not set
293# CONFIG_INET_XFRM_TUNNEL is not set 309# CONFIG_INET_XFRM_TUNNEL is not set
294# CONFIG_INET_TUNNEL is not set 310# CONFIG_INET_TUNNEL is not set
311CONFIG_INET_XFRM_MODE_TRANSPORT=y
312CONFIG_INET_XFRM_MODE_TUNNEL=y
295# CONFIG_INET_DIAG is not set 313# CONFIG_INET_DIAG is not set
296# CONFIG_TCP_CONG_ADVANCED is not set 314# CONFIG_TCP_CONG_ADVANCED is not set
297CONFIG_TCP_CONG_BIC=y 315CONFIG_TCP_CONG_CUBIC=y
316CONFIG_DEFAULT_TCP_CONG="cubic"
298# CONFIG_IPV6 is not set 317# CONFIG_IPV6 is not set
299# CONFIG_INET6_XFRM_TUNNEL is not set 318# CONFIG_INET6_XFRM_TUNNEL is not set
300# CONFIG_INET6_TUNNEL is not set 319# CONFIG_INET6_TUNNEL is not set
320# CONFIG_NETWORK_SECMARK is not set
301# CONFIG_NETFILTER is not set 321# CONFIG_NETFILTER is not set
302 322
303# 323#
@@ -323,7 +343,6 @@ CONFIG_TCP_CONG_BIC=y
323# CONFIG_ATALK is not set 343# CONFIG_ATALK is not set
324# CONFIG_X25 is not set 344# CONFIG_X25 is not set
325# CONFIG_LAPB is not set 345# CONFIG_LAPB is not set
326# CONFIG_NET_DIVERT is not set
327# CONFIG_ECONET is not set 346# CONFIG_ECONET is not set
328# CONFIG_WAN_ROUTER is not set 347# CONFIG_WAN_ROUTER is not set
329 348
@@ -351,6 +370,7 @@ CONFIG_TCP_CONG_BIC=y
351CONFIG_STANDALONE=y 370CONFIG_STANDALONE=y
352CONFIG_PREVENT_FIRMWARE_BUILD=y 371CONFIG_PREVENT_FIRMWARE_BUILD=y
353CONFIG_FW_LOADER=y 372CONFIG_FW_LOADER=y
373# CONFIG_SYS_HYPERVISOR is not set
354 374
355# 375#
356# Connector - unified userspace <-> kernelspace linker 376# Connector - unified userspace <-> kernelspace linker
@@ -376,6 +396,7 @@ CONFIG_MTD_BLOCK=y
376# CONFIG_NFTL is not set 396# CONFIG_NFTL is not set
377# CONFIG_INFTL is not set 397# CONFIG_INFTL is not set
378# CONFIG_RFD_FTL is not set 398# CONFIG_RFD_FTL is not set
399# CONFIG_SSFDC is not set
379 400
380# 401#
381# RAM/ROM/Flash chip drivers 402# RAM/ROM/Flash chip drivers
@@ -408,7 +429,6 @@ CONFIG_MTD_RAM=y
408# 429#
409# CONFIG_MTD_COMPLEX_MAPPINGS is not set 430# CONFIG_MTD_COMPLEX_MAPPINGS is not set
410# CONFIG_MTD_PHYSMAP is not set 431# CONFIG_MTD_PHYSMAP is not set
411# CONFIG_MTD_SOLUTIONENGINE is not set
412# CONFIG_MTD_PLATRAM is not set 432# CONFIG_MTD_PLATRAM is not set
413 433
414# 434#
@@ -466,6 +486,12 @@ CONFIG_MTD_RAM=y
466# 486#
467# CONFIG_RAID_ATTRS is not set 487# CONFIG_RAID_ATTRS is not set
468# CONFIG_SCSI is not set 488# CONFIG_SCSI is not set
489# CONFIG_SCSI_NETLINK is not set
490
491#
492# Serial ATA (prod) and Parallel ATA (experimental) drivers
493#
494# CONFIG_ATA is not set
469 495
470# 496#
471# Multi-device support (RAID and LVM) 497# Multi-device support (RAID and LVM)
@@ -506,7 +532,6 @@ CONFIG_NET_ETHERNET=y
506CONFIG_MII=y 532CONFIG_MII=y
507# CONFIG_STNIC is not set 533# CONFIG_STNIC is not set
508CONFIG_SMC91X=y 534CONFIG_SMC91X=y
509# CONFIG_NE2000 is not set
510 535
511# 536#
512# Ethernet (1000 Mbit) 537# Ethernet (1000 Mbit)
@@ -550,6 +575,7 @@ CONFIG_SMC91X=y
550# Input device support 575# Input device support
551# 576#
552CONFIG_INPUT=y 577CONFIG_INPUT=y
578# CONFIG_INPUT_FF_MEMLESS is not set
553 579
554# 580#
555# Userland interfaces 581# Userland interfaces
@@ -581,6 +607,7 @@ CONFIG_INPUT=y
581CONFIG_VT=y 607CONFIG_VT=y
582CONFIG_VT_CONSOLE=y 608CONFIG_VT_CONSOLE=y
583CONFIG_HW_CONSOLE=y 609CONFIG_HW_CONSOLE=y
610# CONFIG_VT_HW_CONSOLE_BINDING is not set
584# CONFIG_SERIAL_NONSTANDARD is not set 611# CONFIG_SERIAL_NONSTANDARD is not set
585 612
586# 613#
@@ -609,7 +636,7 @@ CONFIG_LEGACY_PTY_COUNT=256
609# Watchdog Cards 636# Watchdog Cards
610# 637#
611# CONFIG_WATCHDOG is not set 638# CONFIG_WATCHDOG is not set
612# CONFIG_RTC is not set 639CONFIG_HW_RANDOM=y
613# CONFIG_GEN_RTC is not set 640# CONFIG_GEN_RTC is not set
614# CONFIG_DTLK is not set 641# CONFIG_DTLK is not set
615# CONFIG_R3964 is not set 642# CONFIG_R3964 is not set
@@ -641,10 +668,10 @@ CONFIG_I2C_CHARDEV=y
641# 668#
642# I2C Hardware Bus support 669# I2C Hardware Bus support
643# 670#
671# CONFIG_I2C_OCORES is not set
644# CONFIG_I2C_PARPORT_LIGHT is not set 672# CONFIG_I2C_PARPORT_LIGHT is not set
645# CONFIG_I2C_STUB is not set 673# CONFIG_I2C_STUB is not set
646# CONFIG_I2C_PCA_ISA is not set 674# CONFIG_I2C_PCA_ISA is not set
647CONFIG_I2C_SH7343=y
648 675
649# 676#
650# Miscellaneous I2C Chip support 677# Miscellaneous I2C Chip support
@@ -670,7 +697,6 @@ CONFIG_I2C_SH7343=y
670# 697#
671# Dallas's 1-wire bus 698# Dallas's 1-wire bus
672# 699#
673# CONFIG_W1 is not set
674 700
675# 701#
676# Hardware Monitoring support 702# Hardware Monitoring support
@@ -698,30 +724,16 @@ CONFIG_VIDEO_V4L2=y
698# Video Capture Adapters 724# Video Capture Adapters
699# 725#
700# CONFIG_VIDEO_ADV_DEBUG is not set 726# CONFIG_VIDEO_ADV_DEBUG is not set
727CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
701# CONFIG_VIDEO_VIVI is not set 728# CONFIG_VIDEO_VIVI is not set
702# CONFIG_VIDEO_CPIA is not set 729# CONFIG_VIDEO_CPIA is not set
703# CONFIG_VIDEO_SAA5246A is not set 730# CONFIG_VIDEO_SAA5246A is not set
704# CONFIG_VIDEO_SAA5249 is not set 731# CONFIG_VIDEO_SAA5249 is not set
705# CONFIG_TUNER_3036 is not set 732# CONFIG_TUNER_3036 is not set
706# CONFIG_VIDEO_OVCAMCHIP is not set
707
708#
709# Encoders and Decoders
710#
711# CONFIG_VIDEO_MSP3400 is not set
712# CONFIG_VIDEO_CS53L32A is not set
713# CONFIG_VIDEO_WM8775 is not set
714# CONFIG_VIDEO_WM8739 is not set
715# CONFIG_VIDEO_CX25840 is not set
716# CONFIG_VIDEO_SAA711X is not set
717# CONFIG_VIDEO_SAA7127 is not set
718# CONFIG_VIDEO_UPD64031A is not set
719# CONFIG_VIDEO_UPD64083 is not set
720 733
721# 734#
722# Radio Adapters 735# Radio Adapters
723# 736#
724# CONFIG_RADIO_MAESTRO is not set
725 737
726# 738#
727# Digital Video Broadcasting Devices 739# Digital Video Broadcasting Devices
@@ -731,12 +743,13 @@ CONFIG_VIDEO_V4L2=y
731# 743#
732# Graphics support 744# Graphics support
733# 745#
746CONFIG_FIRMWARE_EDID=y
734CONFIG_FB=y 747CONFIG_FB=y
735# CONFIG_FB_CFB_FILLRECT is not set 748# CONFIG_FB_CFB_FILLRECT is not set
736# CONFIG_FB_CFB_COPYAREA is not set 749# CONFIG_FB_CFB_COPYAREA is not set
737# CONFIG_FB_CFB_IMAGEBLIT is not set 750# CONFIG_FB_CFB_IMAGEBLIT is not set
738# CONFIG_FB_MACMODES is not set 751# CONFIG_FB_MACMODES is not set
739CONFIG_FB_FIRMWARE_EDID=y 752# CONFIG_FB_BACKLIGHT is not set
740# CONFIG_FB_MODE_HELPERS is not set 753# CONFIG_FB_MODE_HELPERS is not set
741# CONFIG_FB_TILEBLITTING is not set 754# CONFIG_FB_TILEBLITTING is not set
742# CONFIG_FB_EPSON1355 is not set 755# CONFIG_FB_EPSON1355 is not set
@@ -789,12 +802,6 @@ CONFIG_SND_VERBOSE_PROCFS=y
789# CONFIG_SND_MPU401 is not set 802# CONFIG_SND_MPU401 is not set
790 803
791# 804#
792# SuperH devices
793#
794CONFIG_SH7343_SIU=m
795CONFIG_AK4537_CODEC=y
796
797#
798# Open Sound System 805# Open Sound System
799# 806#
800# CONFIG_SOUND_PRIME is not set 807# CONFIG_SOUND_PRIME is not set
@@ -847,6 +854,19 @@ CONFIG_AK4537_CODEC=y
847# CONFIG_RTC_CLASS is not set 854# CONFIG_RTC_CLASS is not set
848 855
849# 856#
857# DMA Engine support
858#
859# CONFIG_DMA_ENGINE is not set
860
861#
862# DMA Clients
863#
864
865#
866# DMA Devices
867#
868
869#
850# File systems 870# File systems
851# 871#
852# CONFIG_EXT2_FS is not set 872# CONFIG_EXT2_FS is not set
@@ -883,8 +903,10 @@ CONFIG_AK4537_CODEC=y
883# 903#
884CONFIG_PROC_FS=y 904CONFIG_PROC_FS=y
885# CONFIG_PROC_KCORE is not set 905# CONFIG_PROC_KCORE is not set
906CONFIG_PROC_SYSCTL=y
886CONFIG_SYSFS=y 907CONFIG_SYSFS=y
887CONFIG_TMPFS=y 908CONFIG_TMPFS=y
909# CONFIG_TMPFS_POSIX_ACL is not set
888# CONFIG_HUGETLBFS is not set 910# CONFIG_HUGETLBFS is not set
889# CONFIG_HUGETLB_PAGE is not set 911# CONFIG_HUGETLB_PAGE is not set
890CONFIG_RAMFS=y 912CONFIG_RAMFS=y
@@ -905,6 +927,7 @@ CONFIG_JFFS2_FS=y
905CONFIG_JFFS2_FS_DEBUG=0 927CONFIG_JFFS2_FS_DEBUG=0
906CONFIG_JFFS2_FS_WRITEBUFFER=y 928CONFIG_JFFS2_FS_WRITEBUFFER=y
907# CONFIG_JFFS2_SUMMARY is not set 929# CONFIG_JFFS2_SUMMARY is not set
930# CONFIG_JFFS2_FS_XATTR is not set
908# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 931# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
909CONFIG_JFFS2_ZLIB=y 932CONFIG_JFFS2_ZLIB=y
910CONFIG_JFFS2_RTIME=y 933CONFIG_JFFS2_RTIME=y
@@ -962,7 +985,9 @@ CONFIG_MSDOS_PARTITION=y
962# Kernel hacking 985# Kernel hacking
963# 986#
964# CONFIG_PRINTK_TIME is not set 987# CONFIG_PRINTK_TIME is not set
988CONFIG_ENABLE_MUST_CHECK=y
965# CONFIG_MAGIC_SYSRQ is not set 989# CONFIG_MAGIC_SYSRQ is not set
990# CONFIG_UNUSED_SYMBOLS is not set
966# CONFIG_DEBUG_KERNEL is not set 991# CONFIG_DEBUG_KERNEL is not set
967CONFIG_LOG_BUF_SHIFT=14 992CONFIG_LOG_BUF_SHIFT=14
968# CONFIG_DEBUG_BUGVERBOSE is not set 993# CONFIG_DEBUG_BUGVERBOSE is not set
@@ -983,10 +1008,6 @@ CONFIG_LOG_BUF_SHIFT=14
983# CONFIG_CRYPTO is not set 1008# CONFIG_CRYPTO is not set
984 1009
985# 1010#
986# Hardware crypto devices
987#
988
989#
990# Library routines 1011# Library routines
991# 1012#
992# CONFIG_CRC_CCITT is not set 1013# CONFIG_CRC_CCITT is not set
diff --git a/arch/sh/configs/se7705_defconfig b/arch/sh/configs/se7705_defconfig
index e4a14602b169..06ebd6ec0cdb 100644
--- a/arch/sh/configs/se7705_defconfig
+++ b/arch/sh/configs/se7705_defconfig
@@ -1,125 +1,212 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:45 2005 4# Tue Oct 3 12:03:04 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
19CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
20 22
21# 23#
22# General setup 24# General setup
23# 25#
24CONFIG_LOCALVERSION="" 26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
25# CONFIG_SWAP is not set 28# CONFIG_SWAP is not set
26# CONFIG_SYSVIPC is not set 29# CONFIG_SYSVIPC is not set
27# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
28# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
29# CONFIG_SYSCTL is not set 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
30# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=14
32# CONFIG_HOTPLUG is not set
33CONFIG_KOBJECT_UEVENT=y
34# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
36# CONFIG_RELAY is not set
37CONFIG_INITRAMFS_SOURCE=""
38# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
39CONFIG_SYSCTL=y
35CONFIG_EMBEDDED=y 40CONFIG_EMBEDDED=y
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
36# CONFIG_KALLSYMS is not set 43# CONFIG_KALLSYMS is not set
44# CONFIG_HOTPLUG is not set
45CONFIG_PRINTK=y
46CONFIG_BUG=y
47CONFIG_ELF_CORE=y
48CONFIG_BASE_FULL=y
37CONFIG_FUTEX=y 49CONFIG_FUTEX=y
38CONFIG_EPOLL=y 50CONFIG_EPOLL=y
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SHMEM=y 51CONFIG_SHMEM=y
41CONFIG_CC_ALIGN_FUNCTIONS=0 52CONFIG_SLAB=y
42CONFIG_CC_ALIGN_LABELS=0 53CONFIG_VM_EVENT_COUNTERS=y
43CONFIG_CC_ALIGN_LOOPS=0 54CONFIG_RT_MUTEXES=y
44CONFIG_CC_ALIGN_JUMPS=0
45# CONFIG_TINY_SHMEM is not set 55# CONFIG_TINY_SHMEM is not set
56CONFIG_BASE_SMALL=0
57# CONFIG_SLOB is not set
46 58
47# 59#
48# Loadable module support 60# Loadable module support
49# 61#
50CONFIG_MODULES=y 62CONFIG_MODULES=y
51# CONFIG_MODULE_UNLOAD is not set 63# CONFIG_MODULE_UNLOAD is not set
52CONFIG_OBSOLETE_MODPARM=y
53# CONFIG_MODVERSIONS is not set 64# CONFIG_MODVERSIONS is not set
54# CONFIG_MODULE_SRCVERSION_ALL is not set 65# CONFIG_MODULE_SRCVERSION_ALL is not set
55CONFIG_KMOD=y 66CONFIG_KMOD=y
56 67
57# 68#
69# Block layer
70#
71CONFIG_BLOCK=y
72# CONFIG_LBD is not set
73# CONFIG_LSF is not set
74
75#
76# IO Schedulers
77#
78CONFIG_IOSCHED_NOOP=y
79CONFIG_IOSCHED_AS=y
80# CONFIG_IOSCHED_DEADLINE is not set
81# CONFIG_IOSCHED_CFQ is not set
82CONFIG_DEFAULT_AS=y
83# CONFIG_DEFAULT_DEADLINE is not set
84# CONFIG_DEFAULT_CFQ is not set
85# CONFIG_DEFAULT_NOOP is not set
86CONFIG_DEFAULT_IOSCHED="anticipatory"
87
88#
58# System type 89# System type
59# 90#
91CONFIG_SOLUTION_ENGINE=y
60CONFIG_SH_SOLUTION_ENGINE=y 92CONFIG_SH_SOLUTION_ENGINE=y
61# CONFIG_SH_7751_SOLUTION_ENGINE is not set 93# CONFIG_SH_7751_SOLUTION_ENGINE is not set
62# CONFIG_SH_7300_SOLUTION_ENGINE is not set 94# CONFIG_SH_7300_SOLUTION_ENGINE is not set
95# CONFIG_SH_7343_SOLUTION_ENGINE is not set
63# CONFIG_SH_73180_SOLUTION_ENGINE is not set 96# CONFIG_SH_73180_SOLUTION_ENGINE is not set
64# CONFIG_SH_7751_SYSTEMH is not set 97# CONFIG_SH_7751_SYSTEMH is not set
65# CONFIG_SH_STB1_HARP is not set 98# CONFIG_SH_HP6XX is not set
66# CONFIG_SH_STB1_OVERDRIVE is not set
67# CONFIG_SH_HP620 is not set
68# CONFIG_SH_HP680 is not set
69# CONFIG_SH_HP690 is not set
70# CONFIG_SH_CQREEK is not set
71# CONFIG_SH_DMIDA is not set
72# CONFIG_SH_EC3104 is not set 99# CONFIG_SH_EC3104 is not set
73# CONFIG_SH_SATURN is not set 100# CONFIG_SH_SATURN is not set
74# CONFIG_SH_DREAMCAST is not set 101# CONFIG_SH_DREAMCAST is not set
75# CONFIG_SH_CAT68701 is not set
76# CONFIG_SH_BIGSUR is not set 102# CONFIG_SH_BIGSUR is not set
77# CONFIG_SH_SH2000 is not set
78# CONFIG_SH_ADX is not set
79# CONFIG_SH_MPC1211 is not set 103# CONFIG_SH_MPC1211 is not set
80# CONFIG_SH_SH03 is not set 104# CONFIG_SH_SH03 is not set
81# CONFIG_SH_SECUREEDGE5410 is not set 105# CONFIG_SH_SECUREEDGE5410 is not set
82# CONFIG_SH_HS7751RVOIP is not set 106# CONFIG_SH_HS7751RVOIP is not set
107# CONFIG_SH_7710VOIPGW is not set
83# CONFIG_SH_RTS7751R2D is not set 108# CONFIG_SH_RTS7751R2D is not set
109# CONFIG_SH_R7780RP is not set
84# CONFIG_SH_EDOSK7705 is not set 110# CONFIG_SH_EDOSK7705 is not set
85# CONFIG_SH_SH4202_MICRODEV is not set 111# CONFIG_SH_SH4202_MICRODEV is not set
112# CONFIG_SH_LANDISK is not set
113# CONFIG_SH_TITAN is not set
114# CONFIG_SH_SHMIN is not set
86# CONFIG_SH_UNKNOWN is not set 115# CONFIG_SH_UNKNOWN is not set
87# CONFIG_CPU_SH2 is not set 116
117#
118# Processor selection
119#
88CONFIG_CPU_SH3=y 120CONFIG_CPU_SH3=y
89# CONFIG_CPU_SH4 is not set 121
122#
123# SH-2 Processor Support
124#
90# CONFIG_CPU_SUBTYPE_SH7604 is not set 125# CONFIG_CPU_SUBTYPE_SH7604 is not set
126
127#
128# SH-3 Processor Support
129#
91# CONFIG_CPU_SUBTYPE_SH7300 is not set 130# CONFIG_CPU_SUBTYPE_SH7300 is not set
92CONFIG_CPU_SUBTYPE_SH7705=y 131CONFIG_CPU_SUBTYPE_SH7705=y
132# CONFIG_CPU_SUBTYPE_SH7706 is not set
93# CONFIG_CPU_SUBTYPE_SH7707 is not set 133# CONFIG_CPU_SUBTYPE_SH7707 is not set
94# CONFIG_CPU_SUBTYPE_SH7708 is not set 134# CONFIG_CPU_SUBTYPE_SH7708 is not set
95# CONFIG_CPU_SUBTYPE_SH7709 is not set 135# CONFIG_CPU_SUBTYPE_SH7709 is not set
136# CONFIG_CPU_SUBTYPE_SH7710 is not set
137
138#
139# SH-4 Processor Support
140#
96# CONFIG_CPU_SUBTYPE_SH7750 is not set 141# CONFIG_CPU_SUBTYPE_SH7750 is not set
142# CONFIG_CPU_SUBTYPE_SH7091 is not set
143# CONFIG_CPU_SUBTYPE_SH7750R is not set
144# CONFIG_CPU_SUBTYPE_SH7750S is not set
97# CONFIG_CPU_SUBTYPE_SH7751 is not set 145# CONFIG_CPU_SUBTYPE_SH7751 is not set
146# CONFIG_CPU_SUBTYPE_SH7751R is not set
98# CONFIG_CPU_SUBTYPE_SH7760 is not set 147# CONFIG_CPU_SUBTYPE_SH7760 is not set
99# CONFIG_CPU_SUBTYPE_SH73180 is not set 148# CONFIG_CPU_SUBTYPE_SH4_202 is not set
149
150#
151# ST40 Processor Support
152#
100# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 153# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
101# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 154# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
102# CONFIG_CPU_SUBTYPE_SH4_202 is not set 155
103CONFIG_SH7705_CACHE_32KB=y 156#
157# SH-4A Processor Support
158#
159# CONFIG_CPU_SUBTYPE_SH7770 is not set
160# CONFIG_CPU_SUBTYPE_SH7780 is not set
161
162#
163# SH4AL-DSP Processor Support
164#
165# CONFIG_CPU_SUBTYPE_SH73180 is not set
166# CONFIG_CPU_SUBTYPE_SH7343 is not set
167
168#
169# Memory management options
170#
104CONFIG_MMU=y 171CONFIG_MMU=y
105# CONFIG_CMDLINE_BOOL is not set 172CONFIG_PAGE_OFFSET=0x80000000
106CONFIG_MEMORY_START=0x0c000000 173CONFIG_MEMORY_START=0x0c000000
107CONFIG_MEMORY_SIZE=0x02000000 174CONFIG_MEMORY_SIZE=0x02000000
108CONFIG_MEMORY_SET=y 175CONFIG_VSYSCALL=y
109# CONFIG_MEMORY_OVERRIDE is not set 176CONFIG_SELECT_MEMORY_MODEL=y
177CONFIG_FLATMEM_MANUAL=y
178# CONFIG_DISCONTIGMEM_MANUAL is not set
179# CONFIG_SPARSEMEM_MANUAL is not set
180CONFIG_FLATMEM=y
181CONFIG_FLAT_NODE_MEM_MAP=y
182# CONFIG_SPARSEMEM_STATIC is not set
183CONFIG_SPLIT_PTLOCK_CPUS=4
184# CONFIG_RESOURCES_64BIT is not set
185
186#
187# Cache configuration
188#
189CONFIG_SH7705_CACHE_32KB=y
190# CONFIG_SH_DIRECT_MAPPED is not set
191# CONFIG_SH_WRITETHROUGH is not set
192# CONFIG_SH_OCRAM is not set
110# CONFIG_CF_ENABLER is not set 193# CONFIG_CF_ENABLER is not set
111CONFIG_SH_RTC=y 194
195#
196# Processor features
197#
198CONFIG_CPU_LITTLE_ENDIAN=y
199# CONFIG_SH_FPU_EMU is not set
112# CONFIG_SH_DSP is not set 200# CONFIG_SH_DSP is not set
113# CONFIG_SH_ADC is not set 201# CONFIG_SH_ADC is not set
114CONFIG_ZERO_PAGE_OFFSET=0x00001000 202CONFIG_CPU_HAS_INTEVT=y
115CONFIG_BOOT_LINK_OFFSET=0x00800000 203CONFIG_CPU_HAS_PINT_IRQ=y
116CONFIG_CPU_LITTLE_ENDIAN=y 204CONFIG_CPU_HAS_SR_RB=y
117CONFIG_PREEMPT=y 205
118# CONFIG_UBC_WAKEUP is not set 206#
119# CONFIG_SH_WRITETHROUGH is not set 207# Timer support
120# CONFIG_SH_OCRAM is not set 208#
121# CONFIG_SMP is not set 209CONFIG_SH_TMU=y
122CONFIG_SH_PCLK_CALC=y
123CONFIG_SH_PCLK_FREQ=33333333 210CONFIG_SH_PCLK_FREQ=33333333
124 211
125# 212#
@@ -139,17 +226,34 @@ CONFIG_SH_PCLK_FREQ=33333333
139CONFIG_HEARTBEAT=y 226CONFIG_HEARTBEAT=y
140 227
141# 228#
142# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 229# Kernel features
143# 230#
144# CONFIG_PCI is not set 231# CONFIG_HZ_100 is not set
232CONFIG_HZ_250=y
233# CONFIG_HZ_1000 is not set
234CONFIG_HZ=250
235# CONFIG_KEXEC is not set
236# CONFIG_SMP is not set
237# CONFIG_PREEMPT_NONE is not set
238# CONFIG_PREEMPT_VOLUNTARY is not set
239CONFIG_PREEMPT=y
240CONFIG_PREEMPT_BKL=y
145 241
146# 242#
147# PCCARD (PCMCIA/CardBus) support 243# Boot options
244#
245CONFIG_ZERO_PAGE_OFFSET=0x00001000
246CONFIG_BOOT_LINK_OFFSET=0x00800000
247# CONFIG_UBC_WAKEUP is not set
248# CONFIG_CMDLINE_BOOL is not set
249
250#
251# Bus options
148# 252#
149# CONFIG_PCCARD is not set 253# CONFIG_PCI is not set
150 254
151# 255#
152# PC-card bridges 256# PCCARD (PCMCIA/CardBus) support
153# 257#
154 258
155# 259#
@@ -164,9 +268,95 @@ CONFIG_BINFMT_ELF=y
164# CONFIG_BINFMT_MISC is not set 268# CONFIG_BINFMT_MISC is not set
165 269
166# 270#
167# SH initrd options 271# Power management options (EXPERIMENTAL)
272#
273# CONFIG_PM is not set
274
275#
276# Networking
277#
278CONFIG_NET=y
279
280#
281# Networking options
282#
283# CONFIG_NETDEBUG is not set
284CONFIG_PACKET=y
285# CONFIG_PACKET_MMAP is not set
286CONFIG_UNIX=y
287CONFIG_XFRM=y
288# CONFIG_XFRM_USER is not set
289# CONFIG_XFRM_SUB_POLICY is not set
290# CONFIG_NET_KEY is not set
291CONFIG_INET=y
292# CONFIG_IP_MULTICAST is not set
293# CONFIG_IP_ADVANCED_ROUTER is not set
294CONFIG_IP_FIB_HASH=y
295CONFIG_IP_PNP=y
296CONFIG_IP_PNP_DHCP=y
297CONFIG_IP_PNP_BOOTP=y
298CONFIG_IP_PNP_RARP=y
299# CONFIG_NET_IPIP is not set
300# CONFIG_NET_IPGRE is not set
301# CONFIG_ARPD is not set
302# CONFIG_SYN_COOKIES is not set
303# CONFIG_INET_AH is not set
304# CONFIG_INET_ESP is not set
305# CONFIG_INET_IPCOMP is not set
306# CONFIG_INET_XFRM_TUNNEL is not set
307# CONFIG_INET_TUNNEL is not set
308CONFIG_INET_XFRM_MODE_TRANSPORT=y
309CONFIG_INET_XFRM_MODE_TUNNEL=y
310CONFIG_INET_DIAG=y
311CONFIG_INET_TCP_DIAG=y
312# CONFIG_TCP_CONG_ADVANCED is not set
313CONFIG_TCP_CONG_CUBIC=y
314CONFIG_DEFAULT_TCP_CONG="cubic"
315# CONFIG_IPV6 is not set
316# CONFIG_INET6_XFRM_TUNNEL is not set
317# CONFIG_INET6_TUNNEL is not set
318# CONFIG_NETWORK_SECMARK is not set
319# CONFIG_NETFILTER is not set
320
321#
322# DCCP Configuration (EXPERIMENTAL)
323#
324# CONFIG_IP_DCCP is not set
325
326#
327# SCTP Configuration (EXPERIMENTAL)
328#
329# CONFIG_IP_SCTP is not set
330
331#
332# TIPC Configuration (EXPERIMENTAL)
333#
334# CONFIG_TIPC is not set
335# CONFIG_ATM is not set
336# CONFIG_BRIDGE is not set
337# CONFIG_VLAN_8021Q is not set
338# CONFIG_DECNET is not set
339# CONFIG_LLC2 is not set
340# CONFIG_IPX is not set
341# CONFIG_ATALK is not set
342# CONFIG_X25 is not set
343# CONFIG_LAPB is not set
344# CONFIG_ECONET is not set
345# CONFIG_WAN_ROUTER is not set
346
347#
348# QoS and/or fair queueing
168# 349#
169# CONFIG_EMBEDDED_RAMDISK is not set 350# CONFIG_NET_SCHED is not set
351
352#
353# Network testing
354#
355# CONFIG_NET_PKTGEN is not set
356# CONFIG_HAMRADIO is not set
357# CONFIG_IRDA is not set
358# CONFIG_BT is not set
359# CONFIG_IEEE80211 is not set
170 360
171# 361#
172# Device Drivers 362# Device Drivers
@@ -177,15 +367,20 @@ CONFIG_BINFMT_ELF=y
177# 367#
178CONFIG_STANDALONE=y 368CONFIG_STANDALONE=y
179CONFIG_PREVENT_FIRMWARE_BUILD=y 369CONFIG_PREVENT_FIRMWARE_BUILD=y
180# CONFIG_FW_LOADER is not set 370# CONFIG_SYS_HYPERVISOR is not set
371
372#
373# Connector - unified userspace <-> kernelspace linker
374#
375# CONFIG_CONNECTOR is not set
181 376
182# 377#
183# Memory Technology Devices (MTD) 378# Memory Technology Devices (MTD)
184# 379#
185CONFIG_MTD=y 380CONFIG_MTD=y
186# CONFIG_MTD_DEBUG is not set 381# CONFIG_MTD_DEBUG is not set
187CONFIG_MTD_PARTITIONS=y
188# CONFIG_MTD_CONCAT is not set 382# CONFIG_MTD_CONCAT is not set
383CONFIG_MTD_PARTITIONS=y
189# CONFIG_MTD_REDBOOT_PARTS is not set 384# CONFIG_MTD_REDBOOT_PARTS is not set
190# CONFIG_MTD_CMDLINE_PARTS is not set 385# CONFIG_MTD_CMDLINE_PARTS is not set
191 386
@@ -197,6 +392,8 @@ CONFIG_MTD_BLOCK=y
197# CONFIG_FTL is not set 392# CONFIG_FTL is not set
198# CONFIG_NFTL is not set 393# CONFIG_NFTL is not set
199# CONFIG_INFTL is not set 394# CONFIG_INFTL is not set
395# CONFIG_RFD_FTL is not set
396# CONFIG_SSFDC is not set
200 397
201# 398#
202# RAM/ROM/Flash chip drivers 399# RAM/ROM/Flash chip drivers
@@ -217,22 +414,19 @@ CONFIG_MTD_CFI_I2=y
217# CONFIG_MTD_CFI_I8 is not set 414# CONFIG_MTD_CFI_I8 is not set
218# CONFIG_MTD_CFI_INTELEXT is not set 415# CONFIG_MTD_CFI_INTELEXT is not set
219CONFIG_MTD_CFI_AMDSTD=y 416CONFIG_MTD_CFI_AMDSTD=y
220CONFIG_MTD_CFI_AMDSTD_RETRY=0
221# CONFIG_MTD_CFI_STAA is not set 417# CONFIG_MTD_CFI_STAA is not set
222CONFIG_MTD_CFI_UTIL=y 418CONFIG_MTD_CFI_UTIL=y
223# CONFIG_MTD_RAM is not set 419# CONFIG_MTD_RAM is not set
224# CONFIG_MTD_ROM is not set 420# CONFIG_MTD_ROM is not set
225# CONFIG_MTD_ABSENT is not set 421# CONFIG_MTD_ABSENT is not set
422# CONFIG_MTD_OBSOLETE_CHIPS is not set
226 423
227# 424#
228# Mapping drivers for chip access 425# Mapping drivers for chip access
229# 426#
230# CONFIG_MTD_COMPLEX_MAPPINGS is not set 427# CONFIG_MTD_COMPLEX_MAPPINGS is not set
231# CONFIG_MTD_PHYSMAP is not set 428# CONFIG_MTD_PHYSMAP is not set
232CONFIG_MTD_SOLUTIONENGINE=y 429# CONFIG_MTD_PLATRAM is not set
233CONFIG_MTD_SUPERH_RESERVE=0x300000
234# CONFIG_MTD_MPC1211 is not set
235# CONFIG_MTD_RTS7751R2D is not set
236 430
237# 431#
238# Self-contained MTD device drivers 432# Self-contained MTD device drivers
@@ -240,7 +434,6 @@ CONFIG_MTD_SUPERH_RESERVE=0x300000
240# CONFIG_MTD_SLRAM is not set 434# CONFIG_MTD_SLRAM is not set
241# CONFIG_MTD_PHRAM is not set 435# CONFIG_MTD_PHRAM is not set
242# CONFIG_MTD_MTDRAM is not set 436# CONFIG_MTD_MTDRAM is not set
243# CONFIG_MTD_BLKMTD is not set
244# CONFIG_MTD_BLOCK2MTD is not set 437# CONFIG_MTD_BLOCK2MTD is not set
245 438
246# 439#
@@ -256,6 +449,11 @@ CONFIG_MTD_SUPERH_RESERVE=0x300000
256# CONFIG_MTD_NAND is not set 449# CONFIG_MTD_NAND is not set
257 450
258# 451#
452# OneNAND Flash Device Drivers
453#
454# CONFIG_MTD_ONENAND is not set
455
456#
259# Parallel port support 457# Parallel port support
260# 458#
261# CONFIG_PARPORT is not set 459# CONFIG_PARPORT is not set
@@ -267,25 +465,15 @@ CONFIG_MTD_SUPERH_RESERVE=0x300000
267# 465#
268# Block devices 466# Block devices
269# 467#
270# CONFIG_BLK_DEV_FD is not set
271# CONFIG_BLK_DEV_COW_COMMON is not set 468# CONFIG_BLK_DEV_COW_COMMON is not set
272# CONFIG_BLK_DEV_LOOP is not set 469# CONFIG_BLK_DEV_LOOP is not set
273# CONFIG_BLK_DEV_NBD is not set 470# CONFIG_BLK_DEV_NBD is not set
274CONFIG_BLK_DEV_RAM=y 471CONFIG_BLK_DEV_RAM=y
275CONFIG_BLK_DEV_RAM_COUNT=16 472CONFIG_BLK_DEV_RAM_COUNT=16
276CONFIG_BLK_DEV_RAM_SIZE=8192 473CONFIG_BLK_DEV_RAM_SIZE=8192
474CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
277CONFIG_BLK_DEV_INITRD=y 475CONFIG_BLK_DEV_INITRD=y
278CONFIG_INITRAMFS_SOURCE=""
279# CONFIG_LBD is not set
280# CONFIG_CDROM_PKTCDVD is not set 476# CONFIG_CDROM_PKTCDVD is not set
281
282#
283# IO Schedulers
284#
285CONFIG_IOSCHED_NOOP=y
286CONFIG_IOSCHED_AS=y
287# CONFIG_IOSCHED_DEADLINE is not set
288# CONFIG_IOSCHED_CFQ is not set
289# CONFIG_ATA_OVER_ETH is not set 477# CONFIG_ATA_OVER_ETH is not set
290 478
291# 479#
@@ -296,7 +484,14 @@ CONFIG_IOSCHED_AS=y
296# 484#
297# SCSI device support 485# SCSI device support
298# 486#
487# CONFIG_RAID_ATTRS is not set
299# CONFIG_SCSI is not set 488# CONFIG_SCSI is not set
489# CONFIG_SCSI_NETLINK is not set
490
491#
492# Serial ATA (prod) and Parallel ATA (experimental) drivers
493#
494# CONFIG_ATA is not set
300 495
301# 496#
302# Multi-device support (RAID and LVM) 497# Multi-device support (RAID and LVM)
@@ -306,6 +501,7 @@ CONFIG_IOSCHED_AS=y
306# 501#
307# Fusion MPT device support 502# Fusion MPT device support
308# 503#
504# CONFIG_FUSION is not set
309 505
310# 506#
311# IEEE 1394 (FireWire) support 507# IEEE 1394 (FireWire) support
@@ -316,70 +512,8 @@ CONFIG_IOSCHED_AS=y
316# 512#
317 513
318# 514#
319# Networking support 515# Network device support
320#
321CONFIG_NET=y
322
323#
324# Networking options
325#
326CONFIG_PACKET=y
327# CONFIG_PACKET_MMAP is not set
328# CONFIG_NETLINK_DEV is not set
329CONFIG_UNIX=y
330# CONFIG_NET_KEY is not set
331CONFIG_INET=y
332# CONFIG_IP_MULTICAST is not set
333# CONFIG_IP_ADVANCED_ROUTER is not set
334CONFIG_IP_PNP=y
335CONFIG_IP_PNP_DHCP=y
336CONFIG_IP_PNP_BOOTP=y
337CONFIG_IP_PNP_RARP=y
338# CONFIG_NET_IPIP is not set
339# CONFIG_NET_IPGRE is not set
340# CONFIG_ARPD is not set
341# CONFIG_SYN_COOKIES is not set
342# CONFIG_INET_AH is not set
343# CONFIG_INET_ESP is not set
344# CONFIG_INET_IPCOMP is not set
345# CONFIG_INET_TUNNEL is not set
346CONFIG_IP_TCPDIAG=y
347# CONFIG_IP_TCPDIAG_IPV6 is not set
348# CONFIG_IPV6 is not set
349# CONFIG_NETFILTER is not set
350
351#
352# SCTP Configuration (EXPERIMENTAL)
353#
354# CONFIG_IP_SCTP is not set
355# CONFIG_ATM is not set
356# CONFIG_BRIDGE is not set
357# CONFIG_VLAN_8021Q is not set
358# CONFIG_DECNET is not set
359# CONFIG_LLC2 is not set
360# CONFIG_IPX is not set
361# CONFIG_ATALK is not set
362# CONFIG_X25 is not set
363# CONFIG_LAPB is not set
364# CONFIG_NET_DIVERT is not set
365# CONFIG_ECONET is not set
366# CONFIG_WAN_ROUTER is not set
367
368#
369# QoS and/or fair queueing
370#
371# CONFIG_NET_SCHED is not set
372# CONFIG_NET_CLS_ROUTE is not set
373
374#
375# Network testing
376# 516#
377# CONFIG_NET_PKTGEN is not set
378# CONFIG_NETPOLL is not set
379# CONFIG_NET_POLL_CONTROLLER is not set
380# CONFIG_HAMRADIO is not set
381# CONFIG_IRDA is not set
382# CONFIG_BT is not set
383CONFIG_NETDEVICES=y 517CONFIG_NETDEVICES=y
384# CONFIG_DUMMY is not set 518# CONFIG_DUMMY is not set
385# CONFIG_BONDING is not set 519# CONFIG_BONDING is not set
@@ -387,6 +521,11 @@ CONFIG_NETDEVICES=y
387# CONFIG_TUN is not set 521# CONFIG_TUN is not set
388 522
389# 523#
524# PHY device support
525#
526# CONFIG_PHYLIB is not set
527
528#
390# Ethernet (10 or 100Mbit) 529# Ethernet (10 or 100Mbit)
391# 530#
392CONFIG_NET_ETHERNET=y 531CONFIG_NET_ETHERNET=y
@@ -422,10 +561,14 @@ CONFIG_PPP_ASYNC=y
422# CONFIG_PPP_SYNC_TTY is not set 561# CONFIG_PPP_SYNC_TTY is not set
423CONFIG_PPP_DEFLATE=y 562CONFIG_PPP_DEFLATE=y
424# CONFIG_PPP_BSDCOMP is not set 563# CONFIG_PPP_BSDCOMP is not set
564# CONFIG_PPP_MPPE is not set
425# CONFIG_PPPOE is not set 565# CONFIG_PPPOE is not set
426# CONFIG_SLIP is not set 566# CONFIG_SLIP is not set
567CONFIG_SLHC=y
427# CONFIG_SHAPER is not set 568# CONFIG_SHAPER is not set
428# CONFIG_NETCONSOLE is not set 569# CONFIG_NETCONSOLE is not set
570# CONFIG_NETPOLL is not set
571# CONFIG_NET_POLL_CONTROLLER is not set
429 572
430# 573#
431# ISDN subsystem 574# ISDN subsystem
@@ -441,6 +584,7 @@ CONFIG_PPP_DEFLATE=y
441# Input device support 584# Input device support
442# 585#
443CONFIG_INPUT=y 586CONFIG_INPUT=y
587# CONFIG_INPUT_FF_MEMLESS is not set
444 588
445# 589#
446# Userland interfaces 590# Userland interfaces
@@ -452,18 +596,6 @@ CONFIG_INPUT=y
452# CONFIG_INPUT_EVBUG is not set 596# CONFIG_INPUT_EVBUG is not set
453 597
454# 598#
455# Input I/O drivers
456#
457# CONFIG_GAMEPORT is not set
458CONFIG_SOUND_GAMEPORT=y
459CONFIG_SERIO=y
460# CONFIG_SERIO_I8042 is not set
461# CONFIG_SERIO_SERPORT is not set
462# CONFIG_SERIO_CT82C710 is not set
463# CONFIG_SERIO_LIBPS2 is not set
464# CONFIG_SERIO_RAW is not set
465
466#
467# Input Device Drivers 599# Input Device Drivers
468# 600#
469# CONFIG_INPUT_KEYBOARD is not set 601# CONFIG_INPUT_KEYBOARD is not set
@@ -473,6 +605,16 @@ CONFIG_SERIO=y
473# CONFIG_INPUT_MISC is not set 605# CONFIG_INPUT_MISC is not set
474 606
475# 607#
608# Hardware I/O ports
609#
610CONFIG_SERIO=y
611# CONFIG_SERIO_I8042 is not set
612# CONFIG_SERIO_SERPORT is not set
613# CONFIG_SERIO_LIBPS2 is not set
614# CONFIG_SERIO_RAW is not set
615# CONFIG_GAMEPORT is not set
616
617#
476# Character devices 618# Character devices
477# 619#
478# CONFIG_VT is not set 620# CONFIG_VT is not set
@@ -487,6 +629,7 @@ CONFIG_SERIO=y
487# Non-8250 serial port support 629# Non-8250 serial port support
488# 630#
489CONFIG_SERIAL_SH_SCI=y 631CONFIG_SERIAL_SH_SCI=y
632CONFIG_SERIAL_SH_SCI_NR_UARTS=2
490CONFIG_SERIAL_SH_SCI_CONSOLE=y 633CONFIG_SERIAL_SH_SCI_CONSOLE=y
491CONFIG_SERIAL_CORE=y 634CONFIG_SERIAL_CORE=y
492CONFIG_SERIAL_CORE_CONSOLE=y 635CONFIG_SERIAL_CORE_CONSOLE=y
@@ -502,7 +645,7 @@ CONFIG_UNIX98_PTYS=y
502# Watchdog Cards 645# Watchdog Cards
503# 646#
504# CONFIG_WATCHDOG is not set 647# CONFIG_WATCHDOG is not set
505# CONFIG_RTC is not set 648CONFIG_HW_RANDOM=y
506# CONFIG_GEN_RTC is not set 649# CONFIG_GEN_RTC is not set
507# CONFIG_DTLK is not set 650# CONFIG_DTLK is not set
508# CONFIG_R3964 is not set 651# CONFIG_R3964 is not set
@@ -510,18 +653,38 @@ CONFIG_UNIX98_PTYS=y
510# 653#
511# Ftape, the floppy tape device driver 654# Ftape, the floppy tape device driver
512# 655#
513# CONFIG_DRM is not set
514# CONFIG_RAW_DRIVER is not set 656# CONFIG_RAW_DRIVER is not set
515 657
516# 658#
659# TPM devices
660#
661# CONFIG_TCG_TPM is not set
662# CONFIG_TELCLOCK is not set
663
664#
517# I2C support 665# I2C support
518# 666#
519# CONFIG_I2C is not set 667# CONFIG_I2C is not set
520 668
521# 669#
670# SPI support
671#
672# CONFIG_SPI is not set
673# CONFIG_SPI_MASTER is not set
674
675#
522# Dallas's 1-wire bus 676# Dallas's 1-wire bus
523# 677#
524# CONFIG_W1 is not set 678
679#
680# Hardware Monitoring support
681#
682CONFIG_HWMON=y
683# CONFIG_HWMON_VID is not set
684# CONFIG_SENSORS_ABITUGURU is not set
685# CONFIG_SENSORS_F71805F is not set
686# CONFIG_SENSORS_VT1211 is not set
687# CONFIG_HWMON_DEBUG_CHIP is not set
525 688
526# 689#
527# Misc devices 690# Misc devices
@@ -531,6 +694,7 @@ CONFIG_UNIX98_PTYS=y
531# Multimedia devices 694# Multimedia devices
532# 695#
533# CONFIG_VIDEO_DEV is not set 696# CONFIG_VIDEO_DEV is not set
697CONFIG_VIDEO_V4L2=y
534 698
535# 699#
536# Digital Video Broadcasting Devices 700# Digital Video Broadcasting Devices
@@ -540,6 +704,7 @@ CONFIG_UNIX98_PTYS=y
540# 704#
541# Graphics support 705# Graphics support
542# 706#
707CONFIG_FIRMWARE_EDID=y
543# CONFIG_FB is not set 708# CONFIG_FB is not set
544 709
545# 710#
@@ -552,9 +717,10 @@ CONFIG_UNIX98_PTYS=y
552# 717#
553# CONFIG_USB_ARCH_HAS_HCD is not set 718# CONFIG_USB_ARCH_HAS_HCD is not set
554# CONFIG_USB_ARCH_HAS_OHCI is not set 719# CONFIG_USB_ARCH_HAS_OHCI is not set
720# CONFIG_USB_ARCH_HAS_EHCI is not set
555 721
556# 722#
557# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 723# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
558# 724#
559 725
560# 726#
@@ -568,30 +734,64 @@ CONFIG_UNIX98_PTYS=y
568# CONFIG_MMC is not set 734# CONFIG_MMC is not set
569 735
570# 736#
737# LED devices
738#
739# CONFIG_NEW_LEDS is not set
740
741#
742# LED drivers
743#
744
745#
746# LED Triggers
747#
748
749#
571# InfiniBand support 750# InfiniBand support
572# 751#
573# CONFIG_INFINIBAND is not set 752
753#
754# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
755#
756
757#
758# Real Time Clock
759#
760# CONFIG_RTC_CLASS is not set
761
762#
763# DMA Engine support
764#
765# CONFIG_DMA_ENGINE is not set
766
767#
768# DMA Clients
769#
770
771#
772# DMA Devices
773#
574 774
575# 775#
576# File systems 776# File systems
577# 777#
578CONFIG_EXT2_FS=y 778CONFIG_EXT2_FS=y
579# CONFIG_EXT2_FS_XATTR is not set 779# CONFIG_EXT2_FS_XATTR is not set
780# CONFIG_EXT2_FS_XIP is not set
580# CONFIG_EXT3_FS is not set 781# CONFIG_EXT3_FS is not set
581# CONFIG_JBD is not set
582# CONFIG_REISERFS_FS is not set 782# CONFIG_REISERFS_FS is not set
583# CONFIG_JFS_FS is not set 783# CONFIG_JFS_FS is not set
584 784# CONFIG_FS_POSIX_ACL is not set
585#
586# XFS support
587#
588# CONFIG_XFS_FS is not set 785# CONFIG_XFS_FS is not set
589# CONFIG_MINIX_FS is not set 786# CONFIG_MINIX_FS is not set
590# CONFIG_ROMFS_FS is not set 787# CONFIG_ROMFS_FS is not set
788CONFIG_INOTIFY=y
789CONFIG_INOTIFY_USER=y
591# CONFIG_QUOTA is not set 790# CONFIG_QUOTA is not set
592CONFIG_DNOTIFY=y 791CONFIG_DNOTIFY=y
593# CONFIG_AUTOFS_FS is not set 792# CONFIG_AUTOFS_FS is not set
594# CONFIG_AUTOFS4_FS is not set 793# CONFIG_AUTOFS4_FS is not set
794# CONFIG_FUSE_FS is not set
595 795
596# 796#
597# CD-ROM/DVD Filesystems 797# CD-ROM/DVD Filesystems
@@ -611,9 +811,8 @@ CONFIG_DNOTIFY=y
611# 811#
612CONFIG_PROC_FS=y 812CONFIG_PROC_FS=y
613CONFIG_PROC_KCORE=y 813CONFIG_PROC_KCORE=y
814CONFIG_PROC_SYSCTL=y
614# CONFIG_SYSFS is not set 815# CONFIG_SYSFS is not set
615# CONFIG_DEVFS_FS is not set
616# CONFIG_DEVPTS_FS_XATTR is not set
617# CONFIG_TMPFS is not set 816# CONFIG_TMPFS is not set
618# CONFIG_HUGETLBFS is not set 817# CONFIG_HUGETLBFS is not set
619# CONFIG_HUGETLB_PAGE is not set 818# CONFIG_HUGETLB_PAGE is not set
@@ -632,8 +831,9 @@ CONFIG_RAMFS=y
632# CONFIG_JFFS_FS is not set 831# CONFIG_JFFS_FS is not set
633CONFIG_JFFS2_FS=y 832CONFIG_JFFS2_FS=y
634CONFIG_JFFS2_FS_DEBUG=0 833CONFIG_JFFS2_FS_DEBUG=0
635# CONFIG_JFFS2_FS_NAND is not set 834CONFIG_JFFS2_FS_WRITEBUFFER=y
636# CONFIG_JFFS2_FS_NOR_ECC is not set 835# CONFIG_JFFS2_SUMMARY is not set
836# CONFIG_JFFS2_FS_XATTR is not set
637# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 837# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
638CONFIG_JFFS2_ZLIB=y 838CONFIG_JFFS2_ZLIB=y
639CONFIG_JFFS2_RTIME=y 839CONFIG_JFFS2_RTIME=y
@@ -655,6 +855,7 @@ CONFIG_NFS_FS=y
655# CONFIG_NFSD is not set 855# CONFIG_NFSD is not set
656CONFIG_ROOT_NFS=y 856CONFIG_ROOT_NFS=y
657CONFIG_LOCKD=y 857CONFIG_LOCKD=y
858CONFIG_NFS_COMMON=y
658CONFIG_SUNRPC=y 859CONFIG_SUNRPC=y
659# CONFIG_RPCSEC_GSS_KRB5 is not set 860# CONFIG_RPCSEC_GSS_KRB5 is not set
660# CONFIG_RPCSEC_GSS_SPKM3 is not set 861# CONFIG_RPCSEC_GSS_SPKM3 is not set
@@ -663,6 +864,7 @@ CONFIG_SUNRPC=y
663# CONFIG_NCP_FS is not set 864# CONFIG_NCP_FS is not set
664# CONFIG_CODA_FS is not set 865# CONFIG_CODA_FS is not set
665# CONFIG_AFS_FS is not set 866# CONFIG_AFS_FS is not set
867# CONFIG_9P_FS is not set
666 868
667# 869#
668# Partition Types 870# Partition Types
@@ -683,9 +885,13 @@ CONFIG_MSDOS_PARTITION=y
683# 885#
684# Kernel hacking 886# Kernel hacking
685# 887#
888# CONFIG_PRINTK_TIME is not set
889CONFIG_ENABLE_MUST_CHECK=y
890# CONFIG_MAGIC_SYSRQ is not set
891# CONFIG_UNUSED_SYMBOLS is not set
686# CONFIG_DEBUG_KERNEL is not set 892# CONFIG_DEBUG_KERNEL is not set
687CONFIG_DEBUG_PREEMPT=y 893CONFIG_LOG_BUF_SHIFT=14
688# CONFIG_FRAME_POINTER is not set 894# CONFIG_DEBUG_BUGVERBOSE is not set
689# CONFIG_SH_STANDARD_BIOS is not set 895# CONFIG_SH_STANDARD_BIOS is not set
690# CONFIG_KGDB is not set 896# CONFIG_KGDB is not set
691 897
@@ -693,7 +899,6 @@ CONFIG_DEBUG_PREEMPT=y
693# Security options 899# Security options
694# 900#
695# CONFIG_KEYS is not set 901# CONFIG_KEYS is not set
696# CONFIG_SECURITY is not set
697 902
698# 903#
699# Cryptographic options 904# Cryptographic options
@@ -701,14 +906,12 @@ CONFIG_DEBUG_PREEMPT=y
701# CONFIG_CRYPTO is not set 906# CONFIG_CRYPTO is not set
702 907
703# 908#
704# Hardware crypto devices
705#
706
707#
708# Library routines 909# Library routines
709# 910#
710CONFIG_CRC_CCITT=y 911CONFIG_CRC_CCITT=y
912# CONFIG_CRC16 is not set
711CONFIG_CRC32=y 913CONFIG_CRC32=y
712# CONFIG_LIBCRC32C is not set 914# CONFIG_LIBCRC32C is not set
713CONFIG_ZLIB_INFLATE=y 915CONFIG_ZLIB_INFLATE=y
714CONFIG_ZLIB_DEFLATE=y 916CONFIG_ZLIB_DEFLATE=y
917CONFIG_PLIST=y
diff --git a/arch/sh/configs/se7750_defconfig b/arch/sh/configs/se7750_defconfig
index 6dc31584752a..5d357d68b234 100644
--- a/arch/sh/configs/se7750_defconfig
+++ b/arch/sh/configs/se7750_defconfig
@@ -1,131 +1,218 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:46 2005 4# Tue Oct 3 11:49:01 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24# CONFIG_SWAP is not set 27# CONFIG_SWAP is not set
25CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
26# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
27CONFIG_BSD_PROCESS_ACCT=y 31CONFIG_BSD_PROCESS_ACCT=y
28# CONFIG_BSD_PROCESS_ACCT_V3 is not set 32# CONFIG_BSD_PROCESS_ACCT_V3 is not set
29CONFIG_SYSCTL=y 33# CONFIG_TASKSTATS is not set
34# CONFIG_UTS_NS is not set
30# CONFIG_AUDIT is not set 35# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=14
32# CONFIG_HOTPLUG is not set
33CONFIG_KOBJECT_UEVENT=y
34CONFIG_IKCONFIG=y 36CONFIG_IKCONFIG=y
35CONFIG_IKCONFIG_PROC=y 37CONFIG_IKCONFIG_PROC=y
38# CONFIG_RELAY is not set
39CONFIG_INITRAMFS_SOURCE=""
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SYSCTL=y
36CONFIG_EMBEDDED=y 42CONFIG_EMBEDDED=y
43CONFIG_UID16=y
44# CONFIG_SYSCTL_SYSCALL is not set
37CONFIG_KALLSYMS=y 45CONFIG_KALLSYMS=y
38# CONFIG_KALLSYMS_EXTRA_PASS is not set 46# CONFIG_KALLSYMS_EXTRA_PASS is not set
47# CONFIG_HOTPLUG is not set
48CONFIG_PRINTK=y
49CONFIG_BUG=y
50CONFIG_ELF_CORE=y
51CONFIG_BASE_FULL=y
39CONFIG_FUTEX=y 52CONFIG_FUTEX=y
40CONFIG_EPOLL=y 53CONFIG_EPOLL=y
41# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
42CONFIG_SHMEM=y 54CONFIG_SHMEM=y
43CONFIG_CC_ALIGN_FUNCTIONS=0 55CONFIG_SLAB=y
44CONFIG_CC_ALIGN_LABELS=0 56CONFIG_VM_EVENT_COUNTERS=y
45CONFIG_CC_ALIGN_LOOPS=0 57CONFIG_RT_MUTEXES=y
46CONFIG_CC_ALIGN_JUMPS=0
47# CONFIG_TINY_SHMEM is not set 58# CONFIG_TINY_SHMEM is not set
59CONFIG_BASE_SMALL=0
60# CONFIG_SLOB is not set
48 61
49# 62#
50# Loadable module support 63# Loadable module support
51# 64#
52CONFIG_MODULES=y 65CONFIG_MODULES=y
53# CONFIG_MODULE_UNLOAD is not set 66# CONFIG_MODULE_UNLOAD is not set
54CONFIG_OBSOLETE_MODPARM=y
55# CONFIG_MODVERSIONS is not set 67# CONFIG_MODVERSIONS is not set
56# CONFIG_MODULE_SRCVERSION_ALL is not set 68# CONFIG_MODULE_SRCVERSION_ALL is not set
57CONFIG_KMOD=y 69CONFIG_KMOD=y
58 70
59# 71#
72# Block layer
73#
74CONFIG_BLOCK=y
75# CONFIG_LBD is not set
76# CONFIG_BLK_DEV_IO_TRACE is not set
77# CONFIG_LSF is not set
78
79#
80# IO Schedulers
81#
82CONFIG_IOSCHED_NOOP=y
83CONFIG_IOSCHED_AS=y
84CONFIG_IOSCHED_DEADLINE=y
85CONFIG_IOSCHED_CFQ=y
86CONFIG_DEFAULT_AS=y
87# CONFIG_DEFAULT_DEADLINE is not set
88# CONFIG_DEFAULT_CFQ is not set
89# CONFIG_DEFAULT_NOOP is not set
90CONFIG_DEFAULT_IOSCHED="anticipatory"
91
92#
60# System type 93# System type
61# 94#
95CONFIG_SOLUTION_ENGINE=y
62CONFIG_SH_SOLUTION_ENGINE=y 96CONFIG_SH_SOLUTION_ENGINE=y
63# CONFIG_SH_7751_SOLUTION_ENGINE is not set 97# CONFIG_SH_7751_SOLUTION_ENGINE is not set
64# CONFIG_SH_7300_SOLUTION_ENGINE is not set 98# CONFIG_SH_7300_SOLUTION_ENGINE is not set
99# CONFIG_SH_7343_SOLUTION_ENGINE is not set
65# CONFIG_SH_73180_SOLUTION_ENGINE is not set 100# CONFIG_SH_73180_SOLUTION_ENGINE is not set
66# CONFIG_SH_7751_SYSTEMH is not set 101# CONFIG_SH_7751_SYSTEMH is not set
67# CONFIG_SH_STB1_HARP is not set 102# CONFIG_SH_HP6XX is not set
68# CONFIG_SH_STB1_OVERDRIVE is not set
69# CONFIG_SH_HP620 is not set
70# CONFIG_SH_HP680 is not set
71# CONFIG_SH_HP690 is not set
72# CONFIG_SH_CQREEK is not set
73# CONFIG_SH_DMIDA is not set
74# CONFIG_SH_EC3104 is not set 103# CONFIG_SH_EC3104 is not set
75# CONFIG_SH_SATURN is not set 104# CONFIG_SH_SATURN is not set
76# CONFIG_SH_DREAMCAST is not set 105# CONFIG_SH_DREAMCAST is not set
77# CONFIG_SH_CAT68701 is not set
78# CONFIG_SH_BIGSUR is not set 106# CONFIG_SH_BIGSUR is not set
79# CONFIG_SH_SH2000 is not set
80# CONFIG_SH_ADX is not set
81# CONFIG_SH_MPC1211 is not set 107# CONFIG_SH_MPC1211 is not set
82# CONFIG_SH_SH03 is not set 108# CONFIG_SH_SH03 is not set
83# CONFIG_SH_SECUREEDGE5410 is not set 109# CONFIG_SH_SECUREEDGE5410 is not set
84# CONFIG_SH_HS7751RVOIP is not set 110# CONFIG_SH_HS7751RVOIP is not set
111# CONFIG_SH_7710VOIPGW is not set
85# CONFIG_SH_RTS7751R2D is not set 112# CONFIG_SH_RTS7751R2D is not set
113# CONFIG_SH_R7780RP is not set
86# CONFIG_SH_EDOSK7705 is not set 114# CONFIG_SH_EDOSK7705 is not set
87# CONFIG_SH_SH4202_MICRODEV is not set 115# CONFIG_SH_SH4202_MICRODEV is not set
116# CONFIG_SH_LANDISK is not set
117# CONFIG_SH_TITAN is not set
118# CONFIG_SH_SHMIN is not set
88# CONFIG_SH_UNKNOWN is not set 119# CONFIG_SH_UNKNOWN is not set
89# CONFIG_CPU_SH2 is not set 120
90# CONFIG_CPU_SH3 is not set 121#
122# Processor selection
123#
91CONFIG_CPU_SH4=y 124CONFIG_CPU_SH4=y
125
126#
127# SH-2 Processor Support
128#
92# CONFIG_CPU_SUBTYPE_SH7604 is not set 129# CONFIG_CPU_SUBTYPE_SH7604 is not set
130
131#
132# SH-3 Processor Support
133#
93# CONFIG_CPU_SUBTYPE_SH7300 is not set 134# CONFIG_CPU_SUBTYPE_SH7300 is not set
94# CONFIG_CPU_SUBTYPE_SH7705 is not set 135# CONFIG_CPU_SUBTYPE_SH7705 is not set
136# CONFIG_CPU_SUBTYPE_SH7706 is not set
95# CONFIG_CPU_SUBTYPE_SH7707 is not set 137# CONFIG_CPU_SUBTYPE_SH7707 is not set
96# CONFIG_CPU_SUBTYPE_SH7708 is not set 138# CONFIG_CPU_SUBTYPE_SH7708 is not set
97# CONFIG_CPU_SUBTYPE_SH7709 is not set 139# CONFIG_CPU_SUBTYPE_SH7709 is not set
140# CONFIG_CPU_SUBTYPE_SH7710 is not set
141
142#
143# SH-4 Processor Support
144#
98CONFIG_CPU_SUBTYPE_SH7750=y 145CONFIG_CPU_SUBTYPE_SH7750=y
146# CONFIG_CPU_SUBTYPE_SH7091 is not set
147# CONFIG_CPU_SUBTYPE_SH7750R is not set
148# CONFIG_CPU_SUBTYPE_SH7750S is not set
99# CONFIG_CPU_SUBTYPE_SH7751 is not set 149# CONFIG_CPU_SUBTYPE_SH7751 is not set
150# CONFIG_CPU_SUBTYPE_SH7751R is not set
100# CONFIG_CPU_SUBTYPE_SH7760 is not set 151# CONFIG_CPU_SUBTYPE_SH7760 is not set
101# CONFIG_CPU_SUBTYPE_SH73180 is not set 152# CONFIG_CPU_SUBTYPE_SH4_202 is not set
153
154#
155# ST40 Processor Support
156#
102# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 157# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
103# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 158# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
104# CONFIG_CPU_SUBTYPE_SH4_202 is not set 159
160#
161# SH-4A Processor Support
162#
163# CONFIG_CPU_SUBTYPE_SH7770 is not set
164# CONFIG_CPU_SUBTYPE_SH7780 is not set
165
166#
167# SH4AL-DSP Processor Support
168#
169# CONFIG_CPU_SUBTYPE_SH73180 is not set
170# CONFIG_CPU_SUBTYPE_SH7343 is not set
171
172#
173# Memory management options
174#
105CONFIG_MMU=y 175CONFIG_MMU=y
106CONFIG_CMDLINE_BOOL=y 176CONFIG_PAGE_OFFSET=0x80000000
107CONFIG_CMDLINE="console=ttySC1,38400 root=/dev/nfs ip=bootp"
108CONFIG_MEMORY_START=0x0c000000 177CONFIG_MEMORY_START=0x0c000000
109CONFIG_MEMORY_SIZE=0x02000000 178CONFIG_MEMORY_SIZE=0x02000000
110CONFIG_MEMORY_SET=y 179CONFIG_VSYSCALL=y
111# CONFIG_MEMORY_OVERRIDE is not set 180CONFIG_SELECT_MEMORY_MODEL=y
181CONFIG_FLATMEM_MANUAL=y
182# CONFIG_DISCONTIGMEM_MANUAL is not set
183# CONFIG_SPARSEMEM_MANUAL is not set
184CONFIG_FLATMEM=y
185CONFIG_FLAT_NODE_MEM_MAP=y
186# CONFIG_SPARSEMEM_STATIC is not set
187CONFIG_SPLIT_PTLOCK_CPUS=4
188# CONFIG_RESOURCES_64BIT is not set
189
190#
191# Cache configuration
192#
193# CONFIG_SH_DIRECT_MAPPED is not set
194# CONFIG_SH_WRITETHROUGH is not set
195# CONFIG_SH_OCRAM is not set
112CONFIG_CF_ENABLER=y 196CONFIG_CF_ENABLER=y
113# CONFIG_CF_AREA5 is not set 197# CONFIG_CF_AREA5 is not set
114CONFIG_CF_AREA6=y 198CONFIG_CF_AREA6=y
115CONFIG_CF_BASE_ADDR=0xb8000000 199CONFIG_CF_BASE_ADDR=0xb8000000
116CONFIG_SH_RTC=y 200
117CONFIG_SH_FPU=y 201#
118CONFIG_ZERO_PAGE_OFFSET=0x00001000 202# Processor features
119CONFIG_BOOT_LINK_OFFSET=0x00800000 203#
120CONFIG_CPU_LITTLE_ENDIAN=y 204CONFIG_CPU_LITTLE_ENDIAN=y
121# CONFIG_PREEMPT is not set 205CONFIG_SH_FPU=y
122# CONFIG_UBC_WAKEUP is not set 206# CONFIG_SH_DSP is not set
123# CONFIG_SH_WRITETHROUGH is not set
124# CONFIG_SH_OCRAM is not set
125# CONFIG_SH_STORE_QUEUES is not set 207# CONFIG_SH_STORE_QUEUES is not set
126# CONFIG_SMP is not set 208CONFIG_CPU_HAS_INTEVT=y
127CONFIG_SH_PCLK_CALC=y 209CONFIG_CPU_HAS_SR_RB=y
128CONFIG_SH_PCLK_FREQ=49876504 210
211#
212# Timer support
213#
214CONFIG_SH_TMU=y
215CONFIG_SH_PCLK_FREQ=50000000
129 216
130# 217#
131# CPU Frequency scaling 218# CPU Frequency scaling
@@ -144,17 +231,34 @@ CONFIG_SH_PCLK_FREQ=49876504
144CONFIG_HEARTBEAT=y 231CONFIG_HEARTBEAT=y
145 232
146# 233#
147# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 234# Kernel features
148# 235#
149# CONFIG_PCI is not set 236# CONFIG_HZ_100 is not set
237CONFIG_HZ_250=y
238# CONFIG_HZ_1000 is not set
239CONFIG_HZ=250
240# CONFIG_KEXEC is not set
241# CONFIG_SMP is not set
242CONFIG_PREEMPT_NONE=y
243# CONFIG_PREEMPT_VOLUNTARY is not set
244# CONFIG_PREEMPT is not set
150 245
151# 246#
152# PCCARD (PCMCIA/CardBus) support 247# Boot options
248#
249CONFIG_ZERO_PAGE_OFFSET=0x00001000
250CONFIG_BOOT_LINK_OFFSET=0x00800000
251# CONFIG_UBC_WAKEUP is not set
252CONFIG_CMDLINE_BOOL=y
253CONFIG_CMDLINE="console=ttySC1,38400 root=/dev/nfs ip=bootp"
254
255#
256# Bus options
153# 257#
154# CONFIG_PCCARD is not set 258# CONFIG_PCI is not set
155 259
156# 260#
157# PC-card bridges 261# PCCARD (PCMCIA/CardBus) support
158# 262#
159 263
160# 264#
@@ -169,6 +273,98 @@ CONFIG_BINFMT_ELF=y
169# CONFIG_BINFMT_MISC is not set 273# CONFIG_BINFMT_MISC is not set
170 274
171# 275#
276# Power management options (EXPERIMENTAL)
277#
278# CONFIG_PM is not set
279
280#
281# Networking
282#
283CONFIG_NET=y
284
285#
286# Networking options
287#
288# CONFIG_NETDEBUG is not set
289CONFIG_PACKET=y
290# CONFIG_PACKET_MMAP is not set
291CONFIG_UNIX=y
292CONFIG_XFRM=y
293# CONFIG_XFRM_USER is not set
294# CONFIG_XFRM_SUB_POLICY is not set
295# CONFIG_NET_KEY is not set
296CONFIG_INET=y
297CONFIG_IP_MULTICAST=y
298# CONFIG_IP_ADVANCED_ROUTER is not set
299CONFIG_IP_FIB_HASH=y
300CONFIG_IP_PNP=y
301# CONFIG_IP_PNP_DHCP is not set
302CONFIG_IP_PNP_BOOTP=y
303# CONFIG_IP_PNP_RARP is not set
304# CONFIG_NET_IPIP is not set
305# CONFIG_NET_IPGRE is not set
306# CONFIG_IP_MROUTE is not set
307# CONFIG_ARPD is not set
308# CONFIG_SYN_COOKIES is not set
309# CONFIG_INET_AH is not set
310# CONFIG_INET_ESP is not set
311# CONFIG_INET_IPCOMP is not set
312# CONFIG_INET_XFRM_TUNNEL is not set
313# CONFIG_INET_TUNNEL is not set
314CONFIG_INET_XFRM_MODE_TRANSPORT=y
315CONFIG_INET_XFRM_MODE_TUNNEL=y
316CONFIG_INET_DIAG=y
317CONFIG_INET_TCP_DIAG=y
318# CONFIG_TCP_CONG_ADVANCED is not set
319CONFIG_TCP_CONG_CUBIC=y
320CONFIG_DEFAULT_TCP_CONG="cubic"
321# CONFIG_IPV6 is not set
322# CONFIG_INET6_XFRM_TUNNEL is not set
323# CONFIG_INET6_TUNNEL is not set
324# CONFIG_NETWORK_SECMARK is not set
325# CONFIG_NETFILTER is not set
326
327#
328# DCCP Configuration (EXPERIMENTAL)
329#
330# CONFIG_IP_DCCP is not set
331
332#
333# SCTP Configuration (EXPERIMENTAL)
334#
335# CONFIG_IP_SCTP is not set
336
337#
338# TIPC Configuration (EXPERIMENTAL)
339#
340# CONFIG_TIPC is not set
341# CONFIG_ATM is not set
342# CONFIG_BRIDGE is not set
343# CONFIG_VLAN_8021Q is not set
344# CONFIG_DECNET is not set
345# CONFIG_LLC2 is not set
346# CONFIG_IPX is not set
347# CONFIG_ATALK is not set
348# CONFIG_X25 is not set
349# CONFIG_LAPB is not set
350# CONFIG_ECONET is not set
351# CONFIG_WAN_ROUTER is not set
352
353#
354# QoS and/or fair queueing
355#
356# CONFIG_NET_SCHED is not set
357
358#
359# Network testing
360#
361# CONFIG_NET_PKTGEN is not set
362# CONFIG_HAMRADIO is not set
363# CONFIG_IRDA is not set
364# CONFIG_BT is not set
365# CONFIG_IEEE80211 is not set
366
367#
172# Device Drivers 368# Device Drivers
173# 369#
174 370
@@ -177,15 +373,20 @@ CONFIG_BINFMT_ELF=y
177# 373#
178CONFIG_STANDALONE=y 374CONFIG_STANDALONE=y
179CONFIG_PREVENT_FIRMWARE_BUILD=y 375CONFIG_PREVENT_FIRMWARE_BUILD=y
180# CONFIG_FW_LOADER is not set 376# CONFIG_SYS_HYPERVISOR is not set
377
378#
379# Connector - unified userspace <-> kernelspace linker
380#
381# CONFIG_CONNECTOR is not set
181 382
182# 383#
183# Memory Technology Devices (MTD) 384# Memory Technology Devices (MTD)
184# 385#
185CONFIG_MTD=y 386CONFIG_MTD=y
186# CONFIG_MTD_DEBUG is not set 387# CONFIG_MTD_DEBUG is not set
187CONFIG_MTD_PARTITIONS=y
188# CONFIG_MTD_CONCAT is not set 388# CONFIG_MTD_CONCAT is not set
389CONFIG_MTD_PARTITIONS=y
189# CONFIG_MTD_REDBOOT_PARTS is not set 390# CONFIG_MTD_REDBOOT_PARTS is not set
190# CONFIG_MTD_CMDLINE_PARTS is not set 391# CONFIG_MTD_CMDLINE_PARTS is not set
191 392
@@ -197,6 +398,8 @@ CONFIG_MTD_BLOCK=y
197# CONFIG_FTL is not set 398# CONFIG_FTL is not set
198# CONFIG_NFTL is not set 399# CONFIG_NFTL is not set
199# CONFIG_INFTL is not set 400# CONFIG_INFTL is not set
401# CONFIG_RFD_FTL is not set
402# CONFIG_SSFDC is not set
200 403
201# 404#
202# RAM/ROM/Flash chip drivers 405# RAM/ROM/Flash chip drivers
@@ -217,22 +420,19 @@ CONFIG_MTD_CFI_I2=y
217# CONFIG_MTD_CFI_I8 is not set 420# CONFIG_MTD_CFI_I8 is not set
218# CONFIG_MTD_CFI_INTELEXT is not set 421# CONFIG_MTD_CFI_INTELEXT is not set
219CONFIG_MTD_CFI_AMDSTD=y 422CONFIG_MTD_CFI_AMDSTD=y
220CONFIG_MTD_CFI_AMDSTD_RETRY=0
221# CONFIG_MTD_CFI_STAA is not set 423# CONFIG_MTD_CFI_STAA is not set
222CONFIG_MTD_CFI_UTIL=y 424CONFIG_MTD_CFI_UTIL=y
223# CONFIG_MTD_RAM is not set 425# CONFIG_MTD_RAM is not set
224CONFIG_MTD_ROM=y 426CONFIG_MTD_ROM=y
225# CONFIG_MTD_ABSENT is not set 427# CONFIG_MTD_ABSENT is not set
428# CONFIG_MTD_OBSOLETE_CHIPS is not set
226 429
227# 430#
228# Mapping drivers for chip access 431# Mapping drivers for chip access
229# 432#
230# CONFIG_MTD_COMPLEX_MAPPINGS is not set 433# CONFIG_MTD_COMPLEX_MAPPINGS is not set
231# CONFIG_MTD_PHYSMAP is not set 434# CONFIG_MTD_PHYSMAP is not set
232CONFIG_MTD_SOLUTIONENGINE=y 435# CONFIG_MTD_PLATRAM is not set
233CONFIG_MTD_SUPERH_RESERVE=0x00010000
234# CONFIG_MTD_MPC1211 is not set
235# CONFIG_MTD_RTS7751R2D is not set
236 436
237# 437#
238# Self-contained MTD device drivers 438# Self-contained MTD device drivers
@@ -240,7 +440,6 @@ CONFIG_MTD_SUPERH_RESERVE=0x00010000
240# CONFIG_MTD_SLRAM is not set 440# CONFIG_MTD_SLRAM is not set
241# CONFIG_MTD_PHRAM is not set 441# CONFIG_MTD_PHRAM is not set
242# CONFIG_MTD_MTDRAM is not set 442# CONFIG_MTD_MTDRAM is not set
243# CONFIG_MTD_BLKMTD is not set
244# CONFIG_MTD_BLOCK2MTD is not set 443# CONFIG_MTD_BLOCK2MTD is not set
245 444
246# 445#
@@ -256,6 +455,11 @@ CONFIG_MTD_SUPERH_RESERVE=0x00010000
256# CONFIG_MTD_NAND is not set 455# CONFIG_MTD_NAND is not set
257 456
258# 457#
458# OneNAND Flash Device Drivers
459#
460# CONFIG_MTD_ONENAND is not set
461
462#
259# Parallel port support 463# Parallel port support
260# 464#
261# CONFIG_PARPORT is not set 465# CONFIG_PARPORT is not set
@@ -267,23 +471,12 @@ CONFIG_MTD_SUPERH_RESERVE=0x00010000
267# 471#
268# Block devices 472# Block devices
269# 473#
270# CONFIG_BLK_DEV_FD is not set
271# CONFIG_BLK_DEV_COW_COMMON is not set 474# CONFIG_BLK_DEV_COW_COMMON is not set
272# CONFIG_BLK_DEV_LOOP is not set 475# CONFIG_BLK_DEV_LOOP is not set
273# CONFIG_BLK_DEV_NBD is not set 476# CONFIG_BLK_DEV_NBD is not set
274# CONFIG_BLK_DEV_RAM is not set 477# CONFIG_BLK_DEV_RAM is not set
275CONFIG_BLK_DEV_RAM_COUNT=16 478# CONFIG_BLK_DEV_INITRD is not set
276CONFIG_INITRAMFS_SOURCE=""
277# CONFIG_LBD is not set
278# CONFIG_CDROM_PKTCDVD is not set 479# CONFIG_CDROM_PKTCDVD is not set
279
280#
281# IO Schedulers
282#
283CONFIG_IOSCHED_NOOP=y
284CONFIG_IOSCHED_AS=y
285CONFIG_IOSCHED_DEADLINE=y
286CONFIG_IOSCHED_CFQ=y
287# CONFIG_ATA_OVER_ETH is not set 480# CONFIG_ATA_OVER_ETH is not set
288 481
289# 482#
@@ -294,7 +487,14 @@ CONFIG_IOSCHED_CFQ=y
294# 487#
295# SCSI device support 488# SCSI device support
296# 489#
490# CONFIG_RAID_ATTRS is not set
297# CONFIG_SCSI is not set 491# CONFIG_SCSI is not set
492# CONFIG_SCSI_NETLINK is not set
493
494#
495# Serial ATA (prod) and Parallel ATA (experimental) drivers
496#
497# CONFIG_ATA is not set
298 498
299# 499#
300# Multi-device support (RAID and LVM) 500# Multi-device support (RAID and LVM)
@@ -304,6 +504,7 @@ CONFIG_IOSCHED_CFQ=y
304# 504#
305# Fusion MPT device support 505# Fusion MPT device support
306# 506#
507# CONFIG_FUSION is not set
307 508
308# 509#
309# IEEE 1394 (FireWire) support 510# IEEE 1394 (FireWire) support
@@ -314,71 +515,8 @@ CONFIG_IOSCHED_CFQ=y
314# 515#
315 516
316# 517#
317# Networking support 518# Network device support
318#
319CONFIG_NET=y
320
321#
322# Networking options
323#
324CONFIG_PACKET=y
325# CONFIG_PACKET_MMAP is not set
326# CONFIG_NETLINK_DEV is not set
327CONFIG_UNIX=y
328# CONFIG_NET_KEY is not set
329CONFIG_INET=y
330CONFIG_IP_MULTICAST=y
331# CONFIG_IP_ADVANCED_ROUTER is not set
332CONFIG_IP_PNP=y
333# CONFIG_IP_PNP_DHCP is not set
334CONFIG_IP_PNP_BOOTP=y
335# CONFIG_IP_PNP_RARP is not set
336# CONFIG_NET_IPIP is not set
337# CONFIG_NET_IPGRE is not set
338# CONFIG_IP_MROUTE is not set
339# CONFIG_ARPD is not set
340# CONFIG_SYN_COOKIES is not set
341# CONFIG_INET_AH is not set
342# CONFIG_INET_ESP is not set
343# CONFIG_INET_IPCOMP is not set
344# CONFIG_INET_TUNNEL is not set
345CONFIG_IP_TCPDIAG=y
346# CONFIG_IP_TCPDIAG_IPV6 is not set
347# CONFIG_IPV6 is not set
348# CONFIG_NETFILTER is not set
349
350#
351# SCTP Configuration (EXPERIMENTAL)
352# 519#
353# CONFIG_IP_SCTP is not set
354# CONFIG_ATM is not set
355# CONFIG_BRIDGE is not set
356# CONFIG_VLAN_8021Q is not set
357# CONFIG_DECNET is not set
358# CONFIG_LLC2 is not set
359# CONFIG_IPX is not set
360# CONFIG_ATALK is not set
361# CONFIG_X25 is not set
362# CONFIG_LAPB is not set
363# CONFIG_NET_DIVERT is not set
364# CONFIG_ECONET is not set
365# CONFIG_WAN_ROUTER is not set
366
367#
368# QoS and/or fair queueing
369#
370# CONFIG_NET_SCHED is not set
371# CONFIG_NET_CLS_ROUTE is not set
372
373#
374# Network testing
375#
376# CONFIG_NET_PKTGEN is not set
377# CONFIG_NETPOLL is not set
378# CONFIG_NET_POLL_CONTROLLER is not set
379# CONFIG_HAMRADIO is not set
380# CONFIG_IRDA is not set
381# CONFIG_BT is not set
382CONFIG_NETDEVICES=y 520CONFIG_NETDEVICES=y
383# CONFIG_DUMMY is not set 521# CONFIG_DUMMY is not set
384# CONFIG_BONDING is not set 522# CONFIG_BONDING is not set
@@ -386,6 +524,11 @@ CONFIG_NETDEVICES=y
386# CONFIG_TUN is not set 524# CONFIG_TUN is not set
387 525
388# 526#
527# PHY device support
528#
529# CONFIG_PHYLIB is not set
530
531#
389# Ethernet (10 or 100Mbit) 532# Ethernet (10 or 100Mbit)
390# 533#
391CONFIG_NET_ETHERNET=y 534CONFIG_NET_ETHERNET=y
@@ -418,6 +561,8 @@ CONFIG_STNIC=y
418# CONFIG_SLIP is not set 561# CONFIG_SLIP is not set
419# CONFIG_SHAPER is not set 562# CONFIG_SHAPER is not set
420# CONFIG_NETCONSOLE is not set 563# CONFIG_NETCONSOLE is not set
564# CONFIG_NETPOLL is not set
565# CONFIG_NET_POLL_CONTROLLER is not set
421 566
422# 567#
423# ISDN subsystem 568# ISDN subsystem
@@ -435,20 +580,10 @@ CONFIG_STNIC=y
435# CONFIG_INPUT is not set 580# CONFIG_INPUT is not set
436 581
437# 582#
438# Userland interfaces 583# Hardware I/O ports
439# 584#
440
441#
442# Input I/O drivers
443#
444# CONFIG_GAMEPORT is not set
445CONFIG_SOUND_GAMEPORT=y
446# CONFIG_SERIO is not set 585# CONFIG_SERIO is not set
447# CONFIG_SERIO_I8042 is not set 586# CONFIG_GAMEPORT is not set
448
449#
450# Input Device Drivers
451#
452 587
453# 588#
454# Character devices 589# Character devices
@@ -462,12 +597,14 @@ CONFIG_SOUND_GAMEPORT=y
462CONFIG_SERIAL_8250=y 597CONFIG_SERIAL_8250=y
463# CONFIG_SERIAL_8250_CONSOLE is not set 598# CONFIG_SERIAL_8250_CONSOLE is not set
464CONFIG_SERIAL_8250_NR_UARTS=2 599CONFIG_SERIAL_8250_NR_UARTS=2
600CONFIG_SERIAL_8250_RUNTIME_UARTS=2
465# CONFIG_SERIAL_8250_EXTENDED is not set 601# CONFIG_SERIAL_8250_EXTENDED is not set
466 602
467# 603#
468# Non-8250 serial port support 604# Non-8250 serial port support
469# 605#
470CONFIG_SERIAL_SH_SCI=y 606CONFIG_SERIAL_SH_SCI=y
607CONFIG_SERIAL_SH_SCI_NR_UARTS=2
471CONFIG_SERIAL_SH_SCI_CONSOLE=y 608CONFIG_SERIAL_SH_SCI_CONSOLE=y
472CONFIG_SERIAL_CORE=y 609CONFIG_SERIAL_CORE=y
473CONFIG_SERIAL_CORE_CONSOLE=y 610CONFIG_SERIAL_CORE_CONSOLE=y
@@ -491,7 +628,8 @@ CONFIG_WATCHDOG=y
491# 628#
492# CONFIG_SOFT_WATCHDOG is not set 629# CONFIG_SOFT_WATCHDOG is not set
493CONFIG_SH_WDT=y 630CONFIG_SH_WDT=y
494# CONFIG_RTC is not set 631# CONFIG_SH_WDT_MMAP is not set
632CONFIG_HW_RANDOM=y
495# CONFIG_GEN_RTC is not set 633# CONFIG_GEN_RTC is not set
496# CONFIG_DTLK is not set 634# CONFIG_DTLK is not set
497# CONFIG_R3964 is not set 635# CONFIG_R3964 is not set
@@ -499,18 +637,38 @@ CONFIG_SH_WDT=y
499# 637#
500# Ftape, the floppy tape device driver 638# Ftape, the floppy tape device driver
501# 639#
502# CONFIG_DRM is not set
503# CONFIG_RAW_DRIVER is not set 640# CONFIG_RAW_DRIVER is not set
504 641
505# 642#
643# TPM devices
644#
645# CONFIG_TCG_TPM is not set
646# CONFIG_TELCLOCK is not set
647
648#
506# I2C support 649# I2C support
507# 650#
508# CONFIG_I2C is not set 651# CONFIG_I2C is not set
509 652
510# 653#
654# SPI support
655#
656# CONFIG_SPI is not set
657# CONFIG_SPI_MASTER is not set
658
659#
511# Dallas's 1-wire bus 660# Dallas's 1-wire bus
512# 661#
513# CONFIG_W1 is not set 662
663#
664# Hardware Monitoring support
665#
666CONFIG_HWMON=y
667# CONFIG_HWMON_VID is not set
668# CONFIG_SENSORS_ABITUGURU is not set
669# CONFIG_SENSORS_F71805F is not set
670# CONFIG_SENSORS_VT1211 is not set
671# CONFIG_HWMON_DEBUG_CHIP is not set
514 672
515# 673#
516# Misc devices 674# Misc devices
@@ -520,6 +678,7 @@ CONFIG_SH_WDT=y
520# Multimedia devices 678# Multimedia devices
521# 679#
522# CONFIG_VIDEO_DEV is not set 680# CONFIG_VIDEO_DEV is not set
681CONFIG_VIDEO_V4L2=y
523 682
524# 683#
525# Digital Video Broadcasting Devices 684# Digital Video Broadcasting Devices
@@ -529,7 +688,9 @@ CONFIG_SH_WDT=y
529# 688#
530# Graphics support 689# Graphics support
531# 690#
691CONFIG_FIRMWARE_EDID=y
532# CONFIG_FB is not set 692# CONFIG_FB is not set
693# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
533 694
534# 695#
535# Sound 696# Sound
@@ -541,9 +702,10 @@ CONFIG_SH_WDT=y
541# 702#
542# CONFIG_USB_ARCH_HAS_HCD is not set 703# CONFIG_USB_ARCH_HAS_HCD is not set
543# CONFIG_USB_ARCH_HAS_OHCI is not set 704# CONFIG_USB_ARCH_HAS_OHCI is not set
705# CONFIG_USB_ARCH_HAS_EHCI is not set
544 706
545# 707#
546# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 708# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
547# 709#
548 710
549# 711#
@@ -557,29 +719,63 @@ CONFIG_SH_WDT=y
557# CONFIG_MMC is not set 719# CONFIG_MMC is not set
558 720
559# 721#
722# LED devices
723#
724# CONFIG_NEW_LEDS is not set
725
726#
727# LED drivers
728#
729
730#
731# LED Triggers
732#
733
734#
560# InfiniBand support 735# InfiniBand support
561# 736#
562# CONFIG_INFINIBAND is not set 737
738#
739# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
740#
741
742#
743# Real Time Clock
744#
745# CONFIG_RTC_CLASS is not set
746
747#
748# DMA Engine support
749#
750# CONFIG_DMA_ENGINE is not set
751
752#
753# DMA Clients
754#
755
756#
757# DMA Devices
758#
563 759
564# 760#
565# File systems 761# File systems
566# 762#
567# CONFIG_EXT2_FS is not set 763# CONFIG_EXT2_FS is not set
568# CONFIG_EXT3_FS is not set 764# CONFIG_EXT3_FS is not set
569# CONFIG_JBD is not set
570# CONFIG_REISERFS_FS is not set 765# CONFIG_REISERFS_FS is not set
571# CONFIG_JFS_FS is not set 766# CONFIG_JFS_FS is not set
572 767# CONFIG_FS_POSIX_ACL is not set
573#
574# XFS support
575#
576# CONFIG_XFS_FS is not set 768# CONFIG_XFS_FS is not set
769# CONFIG_OCFS2_FS is not set
577# CONFIG_MINIX_FS is not set 770# CONFIG_MINIX_FS is not set
578# CONFIG_ROMFS_FS is not set 771# CONFIG_ROMFS_FS is not set
772CONFIG_INOTIFY=y
773CONFIG_INOTIFY_USER=y
579# CONFIG_QUOTA is not set 774# CONFIG_QUOTA is not set
580CONFIG_DNOTIFY=y 775CONFIG_DNOTIFY=y
581# CONFIG_AUTOFS_FS is not set 776# CONFIG_AUTOFS_FS is not set
582# CONFIG_AUTOFS4_FS is not set 777# CONFIG_AUTOFS4_FS is not set
778# CONFIG_FUSE_FS is not set
583 779
584# 780#
585# CD-ROM/DVD Filesystems 781# CD-ROM/DVD Filesystems
@@ -599,14 +795,14 @@ CONFIG_DNOTIFY=y
599# 795#
600CONFIG_PROC_FS=y 796CONFIG_PROC_FS=y
601CONFIG_PROC_KCORE=y 797CONFIG_PROC_KCORE=y
798CONFIG_PROC_SYSCTL=y
602CONFIG_SYSFS=y 799CONFIG_SYSFS=y
603# CONFIG_DEVFS_FS is not set
604# CONFIG_DEVPTS_FS_XATTR is not set
605CONFIG_TMPFS=y 800CONFIG_TMPFS=y
606# CONFIG_TMPFS_XATTR is not set 801# CONFIG_TMPFS_POSIX_ACL is not set
607# CONFIG_HUGETLBFS is not set 802# CONFIG_HUGETLBFS is not set
608# CONFIG_HUGETLB_PAGE is not set 803# CONFIG_HUGETLB_PAGE is not set
609CONFIG_RAMFS=y 804CONFIG_RAMFS=y
805# CONFIG_CONFIGFS_FS is not set
610 806
611# 807#
612# Miscellaneous filesystems 808# Miscellaneous filesystems
@@ -621,8 +817,9 @@ CONFIG_RAMFS=y
621# CONFIG_JFFS_FS is not set 817# CONFIG_JFFS_FS is not set
622CONFIG_JFFS2_FS=y 818CONFIG_JFFS2_FS=y
623CONFIG_JFFS2_FS_DEBUG=0 819CONFIG_JFFS2_FS_DEBUG=0
624# CONFIG_JFFS2_FS_NAND is not set 820CONFIG_JFFS2_FS_WRITEBUFFER=y
625# CONFIG_JFFS2_FS_NOR_ECC is not set 821# CONFIG_JFFS2_SUMMARY is not set
822# CONFIG_JFFS2_FS_XATTR is not set
626# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 823# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
627CONFIG_JFFS2_ZLIB=y 824CONFIG_JFFS2_ZLIB=y
628CONFIG_JFFS2_RTIME=y 825CONFIG_JFFS2_RTIME=y
@@ -644,6 +841,7 @@ CONFIG_NFS_FS=y
644# CONFIG_NFSD is not set 841# CONFIG_NFSD is not set
645CONFIG_ROOT_NFS=y 842CONFIG_ROOT_NFS=y
646CONFIG_LOCKD=y 843CONFIG_LOCKD=y
844CONFIG_NFS_COMMON=y
647CONFIG_SUNRPC=y 845CONFIG_SUNRPC=y
648# CONFIG_RPCSEC_GSS_KRB5 is not set 846# CONFIG_RPCSEC_GSS_KRB5 is not set
649# CONFIG_RPCSEC_GSS_SPKM3 is not set 847# CONFIG_RPCSEC_GSS_SPKM3 is not set
@@ -652,6 +850,7 @@ CONFIG_SUNRPC=y
652# CONFIG_NCP_FS is not set 850# CONFIG_NCP_FS is not set
653# CONFIG_CODA_FS is not set 851# CONFIG_CODA_FS is not set
654# CONFIG_AFS_FS is not set 852# CONFIG_AFS_FS is not set
853# CONFIG_9P_FS is not set
655 854
656# 855#
657# Partition Types 856# Partition Types
@@ -667,6 +866,7 @@ CONFIG_PARTITION_ADVANCED=y
667# CONFIG_SGI_PARTITION is not set 866# CONFIG_SGI_PARTITION is not set
668# CONFIG_ULTRIX_PARTITION is not set 867# CONFIG_ULTRIX_PARTITION is not set
669# CONFIG_SUN_PARTITION is not set 868# CONFIG_SUN_PARTITION is not set
869# CONFIG_KARMA_PARTITION is not set
670# CONFIG_EFI_PARTITION is not set 870# CONFIG_EFI_PARTITION is not set
671 871
672# 872#
@@ -682,8 +882,14 @@ CONFIG_PARTITION_ADVANCED=y
682# 882#
683# Kernel hacking 883# Kernel hacking
684# 884#
885# CONFIG_PRINTK_TIME is not set
886CONFIG_ENABLE_MUST_CHECK=y
887# CONFIG_MAGIC_SYSRQ is not set
888# CONFIG_UNUSED_SYMBOLS is not set
685# CONFIG_DEBUG_KERNEL is not set 889# CONFIG_DEBUG_KERNEL is not set
686# CONFIG_FRAME_POINTER is not set 890CONFIG_LOG_BUF_SHIFT=14
891# CONFIG_DEBUG_BUGVERBOSE is not set
892# CONFIG_DEBUG_FS is not set
687# CONFIG_SH_STANDARD_BIOS is not set 893# CONFIG_SH_STANDARD_BIOS is not set
688# CONFIG_EARLY_SCIF_CONSOLE is not set 894# CONFIG_EARLY_SCIF_CONSOLE is not set
689# CONFIG_KGDB is not set 895# CONFIG_KGDB is not set
@@ -700,14 +906,12 @@ CONFIG_PARTITION_ADVANCED=y
700# CONFIG_CRYPTO is not set 906# CONFIG_CRYPTO is not set
701 907
702# 908#
703# Hardware crypto devices
704#
705
706#
707# Library routines 909# Library routines
708# 910#
709# CONFIG_CRC_CCITT is not set 911# CONFIG_CRC_CCITT is not set
912# CONFIG_CRC16 is not set
710CONFIG_CRC32=y 913CONFIG_CRC32=y
711# CONFIG_LIBCRC32C is not set 914# CONFIG_LIBCRC32C is not set
712CONFIG_ZLIB_INFLATE=y 915CONFIG_ZLIB_INFLATE=y
713CONFIG_ZLIB_DEFLATE=y 916CONFIG_ZLIB_DEFLATE=y
917CONFIG_PLIST=y
diff --git a/arch/sh/configs/se7751_defconfig b/arch/sh/configs/se7751_defconfig
index 1ce028947459..a9095593f8f3 100644
--- a/arch/sh/configs/se7751_defconfig
+++ b/arch/sh/configs/se7751_defconfig
@@ -1,126 +1,213 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:48 2005 4# Tue Oct 3 12:10:12 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24CONFIG_SWAP=y 27CONFIG_SWAP=y
25CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
26# CONFIG_POSIX_MQUEUE is not set 30# CONFIG_POSIX_MQUEUE is not set
27CONFIG_BSD_PROCESS_ACCT=y 31CONFIG_BSD_PROCESS_ACCT=y
28# CONFIG_BSD_PROCESS_ACCT_V3 is not set 32# CONFIG_BSD_PROCESS_ACCT_V3 is not set
29CONFIG_SYSCTL=y 33# CONFIG_TASKSTATS is not set
34# CONFIG_UTS_NS is not set
30# CONFIG_AUDIT is not set 35# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=14
32# CONFIG_HOTPLUG is not set
33CONFIG_KOBJECT_UEVENT=y
34# CONFIG_IKCONFIG is not set 36# CONFIG_IKCONFIG is not set
37# CONFIG_RELAY is not set
38CONFIG_INITRAMFS_SOURCE=""
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SYSCTL=y
35CONFIG_EMBEDDED=y 41CONFIG_EMBEDDED=y
42CONFIG_UID16=y
43# CONFIG_SYSCTL_SYSCALL is not set
36CONFIG_KALLSYMS=y 44CONFIG_KALLSYMS=y
37# CONFIG_KALLSYMS_EXTRA_PASS is not set 45# CONFIG_KALLSYMS_EXTRA_PASS is not set
46# CONFIG_HOTPLUG is not set
47CONFIG_PRINTK=y
48CONFIG_BUG=y
49CONFIG_ELF_CORE=y
50CONFIG_BASE_FULL=y
38CONFIG_FUTEX=y 51CONFIG_FUTEX=y
39CONFIG_EPOLL=y 52CONFIG_EPOLL=y
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SHMEM=y 53CONFIG_SHMEM=y
42CONFIG_CC_ALIGN_FUNCTIONS=0 54CONFIG_SLAB=y
43CONFIG_CC_ALIGN_LABELS=0 55CONFIG_VM_EVENT_COUNTERS=y
44CONFIG_CC_ALIGN_LOOPS=0 56CONFIG_RT_MUTEXES=y
45CONFIG_CC_ALIGN_JUMPS=0
46# CONFIG_TINY_SHMEM is not set 57# CONFIG_TINY_SHMEM is not set
58CONFIG_BASE_SMALL=0
59# CONFIG_SLOB is not set
47 60
48# 61#
49# Loadable module support 62# Loadable module support
50# 63#
51CONFIG_MODULES=y 64CONFIG_MODULES=y
52# CONFIG_MODULE_UNLOAD is not set 65# CONFIG_MODULE_UNLOAD is not set
53CONFIG_OBSOLETE_MODPARM=y
54# CONFIG_MODVERSIONS is not set 66# CONFIG_MODVERSIONS is not set
55# CONFIG_MODULE_SRCVERSION_ALL is not set 67# CONFIG_MODULE_SRCVERSION_ALL is not set
56# CONFIG_KMOD is not set 68# CONFIG_KMOD is not set
57 69
58# 70#
71# Block layer
72#
73CONFIG_BLOCK=y
74# CONFIG_LBD is not set
75# CONFIG_BLK_DEV_IO_TRACE is not set
76# CONFIG_LSF is not set
77
78#
79# IO Schedulers
80#
81CONFIG_IOSCHED_NOOP=y
82CONFIG_IOSCHED_AS=y
83CONFIG_IOSCHED_DEADLINE=y
84CONFIG_IOSCHED_CFQ=y
85CONFIG_DEFAULT_AS=y
86# CONFIG_DEFAULT_DEADLINE is not set
87# CONFIG_DEFAULT_CFQ is not set
88# CONFIG_DEFAULT_NOOP is not set
89CONFIG_DEFAULT_IOSCHED="anticipatory"
90
91#
59# System type 92# System type
60# 93#
94CONFIG_SOLUTION_ENGINE=y
61# CONFIG_SH_SOLUTION_ENGINE is not set 95# CONFIG_SH_SOLUTION_ENGINE is not set
62CONFIG_SH_7751_SOLUTION_ENGINE=y 96CONFIG_SH_7751_SOLUTION_ENGINE=y
63# CONFIG_SH_7300_SOLUTION_ENGINE is not set 97# CONFIG_SH_7300_SOLUTION_ENGINE is not set
98# CONFIG_SH_7343_SOLUTION_ENGINE is not set
64# CONFIG_SH_73180_SOLUTION_ENGINE is not set 99# CONFIG_SH_73180_SOLUTION_ENGINE is not set
65# CONFIG_SH_7751_SYSTEMH is not set 100# CONFIG_SH_7751_SYSTEMH is not set
66# CONFIG_SH_STB1_HARP is not set 101# CONFIG_SH_HP6XX is not set
67# CONFIG_SH_STB1_OVERDRIVE is not set
68# CONFIG_SH_HP620 is not set
69# CONFIG_SH_HP680 is not set
70# CONFIG_SH_HP690 is not set
71# CONFIG_SH_CQREEK is not set
72# CONFIG_SH_DMIDA is not set
73# CONFIG_SH_EC3104 is not set 102# CONFIG_SH_EC3104 is not set
74# CONFIG_SH_SATURN is not set 103# CONFIG_SH_SATURN is not set
75# CONFIG_SH_DREAMCAST is not set 104# CONFIG_SH_DREAMCAST is not set
76# CONFIG_SH_CAT68701 is not set
77# CONFIG_SH_BIGSUR is not set 105# CONFIG_SH_BIGSUR is not set
78# CONFIG_SH_SH2000 is not set
79# CONFIG_SH_ADX is not set
80# CONFIG_SH_MPC1211 is not set 106# CONFIG_SH_MPC1211 is not set
81# CONFIG_SH_SH03 is not set 107# CONFIG_SH_SH03 is not set
82# CONFIG_SH_SECUREEDGE5410 is not set 108# CONFIG_SH_SECUREEDGE5410 is not set
83# CONFIG_SH_HS7751RVOIP is not set 109# CONFIG_SH_HS7751RVOIP is not set
110# CONFIG_SH_7710VOIPGW is not set
84# CONFIG_SH_RTS7751R2D is not set 111# CONFIG_SH_RTS7751R2D is not set
112# CONFIG_SH_R7780RP is not set
85# CONFIG_SH_EDOSK7705 is not set 113# CONFIG_SH_EDOSK7705 is not set
86# CONFIG_SH_SH4202_MICRODEV is not set 114# CONFIG_SH_SH4202_MICRODEV is not set
115# CONFIG_SH_LANDISK is not set
116# CONFIG_SH_TITAN is not set
117# CONFIG_SH_SHMIN is not set
87# CONFIG_SH_UNKNOWN is not set 118# CONFIG_SH_UNKNOWN is not set
88# CONFIG_CPU_SH2 is not set 119
89# CONFIG_CPU_SH3 is not set 120#
121# Processor selection
122#
90CONFIG_CPU_SH4=y 123CONFIG_CPU_SH4=y
124
125#
126# SH-2 Processor Support
127#
91# CONFIG_CPU_SUBTYPE_SH7604 is not set 128# CONFIG_CPU_SUBTYPE_SH7604 is not set
129
130#
131# SH-3 Processor Support
132#
92# CONFIG_CPU_SUBTYPE_SH7300 is not set 133# CONFIG_CPU_SUBTYPE_SH7300 is not set
93# CONFIG_CPU_SUBTYPE_SH7705 is not set 134# CONFIG_CPU_SUBTYPE_SH7705 is not set
135# CONFIG_CPU_SUBTYPE_SH7706 is not set
94# CONFIG_CPU_SUBTYPE_SH7707 is not set 136# CONFIG_CPU_SUBTYPE_SH7707 is not set
95# CONFIG_CPU_SUBTYPE_SH7708 is not set 137# CONFIG_CPU_SUBTYPE_SH7708 is not set
96# CONFIG_CPU_SUBTYPE_SH7709 is not set 138# CONFIG_CPU_SUBTYPE_SH7709 is not set
139# CONFIG_CPU_SUBTYPE_SH7710 is not set
140
141#
142# SH-4 Processor Support
143#
97# CONFIG_CPU_SUBTYPE_SH7750 is not set 144# CONFIG_CPU_SUBTYPE_SH7750 is not set
145# CONFIG_CPU_SUBTYPE_SH7091 is not set
146# CONFIG_CPU_SUBTYPE_SH7750R is not set
147# CONFIG_CPU_SUBTYPE_SH7750S is not set
98CONFIG_CPU_SUBTYPE_SH7751=y 148CONFIG_CPU_SUBTYPE_SH7751=y
149# CONFIG_CPU_SUBTYPE_SH7751R is not set
99# CONFIG_CPU_SUBTYPE_SH7760 is not set 150# CONFIG_CPU_SUBTYPE_SH7760 is not set
100# CONFIG_CPU_SUBTYPE_SH73180 is not set 151# CONFIG_CPU_SUBTYPE_SH4_202 is not set
152
153#
154# ST40 Processor Support
155#
101# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 156# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
102# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 157# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
103# CONFIG_CPU_SUBTYPE_SH4_202 is not set 158
159#
160# SH-4A Processor Support
161#
162# CONFIG_CPU_SUBTYPE_SH7770 is not set
163# CONFIG_CPU_SUBTYPE_SH7780 is not set
164
165#
166# SH4AL-DSP Processor Support
167#
168# CONFIG_CPU_SUBTYPE_SH73180 is not set
169# CONFIG_CPU_SUBTYPE_SH7343 is not set
170
171#
172# Memory management options
173#
104CONFIG_MMU=y 174CONFIG_MMU=y
105CONFIG_CMDLINE_BOOL=y 175CONFIG_PAGE_OFFSET=0x80000000
106CONFIG_CMDLINE="console=ttySC1,38400"
107CONFIG_MEMORY_START=0x0c000000 176CONFIG_MEMORY_START=0x0c000000
108CONFIG_MEMORY_SIZE=0x04000000 177CONFIG_MEMORY_SIZE=0x04000000
109CONFIG_MEMORY_SET=y 178CONFIG_VSYSCALL=y
110# CONFIG_MEMORY_OVERRIDE is not set 179CONFIG_SELECT_MEMORY_MODEL=y
111CONFIG_SH_RTC=y 180CONFIG_FLATMEM_MANUAL=y
112CONFIG_SH_FPU=y 181# CONFIG_DISCONTIGMEM_MANUAL is not set
113CONFIG_ZERO_PAGE_OFFSET=0x00010000 182# CONFIG_SPARSEMEM_MANUAL is not set
114CONFIG_BOOT_LINK_OFFSET=0x00800000 183CONFIG_FLATMEM=y
115CONFIG_CPU_LITTLE_ENDIAN=y 184CONFIG_FLAT_NODE_MEM_MAP=y
116# CONFIG_PREEMPT is not set 185# CONFIG_SPARSEMEM_STATIC is not set
117# CONFIG_UBC_WAKEUP is not set 186CONFIG_SPLIT_PTLOCK_CPUS=4
187# CONFIG_RESOURCES_64BIT is not set
188
189#
190# Cache configuration
191#
192# CONFIG_SH_DIRECT_MAPPED is not set
118# CONFIG_SH_WRITETHROUGH is not set 193# CONFIG_SH_WRITETHROUGH is not set
119# CONFIG_SH_OCRAM is not set 194# CONFIG_SH_OCRAM is not set
195
196#
197# Processor features
198#
199CONFIG_CPU_LITTLE_ENDIAN=y
200CONFIG_SH_FPU=y
201# CONFIG_SH_DSP is not set
120# CONFIG_SH_STORE_QUEUES is not set 202# CONFIG_SH_STORE_QUEUES is not set
121# CONFIG_SMP is not set 203CONFIG_CPU_HAS_INTEVT=y
122CONFIG_SH_PCLK_CALC=y 204CONFIG_CPU_HAS_SR_RB=y
123CONFIG_SH_PCLK_FREQ=60013568 205
206#
207# Timer support
208#
209CONFIG_SH_TMU=y
210CONFIG_SH_PCLK_FREQ=60000000
124 211
125# 212#
126# CPU Frequency scaling 213# CPU Frequency scaling
@@ -139,28 +226,39 @@ CONFIG_SH_PCLK_FREQ=60013568
139CONFIG_HEARTBEAT=y 226CONFIG_HEARTBEAT=y
140 227
141# 228#
142# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 229# Kernel features
143# 230#
144CONFIG_PCI=y 231# CONFIG_HZ_100 is not set
145# CONFIG_SH_PCIDMA_NONCOHERENT is not set 232CONFIG_HZ_250=y
146CONFIG_PCI_AUTO=y 233# CONFIG_HZ_1000 is not set
147CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 234CONFIG_HZ=250
148# CONFIG_PCI_LEGACY_PROC is not set 235# CONFIG_KEXEC is not set
149# CONFIG_PCI_NAMES is not set 236# CONFIG_SMP is not set
237CONFIG_PREEMPT_NONE=y
238# CONFIG_PREEMPT_VOLUNTARY is not set
239# CONFIG_PREEMPT is not set
150 240
151# 241#
152# PCCARD (PCMCIA/CardBus) support 242# Boot options
243#
244CONFIG_ZERO_PAGE_OFFSET=0x00010000
245CONFIG_BOOT_LINK_OFFSET=0x00800000
246# CONFIG_UBC_WAKEUP is not set
247CONFIG_CMDLINE_BOOL=y
248CONFIG_CMDLINE="console=ttySC1,38400"
249
153# 250#
154# CONFIG_PCCARD is not set 251# Bus options
252#
253# CONFIG_PCI is not set
155 254
156# 255#
157# PC-card bridges 256# PCCARD (PCMCIA/CardBus) support
158# 257#
159 258
160# 259#
161# PCI Hotplug Support 260# PCI Hotplug Support
162# 261#
163# CONFIG_HOTPLUG_PCI is not set
164 262
165# 263#
166# Executable file formats 264# Executable file formats
@@ -170,9 +268,115 @@ CONFIG_BINFMT_ELF=y
170# CONFIG_BINFMT_MISC is not set 268# CONFIG_BINFMT_MISC is not set
171 269
172# 270#
173# SH initrd options 271# Power management options (EXPERIMENTAL)
272#
273# CONFIG_PM is not set
274
275#
276# Networking
277#
278CONFIG_NET=y
279
280#
281# Networking options
282#
283# CONFIG_NETDEBUG is not set
284CONFIG_PACKET=y
285# CONFIG_PACKET_MMAP is not set
286CONFIG_UNIX=y
287CONFIG_XFRM=y
288# CONFIG_XFRM_USER is not set
289# CONFIG_XFRM_SUB_POLICY is not set
290# CONFIG_NET_KEY is not set
291CONFIG_INET=y
292CONFIG_IP_MULTICAST=y
293# CONFIG_IP_ADVANCED_ROUTER is not set
294CONFIG_IP_FIB_HASH=y
295CONFIG_IP_PNP=y
296CONFIG_IP_PNP_DHCP=y
297CONFIG_IP_PNP_BOOTP=y
298CONFIG_IP_PNP_RARP=y
299# CONFIG_NET_IPIP is not set
300# CONFIG_NET_IPGRE is not set
301# CONFIG_IP_MROUTE is not set
302# CONFIG_ARPD is not set
303# CONFIG_SYN_COOKIES is not set
304# CONFIG_INET_AH is not set
305# CONFIG_INET_ESP is not set
306# CONFIG_INET_IPCOMP is not set
307# CONFIG_INET_XFRM_TUNNEL is not set
308# CONFIG_INET_TUNNEL is not set
309CONFIG_INET_XFRM_MODE_TRANSPORT=y
310CONFIG_INET_XFRM_MODE_TUNNEL=y
311CONFIG_INET_DIAG=y
312CONFIG_INET_TCP_DIAG=y
313# CONFIG_TCP_CONG_ADVANCED is not set
314CONFIG_TCP_CONG_CUBIC=y
315CONFIG_DEFAULT_TCP_CONG="cubic"
316
317#
318# IP: Virtual Server Configuration
319#
320# CONFIG_IP_VS is not set
321# CONFIG_IPV6 is not set
322# CONFIG_INET6_XFRM_TUNNEL is not set
323# CONFIG_INET6_TUNNEL is not set
324# CONFIG_NETWORK_SECMARK is not set
325CONFIG_NETFILTER=y
326CONFIG_NETFILTER_DEBUG=y
327
328#
329# Core Netfilter Configuration
330#
331# CONFIG_NETFILTER_NETLINK is not set
332# CONFIG_NF_CONNTRACK is not set
333# CONFIG_NETFILTER_XTABLES is not set
334
335#
336# IP: Netfilter Configuration
337#
338# CONFIG_IP_NF_CONNTRACK is not set
339CONFIG_IP_NF_QUEUE=y
340
341#
342# DCCP Configuration (EXPERIMENTAL)
343#
344# CONFIG_IP_DCCP is not set
345
346#
347# SCTP Configuration (EXPERIMENTAL)
348#
349# CONFIG_IP_SCTP is not set
350
351#
352# TIPC Configuration (EXPERIMENTAL)
353#
354# CONFIG_TIPC is not set
355# CONFIG_ATM is not set
356# CONFIG_BRIDGE is not set
357# CONFIG_VLAN_8021Q is not set
358# CONFIG_DECNET is not set
359# CONFIG_LLC2 is not set
360# CONFIG_IPX is not set
361# CONFIG_ATALK is not set
362# CONFIG_X25 is not set
363# CONFIG_LAPB is not set
364# CONFIG_ECONET is not set
365# CONFIG_WAN_ROUTER is not set
366
367#
368# QoS and/or fair queueing
369#
370# CONFIG_NET_SCHED is not set
371
372#
373# Network testing
174# 374#
175# CONFIG_EMBEDDED_RAMDISK is not set 375# CONFIG_NET_PKTGEN is not set
376# CONFIG_HAMRADIO is not set
377# CONFIG_IRDA is not set
378# CONFIG_BT is not set
379# CONFIG_IEEE80211 is not set
176 380
177# 381#
178# Device Drivers 382# Device Drivers
@@ -183,15 +387,20 @@ CONFIG_BINFMT_ELF=y
183# 387#
184CONFIG_STANDALONE=y 388CONFIG_STANDALONE=y
185CONFIG_PREVENT_FIRMWARE_BUILD=y 389CONFIG_PREVENT_FIRMWARE_BUILD=y
186# CONFIG_FW_LOADER is not set 390# CONFIG_SYS_HYPERVISOR is not set
391
392#
393# Connector - unified userspace <-> kernelspace linker
394#
395# CONFIG_CONNECTOR is not set
187 396
188# 397#
189# Memory Technology Devices (MTD) 398# Memory Technology Devices (MTD)
190# 399#
191CONFIG_MTD=y 400CONFIG_MTD=y
192# CONFIG_MTD_DEBUG is not set 401# CONFIG_MTD_DEBUG is not set
193CONFIG_MTD_PARTITIONS=y
194# CONFIG_MTD_CONCAT is not set 402# CONFIG_MTD_CONCAT is not set
403CONFIG_MTD_PARTITIONS=y
195# CONFIG_MTD_REDBOOT_PARTS is not set 404# CONFIG_MTD_REDBOOT_PARTS is not set
196# CONFIG_MTD_CMDLINE_PARTS is not set 405# CONFIG_MTD_CMDLINE_PARTS is not set
197 406
@@ -203,6 +412,8 @@ CONFIG_MTD_BLOCK=y
203# CONFIG_FTL is not set 412# CONFIG_FTL is not set
204# CONFIG_NFTL is not set 413# CONFIG_NFTL is not set
205# CONFIG_INFTL is not set 414# CONFIG_INFTL is not set
415# CONFIG_RFD_FTL is not set
416# CONFIG_SSFDC is not set
206 417
207# 418#
208# RAM/ROM/Flash chip drivers 419# RAM/ROM/Flash chip drivers
@@ -223,30 +434,26 @@ CONFIG_MTD_CFI_I2=y
223# CONFIG_MTD_CFI_I8 is not set 434# CONFIG_MTD_CFI_I8 is not set
224# CONFIG_MTD_CFI_INTELEXT is not set 435# CONFIG_MTD_CFI_INTELEXT is not set
225CONFIG_MTD_CFI_AMDSTD=y 436CONFIG_MTD_CFI_AMDSTD=y
226CONFIG_MTD_CFI_AMDSTD_RETRY=0
227# CONFIG_MTD_CFI_STAA is not set 437# CONFIG_MTD_CFI_STAA is not set
228CONFIG_MTD_CFI_UTIL=y 438CONFIG_MTD_CFI_UTIL=y
229CONFIG_MTD_RAM=y 439CONFIG_MTD_RAM=y
230# CONFIG_MTD_ROM is not set 440# CONFIG_MTD_ROM is not set
231# CONFIG_MTD_ABSENT is not set 441# CONFIG_MTD_ABSENT is not set
442# CONFIG_MTD_OBSOLETE_CHIPS is not set
232 443
233# 444#
234# Mapping drivers for chip access 445# Mapping drivers for chip access
235# 446#
236# CONFIG_MTD_COMPLEX_MAPPINGS is not set 447# CONFIG_MTD_COMPLEX_MAPPINGS is not set
237# CONFIG_MTD_PHYSMAP is not set 448# CONFIG_MTD_PHYSMAP is not set
238# CONFIG_MTD_SOLUTIONENGINE is not set 449# CONFIG_MTD_PLATRAM is not set
239# CONFIG_MTD_MPC1211 is not set
240# CONFIG_MTD_RTS7751R2D is not set
241 450
242# 451#
243# Self-contained MTD device drivers 452# Self-contained MTD device drivers
244# 453#
245# CONFIG_MTD_PMC551 is not set
246# CONFIG_MTD_SLRAM is not set 454# CONFIG_MTD_SLRAM is not set
247# CONFIG_MTD_PHRAM is not set 455# CONFIG_MTD_PHRAM is not set
248# CONFIG_MTD_MTDRAM is not set 456# CONFIG_MTD_MTDRAM is not set
249# CONFIG_MTD_BLKMTD is not set
250# CONFIG_MTD_BLOCK2MTD is not set 457# CONFIG_MTD_BLOCK2MTD is not set
251 458
252# 459#
@@ -262,6 +469,11 @@ CONFIG_MTD_RAM=y
262# CONFIG_MTD_NAND is not set 469# CONFIG_MTD_NAND is not set
263 470
264# 471#
472# OneNAND Flash Device Drivers
473#
474# CONFIG_MTD_ONENAND is not set
475
476#
265# Parallel port support 477# Parallel port support
266# 478#
267# CONFIG_PARPORT is not set 479# CONFIG_PARPORT is not set
@@ -273,30 +485,15 @@ CONFIG_MTD_RAM=y
273# 485#
274# Block devices 486# Block devices
275# 487#
276# CONFIG_BLK_DEV_FD is not set
277# CONFIG_BLK_CPQ_DA is not set
278# CONFIG_BLK_CPQ_CISS_DA is not set
279# CONFIG_BLK_DEV_DAC960 is not set
280# CONFIG_BLK_DEV_UMEM is not set
281# CONFIG_BLK_DEV_COW_COMMON is not set 488# CONFIG_BLK_DEV_COW_COMMON is not set
282# CONFIG_BLK_DEV_LOOP is not set 489# CONFIG_BLK_DEV_LOOP is not set
283# CONFIG_BLK_DEV_NBD is not set 490# CONFIG_BLK_DEV_NBD is not set
284# CONFIG_BLK_DEV_SX8 is not set
285CONFIG_BLK_DEV_RAM=y 491CONFIG_BLK_DEV_RAM=y
286CONFIG_BLK_DEV_RAM_COUNT=16 492CONFIG_BLK_DEV_RAM_COUNT=16
287CONFIG_BLK_DEV_RAM_SIZE=4096 493CONFIG_BLK_DEV_RAM_SIZE=4096
494CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
288CONFIG_BLK_DEV_INITRD=y 495CONFIG_BLK_DEV_INITRD=y
289CONFIG_INITRAMFS_SOURCE=""
290# CONFIG_LBD is not set
291# CONFIG_CDROM_PKTCDVD is not set 496# CONFIG_CDROM_PKTCDVD is not set
292
293#
294# IO Schedulers
295#
296CONFIG_IOSCHED_NOOP=y
297CONFIG_IOSCHED_AS=y
298CONFIG_IOSCHED_DEADLINE=y
299CONFIG_IOSCHED_CFQ=y
300# CONFIG_ATA_OVER_ETH is not set 497# CONFIG_ATA_OVER_ETH is not set
301 498
302# 499#
@@ -307,7 +504,14 @@ CONFIG_IOSCHED_CFQ=y
307# 504#
308# SCSI device support 505# SCSI device support
309# 506#
507# CONFIG_RAID_ATTRS is not set
310# CONFIG_SCSI is not set 508# CONFIG_SCSI is not set
509# CONFIG_SCSI_NETLINK is not set
510
511#
512# Serial ATA (prod) and Parallel ATA (experimental) drivers
513#
514# CONFIG_ATA is not set
311 515
312# 516#
313# Multi-device support (RAID and LVM) 517# Multi-device support (RAID and LVM)
@@ -317,109 +521,29 @@ CONFIG_IOSCHED_CFQ=y
317# 521#
318# Fusion MPT device support 522# Fusion MPT device support
319# 523#
524# CONFIG_FUSION is not set
320 525
321# 526#
322# IEEE 1394 (FireWire) support 527# IEEE 1394 (FireWire) support
323# 528#
324# CONFIG_IEEE1394 is not set
325 529
326# 530#
327# I2O device support 531# I2O device support
328# 532#
329# CONFIG_I2O is not set
330
331#
332# Networking support
333#
334CONFIG_NET=y
335
336#
337# Networking options
338#
339CONFIG_PACKET=y
340# CONFIG_PACKET_MMAP is not set
341CONFIG_NETLINK_DEV=y
342CONFIG_UNIX=y
343# CONFIG_NET_KEY is not set
344CONFIG_INET=y
345CONFIG_IP_MULTICAST=y
346# CONFIG_IP_ADVANCED_ROUTER is not set
347CONFIG_IP_PNP=y
348CONFIG_IP_PNP_DHCP=y
349CONFIG_IP_PNP_BOOTP=y
350CONFIG_IP_PNP_RARP=y
351# CONFIG_NET_IPIP is not set
352# CONFIG_NET_IPGRE is not set
353# CONFIG_IP_MROUTE is not set
354# CONFIG_ARPD is not set
355# CONFIG_SYN_COOKIES is not set
356# CONFIG_INET_AH is not set
357# CONFIG_INET_ESP is not set
358# CONFIG_INET_IPCOMP is not set
359# CONFIG_INET_TUNNEL is not set
360CONFIG_IP_TCPDIAG=y
361# CONFIG_IP_TCPDIAG_IPV6 is not set
362
363#
364# IP: Virtual Server Configuration
365#
366# CONFIG_IP_VS is not set
367# CONFIG_IPV6 is not set
368CONFIG_NETFILTER=y
369CONFIG_NETFILTER_DEBUG=y
370
371#
372# IP: Netfilter Configuration
373#
374# CONFIG_IP_NF_CONNTRACK is not set
375# CONFIG_IP_NF_CONNTRACK_MARK is not set
376CONFIG_IP_NF_QUEUE=y
377# CONFIG_IP_NF_IPTABLES is not set
378# CONFIG_IP_NF_ARPTABLES is not set
379
380#
381# SCTP Configuration (EXPERIMENTAL)
382#
383# CONFIG_IP_SCTP is not set
384# CONFIG_ATM is not set
385# CONFIG_BRIDGE is not set
386# CONFIG_VLAN_8021Q is not set
387# CONFIG_DECNET is not set
388# CONFIG_LLC2 is not set
389# CONFIG_IPX is not set
390# CONFIG_ATALK is not set
391# CONFIG_X25 is not set
392# CONFIG_LAPB is not set
393# CONFIG_NET_DIVERT is not set
394# CONFIG_ECONET is not set
395# CONFIG_WAN_ROUTER is not set
396
397#
398# QoS and/or fair queueing
399#
400# CONFIG_NET_SCHED is not set
401# CONFIG_NET_CLS_ROUTE is not set
402 533
403# 534#
404# Network testing 535# Network device support
405# 536#
406# CONFIG_NET_PKTGEN is not set
407# CONFIG_NETPOLL is not set
408# CONFIG_NET_POLL_CONTROLLER is not set
409# CONFIG_HAMRADIO is not set
410# CONFIG_IRDA is not set
411# CONFIG_BT is not set
412CONFIG_NETDEVICES=y 537CONFIG_NETDEVICES=y
413# CONFIG_DUMMY is not set 538# CONFIG_DUMMY is not set
414# CONFIG_BONDING is not set 539# CONFIG_BONDING is not set
415# CONFIG_EQUALIZER is not set 540# CONFIG_EQUALIZER is not set
416# CONFIG_TUN is not set 541# CONFIG_TUN is not set
417# CONFIG_ETHERTAP is not set
418 542
419# 543#
420# ARCnet devices 544# PHY device support
421# 545#
422# CONFIG_ARCNET is not set 546# CONFIG_PHYLIB is not set
423 547
424# 548#
425# Ethernet (10 or 100Mbit) 549# Ethernet (10 or 100Mbit)
@@ -427,60 +551,19 @@ CONFIG_NETDEVICES=y
427CONFIG_NET_ETHERNET=y 551CONFIG_NET_ETHERNET=y
428CONFIG_MII=y 552CONFIG_MII=y
429# CONFIG_STNIC is not set 553# CONFIG_STNIC is not set
430# CONFIG_HAPPYMEAL is not set
431# CONFIG_SUNGEM is not set
432# CONFIG_NET_VENDOR_3COM is not set
433# CONFIG_SMC91X is not set 554# CONFIG_SMC91X is not set
434 555
435# 556#
436# Tulip family network device support
437#
438# CONFIG_NET_TULIP is not set
439# CONFIG_HP100 is not set
440CONFIG_NET_PCI=y
441CONFIG_PCNET32=y
442# CONFIG_AMD8111_ETH is not set
443# CONFIG_ADAPTEC_STARFIRE is not set
444# CONFIG_B44 is not set
445# CONFIG_FORCEDETH is not set
446# CONFIG_DGRS is not set
447# CONFIG_EEPRO100 is not set
448# CONFIG_E100 is not set
449# CONFIG_FEALNX is not set
450# CONFIG_NATSEMI is not set
451# CONFIG_NE2K_PCI is not set
452# CONFIG_8139CP is not set
453# CONFIG_8139TOO is not set
454# CONFIG_SIS900 is not set
455# CONFIG_EPIC100 is not set
456# CONFIG_SUNDANCE is not set
457# CONFIG_TLAN is not set
458# CONFIG_VIA_RHINE is not set
459
460#
461# Ethernet (1000 Mbit) 557# Ethernet (1000 Mbit)
462# 558#
463# CONFIG_ACENIC is not set
464# CONFIG_DL2K is not set
465# CONFIG_E1000 is not set
466# CONFIG_NS83820 is not set
467# CONFIG_HAMACHI is not set
468# CONFIG_YELLOWFIN is not set
469# CONFIG_R8169 is not set
470# CONFIG_SK98LIN is not set
471# CONFIG_VIA_VELOCITY is not set
472# CONFIG_TIGON3 is not set
473 559
474# 560#
475# Ethernet (10000 Mbit) 561# Ethernet (10000 Mbit)
476# 562#
477# CONFIG_IXGB is not set
478# CONFIG_S2IO is not set
479 563
480# 564#
481# Token Ring devices 565# Token Ring devices
482# 566#
483# CONFIG_TR is not set
484 567
485# 568#
486# Wireless LAN (non-hamradio) 569# Wireless LAN (non-hamradio)
@@ -491,12 +574,12 @@ CONFIG_PCNET32=y
491# Wan interfaces 574# Wan interfaces
492# 575#
493# CONFIG_WAN is not set 576# CONFIG_WAN is not set
494# CONFIG_FDDI is not set
495# CONFIG_HIPPI is not set
496# CONFIG_PPP is not set 577# CONFIG_PPP is not set
497# CONFIG_SLIP is not set 578# CONFIG_SLIP is not set
498# CONFIG_SHAPER is not set 579# CONFIG_SHAPER is not set
499# CONFIG_NETCONSOLE is not set 580# CONFIG_NETCONSOLE is not set
581# CONFIG_NETPOLL is not set
582# CONFIG_NET_POLL_CONTROLLER is not set
500 583
501# 584#
502# ISDN subsystem 585# ISDN subsystem
@@ -514,20 +597,10 @@ CONFIG_PCNET32=y
514# CONFIG_INPUT is not set 597# CONFIG_INPUT is not set
515 598
516# 599#
517# Userland interfaces 600# Hardware I/O ports
518#
519
520# 601#
521# Input I/O drivers
522#
523# CONFIG_GAMEPORT is not set
524CONFIG_SOUND_GAMEPORT=y
525# CONFIG_SERIO is not set 602# CONFIG_SERIO is not set
526# CONFIG_SERIO_I8042 is not set 603# CONFIG_GAMEPORT is not set
527
528#
529# Input Device Drivers
530#
531 604
532# 605#
533# Character devices 606# Character devices
@@ -564,33 +637,46 @@ CONFIG_WATCHDOG=y
564# 637#
565# CONFIG_SOFT_WATCHDOG is not set 638# CONFIG_SOFT_WATCHDOG is not set
566# CONFIG_SH_WDT is not set 639# CONFIG_SH_WDT is not set
567 640CONFIG_HW_RANDOM=y
568#
569# PCI-based Watchdog Cards
570#
571# CONFIG_PCIPCWATCHDOG is not set
572# CONFIG_WDTPCI is not set
573# CONFIG_RTC is not set
574# CONFIG_GEN_RTC is not set 641# CONFIG_GEN_RTC is not set
575# CONFIG_DTLK is not set 642# CONFIG_DTLK is not set
576# CONFIG_R3964 is not set 643# CONFIG_R3964 is not set
577# CONFIG_APPLICOM is not set
578 644
579# 645#
580# Ftape, the floppy tape device driver 646# Ftape, the floppy tape device driver
581# 647#
582# CONFIG_DRM is not set
583# CONFIG_RAW_DRIVER is not set 648# CONFIG_RAW_DRIVER is not set
584 649
585# 650#
651# TPM devices
652#
653# CONFIG_TCG_TPM is not set
654# CONFIG_TELCLOCK is not set
655
656#
586# I2C support 657# I2C support
587# 658#
588# CONFIG_I2C is not set 659# CONFIG_I2C is not set
589 660
590# 661#
662# SPI support
663#
664# CONFIG_SPI is not set
665# CONFIG_SPI_MASTER is not set
666
667#
591# Dallas's 1-wire bus 668# Dallas's 1-wire bus
592# 669#
593# CONFIG_W1 is not set 670
671#
672# Hardware Monitoring support
673#
674CONFIG_HWMON=y
675# CONFIG_HWMON_VID is not set
676# CONFIG_SENSORS_ABITUGURU is not set
677# CONFIG_SENSORS_F71805F is not set
678# CONFIG_SENSORS_VT1211 is not set
679# CONFIG_HWMON_DEBUG_CHIP is not set
594 680
595# 681#
596# Misc devices 682# Misc devices
@@ -600,6 +686,7 @@ CONFIG_WATCHDOG=y
600# Multimedia devices 686# Multimedia devices
601# 687#
602# CONFIG_VIDEO_DEV is not set 688# CONFIG_VIDEO_DEV is not set
689CONFIG_VIDEO_V4L2=y
603 690
604# 691#
605# Digital Video Broadcasting Devices 692# Digital Video Broadcasting Devices
@@ -609,7 +696,9 @@ CONFIG_WATCHDOG=y
609# 696#
610# Graphics support 697# Graphics support
611# 698#
699CONFIG_FIRMWARE_EDID=y
612# CONFIG_FB is not set 700# CONFIG_FB is not set
701# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
613 702
614# 703#
615# Sound 704# Sound
@@ -619,12 +708,12 @@ CONFIG_WATCHDOG=y
619# 708#
620# USB support 709# USB support
621# 710#
622# CONFIG_USB is not set 711# CONFIG_USB_ARCH_HAS_HCD is not set
623CONFIG_USB_ARCH_HAS_HCD=y 712# CONFIG_USB_ARCH_HAS_OHCI is not set
624CONFIG_USB_ARCH_HAS_OHCI=y 713# CONFIG_USB_ARCH_HAS_EHCI is not set
625 714
626# 715#
627# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 716# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
628# 717#
629 718
630# 719#
@@ -638,30 +727,65 @@ CONFIG_USB_ARCH_HAS_OHCI=y
638# CONFIG_MMC is not set 727# CONFIG_MMC is not set
639 728
640# 729#
730# LED devices
731#
732# CONFIG_NEW_LEDS is not set
733
734#
735# LED drivers
736#
737
738#
739# LED Triggers
740#
741
742#
641# InfiniBand support 743# InfiniBand support
642# 744#
643# CONFIG_INFINIBAND is not set 745
746#
747# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
748#
749
750#
751# Real Time Clock
752#
753# CONFIG_RTC_CLASS is not set
754
755#
756# DMA Engine support
757#
758# CONFIG_DMA_ENGINE is not set
759
760#
761# DMA Clients
762#
763
764#
765# DMA Devices
766#
644 767
645# 768#
646# File systems 769# File systems
647# 770#
648CONFIG_EXT2_FS=y 771CONFIG_EXT2_FS=y
649# CONFIG_EXT2_FS_XATTR is not set 772# CONFIG_EXT2_FS_XATTR is not set
773# CONFIG_EXT2_FS_XIP is not set
650# CONFIG_EXT3_FS is not set 774# CONFIG_EXT3_FS is not set
651# CONFIG_JBD is not set
652# CONFIG_REISERFS_FS is not set 775# CONFIG_REISERFS_FS is not set
653# CONFIG_JFS_FS is not set 776# CONFIG_JFS_FS is not set
654 777# CONFIG_FS_POSIX_ACL is not set
655#
656# XFS support
657#
658# CONFIG_XFS_FS is not set 778# CONFIG_XFS_FS is not set
779# CONFIG_OCFS2_FS is not set
659# CONFIG_MINIX_FS is not set 780# CONFIG_MINIX_FS is not set
660# CONFIG_ROMFS_FS is not set 781# CONFIG_ROMFS_FS is not set
782CONFIG_INOTIFY=y
783CONFIG_INOTIFY_USER=y
661# CONFIG_QUOTA is not set 784# CONFIG_QUOTA is not set
662CONFIG_DNOTIFY=y 785CONFIG_DNOTIFY=y
663# CONFIG_AUTOFS_FS is not set 786# CONFIG_AUTOFS_FS is not set
664# CONFIG_AUTOFS4_FS is not set 787# CONFIG_AUTOFS4_FS is not set
788# CONFIG_FUSE_FS is not set
665 789
666# 790#
667# CD-ROM/DVD Filesystems 791# CD-ROM/DVD Filesystems
@@ -681,14 +805,14 @@ CONFIG_DNOTIFY=y
681# 805#
682CONFIG_PROC_FS=y 806CONFIG_PROC_FS=y
683CONFIG_PROC_KCORE=y 807CONFIG_PROC_KCORE=y
808CONFIG_PROC_SYSCTL=y
684CONFIG_SYSFS=y 809CONFIG_SYSFS=y
685# CONFIG_DEVFS_FS is not set
686# CONFIG_DEVPTS_FS_XATTR is not set
687CONFIG_TMPFS=y 810CONFIG_TMPFS=y
688# CONFIG_TMPFS_XATTR is not set 811# CONFIG_TMPFS_POSIX_ACL is not set
689# CONFIG_HUGETLBFS is not set 812# CONFIG_HUGETLBFS is not set
690# CONFIG_HUGETLB_PAGE is not set 813# CONFIG_HUGETLB_PAGE is not set
691CONFIG_RAMFS=y 814CONFIG_RAMFS=y
815# CONFIG_CONFIGFS_FS is not set
692 816
693# 817#
694# Miscellaneous filesystems 818# Miscellaneous filesystems
@@ -703,8 +827,9 @@ CONFIG_RAMFS=y
703# CONFIG_JFFS_FS is not set 827# CONFIG_JFFS_FS is not set
704CONFIG_JFFS2_FS=y 828CONFIG_JFFS2_FS=y
705CONFIG_JFFS2_FS_DEBUG=0 829CONFIG_JFFS2_FS_DEBUG=0
706# CONFIG_JFFS2_FS_NAND is not set 830CONFIG_JFFS2_FS_WRITEBUFFER=y
707# CONFIG_JFFS2_FS_NOR_ECC is not set 831# CONFIG_JFFS2_SUMMARY is not set
832# CONFIG_JFFS2_FS_XATTR is not set
708# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 833# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
709CONFIG_JFFS2_ZLIB=y 834CONFIG_JFFS2_ZLIB=y
710CONFIG_JFFS2_RTIME=y 835CONFIG_JFFS2_RTIME=y
@@ -726,6 +851,7 @@ CONFIG_JFFS2_RTIME=y
726# CONFIG_NCP_FS is not set 851# CONFIG_NCP_FS is not set
727# CONFIG_CODA_FS is not set 852# CONFIG_CODA_FS is not set
728# CONFIG_AFS_FS is not set 853# CONFIG_AFS_FS is not set
854# CONFIG_9P_FS is not set
729 855
730# 856#
731# Partition Types 857# Partition Types
@@ -746,8 +872,14 @@ CONFIG_MSDOS_PARTITION=y
746# 872#
747# Kernel hacking 873# Kernel hacking
748# 874#
875# CONFIG_PRINTK_TIME is not set
876CONFIG_ENABLE_MUST_CHECK=y
877# CONFIG_MAGIC_SYSRQ is not set
878# CONFIG_UNUSED_SYMBOLS is not set
749# CONFIG_DEBUG_KERNEL is not set 879# CONFIG_DEBUG_KERNEL is not set
750# CONFIG_FRAME_POINTER is not set 880CONFIG_LOG_BUF_SHIFT=14
881# CONFIG_DEBUG_BUGVERBOSE is not set
882# CONFIG_DEBUG_FS is not set
751# CONFIG_SH_STANDARD_BIOS is not set 883# CONFIG_SH_STANDARD_BIOS is not set
752# CONFIG_EARLY_SCIF_CONSOLE is not set 884# CONFIG_EARLY_SCIF_CONSOLE is not set
753# CONFIG_KGDB is not set 885# CONFIG_KGDB is not set
@@ -764,14 +896,12 @@ CONFIG_MSDOS_PARTITION=y
764# CONFIG_CRYPTO is not set 896# CONFIG_CRYPTO is not set
765 897
766# 898#
767# Hardware crypto devices
768#
769
770#
771# Library routines 899# Library routines
772# 900#
773# CONFIG_CRC_CCITT is not set 901# CONFIG_CRC_CCITT is not set
902# CONFIG_CRC16 is not set
774CONFIG_CRC32=y 903CONFIG_CRC32=y
775# CONFIG_LIBCRC32C is not set 904# CONFIG_LIBCRC32C is not set
776CONFIG_ZLIB_INFLATE=y 905CONFIG_ZLIB_INFLATE=y
777CONFIG_ZLIB_DEFLATE=y 906CONFIG_ZLIB_DEFLATE=y
907CONFIG_PLIST=y
diff --git a/arch/sh/configs/sh03_defconfig b/arch/sh/configs/sh03_defconfig
index 078f78c7fe53..9fd5ea7304e5 100644
--- a/arch/sh/configs/sh03_defconfig
+++ b/arch/sh/configs/sh03_defconfig
@@ -1,51 +1,63 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:49 2005 4# Tue Oct 3 12:13:26 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17# CONFIG_CLEAN_COMPILE is not set
18CONFIG_BROKEN=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
21 22
22# 23#
23# General setup 24# General setup
24# 25#
25CONFIG_LOCALVERSION="" 26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
26CONFIG_SWAP=y 28CONFIG_SWAP=y
27CONFIG_SYSVIPC=y 29CONFIG_SYSVIPC=y
30# CONFIG_IPC_NS is not set
28CONFIG_POSIX_MQUEUE=y 31CONFIG_POSIX_MQUEUE=y
29CONFIG_BSD_PROCESS_ACCT=y 32CONFIG_BSD_PROCESS_ACCT=y
30# CONFIG_BSD_PROCESS_ACCT_V3 is not set 33# CONFIG_BSD_PROCESS_ACCT_V3 is not set
31CONFIG_SYSCTL=y 34# CONFIG_TASKSTATS is not set
35# CONFIG_UTS_NS is not set
32# CONFIG_AUDIT is not set 36# CONFIG_AUDIT is not set
33CONFIG_LOG_BUF_SHIFT=14
34CONFIG_HOTPLUG=y
35CONFIG_KOBJECT_UEVENT=y
36# CONFIG_IKCONFIG is not set 37# CONFIG_IKCONFIG is not set
37# CONFIG_EMBEDDED is not set 38# CONFIG_RELAY is not set
39CONFIG_INITRAMFS_SOURCE=""
40CONFIG_CC_OPTIMIZE_FOR_SIZE=y
41CONFIG_SYSCTL=y
42CONFIG_EMBEDDED=y
43CONFIG_UID16=y
44# CONFIG_SYSCTL_SYSCALL is not set
38CONFIG_KALLSYMS=y 45CONFIG_KALLSYMS=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 46# CONFIG_KALLSYMS_EXTRA_PASS is not set
47CONFIG_HOTPLUG=y
48CONFIG_PRINTK=y
49CONFIG_BUG=y
50CONFIG_ELF_CORE=y
51CONFIG_BASE_FULL=y
40CONFIG_FUTEX=y 52CONFIG_FUTEX=y
41CONFIG_EPOLL=y 53CONFIG_EPOLL=y
42# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
43CONFIG_SHMEM=y 54CONFIG_SHMEM=y
44CONFIG_CC_ALIGN_FUNCTIONS=0 55CONFIG_SLAB=y
45CONFIG_CC_ALIGN_LABELS=0 56CONFIG_VM_EVENT_COUNTERS=y
46CONFIG_CC_ALIGN_LOOPS=0 57CONFIG_RT_MUTEXES=y
47CONFIG_CC_ALIGN_JUMPS=0
48# CONFIG_TINY_SHMEM is not set 58# CONFIG_TINY_SHMEM is not set
59CONFIG_BASE_SMALL=0
60# CONFIG_SLOB is not set
49 61
50# 62#
51# Loadable module support 63# Loadable module support
@@ -53,81 +65,154 @@ CONFIG_CC_ALIGN_JUMPS=0
53CONFIG_MODULES=y 65CONFIG_MODULES=y
54CONFIG_MODULE_UNLOAD=y 66CONFIG_MODULE_UNLOAD=y
55CONFIG_MODULE_FORCE_UNLOAD=y 67CONFIG_MODULE_FORCE_UNLOAD=y
56CONFIG_OBSOLETE_MODPARM=y
57CONFIG_MODVERSIONS=y 68CONFIG_MODVERSIONS=y
58# CONFIG_MODULE_SRCVERSION_ALL is not set 69# CONFIG_MODULE_SRCVERSION_ALL is not set
59CONFIG_KMOD=y 70CONFIG_KMOD=y
60 71
61# 72#
73# Block layer
74#
75CONFIG_BLOCK=y
76# CONFIG_LBD is not set
77# CONFIG_BLK_DEV_IO_TRACE is not set
78# CONFIG_LSF is not set
79
80#
81# IO Schedulers
82#
83CONFIG_IOSCHED_NOOP=y
84CONFIG_IOSCHED_AS=y
85CONFIG_IOSCHED_DEADLINE=y
86CONFIG_IOSCHED_CFQ=y
87CONFIG_DEFAULT_AS=y
88# CONFIG_DEFAULT_DEADLINE is not set
89# CONFIG_DEFAULT_CFQ is not set
90# CONFIG_DEFAULT_NOOP is not set
91CONFIG_DEFAULT_IOSCHED="anticipatory"
92
93#
62# System type 94# System type
63# 95#
64# CONFIG_SH_SOLUTION_ENGINE is not set 96# CONFIG_SH_SOLUTION_ENGINE is not set
65# CONFIG_SH_7751_SOLUTION_ENGINE is not set 97# CONFIG_SH_7751_SOLUTION_ENGINE is not set
66# CONFIG_SH_7300_SOLUTION_ENGINE is not set 98# CONFIG_SH_7300_SOLUTION_ENGINE is not set
99# CONFIG_SH_7343_SOLUTION_ENGINE is not set
67# CONFIG_SH_73180_SOLUTION_ENGINE is not set 100# CONFIG_SH_73180_SOLUTION_ENGINE is not set
68# CONFIG_SH_7751_SYSTEMH is not set 101# CONFIG_SH_7751_SYSTEMH is not set
69# CONFIG_SH_STB1_HARP is not set 102# CONFIG_SH_HP6XX is not set
70# CONFIG_SH_STB1_OVERDRIVE is not set
71# CONFIG_SH_HP620 is not set
72# CONFIG_SH_HP680 is not set
73# CONFIG_SH_HP690 is not set
74# CONFIG_SH_CQREEK is not set
75# CONFIG_SH_DMIDA is not set
76# CONFIG_SH_EC3104 is not set 103# CONFIG_SH_EC3104 is not set
77# CONFIG_SH_SATURN is not set 104# CONFIG_SH_SATURN is not set
78# CONFIG_SH_DREAMCAST is not set 105# CONFIG_SH_DREAMCAST is not set
79# CONFIG_SH_CAT68701 is not set
80# CONFIG_SH_BIGSUR is not set 106# CONFIG_SH_BIGSUR is not set
81# CONFIG_SH_SH2000 is not set
82# CONFIG_SH_ADX is not set
83# CONFIG_SH_MPC1211 is not set 107# CONFIG_SH_MPC1211 is not set
84CONFIG_SH_SH03=y 108CONFIG_SH_SH03=y
85# CONFIG_SH_SECUREEDGE5410 is not set 109# CONFIG_SH_SECUREEDGE5410 is not set
86# CONFIG_SH_HS7751RVOIP is not set 110# CONFIG_SH_HS7751RVOIP is not set
111# CONFIG_SH_7710VOIPGW is not set
87# CONFIG_SH_RTS7751R2D is not set 112# CONFIG_SH_RTS7751R2D is not set
113# CONFIG_SH_R7780RP is not set
88# CONFIG_SH_EDOSK7705 is not set 114# CONFIG_SH_EDOSK7705 is not set
89# CONFIG_SH_SH4202_MICRODEV is not set 115# CONFIG_SH_SH4202_MICRODEV is not set
116# CONFIG_SH_LANDISK is not set
117# CONFIG_SH_TITAN is not set
118# CONFIG_SH_SHMIN is not set
90# CONFIG_SH_UNKNOWN is not set 119# CONFIG_SH_UNKNOWN is not set
91# CONFIG_CPU_SH2 is not set 120
92# CONFIG_CPU_SH3 is not set 121#
122# Processor selection
123#
93CONFIG_CPU_SH4=y 124CONFIG_CPU_SH4=y
125
126#
127# SH-2 Processor Support
128#
94# CONFIG_CPU_SUBTYPE_SH7604 is not set 129# CONFIG_CPU_SUBTYPE_SH7604 is not set
130
131#
132# SH-3 Processor Support
133#
95# CONFIG_CPU_SUBTYPE_SH7300 is not set 134# CONFIG_CPU_SUBTYPE_SH7300 is not set
96# CONFIG_CPU_SUBTYPE_SH7705 is not set 135# CONFIG_CPU_SUBTYPE_SH7705 is not set
136# CONFIG_CPU_SUBTYPE_SH7706 is not set
97# CONFIG_CPU_SUBTYPE_SH7707 is not set 137# CONFIG_CPU_SUBTYPE_SH7707 is not set
98# CONFIG_CPU_SUBTYPE_SH7708 is not set 138# CONFIG_CPU_SUBTYPE_SH7708 is not set
99# CONFIG_CPU_SUBTYPE_SH7709 is not set 139# CONFIG_CPU_SUBTYPE_SH7709 is not set
140# CONFIG_CPU_SUBTYPE_SH7710 is not set
141
142#
143# SH-4 Processor Support
144#
100# CONFIG_CPU_SUBTYPE_SH7750 is not set 145# CONFIG_CPU_SUBTYPE_SH7750 is not set
146# CONFIG_CPU_SUBTYPE_SH7091 is not set
147# CONFIG_CPU_SUBTYPE_SH7750R is not set
148# CONFIG_CPU_SUBTYPE_SH7750S is not set
101CONFIG_CPU_SUBTYPE_SH7751=y 149CONFIG_CPU_SUBTYPE_SH7751=y
150# CONFIG_CPU_SUBTYPE_SH7751R is not set
102# CONFIG_CPU_SUBTYPE_SH7760 is not set 151# CONFIG_CPU_SUBTYPE_SH7760 is not set
103# CONFIG_CPU_SUBTYPE_SH73180 is not set 152# CONFIG_CPU_SUBTYPE_SH4_202 is not set
153
154#
155# ST40 Processor Support
156#
104# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 157# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
105# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 158# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
106# CONFIG_CPU_SUBTYPE_SH4_202 is not set 159
160#
161# SH-4A Processor Support
162#
163# CONFIG_CPU_SUBTYPE_SH7770 is not set
164# CONFIG_CPU_SUBTYPE_SH7780 is not set
165
166#
167# SH4AL-DSP Processor Support
168#
169# CONFIG_CPU_SUBTYPE_SH73180 is not set
170# CONFIG_CPU_SUBTYPE_SH7343 is not set
171
172#
173# Memory management options
174#
107CONFIG_MMU=y 175CONFIG_MMU=y
108CONFIG_CMDLINE_BOOL=y 176CONFIG_PAGE_OFFSET=0x80000000
109CONFIG_CMDLINE="console=ttySC1,115200 mem=64M root=/dev/nfs"
110CONFIG_MEMORY_START=0x08000000 177CONFIG_MEMORY_START=0x08000000
111CONFIG_MEMORY_SIZE=0x08000000 178CONFIG_MEMORY_SIZE=0x08000000
112CONFIG_MEMORY_SET=y 179CONFIG_VSYSCALL=y
113# CONFIG_MEMORY_OVERRIDE is not set 180CONFIG_SELECT_MEMORY_MODEL=y
181CONFIG_FLATMEM_MANUAL=y
182# CONFIG_DISCONTIGMEM_MANUAL is not set
183# CONFIG_SPARSEMEM_MANUAL is not set
184CONFIG_FLATMEM=y
185CONFIG_FLAT_NODE_MEM_MAP=y
186# CONFIG_SPARSEMEM_STATIC is not set
187CONFIG_SPLIT_PTLOCK_CPUS=4
188# CONFIG_RESOURCES_64BIT is not set
189
190#
191# Cache configuration
192#
193# CONFIG_SH_DIRECT_MAPPED is not set
194# CONFIG_SH_WRITETHROUGH is not set
195# CONFIG_SH_OCRAM is not set
114CONFIG_CF_ENABLER=y 196CONFIG_CF_ENABLER=y
115CONFIG_CF_AREA5=y 197CONFIG_CF_AREA5=y
116# CONFIG_CF_AREA6 is not set 198# CONFIG_CF_AREA6 is not set
117CONFIG_CF_BASE_ADDR=0xb4000000 199CONFIG_CF_BASE_ADDR=0xb4000000
118CONFIG_SH_RTC=y 200
119CONFIG_SH_FPU=y 201#
120CONFIG_ZERO_PAGE_OFFSET=0x00004000 202# Processor features
121CONFIG_BOOT_LINK_OFFSET=0x00800000 203#
122CONFIG_CPU_LITTLE_ENDIAN=y 204CONFIG_CPU_LITTLE_ENDIAN=y
123CONFIG_PREEMPT=y 205CONFIG_SH_FPU=y
124# CONFIG_UBC_WAKEUP is not set 206# CONFIG_SH_DSP is not set
125# CONFIG_SH_WRITETHROUGH is not set
126# CONFIG_SH_OCRAM is not set
127# CONFIG_SH_STORE_QUEUES is not set 207# CONFIG_SH_STORE_QUEUES is not set
128# CONFIG_SMP is not set 208CONFIG_CPU_HAS_INTEVT=y
129CONFIG_SH_PCLK_CALC=y 209CONFIG_CPU_HAS_SR_RB=y
130CONFIG_SH_PCLK_FREQ=49876504 210
211#
212# Timer support
213#
214CONFIG_SH_TMU=y
215CONFIG_SH_PCLK_FREQ=60000000
131 216
132# 217#
133# CPU Frequency scaling 218# CPU Frequency scaling
@@ -146,14 +231,36 @@ CONFIG_SH_PCLK_FREQ=49876504
146CONFIG_HEARTBEAT=y 231CONFIG_HEARTBEAT=y
147 232
148# 233#
149# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 234# Kernel features
235#
236# CONFIG_HZ_100 is not set
237CONFIG_HZ_250=y
238# CONFIG_HZ_1000 is not set
239CONFIG_HZ=250
240# CONFIG_KEXEC is not set
241# CONFIG_SMP is not set
242# CONFIG_PREEMPT_NONE is not set
243# CONFIG_PREEMPT_VOLUNTARY is not set
244CONFIG_PREEMPT=y
245CONFIG_PREEMPT_BKL=y
246
247#
248# Boot options
249#
250CONFIG_ZERO_PAGE_OFFSET=0x00004000
251CONFIG_BOOT_LINK_OFFSET=0x00800000
252# CONFIG_UBC_WAKEUP is not set
253CONFIG_CMDLINE_BOOL=y
254CONFIG_CMDLINE="console=ttySC1,115200 mem=64M root=/dev/nfs"
255
256#
257# Bus options
150# 258#
151CONFIG_PCI=y 259CONFIG_PCI=y
152CONFIG_SH_PCIDMA_NONCOHERENT=y 260CONFIG_SH_PCIDMA_NONCOHERENT=y
153CONFIG_PCI_AUTO=y 261CONFIG_PCI_AUTO=y
154CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 262CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
155CONFIG_PCI_LEGACY_PROC=y 263# CONFIG_PCI_MULTITHREAD_PROBE is not set
156CONFIG_PCI_NAMES=y
157 264
158# 265#
159# PCCARD (PCMCIA/CardBus) support 266# PCCARD (PCMCIA/CardBus) support
@@ -161,10 +268,6 @@ CONFIG_PCI_NAMES=y
161# CONFIG_PCCARD is not set 268# CONFIG_PCCARD is not set
162 269
163# 270#
164# PC-card bridges
165#
166
167#
168# PCI Hotplug Support 271# PCI Hotplug Support
169# 272#
170CONFIG_HOTPLUG_PCI=m 273CONFIG_HOTPLUG_PCI=m
@@ -180,9 +283,96 @@ CONFIG_BINFMT_ELF=y
180CONFIG_BINFMT_MISC=y 283CONFIG_BINFMT_MISC=y
181 284
182# 285#
183# SH initrd options 286# Power management options (EXPERIMENTAL)
287#
288# CONFIG_PM is not set
289
290#
291# Networking
184# 292#
185# CONFIG_EMBEDDED_RAMDISK is not set 293CONFIG_NET=y
294
295#
296# Networking options
297#
298# CONFIG_NETDEBUG is not set
299CONFIG_PACKET=y
300# CONFIG_PACKET_MMAP is not set
301CONFIG_UNIX=y
302CONFIG_XFRM=y
303# CONFIG_XFRM_USER is not set
304# CONFIG_XFRM_SUB_POLICY is not set
305CONFIG_NET_KEY=y
306CONFIG_INET=y
307CONFIG_IP_MULTICAST=y
308# CONFIG_IP_ADVANCED_ROUTER is not set
309CONFIG_IP_FIB_HASH=y
310CONFIG_IP_PNP=y
311CONFIG_IP_PNP_DHCP=y
312CONFIG_IP_PNP_BOOTP=y
313CONFIG_IP_PNP_RARP=y
314# CONFIG_NET_IPIP is not set
315# CONFIG_NET_IPGRE is not set
316# CONFIG_IP_MROUTE is not set
317# CONFIG_ARPD is not set
318# CONFIG_SYN_COOKIES is not set
319# CONFIG_INET_AH is not set
320# CONFIG_INET_ESP is not set
321# CONFIG_INET_IPCOMP is not set
322# CONFIG_INET_XFRM_TUNNEL is not set
323# CONFIG_INET_TUNNEL is not set
324CONFIG_INET_XFRM_MODE_TRANSPORT=y
325CONFIG_INET_XFRM_MODE_TUNNEL=y
326CONFIG_INET_DIAG=y
327CONFIG_INET_TCP_DIAG=y
328# CONFIG_TCP_CONG_ADVANCED is not set
329CONFIG_TCP_CONG_CUBIC=y
330CONFIG_DEFAULT_TCP_CONG="cubic"
331# CONFIG_IPV6 is not set
332# CONFIG_INET6_XFRM_TUNNEL is not set
333# CONFIG_INET6_TUNNEL is not set
334# CONFIG_NETWORK_SECMARK is not set
335# CONFIG_NETFILTER is not set
336
337#
338# DCCP Configuration (EXPERIMENTAL)
339#
340# CONFIG_IP_DCCP is not set
341
342#
343# SCTP Configuration (EXPERIMENTAL)
344#
345# CONFIG_IP_SCTP is not set
346
347#
348# TIPC Configuration (EXPERIMENTAL)
349#
350# CONFIG_TIPC is not set
351# CONFIG_ATM is not set
352# CONFIG_BRIDGE is not set
353# CONFIG_VLAN_8021Q is not set
354# CONFIG_DECNET is not set
355# CONFIG_LLC2 is not set
356# CONFIG_IPX is not set
357# CONFIG_ATALK is not set
358# CONFIG_X25 is not set
359# CONFIG_LAPB is not set
360# CONFIG_ECONET is not set
361# CONFIG_WAN_ROUTER is not set
362
363#
364# QoS and/or fair queueing
365#
366# CONFIG_NET_SCHED is not set
367
368#
369# Network testing
370#
371# CONFIG_NET_PKTGEN is not set
372# CONFIG_HAMRADIO is not set
373# CONFIG_IRDA is not set
374# CONFIG_BT is not set
375# CONFIG_IEEE80211 is not set
186 376
187# 377#
188# Device Drivers 378# Device Drivers
@@ -194,6 +384,12 @@ CONFIG_BINFMT_MISC=y
194# CONFIG_STANDALONE is not set 384# CONFIG_STANDALONE is not set
195# CONFIG_PREVENT_FIRMWARE_BUILD is not set 385# CONFIG_PREVENT_FIRMWARE_BUILD is not set
196# CONFIG_FW_LOADER is not set 386# CONFIG_FW_LOADER is not set
387# CONFIG_SYS_HYPERVISOR is not set
388
389#
390# Connector - unified userspace <-> kernelspace linker
391#
392# CONFIG_CONNECTOR is not set
197 393
198# 394#
199# Memory Technology Devices (MTD) 395# Memory Technology Devices (MTD)
@@ -212,7 +408,6 @@ CONFIG_BINFMT_MISC=y
212# 408#
213# Block devices 409# Block devices
214# 410#
215# CONFIG_BLK_DEV_FD is not set
216# CONFIG_BLK_CPQ_DA is not set 411# CONFIG_BLK_CPQ_DA is not set
217# CONFIG_BLK_CPQ_CISS_DA is not set 412# CONFIG_BLK_CPQ_CISS_DA is not set
218# CONFIG_BLK_DEV_DAC960 is not set 413# CONFIG_BLK_DEV_DAC960 is not set
@@ -225,18 +420,9 @@ CONFIG_BLK_DEV_NBD=y
225CONFIG_BLK_DEV_RAM=y 420CONFIG_BLK_DEV_RAM=y
226CONFIG_BLK_DEV_RAM_COUNT=16 421CONFIG_BLK_DEV_RAM_COUNT=16
227CONFIG_BLK_DEV_RAM_SIZE=4096 422CONFIG_BLK_DEV_RAM_SIZE=4096
423CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
228CONFIG_BLK_DEV_INITRD=y 424CONFIG_BLK_DEV_INITRD=y
229CONFIG_INITRAMFS_SOURCE=""
230# CONFIG_LBD is not set
231# CONFIG_CDROM_PKTCDVD is not set 425# CONFIG_CDROM_PKTCDVD is not set
232
233#
234# IO Schedulers
235#
236CONFIG_IOSCHED_NOOP=y
237CONFIG_IOSCHED_AS=y
238CONFIG_IOSCHED_DEADLINE=y
239CONFIG_IOSCHED_CFQ=y
240# CONFIG_ATA_OVER_ETH is not set 426# CONFIG_ATA_OVER_ETH is not set
241 427
242# 428#
@@ -263,7 +449,6 @@ CONFIG_BLK_DEV_IDEFLOPPY=m
263# 449#
264CONFIG_IDE_GENERIC=y 450CONFIG_IDE_GENERIC=y
265# CONFIG_BLK_DEV_IDEPCI is not set 451# CONFIG_BLK_DEV_IDEPCI is not set
266CONFIG_IDE_SH=y
267# CONFIG_IDE_ARM is not set 452# CONFIG_IDE_ARM is not set
268# CONFIG_BLK_DEV_IDEDMA is not set 453# CONFIG_BLK_DEV_IDEDMA is not set
269# CONFIG_IDEDMA_AUTO is not set 454# CONFIG_IDEDMA_AUTO is not set
@@ -272,7 +457,9 @@ CONFIG_IDE_SH=y
272# 457#
273# SCSI device support 458# SCSI device support
274# 459#
460# CONFIG_RAID_ATTRS is not set
275CONFIG_SCSI=m 461CONFIG_SCSI=m
462# CONFIG_SCSI_NETLINK is not set
276CONFIG_SCSI_PROC_FS=y 463CONFIG_SCSI_PROC_FS=y
277 464
278# 465#
@@ -284,6 +471,7 @@ CONFIG_BLK_DEV_SD=m
284CONFIG_BLK_DEV_SR=m 471CONFIG_BLK_DEV_SR=m
285CONFIG_BLK_DEV_SR_VENDOR=y 472CONFIG_BLK_DEV_SR_VENDOR=y
286CONFIG_CHR_DEV_SG=m 473CONFIG_CHR_DEV_SG=m
474# CONFIG_CHR_DEV_SCH is not set
287 475
288# 476#
289# Some SCSI devices (e.g. CD jukebox) support multiple LUNs 477# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
@@ -293,15 +481,18 @@ CONFIG_CHR_DEV_SG=m
293# CONFIG_SCSI_LOGGING is not set 481# CONFIG_SCSI_LOGGING is not set
294 482
295# 483#
296# SCSI Transport Attributes 484# SCSI Transports
297# 485#
298# CONFIG_SCSI_SPI_ATTRS is not set 486# CONFIG_SCSI_SPI_ATTRS is not set
299# CONFIG_SCSI_FC_ATTRS is not set 487# CONFIG_SCSI_FC_ATTRS is not set
300# CONFIG_SCSI_ISCSI_ATTRS is not set 488# CONFIG_SCSI_ISCSI_ATTRS is not set
489# CONFIG_SCSI_SAS_ATTRS is not set
490# CONFIG_SCSI_SAS_LIBSAS is not set
301 491
302# 492#
303# SCSI low-level drivers 493# SCSI low-level drivers
304# 494#
495# CONFIG_ISCSI_TCP is not set
305# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 496# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
306# CONFIG_SCSI_3W_9XXX is not set 497# CONFIG_SCSI_3W_9XXX is not set
307# CONFIG_SCSI_ACARD is not set 498# CONFIG_SCSI_ACARD is not set
@@ -309,40 +500,35 @@ CONFIG_CHR_DEV_SG=m
309# CONFIG_SCSI_AIC7XXX is not set 500# CONFIG_SCSI_AIC7XXX is not set
310# CONFIG_SCSI_AIC7XXX_OLD is not set 501# CONFIG_SCSI_AIC7XXX_OLD is not set
311# CONFIG_SCSI_AIC79XX is not set 502# CONFIG_SCSI_AIC79XX is not set
503# CONFIG_SCSI_AIC94XX is not set
312# CONFIG_SCSI_DPT_I2O is not set 504# CONFIG_SCSI_DPT_I2O is not set
313# CONFIG_SCSI_ADVANSYS is not set 505# CONFIG_SCSI_ARCMSR is not set
314# CONFIG_MEGARAID_NEWGEN is not set 506# CONFIG_MEGARAID_NEWGEN is not set
315# CONFIG_MEGARAID_LEGACY is not set 507# CONFIG_MEGARAID_LEGACY is not set
316# CONFIG_SCSI_SATA is not set 508# CONFIG_MEGARAID_SAS is not set
317# CONFIG_SCSI_BUSLOGIC is not set 509# CONFIG_SCSI_HPTIOP is not set
318# CONFIG_SCSI_CPQFCTS is not set
319# CONFIG_SCSI_DMX3191D is not set 510# CONFIG_SCSI_DMX3191D is not set
320# CONFIG_SCSI_EATA is not set
321# CONFIG_SCSI_EATA_PIO is not set
322# CONFIG_SCSI_FUTURE_DOMAIN is not set 511# CONFIG_SCSI_FUTURE_DOMAIN is not set
323# CONFIG_SCSI_GDTH is not set
324# CONFIG_SCSI_IPS is not set 512# CONFIG_SCSI_IPS is not set
325# CONFIG_SCSI_INITIO is not set 513# CONFIG_SCSI_INITIO is not set
326# CONFIG_SCSI_INIA100 is not set 514# CONFIG_SCSI_INIA100 is not set
515# CONFIG_SCSI_STEX is not set
327# CONFIG_SCSI_SYM53C8XX_2 is not set 516# CONFIG_SCSI_SYM53C8XX_2 is not set
328# CONFIG_SCSI_IPR is not set 517# CONFIG_SCSI_IPR is not set
329# CONFIG_SCSI_PCI2000 is not set
330# CONFIG_SCSI_PCI2220I is not set
331# CONFIG_SCSI_QLOGIC_ISP is not set
332# CONFIG_SCSI_QLOGIC_FC is not set
333# CONFIG_SCSI_QLOGIC_1280 is not set 518# CONFIG_SCSI_QLOGIC_1280 is not set
334CONFIG_SCSI_QLA2XXX=m 519# CONFIG_SCSI_QLA_FC is not set
335# CONFIG_SCSI_QLA21XX is not set 520# CONFIG_SCSI_LPFC is not set
336# CONFIG_SCSI_QLA22XX is not set
337# CONFIG_SCSI_QLA2300 is not set
338# CONFIG_SCSI_QLA2322 is not set
339# CONFIG_SCSI_QLA6312 is not set
340# CONFIG_SCSI_DC395x is not set 521# CONFIG_SCSI_DC395x is not set
341# CONFIG_SCSI_DC390T is not set 522# CONFIG_SCSI_DC390T is not set
342# CONFIG_SCSI_NSP32 is not set 523# CONFIG_SCSI_NSP32 is not set
343# CONFIG_SCSI_DEBUG is not set 524# CONFIG_SCSI_DEBUG is not set
344 525
345# 526#
527# Serial ATA (prod) and Parallel ATA (experimental) drivers
528#
529# CONFIG_ATA is not set
530
531#
346# Multi-device support (RAID and LVM) 532# Multi-device support (RAID and LVM)
347# 533#
348# CONFIG_MD is not set 534# CONFIG_MD is not set
@@ -351,6 +537,9 @@ CONFIG_SCSI_QLA2XXX=m
351# Fusion MPT device support 537# Fusion MPT device support
352# 538#
353# CONFIG_FUSION is not set 539# CONFIG_FUSION is not set
540# CONFIG_FUSION_SPI is not set
541# CONFIG_FUSION_FC is not set
542# CONFIG_FUSION_SAS is not set
354 543
355# 544#
356# IEEE 1394 (FireWire) support 545# IEEE 1394 (FireWire) support
@@ -363,73 +552,8 @@ CONFIG_SCSI_QLA2XXX=m
363# CONFIG_I2O is not set 552# CONFIG_I2O is not set
364 553
365# 554#
366# Networking support 555# Network device support
367# 556#
368CONFIG_NET=y
369
370#
371# Networking options
372#
373CONFIG_PACKET=y
374# CONFIG_PACKET_MMAP is not set
375# CONFIG_NETLINK_DEV is not set
376CONFIG_UNIX=y
377CONFIG_NET_KEY=y
378CONFIG_INET=y
379CONFIG_IP_MULTICAST=y
380# CONFIG_IP_ADVANCED_ROUTER is not set
381CONFIG_IP_PNP=y
382CONFIG_IP_PNP_DHCP=y
383CONFIG_IP_PNP_BOOTP=y
384CONFIG_IP_PNP_RARP=y
385# CONFIG_NET_IPIP is not set
386# CONFIG_NET_IPGRE is not set
387# CONFIG_IP_MROUTE is not set
388# CONFIG_ARPD is not set
389# CONFIG_SYN_COOKIES is not set
390# CONFIG_INET_AH is not set
391# CONFIG_INET_ESP is not set
392# CONFIG_INET_IPCOMP is not set
393# CONFIG_INET_TUNNEL is not set
394CONFIG_IP_TCPDIAG=y
395# CONFIG_IP_TCPDIAG_IPV6 is not set
396# CONFIG_IPV6 is not set
397# CONFIG_NETFILTER is not set
398CONFIG_XFRM=y
399# CONFIG_XFRM_USER is not set
400
401#
402# SCTP Configuration (EXPERIMENTAL)
403#
404# CONFIG_IP_SCTP is not set
405# CONFIG_ATM is not set
406# CONFIG_BRIDGE is not set
407# CONFIG_VLAN_8021Q is not set
408# CONFIG_DECNET is not set
409# CONFIG_LLC2 is not set
410# CONFIG_IPX is not set
411# CONFIG_ATALK is not set
412# CONFIG_X25 is not set
413# CONFIG_LAPB is not set
414# CONFIG_NET_DIVERT is not set
415# CONFIG_ECONET is not set
416# CONFIG_WAN_ROUTER is not set
417
418#
419# QoS and/or fair queueing
420#
421# CONFIG_NET_SCHED is not set
422# CONFIG_NET_CLS_ROUTE is not set
423
424#
425# Network testing
426#
427# CONFIG_NET_PKTGEN is not set
428# CONFIG_NETPOLL is not set
429# CONFIG_NET_POLL_CONTROLLER is not set
430# CONFIG_HAMRADIO is not set
431# CONFIG_IRDA is not set
432# CONFIG_BT is not set
433CONFIG_NETDEVICES=y 557CONFIG_NETDEVICES=y
434# CONFIG_DUMMY is not set 558# CONFIG_DUMMY is not set
435# CONFIG_BONDING is not set 559# CONFIG_BONDING is not set
@@ -442,6 +566,11 @@ CONFIG_NETDEVICES=y
442# CONFIG_ARCNET is not set 566# CONFIG_ARCNET is not set
443 567
444# 568#
569# PHY device support
570#
571# CONFIG_PHYLIB is not set
572
573#
445# Ethernet (10 or 100Mbit) 574# Ethernet (10 or 100Mbit)
446# 575#
447CONFIG_NET_ETHERNET=y 576CONFIG_NET_ETHERNET=y
@@ -449,6 +578,7 @@ CONFIG_MII=y
449# CONFIG_STNIC is not set 578# CONFIG_STNIC is not set
450# CONFIG_HAPPYMEAL is not set 579# CONFIG_HAPPYMEAL is not set
451# CONFIG_SUNGEM is not set 580# CONFIG_SUNGEM is not set
581# CONFIG_CASSINI is not set
452# CONFIG_NET_VENDOR_3COM is not set 582# CONFIG_NET_VENDOR_3COM is not set
453# CONFIG_SMC91X is not set 583# CONFIG_SMC91X is not set
454 584
@@ -487,15 +617,22 @@ CONFIG_8139CP=y
487# CONFIG_HAMACHI is not set 617# CONFIG_HAMACHI is not set
488# CONFIG_YELLOWFIN is not set 618# CONFIG_YELLOWFIN is not set
489# CONFIG_R8169 is not set 619# CONFIG_R8169 is not set
620# CONFIG_SIS190 is not set
621# CONFIG_SKGE is not set
622# CONFIG_SKY2 is not set
490# CONFIG_SK98LIN is not set 623# CONFIG_SK98LIN is not set
491# CONFIG_VIA_VELOCITY is not set 624# CONFIG_VIA_VELOCITY is not set
492# CONFIG_TIGON3 is not set 625# CONFIG_TIGON3 is not set
626# CONFIG_BNX2 is not set
627# CONFIG_QLA3XXX is not set
493 628
494# 629#
495# Ethernet (10000 Mbit) 630# Ethernet (10000 Mbit)
496# 631#
632# CONFIG_CHELSIO_T1 is not set
497# CONFIG_IXGB is not set 633# CONFIG_IXGB is not set
498# CONFIG_S2IO is not set 634# CONFIG_S2IO is not set
635# CONFIG_MYRI10GE is not set
499 636
500# 637#
501# Token Ring devices 638# Token Ring devices
@@ -518,6 +655,8 @@ CONFIG_8139CP=y
518# CONFIG_NET_FC is not set 655# CONFIG_NET_FC is not set
519# CONFIG_SHAPER is not set 656# CONFIG_SHAPER is not set
520# CONFIG_NETCONSOLE is not set 657# CONFIG_NETCONSOLE is not set
658# CONFIG_NETPOLL is not set
659# CONFIG_NET_POLL_CONTROLLER is not set
521 660
522# 661#
523# ISDN subsystem 662# ISDN subsystem
@@ -533,6 +672,7 @@ CONFIG_8139CP=y
533# Input device support 672# Input device support
534# 673#
535CONFIG_INPUT=y 674CONFIG_INPUT=y
675# CONFIG_INPUT_FF_MEMLESS is not set
536 676
537# 677#
538# Userland interfaces 678# Userland interfaces
@@ -547,14 +687,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
547# CONFIG_INPUT_EVBUG is not set 687# CONFIG_INPUT_EVBUG is not set
548 688
549# 689#
550# Input I/O drivers
551#
552# CONFIG_GAMEPORT is not set
553CONFIG_SOUND_GAMEPORT=y
554# CONFIG_SERIO is not set
555# CONFIG_SERIO_I8042 is not set
556
557#
558# Input Device Drivers 690# Input Device Drivers
559# 691#
560# CONFIG_INPUT_KEYBOARD is not set 692# CONFIG_INPUT_KEYBOARD is not set
@@ -564,27 +696,38 @@ CONFIG_SOUND_GAMEPORT=y
564# CONFIG_INPUT_MISC is not set 696# CONFIG_INPUT_MISC is not set
565 697
566# 698#
699# Hardware I/O ports
700#
701# CONFIG_SERIO is not set
702# CONFIG_GAMEPORT is not set
703
704#
567# Character devices 705# Character devices
568# 706#
569CONFIG_VT=y 707CONFIG_VT=y
570CONFIG_VT_CONSOLE=y 708CONFIG_VT_CONSOLE=y
571CONFIG_HW_CONSOLE=y 709CONFIG_HW_CONSOLE=y
710# CONFIG_VT_HW_CONSOLE_BINDING is not set
572# CONFIG_SERIAL_NONSTANDARD is not set 711# CONFIG_SERIAL_NONSTANDARD is not set
573 712
574# 713#
575# Serial drivers 714# Serial drivers
576# 715#
577CONFIG_SERIAL_8250=m 716CONFIG_SERIAL_8250=m
717CONFIG_SERIAL_8250_PCI=m
578CONFIG_SERIAL_8250_NR_UARTS=4 718CONFIG_SERIAL_8250_NR_UARTS=4
719CONFIG_SERIAL_8250_RUNTIME_UARTS=4
579# CONFIG_SERIAL_8250_EXTENDED is not set 720# CONFIG_SERIAL_8250_EXTENDED is not set
580 721
581# 722#
582# Non-8250 serial port support 723# Non-8250 serial port support
583# 724#
584CONFIG_SERIAL_SH_SCI=y 725CONFIG_SERIAL_SH_SCI=y
726CONFIG_SERIAL_SH_SCI_NR_UARTS=2
585CONFIG_SERIAL_SH_SCI_CONSOLE=y 727CONFIG_SERIAL_SH_SCI_CONSOLE=y
586CONFIG_SERIAL_CORE=y 728CONFIG_SERIAL_CORE=y
587CONFIG_SERIAL_CORE_CONSOLE=y 729CONFIG_SERIAL_CORE_CONSOLE=y
730# CONFIG_SERIAL_JSM is not set
588CONFIG_UNIX98_PTYS=y 731CONFIG_UNIX98_PTYS=y
589CONFIG_LEGACY_PTYS=y 732CONFIG_LEGACY_PTYS=y
590CONFIG_LEGACY_PTY_COUNT=256 733CONFIG_LEGACY_PTY_COUNT=256
@@ -605,14 +748,14 @@ CONFIG_WATCHDOG=y
605# 748#
606# CONFIG_SOFT_WATCHDOG is not set 749# CONFIG_SOFT_WATCHDOG is not set
607CONFIG_SH_WDT=m 750CONFIG_SH_WDT=m
751# CONFIG_SH_WDT_MMAP is not set
608 752
609# 753#
610# PCI-based Watchdog Cards 754# PCI-based Watchdog Cards
611# 755#
612# CONFIG_PCIPCWATCHDOG is not set 756# CONFIG_PCIPCWATCHDOG is not set
613# CONFIG_WDTPCI is not set 757# CONFIG_WDTPCI is not set
614# CONFIG_RTC is not set 758CONFIG_HW_RANDOM=y
615CONFIG_SH03_RTC=y
616# CONFIG_GEN_RTC is not set 759# CONFIG_GEN_RTC is not set
617# CONFIG_DTLK is not set 760# CONFIG_DTLK is not set
618# CONFIG_R3964 is not set 761# CONFIG_R3964 is not set
@@ -625,14 +768,35 @@ CONFIG_SH03_RTC=y
625# CONFIG_RAW_DRIVER is not set 768# CONFIG_RAW_DRIVER is not set
626 769
627# 770#
771# TPM devices
772#
773# CONFIG_TCG_TPM is not set
774# CONFIG_TELCLOCK is not set
775
776#
628# I2C support 777# I2C support
629# 778#
630# CONFIG_I2C is not set 779# CONFIG_I2C is not set
631 780
632# 781#
782# SPI support
783#
784# CONFIG_SPI is not set
785# CONFIG_SPI_MASTER is not set
786
787#
633# Dallas's 1-wire bus 788# Dallas's 1-wire bus
634# 789#
635# CONFIG_W1 is not set 790
791#
792# Hardware Monitoring support
793#
794CONFIG_HWMON=y
795# CONFIG_HWMON_VID is not set
796# CONFIG_SENSORS_ABITUGURU is not set
797# CONFIG_SENSORS_F71805F is not set
798# CONFIG_SENSORS_VT1211 is not set
799# CONFIG_HWMON_DEBUG_CHIP is not set
636 800
637# 801#
638# Misc devices 802# Misc devices
@@ -642,6 +806,7 @@ CONFIG_SH03_RTC=y
642# Multimedia devices 806# Multimedia devices
643# 807#
644# CONFIG_VIDEO_DEV is not set 808# CONFIG_VIDEO_DEV is not set
809CONFIG_VIDEO_V4L2=y
645 810
646# 811#
647# Digital Video Broadcasting Devices 812# Digital Video Broadcasting Devices
@@ -651,13 +816,14 @@ CONFIG_SH03_RTC=y
651# 816#
652# Graphics support 817# Graphics support
653# 818#
819CONFIG_FIRMWARE_EDID=y
654# CONFIG_FB is not set 820# CONFIG_FB is not set
655 821
656# 822#
657# Console display driver support 823# Console display driver support
658# 824#
659# CONFIG_VGA_CONSOLE is not set
660CONFIG_DUMMY_CONSOLE=y 825CONFIG_DUMMY_CONSOLE=y
826# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
661 827
662# 828#
663# Sound 829# Sound
@@ -667,12 +833,13 @@ CONFIG_DUMMY_CONSOLE=y
667# 833#
668# USB support 834# USB support
669# 835#
670# CONFIG_USB is not set
671CONFIG_USB_ARCH_HAS_HCD=y 836CONFIG_USB_ARCH_HAS_HCD=y
672CONFIG_USB_ARCH_HAS_OHCI=y 837CONFIG_USB_ARCH_HAS_OHCI=y
838CONFIG_USB_ARCH_HAS_EHCI=y
839# CONFIG_USB is not set
673 840
674# 841#
675# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 842# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
676# 843#
677 844
678# 845#
@@ -686,17 +853,53 @@ CONFIG_USB_ARCH_HAS_OHCI=y
686# CONFIG_MMC is not set 853# CONFIG_MMC is not set
687 854
688# 855#
856# LED devices
857#
858# CONFIG_NEW_LEDS is not set
859
860#
861# LED drivers
862#
863
864#
865# LED Triggers
866#
867
868#
689# InfiniBand support 869# InfiniBand support
690# 870#
691# CONFIG_INFINIBAND is not set 871# CONFIG_INFINIBAND is not set
692 872
693# 873#
874# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
875#
876
877#
878# Real Time Clock
879#
880# CONFIG_RTC_CLASS is not set
881
882#
883# DMA Engine support
884#
885# CONFIG_DMA_ENGINE is not set
886
887#
888# DMA Clients
889#
890
891#
892# DMA Devices
893#
894
895#
694# File systems 896# File systems
695# 897#
696CONFIG_EXT2_FS=y 898CONFIG_EXT2_FS=y
697CONFIG_EXT2_FS_XATTR=y 899CONFIG_EXT2_FS_XATTR=y
698# CONFIG_EXT2_FS_POSIX_ACL is not set 900# CONFIG_EXT2_FS_POSIX_ACL is not set
699# CONFIG_EXT2_FS_SECURITY is not set 901# CONFIG_EXT2_FS_SECURITY is not set
902# CONFIG_EXT2_FS_XIP is not set
700CONFIG_EXT3_FS=y 903CONFIG_EXT3_FS=y
701CONFIG_EXT3_FS_XATTR=y 904CONFIG_EXT3_FS_XATTR=y
702CONFIG_EXT3_FS_POSIX_ACL=y 905CONFIG_EXT3_FS_POSIX_ACL=y
@@ -707,17 +910,17 @@ CONFIG_FS_MBCACHE=y
707# CONFIG_REISERFS_FS is not set 910# CONFIG_REISERFS_FS is not set
708# CONFIG_JFS_FS is not set 911# CONFIG_JFS_FS is not set
709CONFIG_FS_POSIX_ACL=y 912CONFIG_FS_POSIX_ACL=y
710
711#
712# XFS support
713#
714# CONFIG_XFS_FS is not set 913# CONFIG_XFS_FS is not set
914# CONFIG_OCFS2_FS is not set
715# CONFIG_MINIX_FS is not set 915# CONFIG_MINIX_FS is not set
716# CONFIG_ROMFS_FS is not set 916# CONFIG_ROMFS_FS is not set
917CONFIG_INOTIFY=y
918CONFIG_INOTIFY_USER=y
717# CONFIG_QUOTA is not set 919# CONFIG_QUOTA is not set
718CONFIG_DNOTIFY=y 920CONFIG_DNOTIFY=y
719CONFIG_AUTOFS_FS=y 921CONFIG_AUTOFS_FS=y
720CONFIG_AUTOFS4_FS=y 922CONFIG_AUTOFS4_FS=y
923# CONFIG_FUSE_FS is not set
721 924
722# 925#
723# CD-ROM/DVD Filesystems 926# CD-ROM/DVD Filesystems
@@ -744,14 +947,14 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
744# 947#
745CONFIG_PROC_FS=y 948CONFIG_PROC_FS=y
746CONFIG_PROC_KCORE=y 949CONFIG_PROC_KCORE=y
950CONFIG_PROC_SYSCTL=y
747CONFIG_SYSFS=y 951CONFIG_SYSFS=y
748# CONFIG_DEVFS_FS is not set
749# CONFIG_DEVPTS_FS_XATTR is not set
750CONFIG_TMPFS=y 952CONFIG_TMPFS=y
751# CONFIG_TMPFS_XATTR is not set 953# CONFIG_TMPFS_POSIX_ACL is not set
752# CONFIG_HUGETLBFS is not set 954# CONFIG_HUGETLBFS is not set
753# CONFIG_HUGETLB_PAGE is not set 955# CONFIG_HUGETLB_PAGE is not set
754CONFIG_RAMFS=y 956CONFIG_RAMFS=y
957# CONFIG_CONFIGFS_FS is not set
755 958
756# 959#
757# Miscellaneous filesystems 960# Miscellaneous filesystems
@@ -775,16 +978,19 @@ CONFIG_RAMFS=y
775# 978#
776CONFIG_NFS_FS=y 979CONFIG_NFS_FS=y
777CONFIG_NFS_V3=y 980CONFIG_NFS_V3=y
981# CONFIG_NFS_V3_ACL is not set
778CONFIG_NFS_V4=y 982CONFIG_NFS_V4=y
779# CONFIG_NFS_DIRECTIO is not set 983# CONFIG_NFS_DIRECTIO is not set
780CONFIG_NFSD=y 984CONFIG_NFSD=y
781CONFIG_NFSD_V3=y 985CONFIG_NFSD_V3=y
986# CONFIG_NFSD_V3_ACL is not set
782# CONFIG_NFSD_V4 is not set 987# CONFIG_NFSD_V4 is not set
783CONFIG_NFSD_TCP=y 988CONFIG_NFSD_TCP=y
784CONFIG_ROOT_NFS=y 989CONFIG_ROOT_NFS=y
785CONFIG_LOCKD=y 990CONFIG_LOCKD=y
786CONFIG_LOCKD_V4=y 991CONFIG_LOCKD_V4=y
787CONFIG_EXPORTFS=y 992CONFIG_EXPORTFS=y
993CONFIG_NFS_COMMON=y
788CONFIG_SUNRPC=y 994CONFIG_SUNRPC=y
789CONFIG_SUNRPC_GSS=y 995CONFIG_SUNRPC_GSS=y
790CONFIG_RPCSEC_GSS_KRB5=y 996CONFIG_RPCSEC_GSS_KRB5=y
@@ -794,6 +1000,7 @@ CONFIG_RPCSEC_GSS_KRB5=y
794# CONFIG_NCP_FS is not set 1000# CONFIG_NCP_FS is not set
795# CONFIG_CODA_FS is not set 1001# CONFIG_CODA_FS is not set
796# CONFIG_AFS_FS is not set 1002# CONFIG_AFS_FS is not set
1003# CONFIG_9P_FS is not set
797 1004
798# 1005#
799# Partition Types 1006# Partition Types
@@ -813,6 +1020,7 @@ CONFIG_MSDOS_PARTITION=y
813# CONFIG_SGI_PARTITION is not set 1020# CONFIG_SGI_PARTITION is not set
814# CONFIG_ULTRIX_PARTITION is not set 1021# CONFIG_ULTRIX_PARTITION is not set
815# CONFIG_SUN_PARTITION is not set 1022# CONFIG_SUN_PARTITION is not set
1023# CONFIG_KARMA_PARTITION is not set
816# CONFIG_EFI_PARTITION is not set 1024# CONFIG_EFI_PARTITION is not set
817 1025
818# 1026#
@@ -868,9 +1076,14 @@ CONFIG_OPROFILE=m
868# 1076#
869# Kernel hacking 1077# Kernel hacking
870# 1078#
1079# CONFIG_PRINTK_TIME is not set
1080CONFIG_ENABLE_MUST_CHECK=y
1081# CONFIG_MAGIC_SYSRQ is not set
1082# CONFIG_UNUSED_SYMBOLS is not set
871# CONFIG_DEBUG_KERNEL is not set 1083# CONFIG_DEBUG_KERNEL is not set
872CONFIG_DEBUG_PREEMPT=y 1084CONFIG_LOG_BUF_SHIFT=14
873# CONFIG_FRAME_POINTER is not set 1085# CONFIG_DEBUG_BUGVERBOSE is not set
1086# CONFIG_DEBUG_FS is not set
874CONFIG_SH_STANDARD_BIOS=y 1087CONFIG_SH_STANDARD_BIOS=y
875# CONFIG_EARLY_SCIF_CONSOLE is not set 1088# CONFIG_EARLY_SCIF_CONSOLE is not set
876# CONFIG_EARLY_PRINTK is not set 1089# CONFIG_EARLY_PRINTK is not set
@@ -886,6 +1099,10 @@ CONFIG_SH_STANDARD_BIOS=y
886# Cryptographic options 1099# Cryptographic options
887# 1100#
888CONFIG_CRYPTO=y 1101CONFIG_CRYPTO=y
1102CONFIG_CRYPTO_ALGAPI=y
1103CONFIG_CRYPTO_BLKCIPHER=m
1104CONFIG_CRYPTO_HASH=y
1105CONFIG_CRYPTO_MANAGER=m
889CONFIG_CRYPTO_HMAC=y 1106CONFIG_CRYPTO_HMAC=y
890# CONFIG_CRYPTO_NULL is not set 1107# CONFIG_CRYPTO_NULL is not set
891# CONFIG_CRYPTO_MD4 is not set 1108# CONFIG_CRYPTO_MD4 is not set
@@ -894,6 +1111,9 @@ CONFIG_CRYPTO_SHA1=y
894# CONFIG_CRYPTO_SHA256 is not set 1111# CONFIG_CRYPTO_SHA256 is not set
895# CONFIG_CRYPTO_SHA512 is not set 1112# CONFIG_CRYPTO_SHA512 is not set
896# CONFIG_CRYPTO_WP512 is not set 1113# CONFIG_CRYPTO_WP512 is not set
1114# CONFIG_CRYPTO_TGR192 is not set
1115CONFIG_CRYPTO_ECB=m
1116CONFIG_CRYPTO_CBC=m
897CONFIG_CRYPTO_DES=y 1117CONFIG_CRYPTO_DES=y
898# CONFIG_CRYPTO_BLOWFISH is not set 1118# CONFIG_CRYPTO_BLOWFISH is not set
899# CONFIG_CRYPTO_TWOFISH is not set 1119# CONFIG_CRYPTO_TWOFISH is not set
@@ -918,7 +1138,9 @@ CONFIG_CRYPTO_DEFLATE=y
918# Library routines 1138# Library routines
919# 1139#
920CONFIG_CRC_CCITT=y 1140CONFIG_CRC_CCITT=y
1141# CONFIG_CRC16 is not set
921CONFIG_CRC32=y 1142CONFIG_CRC32=y
922# CONFIG_LIBCRC32C is not set 1143# CONFIG_LIBCRC32C is not set
923CONFIG_ZLIB_INFLATE=y 1144CONFIG_ZLIB_INFLATE=y
924CONFIG_ZLIB_DEFLATE=y 1145CONFIG_ZLIB_DEFLATE=y
1146CONFIG_PLIST=y
diff --git a/arch/sh/configs/sh7710voipgw_defconfig b/arch/sh/configs/sh7710voipgw_defconfig
index ec9a3034daa5..9380c321169a 100644
--- a/arch/sh/configs/sh7710voipgw_defconfig
+++ b/arch/sh/configs/sh7710voipgw_defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.17 3# Linux kernel version: 2.6.18
4# Mon Aug 7 17:07:06 2006 4# Tue Oct 3 12:48:56 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
@@ -10,6 +10,7 @@ CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
12CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 14
14# 15#
15# Code maturity level options 16# Code maturity level options
@@ -25,16 +26,20 @@ CONFIG_LOCALVERSION=""
25CONFIG_LOCALVERSION_AUTO=y 26CONFIG_LOCALVERSION_AUTO=y
26# CONFIG_SWAP is not set 27# CONFIG_SWAP is not set
27CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_IPC_NS is not set
28CONFIG_POSIX_MQUEUE=y 30CONFIG_POSIX_MQUEUE=y
29# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
31# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
32# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
33# CONFIG_RELAY is not set 36# CONFIG_RELAY is not set
34CONFIG_INITRAMFS_SOURCE="" 37CONFIG_INITRAMFS_SOURCE=""
35CONFIG_UID16=y
36CONFIG_CC_OPTIMIZE_FOR_SIZE=y 38CONFIG_CC_OPTIMIZE_FOR_SIZE=y
39CONFIG_SYSCTL=y
37CONFIG_EMBEDDED=y 40CONFIG_EMBEDDED=y
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
38CONFIG_KALLSYMS=y 43CONFIG_KALLSYMS=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 44# CONFIG_KALLSYMS_EXTRA_PASS is not set
40CONFIG_HOTPLUG=y 45CONFIG_HOTPLUG=y
@@ -46,10 +51,10 @@ CONFIG_BASE_FULL=y
46# CONFIG_EPOLL is not set 51# CONFIG_EPOLL is not set
47# CONFIG_SHMEM is not set 52# CONFIG_SHMEM is not set
48CONFIG_SLAB=y 53CONFIG_SLAB=y
54CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_TINY_SHMEM=y 55CONFIG_TINY_SHMEM=y
50CONFIG_BASE_SMALL=0 56CONFIG_BASE_SMALL=0
51# CONFIG_SLOB is not set 57# CONFIG_SLOB is not set
52CONFIG_OBSOLETE_INTERMODULE=y
53 58
54# 59#
55# Loadable module support 60# Loadable module support
@@ -64,6 +69,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y
64# 69#
65# Block layer 70# Block layer
66# 71#
72CONFIG_BLOCK=y
67# CONFIG_LBD is not set 73# CONFIG_LBD is not set
68# CONFIG_BLK_DEV_IO_TRACE is not set 74# CONFIG_BLK_DEV_IO_TRACE is not set
69# CONFIG_LSF is not set 75# CONFIG_LSF is not set
@@ -87,6 +93,7 @@ CONFIG_DEFAULT_IOSCHED="deadline"
87# CONFIG_SH_SOLUTION_ENGINE is not set 93# CONFIG_SH_SOLUTION_ENGINE is not set
88# CONFIG_SH_7751_SOLUTION_ENGINE is not set 94# CONFIG_SH_7751_SOLUTION_ENGINE is not set
89# CONFIG_SH_7300_SOLUTION_ENGINE is not set 95# CONFIG_SH_7300_SOLUTION_ENGINE is not set
96# CONFIG_SH_7343_SOLUTION_ENGINE is not set
90# CONFIG_SH_73180_SOLUTION_ENGINE is not set 97# CONFIG_SH_73180_SOLUTION_ENGINE is not set
91# CONFIG_SH_7751_SYSTEMH is not set 98# CONFIG_SH_7751_SYSTEMH is not set
92# CONFIG_SH_HP6XX is not set 99# CONFIG_SH_HP6XX is not set
@@ -150,17 +157,23 @@ CONFIG_CPU_SUBTYPE_SH7710=y
150# 157#
151# SH-4A Processor Support 158# SH-4A Processor Support
152# 159#
153# CONFIG_CPU_SUBTYPE_SH73180 is not set
154# CONFIG_CPU_SUBTYPE_SH7770 is not set 160# CONFIG_CPU_SUBTYPE_SH7770 is not set
155# CONFIG_CPU_SUBTYPE_SH7780 is not set 161# CONFIG_CPU_SUBTYPE_SH7780 is not set
156 162
157# 163#
164# SH4AL-DSP Processor Support
165#
166# CONFIG_CPU_SUBTYPE_SH73180 is not set
167# CONFIG_CPU_SUBTYPE_SH7343 is not set
168
169#
158# Memory management options 170# Memory management options
159# 171#
160CONFIG_MMU=y 172CONFIG_MMU=y
161CONFIG_PAGE_OFFSET=0x80000000 173CONFIG_PAGE_OFFSET=0x80000000
162CONFIG_MEMORY_START=0x0c000000 174CONFIG_MEMORY_START=0x0c000000
163CONFIG_MEMORY_SIZE=0x00800000 175CONFIG_MEMORY_SIZE=0x00800000
176CONFIG_VSYSCALL=y
164CONFIG_SELECT_MEMORY_MODEL=y 177CONFIG_SELECT_MEMORY_MODEL=y
165CONFIG_FLATMEM_MANUAL=y 178CONFIG_FLATMEM_MANUAL=y
166# CONFIG_DISCONTIGMEM_MANUAL is not set 179# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -169,6 +182,7 @@ CONFIG_FLATMEM=y
169CONFIG_FLAT_NODE_MEM_MAP=y 182CONFIG_FLAT_NODE_MEM_MAP=y
170# CONFIG_SPARSEMEM_STATIC is not set 183# CONFIG_SPARSEMEM_STATIC is not set
171CONFIG_SPLIT_PTLOCK_CPUS=4 184CONFIG_SPLIT_PTLOCK_CPUS=4
185# CONFIG_RESOURCES_64BIT is not set
172 186
173# 187#
174# Cache configuration 188# Cache configuration
@@ -216,10 +230,10 @@ CONFIG_HZ_250=y
216# CONFIG_HZ_1000 is not set 230# CONFIG_HZ_1000 is not set
217CONFIG_HZ=250 231CONFIG_HZ=250
218# CONFIG_KEXEC is not set 232# CONFIG_KEXEC is not set
219# CONFIG_PREEMPT is not set
220# CONFIG_SMP is not set 233# CONFIG_SMP is not set
221CONFIG_PREEMPT_NONE=y 234CONFIG_PREEMPT_NONE=y
222# CONFIG_PREEMPT_VOLUNTARY is not set 235# CONFIG_PREEMPT_VOLUNTARY is not set
236# CONFIG_PREEMPT is not set
223 237
224# 238#
225# Boot options 239# Boot options
@@ -267,6 +281,9 @@ CONFIG_NET=y
267CONFIG_PACKET=y 281CONFIG_PACKET=y
268# CONFIG_PACKET_MMAP is not set 282# CONFIG_PACKET_MMAP is not set
269CONFIG_UNIX=y 283CONFIG_UNIX=y
284CONFIG_XFRM=y
285# CONFIG_XFRM_USER is not set
286# CONFIG_XFRM_SUB_POLICY is not set
270# CONFIG_NET_KEY is not set 287# CONFIG_NET_KEY is not set
271CONFIG_INET=y 288CONFIG_INET=y
272# CONFIG_IP_MULTICAST is not set 289# CONFIG_IP_MULTICAST is not set
@@ -282,9 +299,12 @@ CONFIG_SYN_COOKIES=y
282# CONFIG_INET_IPCOMP is not set 299# CONFIG_INET_IPCOMP is not set
283# CONFIG_INET_XFRM_TUNNEL is not set 300# CONFIG_INET_XFRM_TUNNEL is not set
284# CONFIG_INET_TUNNEL is not set 301# CONFIG_INET_TUNNEL is not set
302CONFIG_INET_XFRM_MODE_TRANSPORT=y
303CONFIG_INET_XFRM_MODE_TUNNEL=y
285# CONFIG_INET_DIAG is not set 304# CONFIG_INET_DIAG is not set
286# CONFIG_TCP_CONG_ADVANCED is not set 305# CONFIG_TCP_CONG_ADVANCED is not set
287CONFIG_TCP_CONG_BIC=y 306CONFIG_TCP_CONG_CUBIC=y
307CONFIG_DEFAULT_TCP_CONG="cubic"
288 308
289# 309#
290# IP: Virtual Server Configuration 310# IP: Virtual Server Configuration
@@ -293,6 +313,7 @@ CONFIG_TCP_CONG_BIC=y
293# CONFIG_IPV6 is not set 313# CONFIG_IPV6 is not set
294# CONFIG_INET6_XFRM_TUNNEL is not set 314# CONFIG_INET6_XFRM_TUNNEL is not set
295# CONFIG_INET6_TUNNEL is not set 315# CONFIG_INET6_TUNNEL is not set
316# CONFIG_NETWORK_SECMARK is not set
296CONFIG_NETFILTER=y 317CONFIG_NETFILTER=y
297# CONFIG_NETFILTER_DEBUG is not set 318# CONFIG_NETFILTER_DEBUG is not set
298 319
@@ -317,6 +338,7 @@ CONFIG_IP_NF_FTP=m
317# CONFIG_IP_NF_AMANDA is not set 338# CONFIG_IP_NF_AMANDA is not set
318CONFIG_IP_NF_PPTP=m 339CONFIG_IP_NF_PPTP=m
319# CONFIG_IP_NF_H323 is not set 340# CONFIG_IP_NF_H323 is not set
341# CONFIG_IP_NF_SIP is not set
320# CONFIG_IP_NF_QUEUE is not set 342# CONFIG_IP_NF_QUEUE is not set
321 343
322# 344#
@@ -342,7 +364,6 @@ CONFIG_IP_NF_PPTP=m
342# CONFIG_ATALK is not set 364# CONFIG_ATALK is not set
343# CONFIG_X25 is not set 365# CONFIG_X25 is not set
344# CONFIG_LAPB is not set 366# CONFIG_LAPB is not set
345# CONFIG_NET_DIVERT is not set
346# CONFIG_ECONET is not set 367# CONFIG_ECONET is not set
347# CONFIG_WAN_ROUTER is not set 368# CONFIG_WAN_ROUTER is not set
348 369
@@ -409,6 +430,7 @@ CONFIG_NET_ESTIMATOR=y
409CONFIG_STANDALONE=y 430CONFIG_STANDALONE=y
410CONFIG_PREVENT_FIRMWARE_BUILD=y 431CONFIG_PREVENT_FIRMWARE_BUILD=y
411CONFIG_FW_LOADER=y 432CONFIG_FW_LOADER=y
433# CONFIG_SYS_HYPERVISOR is not set
412 434
413# 435#
414# Connector - unified userspace <-> kernelspace linker 436# Connector - unified userspace <-> kernelspace linker
@@ -434,6 +456,7 @@ CONFIG_MTD_BLOCK=y
434# CONFIG_NFTL is not set 456# CONFIG_NFTL is not set
435# CONFIG_INFTL is not set 457# CONFIG_INFTL is not set
436# CONFIG_RFD_FTL is not set 458# CONFIG_RFD_FTL is not set
459# CONFIG_SSFDC is not set
437 460
438# 461#
439# RAM/ROM/Flash chip drivers 462# RAM/ROM/Flash chip drivers
@@ -466,8 +489,6 @@ CONFIG_MTD_RAM=y
466# 489#
467# CONFIG_MTD_COMPLEX_MAPPINGS is not set 490# CONFIG_MTD_COMPLEX_MAPPINGS is not set
468# CONFIG_MTD_PHYSMAP is not set 491# CONFIG_MTD_PHYSMAP is not set
469# CONFIG_MTD_SOLUTIONENGINE is not set
470CONFIG_MTD_SH7710VOIPGW=y
471# CONFIG_MTD_PLATRAM is not set 492# CONFIG_MTD_PLATRAM is not set
472 493
473# 494#
@@ -525,6 +546,12 @@ CONFIG_MTD_SH7710VOIPGW=y
525# 546#
526# CONFIG_RAID_ATTRS is not set 547# CONFIG_RAID_ATTRS is not set
527# CONFIG_SCSI is not set 548# CONFIG_SCSI is not set
549# CONFIG_SCSI_NETLINK is not set
550
551#
552# Serial ATA (prod) and Parallel ATA (experimental) drivers
553#
554# CONFIG_ATA is not set
528 555
529# 556#
530# Multi-device support (RAID and LVM) 557# Multi-device support (RAID and LVM)
@@ -565,7 +592,6 @@ CONFIG_NET_ETHERNET=y
565# CONFIG_MII is not set 592# CONFIG_MII is not set
566# CONFIG_STNIC is not set 593# CONFIG_STNIC is not set
567# CONFIG_SMC91X is not set 594# CONFIG_SMC91X is not set
568# CONFIG_NE2000 is not set
569 595
570# 596#
571# Ethernet (1000 Mbit) 597# Ethernet (1000 Mbit)
@@ -610,6 +636,7 @@ CONFIG_PHONE=y
610# Input device support 636# Input device support
611# 637#
612CONFIG_INPUT=y 638CONFIG_INPUT=y
639# CONFIG_INPUT_FF_MEMLESS is not set
613 640
614# 641#
615# Userland interfaces 642# Userland interfaces
@@ -667,7 +694,7 @@ CONFIG_LEGACY_PTY_COUNT=256
667# Watchdog Cards 694# Watchdog Cards
668# 695#
669# CONFIG_WATCHDOG is not set 696# CONFIG_WATCHDOG is not set
670# CONFIG_RTC is not set 697CONFIG_HW_RANDOM=y
671# CONFIG_GEN_RTC is not set 698# CONFIG_GEN_RTC is not set
672# CONFIG_DTLK is not set 699# CONFIG_DTLK is not set
673# CONFIG_R3964 is not set 700# CONFIG_R3964 is not set
@@ -697,7 +724,6 @@ CONFIG_LEGACY_PTY_COUNT=256
697# 724#
698# Dallas's 1-wire bus 725# Dallas's 1-wire bus
699# 726#
700# CONFIG_W1 is not set
701 727
702# 728#
703# Hardware Monitoring support 729# Hardware Monitoring support
@@ -723,7 +749,9 @@ CONFIG_VIDEO_V4L2=y
723# 749#
724# Graphics support 750# Graphics support
725# 751#
752CONFIG_FIRMWARE_EDID=y
726# CONFIG_FB is not set 753# CONFIG_FB is not set
754# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
727 755
728# 756#
729# Sound 757# Sound
@@ -778,6 +806,19 @@ CONFIG_VIDEO_V4L2=y
778# CONFIG_RTC_CLASS is not set 806# CONFIG_RTC_CLASS is not set
779 807
780# 808#
809# DMA Engine support
810#
811# CONFIG_DMA_ENGINE is not set
812
813#
814# DMA Clients
815#
816
817#
818# DMA Devices
819#
820
821#
781# File systems 822# File systems
782# 823#
783# CONFIG_EXT2_FS is not set 824# CONFIG_EXT2_FS is not set
@@ -814,8 +855,10 @@ CONFIG_VIDEO_V4L2=y
814# 855#
815CONFIG_PROC_FS=y 856CONFIG_PROC_FS=y
816# CONFIG_PROC_KCORE is not set 857# CONFIG_PROC_KCORE is not set
858CONFIG_PROC_SYSCTL=y
817CONFIG_SYSFS=y 859CONFIG_SYSFS=y
818CONFIG_TMPFS=y 860CONFIG_TMPFS=y
861# CONFIG_TMPFS_POSIX_ACL is not set
819# CONFIG_HUGETLBFS is not set 862# CONFIG_HUGETLBFS is not set
820# CONFIG_HUGETLB_PAGE is not set 863# CONFIG_HUGETLB_PAGE is not set
821CONFIG_RAMFS=y 864CONFIG_RAMFS=y
@@ -836,6 +879,7 @@ CONFIG_JFFS2_FS=y
836CONFIG_JFFS2_FS_DEBUG=0 879CONFIG_JFFS2_FS_DEBUG=0
837CONFIG_JFFS2_FS_WRITEBUFFER=y 880CONFIG_JFFS2_FS_WRITEBUFFER=y
838# CONFIG_JFFS2_SUMMARY is not set 881# CONFIG_JFFS2_SUMMARY is not set
882# CONFIG_JFFS2_FS_XATTR is not set
839# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 883# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
840CONFIG_JFFS2_ZLIB=y 884CONFIG_JFFS2_ZLIB=y
841CONFIG_JFFS2_RTIME=y 885CONFIG_JFFS2_RTIME=y
@@ -879,7 +923,9 @@ CONFIG_MSDOS_PARTITION=y
879# Kernel hacking 923# Kernel hacking
880# 924#
881# CONFIG_PRINTK_TIME is not set 925# CONFIG_PRINTK_TIME is not set
926CONFIG_ENABLE_MUST_CHECK=y
882# CONFIG_MAGIC_SYSRQ is not set 927# CONFIG_MAGIC_SYSRQ is not set
928# CONFIG_UNUSED_SYMBOLS is not set
883# CONFIG_DEBUG_KERNEL is not set 929# CONFIG_DEBUG_KERNEL is not set
884CONFIG_LOG_BUF_SHIFT=14 930CONFIG_LOG_BUF_SHIFT=14
885# CONFIG_DEBUG_BUGVERBOSE is not set 931# CONFIG_DEBUG_BUGVERBOSE is not set
@@ -899,10 +945,6 @@ CONFIG_LOG_BUF_SHIFT=14
899# CONFIG_CRYPTO is not set 945# CONFIG_CRYPTO is not set
900 946
901# 947#
902# Hardware crypto devices
903#
904
905#
906# Library routines 948# Library routines
907# 949#
908# CONFIG_CRC_CCITT is not set 950# CONFIG_CRC_CCITT is not set
diff --git a/arch/sh/configs/shmin_defconfig b/arch/sh/configs/shmin_defconfig
index 382b3bd3963b..8800fefcbaf0 100644
--- a/arch/sh/configs/shmin_defconfig
+++ b/arch/sh/configs/shmin_defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.17 3# Linux kernel version: 2.6.18
4# Wed Aug 2 01:45:03 2006 4# Tue Oct 3 12:52:49 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
@@ -10,7 +10,7 @@ CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
12CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_PTRACE=y 13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
14 14
15# 15#
16# Code maturity level options 16# Code maturity level options
@@ -28,14 +28,17 @@ CONFIG_LOCALVERSION_AUTO=y
28# CONFIG_SYSVIPC is not set 28# CONFIG_SYSVIPC is not set
29# CONFIG_POSIX_MQUEUE is not set 29# CONFIG_POSIX_MQUEUE is not set
30# CONFIG_BSD_PROCESS_ACCT is not set 30# CONFIG_BSD_PROCESS_ACCT is not set
31# CONFIG_SYSCTL is not set 31# CONFIG_TASKSTATS is not set
32# CONFIG_UTS_NS is not set
32# CONFIG_AUDIT is not set 33# CONFIG_AUDIT is not set
33# CONFIG_IKCONFIG is not set 34# CONFIG_IKCONFIG is not set
34# CONFIG_RELAY is not set 35# CONFIG_RELAY is not set
35CONFIG_INITRAMFS_SOURCE="" 36CONFIG_INITRAMFS_SOURCE=""
36# CONFIG_UID16 is not set
37CONFIG_CC_OPTIMIZE_FOR_SIZE=y 37CONFIG_CC_OPTIMIZE_FOR_SIZE=y
38CONFIG_SYSCTL=y
38CONFIG_EMBEDDED=y 39CONFIG_EMBEDDED=y
40# CONFIG_UID16 is not set
41# CONFIG_SYSCTL_SYSCALL is not set
39# CONFIG_KALLSYMS is not set 42# CONFIG_KALLSYMS is not set
40# CONFIG_HOTPLUG is not set 43# CONFIG_HOTPLUG is not set
41CONFIG_PRINTK=y 44CONFIG_PRINTK=y
@@ -46,10 +49,10 @@ CONFIG_PRINTK=y
46# CONFIG_EPOLL is not set 49# CONFIG_EPOLL is not set
47# CONFIG_SHMEM is not set 50# CONFIG_SHMEM is not set
48# CONFIG_SLAB is not set 51# CONFIG_SLAB is not set
52CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_TINY_SHMEM=y 53CONFIG_TINY_SHMEM=y
50CONFIG_BASE_SMALL=1 54CONFIG_BASE_SMALL=1
51CONFIG_SLOB=y 55CONFIG_SLOB=y
52CONFIG_OBSOLETE_INTERMODULE=y
53 56
54# 57#
55# Loadable module support 58# Loadable module support
@@ -59,6 +62,7 @@ CONFIG_OBSOLETE_INTERMODULE=y
59# 62#
60# Block layer 63# Block layer
61# 64#
65CONFIG_BLOCK=y
62# CONFIG_LBD is not set 66# CONFIG_LBD is not set
63# CONFIG_LSF is not set 67# CONFIG_LSF is not set
64 68
@@ -79,27 +83,21 @@ CONFIG_DEFAULT_IOSCHED="noop"
79# System type 83# System type
80# 84#
81# CONFIG_SH_SOLUTION_ENGINE is not set 85# CONFIG_SH_SOLUTION_ENGINE is not set
82# CONFIG_SH_7709_SOLUTION_ENGINE is not set
83# CONFIG_SH_7751_SOLUTION_ENGINE is not set 86# CONFIG_SH_7751_SOLUTION_ENGINE is not set
84# CONFIG_SH_7300_SOLUTION_ENGINE is not set 87# CONFIG_SH_7300_SOLUTION_ENGINE is not set
88# CONFIG_SH_7343_SOLUTION_ENGINE is not set
85# CONFIG_SH_73180_SOLUTION_ENGINE is not set 89# CONFIG_SH_73180_SOLUTION_ENGINE is not set
86# CONFIG_SH_7751_SYSTEMH is not set 90# CONFIG_SH_7751_SYSTEMH is not set
87# CONFIG_SH_STB1_HARP is not set
88# CONFIG_SH_STB1_OVERDRIVE is not set
89# CONFIG_SH_HP6XX is not set 91# CONFIG_SH_HP6XX is not set
90# CONFIG_SH_CQREEK is not set
91# CONFIG_SH_DMIDA is not set
92# CONFIG_SH_EC3104 is not set 92# CONFIG_SH_EC3104 is not set
93# CONFIG_SH_SATURN is not set 93# CONFIG_SH_SATURN is not set
94# CONFIG_SH_DREAMCAST is not set 94# CONFIG_SH_DREAMCAST is not set
95# CONFIG_SH_CAT68701 is not set
96# CONFIG_SH_BIGSUR is not set 95# CONFIG_SH_BIGSUR is not set
97# CONFIG_SH_SH2000 is not set
98# CONFIG_SH_ADX is not set
99# CONFIG_SH_MPC1211 is not set 96# CONFIG_SH_MPC1211 is not set
100# CONFIG_SH_SH03 is not set 97# CONFIG_SH_SH03 is not set
101# CONFIG_SH_SECUREEDGE5410 is not set 98# CONFIG_SH_SECUREEDGE5410 is not set
102# CONFIG_SH_HS7751RVOIP is not set 99# CONFIG_SH_HS7751RVOIP is not set
100# CONFIG_SH_7710VOIPGW is not set
103# CONFIG_SH_RTS7751R2D is not set 101# CONFIG_SH_RTS7751R2D is not set
104# CONFIG_SH_R7780RP is not set 102# CONFIG_SH_R7780RP is not set
105# CONFIG_SH_EDOSK7705 is not set 103# CONFIG_SH_EDOSK7705 is not set
@@ -128,6 +126,7 @@ CONFIG_CPU_SUBTYPE_SH7706=y
128# CONFIG_CPU_SUBTYPE_SH7707 is not set 126# CONFIG_CPU_SUBTYPE_SH7707 is not set
129# CONFIG_CPU_SUBTYPE_SH7708 is not set 127# CONFIG_CPU_SUBTYPE_SH7708 is not set
130# CONFIG_CPU_SUBTYPE_SH7709 is not set 128# CONFIG_CPU_SUBTYPE_SH7709 is not set
129# CONFIG_CPU_SUBTYPE_SH7710 is not set
131 130
132# 131#
133# SH-4 Processor Support 132# SH-4 Processor Support
@@ -150,17 +149,23 @@ CONFIG_CPU_SUBTYPE_SH7706=y
150# 149#
151# SH-4A Processor Support 150# SH-4A Processor Support
152# 151#
153# CONFIG_CPU_SUBTYPE_SH73180 is not set
154# CONFIG_CPU_SUBTYPE_SH7770 is not set 152# CONFIG_CPU_SUBTYPE_SH7770 is not set
155# CONFIG_CPU_SUBTYPE_SH7780 is not set 153# CONFIG_CPU_SUBTYPE_SH7780 is not set
156 154
157# 155#
156# SH4AL-DSP Processor Support
157#
158# CONFIG_CPU_SUBTYPE_SH73180 is not set
159# CONFIG_CPU_SUBTYPE_SH7343 is not set
160
161#
158# Memory management options 162# Memory management options
159# 163#
160CONFIG_MMU=y 164CONFIG_MMU=y
161CONFIG_PAGE_OFFSET=0x80000000 165CONFIG_PAGE_OFFSET=0x80000000
162CONFIG_MEMORY_START=0x0c000000 166CONFIG_MEMORY_START=0x0c000000
163CONFIG_MEMORY_SIZE=0x00800000 167CONFIG_MEMORY_SIZE=0x00800000
168CONFIG_VSYSCALL=y
164CONFIG_SELECT_MEMORY_MODEL=y 169CONFIG_SELECT_MEMORY_MODEL=y
165CONFIG_FLATMEM_MANUAL=y 170CONFIG_FLATMEM_MANUAL=y
166# CONFIG_DISCONTIGMEM_MANUAL is not set 171# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -169,6 +174,7 @@ CONFIG_FLATMEM=y
169CONFIG_FLAT_NODE_MEM_MAP=y 174CONFIG_FLAT_NODE_MEM_MAP=y
170# CONFIG_SPARSEMEM_STATIC is not set 175# CONFIG_SPARSEMEM_STATIC is not set
171CONFIG_SPLIT_PTLOCK_CPUS=4 176CONFIG_SPLIT_PTLOCK_CPUS=4
177# CONFIG_RESOURCES_64BIT is not set
172 178
173# 179#
174# Cache configuration 180# Cache configuration
@@ -211,9 +217,15 @@ CONFIG_SH_PCLK_FREQ=32000000
211# 217#
212# Kernel features 218# Kernel features
213# 219#
220# CONFIG_HZ_100 is not set
221CONFIG_HZ_250=y
222# CONFIG_HZ_1000 is not set
223CONFIG_HZ=250
214# CONFIG_KEXEC is not set 224# CONFIG_KEXEC is not set
215# CONFIG_PREEMPT is not set
216# CONFIG_SMP is not set 225# CONFIG_SMP is not set
226CONFIG_PREEMPT_NONE=y
227# CONFIG_PREEMPT_VOLUNTARY is not set
228# CONFIG_PREEMPT is not set
217 229
218# 230#
219# Boot options 231# Boot options
@@ -232,7 +244,6 @@ CONFIG_CMDLINE="console=ttySC1,115200 root=1f01 mtdparts=phys_mapped_flash:64k(f
232# 244#
233# PCCARD (PCMCIA/CardBus) support 245# PCCARD (PCMCIA/CardBus) support
234# 246#
235# CONFIG_PCCARD is not set
236 247
237# 248#
238# PCI Hotplug Support 249# PCI Hotplug Support
@@ -261,6 +272,9 @@ CONFIG_NET=y
261# CONFIG_NETDEBUG is not set 272# CONFIG_NETDEBUG is not set
262# CONFIG_PACKET is not set 273# CONFIG_PACKET is not set
263CONFIG_UNIX=y 274CONFIG_UNIX=y
275CONFIG_XFRM=y
276# CONFIG_XFRM_USER is not set
277# CONFIG_XFRM_SUB_POLICY is not set
264# CONFIG_NET_KEY is not set 278# CONFIG_NET_KEY is not set
265CONFIG_INET=y 279CONFIG_INET=y
266# CONFIG_IP_MULTICAST is not set 280# CONFIG_IP_MULTICAST is not set
@@ -279,13 +293,17 @@ CONFIG_IP_PNP=y
279# CONFIG_INET_IPCOMP is not set 293# CONFIG_INET_IPCOMP is not set
280# CONFIG_INET_XFRM_TUNNEL is not set 294# CONFIG_INET_XFRM_TUNNEL is not set
281# CONFIG_INET_TUNNEL is not set 295# CONFIG_INET_TUNNEL is not set
296CONFIG_INET_XFRM_MODE_TRANSPORT=y
297CONFIG_INET_XFRM_MODE_TUNNEL=y
282CONFIG_INET_DIAG=y 298CONFIG_INET_DIAG=y
283CONFIG_INET_TCP_DIAG=y 299CONFIG_INET_TCP_DIAG=y
284# CONFIG_TCP_CONG_ADVANCED is not set 300# CONFIG_TCP_CONG_ADVANCED is not set
285CONFIG_TCP_CONG_BIC=y 301CONFIG_TCP_CONG_CUBIC=y
302CONFIG_DEFAULT_TCP_CONG="cubic"
286# CONFIG_IPV6 is not set 303# CONFIG_IPV6 is not set
287# CONFIG_INET6_XFRM_TUNNEL is not set 304# CONFIG_INET6_XFRM_TUNNEL is not set
288# CONFIG_INET6_TUNNEL is not set 305# CONFIG_INET6_TUNNEL is not set
306# CONFIG_NETWORK_SECMARK is not set
289# CONFIG_NETFILTER is not set 307# CONFIG_NETFILTER is not set
290 308
291# 309#
@@ -311,7 +329,6 @@ CONFIG_TCP_CONG_BIC=y
311# CONFIG_ATALK is not set 329# CONFIG_ATALK is not set
312# CONFIG_X25 is not set 330# CONFIG_X25 is not set
313# CONFIG_LAPB is not set 331# CONFIG_LAPB is not set
314# CONFIG_NET_DIVERT is not set
315# CONFIG_ECONET is not set 332# CONFIG_ECONET is not set
316# CONFIG_WAN_ROUTER is not set 333# CONFIG_WAN_ROUTER is not set
317 334
@@ -338,7 +355,7 @@ CONFIG_TCP_CONG_BIC=y
338# 355#
339CONFIG_STANDALONE=y 356CONFIG_STANDALONE=y
340CONFIG_PREVENT_FIRMWARE_BUILD=y 357CONFIG_PREVENT_FIRMWARE_BUILD=y
341# CONFIG_FW_LOADER is not set 358# CONFIG_SYS_HYPERVISOR is not set
342 359
343# 360#
344# Connector - unified userspace <-> kernelspace linker 361# Connector - unified userspace <-> kernelspace linker
@@ -364,11 +381,12 @@ CONFIG_MTD_BLOCK=y
364# CONFIG_NFTL is not set 381# CONFIG_NFTL is not set
365# CONFIG_INFTL is not set 382# CONFIG_INFTL is not set
366# CONFIG_RFD_FTL is not set 383# CONFIG_RFD_FTL is not set
384# CONFIG_SSFDC is not set
367 385
368# 386#
369# RAM/ROM/Flash chip drivers 387# RAM/ROM/Flash chip drivers
370# 388#
371# CONFIG_MTD_CFI is not set 389CONFIG_MTD_CFI=y
372CONFIG_MTD_JEDECPROBE=y 390CONFIG_MTD_JEDECPROBE=y
373CONFIG_MTD_GEN_PROBE=y 391CONFIG_MTD_GEN_PROBE=y
374# CONFIG_MTD_CFI_ADV_OPTIONS is not set 392# CONFIG_MTD_CFI_ADV_OPTIONS is not set
@@ -457,6 +475,12 @@ CONFIG_BLK_DEV_LOOP=y
457# 475#
458# CONFIG_RAID_ATTRS is not set 476# CONFIG_RAID_ATTRS is not set
459# CONFIG_SCSI is not set 477# CONFIG_SCSI is not set
478# CONFIG_SCSI_NETLINK is not set
479
480#
481# Serial ATA (prod) and Parallel ATA (experimental) drivers
482#
483# CONFIG_ATA is not set
460 484
461# 485#
462# Multi-device support (RAID and LVM) 486# Multi-device support (RAID and LVM)
@@ -497,7 +521,6 @@ CONFIG_NET_ETHERNET=y
497# CONFIG_MII is not set 521# CONFIG_MII is not set
498# CONFIG_STNIC is not set 522# CONFIG_STNIC is not set
499# CONFIG_SMC91X is not set 523# CONFIG_SMC91X is not set
500CONFIG_NE2000=y
501 524
502# 525#
503# Ethernet (1000 Mbit) 526# Ethernet (1000 Mbit)
@@ -580,7 +603,7 @@ CONFIG_LEGACY_PTY_COUNT=256
580# Watchdog Cards 603# Watchdog Cards
581# 604#
582# CONFIG_WATCHDOG is not set 605# CONFIG_WATCHDOG is not set
583# CONFIG_RTC is not set 606CONFIG_HW_RANDOM=y
584# CONFIG_GEN_RTC is not set 607# CONFIG_GEN_RTC is not set
585# CONFIG_DTLK is not set 608# CONFIG_DTLK is not set
586# CONFIG_R3964 is not set 609# CONFIG_R3964 is not set
@@ -610,7 +633,6 @@ CONFIG_LEGACY_PTY_COUNT=256
610# 633#
611# Dallas's 1-wire bus 634# Dallas's 1-wire bus
612# 635#
613# CONFIG_W1 is not set
614 636
615# 637#
616# Hardware Monitoring support 638# Hardware Monitoring support
@@ -636,6 +658,7 @@ CONFIG_VIDEO_V4L2=y
636# 658#
637# Graphics support 659# Graphics support
638# 660#
661CONFIG_FIRMWARE_EDID=y
639# CONFIG_FB is not set 662# CONFIG_FB is not set
640 663
641# 664#
@@ -691,6 +714,19 @@ CONFIG_VIDEO_V4L2=y
691# CONFIG_RTC_CLASS is not set 714# CONFIG_RTC_CLASS is not set
692 715
693# 716#
717# DMA Engine support
718#
719# CONFIG_DMA_ENGINE is not set
720
721#
722# DMA Clients
723#
724
725#
726# DMA Devices
727#
728
729#
694# File systems 730# File systems
695# 731#
696# CONFIG_EXT2_FS is not set 732# CONFIG_EXT2_FS is not set
@@ -699,7 +735,6 @@ CONFIG_VIDEO_V4L2=y
699# CONFIG_JFS_FS is not set 735# CONFIG_JFS_FS is not set
700# CONFIG_FS_POSIX_ACL is not set 736# CONFIG_FS_POSIX_ACL is not set
701# CONFIG_XFS_FS is not set 737# CONFIG_XFS_FS is not set
702# CONFIG_OCFS2_FS is not set
703# CONFIG_MINIX_FS is not set 738# CONFIG_MINIX_FS is not set
704# CONFIG_ROMFS_FS is not set 739# CONFIG_ROMFS_FS is not set
705# CONFIG_INOTIFY is not set 740# CONFIG_INOTIFY is not set
@@ -727,8 +762,10 @@ CONFIG_VIDEO_V4L2=y
727# 762#
728CONFIG_PROC_FS=y 763CONFIG_PROC_FS=y
729# CONFIG_PROC_KCORE is not set 764# CONFIG_PROC_KCORE is not set
765CONFIG_PROC_SYSCTL=y
730# CONFIG_SYSFS is not set 766# CONFIG_SYSFS is not set
731CONFIG_TMPFS=y 767CONFIG_TMPFS=y
768# CONFIG_TMPFS_POSIX_ACL is not set
732# CONFIG_HUGETLBFS is not set 769# CONFIG_HUGETLBFS is not set
733# CONFIG_HUGETLB_PAGE is not set 770# CONFIG_HUGETLB_PAGE is not set
734CONFIG_RAMFS=y 771CONFIG_RAMFS=y
@@ -795,7 +832,9 @@ CONFIG_MSDOS_PARTITION=y
795# Kernel hacking 832# Kernel hacking
796# 833#
797# CONFIG_PRINTK_TIME is not set 834# CONFIG_PRINTK_TIME is not set
835CONFIG_ENABLE_MUST_CHECK=y
798# CONFIG_MAGIC_SYSRQ is not set 836# CONFIG_MAGIC_SYSRQ is not set
837# CONFIG_UNUSED_SYMBOLS is not set
799# CONFIG_DEBUG_KERNEL is not set 838# CONFIG_DEBUG_KERNEL is not set
800CONFIG_LOG_BUF_SHIFT=14 839CONFIG_LOG_BUF_SHIFT=14
801# CONFIG_UNWIND_INFO is not set 840# CONFIG_UNWIND_INFO is not set
@@ -814,10 +853,6 @@ CONFIG_EARLY_PRINTK=y
814# CONFIG_CRYPTO is not set 853# CONFIG_CRYPTO is not set
815 854
816# 855#
817# Hardware crypto devices
818#
819
820#
821# Library routines 856# Library routines
822# 857#
823# CONFIG_CRC_CCITT is not set 858# CONFIG_CRC_CCITT is not set
diff --git a/arch/sh/configs/snapgear_defconfig b/arch/sh/configs/snapgear_defconfig
index 69cf02a24761..98503f16f3f5 100644
--- a/arch/sh/configs/snapgear_defconfig
+++ b/arch/sh/configs/snapgear_defconfig
@@ -1,48 +1,60 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:51 2005 4# Tue Oct 3 12:55:47 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
19 21
20# 22#
21# General setup 23# General setup
22# 24#
23CONFIG_LOCALVERSION="" 25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
24CONFIG_SWAP=y 27CONFIG_SWAP=y
25# CONFIG_SYSVIPC is not set 28# CONFIG_SYSVIPC is not set
26# CONFIG_POSIX_MQUEUE is not set 29# CONFIG_POSIX_MQUEUE is not set
27# CONFIG_BSD_PROCESS_ACCT is not set 30# CONFIG_BSD_PROCESS_ACCT is not set
28# CONFIG_SYSCTL is not set 31# CONFIG_TASKSTATS is not set
32# CONFIG_UTS_NS is not set
29# CONFIG_AUDIT is not set 33# CONFIG_AUDIT is not set
30CONFIG_LOG_BUF_SHIFT=14
31# CONFIG_HOTPLUG is not set
32CONFIG_KOBJECT_UEVENT=y
33# CONFIG_IKCONFIG is not set 34# CONFIG_IKCONFIG is not set
34# CONFIG_EMBEDDED is not set 35# CONFIG_RELAY is not set
36CONFIG_INITRAMFS_SOURCE=""
37CONFIG_CC_OPTIMIZE_FOR_SIZE=y
38CONFIG_SYSCTL=y
39CONFIG_EMBEDDED=y
40CONFIG_UID16=y
41# CONFIG_SYSCTL_SYSCALL is not set
35CONFIG_KALLSYMS=y 42CONFIG_KALLSYMS=y
36# CONFIG_KALLSYMS_EXTRA_PASS is not set 43# CONFIG_KALLSYMS_EXTRA_PASS is not set
44# CONFIG_HOTPLUG is not set
45CONFIG_PRINTK=y
46CONFIG_BUG=y
47CONFIG_ELF_CORE=y
48CONFIG_BASE_FULL=y
37CONFIG_FUTEX=y 49CONFIG_FUTEX=y
38CONFIG_EPOLL=y 50CONFIG_EPOLL=y
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SHMEM=y 51CONFIG_SHMEM=y
41CONFIG_CC_ALIGN_FUNCTIONS=0 52CONFIG_SLAB=y
42CONFIG_CC_ALIGN_LABELS=0 53CONFIG_VM_EVENT_COUNTERS=y
43CONFIG_CC_ALIGN_LOOPS=0 54CONFIG_RT_MUTEXES=y
44CONFIG_CC_ALIGN_JUMPS=0
45# CONFIG_TINY_SHMEM is not set 55# CONFIG_TINY_SHMEM is not set
56CONFIG_BASE_SMALL=0
57# CONFIG_SLOB is not set
46 58
47# 59#
48# Loadable module support 60# Loadable module support
@@ -50,70 +62,145 @@ CONFIG_CC_ALIGN_JUMPS=0
50# CONFIG_MODULES is not set 62# CONFIG_MODULES is not set
51 63
52# 64#
65# Block layer
66#
67CONFIG_BLOCK=y
68# CONFIG_LBD is not set
69# CONFIG_BLK_DEV_IO_TRACE is not set
70# CONFIG_LSF is not set
71
72#
73# IO Schedulers
74#
75CONFIG_IOSCHED_NOOP=y
76CONFIG_IOSCHED_AS=y
77CONFIG_IOSCHED_DEADLINE=y
78CONFIG_IOSCHED_CFQ=y
79CONFIG_DEFAULT_AS=y
80# CONFIG_DEFAULT_DEADLINE is not set
81# CONFIG_DEFAULT_CFQ is not set
82# CONFIG_DEFAULT_NOOP is not set
83CONFIG_DEFAULT_IOSCHED="anticipatory"
84
85#
53# System type 86# System type
54# 87#
55# CONFIG_SH_SOLUTION_ENGINE is not set 88# CONFIG_SH_SOLUTION_ENGINE is not set
56# CONFIG_SH_7751_SOLUTION_ENGINE is not set 89# CONFIG_SH_7751_SOLUTION_ENGINE is not set
57# CONFIG_SH_7300_SOLUTION_ENGINE is not set 90# CONFIG_SH_7300_SOLUTION_ENGINE is not set
91# CONFIG_SH_7343_SOLUTION_ENGINE is not set
58# CONFIG_SH_73180_SOLUTION_ENGINE is not set 92# CONFIG_SH_73180_SOLUTION_ENGINE is not set
59# CONFIG_SH_7751_SYSTEMH is not set 93# CONFIG_SH_7751_SYSTEMH is not set
60# CONFIG_SH_STB1_HARP is not set 94# CONFIG_SH_HP6XX is not set
61# CONFIG_SH_STB1_OVERDRIVE is not set
62# CONFIG_SH_HP620 is not set
63# CONFIG_SH_HP680 is not set
64# CONFIG_SH_HP690 is not set
65# CONFIG_SH_CQREEK is not set
66# CONFIG_SH_DMIDA is not set
67# CONFIG_SH_EC3104 is not set 95# CONFIG_SH_EC3104 is not set
68# CONFIG_SH_SATURN is not set 96# CONFIG_SH_SATURN is not set
69# CONFIG_SH_DREAMCAST is not set 97# CONFIG_SH_DREAMCAST is not set
70# CONFIG_SH_CAT68701 is not set
71# CONFIG_SH_BIGSUR is not set 98# CONFIG_SH_BIGSUR is not set
72# CONFIG_SH_SH2000 is not set
73# CONFIG_SH_ADX is not set
74# CONFIG_SH_MPC1211 is not set 99# CONFIG_SH_MPC1211 is not set
75# CONFIG_SH_SH03 is not set 100# CONFIG_SH_SH03 is not set
76CONFIG_SH_SECUREEDGE5410=y 101CONFIG_SH_SECUREEDGE5410=y
77# CONFIG_SH_HS7751RVOIP is not set 102# CONFIG_SH_HS7751RVOIP is not set
103# CONFIG_SH_7710VOIPGW is not set
78# CONFIG_SH_RTS7751R2D is not set 104# CONFIG_SH_RTS7751R2D is not set
105# CONFIG_SH_R7780RP is not set
79# CONFIG_SH_EDOSK7705 is not set 106# CONFIG_SH_EDOSK7705 is not set
80# CONFIG_SH_SH4202_MICRODEV is not set 107# CONFIG_SH_SH4202_MICRODEV is not set
108# CONFIG_SH_LANDISK is not set
109# CONFIG_SH_TITAN is not set
110# CONFIG_SH_SHMIN is not set
81# CONFIG_SH_UNKNOWN is not set 111# CONFIG_SH_UNKNOWN is not set
82# CONFIG_CPU_SH2 is not set 112
83# CONFIG_CPU_SH3 is not set 113#
114# Processor selection
115#
84CONFIG_CPU_SH4=y 116CONFIG_CPU_SH4=y
117
118#
119# SH-2 Processor Support
120#
85# CONFIG_CPU_SUBTYPE_SH7604 is not set 121# CONFIG_CPU_SUBTYPE_SH7604 is not set
122
123#
124# SH-3 Processor Support
125#
86# CONFIG_CPU_SUBTYPE_SH7300 is not set 126# CONFIG_CPU_SUBTYPE_SH7300 is not set
87# CONFIG_CPU_SUBTYPE_SH7705 is not set 127# CONFIG_CPU_SUBTYPE_SH7705 is not set
128# CONFIG_CPU_SUBTYPE_SH7706 is not set
88# CONFIG_CPU_SUBTYPE_SH7707 is not set 129# CONFIG_CPU_SUBTYPE_SH7707 is not set
89# CONFIG_CPU_SUBTYPE_SH7708 is not set 130# CONFIG_CPU_SUBTYPE_SH7708 is not set
90# CONFIG_CPU_SUBTYPE_SH7709 is not set 131# CONFIG_CPU_SUBTYPE_SH7709 is not set
132# CONFIG_CPU_SUBTYPE_SH7710 is not set
133
134#
135# SH-4 Processor Support
136#
91# CONFIG_CPU_SUBTYPE_SH7750 is not set 137# CONFIG_CPU_SUBTYPE_SH7750 is not set
138# CONFIG_CPU_SUBTYPE_SH7091 is not set
139# CONFIG_CPU_SUBTYPE_SH7750R is not set
140# CONFIG_CPU_SUBTYPE_SH7750S is not set
92CONFIG_CPU_SUBTYPE_SH7751=y 141CONFIG_CPU_SUBTYPE_SH7751=y
142CONFIG_CPU_SUBTYPE_SH7751R=y
93# CONFIG_CPU_SUBTYPE_SH7760 is not set 143# CONFIG_CPU_SUBTYPE_SH7760 is not set
94# CONFIG_CPU_SUBTYPE_SH73180 is not set 144# CONFIG_CPU_SUBTYPE_SH4_202 is not set
145
146#
147# ST40 Processor Support
148#
95# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 149# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
96# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 150# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
97# CONFIG_CPU_SUBTYPE_SH4_202 is not set 151
152#
153# SH-4A Processor Support
154#
155# CONFIG_CPU_SUBTYPE_SH7770 is not set
156# CONFIG_CPU_SUBTYPE_SH7780 is not set
157
158#
159# SH4AL-DSP Processor Support
160#
161# CONFIG_CPU_SUBTYPE_SH73180 is not set
162# CONFIG_CPU_SUBTYPE_SH7343 is not set
163
164#
165# Memory management options
166#
98CONFIG_MMU=y 167CONFIG_MMU=y
99# CONFIG_CMDLINE_BOOL is not set 168CONFIG_PAGE_OFFSET=0x80000000
100CONFIG_MEMORY_START=0x08000000 169CONFIG_MEMORY_START=0x08000000
101CONFIG_MEMORY_SIZE=0x01000000 170CONFIG_MEMORY_SIZE=0x01000000
102CONFIG_MEMORY_SET=y 171CONFIG_VSYSCALL=y
103# CONFIG_MEMORY_OVERRIDE is not set 172CONFIG_SELECT_MEMORY_MODEL=y
104CONFIG_SH_RTC=y 173CONFIG_FLATMEM_MANUAL=y
105CONFIG_SH_FPU=y 174# CONFIG_DISCONTIGMEM_MANUAL is not set
106CONFIG_ZERO_PAGE_OFFSET=0x00001000 175# CONFIG_SPARSEMEM_MANUAL is not set
107CONFIG_BOOT_LINK_OFFSET=0x00800000 176CONFIG_FLATMEM=y
108CONFIG_CPU_LITTLE_ENDIAN=y 177CONFIG_FLAT_NODE_MEM_MAP=y
109# CONFIG_PREEMPT is not set 178# CONFIG_SPARSEMEM_STATIC is not set
110# CONFIG_UBC_WAKEUP is not set 179CONFIG_SPLIT_PTLOCK_CPUS=4
180# CONFIG_RESOURCES_64BIT is not set
181
182#
183# Cache configuration
184#
185# CONFIG_SH_DIRECT_MAPPED is not set
111# CONFIG_SH_WRITETHROUGH is not set 186# CONFIG_SH_WRITETHROUGH is not set
112# CONFIG_SH_OCRAM is not set 187# CONFIG_SH_OCRAM is not set
188
189#
190# Processor features
191#
192CONFIG_CPU_LITTLE_ENDIAN=y
193CONFIG_SH_FPU=y
194# CONFIG_SH_DSP is not set
113# CONFIG_SH_STORE_QUEUES is not set 195# CONFIG_SH_STORE_QUEUES is not set
114# CONFIG_SMP is not set 196CONFIG_CPU_HAS_INTEVT=y
115CONFIG_SH_PCLK_CALC=y 197CONFIG_CPU_HAS_SR_RB=y
116CONFIG_SH_PCLK_FREQ=60013568 198
199#
200# Timer support
201#
202CONFIG_SH_TMU=y
203CONFIG_SH_PCLK_FREQ=60000000
117 204
118# 205#
119# CPU Frequency scaling 206# CPU Frequency scaling
@@ -133,28 +220,42 @@ CONFIG_NR_ONCHIP_DMA_CHANNELS=4
133# CONFIG_HD6446X_SERIES is not set 220# CONFIG_HD6446X_SERIES is not set
134 221
135# 222#
136# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 223# Kernel features
224#
225# CONFIG_HZ_100 is not set
226CONFIG_HZ_250=y
227# CONFIG_HZ_1000 is not set
228CONFIG_HZ=250
229# CONFIG_KEXEC is not set
230# CONFIG_SMP is not set
231CONFIG_PREEMPT_NONE=y
232# CONFIG_PREEMPT_VOLUNTARY is not set
233# CONFIG_PREEMPT is not set
234
235#
236# Boot options
237#
238CONFIG_ZERO_PAGE_OFFSET=0x00001000
239CONFIG_BOOT_LINK_OFFSET=0x00800000
240# CONFIG_UBC_WAKEUP is not set
241# CONFIG_CMDLINE_BOOL is not set
242
243#
244# Bus options
137# 245#
138CONFIG_PCI=y 246CONFIG_PCI=y
139# CONFIG_SH_PCIDMA_NONCOHERENT is not set 247# CONFIG_SH_PCIDMA_NONCOHERENT is not set
140CONFIG_PCI_AUTO=y 248CONFIG_PCI_AUTO=y
141CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 249CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
142# CONFIG_PCI_LEGACY_PROC is not set 250# CONFIG_PCI_MULTITHREAD_PROBE is not set
143CONFIG_PCI_NAMES=y
144 251
145# 252#
146# PCCARD (PCMCIA/CardBus) support 253# PCCARD (PCMCIA/CardBus) support
147# 254#
148# CONFIG_PCCARD is not set
149
150#
151# PC-card bridges
152#
153 255
154# 256#
155# PCI Hotplug Support 257# PCI Hotplug Support
156# 258#
157# CONFIG_HOTPLUG_PCI is not set
158 259
159# 260#
160# Executable file formats 261# Executable file formats
@@ -164,9 +265,94 @@ CONFIG_BINFMT_ELF=y
164# CONFIG_BINFMT_MISC is not set 265# CONFIG_BINFMT_MISC is not set
165 266
166# 267#
167# SH initrd options 268# Power management options (EXPERIMENTAL)
269#
270# CONFIG_PM is not set
271
272#
273# Networking
274#
275CONFIG_NET=y
276
277#
278# Networking options
279#
280# CONFIG_NETDEBUG is not set
281# CONFIG_PACKET is not set
282# CONFIG_UNIX is not set
283CONFIG_XFRM=y
284# CONFIG_XFRM_USER is not set
285# CONFIG_XFRM_SUB_POLICY is not set
286# CONFIG_NET_KEY is not set
287CONFIG_INET=y
288# CONFIG_IP_MULTICAST is not set
289# CONFIG_IP_ADVANCED_ROUTER is not set
290CONFIG_IP_FIB_HASH=y
291CONFIG_IP_PNP=y
292CONFIG_IP_PNP_DHCP=y
293# CONFIG_IP_PNP_BOOTP is not set
294# CONFIG_IP_PNP_RARP is not set
295# CONFIG_NET_IPIP is not set
296# CONFIG_NET_IPGRE is not set
297# CONFIG_ARPD is not set
298# CONFIG_SYN_COOKIES is not set
299# CONFIG_INET_AH is not set
300# CONFIG_INET_ESP is not set
301# CONFIG_INET_IPCOMP is not set
302# CONFIG_INET_XFRM_TUNNEL is not set
303# CONFIG_INET_TUNNEL is not set
304CONFIG_INET_XFRM_MODE_TRANSPORT=y
305CONFIG_INET_XFRM_MODE_TUNNEL=y
306CONFIG_INET_DIAG=y
307CONFIG_INET_TCP_DIAG=y
308# CONFIG_TCP_CONG_ADVANCED is not set
309CONFIG_TCP_CONG_CUBIC=y
310CONFIG_DEFAULT_TCP_CONG="cubic"
311# CONFIG_IPV6 is not set
312# CONFIG_INET6_XFRM_TUNNEL is not set
313# CONFIG_INET6_TUNNEL is not set
314# CONFIG_NETWORK_SECMARK is not set
315# CONFIG_NETFILTER is not set
316
317#
318# DCCP Configuration (EXPERIMENTAL)
319#
320# CONFIG_IP_DCCP is not set
321
322#
323# SCTP Configuration (EXPERIMENTAL)
324#
325# CONFIG_IP_SCTP is not set
326
327#
328# TIPC Configuration (EXPERIMENTAL)
168# 329#
169# CONFIG_EMBEDDED_RAMDISK is not set 330# CONFIG_TIPC is not set
331# CONFIG_ATM is not set
332# CONFIG_BRIDGE is not set
333# CONFIG_VLAN_8021Q is not set
334# CONFIG_DECNET is not set
335# CONFIG_LLC2 is not set
336# CONFIG_IPX is not set
337# CONFIG_ATALK is not set
338# CONFIG_X25 is not set
339# CONFIG_LAPB is not set
340# CONFIG_ECONET is not set
341# CONFIG_WAN_ROUTER is not set
342
343#
344# QoS and/or fair queueing
345#
346# CONFIG_NET_SCHED is not set
347
348#
349# Network testing
350#
351# CONFIG_NET_PKTGEN is not set
352# CONFIG_HAMRADIO is not set
353# CONFIG_IRDA is not set
354# CONFIG_BT is not set
355# CONFIG_IEEE80211 is not set
170 356
171# 357#
172# Device Drivers 358# Device Drivers
@@ -177,7 +363,12 @@ CONFIG_BINFMT_ELF=y
177# 363#
178CONFIG_STANDALONE=y 364CONFIG_STANDALONE=y
179CONFIG_PREVENT_FIRMWARE_BUILD=y 365CONFIG_PREVENT_FIRMWARE_BUILD=y
180# CONFIG_FW_LOADER is not set 366# CONFIG_SYS_HYPERVISOR is not set
367
368#
369# Connector - unified userspace <-> kernelspace linker
370#
371# CONFIG_CONNECTOR is not set
181 372
182# 373#
183# Memory Technology Devices (MTD) 374# Memory Technology Devices (MTD)
@@ -196,7 +387,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
196# 387#
197# Block devices 388# Block devices
198# 389#
199# CONFIG_BLK_DEV_FD is not set
200# CONFIG_BLK_CPQ_DA is not set 390# CONFIG_BLK_CPQ_DA is not set
201# CONFIG_BLK_CPQ_CISS_DA is not set 391# CONFIG_BLK_CPQ_CISS_DA is not set
202# CONFIG_BLK_DEV_DAC960 is not set 392# CONFIG_BLK_DEV_DAC960 is not set
@@ -208,18 +398,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
208CONFIG_BLK_DEV_RAM=y 398CONFIG_BLK_DEV_RAM=y
209CONFIG_BLK_DEV_RAM_COUNT=16 399CONFIG_BLK_DEV_RAM_COUNT=16
210CONFIG_BLK_DEV_RAM_SIZE=4096 400CONFIG_BLK_DEV_RAM_SIZE=4096
401CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
211CONFIG_BLK_DEV_INITRD=y 402CONFIG_BLK_DEV_INITRD=y
212CONFIG_INITRAMFS_SOURCE=""
213# CONFIG_LBD is not set
214# CONFIG_CDROM_PKTCDVD is not set 403# CONFIG_CDROM_PKTCDVD is not set
215
216#
217# IO Schedulers
218#
219CONFIG_IOSCHED_NOOP=y
220CONFIG_IOSCHED_AS=y
221CONFIG_IOSCHED_DEADLINE=y
222CONFIG_IOSCHED_CFQ=y
223# CONFIG_ATA_OVER_ETH is not set 404# CONFIG_ATA_OVER_ETH is not set
224 405
225# 406#
@@ -230,7 +411,14 @@ CONFIG_IOSCHED_CFQ=y
230# 411#
231# SCSI device support 412# SCSI device support
232# 413#
414# CONFIG_RAID_ATTRS is not set
233# CONFIG_SCSI is not set 415# CONFIG_SCSI is not set
416# CONFIG_SCSI_NETLINK is not set
417
418#
419# Serial ATA (prod) and Parallel ATA (experimental) drivers
420#
421# CONFIG_ATA is not set
234 422
235# 423#
236# Multi-device support (RAID and LVM) 424# Multi-device support (RAID and LVM)
@@ -240,6 +428,7 @@ CONFIG_IOSCHED_CFQ=y
240# 428#
241# Fusion MPT device support 429# Fusion MPT device support
242# 430#
431# CONFIG_FUSION is not set
243 432
244# 433#
245# IEEE 1394 (FireWire) support 434# IEEE 1394 (FireWire) support
@@ -252,69 +441,8 @@ CONFIG_IOSCHED_CFQ=y
252# CONFIG_I2O is not set 441# CONFIG_I2O is not set
253 442
254# 443#
255# Networking support 444# Network device support
256#
257CONFIG_NET=y
258
259#
260# Networking options
261#
262# CONFIG_PACKET is not set
263# CONFIG_NETLINK_DEV is not set
264# CONFIG_UNIX is not set
265# CONFIG_NET_KEY is not set
266CONFIG_INET=y
267# CONFIG_IP_MULTICAST is not set
268# CONFIG_IP_ADVANCED_ROUTER is not set
269CONFIG_IP_PNP=y
270CONFIG_IP_PNP_DHCP=y
271# CONFIG_IP_PNP_BOOTP is not set
272# CONFIG_IP_PNP_RARP is not set
273# CONFIG_NET_IPIP is not set
274# CONFIG_NET_IPGRE is not set
275# CONFIG_ARPD is not set
276# CONFIG_SYN_COOKIES is not set
277# CONFIG_INET_AH is not set
278# CONFIG_INET_ESP is not set
279# CONFIG_INET_IPCOMP is not set
280# CONFIG_INET_TUNNEL is not set
281CONFIG_IP_TCPDIAG=y
282# CONFIG_IP_TCPDIAG_IPV6 is not set
283# CONFIG_IPV6 is not set
284# CONFIG_NETFILTER is not set
285
286#
287# SCTP Configuration (EXPERIMENTAL)
288# 445#
289# CONFIG_IP_SCTP is not set
290# CONFIG_ATM is not set
291# CONFIG_BRIDGE is not set
292# CONFIG_VLAN_8021Q is not set
293# CONFIG_DECNET is not set
294# CONFIG_LLC2 is not set
295# CONFIG_IPX is not set
296# CONFIG_ATALK is not set
297# CONFIG_X25 is not set
298# CONFIG_LAPB is not set
299# CONFIG_NET_DIVERT is not set
300# CONFIG_ECONET is not set
301# CONFIG_WAN_ROUTER is not set
302
303#
304# QoS and/or fair queueing
305#
306# CONFIG_NET_SCHED is not set
307# CONFIG_NET_CLS_ROUTE is not set
308
309#
310# Network testing
311#
312# CONFIG_NET_PKTGEN is not set
313# CONFIG_NETPOLL is not set
314# CONFIG_NET_POLL_CONTROLLER is not set
315# CONFIG_HAMRADIO is not set
316# CONFIG_IRDA is not set
317# CONFIG_BT is not set
318CONFIG_NETDEVICES=y 446CONFIG_NETDEVICES=y
319# CONFIG_DUMMY is not set 447# CONFIG_DUMMY is not set
320# CONFIG_BONDING is not set 448# CONFIG_BONDING is not set
@@ -327,6 +455,11 @@ CONFIG_NETDEVICES=y
327# CONFIG_ARCNET is not set 455# CONFIG_ARCNET is not set
328 456
329# 457#
458# PHY device support
459#
460# CONFIG_PHYLIB is not set
461
462#
330# Ethernet (10 or 100Mbit) 463# Ethernet (10 or 100Mbit)
331# 464#
332CONFIG_NET_ETHERNET=y 465CONFIG_NET_ETHERNET=y
@@ -334,6 +467,7 @@ CONFIG_MII=y
334# CONFIG_STNIC is not set 467# CONFIG_STNIC is not set
335# CONFIG_HAPPYMEAL is not set 468# CONFIG_HAPPYMEAL is not set
336# CONFIG_SUNGEM is not set 469# CONFIG_SUNGEM is not set
470# CONFIG_CASSINI is not set
337# CONFIG_NET_VENDOR_3COM is not set 471# CONFIG_NET_VENDOR_3COM is not set
338# CONFIG_SMC91X is not set 472# CONFIG_SMC91X is not set
339 473
@@ -376,15 +510,22 @@ CONFIG_8139TOO=y
376# CONFIG_HAMACHI is not set 510# CONFIG_HAMACHI is not set
377# CONFIG_YELLOWFIN is not set 511# CONFIG_YELLOWFIN is not set
378# CONFIG_R8169 is not set 512# CONFIG_R8169 is not set
513# CONFIG_SIS190 is not set
514# CONFIG_SKGE is not set
515# CONFIG_SKY2 is not set
379# CONFIG_SK98LIN is not set 516# CONFIG_SK98LIN is not set
380# CONFIG_VIA_VELOCITY is not set 517# CONFIG_VIA_VELOCITY is not set
381# CONFIG_TIGON3 is not set 518# CONFIG_TIGON3 is not set
519# CONFIG_BNX2 is not set
520# CONFIG_QLA3XXX is not set
382 521
383# 522#
384# Ethernet (10000 Mbit) 523# Ethernet (10000 Mbit)
385# 524#
525# CONFIG_CHELSIO_T1 is not set
386# CONFIG_IXGB is not set 526# CONFIG_IXGB is not set
387# CONFIG_S2IO is not set 527# CONFIG_S2IO is not set
528# CONFIG_MYRI10GE is not set
388 529
389# 530#
390# Token Ring devices 531# Token Ring devices
@@ -406,6 +547,8 @@ CONFIG_8139TOO=y
406# CONFIG_SLIP is not set 547# CONFIG_SLIP is not set
407# CONFIG_SHAPER is not set 548# CONFIG_SHAPER is not set
408# CONFIG_NETCONSOLE is not set 549# CONFIG_NETCONSOLE is not set
550# CONFIG_NETPOLL is not set
551# CONFIG_NET_POLL_CONTROLLER is not set
409 552
410# 553#
411# ISDN subsystem 554# ISDN subsystem
@@ -421,6 +564,7 @@ CONFIG_8139TOO=y
421# Input device support 564# Input device support
422# 565#
423CONFIG_INPUT=y 566CONFIG_INPUT=y
567# CONFIG_INPUT_FF_MEMLESS is not set
424 568
425# 569#
426# Userland interfaces 570# Userland interfaces
@@ -435,18 +579,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
435# CONFIG_INPUT_EVBUG is not set 579# CONFIG_INPUT_EVBUG is not set
436 580
437# 581#
438# Input I/O drivers
439#
440# CONFIG_GAMEPORT is not set
441CONFIG_SOUND_GAMEPORT=y
442CONFIG_SERIO=y
443CONFIG_SERIO_I8042=y
444CONFIG_SERIO_SERPORT=y
445# CONFIG_SERIO_CT82C710 is not set
446# CONFIG_SERIO_PCIPS2 is not set
447# CONFIG_SERIO_RAW is not set
448
449#
450# Input Device Drivers 582# Input Device Drivers
451# 583#
452# CONFIG_INPUT_KEYBOARD is not set 584# CONFIG_INPUT_KEYBOARD is not set
@@ -456,11 +588,23 @@ CONFIG_SERIO_SERPORT=y
456# CONFIG_INPUT_MISC is not set 588# CONFIG_INPUT_MISC is not set
457 589
458# 590#
591# Hardware I/O ports
592#
593CONFIG_SERIO=y
594CONFIG_SERIO_I8042=y
595CONFIG_SERIO_SERPORT=y
596# CONFIG_SERIO_PCIPS2 is not set
597# CONFIG_SERIO_LIBPS2 is not set
598# CONFIG_SERIO_RAW is not set
599# CONFIG_GAMEPORT is not set
600
601#
459# Character devices 602# Character devices
460# 603#
461CONFIG_VT=y 604CONFIG_VT=y
462CONFIG_VT_CONSOLE=y 605CONFIG_VT_CONSOLE=y
463CONFIG_HW_CONSOLE=y 606CONFIG_HW_CONSOLE=y
607# CONFIG_VT_HW_CONSOLE_BINDING is not set
464# CONFIG_SERIAL_NONSTANDARD is not set 608# CONFIG_SERIAL_NONSTANDARD is not set
465 609
466# 610#
@@ -472,6 +616,7 @@ CONFIG_HW_CONSOLE=y
472# Non-8250 serial port support 616# Non-8250 serial port support
473# 617#
474# CONFIG_SERIAL_SH_SCI is not set 618# CONFIG_SERIAL_SH_SCI is not set
619# CONFIG_SERIAL_JSM is not set
475CONFIG_UNIX98_PTYS=y 620CONFIG_UNIX98_PTYS=y
476CONFIG_LEGACY_PTYS=y 621CONFIG_LEGACY_PTYS=y
477CONFIG_LEGACY_PTY_COUNT=256 622CONFIG_LEGACY_PTY_COUNT=256
@@ -485,7 +630,7 @@ CONFIG_LEGACY_PTY_COUNT=256
485# Watchdog Cards 630# Watchdog Cards
486# 631#
487# CONFIG_WATCHDOG is not set 632# CONFIG_WATCHDOG is not set
488# CONFIG_RTC is not set 633CONFIG_HW_RANDOM=y
489# CONFIG_GEN_RTC is not set 634# CONFIG_GEN_RTC is not set
490# CONFIG_DTLK is not set 635# CONFIG_DTLK is not set
491# CONFIG_R3964 is not set 636# CONFIG_R3964 is not set
@@ -498,14 +643,35 @@ CONFIG_LEGACY_PTY_COUNT=256
498# CONFIG_RAW_DRIVER is not set 643# CONFIG_RAW_DRIVER is not set
499 644
500# 645#
646# TPM devices
647#
648# CONFIG_TCG_TPM is not set
649# CONFIG_TELCLOCK is not set
650
651#
501# I2C support 652# I2C support
502# 653#
503# CONFIG_I2C is not set 654# CONFIG_I2C is not set
504 655
505# 656#
657# SPI support
658#
659# CONFIG_SPI is not set
660# CONFIG_SPI_MASTER is not set
661
662#
506# Dallas's 1-wire bus 663# Dallas's 1-wire bus
507# 664#
508# CONFIG_W1 is not set 665
666#
667# Hardware Monitoring support
668#
669CONFIG_HWMON=y
670# CONFIG_HWMON_VID is not set
671# CONFIG_SENSORS_ABITUGURU is not set
672# CONFIG_SENSORS_F71805F is not set
673# CONFIG_SENSORS_VT1211 is not set
674# CONFIG_HWMON_DEBUG_CHIP is not set
509 675
510# 676#
511# Misc devices 677# Misc devices
@@ -515,6 +681,7 @@ CONFIG_LEGACY_PTY_COUNT=256
515# Multimedia devices 681# Multimedia devices
516# 682#
517# CONFIG_VIDEO_DEV is not set 683# CONFIG_VIDEO_DEV is not set
684CONFIG_VIDEO_V4L2=y
518 685
519# 686#
520# Digital Video Broadcasting Devices 687# Digital Video Broadcasting Devices
@@ -524,13 +691,14 @@ CONFIG_LEGACY_PTY_COUNT=256
524# 691#
525# Graphics support 692# Graphics support
526# 693#
694CONFIG_FIRMWARE_EDID=y
527# CONFIG_FB is not set 695# CONFIG_FB is not set
528 696
529# 697#
530# Console display driver support 698# Console display driver support
531# 699#
532CONFIG_VGA_CONSOLE=y
533CONFIG_DUMMY_CONSOLE=y 700CONFIG_DUMMY_CONSOLE=y
701# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
534 702
535# 703#
536# Sound 704# Sound
@@ -540,12 +708,13 @@ CONFIG_DUMMY_CONSOLE=y
540# 708#
541# USB support 709# USB support
542# 710#
543# CONFIG_USB is not set
544CONFIG_USB_ARCH_HAS_HCD=y 711CONFIG_USB_ARCH_HAS_HCD=y
545CONFIG_USB_ARCH_HAS_OHCI=y 712CONFIG_USB_ARCH_HAS_OHCI=y
713CONFIG_USB_ARCH_HAS_EHCI=y
714# CONFIG_USB is not set
546 715
547# 716#
548# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 717# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
549# 718#
550 719
551# 720#
@@ -559,30 +728,66 @@ CONFIG_USB_ARCH_HAS_OHCI=y
559# CONFIG_MMC is not set 728# CONFIG_MMC is not set
560 729
561# 730#
731# LED devices
732#
733# CONFIG_NEW_LEDS is not set
734
735#
736# LED drivers
737#
738
739#
740# LED Triggers
741#
742
743#
562# InfiniBand support 744# InfiniBand support
563# 745#
564# CONFIG_INFINIBAND is not set 746# CONFIG_INFINIBAND is not set
565 747
566# 748#
749# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
750#
751
752#
753# Real Time Clock
754#
755# CONFIG_RTC_CLASS is not set
756
757#
758# DMA Engine support
759#
760# CONFIG_DMA_ENGINE is not set
761
762#
763# DMA Clients
764#
765
766#
767# DMA Devices
768#
769
770#
567# File systems 771# File systems
568# 772#
569CONFIG_EXT2_FS=y 773CONFIG_EXT2_FS=y
570# CONFIG_EXT2_FS_XATTR is not set 774# CONFIG_EXT2_FS_XATTR is not set
775# CONFIG_EXT2_FS_XIP is not set
571# CONFIG_EXT3_FS is not set 776# CONFIG_EXT3_FS is not set
572# CONFIG_JBD is not set
573# CONFIG_REISERFS_FS is not set 777# CONFIG_REISERFS_FS is not set
574# CONFIG_JFS_FS is not set 778# CONFIG_JFS_FS is not set
575 779# CONFIG_FS_POSIX_ACL is not set
576#
577# XFS support
578#
579# CONFIG_XFS_FS is not set 780# CONFIG_XFS_FS is not set
781# CONFIG_OCFS2_FS is not set
580# CONFIG_MINIX_FS is not set 782# CONFIG_MINIX_FS is not set
581CONFIG_ROMFS_FS=y 783CONFIG_ROMFS_FS=y
784CONFIG_INOTIFY=y
785CONFIG_INOTIFY_USER=y
582# CONFIG_QUOTA is not set 786# CONFIG_QUOTA is not set
583CONFIG_DNOTIFY=y 787CONFIG_DNOTIFY=y
584# CONFIG_AUTOFS_FS is not set 788# CONFIG_AUTOFS_FS is not set
585# CONFIG_AUTOFS4_FS is not set 789# CONFIG_AUTOFS4_FS is not set
790# CONFIG_FUSE_FS is not set
586 791
587# 792#
588# CD-ROM/DVD Filesystems 793# CD-ROM/DVD Filesystems
@@ -602,16 +807,14 @@ CONFIG_DNOTIFY=y
602# 807#
603CONFIG_PROC_FS=y 808CONFIG_PROC_FS=y
604# CONFIG_PROC_KCORE is not set 809# CONFIG_PROC_KCORE is not set
810CONFIG_PROC_SYSCTL=y
605CONFIG_SYSFS=y 811CONFIG_SYSFS=y
606CONFIG_DEVFS_FS=y
607CONFIG_DEVFS_MOUNT=y
608# CONFIG_DEVFS_DEBUG is not set
609# CONFIG_DEVPTS_FS_XATTR is not set
610CONFIG_TMPFS=y 812CONFIG_TMPFS=y
611# CONFIG_TMPFS_XATTR is not set 813# CONFIG_TMPFS_POSIX_ACL is not set
612# CONFIG_HUGETLBFS is not set 814# CONFIG_HUGETLBFS is not set
613# CONFIG_HUGETLB_PAGE is not set 815# CONFIG_HUGETLB_PAGE is not set
614CONFIG_RAMFS=y 816CONFIG_RAMFS=y
817# CONFIG_CONFIGFS_FS is not set
615 818
616# 819#
617# Miscellaneous filesystems 820# Miscellaneous filesystems
@@ -635,12 +838,14 @@ CONFIG_CRAMFS=y
635# 838#
636CONFIG_NFS_FS=y 839CONFIG_NFS_FS=y
637CONFIG_NFS_V3=y 840CONFIG_NFS_V3=y
841# CONFIG_NFS_V3_ACL is not set
638# CONFIG_NFS_V4 is not set 842# CONFIG_NFS_V4 is not set
639# CONFIG_NFS_DIRECTIO is not set 843# CONFIG_NFS_DIRECTIO is not set
640# CONFIG_NFSD is not set 844# CONFIG_NFSD is not set
641CONFIG_ROOT_NFS=y 845CONFIG_ROOT_NFS=y
642CONFIG_LOCKD=y 846CONFIG_LOCKD=y
643CONFIG_LOCKD_V4=y 847CONFIG_LOCKD_V4=y
848CONFIG_NFS_COMMON=y
644CONFIG_SUNRPC=y 849CONFIG_SUNRPC=y
645# CONFIG_RPCSEC_GSS_KRB5 is not set 850# CONFIG_RPCSEC_GSS_KRB5 is not set
646# CONFIG_RPCSEC_GSS_SPKM3 is not set 851# CONFIG_RPCSEC_GSS_SPKM3 is not set
@@ -649,6 +854,7 @@ CONFIG_SUNRPC=y
649# CONFIG_NCP_FS is not set 854# CONFIG_NCP_FS is not set
650# CONFIG_CODA_FS is not set 855# CONFIG_CODA_FS is not set
651# CONFIG_AFS_FS is not set 856# CONFIG_AFS_FS is not set
857# CONFIG_9P_FS is not set
652 858
653# 859#
654# Partition Types 860# Partition Types
@@ -669,8 +875,15 @@ CONFIG_MSDOS_PARTITION=y
669# 875#
670# Kernel hacking 876# Kernel hacking
671# 877#
878# CONFIG_PRINTK_TIME is not set
879CONFIG_ENABLE_MUST_CHECK=y
880# CONFIG_MAGIC_SYSRQ is not set
881# CONFIG_UNUSED_SYMBOLS is not set
672# CONFIG_DEBUG_KERNEL is not set 882# CONFIG_DEBUG_KERNEL is not set
673# CONFIG_FRAME_POINTER is not set 883CONFIG_LOG_BUF_SHIFT=14
884# CONFIG_DEBUG_BUGVERBOSE is not set
885# CONFIG_DEBUG_FS is not set
886# CONFIG_UNWIND_INFO is not set
674# CONFIG_SH_STANDARD_BIOS is not set 887# CONFIG_SH_STANDARD_BIOS is not set
675# CONFIG_EARLY_SCIF_CONSOLE is not set 888# CONFIG_EARLY_SCIF_CONSOLE is not set
676# CONFIG_KGDB is not set 889# CONFIG_KGDB is not set
@@ -687,13 +900,11 @@ CONFIG_MSDOS_PARTITION=y
687# CONFIG_CRYPTO is not set 900# CONFIG_CRYPTO is not set
688 901
689# 902#
690# Hardware crypto devices
691#
692
693#
694# Library routines 903# Library routines
695# 904#
696# CONFIG_CRC_CCITT is not set 905# CONFIG_CRC_CCITT is not set
906# CONFIG_CRC16 is not set
697CONFIG_CRC32=y 907CONFIG_CRC32=y
698# CONFIG_LIBCRC32C is not set 908# CONFIG_LIBCRC32C is not set
699CONFIG_ZLIB_INFLATE=y 909CONFIG_ZLIB_INFLATE=y
910CONFIG_PLIST=y
diff --git a/arch/sh/configs/systemh_defconfig b/arch/sh/configs/systemh_defconfig
index 431c9c9da165..c16350dac01b 100644
--- a/arch/sh/configs/systemh_defconfig
+++ b/arch/sh/configs/systemh_defconfig
@@ -1,48 +1,58 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-sh 3# Linux kernel version: 2.6.18
4# Wed Mar 2 15:09:53 2005 4# Tue Oct 3 12:57:29 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
12 14
13# 15#
14# Code maturity level options 16# Code maturity level options
15# 17#
16CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
17# CONFIG_CLEAN_COMPILE is not set
18CONFIG_BROKEN=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_LOCK_KERNEL=y 20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
21 22
22# 23#
23# General setup 24# General setup
24# 25#
25CONFIG_LOCALVERSION="" 26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
26CONFIG_SWAP=y 28CONFIG_SWAP=y
27# CONFIG_SYSVIPC is not set 29# CONFIG_SYSVIPC is not set
28# CONFIG_BSD_PROCESS_ACCT is not set 30# CONFIG_BSD_PROCESS_ACCT is not set
29# CONFIG_SYSCTL is not set 31# CONFIG_UTS_NS is not set
30# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=14
32# CONFIG_HOTPLUG is not set
33# CONFIG_IKCONFIG is not set 32# CONFIG_IKCONFIG is not set
33# CONFIG_RELAY is not set
34CONFIG_INITRAMFS_SOURCE=""
35# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
36CONFIG_SYSCTL=y
34CONFIG_EMBEDDED=y 37CONFIG_EMBEDDED=y
38CONFIG_UID16=y
39# CONFIG_SYSCTL_SYSCALL is not set
35CONFIG_KALLSYMS=y 40CONFIG_KALLSYMS=y
36# CONFIG_KALLSYMS_EXTRA_PASS is not set 41# CONFIG_KALLSYMS_EXTRA_PASS is not set
42# CONFIG_HOTPLUG is not set
43CONFIG_PRINTK=y
44CONFIG_BUG=y
45CONFIG_ELF_CORE=y
46CONFIG_BASE_FULL=y
37CONFIG_FUTEX=y 47CONFIG_FUTEX=y
38CONFIG_EPOLL=y 48CONFIG_EPOLL=y
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SHMEM=y 49CONFIG_SHMEM=y
41CONFIG_CC_ALIGN_FUNCTIONS=0 50CONFIG_SLAB=y
42CONFIG_CC_ALIGN_LABELS=0 51CONFIG_VM_EVENT_COUNTERS=y
43CONFIG_CC_ALIGN_LOOPS=0 52CONFIG_RT_MUTEXES=y
44CONFIG_CC_ALIGN_JUMPS=0
45# CONFIG_TINY_SHMEM is not set 53# CONFIG_TINY_SHMEM is not set
54CONFIG_BASE_SMALL=0
55# CONFIG_SLOB is not set
46 56
47# 57#
48# Loadable module support 58# Loadable module support
@@ -50,75 +60,150 @@ CONFIG_CC_ALIGN_JUMPS=0
50CONFIG_MODULES=y 60CONFIG_MODULES=y
51CONFIG_MODULE_UNLOAD=y 61CONFIG_MODULE_UNLOAD=y
52# CONFIG_MODULE_FORCE_UNLOAD is not set 62# CONFIG_MODULE_FORCE_UNLOAD is not set
53CONFIG_OBSOLETE_MODPARM=y
54# CONFIG_MODVERSIONS is not set 63# CONFIG_MODVERSIONS is not set
55# CONFIG_MODULE_SRCVERSION_ALL is not set 64# CONFIG_MODULE_SRCVERSION_ALL is not set
56# CONFIG_KMOD is not set 65# CONFIG_KMOD is not set
57 66
58# 67#
68# Block layer
69#
70CONFIG_BLOCK=y
71# CONFIG_LBD is not set
72# CONFIG_BLK_DEV_IO_TRACE is not set
73# CONFIG_LSF is not set
74
75#
76# IO Schedulers
77#
78CONFIG_IOSCHED_NOOP=y
79CONFIG_IOSCHED_AS=y
80CONFIG_IOSCHED_DEADLINE=y
81CONFIG_IOSCHED_CFQ=y
82CONFIG_DEFAULT_AS=y
83# CONFIG_DEFAULT_DEADLINE is not set
84# CONFIG_DEFAULT_CFQ is not set
85# CONFIG_DEFAULT_NOOP is not set
86CONFIG_DEFAULT_IOSCHED="anticipatory"
87
88#
59# System type 89# System type
60# 90#
61# CONFIG_SH_SOLUTION_ENGINE is not set 91# CONFIG_SH_SOLUTION_ENGINE is not set
62# CONFIG_SH_7751_SOLUTION_ENGINE is not set 92# CONFIG_SH_7751_SOLUTION_ENGINE is not set
63# CONFIG_SH_7300_SOLUTION_ENGINE is not set 93# CONFIG_SH_7300_SOLUTION_ENGINE is not set
94# CONFIG_SH_7343_SOLUTION_ENGINE is not set
64# CONFIG_SH_73180_SOLUTION_ENGINE is not set 95# CONFIG_SH_73180_SOLUTION_ENGINE is not set
65CONFIG_SH_7751_SYSTEMH=y 96CONFIG_SH_7751_SYSTEMH=y
66# CONFIG_SH_STB1_HARP is not set 97# CONFIG_SH_HP6XX is not set
67# CONFIG_SH_STB1_OVERDRIVE is not set
68# CONFIG_SH_HP620 is not set
69# CONFIG_SH_HP680 is not set
70# CONFIG_SH_HP690 is not set
71# CONFIG_SH_CQREEK is not set
72# CONFIG_SH_DMIDA is not set
73# CONFIG_SH_EC3104 is not set 98# CONFIG_SH_EC3104 is not set
74# CONFIG_SH_SATURN is not set 99# CONFIG_SH_SATURN is not set
75# CONFIG_SH_DREAMCAST is not set 100# CONFIG_SH_DREAMCAST is not set
76# CONFIG_SH_CAT68701 is not set
77# CONFIG_SH_BIGSUR is not set 101# CONFIG_SH_BIGSUR is not set
78# CONFIG_SH_SH2000 is not set
79# CONFIG_SH_ADX is not set
80# CONFIG_SH_MPC1211 is not set 102# CONFIG_SH_MPC1211 is not set
81# CONFIG_SH_SH03 is not set 103# CONFIG_SH_SH03 is not set
82# CONFIG_SH_SECUREEDGE5410 is not set 104# CONFIG_SH_SECUREEDGE5410 is not set
83# CONFIG_SH_HS7751RVOIP is not set 105# CONFIG_SH_HS7751RVOIP is not set
106# CONFIG_SH_7710VOIPGW is not set
84# CONFIG_SH_RTS7751R2D is not set 107# CONFIG_SH_RTS7751R2D is not set
108# CONFIG_SH_R7780RP is not set
85# CONFIG_SH_EDOSK7705 is not set 109# CONFIG_SH_EDOSK7705 is not set
86# CONFIG_SH_SH4202_MICRODEV is not set 110# CONFIG_SH_SH4202_MICRODEV is not set
111# CONFIG_SH_LANDISK is not set
112# CONFIG_SH_TITAN is not set
113# CONFIG_SH_SHMIN is not set
87# CONFIG_SH_UNKNOWN is not set 114# CONFIG_SH_UNKNOWN is not set
88# CONFIG_CPU_SH2 is not set 115
89# CONFIG_CPU_SH3 is not set 116#
117# Processor selection
118#
90CONFIG_CPU_SH4=y 119CONFIG_CPU_SH4=y
120
121#
122# SH-2 Processor Support
123#
91# CONFIG_CPU_SUBTYPE_SH7604 is not set 124# CONFIG_CPU_SUBTYPE_SH7604 is not set
125
126#
127# SH-3 Processor Support
128#
92# CONFIG_CPU_SUBTYPE_SH7300 is not set 129# CONFIG_CPU_SUBTYPE_SH7300 is not set
93# CONFIG_CPU_SUBTYPE_SH7705 is not set 130# CONFIG_CPU_SUBTYPE_SH7705 is not set
131# CONFIG_CPU_SUBTYPE_SH7706 is not set
94# CONFIG_CPU_SUBTYPE_SH7707 is not set 132# CONFIG_CPU_SUBTYPE_SH7707 is not set
95# CONFIG_CPU_SUBTYPE_SH7708 is not set 133# CONFIG_CPU_SUBTYPE_SH7708 is not set
96# CONFIG_CPU_SUBTYPE_SH7709 is not set 134# CONFIG_CPU_SUBTYPE_SH7709 is not set
135# CONFIG_CPU_SUBTYPE_SH7710 is not set
136
137#
138# SH-4 Processor Support
139#
97# CONFIG_CPU_SUBTYPE_SH7750 is not set 140# CONFIG_CPU_SUBTYPE_SH7750 is not set
141# CONFIG_CPU_SUBTYPE_SH7091 is not set
142# CONFIG_CPU_SUBTYPE_SH7750R is not set
143# CONFIG_CPU_SUBTYPE_SH7750S is not set
98CONFIG_CPU_SUBTYPE_SH7751=y 144CONFIG_CPU_SUBTYPE_SH7751=y
145CONFIG_CPU_SUBTYPE_SH7751R=y
99# CONFIG_CPU_SUBTYPE_SH7760 is not set 146# CONFIG_CPU_SUBTYPE_SH7760 is not set
100# CONFIG_CPU_SUBTYPE_SH73180 is not set 147# CONFIG_CPU_SUBTYPE_SH4_202 is not set
148
149#
150# ST40 Processor Support
151#
101# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 152# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
102# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 153# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
103# CONFIG_CPU_SUBTYPE_SH4_202 is not set 154
155#
156# SH-4A Processor Support
157#
158# CONFIG_CPU_SUBTYPE_SH7770 is not set
159# CONFIG_CPU_SUBTYPE_SH7780 is not set
160
161#
162# SH4AL-DSP Processor Support
163#
164# CONFIG_CPU_SUBTYPE_SH73180 is not set
165# CONFIG_CPU_SUBTYPE_SH7343 is not set
166
167#
168# Memory management options
169#
104CONFIG_MMU=y 170CONFIG_MMU=y
105# CONFIG_CMDLINE_BOOL is not set 171CONFIG_PAGE_OFFSET=0x80000000
106CONFIG_MEMORY_START=0x0c000000 172CONFIG_MEMORY_START=0x0c000000
107CONFIG_MEMORY_SIZE=0x00400000 173CONFIG_MEMORY_SIZE=0x00400000
108# CONFIG_MEMORY_OVERRIDE is not set 174CONFIG_VSYSCALL=y
109CONFIG_SH_RTC=y 175CONFIG_SELECT_MEMORY_MODEL=y
110CONFIG_SH_FPU=y 176CONFIG_FLATMEM_MANUAL=y
111CONFIG_ZERO_PAGE_OFFSET=0x00001000 177# CONFIG_DISCONTIGMEM_MANUAL is not set
112CONFIG_BOOT_LINK_OFFSET=0x00800000 178# CONFIG_SPARSEMEM_MANUAL is not set
113CONFIG_CPU_LITTLE_ENDIAN=y 179CONFIG_FLATMEM=y
114CONFIG_PREEMPT=y 180CONFIG_FLAT_NODE_MEM_MAP=y
115# CONFIG_UBC_WAKEUP is not set 181# CONFIG_SPARSEMEM_STATIC is not set
182CONFIG_SPLIT_PTLOCK_CPUS=4
183# CONFIG_RESOURCES_64BIT is not set
184
185#
186# Cache configuration
187#
188# CONFIG_SH_DIRECT_MAPPED is not set
116# CONFIG_SH_WRITETHROUGH is not set 189# CONFIG_SH_WRITETHROUGH is not set
117# CONFIG_SH_OCRAM is not set 190# CONFIG_SH_OCRAM is not set
191
192#
193# Processor features
194#
195CONFIG_CPU_LITTLE_ENDIAN=y
196CONFIG_SH_FPU=y
197# CONFIG_SH_DSP is not set
118# CONFIG_SH_STORE_QUEUES is not set 198# CONFIG_SH_STORE_QUEUES is not set
119# CONFIG_SMP is not set 199CONFIG_CPU_HAS_INTEVT=y
120CONFIG_SH_PCLK_CALC=y 200CONFIG_CPU_HAS_SR_RB=y
121CONFIG_SH_PCLK_FREQ=49876504 201
202#
203# Timer support
204#
205CONFIG_SH_TMU=y
206CONFIG_SH_PCLK_FREQ=60000000
122 207
123# 208#
124# CPU Frequency scaling 209# CPU Frequency scaling
@@ -136,28 +221,39 @@ CONFIG_SH_PCLK_FREQ=49876504
136# CONFIG_HD6446X_SERIES is not set 221# CONFIG_HD6446X_SERIES is not set
137 222
138# 223#
139# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 224# Kernel features
140# 225#
141CONFIG_PCI=y 226# CONFIG_HZ_100 is not set
142# CONFIG_SH_PCIDMA_NONCOHERENT is not set 227CONFIG_HZ_250=y
143CONFIG_PCI_AUTO=y 228# CONFIG_HZ_1000 is not set
144CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 229CONFIG_HZ=250
145CONFIG_PCI_LEGACY_PROC=y 230# CONFIG_KEXEC is not set
146CONFIG_PCI_NAMES=y 231# CONFIG_SMP is not set
232# CONFIG_PREEMPT_NONE is not set
233# CONFIG_PREEMPT_VOLUNTARY is not set
234CONFIG_PREEMPT=y
235CONFIG_PREEMPT_BKL=y
147 236
148# 237#
149# PCCARD (PCMCIA/CardBus) support 238# Boot options
239#
240CONFIG_ZERO_PAGE_OFFSET=0x00001000
241CONFIG_BOOT_LINK_OFFSET=0x00800000
242# CONFIG_UBC_WAKEUP is not set
243# CONFIG_CMDLINE_BOOL is not set
244
245#
246# Bus options
150# 247#
151# CONFIG_PCCARD is not set 248# CONFIG_PCI is not set
152 249
153# 250#
154# PC-card bridges 251# PCCARD (PCMCIA/CardBus) support
155# 252#
156 253
157# 254#
158# PCI Hotplug Support 255# PCI Hotplug Support
159# 256#
160# CONFIG_HOTPLUG_PCI is not set
161 257
162# 258#
163# Executable file formats 259# Executable file formats
@@ -167,9 +263,14 @@ CONFIG_BINFMT_ELF=y
167# CONFIG_BINFMT_MISC is not set 263# CONFIG_BINFMT_MISC is not set
168 264
169# 265#
170# SH initrd options 266# Power management options (EXPERIMENTAL)
267#
268# CONFIG_PM is not set
269
270#
271# Networking
171# 272#
172# CONFIG_EMBEDDED_RAMDISK is not set 273# CONFIG_NET is not set
173 274
174# 275#
175# Device Drivers 276# Device Drivers
@@ -180,7 +281,11 @@ CONFIG_BINFMT_ELF=y
180# 281#
181# CONFIG_STANDALONE is not set 282# CONFIG_STANDALONE is not set
182CONFIG_PREVENT_FIRMWARE_BUILD=y 283CONFIG_PREVENT_FIRMWARE_BUILD=y
183# CONFIG_FW_LOADER is not set 284# CONFIG_SYS_HYPERVISOR is not set
285
286#
287# Connector - unified userspace <-> kernelspace linker
288#
184 289
185# 290#
186# Memory Technology Devices (MTD) 291# Memory Technology Devices (MTD)
@@ -199,31 +304,16 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
199# 304#
200# Block devices 305# Block devices
201# 306#
202# CONFIG_BLK_DEV_FD is not set
203# CONFIG_BLK_CPQ_DA is not set
204# CONFIG_BLK_CPQ_CISS_DA is not set
205# CONFIG_BLK_DEV_DAC960 is not set
206# CONFIG_BLK_DEV_UMEM is not set
207# CONFIG_BLK_DEV_COW_COMMON is not set 307# CONFIG_BLK_DEV_COW_COMMON is not set
208# CONFIG_BLK_DEV_LOOP is not set 308# CONFIG_BLK_DEV_LOOP is not set
209# CONFIG_BLK_DEV_SX8 is not set
210CONFIG_BLK_DEV_RAM=y 309CONFIG_BLK_DEV_RAM=y
211CONFIG_BLK_DEV_RAM_COUNT=16 310CONFIG_BLK_DEV_RAM_COUNT=16
212CONFIG_BLK_DEV_RAM_SIZE=1024 311CONFIG_BLK_DEV_RAM_SIZE=1024
312CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
213CONFIG_BLK_DEV_INITRD=y 313CONFIG_BLK_DEV_INITRD=y
214CONFIG_INITRAMFS_SOURCE=""
215# CONFIG_LBD is not set
216# CONFIG_CDROM_PKTCDVD is not set 314# CONFIG_CDROM_PKTCDVD is not set
217 315
218# 316#
219# IO Schedulers
220#
221CONFIG_IOSCHED_NOOP=y
222CONFIG_IOSCHED_AS=y
223CONFIG_IOSCHED_DEADLINE=y
224CONFIG_IOSCHED_CFQ=y
225
226#
227# ATA/ATAPI/MFM/RLL support 317# ATA/ATAPI/MFM/RLL support
228# 318#
229# CONFIG_IDE is not set 319# CONFIG_IDE is not set
@@ -231,7 +321,14 @@ CONFIG_IOSCHED_CFQ=y
231# 321#
232# SCSI device support 322# SCSI device support
233# 323#
324# CONFIG_RAID_ATTRS is not set
234# CONFIG_SCSI is not set 325# CONFIG_SCSI is not set
326# CONFIG_SCSI_NETLINK is not set
327
328#
329# Serial ATA (prod) and Parallel ATA (experimental) drivers
330#
331# CONFIG_ATA is not set
235 332
236# 333#
237# Multi-device support (RAID and LVM) 334# Multi-device support (RAID and LVM)
@@ -241,23 +338,15 @@ CONFIG_IOSCHED_CFQ=y
241# 338#
242# Fusion MPT device support 339# Fusion MPT device support
243# 340#
341# CONFIG_FUSION is not set
244 342
245# 343#
246# IEEE 1394 (FireWire) support 344# IEEE 1394 (FireWire) support
247# 345#
248# CONFIG_IEEE1394 is not set
249 346
250# 347#
251# I2O device support 348# I2O device support
252# 349#
253# CONFIG_I2O is not set
254
255#
256# Networking support
257#
258# CONFIG_NET is not set
259# CONFIG_NETPOLL is not set
260# CONFIG_NET_POLL_CONTROLLER is not set
261 350
262# 351#
263# ISDN subsystem 352# ISDN subsystem
@@ -274,25 +363,14 @@ CONFIG_IOSCHED_CFQ=y
274# CONFIG_INPUT is not set 363# CONFIG_INPUT is not set
275 364
276# 365#
277# Userland interfaces 366# Hardware I/O ports
278#
279
280# 367#
281# Input I/O drivers
282#
283# CONFIG_GAMEPORT is not set
284CONFIG_SOUND_GAMEPORT=y
285CONFIG_SERIO=y 368CONFIG_SERIO=y
286# CONFIG_SERIO_I8042 is not set 369# CONFIG_SERIO_I8042 is not set
287# CONFIG_SERIO_SERPORT is not set 370# CONFIG_SERIO_SERPORT is not set
288# CONFIG_SERIO_CT82C710 is not set
289# CONFIG_SERIO_PCIPS2 is not set
290# CONFIG_SERIO_LIBPS2 is not set 371# CONFIG_SERIO_LIBPS2 is not set
291# CONFIG_SERIO_RAW is not set 372# CONFIG_SERIO_RAW is not set
292 373# CONFIG_GAMEPORT is not set
293#
294# Input Device Drivers
295#
296 374
297# 375#
298# Character devices 376# Character devices
@@ -322,27 +400,46 @@ CONFIG_LEGACY_PTY_COUNT=256
322# Watchdog Cards 400# Watchdog Cards
323# 401#
324# CONFIG_WATCHDOG is not set 402# CONFIG_WATCHDOG is not set
325# CONFIG_RTC is not set 403CONFIG_HW_RANDOM=y
326# CONFIG_GEN_RTC is not set 404# CONFIG_GEN_RTC is not set
327# CONFIG_DTLK is not set 405# CONFIG_DTLK is not set
328# CONFIG_R3964 is not set 406# CONFIG_R3964 is not set
329# CONFIG_APPLICOM is not set
330 407
331# 408#
332# Ftape, the floppy tape device driver 409# Ftape, the floppy tape device driver
333# 410#
334# CONFIG_DRM is not set
335# CONFIG_RAW_DRIVER is not set 411# CONFIG_RAW_DRIVER is not set
336 412
337# 413#
414# TPM devices
415#
416# CONFIG_TCG_TPM is not set
417# CONFIG_TELCLOCK is not set
418
419#
338# I2C support 420# I2C support
339# 421#
340# CONFIG_I2C is not set 422# CONFIG_I2C is not set
341 423
342# 424#
425# SPI support
426#
427# CONFIG_SPI is not set
428# CONFIG_SPI_MASTER is not set
429
430#
343# Dallas's 1-wire bus 431# Dallas's 1-wire bus
344# 432#
345# CONFIG_W1 is not set 433
434#
435# Hardware Monitoring support
436#
437CONFIG_HWMON=y
438# CONFIG_HWMON_VID is not set
439# CONFIG_SENSORS_ABITUGURU is not set
440# CONFIG_SENSORS_F71805F is not set
441# CONFIG_SENSORS_VT1211 is not set
442# CONFIG_HWMON_DEBUG_CHIP is not set
346 443
347# 444#
348# Misc devices 445# Misc devices
@@ -352,6 +449,7 @@ CONFIG_LEGACY_PTY_COUNT=256
352# Multimedia devices 449# Multimedia devices
353# 450#
354# CONFIG_VIDEO_DEV is not set 451# CONFIG_VIDEO_DEV is not set
452CONFIG_VIDEO_V4L2=y
355 453
356# 454#
357# Digital Video Broadcasting Devices 455# Digital Video Broadcasting Devices
@@ -360,7 +458,9 @@ CONFIG_LEGACY_PTY_COUNT=256
360# 458#
361# Graphics support 459# Graphics support
362# 460#
461CONFIG_FIRMWARE_EDID=y
363# CONFIG_FB is not set 462# CONFIG_FB is not set
463# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
364 464
365# 465#
366# Sound 466# Sound
@@ -370,12 +470,12 @@ CONFIG_LEGACY_PTY_COUNT=256
370# 470#
371# USB support 471# USB support
372# 472#
373# CONFIG_USB is not set 473# CONFIG_USB_ARCH_HAS_HCD is not set
374CONFIG_USB_ARCH_HAS_HCD=y 474# CONFIG_USB_ARCH_HAS_OHCI is not set
375CONFIG_USB_ARCH_HAS_OHCI=y 475# CONFIG_USB_ARCH_HAS_EHCI is not set
376 476
377# 477#
378# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 478# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
379# 479#
380 480
381# 481#
@@ -389,29 +489,62 @@ CONFIG_USB_ARCH_HAS_OHCI=y
389# CONFIG_MMC is not set 489# CONFIG_MMC is not set
390 490
391# 491#
492# LED devices
493#
494# CONFIG_NEW_LEDS is not set
495
496#
497# LED drivers
498#
499
500#
501# LED Triggers
502#
503
504#
392# InfiniBand support 505# InfiniBand support
393# 506#
394# CONFIG_INFINIBAND is not set 507
508#
509# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
510#
511
512#
513# Real Time Clock
514#
515# CONFIG_RTC_CLASS is not set
516
517#
518# DMA Engine support
519#
520# CONFIG_DMA_ENGINE is not set
521
522#
523# DMA Clients
524#
525
526#
527# DMA Devices
528#
395 529
396# 530#
397# File systems 531# File systems
398# 532#
399# CONFIG_EXT2_FS is not set 533# CONFIG_EXT2_FS is not set
400# CONFIG_EXT3_FS is not set 534# CONFIG_EXT3_FS is not set
401# CONFIG_JBD is not set
402# CONFIG_REISERFS_FS is not set 535# CONFIG_REISERFS_FS is not set
403# CONFIG_JFS_FS is not set 536# CONFIG_JFS_FS is not set
404 537# CONFIG_FS_POSIX_ACL is not set
405#
406# XFS support
407#
408# CONFIG_XFS_FS is not set 538# CONFIG_XFS_FS is not set
409# CONFIG_MINIX_FS is not set 539# CONFIG_MINIX_FS is not set
410CONFIG_ROMFS_FS=y 540CONFIG_ROMFS_FS=y
541CONFIG_INOTIFY=y
542CONFIG_INOTIFY_USER=y
411# CONFIG_QUOTA is not set 543# CONFIG_QUOTA is not set
412CONFIG_DNOTIFY=y 544CONFIG_DNOTIFY=y
413# CONFIG_AUTOFS_FS is not set 545# CONFIG_AUTOFS_FS is not set
414# CONFIG_AUTOFS4_FS is not set 546# CONFIG_AUTOFS4_FS is not set
547# CONFIG_FUSE_FS is not set
415 548
416# 549#
417# CD-ROM/DVD Filesystems 550# CD-ROM/DVD Filesystems
@@ -431,16 +564,14 @@ CONFIG_DNOTIFY=y
431# 564#
432CONFIG_PROC_FS=y 565CONFIG_PROC_FS=y
433CONFIG_PROC_KCORE=y 566CONFIG_PROC_KCORE=y
567CONFIG_PROC_SYSCTL=y
434CONFIG_SYSFS=y 568CONFIG_SYSFS=y
435CONFIG_DEVFS_FS=y
436CONFIG_DEVFS_MOUNT=y
437# CONFIG_DEVFS_DEBUG is not set
438# CONFIG_DEVPTS_FS_XATTR is not set
439CONFIG_TMPFS=y 569CONFIG_TMPFS=y
440# CONFIG_TMPFS_XATTR is not set 570# CONFIG_TMPFS_POSIX_ACL is not set
441# CONFIG_HUGETLBFS is not set 571# CONFIG_HUGETLBFS is not set
442# CONFIG_HUGETLB_PAGE is not set 572# CONFIG_HUGETLB_PAGE is not set
443CONFIG_RAMFS=y 573CONFIG_RAMFS=y
574# CONFIG_CONFIGFS_FS is not set
444 575
445# 576#
446# Miscellaneous filesystems 577# Miscellaneous filesystems
@@ -478,9 +609,14 @@ CONFIG_MSDOS_PARTITION=y
478# 609#
479# Kernel hacking 610# Kernel hacking
480# 611#
612# CONFIG_PRINTK_TIME is not set
613CONFIG_ENABLE_MUST_CHECK=y
614# CONFIG_MAGIC_SYSRQ is not set
615# CONFIG_UNUSED_SYMBOLS is not set
481# CONFIG_DEBUG_KERNEL is not set 616# CONFIG_DEBUG_KERNEL is not set
482CONFIG_DEBUG_PREEMPT=y 617CONFIG_LOG_BUF_SHIFT=14
483# CONFIG_FRAME_POINTER is not set 618# CONFIG_DEBUG_BUGVERBOSE is not set
619# CONFIG_DEBUG_FS is not set
484# CONFIG_SH_STANDARD_BIOS is not set 620# CONFIG_SH_STANDARD_BIOS is not set
485# CONFIG_EARLY_SCIF_CONSOLE is not set 621# CONFIG_EARLY_SCIF_CONSOLE is not set
486# CONFIG_KGDB is not set 622# CONFIG_KGDB is not set
@@ -497,13 +633,11 @@ CONFIG_DEBUG_PREEMPT=y
497# CONFIG_CRYPTO is not set 633# CONFIG_CRYPTO is not set
498 634
499# 635#
500# Hardware crypto devices
501#
502
503#
504# Library routines 636# Library routines
505# 637#
506# CONFIG_CRC_CCITT is not set 638# CONFIG_CRC_CCITT is not set
639# CONFIG_CRC16 is not set
507CONFIG_CRC32=y 640CONFIG_CRC32=y
508# CONFIG_LIBCRC32C is not set 641# CONFIG_LIBCRC32C is not set
509CONFIG_ZLIB_INFLATE=y 642CONFIG_ZLIB_INFLATE=y
643CONFIG_PLIST=y
diff --git a/arch/sh/configs/titan_defconfig b/arch/sh/configs/titan_defconfig
index 1db2904de9e5..5e8175461138 100644
--- a/arch/sh/configs/titan_defconfig
+++ b/arch/sh/configs/titan_defconfig
@@ -1,21 +1,21 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.14-sh 3# Linux kernel version: 2.6.18
4# Wed Nov 9 00:35:56 2005 4# Tue Oct 3 12:59:14 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_UID16=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_HARDIRQS=y 10CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y 11CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
12CONFIG_GENERIC_IOMAP=y 13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 14
14# 15#
15# Code maturity level options 16# Code maturity level options
16# 17#
17CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
18CONFIG_CLEAN_COMPILE=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32 20CONFIG_INIT_ENV_ARG_LIMIT=32
21 21
@@ -26,31 +26,38 @@ CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y 26CONFIG_LOCALVERSION_AUTO=y
27CONFIG_SWAP=y 27CONFIG_SWAP=y
28CONFIG_SYSVIPC=y 28CONFIG_SYSVIPC=y
29# CONFIG_POSIX_MQUEUE is not set 29# CONFIG_IPC_NS is not set
30CONFIG_POSIX_MQUEUE=y
30# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
31CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
32# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
33CONFIG_HOTPLUG=y
34CONFIG_KOBJECT_UEVENT=y
35CONFIG_IKCONFIG=y 35CONFIG_IKCONFIG=y
36CONFIG_IKCONFIG_PROC=y 36CONFIG_IKCONFIG_PROC=y
37# CONFIG_RELAY is not set
37CONFIG_INITRAMFS_SOURCE="" 38CONFIG_INITRAMFS_SOURCE=""
38# CONFIG_EMBEDDED is not set 39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SYSCTL=y
41CONFIG_EMBEDDED=y
42CONFIG_UID16=y
43# CONFIG_SYSCTL_SYSCALL is not set
39CONFIG_KALLSYMS=y 44CONFIG_KALLSYMS=y
40# CONFIG_KALLSYMS_ALL is not set 45# CONFIG_KALLSYMS_ALL is not set
41# CONFIG_KALLSYMS_EXTRA_PASS is not set 46# CONFIG_KALLSYMS_EXTRA_PASS is not set
47CONFIG_HOTPLUG=y
42CONFIG_PRINTK=y 48CONFIG_PRINTK=y
43CONFIG_BUG=y 49CONFIG_BUG=y
50CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y 51CONFIG_BASE_FULL=y
45CONFIG_FUTEX=y 52CONFIG_FUTEX=y
46CONFIG_EPOLL=y 53CONFIG_EPOLL=y
47CONFIG_SHMEM=y 54CONFIG_SHMEM=y
48CONFIG_CC_ALIGN_FUNCTIONS=0 55CONFIG_SLAB=y
49CONFIG_CC_ALIGN_LABELS=0 56CONFIG_VM_EVENT_COUNTERS=y
50CONFIG_CC_ALIGN_LOOPS=0 57CONFIG_RT_MUTEXES=y
51CONFIG_CC_ALIGN_JUMPS=0
52# CONFIG_TINY_SHMEM is not set 58# CONFIG_TINY_SHMEM is not set
53CONFIG_BASE_SMALL=0 59CONFIG_BASE_SMALL=0
60# CONFIG_SLOB is not set
54 61
55# 62#
56# Loadable module support 63# Loadable module support
@@ -58,40 +65,57 @@ CONFIG_BASE_SMALL=0
58CONFIG_MODULES=y 65CONFIG_MODULES=y
59CONFIG_MODULE_UNLOAD=y 66CONFIG_MODULE_UNLOAD=y
60CONFIG_MODULE_FORCE_UNLOAD=y 67CONFIG_MODULE_FORCE_UNLOAD=y
61CONFIG_OBSOLETE_MODPARM=y
62# CONFIG_MODVERSIONS is not set 68# CONFIG_MODVERSIONS is not set
63# CONFIG_MODULE_SRCVERSION_ALL is not set 69# CONFIG_MODULE_SRCVERSION_ALL is not set
64CONFIG_KMOD=y 70CONFIG_KMOD=y
65 71
66# 72#
73# Block layer
74#
75CONFIG_BLOCK=y
76# CONFIG_LBD is not set
77# CONFIG_BLK_DEV_IO_TRACE is not set
78# CONFIG_LSF is not set
79
80#
81# IO Schedulers
82#
83CONFIG_IOSCHED_NOOP=y
84CONFIG_IOSCHED_AS=y
85CONFIG_IOSCHED_DEADLINE=y
86CONFIG_IOSCHED_CFQ=y
87CONFIG_DEFAULT_AS=y
88# CONFIG_DEFAULT_DEADLINE is not set
89# CONFIG_DEFAULT_CFQ is not set
90# CONFIG_DEFAULT_NOOP is not set
91CONFIG_DEFAULT_IOSCHED="anticipatory"
92
93#
67# System type 94# System type
68# 95#
69# CONFIG_SH_SOLUTION_ENGINE is not set 96# CONFIG_SH_SOLUTION_ENGINE is not set
70# CONFIG_SH_7751_SOLUTION_ENGINE is not set 97# CONFIG_SH_7751_SOLUTION_ENGINE is not set
71# CONFIG_SH_7300_SOLUTION_ENGINE is not set 98# CONFIG_SH_7300_SOLUTION_ENGINE is not set
99# CONFIG_SH_7343_SOLUTION_ENGINE is not set
72# CONFIG_SH_73180_SOLUTION_ENGINE is not set 100# CONFIG_SH_73180_SOLUTION_ENGINE is not set
73# CONFIG_SH_7751_SYSTEMH is not set 101# CONFIG_SH_7751_SYSTEMH is not set
74CONFIG_SH_TITAN=y
75# CONFIG_SH_STB1_HARP is not set
76# CONFIG_SH_STB1_OVERDRIVE is not set
77# CONFIG_SH_HP6XX is not set 102# CONFIG_SH_HP6XX is not set
78# CONFIG_SH_CQREEK is not set
79# CONFIG_SH_DMIDA is not set
80# CONFIG_SH_EC3104 is not set 103# CONFIG_SH_EC3104 is not set
81# CONFIG_SH_SATURN is not set 104# CONFIG_SH_SATURN is not set
82# CONFIG_SH_DREAMCAST is not set 105# CONFIG_SH_DREAMCAST is not set
83# CONFIG_SH_CAT68701 is not set
84# CONFIG_SH_BIGSUR is not set 106# CONFIG_SH_BIGSUR is not set
85# CONFIG_SH_SH2000 is not set
86# CONFIG_SH_ADX is not set
87# CONFIG_SH_MPC1211 is not set 107# CONFIG_SH_MPC1211 is not set
88# CONFIG_SH_SH03 is not set 108# CONFIG_SH_SH03 is not set
89# CONFIG_SH_SECUREEDGE5410 is not set 109# CONFIG_SH_SECUREEDGE5410 is not set
90# CONFIG_SH_HS7751RVOIP is not set 110# CONFIG_SH_HS7751RVOIP is not set
111# CONFIG_SH_7710VOIPGW is not set
91# CONFIG_SH_RTS7751R2D is not set 112# CONFIG_SH_RTS7751R2D is not set
113# CONFIG_SH_R7780RP is not set
92# CONFIG_SH_EDOSK7705 is not set 114# CONFIG_SH_EDOSK7705 is not set
93# CONFIG_SH_SH4202_MICRODEV is not set 115# CONFIG_SH_SH4202_MICRODEV is not set
94# CONFIG_SH_LANDISK is not set 116# CONFIG_SH_LANDISK is not set
117CONFIG_SH_TITAN=y
118# CONFIG_SH_SHMIN is not set
95# CONFIG_SH_UNKNOWN is not set 119# CONFIG_SH_UNKNOWN is not set
96 120
97# 121#
@@ -109,9 +133,11 @@ CONFIG_CPU_SH4=y
109# 133#
110# CONFIG_CPU_SUBTYPE_SH7300 is not set 134# CONFIG_CPU_SUBTYPE_SH7300 is not set
111# CONFIG_CPU_SUBTYPE_SH7705 is not set 135# CONFIG_CPU_SUBTYPE_SH7705 is not set
136# CONFIG_CPU_SUBTYPE_SH7706 is not set
112# CONFIG_CPU_SUBTYPE_SH7707 is not set 137# CONFIG_CPU_SUBTYPE_SH7707 is not set
113# CONFIG_CPU_SUBTYPE_SH7708 is not set 138# CONFIG_CPU_SUBTYPE_SH7708 is not set
114# CONFIG_CPU_SUBTYPE_SH7709 is not set 139# CONFIG_CPU_SUBTYPE_SH7709 is not set
140# CONFIG_CPU_SUBTYPE_SH7710 is not set
115 141
116# 142#
117# SH-4 Processor Support 143# SH-4 Processor Support
@@ -134,14 +160,23 @@ CONFIG_CPU_SUBTYPE_SH7751R=y
134# 160#
135# SH-4A Processor Support 161# SH-4A Processor Support
136# 162#
137# CONFIG_CPU_SUBTYPE_SH73180 is not set
138# CONFIG_CPU_SUBTYPE_SH7770 is not set 163# CONFIG_CPU_SUBTYPE_SH7770 is not set
139# CONFIG_CPU_SUBTYPE_SH7780 is not set 164# CONFIG_CPU_SUBTYPE_SH7780 is not set
140 165
141# 166#
167# SH4AL-DSP Processor Support
168#
169# CONFIG_CPU_SUBTYPE_SH73180 is not set
170# CONFIG_CPU_SUBTYPE_SH7343 is not set
171
172#
142# Memory management options 173# Memory management options
143# 174#
144CONFIG_MMU=y 175CONFIG_MMU=y
176CONFIG_PAGE_OFFSET=0x80000000
177CONFIG_MEMORY_START=0x08030000
178CONFIG_MEMORY_SIZE=0x7fd0000
179CONFIG_VSYSCALL=y
145CONFIG_SELECT_MEMORY_MODEL=y 180CONFIG_SELECT_MEMORY_MODEL=y
146CONFIG_FLATMEM_MANUAL=y 181CONFIG_FLATMEM_MANUAL=y
147# CONFIG_DISCONTIGMEM_MANUAL is not set 182# CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -149,6 +184,8 @@ CONFIG_FLATMEM_MANUAL=y
149CONFIG_FLATMEM=y 184CONFIG_FLATMEM=y
150CONFIG_FLAT_NODE_MEM_MAP=y 185CONFIG_FLAT_NODE_MEM_MAP=y
151# CONFIG_SPARSEMEM_STATIC is not set 186# CONFIG_SPARSEMEM_STATIC is not set
187CONFIG_SPLIT_PTLOCK_CPUS=4
188# CONFIG_RESOURCES_64BIT is not set
152 189
153# 190#
154# Cache configuration 191# Cache configuration
@@ -156,22 +193,21 @@ CONFIG_FLAT_NODE_MEM_MAP=y
156# CONFIG_SH_DIRECT_MAPPED is not set 193# CONFIG_SH_DIRECT_MAPPED is not set
157# CONFIG_SH_WRITETHROUGH is not set 194# CONFIG_SH_WRITETHROUGH is not set
158# CONFIG_SH_OCRAM is not set 195# CONFIG_SH_OCRAM is not set
159CONFIG_MEMORY_START=0x08030000
160CONFIG_MEMORY_SIZE=0x7fd0000
161 196
162# 197#
163# Processor features 198# Processor features
164# 199#
165CONFIG_CPU_LITTLE_ENDIAN=y 200CONFIG_CPU_LITTLE_ENDIAN=y
166CONFIG_SH_RTC=y
167CONFIG_SH_FPU=y 201CONFIG_SH_FPU=y
202# CONFIG_SH_DSP is not set
168# CONFIG_SH_STORE_QUEUES is not set 203# CONFIG_SH_STORE_QUEUES is not set
204CONFIG_CPU_HAS_INTEVT=y
205CONFIG_CPU_HAS_SR_RB=y
169 206
170# 207#
171# Timer support 208# Timer support
172# 209#
173CONFIG_SH_TMU=y 210CONFIG_SH_TMU=y
174CONFIG_SH_PCLK_FREQ_BOOL=y
175CONFIG_SH_PCLK_FREQ=30000000 211CONFIG_SH_PCLK_FREQ=30000000
176 212
177# 213#
@@ -194,9 +230,15 @@ CONFIG_NR_ONCHIP_DMA_CHANNELS=8
194# 230#
195# Kernel features 231# Kernel features
196# 232#
233# CONFIG_HZ_100 is not set
234CONFIG_HZ_250=y
235# CONFIG_HZ_1000 is not set
236CONFIG_HZ=250
197# CONFIG_KEXEC is not set 237# CONFIG_KEXEC is not set
198# CONFIG_PREEMPT is not set
199# CONFIG_SMP is not set 238# CONFIG_SMP is not set
239CONFIG_PREEMPT_NONE=y
240# CONFIG_PREEMPT_VOLUNTARY is not set
241# CONFIG_PREEMPT is not set
200 242
201# 243#
202# Boot options 244# Boot options
@@ -214,8 +256,8 @@ CONFIG_PCI=y
214CONFIG_SH_PCIDMA_NONCOHERENT=y 256CONFIG_SH_PCIDMA_NONCOHERENT=y
215CONFIG_PCI_AUTO=y 257CONFIG_PCI_AUTO=y
216CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 258CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
217CONFIG_PCI_LEGACY_PROC=y 259# CONFIG_PCI_MULTITHREAD_PROBE is not set
218#CONFIG_PCI_DEBUG is not set 260# CONFIG_PCI_DEBUG is not set
219 261
220# 262#
221# PCCARD (PCMCIA/CardBus) support 263# PCCARD (PCMCIA/CardBus) support
@@ -238,6 +280,11 @@ CONFIG_BINFMT_ELF=y
238# CONFIG_BINFMT_MISC is not set 280# CONFIG_BINFMT_MISC is not set
239 281
240# 282#
283# Power management options (EXPERIMENTAL)
284#
285# CONFIG_PM is not set
286
287#
241# Networking 288# Networking
242# 289#
243CONFIG_NET=y 290CONFIG_NET=y
@@ -245,11 +292,13 @@ CONFIG_NET=y
245# 292#
246# Networking options 293# Networking options
247# 294#
295# CONFIG_NETDEBUG is not set
248CONFIG_PACKET=y 296CONFIG_PACKET=y
249CONFIG_PACKET_MMAP=y 297CONFIG_PACKET_MMAP=y
250CONFIG_UNIX=y 298CONFIG_UNIX=y
251CONFIG_XFRM=y 299CONFIG_XFRM=y
252# CONFIG_XFRM_USER is not set 300# CONFIG_XFRM_USER is not set
301# CONFIG_XFRM_SUB_POLICY is not set
253CONFIG_NET_KEY=y 302CONFIG_NET_KEY=y
254CONFIG_INET=y 303CONFIG_INET=y
255CONFIG_IP_MULTICAST=y 304CONFIG_IP_MULTICAST=y
@@ -270,40 +319,87 @@ CONFIG_IP_PNP=y
270CONFIG_IP_PNP_DHCP=y 319CONFIG_IP_PNP_DHCP=y
271CONFIG_IP_PNP_BOOTP=y 320CONFIG_IP_PNP_BOOTP=y
272CONFIG_IP_PNP_RARP=y 321CONFIG_IP_PNP_RARP=y
273CONFIG_NET_IPIP=m 322CONFIG_NET_IPIP=y
274CONFIG_NET_IPGRE=m 323CONFIG_NET_IPGRE=y
275CONFIG_NET_IPGRE_BROADCAST=y 324CONFIG_NET_IPGRE_BROADCAST=y
276CONFIG_IP_MROUTE=y 325CONFIG_IP_MROUTE=y
277CONFIG_IP_PIMSM_V1=y 326CONFIG_IP_PIMSM_V1=y
278CONFIG_IP_PIMSM_V2=y 327CONFIG_IP_PIMSM_V2=y
279# CONFIG_ARPD is not set 328# CONFIG_ARPD is not set
280CONFIG_SYN_COOKIES=y 329CONFIG_SYN_COOKIES=y
281CONFIG_INET_AH=m 330CONFIG_INET_AH=y
282CONFIG_INET_ESP=m 331CONFIG_INET_ESP=y
283CONFIG_INET_IPCOMP=m 332CONFIG_INET_IPCOMP=y
284CONFIG_INET_TUNNEL=m 333CONFIG_INET_XFRM_TUNNEL=y
334CONFIG_INET_TUNNEL=y
335CONFIG_INET_XFRM_MODE_TRANSPORT=y
336CONFIG_INET_XFRM_MODE_TUNNEL=y
285CONFIG_INET_DIAG=m 337CONFIG_INET_DIAG=m
286CONFIG_INET_TCP_DIAG=m 338CONFIG_INET_TCP_DIAG=m
287# CONFIG_TCP_CONG_ADVANCED is not set 339# CONFIG_TCP_CONG_ADVANCED is not set
288CONFIG_TCP_CONG_BIC=y 340CONFIG_TCP_CONG_CUBIC=y
341CONFIG_DEFAULT_TCP_CONG="cubic"
289 342
290# 343#
291# IP: Virtual Server Configuration 344# IP: Virtual Server Configuration
292# 345#
293# CONFIG_IP_VS is not set 346# CONFIG_IP_VS is not set
294CONFIG_IPV6=m 347CONFIG_IPV6=y
295CONFIG_IPV6_PRIVACY=y 348CONFIG_IPV6_PRIVACY=y
296CONFIG_INET6_AH=m 349# CONFIG_IPV6_ROUTER_PREF is not set
297CONFIG_INET6_ESP=m 350CONFIG_INET6_AH=y
298CONFIG_INET6_IPCOMP=m 351CONFIG_INET6_ESP=y
299CONFIG_INET6_TUNNEL=m 352CONFIG_INET6_IPCOMP=y
300CONFIG_IPV6_TUNNEL=m 353# CONFIG_IPV6_MIP6 is not set
354CONFIG_INET6_XFRM_TUNNEL=y
355CONFIG_INET6_TUNNEL=y
356CONFIG_INET6_XFRM_MODE_TRANSPORT=y
357CONFIG_INET6_XFRM_MODE_TUNNEL=y
358# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
359CONFIG_IPV6_TUNNEL=y
360# CONFIG_IPV6_SUBTREES is not set
361# CONFIG_IPV6_MULTIPLE_TABLES is not set
362# CONFIG_NETWORK_SECMARK is not set
301CONFIG_NETFILTER=y 363CONFIG_NETFILTER=y
302# CONFIG_NETFILTER_DEBUG is not set 364# CONFIG_NETFILTER_DEBUG is not set
303CONFIG_BRIDGE_NETFILTER=y 365CONFIG_BRIDGE_NETFILTER=y
366
367#
368# Core Netfilter Configuration
369#
304CONFIG_NETFILTER_NETLINK=m 370CONFIG_NETFILTER_NETLINK=m
305CONFIG_NETFILTER_NETLINK_QUEUE=m 371CONFIG_NETFILTER_NETLINK_QUEUE=m
306CONFIG_NETFILTER_NETLINK_LOG=m 372CONFIG_NETFILTER_NETLINK_LOG=m
373CONFIG_NETFILTER_XTABLES=m
374CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
375CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
376# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
377CONFIG_NETFILTER_XT_TARGET_MARK=m
378CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
379CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
380CONFIG_NETFILTER_XT_MATCH_COMMENT=m
381CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
382CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
383CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
384CONFIG_NETFILTER_XT_MATCH_DCCP=m
385# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
386CONFIG_NETFILTER_XT_MATCH_ESP=m
387CONFIG_NETFILTER_XT_MATCH_HELPER=m
388CONFIG_NETFILTER_XT_MATCH_LENGTH=m
389CONFIG_NETFILTER_XT_MATCH_LIMIT=m
390CONFIG_NETFILTER_XT_MATCH_MAC=m
391CONFIG_NETFILTER_XT_MATCH_MARK=m
392CONFIG_NETFILTER_XT_MATCH_POLICY=m
393CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
394CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
395CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
396# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
397CONFIG_NETFILTER_XT_MATCH_REALM=m
398CONFIG_NETFILTER_XT_MATCH_SCTP=m
399CONFIG_NETFILTER_XT_MATCH_STATE=m
400# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
401CONFIG_NETFILTER_XT_MATCH_STRING=m
402CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
307 403
308# 404#
309# IP: Netfilter Configuration 405# IP: Netfilter Configuration
@@ -320,42 +416,24 @@ CONFIG_IP_NF_NETBIOS_NS=m
320CONFIG_IP_NF_TFTP=m 416CONFIG_IP_NF_TFTP=m
321# CONFIG_IP_NF_AMANDA is not set 417# CONFIG_IP_NF_AMANDA is not set
322CONFIG_IP_NF_PPTP=m 418CONFIG_IP_NF_PPTP=m
419CONFIG_IP_NF_H323=m
420# CONFIG_IP_NF_SIP is not set
323CONFIG_IP_NF_QUEUE=m 421CONFIG_IP_NF_QUEUE=m
324CONFIG_IP_NF_IPTABLES=m 422CONFIG_IP_NF_IPTABLES=m
325CONFIG_IP_NF_MATCH_LIMIT=m
326CONFIG_IP_NF_MATCH_IPRANGE=m 423CONFIG_IP_NF_MATCH_IPRANGE=m
327CONFIG_IP_NF_MATCH_MAC=m
328CONFIG_IP_NF_MATCH_PKTTYPE=m
329CONFIG_IP_NF_MATCH_MARK=m
330CONFIG_IP_NF_MATCH_MULTIPORT=m
331CONFIG_IP_NF_MATCH_TOS=m 424CONFIG_IP_NF_MATCH_TOS=m
332CONFIG_IP_NF_MATCH_RECENT=m 425CONFIG_IP_NF_MATCH_RECENT=m
333CONFIG_IP_NF_MATCH_ECN=m 426CONFIG_IP_NF_MATCH_ECN=m
334CONFIG_IP_NF_MATCH_DSCP=m 427CONFIG_IP_NF_MATCH_AH=m
335CONFIG_IP_NF_MATCH_AH_ESP=m
336CONFIG_IP_NF_MATCH_LENGTH=m
337CONFIG_IP_NF_MATCH_TTL=m 428CONFIG_IP_NF_MATCH_TTL=m
338CONFIG_IP_NF_MATCH_TCPMSS=m
339CONFIG_IP_NF_MATCH_HELPER=m
340CONFIG_IP_NF_MATCH_STATE=m
341CONFIG_IP_NF_MATCH_CONNTRACK=m
342CONFIG_IP_NF_MATCH_OWNER=m 429CONFIG_IP_NF_MATCH_OWNER=m
343# CONFIG_IP_NF_MATCH_PHYSDEV is not set
344CONFIG_IP_NF_MATCH_ADDRTYPE=m 430CONFIG_IP_NF_MATCH_ADDRTYPE=m
345CONFIG_IP_NF_MATCH_REALM=m
346# CONFIG_IP_NF_MATCH_SCTP is not set
347# CONFIG_IP_NF_MATCH_DCCP is not set
348CONFIG_IP_NF_MATCH_COMMENT=m
349CONFIG_IP_NF_MATCH_CONNMARK=m
350CONFIG_IP_NF_MATCH_CONNBYTES=m
351CONFIG_IP_NF_MATCH_HASHLIMIT=m 431CONFIG_IP_NF_MATCH_HASHLIMIT=m
352CONFIG_IP_NF_MATCH_STRING=m
353CONFIG_IP_NF_FILTER=m 432CONFIG_IP_NF_FILTER=m
354CONFIG_IP_NF_TARGET_REJECT=m 433CONFIG_IP_NF_TARGET_REJECT=m
355CONFIG_IP_NF_TARGET_LOG=m 434CONFIG_IP_NF_TARGET_LOG=m
356CONFIG_IP_NF_TARGET_ULOG=m 435CONFIG_IP_NF_TARGET_ULOG=m
357CONFIG_IP_NF_TARGET_TCPMSS=m 436CONFIG_IP_NF_TARGET_TCPMSS=m
358CONFIG_IP_NF_TARGET_NFQUEUE=m
359CONFIG_IP_NF_NAT=m 437CONFIG_IP_NF_NAT=m
360CONFIG_IP_NF_NAT_NEEDED=y 438CONFIG_IP_NF_NAT_NEEDED=y
361CONFIG_IP_NF_TARGET_MASQUERADE=m 439CONFIG_IP_NF_TARGET_MASQUERADE=m
@@ -367,17 +445,13 @@ CONFIG_IP_NF_NAT_IRC=m
367CONFIG_IP_NF_NAT_FTP=m 445CONFIG_IP_NF_NAT_FTP=m
368CONFIG_IP_NF_NAT_TFTP=m 446CONFIG_IP_NF_NAT_TFTP=m
369CONFIG_IP_NF_NAT_PPTP=m 447CONFIG_IP_NF_NAT_PPTP=m
448CONFIG_IP_NF_NAT_H323=m
370CONFIG_IP_NF_MANGLE=m 449CONFIG_IP_NF_MANGLE=m
371CONFIG_IP_NF_TARGET_TOS=m 450CONFIG_IP_NF_TARGET_TOS=m
372CONFIG_IP_NF_TARGET_ECN=m 451CONFIG_IP_NF_TARGET_ECN=m
373CONFIG_IP_NF_TARGET_DSCP=m
374CONFIG_IP_NF_TARGET_MARK=m
375CONFIG_IP_NF_TARGET_CLASSIFY=m
376CONFIG_IP_NF_TARGET_TTL=m 452CONFIG_IP_NF_TARGET_TTL=m
377CONFIG_IP_NF_TARGET_CONNMARK=m
378CONFIG_IP_NF_TARGET_CLUSTERIP=m 453CONFIG_IP_NF_TARGET_CLUSTERIP=m
379CONFIG_IP_NF_RAW=m 454CONFIG_IP_NF_RAW=m
380CONFIG_IP_NF_TARGET_NOTRACK=m
381CONFIG_IP_NF_ARPTABLES=m 455CONFIG_IP_NF_ARPTABLES=m
382CONFIG_IP_NF_ARPFILTER=m 456CONFIG_IP_NF_ARPFILTER=m
383CONFIG_IP_NF_ARP_MANGLE=m 457CONFIG_IP_NF_ARP_MANGLE=m
@@ -387,26 +461,18 @@ CONFIG_IP_NF_ARP_MANGLE=m
387# 461#
388CONFIG_IP6_NF_QUEUE=m 462CONFIG_IP6_NF_QUEUE=m
389CONFIG_IP6_NF_IPTABLES=m 463CONFIG_IP6_NF_IPTABLES=m
390CONFIG_IP6_NF_MATCH_LIMIT=m
391CONFIG_IP6_NF_MATCH_MAC=m
392CONFIG_IP6_NF_MATCH_RT=m 464CONFIG_IP6_NF_MATCH_RT=m
393CONFIG_IP6_NF_MATCH_OPTS=m 465CONFIG_IP6_NF_MATCH_OPTS=m
394CONFIG_IP6_NF_MATCH_FRAG=m 466CONFIG_IP6_NF_MATCH_FRAG=m
395CONFIG_IP6_NF_MATCH_HL=m 467CONFIG_IP6_NF_MATCH_HL=m
396CONFIG_IP6_NF_MATCH_MULTIPORT=m
397CONFIG_IP6_NF_MATCH_OWNER=m 468CONFIG_IP6_NF_MATCH_OWNER=m
398CONFIG_IP6_NF_MATCH_MARK=m
399CONFIG_IP6_NF_MATCH_IPV6HEADER=m 469CONFIG_IP6_NF_MATCH_IPV6HEADER=m
400CONFIG_IP6_NF_MATCH_AHESP=m 470CONFIG_IP6_NF_MATCH_AH=m
401CONFIG_IP6_NF_MATCH_LENGTH=m
402CONFIG_IP6_NF_MATCH_EUI64=m 471CONFIG_IP6_NF_MATCH_EUI64=m
403# CONFIG_IP6_NF_MATCH_PHYSDEV is not set
404CONFIG_IP6_NF_FILTER=m 472CONFIG_IP6_NF_FILTER=m
405CONFIG_IP6_NF_TARGET_LOG=m 473CONFIG_IP6_NF_TARGET_LOG=m
406CONFIG_IP6_NF_TARGET_REJECT=m 474CONFIG_IP6_NF_TARGET_REJECT=m
407CONFIG_IP6_NF_TARGET_NFQUEUE=m
408CONFIG_IP6_NF_MANGLE=m 475CONFIG_IP6_NF_MANGLE=m
409CONFIG_IP6_NF_TARGET_MARK=m
410CONFIG_IP6_NF_TARGET_HL=m 476CONFIG_IP6_NF_TARGET_HL=m
411CONFIG_IP6_NF_RAW=m 477CONFIG_IP6_NF_RAW=m
412 478
@@ -424,22 +490,35 @@ CONFIG_IP6_NF_RAW=m
424# SCTP Configuration (EXPERIMENTAL) 490# SCTP Configuration (EXPERIMENTAL)
425# 491#
426# CONFIG_IP_SCTP is not set 492# CONFIG_IP_SCTP is not set
493
494#
495# TIPC Configuration (EXPERIMENTAL)
496#
497# CONFIG_TIPC is not set
427# CONFIG_ATM is not set 498# CONFIG_ATM is not set
428CONFIG_BRIDGE=m 499CONFIG_BRIDGE=y
429CONFIG_VLAN_8021Q=m 500CONFIG_VLAN_8021Q=y
430# CONFIG_DECNET is not set 501# CONFIG_DECNET is not set
502CONFIG_LLC=y
431# CONFIG_LLC2 is not set 503# CONFIG_LLC2 is not set
432# CONFIG_IPX is not set 504# CONFIG_IPX is not set
433# CONFIG_ATALK is not set 505# CONFIG_ATALK is not set
434# CONFIG_X25 is not set 506# CONFIG_X25 is not set
435# CONFIG_LAPB is not set 507# CONFIG_LAPB is not set
436# CONFIG_NET_DIVERT is not set
437# CONFIG_ECONET is not set 508# CONFIG_ECONET is not set
438# CONFIG_WAN_ROUTER is not set 509# CONFIG_WAN_ROUTER is not set
510
511#
512# QoS and/or fair queueing
513#
439CONFIG_NET_SCHED=y 514CONFIG_NET_SCHED=y
440CONFIG_NET_SCH_CLK_JIFFIES=y 515CONFIG_NET_SCH_CLK_JIFFIES=y
441# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set 516# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
442# CONFIG_NET_SCH_CLK_CPU is not set 517# CONFIG_NET_SCH_CLK_CPU is not set
518
519#
520# Queueing/Scheduling
521#
443CONFIG_NET_SCH_CBQ=m 522CONFIG_NET_SCH_CBQ=m
444CONFIG_NET_SCH_HTB=m 523CONFIG_NET_SCH_HTB=m
445CONFIG_NET_SCH_HFSC=m 524CONFIG_NET_SCH_HFSC=m
@@ -452,8 +531,10 @@ CONFIG_NET_SCH_GRED=m
452CONFIG_NET_SCH_DSMARK=m 531CONFIG_NET_SCH_DSMARK=m
453CONFIG_NET_SCH_NETEM=m 532CONFIG_NET_SCH_NETEM=m
454CONFIG_NET_SCH_INGRESS=m 533CONFIG_NET_SCH_INGRESS=m
455CONFIG_NET_QOS=y 534
456CONFIG_NET_ESTIMATOR=y 535#
536# Classification
537#
457CONFIG_NET_CLS=y 538CONFIG_NET_CLS=y
458CONFIG_NET_CLS_BASIC=m 539CONFIG_NET_CLS_BASIC=m
459CONFIG_NET_CLS_TCINDEX=m 540CONFIG_NET_CLS_TCINDEX=m
@@ -462,7 +543,6 @@ CONFIG_NET_CLS_ROUTE=y
462CONFIG_NET_CLS_FW=m 543CONFIG_NET_CLS_FW=m
463CONFIG_NET_CLS_U32=m 544CONFIG_NET_CLS_U32=m
464CONFIG_CLS_U32_PERF=y 545CONFIG_CLS_U32_PERF=y
465CONFIG_NET_CLS_IND=y
466CONFIG_CLS_U32_MARK=y 546CONFIG_CLS_U32_MARK=y
467CONFIG_NET_CLS_RSVP=m 547CONFIG_NET_CLS_RSVP=m
468CONFIG_NET_CLS_RSVP6=m 548CONFIG_NET_CLS_RSVP6=m
@@ -481,6 +561,8 @@ CONFIG_NET_ACT_MIRRED=m
481CONFIG_NET_ACT_IPT=m 561CONFIG_NET_ACT_IPT=m
482CONFIG_NET_ACT_PEDIT=m 562CONFIG_NET_ACT_PEDIT=m
483# CONFIG_NET_ACT_SIMP is not set 563# CONFIG_NET_ACT_SIMP is not set
564CONFIG_NET_CLS_IND=y
565CONFIG_NET_ESTIMATOR=y
484 566
485# 567#
486# Network testing 568# Network testing
@@ -489,7 +571,15 @@ CONFIG_NET_ACT_PEDIT=m
489# CONFIG_HAMRADIO is not set 571# CONFIG_HAMRADIO is not set
490# CONFIG_IRDA is not set 572# CONFIG_IRDA is not set
491# CONFIG_BT is not set 573# CONFIG_BT is not set
492# CONFIG_IEEE80211 is not set 574CONFIG_IEEE80211=y
575# CONFIG_IEEE80211_DEBUG is not set
576CONFIG_IEEE80211_CRYPT_WEP=y
577CONFIG_IEEE80211_CRYPT_CCMP=y
578CONFIG_IEEE80211_CRYPT_TKIP=y
579CONFIG_IEEE80211_SOFTMAC=m
580# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
581CONFIG_WIRELESS_EXT=y
582CONFIG_FIB_RULES=y
493 583
494# 584#
495# Device Drivers 585# Device Drivers
@@ -502,6 +592,7 @@ CONFIG_STANDALONE=y
502CONFIG_PREVENT_FIRMWARE_BUILD=y 592CONFIG_PREVENT_FIRMWARE_BUILD=y
503CONFIG_FW_LOADER=m 593CONFIG_FW_LOADER=m
504# CONFIG_DEBUG_DRIVER is not set 594# CONFIG_DEBUG_DRIVER is not set
595# CONFIG_SYS_HYPERVISOR is not set
505 596
506# 597#
507# Connector - unified userspace <-> kernelspace linker 598# Connector - unified userspace <-> kernelspace linker
@@ -511,7 +602,86 @@ CONFIG_CONNECTOR=m
511# 602#
512# Memory Technology Devices (MTD) 603# Memory Technology Devices (MTD)
513# 604#
514# CONFIG_MTD is not set 605CONFIG_MTD=m
606CONFIG_MTD_DEBUG=y
607CONFIG_MTD_DEBUG_VERBOSE=0
608# CONFIG_MTD_CONCAT is not set
609# CONFIG_MTD_PARTITIONS is not set
610
611#
612# User Modules And Translation Layers
613#
614CONFIG_MTD_CHAR=m
615CONFIG_MTD_BLOCK=m
616# CONFIG_MTD_BLOCK_RO is not set
617CONFIG_FTL=m
618CONFIG_NFTL=m
619# CONFIG_NFTL_RW is not set
620CONFIG_INFTL=m
621CONFIG_RFD_FTL=m
622# CONFIG_SSFDC is not set
623
624#
625# RAM/ROM/Flash chip drivers
626#
627CONFIG_MTD_CFI=m
628CONFIG_MTD_JEDECPROBE=m
629CONFIG_MTD_GEN_PROBE=m
630# CONFIG_MTD_CFI_ADV_OPTIONS is not set
631CONFIG_MTD_MAP_BANK_WIDTH_1=y
632CONFIG_MTD_MAP_BANK_WIDTH_2=y
633CONFIG_MTD_MAP_BANK_WIDTH_4=y
634# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
635# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
636# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
637CONFIG_MTD_CFI_I1=y
638CONFIG_MTD_CFI_I2=y
639# CONFIG_MTD_CFI_I4 is not set
640# CONFIG_MTD_CFI_I8 is not set
641# CONFIG_MTD_CFI_INTELEXT is not set
642# CONFIG_MTD_CFI_AMDSTD is not set
643# CONFIG_MTD_CFI_STAA is not set
644# CONFIG_MTD_RAM is not set
645# CONFIG_MTD_ROM is not set
646# CONFIG_MTD_ABSENT is not set
647# CONFIG_MTD_OBSOLETE_CHIPS is not set
648
649#
650# Mapping drivers for chip access
651#
652# CONFIG_MTD_COMPLEX_MAPPINGS is not set
653# CONFIG_MTD_PHYSMAP is not set
654# CONFIG_MTD_PLATRAM is not set
655
656#
657# Self-contained MTD device drivers
658#
659# CONFIG_MTD_PMC551 is not set
660# CONFIG_MTD_SLRAM is not set
661# CONFIG_MTD_PHRAM is not set
662# CONFIG_MTD_MTDRAM is not set
663# CONFIG_MTD_BLOCK2MTD is not set
664
665#
666# Disk-On-Chip Device Drivers
667#
668# CONFIG_MTD_DOC2000 is not set
669# CONFIG_MTD_DOC2001 is not set
670# CONFIG_MTD_DOC2001PLUS is not set
671
672#
673# NAND Flash Device Drivers
674#
675CONFIG_MTD_NAND=m
676# CONFIG_MTD_NAND_VERIFY_WRITE is not set
677# CONFIG_MTD_NAND_ECC_SMC is not set
678CONFIG_MTD_NAND_IDS=m
679# CONFIG_MTD_NAND_DISKONCHIP is not set
680
681#
682# OneNAND Flash Device Drivers
683#
684# CONFIG_MTD_ONENAND is not set
515 685
516# 686#
517# Parallel port support 687# Parallel port support
@@ -528,29 +698,20 @@ CONFIG_CONNECTOR=m
528# CONFIG_BLK_CPQ_DA is not set 698# CONFIG_BLK_CPQ_DA is not set
529# CONFIG_BLK_CPQ_CISS_DA is not set 699# CONFIG_BLK_CPQ_CISS_DA is not set
530# CONFIG_BLK_DEV_DAC960 is not set 700# CONFIG_BLK_DEV_DAC960 is not set
531CONFIG_BLK_SSFDC=y
532# CONFIG_BLK_DEV_UMEM is not set 701# CONFIG_BLK_DEV_UMEM is not set
533# CONFIG_BLK_DEV_COW_COMMON is not set 702# CONFIG_BLK_DEV_COW_COMMON is not set
534CONFIG_BLK_DEV_LOOP=m 703CONFIG_BLK_DEV_LOOP=m
535# CONFIG_BLK_DEV_CRYPTOLOOP is not set 704CONFIG_BLK_DEV_CRYPTOLOOP=m
536# CONFIG_BLK_DEV_NBD is not set 705# CONFIG_BLK_DEV_NBD is not set
537# CONFIG_BLK_DEV_SX8 is not set 706# CONFIG_BLK_DEV_SX8 is not set
538# CONFIG_BLK_DEV_UB is not set 707# CONFIG_BLK_DEV_UB is not set
539CONFIG_BLK_DEV_RAM=y 708CONFIG_BLK_DEV_RAM=y
540CONFIG_BLK_DEV_RAM_COUNT=16 709CONFIG_BLK_DEV_RAM_COUNT=16
541CONFIG_BLK_DEV_RAM_SIZE=4096 710CONFIG_BLK_DEV_RAM_SIZE=4096
711CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
542CONFIG_BLK_DEV_INITRD=y 712CONFIG_BLK_DEV_INITRD=y
543# CONFIG_LBD is not set
544# CONFIG_CDROM_PKTCDVD is not set 713# CONFIG_CDROM_PKTCDVD is not set
545 714CONFIG_ATA_OVER_ETH=m
546#
547# IO Schedulers
548#
549CONFIG_IOSCHED_NOOP=y
550CONFIG_IOSCHED_AS=y
551CONFIG_IOSCHED_DEADLINE=y
552CONFIG_IOSCHED_CFQ=y
553# CONFIG_ATA_OVER_ETH is not set
554 715
555# 716#
556# ATA/ATAPI/MFM/RLL support 717# ATA/ATAPI/MFM/RLL support
@@ -561,7 +722,8 @@ CONFIG_IOSCHED_CFQ=y
561# SCSI device support 722# SCSI device support
562# 723#
563# CONFIG_RAID_ATTRS is not set 724# CONFIG_RAID_ATTRS is not set
564CONFIG_SCSI=m 725CONFIG_SCSI=y
726# CONFIG_SCSI_NETLINK is not set
565CONFIG_SCSI_PROC_FS=y 727CONFIG_SCSI_PROC_FS=y
566 728
567# 729#
@@ -583,16 +745,18 @@ CONFIG_CHR_DEV_SG=m
583# CONFIG_SCSI_LOGGING is not set 745# CONFIG_SCSI_LOGGING is not set
584 746
585# 747#
586# SCSI Transport Attributes 748# SCSI Transports
587# 749#
588# CONFIG_SCSI_SPI_ATTRS is not set 750# CONFIG_SCSI_SPI_ATTRS is not set
589# CONFIG_SCSI_FC_ATTRS is not set 751# CONFIG_SCSI_FC_ATTRS is not set
590# CONFIG_SCSI_ISCSI_ATTRS is not set 752# CONFIG_SCSI_ISCSI_ATTRS is not set
591# CONFIG_SCSI_SAS_ATTRS is not set 753# CONFIG_SCSI_SAS_ATTRS is not set
754# CONFIG_SCSI_SAS_LIBSAS is not set
592 755
593# 756#
594# SCSI low-level drivers 757# SCSI low-level drivers
595# 758#
759# CONFIG_ISCSI_TCP is not set
596# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 760# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
597# CONFIG_SCSI_3W_9XXX is not set 761# CONFIG_SCSI_3W_9XXX is not set
598# CONFIG_SCSI_ACARD is not set 762# CONFIG_SCSI_ACARD is not set
@@ -600,27 +764,23 @@ CONFIG_CHR_DEV_SG=m
600# CONFIG_SCSI_AIC7XXX is not set 764# CONFIG_SCSI_AIC7XXX is not set
601# CONFIG_SCSI_AIC7XXX_OLD is not set 765# CONFIG_SCSI_AIC7XXX_OLD is not set
602# CONFIG_SCSI_AIC79XX is not set 766# CONFIG_SCSI_AIC79XX is not set
767# CONFIG_SCSI_AIC94XX is not set
603# CONFIG_SCSI_DPT_I2O is not set 768# CONFIG_SCSI_DPT_I2O is not set
769# CONFIG_SCSI_ARCMSR is not set
604# CONFIG_MEGARAID_NEWGEN is not set 770# CONFIG_MEGARAID_NEWGEN is not set
605# CONFIG_MEGARAID_LEGACY is not set 771# CONFIG_MEGARAID_LEGACY is not set
606# CONFIG_MEGARAID_SAS is not set 772# CONFIG_MEGARAID_SAS is not set
607# CONFIG_SCSI_SATA is not set 773# CONFIG_SCSI_HPTIOP is not set
608# CONFIG_SCSI_DMX3191D is not set 774# CONFIG_SCSI_DMX3191D is not set
609# CONFIG_SCSI_FUTURE_DOMAIN is not set 775# CONFIG_SCSI_FUTURE_DOMAIN is not set
610# CONFIG_SCSI_IPS is not set 776# CONFIG_SCSI_IPS is not set
611# CONFIG_SCSI_INITIO is not set 777# CONFIG_SCSI_INITIO is not set
612# CONFIG_SCSI_INIA100 is not set 778# CONFIG_SCSI_INIA100 is not set
779# CONFIG_SCSI_STEX is not set
613# CONFIG_SCSI_SYM53C8XX_2 is not set 780# CONFIG_SCSI_SYM53C8XX_2 is not set
614# CONFIG_SCSI_IPR is not set 781# CONFIG_SCSI_IPR is not set
615# CONFIG_SCSI_QLOGIC_FC is not set
616# CONFIG_SCSI_QLOGIC_1280 is not set 782# CONFIG_SCSI_QLOGIC_1280 is not set
617CONFIG_SCSI_QLA2XXX=m 783# CONFIG_SCSI_QLA_FC is not set
618# CONFIG_SCSI_QLA21XX is not set
619# CONFIG_SCSI_QLA22XX is not set
620# CONFIG_SCSI_QLA2300 is not set
621# CONFIG_SCSI_QLA2322 is not set
622# CONFIG_SCSI_QLA6312 is not set
623# CONFIG_SCSI_QLA24XX is not set
624# CONFIG_SCSI_LPFC is not set 784# CONFIG_SCSI_LPFC is not set
625# CONFIG_SCSI_DC395x is not set 785# CONFIG_SCSI_DC395x is not set
626# CONFIG_SCSI_DC390T is not set 786# CONFIG_SCSI_DC390T is not set
@@ -628,6 +788,11 @@ CONFIG_SCSI_QLA2XXX=m
628# CONFIG_SCSI_DEBUG is not set 788# CONFIG_SCSI_DEBUG is not set
629 789
630# 790#
791# Serial ATA (prod) and Parallel ATA (experimental) drivers
792#
793# CONFIG_ATA is not set
794
795#
631# Multi-device support (RAID and LVM) 796# Multi-device support (RAID and LVM)
632# 797#
633# CONFIG_MD is not set 798# CONFIG_MD is not set
@@ -654,6 +819,7 @@ CONFIG_SCSI_QLA2XXX=m
654# Network device support 819# Network device support
655# 820#
656CONFIG_NETDEVICES=y 821CONFIG_NETDEVICES=y
822# CONFIG_IFB is not set
657# CONFIG_DUMMY is not set 823# CONFIG_DUMMY is not set
658# CONFIG_BONDING is not set 824# CONFIG_BONDING is not set
659# CONFIG_EQUALIZER is not set 825# CONFIG_EQUALIZER is not set
@@ -668,7 +834,6 @@ CONFIG_TUN=m
668# PHY device support 834# PHY device support
669# 835#
670CONFIG_PHYLIB=m 836CONFIG_PHYLIB=m
671CONFIG_PHYCONTROL=y
672 837
673# 838#
674# MII PHY device drivers 839# MII PHY device drivers
@@ -678,6 +843,9 @@ CONFIG_DAVICOM_PHY=m
678CONFIG_QSEMI_PHY=m 843CONFIG_QSEMI_PHY=m
679CONFIG_LXT_PHY=m 844CONFIG_LXT_PHY=m
680CONFIG_CICADA_PHY=m 845CONFIG_CICADA_PHY=m
846# CONFIG_VITESSE_PHY is not set
847# CONFIG_SMSC_PHY is not set
848# CONFIG_FIXED_PHY is not set
681 849
682# 850#
683# Ethernet (10 or 100Mbit) 851# Ethernet (10 or 100Mbit)
@@ -687,7 +855,7 @@ CONFIG_MII=y
687# CONFIG_STNIC is not set 855# CONFIG_STNIC is not set
688# CONFIG_HAPPYMEAL is not set 856# CONFIG_HAPPYMEAL is not set
689# CONFIG_SUNGEM is not set 857# CONFIG_SUNGEM is not set
690CONFIG_CASSINI=m 858# CONFIG_CASSINI is not set
691# CONFIG_NET_VENDOR_3COM is not set 859# CONFIG_NET_VENDOR_3COM is not set
692# CONFIG_SMC91X is not set 860# CONFIG_SMC91X is not set
693 861
@@ -696,7 +864,6 @@ CONFIG_CASSINI=m
696# 864#
697# CONFIG_NET_TULIP is not set 865# CONFIG_NET_TULIP is not set
698# CONFIG_HP100 is not set 866# CONFIG_HP100 is not set
699# CONFIG_NE2000 is not set
700CONFIG_NET_PCI=y 867CONFIG_NET_PCI=y
701# CONFIG_PCNET32 is not set 868# CONFIG_PCNET32 is not set
702# CONFIG_AMD8111_ETH is not set 869# CONFIG_AMD8111_ETH is not set
@@ -733,10 +900,12 @@ CONFIG_8139_OLD_RX_RESET=y
733# CONFIG_R8169 is not set 900# CONFIG_R8169 is not set
734# CONFIG_SIS190 is not set 901# CONFIG_SIS190 is not set
735# CONFIG_SKGE is not set 902# CONFIG_SKGE is not set
903# CONFIG_SKY2 is not set
736# CONFIG_SK98LIN is not set 904# CONFIG_SK98LIN is not set
737# CONFIG_VIA_VELOCITY is not set 905# CONFIG_VIA_VELOCITY is not set
738# CONFIG_TIGON3 is not set 906# CONFIG_TIGON3 is not set
739# CONFIG_BNX2 is not set 907# CONFIG_BNX2 is not set
908# CONFIG_QLA3XXX is not set
740 909
741# 910#
742# Ethernet (10000 Mbit) 911# Ethernet (10000 Mbit)
@@ -744,6 +913,7 @@ CONFIG_8139_OLD_RX_RESET=y
744# CONFIG_CHELSIO_T1 is not set 913# CONFIG_CHELSIO_T1 is not set
745# CONFIG_IXGB is not set 914# CONFIG_IXGB is not set
746# CONFIG_S2IO is not set 915# CONFIG_S2IO is not set
916# CONFIG_MYRI10GE is not set
747 917
748# 918#
749# Token Ring devices 919# Token Ring devices
@@ -754,6 +924,7 @@ CONFIG_8139_OLD_RX_RESET=y
754# Wireless LAN (non-hamradio) 924# Wireless LAN (non-hamradio)
755# 925#
756CONFIG_NET_RADIO=y 926CONFIG_NET_RADIO=y
927CONFIG_NET_WIRELESS_RTNETLINK=y
757 928
758# 929#
759# Obsolete Wireless cards support (pre-802.11) 930# Obsolete Wireless cards support (pre-802.11)
@@ -763,6 +934,8 @@ CONFIG_NET_RADIO=y
763# 934#
764# Wireless 802.11b ISA/PCI cards support 935# Wireless 802.11b ISA/PCI cards support
765# 936#
937# CONFIG_IPW2100 is not set
938# CONFIG_IPW2200 is not set
766# CONFIG_HERMES is not set 939# CONFIG_HERMES is not set
767# CONFIG_ATMEL is not set 940# CONFIG_ATMEL is not set
768 941
@@ -770,7 +943,16 @@ CONFIG_NET_RADIO=y
770# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support 943# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
771# 944#
772CONFIG_PRISM54=m 945CONFIG_PRISM54=m
946# CONFIG_USB_ZD1201 is not set
773# CONFIG_HOSTAP is not set 947# CONFIG_HOSTAP is not set
948CONFIG_BCM43XX=m
949CONFIG_BCM43XX_DEBUG=y
950CONFIG_BCM43XX_DMA=y
951CONFIG_BCM43XX_PIO=y
952CONFIG_BCM43XX_DMA_AND_PIO_MODE=y
953# CONFIG_BCM43XX_DMA_MODE is not set
954# CONFIG_BCM43XX_PIO_MODE is not set
955# CONFIG_ZD1211RW is not set
774CONFIG_NET_WIRELESS=y 956CONFIG_NET_WIRELESS=y
775 957
776# 958#
@@ -786,8 +968,13 @@ CONFIG_PPP_ASYNC=m
786CONFIG_PPP_SYNC_TTY=m 968CONFIG_PPP_SYNC_TTY=m
787CONFIG_PPP_DEFLATE=m 969CONFIG_PPP_DEFLATE=m
788CONFIG_PPP_BSDCOMP=m 970CONFIG_PPP_BSDCOMP=m
971CONFIG_PPP_MPPE=m
789CONFIG_PPPOE=m 972CONFIG_PPPOE=m
790# CONFIG_SLIP is not set 973CONFIG_SLIP=m
974CONFIG_SLIP_COMPRESSED=y
975CONFIG_SLHC=m
976CONFIG_SLIP_SMART=y
977# CONFIG_SLIP_MODE_SLIP6 is not set
791# CONFIG_NET_FC is not set 978# CONFIG_NET_FC is not set
792# CONFIG_SHAPER is not set 979# CONFIG_SHAPER is not set
793# CONFIG_NETCONSOLE is not set 980# CONFIG_NETCONSOLE is not set
@@ -808,6 +995,7 @@ CONFIG_PPPOE=m
808# Input device support 995# Input device support
809# 996#
810CONFIG_INPUT=y 997CONFIG_INPUT=y
998# CONFIG_INPUT_FF_MEMLESS is not set
811 999
812# 1000#
813# Userland interfaces 1001# Userland interfaces
@@ -842,6 +1030,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
842CONFIG_VT=y 1030CONFIG_VT=y
843CONFIG_VT_CONSOLE=y 1031CONFIG_VT_CONSOLE=y
844CONFIG_HW_CONSOLE=y 1032CONFIG_HW_CONSOLE=y
1033# CONFIG_VT_HW_CONSOLE_BINDING is not set
845# CONFIG_SERIAL_NONSTANDARD is not set 1034# CONFIG_SERIAL_NONSTANDARD is not set
846 1035
847# 1036#
@@ -853,6 +1042,7 @@ CONFIG_HW_CONSOLE=y
853# Non-8250 serial port support 1042# Non-8250 serial port support
854# 1043#
855CONFIG_SERIAL_SH_SCI=y 1044CONFIG_SERIAL_SH_SCI=y
1045CONFIG_SERIAL_SH_SCI_NR_UARTS=2
856CONFIG_SERIAL_SH_SCI_CONSOLE=y 1046CONFIG_SERIAL_SH_SCI_CONSOLE=y
857CONFIG_SERIAL_CORE=y 1047CONFIG_SERIAL_CORE=y
858CONFIG_SERIAL_CORE_CONSOLE=y 1048CONFIG_SERIAL_CORE_CONSOLE=y
@@ -869,8 +1059,27 @@ CONFIG_LEGACY_PTY_COUNT=256
869# 1059#
870# Watchdog Cards 1060# Watchdog Cards
871# 1061#
872# CONFIG_WATCHDOG is not set 1062CONFIG_WATCHDOG=y
873# CONFIG_RTC is not set 1063# CONFIG_WATCHDOG_NOWAYOUT is not set
1064
1065#
1066# Watchdog Device Drivers
1067#
1068# CONFIG_SOFT_WATCHDOG is not set
1069CONFIG_SH_WDT=m
1070# CONFIG_SH_WDT_MMAP is not set
1071
1072#
1073# PCI-based Watchdog Cards
1074#
1075# CONFIG_PCIPCWATCHDOG is not set
1076# CONFIG_WDTPCI is not set
1077
1078#
1079# USB-based Watchdog Cards
1080#
1081# CONFIG_USBPCWATCHDOG is not set
1082CONFIG_HW_RANDOM=y
874# CONFIG_GEN_RTC is not set 1083# CONFIG_GEN_RTC is not set
875# CONFIG_DTLK is not set 1084# CONFIG_DTLK is not set
876# CONFIG_R3964 is not set 1085# CONFIG_R3964 is not set
@@ -886,6 +1095,7 @@ CONFIG_LEGACY_PTY_COUNT=256
886# TPM devices 1095# TPM devices
887# 1096#
888# CONFIG_TCG_TPM is not set 1097# CONFIG_TCG_TPM is not set
1098# CONFIG_TELCLOCK is not set
889 1099
890# 1100#
891# I2C support 1101# I2C support
@@ -893,6 +1103,12 @@ CONFIG_LEGACY_PTY_COUNT=256
893# CONFIG_I2C is not set 1103# CONFIG_I2C is not set
894 1104
895# 1105#
1106# SPI support
1107#
1108# CONFIG_SPI is not set
1109# CONFIG_SPI_MASTER is not set
1110
1111#
896# Dallas's 1-wire bus 1112# Dallas's 1-wire bus
897# 1113#
898# CONFIG_W1 is not set 1114# CONFIG_W1 is not set
@@ -902,6 +1118,9 @@ CONFIG_LEGACY_PTY_COUNT=256
902# 1118#
903CONFIG_HWMON=y 1119CONFIG_HWMON=y
904# CONFIG_HWMON_VID is not set 1120# CONFIG_HWMON_VID is not set
1121# CONFIG_SENSORS_ABITUGURU is not set
1122# CONFIG_SENSORS_F71805F is not set
1123# CONFIG_SENSORS_VT1211 is not set
905# CONFIG_HWMON_DEBUG_CHIP is not set 1124# CONFIG_HWMON_DEBUG_CHIP is not set
906 1125
907# 1126#
@@ -909,28 +1128,28 @@ CONFIG_HWMON=y
909# 1128#
910 1129
911# 1130#
912# Multimedia Capabilities Port drivers
913#
914
915#
916# Multimedia devices 1131# Multimedia devices
917# 1132#
918# CONFIG_VIDEO_DEV is not set 1133# CONFIG_VIDEO_DEV is not set
1134CONFIG_VIDEO_V4L2=y
919 1135
920# 1136#
921# Digital Video Broadcasting Devices 1137# Digital Video Broadcasting Devices
922# 1138#
923# CONFIG_DVB is not set 1139# CONFIG_DVB is not set
1140# CONFIG_USB_DABUSB is not set
924 1141
925# 1142#
926# Graphics support 1143# Graphics support
927# 1144#
1145CONFIG_FIRMWARE_EDID=y
928# CONFIG_FB is not set 1146# CONFIG_FB is not set
929 1147
930# 1148#
931# Console display driver support 1149# Console display driver support
932# 1150#
933CONFIG_DUMMY_CONSOLE=y 1151CONFIG_DUMMY_CONSOLE=y
1152# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
934 1153
935# 1154#
936# Sound 1155# Sound
@@ -942,7 +1161,8 @@ CONFIG_DUMMY_CONSOLE=y
942# 1161#
943CONFIG_USB_ARCH_HAS_HCD=y 1162CONFIG_USB_ARCH_HAS_HCD=y
944CONFIG_USB_ARCH_HAS_OHCI=y 1163CONFIG_USB_ARCH_HAS_OHCI=y
945CONFIG_USB=m 1164CONFIG_USB_ARCH_HAS_EHCI=y
1165CONFIG_USB=y
946# CONFIG_USB_DEBUG is not set 1166# CONFIG_USB_DEBUG is not set
947 1167
948# 1168#
@@ -956,11 +1176,12 @@ CONFIG_USB_DEVICEFS=y
956# 1176#
957# USB Host Controller Drivers 1177# USB Host Controller Drivers
958# 1178#
959CONFIG_USB_EHCI_HCD=m 1179CONFIG_USB_EHCI_HCD=y
960# CONFIG_USB_EHCI_SPLIT_ISO is not set 1180# CONFIG_USB_EHCI_SPLIT_ISO is not set
961# CONFIG_USB_EHCI_ROOT_HUB_TT is not set 1181# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
1182# CONFIG_USB_EHCI_TT_NEWSCHED is not set
962# CONFIG_USB_ISP116X_HCD is not set 1183# CONFIG_USB_ISP116X_HCD is not set
963CONFIG_USB_OHCI_HCD=m 1184CONFIG_USB_OHCI_HCD=y
964# CONFIG_USB_OHCI_BIG_ENDIAN is not set 1185# CONFIG_USB_OHCI_BIG_ENDIAN is not set
965CONFIG_USB_OHCI_LITTLE_ENDIAN=y 1186CONFIG_USB_OHCI_LITTLE_ENDIAN=y
966# CONFIG_USB_UHCI_HCD is not set 1187# CONFIG_USB_UHCI_HCD is not set
@@ -969,14 +1190,17 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
969# 1190#
970# USB Device Class drivers 1191# USB Device Class drivers
971# 1192#
972# CONFIG_USB_BLUETOOTH_TTY is not set 1193CONFIG_USB_ACM=m
973# CONFIG_USB_ACM is not set 1194CONFIG_USB_PRINTER=m
974# CONFIG_USB_PRINTER is not set
975 1195
976# 1196#
977# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 1197# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
978# 1198#
979CONFIG_USB_STORAGE=m 1199
1200#
1201# may also be needed; see USB_STORAGE Help for more information
1202#
1203CONFIG_USB_STORAGE=y
980# CONFIG_USB_STORAGE_DEBUG is not set 1204# CONFIG_USB_STORAGE_DEBUG is not set
981# CONFIG_USB_STORAGE_DATAFAB is not set 1205# CONFIG_USB_STORAGE_DATAFAB is not set
982# CONFIG_USB_STORAGE_FREECOM is not set 1206# CONFIG_USB_STORAGE_FREECOM is not set
@@ -985,6 +1209,9 @@ CONFIG_USB_STORAGE=m
985# CONFIG_USB_STORAGE_SDDR09 is not set 1209# CONFIG_USB_STORAGE_SDDR09 is not set
986# CONFIG_USB_STORAGE_SDDR55 is not set 1210# CONFIG_USB_STORAGE_SDDR55 is not set
987# CONFIG_USB_STORAGE_JUMPSHOT is not set 1211# CONFIG_USB_STORAGE_JUMPSHOT is not set
1212# CONFIG_USB_STORAGE_ALAUDA is not set
1213# CONFIG_USB_STORAGE_KARMA is not set
1214# CONFIG_USB_LIBUSUAL is not set
988 1215
989# 1216#
990# USB Input Devices 1217# USB Input Devices
@@ -1001,14 +1228,14 @@ CONFIG_USB_STORAGE=m
1001# CONFIG_USB_ACECAD is not set 1228# CONFIG_USB_ACECAD is not set
1002# CONFIG_USB_KBTAB is not set 1229# CONFIG_USB_KBTAB is not set
1003# CONFIG_USB_POWERMATE is not set 1230# CONFIG_USB_POWERMATE is not set
1004# CONFIG_USB_MTOUCH is not set 1231# CONFIG_USB_TOUCHSCREEN is not set
1005# CONFIG_USB_ITMTOUCH is not set
1006# CONFIG_USB_EGALAX is not set
1007# CONFIG_USB_YEALINK is not set 1232# CONFIG_USB_YEALINK is not set
1008# CONFIG_USB_XPAD is not set 1233# CONFIG_USB_XPAD is not set
1009# CONFIG_USB_ATI_REMOTE is not set 1234# CONFIG_USB_ATI_REMOTE is not set
1235# CONFIG_USB_ATI_REMOTE2 is not set
1010# CONFIG_USB_KEYSPAN_REMOTE is not set 1236# CONFIG_USB_KEYSPAN_REMOTE is not set
1011# CONFIG_USB_APPLETOUCH is not set 1237# CONFIG_USB_APPLETOUCH is not set
1238# CONFIG_USB_TRANCEVIBRATOR is not set
1012 1239
1013# 1240#
1014# USB Imaging devices 1241# USB Imaging devices
@@ -1017,15 +1244,6 @@ CONFIG_USB_STORAGE=m
1017# CONFIG_USB_MICROTEK is not set 1244# CONFIG_USB_MICROTEK is not set
1018 1245
1019# 1246#
1020# USB Multimedia devices
1021#
1022# CONFIG_USB_DABUSB is not set
1023
1024#
1025# Video4Linux support is needed for USB Multimedia device support
1026#
1027
1028#
1029# USB Network Adapters 1247# USB Network Adapters
1030# 1248#
1031# CONFIG_USB_CATC is not set 1249# CONFIG_USB_CATC is not set
@@ -1033,7 +1251,6 @@ CONFIG_USB_STORAGE=m
1033# CONFIG_USB_PEGASUS is not set 1251# CONFIG_USB_PEGASUS is not set
1034# CONFIG_USB_RTL8150 is not set 1252# CONFIG_USB_RTL8150 is not set
1035# CONFIG_USB_USBNET is not set 1253# CONFIG_USB_USBNET is not set
1036# CONFIG_USB_ZD1201 is not set
1037CONFIG_USB_MON=y 1254CONFIG_USB_MON=y
1038 1255
1039# 1256#
@@ -1045,7 +1262,9 @@ CONFIG_USB_MON=y
1045# 1262#
1046CONFIG_USB_SERIAL=m 1263CONFIG_USB_SERIAL=m
1047CONFIG_USB_SERIAL_GENERIC=y 1264CONFIG_USB_SERIAL_GENERIC=y
1265# CONFIG_USB_SERIAL_AIRCABLE is not set
1048# CONFIG_USB_SERIAL_AIRPRIME is not set 1266# CONFIG_USB_SERIAL_AIRPRIME is not set
1267CONFIG_USB_SERIAL_ARK3116=m
1049# CONFIG_USB_SERIAL_BELKIN is not set 1268# CONFIG_USB_SERIAL_BELKIN is not set
1050# CONFIG_USB_SERIAL_WHITEHEAT is not set 1269# CONFIG_USB_SERIAL_WHITEHEAT is not set
1051# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set 1270# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
@@ -1053,6 +1272,7 @@ CONFIG_USB_SERIAL_GENERIC=y
1053# CONFIG_USB_SERIAL_CYPRESS_M8 is not set 1272# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
1054# CONFIG_USB_SERIAL_EMPEG is not set 1273# CONFIG_USB_SERIAL_EMPEG is not set
1055# CONFIG_USB_SERIAL_FTDI_SIO is not set 1274# CONFIG_USB_SERIAL_FTDI_SIO is not set
1275# CONFIG_USB_SERIAL_FUNSOFT is not set
1056# CONFIG_USB_SERIAL_VISOR is not set 1276# CONFIG_USB_SERIAL_VISOR is not set
1057# CONFIG_USB_SERIAL_IPAQ is not set 1277# CONFIG_USB_SERIAL_IPAQ is not set
1058# CONFIG_USB_SERIAL_IR is not set 1278# CONFIG_USB_SERIAL_IR is not set
@@ -1065,12 +1285,16 @@ CONFIG_USB_SERIAL_GENERIC=y
1065# CONFIG_USB_SERIAL_KLSI is not set 1285# CONFIG_USB_SERIAL_KLSI is not set
1066# CONFIG_USB_SERIAL_KOBIL_SCT is not set 1286# CONFIG_USB_SERIAL_KOBIL_SCT is not set
1067# CONFIG_USB_SERIAL_MCT_U232 is not set 1287# CONFIG_USB_SERIAL_MCT_U232 is not set
1288# CONFIG_USB_SERIAL_MOS7840 is not set
1289# CONFIG_USB_SERIAL_NAVMAN is not set
1068CONFIG_USB_SERIAL_PL2303=m 1290CONFIG_USB_SERIAL_PL2303=m
1069# CONFIG_USB_SERIAL_HP4X is not set 1291# CONFIG_USB_SERIAL_HP4X is not set
1070# CONFIG_USB_SERIAL_SAFE is not set 1292# CONFIG_USB_SERIAL_SAFE is not set
1293# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
1071# CONFIG_USB_SERIAL_TI is not set 1294# CONFIG_USB_SERIAL_TI is not set
1072# CONFIG_USB_SERIAL_CYBERJACK is not set 1295# CONFIG_USB_SERIAL_CYBERJACK is not set
1073# CONFIG_USB_SERIAL_XIRCOM is not set 1296# CONFIG_USB_SERIAL_XIRCOM is not set
1297# CONFIG_USB_SERIAL_OPTION is not set
1074# CONFIG_USB_SERIAL_OMNINET is not set 1298# CONFIG_USB_SERIAL_OMNINET is not set
1075 1299
1076# 1300#
@@ -1078,15 +1302,18 @@ CONFIG_USB_SERIAL_PL2303=m
1078# 1302#
1079# CONFIG_USB_EMI62 is not set 1303# CONFIG_USB_EMI62 is not set
1080# CONFIG_USB_EMI26 is not set 1304# CONFIG_USB_EMI26 is not set
1305# CONFIG_USB_ADUTUX is not set
1081# CONFIG_USB_AUERSWALD is not set 1306# CONFIG_USB_AUERSWALD is not set
1082# CONFIG_USB_RIO500 is not set 1307# CONFIG_USB_RIO500 is not set
1083# CONFIG_USB_LEGOTOWER is not set 1308# CONFIG_USB_LEGOTOWER is not set
1084# CONFIG_USB_LCD is not set 1309# CONFIG_USB_LCD is not set
1085# CONFIG_USB_LED is not set 1310# CONFIG_USB_LED is not set
1311# CONFIG_USB_CYPRESS_CY7C63 is not set
1086# CONFIG_USB_CYTHERM is not set 1312# CONFIG_USB_CYTHERM is not set
1087# CONFIG_USB_PHIDGETKIT is not set 1313# CONFIG_USB_PHIDGET is not set
1088# CONFIG_USB_PHIDGETSERVO is not set
1089# CONFIG_USB_IDMOUSE is not set 1314# CONFIG_USB_IDMOUSE is not set
1315# CONFIG_USB_FTDI_ELAN is not set
1316# CONFIG_USB_APPLEDISPLAY is not set
1090# CONFIG_USB_SISUSBVGA is not set 1317# CONFIG_USB_SISUSBVGA is not set
1091# CONFIG_USB_LD is not set 1318# CONFIG_USB_LD is not set
1092# CONFIG_USB_TEST is not set 1319# CONFIG_USB_TEST is not set
@@ -1106,39 +1333,71 @@ CONFIG_USB_SERIAL_PL2303=m
1106# CONFIG_MMC is not set 1333# CONFIG_MMC is not set
1107 1334
1108# 1335#
1336# LED devices
1337#
1338# CONFIG_NEW_LEDS is not set
1339
1340#
1341# LED drivers
1342#
1343
1344#
1345# LED Triggers
1346#
1347
1348#
1109# InfiniBand support 1349# InfiniBand support
1110# 1350#
1111# CONFIG_INFINIBAND is not set 1351# CONFIG_INFINIBAND is not set
1112 1352
1113# 1353#
1114# SN Devices 1354# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
1355#
1356
1357#
1358# Real Time Clock
1359#
1360# CONFIG_RTC_CLASS is not set
1361
1362#
1363# DMA Engine support
1364#
1365# CONFIG_DMA_ENGINE is not set
1366
1367#
1368# DMA Clients
1369#
1370
1371#
1372# DMA Devices
1115# 1373#
1116 1374
1117# 1375#
1118# File systems 1376# File systems
1119# 1377#
1120CONFIG_EXT2_FS=y 1378CONFIG_EXT2_FS=y
1121CONFIG_EXT2_FS_XATTR=y 1379# CONFIG_EXT2_FS_XATTR is not set
1122CONFIG_EXT2_FS_POSIX_ACL=y
1123CONFIG_EXT2_FS_SECURITY=y
1124# CONFIG_EXT2_FS_XIP is not set 1380# CONFIG_EXT2_FS_XIP is not set
1125CONFIG_EXT3_FS=y 1381CONFIG_EXT3_FS=y
1126CONFIG_EXT3_FS_XATTR=y 1382# CONFIG_EXT3_FS_XATTR is not set
1127CONFIG_EXT3_FS_POSIX_ACL=y
1128CONFIG_EXT3_FS_SECURITY=y
1129CONFIG_JBD=y 1383CONFIG_JBD=y
1130# CONFIG_JBD_DEBUG is not set 1384# CONFIG_JBD_DEBUG is not set
1131CONFIG_FS_MBCACHE=y
1132CONFIG_REISERFS_FS=m 1385CONFIG_REISERFS_FS=m
1133# CONFIG_REISERFS_CHECK is not set 1386# CONFIG_REISERFS_CHECK is not set
1134# CONFIG_REISERFS_PROC_INFO is not set 1387# CONFIG_REISERFS_PROC_INFO is not set
1135# CONFIG_REISERFS_FS_XATTR is not set 1388# CONFIG_REISERFS_FS_XATTR is not set
1136# CONFIG_JFS_FS is not set 1389# CONFIG_JFS_FS is not set
1137CONFIG_FS_POSIX_ACL=y 1390# CONFIG_FS_POSIX_ACL is not set
1138# CONFIG_XFS_FS is not set 1391CONFIG_XFS_FS=m
1392# CONFIG_XFS_QUOTA is not set
1393# CONFIG_XFS_SECURITY is not set
1394# CONFIG_XFS_POSIX_ACL is not set
1395# CONFIG_XFS_RT is not set
1396# CONFIG_OCFS2_FS is not set
1139# CONFIG_MINIX_FS is not set 1397# CONFIG_MINIX_FS is not set
1140# CONFIG_ROMFS_FS is not set 1398# CONFIG_ROMFS_FS is not set
1141CONFIG_INOTIFY=y 1399CONFIG_INOTIFY=y
1400CONFIG_INOTIFY_USER=y
1142# CONFIG_QUOTA is not set 1401# CONFIG_QUOTA is not set
1143CONFIG_DNOTIFY=y 1402CONFIG_DNOTIFY=y
1144# CONFIG_AUTOFS_FS is not set 1403# CONFIG_AUTOFS_FS is not set
@@ -1170,12 +1429,14 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1170# 1429#
1171CONFIG_PROC_FS=y 1430CONFIG_PROC_FS=y
1172CONFIG_PROC_KCORE=y 1431CONFIG_PROC_KCORE=y
1432CONFIG_PROC_SYSCTL=y
1173CONFIG_SYSFS=y 1433CONFIG_SYSFS=y
1174CONFIG_TMPFS=y 1434CONFIG_TMPFS=y
1435# CONFIG_TMPFS_POSIX_ACL is not set
1175# CONFIG_HUGETLBFS is not set 1436# CONFIG_HUGETLBFS is not set
1176# CONFIG_HUGETLB_PAGE is not set 1437# CONFIG_HUGETLB_PAGE is not set
1177CONFIG_RAMFS=y 1438CONFIG_RAMFS=y
1178CONFIG_RELAYFS_FS=m 1439CONFIG_CONFIGFS_FS=m
1179 1440
1180# 1441#
1181# Miscellaneous filesystems 1442# Miscellaneous filesystems
@@ -1187,6 +1448,8 @@ CONFIG_RELAYFS_FS=m
1187# CONFIG_BEFS_FS is not set 1448# CONFIG_BEFS_FS is not set
1188# CONFIG_BFS_FS is not set 1449# CONFIG_BFS_FS is not set
1189# CONFIG_EFS_FS is not set 1450# CONFIG_EFS_FS is not set
1451# CONFIG_JFFS_FS is not set
1452# CONFIG_JFFS2_FS is not set
1190# CONFIG_CRAMFS is not set 1453# CONFIG_CRAMFS is not set
1191# CONFIG_VXFS_FS is not set 1454# CONFIG_VXFS_FS is not set
1192# CONFIG_HPFS_FS is not set 1455# CONFIG_HPFS_FS is not set
@@ -1241,6 +1504,7 @@ CONFIG_MSDOS_PARTITION=y
1241# CONFIG_SGI_PARTITION is not set 1504# CONFIG_SGI_PARTITION is not set
1242# CONFIG_ULTRIX_PARTITION is not set 1505# CONFIG_ULTRIX_PARTITION is not set
1243# CONFIG_SUN_PARTITION is not set 1506# CONFIG_SUN_PARTITION is not set
1507# CONFIG_KARMA_PARTITION is not set
1244# CONFIG_EFI_PARTITION is not set 1508# CONFIG_EFI_PARTITION is not set
1245 1509
1246# 1510#
@@ -1296,21 +1560,36 @@ CONFIG_NLS_UTF8=m
1296# Kernel hacking 1560# Kernel hacking
1297# 1561#
1298# CONFIG_PRINTK_TIME is not set 1562# CONFIG_PRINTK_TIME is not set
1299CONFIG_DEBUG_KERNEL=y 1563CONFIG_ENABLE_MUST_CHECK=y
1300CONFIG_MAGIC_SYSRQ=y 1564CONFIG_MAGIC_SYSRQ=y
1565# CONFIG_UNUSED_SYMBOLS is not set
1566CONFIG_DEBUG_KERNEL=y
1301CONFIG_LOG_BUF_SHIFT=16 1567CONFIG_LOG_BUF_SHIFT=16
1302# CONFIG_DETECT_SOFTLOCKUP is not set 1568# CONFIG_DETECT_SOFTLOCKUP is not set
1303# CONFIG_SCHEDSTATS is not set 1569# CONFIG_SCHEDSTATS is not set
1304CONFIG_DEBUG_SLAB=y 1570# CONFIG_DEBUG_SLAB is not set
1571# CONFIG_DEBUG_RT_MUTEXES is not set
1572# CONFIG_RT_MUTEX_TESTER is not set
1305# CONFIG_DEBUG_SPINLOCK is not set 1573# CONFIG_DEBUG_SPINLOCK is not set
1574# CONFIG_DEBUG_MUTEXES is not set
1575# CONFIG_DEBUG_RWSEMS is not set
1306# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1576# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1577# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1307# CONFIG_DEBUG_KOBJECT is not set 1578# CONFIG_DEBUG_KOBJECT is not set
1579# CONFIG_DEBUG_BUGVERBOSE is not set
1308# CONFIG_DEBUG_INFO is not set 1580# CONFIG_DEBUG_INFO is not set
1309# CONFIG_DEBUG_FS is not set 1581# CONFIG_DEBUG_FS is not set
1582# CONFIG_DEBUG_VM is not set
1583# CONFIG_DEBUG_LIST is not set
1310# CONFIG_FRAME_POINTER is not set 1584# CONFIG_FRAME_POINTER is not set
1585# CONFIG_FORCED_INLINING is not set
1586# CONFIG_RCU_TORTURE_TEST is not set
1311# CONFIG_SH_STANDARD_BIOS is not set 1587# CONFIG_SH_STANDARD_BIOS is not set
1312CONFIG_EARLY_SCIF_CONSOLE=y 1588CONFIG_EARLY_SCIF_CONSOLE=y
1313# CONFIG_EARLY_PRINTK is not set 1589# CONFIG_EARLY_PRINTK is not set
1590# CONFIG_DEBUG_STACKOVERFLOW is not set
1591# CONFIG_DEBUG_STACK_USAGE is not set
1592# CONFIG_4KSTACKS is not set
1314# CONFIG_KGDB is not set 1593# CONFIG_KGDB is not set
1315 1594
1316# 1595#
@@ -1323,28 +1602,35 @@ CONFIG_EARLY_SCIF_CONSOLE=y
1323# Cryptographic options 1602# Cryptographic options
1324# 1603#
1325CONFIG_CRYPTO=y 1604CONFIG_CRYPTO=y
1605CONFIG_CRYPTO_ALGAPI=y
1606CONFIG_CRYPTO_BLKCIPHER=y
1607CONFIG_CRYPTO_HASH=y
1608CONFIG_CRYPTO_MANAGER=m
1326CONFIG_CRYPTO_HMAC=y 1609CONFIG_CRYPTO_HMAC=y
1327# CONFIG_CRYPTO_NULL is not set 1610CONFIG_CRYPTO_NULL=m
1328CONFIG_CRYPTO_MD4=m 1611CONFIG_CRYPTO_MD4=m
1329CONFIG_CRYPTO_MD5=m 1612CONFIG_CRYPTO_MD5=y
1330CONFIG_CRYPTO_SHA1=m 1613CONFIG_CRYPTO_SHA1=y
1331CONFIG_CRYPTO_SHA256=m 1614CONFIG_CRYPTO_SHA256=m
1332CONFIG_CRYPTO_SHA512=m 1615CONFIG_CRYPTO_SHA512=m
1333CONFIG_CRYPTO_WP512=m 1616CONFIG_CRYPTO_WP512=m
1334CONFIG_CRYPTO_TGR192=m 1617CONFIG_CRYPTO_TGR192=m
1335CONFIG_CRYPTO_DES=m 1618CONFIG_CRYPTO_ECB=m
1619CONFIG_CRYPTO_CBC=y
1620CONFIG_CRYPTO_DES=y
1336CONFIG_CRYPTO_BLOWFISH=m 1621CONFIG_CRYPTO_BLOWFISH=m
1337CONFIG_CRYPTO_TWOFISH=m 1622CONFIG_CRYPTO_TWOFISH=m
1623CONFIG_CRYPTO_TWOFISH_COMMON=m
1338CONFIG_CRYPTO_SERPENT=m 1624CONFIG_CRYPTO_SERPENT=m
1339CONFIG_CRYPTO_AES=m 1625CONFIG_CRYPTO_AES=y
1340CONFIG_CRYPTO_CAST5=m 1626CONFIG_CRYPTO_CAST5=m
1341CONFIG_CRYPTO_CAST6=m 1627CONFIG_CRYPTO_CAST6=m
1342CONFIG_CRYPTO_TEA=m 1628CONFIG_CRYPTO_TEA=m
1343CONFIG_CRYPTO_ARC4=m 1629CONFIG_CRYPTO_ARC4=y
1344CONFIG_CRYPTO_KHAZAD=m 1630CONFIG_CRYPTO_KHAZAD=m
1345CONFIG_CRYPTO_ANUBIS=m 1631CONFIG_CRYPTO_ANUBIS=m
1346CONFIG_CRYPTO_DEFLATE=m 1632CONFIG_CRYPTO_DEFLATE=y
1347CONFIG_CRYPTO_MICHAEL_MIC=m 1633CONFIG_CRYPTO_MICHAEL_MIC=y
1348CONFIG_CRYPTO_CRC32C=m 1634CONFIG_CRYPTO_CRC32C=m
1349# CONFIG_CRYPTO_TEST is not set 1635# CONFIG_CRYPTO_TEST is not set
1350 1636
@@ -1359,9 +1645,10 @@ CONFIG_CRC_CCITT=m
1359CONFIG_CRC16=m 1645CONFIG_CRC16=m
1360CONFIG_CRC32=y 1646CONFIG_CRC32=y
1361CONFIG_LIBCRC32C=m 1647CONFIG_LIBCRC32C=m
1362CONFIG_ZLIB_INFLATE=m 1648CONFIG_ZLIB_INFLATE=y
1363CONFIG_ZLIB_DEFLATE=m 1649CONFIG_ZLIB_DEFLATE=y
1364CONFIG_TEXTSEARCH=y 1650CONFIG_TEXTSEARCH=y
1365CONFIG_TEXTSEARCH_KMP=m 1651CONFIG_TEXTSEARCH_KMP=m
1366CONFIG_TEXTSEARCH_BM=m 1652CONFIG_TEXTSEARCH_BM=m
1367CONFIG_TEXTSEARCH_FSM=m 1653CONFIG_TEXTSEARCH_FSM=m
1654CONFIG_PLIST=y
diff --git a/arch/sh/drivers/dma/dma-sysfs.c b/arch/sh/drivers/dma/dma-sysfs.c
index 70a5d82eb2f8..29b8ef9873d1 100644
--- a/arch/sh/drivers/dma/dma-sysfs.c
+++ b/arch/sh/drivers/dma/dma-sysfs.c
@@ -48,12 +48,11 @@ static int __init dma_sysclass_init(void)
48 int ret; 48 int ret;
49 49
50 ret = sysdev_class_register(&dma_sysclass); 50 ret = sysdev_class_register(&dma_sysclass);
51 if (ret == 0) 51 if (unlikely(ret))
52 sysfs_create_file(&dma_sysclass.kset.kobj, &attr_devices.attr); 52 return ret;
53 53
54 return ret; 54 return sysfs_create_file(&dma_sysclass.kset.kobj, &attr_devices.attr);
55} 55}
56
57postcore_initcall(dma_sysclass_init); 56postcore_initcall(dma_sysclass_init);
58 57
59static ssize_t dma_show_dev_id(struct sys_device *dev, char *buf) 58static ssize_t dma_show_dev_id(struct sys_device *dev, char *buf)
@@ -152,4 +151,3 @@ void dma_remove_sysfs_files(struct dma_channel *chan, struct dma_info *info)
152 151
153 sysdev_unregister(dev); 152 sysdev_unregister(dev);
154} 153}
155
diff --git a/arch/sh/drivers/pci/ops-landisk.c b/arch/sh/drivers/pci/ops-landisk.c
index ada301c21fe7..d06030815a96 100644
--- a/arch/sh/drivers/pci/ops-landisk.c
+++ b/arch/sh/drivers/pci/ops-landisk.c
@@ -8,7 +8,6 @@
8 * May be copied or modified under the terms of the GNU General Public 8 * May be copied or modified under the terms of the GNU General Public
9 * License. See linux/COPYING for more information. 9 * License. See linux/COPYING for more information.
10 */ 10 */
11#include <linux/config.h>
12#include <linux/kernel.h> 11#include <linux/kernel.h>
13#include <linux/types.h> 12#include <linux/types.h>
14#include <linux/init.h> 13#include <linux/init.h>
diff --git a/arch/sh/drivers/pci/ops-r7780rp.c b/arch/sh/drivers/pci/ops-r7780rp.c
index 554d5ed2c586..6e3ba9c65b40 100644
--- a/arch/sh/drivers/pci/ops-r7780rp.c
+++ b/arch/sh/drivers/pci/ops-r7780rp.c
@@ -8,8 +8,6 @@
8 * 8 *
9 * PCI initialization for the Renesas SH7780 Highlander R7780RP-1 board 9 * PCI initialization for the Renesas SH7780 Highlander R7780RP-1 board
10 */ 10 */
11
12#include <linux/config.h>
13#include <linux/kernel.h> 11#include <linux/kernel.h>
14#include <linux/types.h> 12#include <linux/types.h>
15#include <linux/init.h> 13#include <linux/init.h>
diff --git a/arch/sh/drivers/pci/ops-sh03.c b/arch/sh/drivers/pci/ops-sh03.c
index e58d556e5f94..ebb58e605d9d 100644
--- a/arch/sh/drivers/pci/ops-sh03.c
+++ b/arch/sh/drivers/pci/ops-sh03.c
@@ -35,10 +35,10 @@ static struct resource sh7751_mem_resource = {
35 .flags = IORESOURCE_MEM 35 .flags = IORESOURCE_MEM
36}; 36};
37 37
38extern struct pci_ops sh7751_pci_ops; 38extern struct pci_ops sh4_pci_ops;
39 39
40struct pci_channel board_pci_channels[] = { 40struct pci_channel board_pci_channels[] = {
41 { &sh7751_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff }, 41 { &sh4_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff },
42 { NULL, NULL, NULL, 0, 0 }, 42 { NULL, NULL, NULL, 0, 0 },
43}; 43};
44 44
diff --git a/arch/sh/drivers/pci/ops-titan.c b/arch/sh/drivers/pci/ops-titan.c
index c6097bcd97fd..cd56d53375e7 100644
--- a/arch/sh/drivers/pci/ops-titan.c
+++ b/arch/sh/drivers/pci/ops-titan.c
@@ -11,8 +11,6 @@
11 * 11 *
12 * PCI initialization for the Titan boards 12 * PCI initialization for the Titan boards
13 */ 13 */
14
15#include <linux/config.h>
16#include <linux/kernel.h> 14#include <linux/kernel.h>
17#include <linux/types.h> 15#include <linux/types.h>
18#include <linux/init.h> 16#include <linux/init.h>
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c
index bd3064a82087..d6e635296534 100644
--- a/arch/sh/drivers/pci/pci-sh7780.c
+++ b/arch/sh/drivers/pci/pci-sh7780.c
@@ -12,10 +12,8 @@
12 * License. See linux/COPYING for more information. 12 * License. See linux/COPYING for more information.
13 * 13 *
14 */ 14 */
15
16#undef DEBUG 15#undef DEBUG
17 16
18#include <linux/config.h>
19#include <linux/types.h> 17#include <linux/types.h>
20#include <linux/kernel.h> 18#include <linux/kernel.h>
21#include <linux/init.h> 19#include <linux/init.h>
diff --git a/arch/sh/kernel/apm.c b/arch/sh/kernel/apm.c
index 871e7d640002..4f66f91b1006 100644
--- a/arch/sh/kernel/apm.c
+++ b/arch/sh/kernel/apm.c
@@ -16,7 +16,6 @@
16 * [This document is available from Microsoft at: 16 * [This document is available from Microsoft at:
17 * http://www.microsoft.com/hwdev/busbios/amp_12.htm] 17 * http://www.microsoft.com/hwdev/busbios/amp_12.htm]
18 */ 18 */
19#include <linux/config.h>
20#include <linux/module.h> 19#include <linux/module.h>
21#include <linux/poll.h> 20#include <linux/poll.h>
22#include <linux/timer.h> 21#include <linux/timer.h>
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S
index fe8221855b28..97c571fbcdf1 100644
--- a/arch/sh/kernel/entry.S
+++ b/arch/sh/kernel/entry.S
@@ -10,8 +10,8 @@
10 * for more details. 10 * for more details.
11 * 11 *
12 */ 12 */
13
14#include <linux/sys.h> 13#include <linux/sys.h>
14#include <linux/errno.h>
15#include <linux/linkage.h> 15#include <linux/linkage.h>
16#include <asm/asm-offsets.h> 16#include <asm/asm-offsets.h>
17#include <asm/thread_info.h> 17#include <asm/thread_info.h>
@@ -53,10 +53,6 @@
53 * syscall # 53 * syscall #
54 * 54 *
55 */ 55 */
56
57ENOSYS = 38
58EINVAL = 22
59
60#if defined(CONFIG_KGDB_NMI) 56#if defined(CONFIG_KGDB_NMI)
61NMI_VEC = 0x1c0 ! Must catch early for debounce 57NMI_VEC = 0x1c0 ! Must catch early for debounce
62#endif 58#endif
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 5f587332234a..36d86f9ac38a 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -1,5 +1,4 @@
1/* $Id: setup.c,v 1.30 2003/10/13 07:21:19 lethal Exp $ 1/*
2 *
3 * linux/arch/sh/kernel/setup.c 2 * linux/arch/sh/kernel/setup.c
4 * 3 *
5 * Copyright (C) 1999 Niibe Yutaka 4 * Copyright (C) 1999 Niibe Yutaka
@@ -21,6 +20,7 @@
21#include <linux/utsname.h> 20#include <linux/utsname.h>
22#include <linux/cpu.h> 21#include <linux/cpu.h>
23#include <linux/pfn.h> 22#include <linux/pfn.h>
23#include <linux/fs.h>
24#include <asm/uaccess.h> 24#include <asm/uaccess.h>
25#include <asm/io.h> 25#include <asm/io.h>
26#include <asm/sections.h> 26#include <asm/sections.h>
@@ -459,7 +459,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
459 seq_printf(m, "machine\t\t: %s\n", get_system_type()); 459 seq_printf(m, "machine\t\t: %s\n", get_system_type());
460 460
461 seq_printf(m, "processor\t: %d\n", cpu); 461 seq_printf(m, "processor\t: %d\n", cpu);
462 seq_printf(m, "cpu family\t: %s\n", system_utsname.machine); 462 seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);
463 seq_printf(m, "cpu type\t: %s\n", get_cpu_subtype()); 463 seq_printf(m, "cpu type\t: %s\n", get_cpu_subtype());
464 464
465 show_cpuflags(m); 465 show_cpuflags(m);
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
index d3cbfa2ad4a7..9daad70bc305 100644
--- a/arch/sh/kernel/sh_ksyms.c
+++ b/arch/sh/kernel/sh_ksyms.c
@@ -72,6 +72,7 @@ DECLARE_EXPORT(__ashrdi3);
72DECLARE_EXPORT(__ashldi3); 72DECLARE_EXPORT(__ashldi3);
73DECLARE_EXPORT(__lshrdi3); 73DECLARE_EXPORT(__lshrdi3);
74DECLARE_EXPORT(__movstr); 74DECLARE_EXPORT(__movstr);
75DECLARE_EXPORT(__movstrSI16);
75 76
76EXPORT_SYMBOL(strcpy); 77EXPORT_SYMBOL(strcpy);
77 78
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 6c0fb7c4af11..dbebaddcfe39 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -42,6 +42,7 @@ cpumask_t cpu_possible_map;
42EXPORT_SYMBOL(cpu_possible_map); 42EXPORT_SYMBOL(cpu_possible_map);
43 43
44cpumask_t cpu_online_map; 44cpumask_t cpu_online_map;
45EXPORT_SYMBOL(cpu_online_map);
45static atomic_t cpus_booted = ATOMIC_INIT(0); 46static atomic_t cpus_booted = ATOMIC_INIT(0);
46 47
47/* These are defined by the board-specific code. */ 48/* These are defined by the board-specific code. */
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c
index b68ff705f067..8fde95001c34 100644
--- a/arch/sh/kernel/sys_sh.c
+++ b/arch/sh/kernel/sys_sh.c
@@ -25,6 +25,7 @@
25#include <asm/cacheflush.h> 25#include <asm/cacheflush.h>
26#include <asm/uaccess.h> 26#include <asm/uaccess.h>
27#include <asm/ipc.h> 27#include <asm/ipc.h>
28#include <asm/unistd.h>
28 29
29/* 30/*
30 * sys_pipe() is the normal C calling standard for creating 31 * sys_pipe() is the normal C calling standard for creating
@@ -281,7 +282,7 @@ asmlinkage int sys_uname(struct old_utsname * name)
281 if (!name) 282 if (!name)
282 return -EFAULT; 283 return -EFAULT;
283 down_read(&uts_sem); 284 down_read(&uts_sem);
284 err=copy_to_user(name, &system_utsname, sizeof (*name)); 285 err = copy_to_user(name, utsname(), sizeof (*name));
285 up_read(&uts_sem); 286 up_read(&uts_sem);
286 return err?-EFAULT:0; 287 return err?-EFAULT:0;
287} 288}
@@ -309,3 +310,19 @@ asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
309 (u64)len0 << 32 | len1, advice); 310 (u64)len0 << 32 | len1, advice);
310#endif 311#endif
311} 312}
313
314/*
315 * Do a system call from kernel instead of calling sys_execve so we
316 * end up with proper pt_regs.
317 */
318int kernel_execve(const char *filename, char *const argv[], char *const envp[])
319{
320 register long __sc0 __asm__ ("r3") = __NR_execve;
321 register long __sc4 __asm__ ("r4") = (long) filename;
322 register long __sc5 __asm__ ("r5") = (long) argv;
323 register long __sc6 __asm__ ("r6") = (long) envp;
324 __asm__ __volatile__ ("trapa #0x13" : "=z" (__sc0)
325 : "0" (__sc0), "r" (__sc4), "r" (__sc5), "r" (__sc6)
326 : "memory");
327 return __sc0;
328}
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c
index f664a196c4f5..450c68f1df05 100644
--- a/arch/sh/kernel/time.c
+++ b/arch/sh/kernel/time.c
@@ -18,7 +18,6 @@
18#include <asm/timer.h> 18#include <asm/timer.h>
19#include <asm/kgdb.h> 19#include <asm/kgdb.h>
20 20
21extern unsigned long wall_jiffies;
22struct sys_timer *sys_timer; 21struct sys_timer *sys_timer;
23 22
24/* Move this somewhere more sensible.. */ 23/* Move this somewhere more sensible.. */
@@ -52,16 +51,10 @@ void do_gettimeofday(struct timeval *tv)
52{ 51{
53 unsigned long seq; 52 unsigned long seq;
54 unsigned long usec, sec; 53 unsigned long usec, sec;
55 unsigned long lost;
56 54
57 do { 55 do {
58 seq = read_seqbegin(&xtime_lock); 56 seq = read_seqbegin(&xtime_lock);
59 usec = get_timer_offset(); 57 usec = get_timer_offset();
60
61 lost = jiffies - wall_jiffies;
62 if (lost)
63 usec += lost * (1000000 / HZ);
64
65 sec = xtime.tv_sec; 58 sec = xtime.tv_sec;
66 usec += xtime.tv_nsec / 1000; 59 usec += xtime.tv_nsec / 1000;
67 } while (read_seqretry(&xtime_lock, seq)); 60 } while (read_seqretry(&xtime_lock, seq));
@@ -91,8 +84,7 @@ int do_settimeofday(struct timespec *tv)
91 * wall time. Discover what correction gettimeofday() would have 84 * wall time. Discover what correction gettimeofday() would have
92 * made, and then undo it! 85 * made, and then undo it!
93 */ 86 */
94 nsec -= 1000 * (get_timer_offset() + 87 nsec -= 1000 * get_timer_offset();
95 (jiffies - wall_jiffies) * (1000000 / HZ));
96 88
97 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 89 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
98 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 90 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/sh/kernel/vsyscall/.gitignore b/arch/sh/kernel/vsyscall/.gitignore
new file mode 100644
index 000000000000..40836ad9079c
--- /dev/null
+++ b/arch/sh/kernel/vsyscall/.gitignore
@@ -0,0 +1 @@
vsyscall.lds
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c
index 26b6046814fd..1efbac15ff4e 100644
--- a/arch/sh/math-emu/math.c
+++ b/arch/sh/math-emu/math.c
@@ -7,7 +7,6 @@
7 * License. See the file "COPYING" in the main directory of this archive 7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details. 8 * for more details.
9 */ 9 */
10#include <linux/config.h>
11#include <linux/kernel.h> 10#include <linux/kernel.h>
12#include <linux/errno.h> 11#include <linux/errno.h>
13#include <linux/types.h> 12#include <linux/types.h>
diff --git a/arch/sh/mm/cache-debugfs.c b/arch/sh/mm/cache-debugfs.c
index a22d914e4d15..e0122bd33ddb 100644
--- a/arch/sh/mm/cache-debugfs.c
+++ b/arch/sh/mm/cache-debugfs.c
@@ -111,7 +111,7 @@ static int cache_seq_show(struct seq_file *file, void *iter)
111 111
112static int cache_debugfs_open(struct inode *inode, struct file *file) 112static int cache_debugfs_open(struct inode *inode, struct file *file)
113{ 113{
114 return single_open(file, cache_seq_show, inode->u.generic_ip); 114 return single_open(file, cache_seq_show, inode->i_private);
115} 115}
116 116
117static struct file_operations cache_debugfs_fops = { 117static struct file_operations cache_debugfs_fops = {
diff --git a/arch/sh/tools/gen-mach-types b/arch/sh/tools/gen-mach-types
index bb2b82234e83..65161e368353 100644
--- a/arch/sh/tools/gen-mach-types
+++ b/arch/sh/tools/gen-mach-types
@@ -20,8 +20,6 @@ END {
20 printf("#ifndef __ASM_SH_MACHTYPES_H\n"); 20 printf("#ifndef __ASM_SH_MACHTYPES_H\n");
21 printf("#define __ASM_SH_MACHTYPES_H\n"); 21 printf("#define __ASM_SH_MACHTYPES_H\n");
22 printf("\n"); 22 printf("\n");
23 printf("#include <linux/config.h>\n");
24 printf("\n");
25 printf("/*\n"); 23 printf("/*\n");
26 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n"); 24 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
27 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n"); 25 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");
diff --git a/arch/sh64/configs/cayman_defconfig b/arch/sh64/configs/cayman_defconfig
index 48f27407d5e4..d81df574a7f7 100644
--- a/arch/sh64/configs/cayman_defconfig
+++ b/arch/sh64/configs/cayman_defconfig
@@ -1,49 +1,62 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11 3# Linux kernel version: 2.6.18
4# Fri Feb 25 18:14:31 2005 4# Tue Oct 3 13:30:51 2006
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_SUPERH64=y 7CONFIG_SUPERH64=y
8CONFIG_MMU=y 8CONFIG_MMU=y
9CONFIG_UID16=y
10CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10CONFIG_GENERIC_FIND_NEXT_BIT=y
11CONFIG_GENERIC_HWEIGHT=y
11CONFIG_GENERIC_CALIBRATE_DELAY=y 12CONFIG_GENERIC_CALIBRATE_DELAY=y
12CONFIG_LOG_BUF_SHIFT=14 13CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 14
14# 15#
15# Code maturity level options 16# Code maturity level options
16# 17#
17CONFIG_EXPERIMENTAL=y 18CONFIG_EXPERIMENTAL=y
18CONFIG_CLEAN_COMPILE=y
19CONFIG_BROKEN_ON_SMP=y 19CONFIG_BROKEN_ON_SMP=y
20CONFIG_LOCK_KERNEL=y
21CONFIG_INIT_ENV_ARG_LIMIT=32
20 22
21# 23#
22# General setup 24# General setup
23# 25#
24CONFIG_LOCALVERSION="" 26CONFIG_LOCALVERSION=""
27CONFIG_LOCALVERSION_AUTO=y
25CONFIG_SWAP=y 28CONFIG_SWAP=y
26# CONFIG_SYSVIPC is not set 29# CONFIG_SYSVIPC is not set
27CONFIG_POSIX_MQUEUE=y 30CONFIG_POSIX_MQUEUE=y
28# CONFIG_BSD_PROCESS_ACCT is not set 31# CONFIG_BSD_PROCESS_ACCT is not set
29CONFIG_SYSCTL=y 32# CONFIG_TASKSTATS is not set
33# CONFIG_UTS_NS is not set
30# CONFIG_AUDIT is not set 34# CONFIG_AUDIT is not set
31# CONFIG_HOTPLUG is not set
32CONFIG_KOBJECT_UEVENT=y
33# CONFIG_IKCONFIG is not set 35# CONFIG_IKCONFIG is not set
36# CONFIG_RELAY is not set
37CONFIG_INITRAMFS_SOURCE=""
38# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
39CONFIG_SYSCTL=y
34# CONFIG_EMBEDDED is not set 40# CONFIG_EMBEDDED is not set
41CONFIG_UID16=y
42# CONFIG_SYSCTL_SYSCALL is not set
35CONFIG_KALLSYMS=y 43CONFIG_KALLSYMS=y
36# CONFIG_KALLSYMS_ALL is not set 44# CONFIG_KALLSYMS_ALL is not set
37# CONFIG_KALLSYMS_EXTRA_PASS is not set 45# CONFIG_KALLSYMS_EXTRA_PASS is not set
46CONFIG_HOTPLUG=y
47CONFIG_PRINTK=y
48CONFIG_BUG=y
49CONFIG_ELF_CORE=y
50CONFIG_BASE_FULL=y
38CONFIG_FUTEX=y 51CONFIG_FUTEX=y
39CONFIG_EPOLL=y 52CONFIG_EPOLL=y
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SHMEM=y 53CONFIG_SHMEM=y
42CONFIG_CC_ALIGN_FUNCTIONS=0 54CONFIG_SLAB=y
43CONFIG_CC_ALIGN_LABELS=0 55CONFIG_VM_EVENT_COUNTERS=y
44CONFIG_CC_ALIGN_LOOPS=0 56CONFIG_RT_MUTEXES=y
45CONFIG_CC_ALIGN_JUMPS=0
46# CONFIG_TINY_SHMEM is not set 57# CONFIG_TINY_SHMEM is not set
58CONFIG_BASE_SMALL=0
59# CONFIG_SLOB is not set
47 60
48# 61#
49# Loadable module support 62# Loadable module support
@@ -51,6 +64,27 @@ CONFIG_CC_ALIGN_JUMPS=0
51# CONFIG_MODULES is not set 64# CONFIG_MODULES is not set
52 65
53# 66#
67# Block layer
68#
69CONFIG_BLOCK=y
70# CONFIG_LBD is not set
71# CONFIG_BLK_DEV_IO_TRACE is not set
72# CONFIG_LSF is not set
73
74#
75# IO Schedulers
76#
77CONFIG_IOSCHED_NOOP=y
78CONFIG_IOSCHED_AS=y
79CONFIG_IOSCHED_DEADLINE=y
80CONFIG_IOSCHED_CFQ=y
81# CONFIG_DEFAULT_AS is not set
82# CONFIG_DEFAULT_DEADLINE is not set
83CONFIG_DEFAULT_CFQ=y
84# CONFIG_DEFAULT_NOOP is not set
85CONFIG_DEFAULT_IOSCHED="cfq"
86
87#
54# System type 88# System type
55# 89#
56# CONFIG_SH_GENERIC is not set 90# CONFIG_SH_GENERIC is not set
@@ -103,15 +137,23 @@ CONFIG_HEARTBEAT=y
103CONFIG_HDSP253_LED=y 137CONFIG_HDSP253_LED=y
104CONFIG_SH_DMA=y 138CONFIG_SH_DMA=y
105CONFIG_PREEMPT=y 139CONFIG_PREEMPT=y
140CONFIG_SELECT_MEMORY_MODEL=y
141CONFIG_FLATMEM_MANUAL=y
142# CONFIG_DISCONTIGMEM_MANUAL is not set
143# CONFIG_SPARSEMEM_MANUAL is not set
144CONFIG_FLATMEM=y
145CONFIG_FLAT_NODE_MEM_MAP=y
146# CONFIG_SPARSEMEM_STATIC is not set
147CONFIG_SPLIT_PTLOCK_CPUS=4
148# CONFIG_RESOURCES_64BIT is not set
106 149
107# 150#
108# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 151# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
109# 152#
110CONFIG_SUPERHYWAY=y
111CONFIG_PCI=y 153CONFIG_PCI=y
112CONFIG_SH_PCIDMA_NONCOHERENT=y 154CONFIG_SH_PCIDMA_NONCOHERENT=y
113CONFIG_PCI_LEGACY_PROC=y 155# CONFIG_PCI_MULTITHREAD_PROBE is not set
114CONFIG_PCI_NAMES=y 156# CONFIG_PCI_DEBUG is not set
115 157
116# 158#
117# PCCARD (PCMCIA/CardBus) support 159# PCCARD (PCMCIA/CardBus) support
@@ -119,10 +161,6 @@ CONFIG_PCI_NAMES=y
119# CONFIG_PCCARD is not set 161# CONFIG_PCCARD is not set
120 162
121# 163#
122# PC-card bridges
123#
124
125#
126# PCI Hotplug Support 164# PCI Hotplug Support
127# 165#
128# CONFIG_HOTPLUG_PCI is not set 166# CONFIG_HOTPLUG_PCI is not set
@@ -135,6 +173,92 @@ CONFIG_BINFMT_ELF=y
135# CONFIG_BINFMT_MISC is not set 173# CONFIG_BINFMT_MISC is not set
136 174
137# 175#
176# Networking
177#
178CONFIG_NET=y
179
180#
181# Networking options
182#
183# CONFIG_NETDEBUG is not set
184CONFIG_PACKET=y
185# CONFIG_PACKET_MMAP is not set
186CONFIG_UNIX=y
187CONFIG_XFRM=y
188# CONFIG_XFRM_USER is not set
189# CONFIG_XFRM_SUB_POLICY is not set
190# CONFIG_NET_KEY is not set
191CONFIG_INET=y
192# CONFIG_IP_MULTICAST is not set
193# CONFIG_IP_ADVANCED_ROUTER is not set
194CONFIG_IP_FIB_HASH=y
195CONFIG_IP_PNP=y
196# CONFIG_IP_PNP_DHCP is not set
197# CONFIG_IP_PNP_BOOTP is not set
198# CONFIG_IP_PNP_RARP is not set
199# CONFIG_NET_IPIP is not set
200# CONFIG_NET_IPGRE is not set
201# CONFIG_ARPD is not set
202# CONFIG_SYN_COOKIES is not set
203# CONFIG_INET_AH is not set
204# CONFIG_INET_ESP is not set
205# CONFIG_INET_IPCOMP is not set
206# CONFIG_INET_XFRM_TUNNEL is not set
207# CONFIG_INET_TUNNEL is not set
208CONFIG_INET_XFRM_MODE_TRANSPORT=y
209CONFIG_INET_XFRM_MODE_TUNNEL=y
210CONFIG_INET_DIAG=y
211CONFIG_INET_TCP_DIAG=y
212# CONFIG_TCP_CONG_ADVANCED is not set
213CONFIG_TCP_CONG_CUBIC=y
214CONFIG_DEFAULT_TCP_CONG="cubic"
215# CONFIG_IPV6 is not set
216# CONFIG_INET6_XFRM_TUNNEL is not set
217# CONFIG_INET6_TUNNEL is not set
218# CONFIG_NETWORK_SECMARK is not set
219# CONFIG_NETFILTER is not set
220
221#
222# DCCP Configuration (EXPERIMENTAL)
223#
224# CONFIG_IP_DCCP is not set
225
226#
227# SCTP Configuration (EXPERIMENTAL)
228#
229# CONFIG_IP_SCTP is not set
230
231#
232# TIPC Configuration (EXPERIMENTAL)
233#
234# CONFIG_TIPC is not set
235# CONFIG_ATM is not set
236# CONFIG_BRIDGE is not set
237# CONFIG_VLAN_8021Q is not set
238# CONFIG_DECNET is not set
239# CONFIG_LLC2 is not set
240# CONFIG_IPX is not set
241# CONFIG_ATALK is not set
242# CONFIG_X25 is not set
243# CONFIG_LAPB is not set
244# CONFIG_ECONET is not set
245# CONFIG_WAN_ROUTER is not set
246
247#
248# QoS and/or fair queueing
249#
250# CONFIG_NET_SCHED is not set
251
252#
253# Network testing
254#
255# CONFIG_NET_PKTGEN is not set
256# CONFIG_HAMRADIO is not set
257# CONFIG_IRDA is not set
258# CONFIG_BT is not set
259# CONFIG_IEEE80211 is not set
260
261#
138# Device Drivers 262# Device Drivers
139# 263#
140 264
@@ -145,6 +269,12 @@ CONFIG_STANDALONE=y
145CONFIG_PREVENT_FIRMWARE_BUILD=y 269CONFIG_PREVENT_FIRMWARE_BUILD=y
146# CONFIG_FW_LOADER is not set 270# CONFIG_FW_LOADER is not set
147# CONFIG_DEBUG_DRIVER is not set 271# CONFIG_DEBUG_DRIVER is not set
272# CONFIG_SYS_HYPERVISOR is not set
273
274#
275# Connector - unified userspace <-> kernelspace linker
276#
277# CONFIG_CONNECTOR is not set
148 278
149# 279#
150# Memory Technology Devices (MTD) 280# Memory Technology Devices (MTD)
@@ -163,7 +293,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
163# 293#
164# Block devices 294# Block devices
165# 295#
166# CONFIG_BLK_DEV_FD is not set
167# CONFIG_BLK_CPQ_DA is not set 296# CONFIG_BLK_CPQ_DA is not set
168# CONFIG_BLK_CPQ_CISS_DA is not set 297# CONFIG_BLK_CPQ_CISS_DA is not set
169# CONFIG_BLK_DEV_DAC960 is not set 298# CONFIG_BLK_DEV_DAC960 is not set
@@ -176,18 +305,9 @@ CONFIG_BLK_DEV_LOOP=y
176CONFIG_BLK_DEV_RAM=y 305CONFIG_BLK_DEV_RAM=y
177CONFIG_BLK_DEV_RAM_COUNT=16 306CONFIG_BLK_DEV_RAM_COUNT=16
178CONFIG_BLK_DEV_RAM_SIZE=4096 307CONFIG_BLK_DEV_RAM_SIZE=4096
308CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
179# CONFIG_BLK_DEV_INITRD is not set 309# CONFIG_BLK_DEV_INITRD is not set
180CONFIG_INITRAMFS_SOURCE=""
181# CONFIG_LBD is not set
182# CONFIG_CDROM_PKTCDVD is not set 310# CONFIG_CDROM_PKTCDVD is not set
183
184#
185# IO Schedulers
186#
187CONFIG_IOSCHED_NOOP=y
188CONFIG_IOSCHED_AS=y
189CONFIG_IOSCHED_DEADLINE=y
190CONFIG_IOSCHED_CFQ=y
191# CONFIG_ATA_OVER_ETH is not set 311# CONFIG_ATA_OVER_ETH is not set
192 312
193# 313#
@@ -198,7 +318,9 @@ CONFIG_IOSCHED_CFQ=y
198# 318#
199# SCSI device support 319# SCSI device support
200# 320#
321# CONFIG_RAID_ATTRS is not set
201CONFIG_SCSI=y 322CONFIG_SCSI=y
323# CONFIG_SCSI_NETLINK is not set
202CONFIG_SCSI_PROC_FS=y 324CONFIG_SCSI_PROC_FS=y
203 325
204# 326#
@@ -209,6 +331,7 @@ CONFIG_BLK_DEV_SD=y
209# CONFIG_CHR_DEV_OSST is not set 331# CONFIG_CHR_DEV_OSST is not set
210# CONFIG_BLK_DEV_SR is not set 332# CONFIG_BLK_DEV_SR is not set
211# CONFIG_CHR_DEV_SG is not set 333# CONFIG_CHR_DEV_SG is not set
334# CONFIG_CHR_DEV_SCH is not set
212 335
213# 336#
214# Some SCSI devices (e.g. CD jukebox) support multiple LUNs 337# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
@@ -218,15 +341,18 @@ CONFIG_SCSI_MULTI_LUN=y
218# CONFIG_SCSI_LOGGING is not set 341# CONFIG_SCSI_LOGGING is not set
219 342
220# 343#
221# SCSI Transport Attributes 344# SCSI Transports
222# 345#
223CONFIG_SCSI_SPI_ATTRS=y 346CONFIG_SCSI_SPI_ATTRS=y
224# CONFIG_SCSI_FC_ATTRS is not set 347# CONFIG_SCSI_FC_ATTRS is not set
225# CONFIG_SCSI_ISCSI_ATTRS is not set 348# CONFIG_SCSI_ISCSI_ATTRS is not set
349# CONFIG_SCSI_SAS_ATTRS is not set
350# CONFIG_SCSI_SAS_LIBSAS is not set
226 351
227# 352#
228# SCSI low-level drivers 353# SCSI low-level drivers
229# 354#
355# CONFIG_ISCSI_TCP is not set
230# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 356# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
231# CONFIG_SCSI_3W_9XXX is not set 357# CONFIG_SCSI_3W_9XXX is not set
232# CONFIG_SCSI_ACARD is not set 358# CONFIG_SCSI_ACARD is not set
@@ -234,40 +360,39 @@ CONFIG_SCSI_SPI_ATTRS=y
234# CONFIG_SCSI_AIC7XXX is not set 360# CONFIG_SCSI_AIC7XXX is not set
235# CONFIG_SCSI_AIC7XXX_OLD is not set 361# CONFIG_SCSI_AIC7XXX_OLD is not set
236# CONFIG_SCSI_AIC79XX is not set 362# CONFIG_SCSI_AIC79XX is not set
363# CONFIG_SCSI_AIC94XX is not set
237# CONFIG_SCSI_DPT_I2O is not set 364# CONFIG_SCSI_DPT_I2O is not set
365# CONFIG_SCSI_ARCMSR is not set
238# CONFIG_MEGARAID_NEWGEN is not set 366# CONFIG_MEGARAID_NEWGEN is not set
239# CONFIG_MEGARAID_LEGACY is not set 367# CONFIG_MEGARAID_LEGACY is not set
240# CONFIG_SCSI_SATA is not set 368# CONFIG_MEGARAID_SAS is not set
241# CONFIG_SCSI_BUSLOGIC is not set 369# CONFIG_SCSI_HPTIOP is not set
242# CONFIG_SCSI_DMX3191D is not set 370# CONFIG_SCSI_DMX3191D is not set
243# CONFIG_SCSI_EATA is not set
244# CONFIG_SCSI_EATA_PIO is not set
245# CONFIG_SCSI_FUTURE_DOMAIN is not set 371# CONFIG_SCSI_FUTURE_DOMAIN is not set
246# CONFIG_SCSI_GDTH is not set
247# CONFIG_SCSI_IPS is not set 372# CONFIG_SCSI_IPS is not set
248# CONFIG_SCSI_INITIO is not set 373# CONFIG_SCSI_INITIO is not set
249# CONFIG_SCSI_INIA100 is not set 374# CONFIG_SCSI_INIA100 is not set
375# CONFIG_SCSI_STEX is not set
250CONFIG_SCSI_SYM53C8XX_2=y 376CONFIG_SCSI_SYM53C8XX_2=y
251CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 377CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
252CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 378CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
253CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 379CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
254# CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set 380CONFIG_SCSI_SYM53C8XX_MMIO=y
255# CONFIG_SCSI_IPR is not set 381# CONFIG_SCSI_IPR is not set
256# CONFIG_SCSI_QLOGIC_ISP is not set
257# CONFIG_SCSI_QLOGIC_FC is not set
258# CONFIG_SCSI_QLOGIC_1280 is not set 382# CONFIG_SCSI_QLOGIC_1280 is not set
259CONFIG_SCSI_QLA2XXX=y 383# CONFIG_SCSI_QLA_FC is not set
260# CONFIG_SCSI_QLA21XX is not set 384# CONFIG_SCSI_LPFC is not set
261# CONFIG_SCSI_QLA22XX is not set
262# CONFIG_SCSI_QLA2300 is not set
263# CONFIG_SCSI_QLA2322 is not set
264# CONFIG_SCSI_QLA6312 is not set
265# CONFIG_SCSI_DC395x is not set 385# CONFIG_SCSI_DC395x is not set
266# CONFIG_SCSI_DC390T is not set 386# CONFIG_SCSI_DC390T is not set
267# CONFIG_SCSI_NSP32 is not set 387# CONFIG_SCSI_NSP32 is not set
268# CONFIG_SCSI_DEBUG is not set 388# CONFIG_SCSI_DEBUG is not set
269 389
270# 390#
391# Serial ATA (prod) and Parallel ATA (experimental) drivers
392#
393# CONFIG_ATA is not set
394
395#
271# Multi-device support (RAID and LVM) 396# Multi-device support (RAID and LVM)
272# 397#
273# CONFIG_MD is not set 398# CONFIG_MD is not set
@@ -276,6 +401,9 @@ CONFIG_SCSI_QLA2XXX=y
276# Fusion MPT device support 401# Fusion MPT device support
277# 402#
278# CONFIG_FUSION is not set 403# CONFIG_FUSION is not set
404# CONFIG_FUSION_SPI is not set
405# CONFIG_FUSION_FC is not set
406# CONFIG_FUSION_SAS is not set
279 407
280# 408#
281# IEEE 1394 (FireWire) support 409# IEEE 1394 (FireWire) support
@@ -288,70 +416,8 @@ CONFIG_SCSI_QLA2XXX=y
288# CONFIG_I2O is not set 416# CONFIG_I2O is not set
289 417
290# 418#
291# Networking support 419# Network device support
292#
293CONFIG_NET=y
294
295#
296# Networking options
297# 420#
298CONFIG_PACKET=y
299# CONFIG_PACKET_MMAP is not set
300# CONFIG_NETLINK_DEV is not set
301CONFIG_UNIX=y
302# CONFIG_NET_KEY is not set
303CONFIG_INET=y
304# CONFIG_IP_MULTICAST is not set
305# CONFIG_IP_ADVANCED_ROUTER is not set
306CONFIG_IP_PNP=y
307# CONFIG_IP_PNP_DHCP is not set
308# CONFIG_IP_PNP_BOOTP is not set
309# CONFIG_IP_PNP_RARP is not set
310# CONFIG_NET_IPIP is not set
311# CONFIG_NET_IPGRE is not set
312# CONFIG_ARPD is not set
313# CONFIG_SYN_COOKIES is not set
314# CONFIG_INET_AH is not set
315# CONFIG_INET_ESP is not set
316# CONFIG_INET_IPCOMP is not set
317# CONFIG_INET_TUNNEL is not set
318CONFIG_IP_TCPDIAG=y
319# CONFIG_IP_TCPDIAG_IPV6 is not set
320# CONFIG_IPV6 is not set
321# CONFIG_NETFILTER is not set
322
323#
324# SCTP Configuration (EXPERIMENTAL)
325#
326# CONFIG_IP_SCTP is not set
327# CONFIG_ATM is not set
328# CONFIG_BRIDGE is not set
329# CONFIG_VLAN_8021Q is not set
330# CONFIG_DECNET is not set
331# CONFIG_LLC2 is not set
332# CONFIG_IPX is not set
333# CONFIG_ATALK is not set
334# CONFIG_X25 is not set
335# CONFIG_LAPB is not set
336# CONFIG_NET_DIVERT is not set
337# CONFIG_ECONET is not set
338# CONFIG_WAN_ROUTER is not set
339
340#
341# QoS and/or fair queueing
342#
343# CONFIG_NET_SCHED is not set
344# CONFIG_NET_CLS_ROUTE is not set
345
346#
347# Network testing
348#
349# CONFIG_NET_PKTGEN is not set
350# CONFIG_NETPOLL is not set
351# CONFIG_NET_POLL_CONTROLLER is not set
352# CONFIG_HAMRADIO is not set
353# CONFIG_IRDA is not set
354# CONFIG_BT is not set
355CONFIG_NETDEVICES=y 421CONFIG_NETDEVICES=y
356# CONFIG_DUMMY is not set 422# CONFIG_DUMMY is not set
357# CONFIG_BONDING is not set 423# CONFIG_BONDING is not set
@@ -364,6 +430,11 @@ CONFIG_NETDEVICES=y
364# CONFIG_ARCNET is not set 430# CONFIG_ARCNET is not set
365 431
366# 432#
433# PHY device support
434#
435# CONFIG_PHYLIB is not set
436
437#
367# Ethernet (10 or 100Mbit) 438# Ethernet (10 or 100Mbit)
368# 439#
369CONFIG_NET_ETHERNET=y 440CONFIG_NET_ETHERNET=y
@@ -371,7 +442,9 @@ CONFIG_NET_ETHERNET=y
371# CONFIG_STNIC is not set 442# CONFIG_STNIC is not set
372# CONFIG_HAPPYMEAL is not set 443# CONFIG_HAPPYMEAL is not set
373# CONFIG_SUNGEM is not set 444# CONFIG_SUNGEM is not set
445# CONFIG_CASSINI is not set
374# CONFIG_NET_VENDOR_3COM is not set 446# CONFIG_NET_VENDOR_3COM is not set
447# CONFIG_SMC91X is not set
375 448
376# 449#
377# Tulip family network device support 450# Tulip family network device support
@@ -385,6 +458,7 @@ CONFIG_TULIP=y
385# CONFIG_DE4X5 is not set 458# CONFIG_DE4X5 is not set
386# CONFIG_WINBOND_840 is not set 459# CONFIG_WINBOND_840 is not set
387# CONFIG_DM9102 is not set 460# CONFIG_DM9102 is not set
461# CONFIG_ULI526X is not set
388# CONFIG_HP100 is not set 462# CONFIG_HP100 is not set
389CONFIG_NET_PCI=y 463CONFIG_NET_PCI=y
390# CONFIG_PCNET32 is not set 464# CONFIG_PCNET32 is not set
@@ -416,15 +490,22 @@ CONFIG_NET_PCI=y
416# CONFIG_HAMACHI is not set 490# CONFIG_HAMACHI is not set
417# CONFIG_YELLOWFIN is not set 491# CONFIG_YELLOWFIN is not set
418# CONFIG_R8169 is not set 492# CONFIG_R8169 is not set
493# CONFIG_SIS190 is not set
494# CONFIG_SKGE is not set
495# CONFIG_SKY2 is not set
419# CONFIG_SK98LIN is not set 496# CONFIG_SK98LIN is not set
420# CONFIG_VIA_VELOCITY is not set 497# CONFIG_VIA_VELOCITY is not set
421# CONFIG_TIGON3 is not set 498# CONFIG_TIGON3 is not set
499# CONFIG_BNX2 is not set
500# CONFIG_QLA3XXX is not set
422 501
423# 502#
424# Ethernet (10000 Mbit) 503# Ethernet (10000 Mbit)
425# 504#
505# CONFIG_CHELSIO_T1 is not set
426# CONFIG_IXGB is not set 506# CONFIG_IXGB is not set
427# CONFIG_S2IO is not set 507# CONFIG_S2IO is not set
508# CONFIG_MYRI10GE is not set
428 509
429# 510#
430# Token Ring devices 511# Token Ring devices
@@ -447,6 +528,8 @@ CONFIG_NET_PCI=y
447# CONFIG_NET_FC is not set 528# CONFIG_NET_FC is not set
448# CONFIG_SHAPER is not set 529# CONFIG_SHAPER is not set
449# CONFIG_NETCONSOLE is not set 530# CONFIG_NETCONSOLE is not set
531# CONFIG_NETPOLL is not set
532# CONFIG_NET_POLL_CONTROLLER is not set
450 533
451# 534#
452# ISDN subsystem 535# ISDN subsystem
@@ -462,6 +545,7 @@ CONFIG_NET_PCI=y
462# Input device support 545# Input device support
463# 546#
464CONFIG_INPUT=y 547CONFIG_INPUT=y
548# CONFIG_INPUT_FF_MEMLESS is not set
465 549
466# 550#
467# Userland interfaces 551# Userland interfaces
@@ -476,19 +560,6 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
476# CONFIG_INPUT_EVBUG is not set 560# CONFIG_INPUT_EVBUG is not set
477 561
478# 562#
479# Input I/O drivers
480#
481# CONFIG_GAMEPORT is not set
482CONFIG_SOUND_GAMEPORT=y
483CONFIG_SERIO=y
484CONFIG_SERIO_I8042=y
485CONFIG_SERIO_SERPORT=y
486# CONFIG_SERIO_CT82C710 is not set
487# CONFIG_SERIO_PCIPS2 is not set
488CONFIG_SERIO_LIBPS2=y
489# CONFIG_SERIO_RAW is not set
490
491#
492# Input Device Drivers 563# Input Device Drivers
493# 564#
494CONFIG_INPUT_KEYBOARD=y 565CONFIG_INPUT_KEYBOARD=y
@@ -497,6 +568,7 @@ CONFIG_KEYBOARD_ATKBD=y
497# CONFIG_KEYBOARD_LKKBD is not set 568# CONFIG_KEYBOARD_LKKBD is not set
498# CONFIG_KEYBOARD_XTKBD is not set 569# CONFIG_KEYBOARD_XTKBD is not set
499# CONFIG_KEYBOARD_NEWTON is not set 570# CONFIG_KEYBOARD_NEWTON is not set
571# CONFIG_KEYBOARD_STOWAWAY is not set
500CONFIG_INPUT_MOUSE=y 572CONFIG_INPUT_MOUSE=y
501CONFIG_MOUSE_PS2=y 573CONFIG_MOUSE_PS2=y
502# CONFIG_MOUSE_SERIAL is not set 574# CONFIG_MOUSE_SERIAL is not set
@@ -506,11 +578,23 @@ CONFIG_MOUSE_PS2=y
506# CONFIG_INPUT_MISC is not set 578# CONFIG_INPUT_MISC is not set
507 579
508# 580#
581# Hardware I/O ports
582#
583CONFIG_SERIO=y
584CONFIG_SERIO_I8042=y
585CONFIG_SERIO_SERPORT=y
586# CONFIG_SERIO_PCIPS2 is not set
587CONFIG_SERIO_LIBPS2=y
588# CONFIG_SERIO_RAW is not set
589# CONFIG_GAMEPORT is not set
590
591#
509# Character devices 592# Character devices
510# 593#
511CONFIG_VT=y 594CONFIG_VT=y
512CONFIG_VT_CONSOLE=y 595CONFIG_VT_CONSOLE=y
513CONFIG_HW_CONSOLE=y 596CONFIG_HW_CONSOLE=y
597# CONFIG_VT_HW_CONSOLE_BINDING is not set
514# CONFIG_SERIAL_NONSTANDARD is not set 598# CONFIG_SERIAL_NONSTANDARD is not set
515 599
516# 600#
@@ -522,9 +606,11 @@ CONFIG_HW_CONSOLE=y
522# Non-8250 serial port support 606# Non-8250 serial port support
523# 607#
524CONFIG_SERIAL_SH_SCI=y 608CONFIG_SERIAL_SH_SCI=y
609CONFIG_SERIAL_SH_SCI_NR_UARTS=2
525CONFIG_SERIAL_SH_SCI_CONSOLE=y 610CONFIG_SERIAL_SH_SCI_CONSOLE=y
526CONFIG_SERIAL_CORE=y 611CONFIG_SERIAL_CORE=y
527CONFIG_SERIAL_CORE_CONSOLE=y 612CONFIG_SERIAL_CORE_CONSOLE=y
613# CONFIG_SERIAL_JSM is not set
528CONFIG_UNIX98_PTYS=y 614CONFIG_UNIX98_PTYS=y
529CONFIG_LEGACY_PTYS=y 615CONFIG_LEGACY_PTYS=y
530CONFIG_LEGACY_PTY_COUNT=256 616CONFIG_LEGACY_PTY_COUNT=256
@@ -551,7 +637,7 @@ CONFIG_WATCHDOG=y
551# 637#
552# CONFIG_PCIPCWATCHDOG is not set 638# CONFIG_PCIPCWATCHDOG is not set
553# CONFIG_WDTPCI is not set 639# CONFIG_WDTPCI is not set
554# CONFIG_RTC is not set 640CONFIG_HW_RANDOM=y
555# CONFIG_GEN_RTC is not set 641# CONFIG_GEN_RTC is not set
556# CONFIG_DTLK is not set 642# CONFIG_DTLK is not set
557# CONFIG_R3964 is not set 643# CONFIG_R3964 is not set
@@ -564,14 +650,35 @@ CONFIG_WATCHDOG=y
564# CONFIG_RAW_DRIVER is not set 650# CONFIG_RAW_DRIVER is not set
565 651
566# 652#
653# TPM devices
654#
655# CONFIG_TCG_TPM is not set
656# CONFIG_TELCLOCK is not set
657
658#
567# I2C support 659# I2C support
568# 660#
569# CONFIG_I2C is not set 661# CONFIG_I2C is not set
570 662
571# 663#
664# SPI support
665#
666# CONFIG_SPI is not set
667# CONFIG_SPI_MASTER is not set
668
669#
572# Dallas's 1-wire bus 670# Dallas's 1-wire bus
573# 671#
574# CONFIG_W1 is not set 672
673#
674# Hardware Monitoring support
675#
676CONFIG_HWMON=y
677# CONFIG_HWMON_VID is not set
678# CONFIG_SENSORS_ABITUGURU is not set
679# CONFIG_SENSORS_F71805F is not set
680# CONFIG_SENSORS_VT1211 is not set
681# CONFIG_HWMON_DEBUG_CHIP is not set
575 682
576# 683#
577# Misc devices 684# Misc devices
@@ -581,6 +688,7 @@ CONFIG_WATCHDOG=y
581# Multimedia devices 688# Multimedia devices
582# 689#
583# CONFIG_VIDEO_DEV is not set 690# CONFIG_VIDEO_DEV is not set
691CONFIG_VIDEO_V4L2=y
584 692
585# 693#
586# Digital Video Broadcasting Devices 694# Digital Video Broadcasting Devices
@@ -590,7 +698,13 @@ CONFIG_WATCHDOG=y
590# 698#
591# Graphics support 699# Graphics support
592# 700#
701CONFIG_FIRMWARE_EDID=y
593CONFIG_FB=y 702CONFIG_FB=y
703CONFIG_FB_CFB_FILLRECT=y
704CONFIG_FB_CFB_COPYAREA=y
705CONFIG_FB_CFB_IMAGEBLIT=y
706# CONFIG_FB_MACMODES is not set
707# CONFIG_FB_BACKLIGHT is not set
594CONFIG_FB_MODE_HELPERS=y 708CONFIG_FB_MODE_HELPERS=y
595# CONFIG_FB_TILEBLITTING is not set 709# CONFIG_FB_TILEBLITTING is not set
596# CONFIG_FB_CIRRUS is not set 710# CONFIG_FB_CIRRUS is not set
@@ -599,9 +713,10 @@ CONFIG_FB_MODE_HELPERS=y
599# CONFIG_FB_ASILIANT is not set 713# CONFIG_FB_ASILIANT is not set
600# CONFIG_FB_IMSTT is not set 714# CONFIG_FB_IMSTT is not set
601# CONFIG_FB_EPSON1355 is not set 715# CONFIG_FB_EPSON1355 is not set
716# CONFIG_FB_S1D13XXX is not set
717# CONFIG_FB_NVIDIA is not set
602# CONFIG_FB_RIVA is not set 718# CONFIG_FB_RIVA is not set
603# CONFIG_FB_MATROX is not set 719# CONFIG_FB_MATROX is not set
604# CONFIG_FB_RADEON_OLD is not set
605# CONFIG_FB_RADEON is not set 720# CONFIG_FB_RADEON is not set
606# CONFIG_FB_ATY128 is not set 721# CONFIG_FB_ATY128 is not set
607# CONFIG_FB_ATY is not set 722# CONFIG_FB_ATY is not set
@@ -617,18 +732,20 @@ CONFIG_FB_KYRO=y
617# 732#
618# Console display driver support 733# Console display driver support
619# 734#
620# CONFIG_VGA_CONSOLE is not set
621CONFIG_DUMMY_CONSOLE=y 735CONFIG_DUMMY_CONSOLE=y
622CONFIG_FRAMEBUFFER_CONSOLE=y 736CONFIG_FRAMEBUFFER_CONSOLE=y
737# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
623CONFIG_FONTS=y 738CONFIG_FONTS=y
624# CONFIG_FONT_8x8 is not set 739# CONFIG_FONT_8x8 is not set
625CONFIG_FONT_8x16=y 740CONFIG_FONT_8x16=y
626# CONFIG_FONT_6x11 is not set 741# CONFIG_FONT_6x11 is not set
742# CONFIG_FONT_7x14 is not set
627# CONFIG_FONT_PEARL_8x8 is not set 743# CONFIG_FONT_PEARL_8x8 is not set
628# CONFIG_FONT_ACORN_8x8 is not set 744# CONFIG_FONT_ACORN_8x8 is not set
629# CONFIG_FONT_MINI_4x6 is not set 745# CONFIG_FONT_MINI_4x6 is not set
630# CONFIG_FONT_SUN8x16 is not set 746# CONFIG_FONT_SUN8x16 is not set
631# CONFIG_FONT_SUN12x22 is not set 747# CONFIG_FONT_SUN12x22 is not set
748# CONFIG_FONT_10x18 is not set
632 749
633# 750#
634# Logo configuration 751# Logo configuration
@@ -650,12 +767,13 @@ CONFIG_LOGO_SUPERH_CLUT224=y
650# 767#
651# USB support 768# USB support
652# 769#
653# CONFIG_USB is not set
654CONFIG_USB_ARCH_HAS_HCD=y 770CONFIG_USB_ARCH_HAS_HCD=y
655CONFIG_USB_ARCH_HAS_OHCI=y 771CONFIG_USB_ARCH_HAS_OHCI=y
772CONFIG_USB_ARCH_HAS_EHCI=y
773# CONFIG_USB is not set
656 774
657# 775#
658# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 776# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
659# 777#
660 778
661# 779#
@@ -669,15 +787,51 @@ CONFIG_USB_ARCH_HAS_OHCI=y
669# CONFIG_MMC is not set 787# CONFIG_MMC is not set
670 788
671# 789#
790# LED devices
791#
792# CONFIG_NEW_LEDS is not set
793
794#
795# LED drivers
796#
797
798#
799# LED Triggers
800#
801
802#
672# InfiniBand support 803# InfiniBand support
673# 804#
674# CONFIG_INFINIBAND is not set 805# CONFIG_INFINIBAND is not set
675 806
676# 807#
808# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
809#
810
811#
812# Real Time Clock
813#
814# CONFIG_RTC_CLASS is not set
815
816#
817# DMA Engine support
818#
819# CONFIG_DMA_ENGINE is not set
820
821#
822# DMA Clients
823#
824
825#
826# DMA Devices
827#
828
829#
677# File systems 830# File systems
678# 831#
679CONFIG_EXT2_FS=y 832CONFIG_EXT2_FS=y
680# CONFIG_EXT2_FS_XATTR is not set 833# CONFIG_EXT2_FS_XATTR is not set
834# CONFIG_EXT2_FS_XIP is not set
681CONFIG_EXT3_FS=y 835CONFIG_EXT3_FS=y
682CONFIG_EXT3_FS_XATTR=y 836CONFIG_EXT3_FS_XATTR=y
683# CONFIG_EXT3_FS_POSIX_ACL is not set 837# CONFIG_EXT3_FS_POSIX_ACL is not set
@@ -687,17 +841,18 @@ CONFIG_JBD=y
687CONFIG_FS_MBCACHE=y 841CONFIG_FS_MBCACHE=y
688# CONFIG_REISERFS_FS is not set 842# CONFIG_REISERFS_FS is not set
689# CONFIG_JFS_FS is not set 843# CONFIG_JFS_FS is not set
690 844# CONFIG_FS_POSIX_ACL is not set
691#
692# XFS support
693#
694# CONFIG_XFS_FS is not set 845# CONFIG_XFS_FS is not set
846# CONFIG_OCFS2_FS is not set
695CONFIG_MINIX_FS=y 847CONFIG_MINIX_FS=y
696CONFIG_ROMFS_FS=y 848CONFIG_ROMFS_FS=y
849CONFIG_INOTIFY=y
850CONFIG_INOTIFY_USER=y
697# CONFIG_QUOTA is not set 851# CONFIG_QUOTA is not set
698CONFIG_DNOTIFY=y 852CONFIG_DNOTIFY=y
699# CONFIG_AUTOFS_FS is not set 853# CONFIG_AUTOFS_FS is not set
700# CONFIG_AUTOFS4_FS is not set 854# CONFIG_AUTOFS4_FS is not set
855# CONFIG_FUSE_FS is not set
701 856
702# 857#
703# CD-ROM/DVD Filesystems 858# CD-ROM/DVD Filesystems
@@ -717,14 +872,14 @@ CONFIG_DNOTIFY=y
717# 872#
718CONFIG_PROC_FS=y 873CONFIG_PROC_FS=y
719CONFIG_PROC_KCORE=y 874CONFIG_PROC_KCORE=y
875CONFIG_PROC_SYSCTL=y
720CONFIG_SYSFS=y 876CONFIG_SYSFS=y
721# CONFIG_DEVFS_FS is not set
722# CONFIG_DEVPTS_FS_XATTR is not set
723CONFIG_TMPFS=y 877CONFIG_TMPFS=y
724# CONFIG_TMPFS_XATTR is not set 878# CONFIG_TMPFS_POSIX_ACL is not set
725CONFIG_HUGETLBFS=y 879CONFIG_HUGETLBFS=y
726CONFIG_HUGETLB_PAGE=y 880CONFIG_HUGETLB_PAGE=y
727CONFIG_RAMFS=y 881CONFIG_RAMFS=y
882# CONFIG_CONFIGFS_FS is not set
728 883
729# 884#
730# Miscellaneous filesystems 885# Miscellaneous filesystems
@@ -748,12 +903,14 @@ CONFIG_RAMFS=y
748# 903#
749CONFIG_NFS_FS=y 904CONFIG_NFS_FS=y
750CONFIG_NFS_V3=y 905CONFIG_NFS_V3=y
906# CONFIG_NFS_V3_ACL is not set
751# CONFIG_NFS_V4 is not set 907# CONFIG_NFS_V4 is not set
752# CONFIG_NFS_DIRECTIO is not set 908# CONFIG_NFS_DIRECTIO is not set
753# CONFIG_NFSD is not set 909# CONFIG_NFSD is not set
754CONFIG_ROOT_NFS=y 910CONFIG_ROOT_NFS=y
755CONFIG_LOCKD=y 911CONFIG_LOCKD=y
756CONFIG_LOCKD_V4=y 912CONFIG_LOCKD_V4=y
913CONFIG_NFS_COMMON=y
757CONFIG_SUNRPC=y 914CONFIG_SUNRPC=y
758# CONFIG_RPCSEC_GSS_KRB5 is not set 915# CONFIG_RPCSEC_GSS_KRB5 is not set
759# CONFIG_RPCSEC_GSS_SPKM3 is not set 916# CONFIG_RPCSEC_GSS_SPKM3 is not set
@@ -762,6 +919,7 @@ CONFIG_SUNRPC=y
762# CONFIG_NCP_FS is not set 919# CONFIG_NCP_FS is not set
763# CONFIG_CODA_FS is not set 920# CONFIG_CODA_FS is not set
764# CONFIG_AFS_FS is not set 921# CONFIG_AFS_FS is not set
922# CONFIG_9P_FS is not set
765 923
766# 924#
767# Partition Types 925# Partition Types
@@ -781,6 +939,7 @@ CONFIG_MSDOS_PARTITION=y
781# CONFIG_SGI_PARTITION is not set 939# CONFIG_SGI_PARTITION is not set
782# CONFIG_ULTRIX_PARTITION is not set 940# CONFIG_ULTRIX_PARTITION is not set
783# CONFIG_SUN_PARTITION is not set 941# CONFIG_SUN_PARTITION is not set
942# CONFIG_KARMA_PARTITION is not set
784# CONFIG_EFI_PARTITION is not set 943# CONFIG_EFI_PARTITION is not set
785 944
786# 945#
@@ -796,13 +955,32 @@ CONFIG_MSDOS_PARTITION=y
796# 955#
797# Kernel hacking 956# Kernel hacking
798# 957#
799CONFIG_DEBUG_KERNEL=y 958# CONFIG_PRINTK_TIME is not set
959CONFIG_ENABLE_MUST_CHECK=y
800CONFIG_MAGIC_SYSRQ=y 960CONFIG_MAGIC_SYSRQ=y
961# CONFIG_UNUSED_SYMBOLS is not set
962CONFIG_DEBUG_KERNEL=y
963CONFIG_LOG_BUF_SHIFT=14
964CONFIG_DETECT_SOFTLOCKUP=y
801CONFIG_SCHEDSTATS=y 965CONFIG_SCHEDSTATS=y
966# CONFIG_DEBUG_SLAB is not set
967# CONFIG_DEBUG_RT_MUTEXES is not set
968# CONFIG_RT_MUTEX_TESTER is not set
802# CONFIG_DEBUG_SPINLOCK is not set 969# CONFIG_DEBUG_SPINLOCK is not set
970# CONFIG_DEBUG_MUTEXES is not set
971# CONFIG_DEBUG_RWSEMS is not set
972# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
973# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
803# CONFIG_DEBUG_KOBJECT is not set 974# CONFIG_DEBUG_KOBJECT is not set
975CONFIG_DEBUG_BUGVERBOSE=y
976# CONFIG_DEBUG_INFO is not set
804CONFIG_DEBUG_FS=y 977CONFIG_DEBUG_FS=y
978# CONFIG_DEBUG_VM is not set
979# CONFIG_DEBUG_LIST is not set
805CONFIG_FRAME_POINTER=y 980CONFIG_FRAME_POINTER=y
981# CONFIG_UNWIND_INFO is not set
982CONFIG_FORCED_INLINING=y
983# CONFIG_RCU_TORTURE_TEST is not set
806# CONFIG_EARLY_PRINTK is not set 984# CONFIG_EARLY_PRINTK is not set
807# CONFIG_DEBUG_KERNEL_WITH_GDB_STUB is not set 985# CONFIG_DEBUG_KERNEL_WITH_GDB_STUB is not set
808CONFIG_SH64_PROC_TLB=y 986CONFIG_SH64_PROC_TLB=y
@@ -824,14 +1002,12 @@ CONFIG_SH64_SR_WATCH=y
824# CONFIG_CRYPTO is not set 1002# CONFIG_CRYPTO is not set
825 1003
826# 1004#
827# Hardware crypto devices
828#
829
830#
831# Library routines 1005# Library routines
832# 1006#
833# CONFIG_CRC_CCITT is not set 1007# CONFIG_CRC_CCITT is not set
1008# CONFIG_CRC16 is not set
834CONFIG_CRC32=y 1009CONFIG_CRC32=y
835# CONFIG_LIBCRC32C is not set 1010# CONFIG_LIBCRC32C is not set
1011CONFIG_PLIST=y
836CONFIG_GENERIC_HARDIRQS=y 1012CONFIG_GENERIC_HARDIRQS=y
837CONFIG_GENERIC_IRQ_PROBE=y 1013CONFIG_GENERIC_IRQ_PROBE=y
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index db475b7833fb..525d0ec19b78 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -20,261 +20,16 @@
20/* 20/*
21 * This file handles the architecture-dependent parts of process handling.. 21 * This file handles the architecture-dependent parts of process handling..
22 */ 22 */
23
24/* Temporary flags/tests. All to be removed/undefined. BEGIN */
25#define IDLE_TRACE
26#define VM_SHOW_TABLES
27#define VM_TEST_FAULT
28#define VM_TEST_RTLBMISS
29#define VM_TEST_WTLBMISS
30
31#undef VM_SHOW_TABLES
32#undef IDLE_TRACE
33/* Temporary flags/tests. All to be removed/undefined. END */
34
35#define __KERNEL_SYSCALLS__
36#include <stdarg.h>
37
38#include <linux/kernel.h>
39#include <linux/rwsem.h>
40#include <linux/mm.h> 23#include <linux/mm.h>
41#include <linux/smp.h>
42#include <linux/smp_lock.h>
43#include <linux/ptrace.h> 24#include <linux/ptrace.h>
44#include <linux/slab.h>
45#include <linux/vmalloc.h>
46#include <linux/user.h>
47#include <linux/a.out.h>
48#include <linux/interrupt.h>
49#include <linux/unistd.h>
50#include <linux/delay.h>
51#include <linux/reboot.h> 25#include <linux/reboot.h>
52#include <linux/init.h> 26#include <linux/init.h>
53 27#include <linux/module.h>
54#include <asm/uaccess.h> 28#include <asm/uaccess.h>
55#include <asm/pgtable.h> 29#include <asm/pgtable.h>
56#include <asm/system.h>
57#include <asm/io.h>
58#include <asm/processor.h> /* includes also <asm/registers.h> */
59#include <asm/mmu_context.h>
60#include <asm/elf.h>
61#include <asm/page.h>
62
63#include <linux/irq.h>
64 30
65struct task_struct *last_task_used_math = NULL; 31struct task_struct *last_task_used_math = NULL;
66 32
67#ifdef IDLE_TRACE
68#ifdef VM_SHOW_TABLES
69/* For testing */
70static void print_PTE(long base)
71{
72 int i, skip=0;
73 long long x, y, *p = (long long *) base;
74
75 for (i=0; i< 512; i++, p++){
76 if (*p == 0) {
77 if (!skip) {
78 skip++;
79 printk("(0s) ");
80 }
81 } else {
82 skip=0;
83 x = (*p) >> 32;
84 y = (*p) & 0xffffffff;
85 printk("%08Lx%08Lx ", x, y);
86 if (!((i+1)&0x3)) printk("\n");
87 }
88 }
89}
90
91/* For testing */
92static void print_DIR(long base)
93{
94 int i, skip=0;
95 long *p = (long *) base;
96
97 for (i=0; i< 512; i++, p++){
98 if (*p == 0) {
99 if (!skip) {
100 skip++;
101 printk("(0s) ");
102 }
103 } else {
104 skip=0;
105 printk("%08lx ", *p);
106 if (!((i+1)&0x7)) printk("\n");
107 }
108 }
109}
110
111/* For testing */
112static void print_vmalloc_first_tables(void)
113{
114
115#define PRESENT 0x800 /* Bit 11 */
116
117 /*
118 * Do it really dirty by looking at raw addresses,
119 * raw offsets, no types. If we used pgtable/pgalloc
120 * macros/definitions we could hide potential bugs.
121 *
122 * Note that pointers are 32-bit for CDC.
123 */
124 long pgdt, pmdt, ptet;
125
126 pgdt = (long) &swapper_pg_dir;
127 printk("-->PGD (0x%08lx):\n", pgdt);
128 print_DIR(pgdt);
129 printk("\n");
130
131 /* VMALLOC pool is mapped at 0xc0000000, second (pointer) entry in PGD */
132 pgdt += 4;
133 pmdt = (long) (* (long *) pgdt);
134 if (!(pmdt & PRESENT)) {
135 printk("No PMD\n");
136 return;
137 } else pmdt &= 0xfffff000;
138
139 printk("-->PMD (0x%08lx):\n", pmdt);
140 print_DIR(pmdt);
141 printk("\n");
142
143 /* Get the pmdt displacement for 0xc0000000 */
144 pmdt += 2048;
145
146 /* just look at first two address ranges ... */
147 /* ... 0xc0000000 ... */
148 ptet = (long) (* (long *) pmdt);
149 if (!(ptet & PRESENT)) {
150 printk("No PTE0\n");
151 return;
152 } else ptet &= 0xfffff000;
153
154 printk("-->PTE0 (0x%08lx):\n", ptet);
155 print_PTE(ptet);
156 printk("\n");
157
158 /* ... 0xc0001000 ... */
159 ptet += 4;
160 if (!(ptet & PRESENT)) {
161 printk("No PTE1\n");
162 return;
163 } else ptet &= 0xfffff000;
164 printk("-->PTE1 (0x%08lx):\n", ptet);
165 print_PTE(ptet);
166 printk("\n");
167}
168#else
169#define print_vmalloc_first_tables()
170#endif /* VM_SHOW_TABLES */
171
172static void test_VM(void)
173{
174 void *a, *b, *c;
175
176#ifdef VM_SHOW_TABLES
177 printk("Initial PGD/PMD/PTE\n");
178#endif
179 print_vmalloc_first_tables();
180
181 printk("Allocating 2 bytes\n");
182 a = vmalloc(2);
183 print_vmalloc_first_tables();
184
185 printk("Allocating 4100 bytes\n");
186 b = vmalloc(4100);
187 print_vmalloc_first_tables();
188
189 printk("Allocating 20234 bytes\n");
190 c = vmalloc(20234);
191 print_vmalloc_first_tables();
192
193#ifdef VM_TEST_FAULT
194 /* Here you may want to fault ! */
195
196#ifdef VM_TEST_RTLBMISS
197 printk("Ready to fault upon read.\n");
198 if (* (char *) a) {
199 printk("RTLBMISSed on area a !\n");
200 }
201 printk("RTLBMISSed on area a !\n");
202#endif
203
204#ifdef VM_TEST_WTLBMISS
205 printk("Ready to fault upon write.\n");
206 *((char *) b) = 'L';
207 printk("WTLBMISSed on area b !\n");
208#endif
209
210#endif /* VM_TEST_FAULT */
211
212 printk("Deallocating the 4100 byte chunk\n");
213 vfree(b);
214 print_vmalloc_first_tables();
215
216 printk("Deallocating the 2 byte chunk\n");
217 vfree(a);
218 print_vmalloc_first_tables();
219
220 printk("Deallocating the last chunk\n");
221 vfree(c);
222 print_vmalloc_first_tables();
223}
224
225extern unsigned long volatile jiffies;
226int once = 0;
227unsigned long old_jiffies;
228int pid = -1, pgid = -1;
229
230void idle_trace(void)
231{
232
233 _syscall0(int, getpid)
234 _syscall1(int, getpgid, int, pid)
235
236 if (!once) {
237 /* VM allocation/deallocation simple test */
238 test_VM();
239 pid = getpid();
240
241 printk("Got all through to Idle !!\n");
242 printk("I'm now going to loop forever ...\n");
243 printk("Any ! below is a timer tick.\n");
244 printk("Any . below is a getpgid system call from pid = %d.\n", pid);
245
246
247 old_jiffies = jiffies;
248 once++;
249 }
250
251 if (old_jiffies != jiffies) {
252 old_jiffies = jiffies - old_jiffies;
253 switch (old_jiffies) {
254 case 1:
255 printk("!");
256 break;
257 case 2:
258 printk("!!");
259 break;
260 case 3:
261 printk("!!!");
262 break;
263 case 4:
264 printk("!!!!");
265 break;
266 default:
267 printk("(%d!)", (int) old_jiffies);
268 }
269 old_jiffies = jiffies;
270 }
271 pgid = getpgid(pid);
272 printk(".");
273}
274#else
275#define idle_trace() do { } while (0)
276#endif /* IDLE_TRACE */
277
278static int hlt_counter = 1; 33static int hlt_counter = 1;
279 34
280#define HARD_IDLE_TIMEOUT (HZ / 3) 35#define HARD_IDLE_TIMEOUT (HZ / 3)
@@ -323,7 +78,6 @@ void cpu_idle(void)
323 local_irq_disable(); 78 local_irq_disable();
324 while (!need_resched()) { 79 while (!need_resched()) {
325 local_irq_enable(); 80 local_irq_enable();
326 idle_trace();
327 hlt(); 81 hlt();
328 local_irq_disable(); 82 local_irq_disable();
329 } 83 }
@@ -622,6 +376,10 @@ void free_task_struct(struct task_struct *p)
622/* 376/*
623 * Create a kernel thread 377 * Create a kernel thread
624 */ 378 */
379ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
380{
381 do_exit(fn(arg));
382}
625 383
626/* 384/*
627 * This is the mechanism for creating a new kernel thread. 385 * This is the mechanism for creating a new kernel thread.
@@ -633,19 +391,17 @@ void free_task_struct(struct task_struct *p)
633 */ 391 */
634int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) 392int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
635{ 393{
636 /* A bit less processor dependent than older sh ... */ 394 struct pt_regs regs;
637 unsigned int reply;
638 395
639static __inline__ _syscall2(int,clone,unsigned long,flags,unsigned long,newsp) 396 memset(&regs, 0, sizeof(regs));
640static __inline__ _syscall1(int,exit,int,ret) 397 regs.regs[2] = (unsigned long)arg;
398 regs.regs[3] = (unsigned long)fn;
641 399
642 reply = clone(flags | CLONE_VM, 0); 400 regs.pc = (unsigned long)kernel_thread_helper;
643 if (!reply) { 401 regs.sr = (1 << 30);
644 /* Child */
645 reply = exit(fn(arg));
646 }
647 402
648 return reply; 403 return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
404 &regs, 0, NULL, NULL);
649} 405}
650 406
651/* 407/*
diff --git a/arch/sh64/kernel/sys_sh64.c b/arch/sh64/kernel/sys_sh64.c
index 58ff7d522d81..ad0fa4e003e7 100644
--- a/arch/sh64/kernel/sys_sh64.c
+++ b/arch/sh64/kernel/sys_sh64.c
@@ -32,6 +32,7 @@
32#include <asm/uaccess.h> 32#include <asm/uaccess.h>
33#include <asm/ipc.h> 33#include <asm/ipc.h>
34#include <asm/ptrace.h> 34#include <asm/ptrace.h>
35#include <asm/unistd.h>
35 36
36#define REG_3 3 37#define REG_3 3
37 38
@@ -279,7 +280,25 @@ asmlinkage int sys_uname(struct old_utsname * name)
279 if (!name) 280 if (!name)
280 return -EFAULT; 281 return -EFAULT;
281 down_read(&uts_sem); 282 down_read(&uts_sem);
282 err=copy_to_user(name, &system_utsname, sizeof (*name)); 283 err = copy_to_user(name, utsname(), sizeof (*name));
283 up_read(&uts_sem); 284 up_read(&uts_sem);
284 return err?-EFAULT:0; 285 return err?-EFAULT:0;
285} 286}
287
288/*
289 * Do a system call from kernel instead of calling sys_execve so we
290 * end up with proper pt_regs.
291 */
292int kernel_execve(const char *filename, char *const argv[], char *const envp[])
293{
294 register unsigned long __sc0 __asm__ ("r9") = ((0x13 << 16) | __NR_execve);
295 register unsigned long __sc2 __asm__ ("r2") = (unsigned long) filename;
296 register unsigned long __sc3 __asm__ ("r3") = (unsigned long) argv;
297 register unsigned long __sc4 __asm__ ("r4") = (unsigned long) envp;
298 __asm__ __volatile__ ("trapa %1 !\t\t\t execve(%2,%3,%4)"
299 : "=r" (__sc0)
300 : "r" (__sc0), "r" (__sc2), "r" (__sc3), "r" (__sc4) );
301 __asm__ __volatile__ ("!dummy %0 %1 %2 %3"
302 : : "r" (__sc0), "r" (__sc2), "r" (__sc3), "r" (__sc4) : "memory");
303 return __sc0;
304}
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c
index 3b61e06f9d72..9c4a38a8698c 100644
--- a/arch/sh64/kernel/time.c
+++ b/arch/sh64/kernel/time.c
@@ -107,8 +107,6 @@
107 107
108#define TICK_SIZE (tick_nsec / 1000) 108#define TICK_SIZE (tick_nsec / 1000)
109 109
110extern unsigned long wall_jiffies;
111
112static unsigned long tmu_base, rtc_base; 110static unsigned long tmu_base, rtc_base;
113unsigned long cprc_base; 111unsigned long cprc_base;
114 112
@@ -194,13 +192,6 @@ void do_gettimeofday(struct timeval *tv)
194 do { 192 do {
195 seq = read_seqbegin_irqsave(&xtime_lock, flags); 193 seq = read_seqbegin_irqsave(&xtime_lock, flags);
196 usec = usecs_since_tick(); 194 usec = usecs_since_tick();
197 {
198 unsigned long lost = jiffies - wall_jiffies;
199
200 if (lost)
201 usec += lost * (1000000 / HZ);
202 }
203
204 sec = xtime.tv_sec; 195 sec = xtime.tv_sec;
205 usec += xtime.tv_nsec / 1000; 196 usec += xtime.tv_nsec / 1000;
206 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 197 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -229,8 +220,7 @@ int do_settimeofday(struct timespec *tv)
229 * wall time. Discover what correction gettimeofday() would have 220 * wall time. Discover what correction gettimeofday() would have
230 * made, and then undo it! 221 * made, and then undo it!
231 */ 222 */
232 nsec -= 1000 * (usecs_since_tick() + 223 nsec -= 1000 * usecs_since_tick();
233 (jiffies - wall_jiffies) * (1000000 / HZ));
234 224
235 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 225 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
236 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 226 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c
index e19b1bad9bc5..edb6cc665f56 100644
--- a/arch/sparc/kernel/pcic.c
+++ b/arch/sparc/kernel/pcic.c
@@ -765,8 +765,6 @@ static __inline__ unsigned long do_gettimeoffset(void)
765 return count; 765 return count;
766} 766}
767 767
768extern unsigned long wall_jiffies;
769
770static void pci_do_gettimeofday(struct timeval *tv) 768static void pci_do_gettimeofday(struct timeval *tv)
771{ 769{
772 unsigned long flags; 770 unsigned long flags;
@@ -775,26 +773,17 @@ static void pci_do_gettimeofday(struct timeval *tv)
775 unsigned long max_ntp_tick = tick_usec - tickadj; 773 unsigned long max_ntp_tick = tick_usec - tickadj;
776 774
777 do { 775 do {
778 unsigned long lost;
779
780 seq = read_seqbegin_irqsave(&xtime_lock, flags); 776 seq = read_seqbegin_irqsave(&xtime_lock, flags);
781 usec = do_gettimeoffset(); 777 usec = do_gettimeoffset();
782 lost = jiffies - wall_jiffies;
783 778
784 /* 779 /*
785 * If time_adjust is negative then NTP is slowing the clock 780 * If time_adjust is negative then NTP is slowing the clock
786 * so make sure not to go into next possible interval. 781 * so make sure not to go into next possible interval.
787 * Better to lose some accuracy than have time go backwards.. 782 * Better to lose some accuracy than have time go backwards..
788 */ 783 */
789 if (unlikely(time_adjust < 0)) { 784 if (unlikely(time_adjust < 0))
790 usec = min(usec, max_ntp_tick); 785 usec = min(usec, max_ntp_tick);
791 786
792 if (lost)
793 usec += lost * max_ntp_tick;
794 }
795 else if (unlikely(lost))
796 usec += lost * tick_usec;
797
798 sec = xtime.tv_sec; 787 sec = xtime.tv_sec;
799 usec += (xtime.tv_nsec / 1000); 788 usec += (xtime.tv_nsec / 1000);
800 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 789 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -819,8 +808,7 @@ static int pci_do_settimeofday(struct timespec *tv)
819 * wall time. Discover what correction gettimeofday() would have 808 * wall time. Discover what correction gettimeofday() would have
820 * made, and then undo it! 809 * made, and then undo it!
821 */ 810 */
822 tv->tv_nsec -= 1000 * (do_gettimeoffset() + 811 tv->tv_nsec -= 1000 * do_gettimeoffset();
823 (jiffies - wall_jiffies) * (USEC_PER_SEC / HZ));
824 while (tv->tv_nsec < 0) { 812 while (tv->tv_nsec < 0) {
825 tv->tv_nsec += NSEC_PER_SEC; 813 tv->tv_nsec += NSEC_PER_SEC;
826 tv->tv_sec--; 814 tv->tv_sec--;
diff --git a/arch/sparc/kernel/sys_sparc.c b/arch/sparc/kernel/sys_sparc.c
index 896863fb208a..a954a0c00000 100644
--- a/arch/sparc/kernel/sys_sparc.c
+++ b/arch/sparc/kernel/sys_sparc.c
@@ -24,6 +24,7 @@
24 24
25#include <asm/uaccess.h> 25#include <asm/uaccess.h>
26#include <asm/ipc.h> 26#include <asm/ipc.h>
27#include <asm/unistd.h>
27 28
28/* #define DEBUG_UNIMP_SYSCALL */ 29/* #define DEBUG_UNIMP_SYSCALL */
29 30
@@ -475,16 +476,38 @@ asmlinkage int sys_getdomainname(char __user *name, int len)
475 476
476 down_read(&uts_sem); 477 down_read(&uts_sem);
477 478
478 nlen = strlen(system_utsname.domainname) + 1; 479 nlen = strlen(utsname()->domainname) + 1;
479 err = -EINVAL; 480 err = -EINVAL;
480 if (nlen > len) 481 if (nlen > len)
481 goto out; 482 goto out;
482 483
483 err = -EFAULT; 484 err = -EFAULT;
484 if (!copy_to_user(name, system_utsname.domainname, nlen)) 485 if (!copy_to_user(name, utsname()->domainname, nlen))
485 err = 0; 486 err = 0;
486 487
487out: 488out:
488 up_read(&uts_sem); 489 up_read(&uts_sem);
489 return err; 490 return err;
490} 491}
492
493/*
494 * Do a system call from kernel instead of calling sys_execve so we
495 * end up with proper pt_regs.
496 */
497int kernel_execve(const char *filename, char *const argv[], char *const envp[])
498{
499 long __res;
500 register long __g1 __asm__ ("g1") = __NR_execve;
501 register long __o0 __asm__ ("o0") = (long)(filename);
502 register long __o1 __asm__ ("o1") = (long)(argv);
503 register long __o2 __asm__ ("o2") = (long)(envp);
504 asm volatile ("t 0x10\n\t"
505 "bcc 1f\n\t"
506 "mov %%o0, %0\n\t"
507 "sub %%g0, %%o0, %0\n\t"
508 "1:\n\t"
509 : "=r" (__res), "=&r" (__o0)
510 : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1)
511 : "cc");
512 return __res;
513}
diff --git a/arch/sparc/kernel/sys_sunos.c b/arch/sparc/kernel/sys_sunos.c
index aa0fb2efb615..6f3ac548ee66 100644
--- a/arch/sparc/kernel/sys_sunos.c
+++ b/arch/sparc/kernel/sys_sunos.c
@@ -325,21 +325,25 @@ struct sunos_dirent_callback {
325#define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) 325#define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1))
326 326
327static int sunos_filldir(void * __buf, const char * name, int namlen, 327static int sunos_filldir(void * __buf, const char * name, int namlen,
328 loff_t offset, ino_t ino, unsigned int d_type) 328 loff_t offset, u64 ino, unsigned int d_type)
329{ 329{
330 struct sunos_dirent __user *dirent; 330 struct sunos_dirent __user *dirent;
331 struct sunos_dirent_callback * buf = __buf; 331 struct sunos_dirent_callback * buf = __buf;
332 unsigned long d_ino;
332 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 333 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1);
333 334
334 buf->error = -EINVAL; /* only used if we fail.. */ 335 buf->error = -EINVAL; /* only used if we fail.. */
335 if (reclen > buf->count) 336 if (reclen > buf->count)
336 return -EINVAL; 337 return -EINVAL;
338 d_ino = ino;
339 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
340 return -EOVERFLOW;
337 dirent = buf->previous; 341 dirent = buf->previous;
338 if (dirent) 342 if (dirent)
339 put_user(offset, &dirent->d_off); 343 put_user(offset, &dirent->d_off);
340 dirent = buf->curr; 344 dirent = buf->curr;
341 buf->previous = dirent; 345 buf->previous = dirent;
342 put_user(ino, &dirent->d_ino); 346 put_user(d_ino, &dirent->d_ino);
343 put_user(namlen, &dirent->d_namlen); 347 put_user(namlen, &dirent->d_namlen);
344 put_user(reclen, &dirent->d_reclen); 348 put_user(reclen, &dirent->d_reclen);
345 copy_to_user(dirent->d_name, name, namlen); 349 copy_to_user(dirent->d_name, name, namlen);
@@ -406,19 +410,23 @@ struct sunos_direntry_callback {
406}; 410};
407 411
408static int sunos_filldirentry(void * __buf, const char * name, int namlen, 412static int sunos_filldirentry(void * __buf, const char * name, int namlen,
409 loff_t offset, ino_t ino, unsigned int d_type) 413 loff_t offset, u64 ino, unsigned int d_type)
410{ 414{
411 struct sunos_direntry __user *dirent; 415 struct sunos_direntry __user *dirent;
412 struct sunos_direntry_callback *buf = __buf; 416 struct sunos_direntry_callback *buf = __buf;
417 unsigned long d_ino;
413 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 418 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1);
414 419
415 buf->error = -EINVAL; /* only used if we fail.. */ 420 buf->error = -EINVAL; /* only used if we fail.. */
416 if (reclen > buf->count) 421 if (reclen > buf->count)
417 return -EINVAL; 422 return -EINVAL;
423 d_ino = ino;
424 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
425 return -EOVERFLOW;
418 dirent = buf->previous; 426 dirent = buf->previous;
419 dirent = buf->curr; 427 dirent = buf->curr;
420 buf->previous = dirent; 428 buf->previous = dirent;
421 put_user(ino, &dirent->d_ino); 429 put_user(d_ino, &dirent->d_ino);
422 put_user(namlen, &dirent->d_namlen); 430 put_user(namlen, &dirent->d_namlen);
423 put_user(reclen, &dirent->d_reclen); 431 put_user(reclen, &dirent->d_reclen);
424 copy_to_user(dirent->d_name, name, namlen); 432 copy_to_user(dirent->d_name, name, namlen);
@@ -483,13 +491,18 @@ asmlinkage int sunos_uname(struct sunos_utsname __user *name)
483{ 491{
484 int ret; 492 int ret;
485 down_read(&uts_sem); 493 down_read(&uts_sem);
486 ret = copy_to_user(&name->sname[0], &system_utsname.sysname[0], sizeof(name->sname) - 1); 494 ret = copy_to_user(&name->sname[0], &utsname()->sysname[0],
495 sizeof(name->sname) - 1);
487 if (!ret) { 496 if (!ret) {
488 ret |= __copy_to_user(&name->nname[0], &system_utsname.nodename[0], sizeof(name->nname) - 1); 497 ret |= __copy_to_user(&name->nname[0], &utsname()->nodename[0],
498 sizeof(name->nname) - 1);
489 ret |= __put_user('\0', &name->nname[8]); 499 ret |= __put_user('\0', &name->nname[8]);
490 ret |= __copy_to_user(&name->rel[0], &system_utsname.release[0], sizeof(name->rel) - 1); 500 ret |= __copy_to_user(&name->rel[0], &utsname()->release[0],
491 ret |= __copy_to_user(&name->ver[0], &system_utsname.version[0], sizeof(name->ver) - 1); 501 sizeof(name->rel) - 1);
492 ret |= __copy_to_user(&name->mach[0], &system_utsname.machine[0], sizeof(name->mach) - 1); 502 ret |= __copy_to_user(&name->ver[0], &utsname()->version[0],
503 sizeof(name->ver) - 1);
504 ret |= __copy_to_user(&name->mach[0], &utsname()->machine[0],
505 sizeof(name->mach) - 1);
493 } 506 }
494 up_read(&uts_sem); 507 up_read(&uts_sem);
495 return ret ? -EFAULT : 0; 508 return ret ? -EFAULT : 0;
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c
index 6f84fa1b58e5..e10dc831944d 100644
--- a/arch/sparc/kernel/time.c
+++ b/arch/sparc/kernel/time.c
@@ -43,8 +43,6 @@
43#include <asm/pcic.h> 43#include <asm/pcic.h>
44#include <asm/of_device.h> 44#include <asm/of_device.h>
45 45
46extern unsigned long wall_jiffies;
47
48DEFINE_SPINLOCK(rtc_lock); 46DEFINE_SPINLOCK(rtc_lock);
49enum sparc_clock_type sp_clock_typ; 47enum sparc_clock_type sp_clock_typ;
50DEFINE_SPINLOCK(mostek_lock); 48DEFINE_SPINLOCK(mostek_lock);
@@ -449,7 +447,7 @@ unsigned long long sched_clock(void)
449 447
450/* Ok, my cute asm atomicity trick doesn't work anymore. 448/* Ok, my cute asm atomicity trick doesn't work anymore.
451 * There are just too many variables that need to be protected 449 * There are just too many variables that need to be protected
452 * now (both members of xtime, wall_jiffies, et al.) 450 * now (both members of xtime, et al.)
453 */ 451 */
454void do_gettimeofday(struct timeval *tv) 452void do_gettimeofday(struct timeval *tv)
455{ 453{
@@ -459,26 +457,17 @@ void do_gettimeofday(struct timeval *tv)
459 unsigned long max_ntp_tick = tick_usec - tickadj; 457 unsigned long max_ntp_tick = tick_usec - tickadj;
460 458
461 do { 459 do {
462 unsigned long lost;
463
464 seq = read_seqbegin_irqsave(&xtime_lock, flags); 460 seq = read_seqbegin_irqsave(&xtime_lock, flags);
465 usec = do_gettimeoffset(); 461 usec = do_gettimeoffset();
466 lost = jiffies - wall_jiffies;
467 462
468 /* 463 /*
469 * If time_adjust is negative then NTP is slowing the clock 464 * If time_adjust is negative then NTP is slowing the clock
470 * so make sure not to go into next possible interval. 465 * so make sure not to go into next possible interval.
471 * Better to lose some accuracy than have time go backwards.. 466 * Better to lose some accuracy than have time go backwards..
472 */ 467 */
473 if (unlikely(time_adjust < 0)) { 468 if (unlikely(time_adjust < 0))
474 usec = min(usec, max_ntp_tick); 469 usec = min(usec, max_ntp_tick);
475 470
476 if (lost)
477 usec += lost * max_ntp_tick;
478 }
479 else if (unlikely(lost))
480 usec += lost * tick_usec;
481
482 sec = xtime.tv_sec; 471 sec = xtime.tv_sec;
483 usec += (xtime.tv_nsec / 1000); 472 usec += (xtime.tv_nsec / 1000);
484 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 473 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
@@ -521,8 +510,7 @@ static int sbus_do_settimeofday(struct timespec *tv)
521 * wall time. Discover what correction gettimeofday() would have 510 * wall time. Discover what correction gettimeofday() would have
522 * made, and then undo it! 511 * made, and then undo it!
523 */ 512 */
524 nsec -= 1000 * (do_gettimeoffset() + 513 nsec -= 1000 * do_gettimeoffset();
525 (jiffies - wall_jiffies) * (USEC_PER_SEC / HZ));
526 514
527 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 515 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
528 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 516 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
index 8d8ca716f7a7..b627f8dbcaad 100644
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -420,7 +420,7 @@ source "arch/sparc64/oprofile/Kconfig"
420 420
421config KPROBES 421config KPROBES
422 bool "Kprobes (EXPERIMENTAL)" 422 bool "Kprobes (EXPERIMENTAL)"
423 depends on EXPERIMENTAL && MODULES 423 depends on KALLSYMS && EXPERIMENTAL && MODULES
424 help 424 help
425 Kprobes allows you to trap at almost any kernel address and 425 Kprobes allows you to trap at almost any kernel address and
426 execute a callback function. register_kprobe() establishes 426 execute a callback function. register_kprobe() establishes
diff --git a/arch/sparc64/defconfig b/arch/sparc64/defconfig
index 0fbdaa5daa8c..f54ab375464b 100644
--- a/arch/sparc64/defconfig
+++ b/arch/sparc64/defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18 3# Linux kernel version: 2.6.18
4# Tue Sep 26 23:09:35 2006 4# Mon Oct 2 14:24:40 2006
5# 5#
6CONFIG_SPARC=y 6CONFIG_SPARC=y
7CONFIG_SPARC64=y 7CONFIG_SPARC64=y
@@ -35,17 +35,20 @@ CONFIG_LOCALVERSION=""
35# CONFIG_LOCALVERSION_AUTO is not set 35# CONFIG_LOCALVERSION_AUTO is not set
36CONFIG_SWAP=y 36CONFIG_SWAP=y
37CONFIG_SYSVIPC=y 37CONFIG_SYSVIPC=y
38# CONFIG_IPC_NS is not set
38CONFIG_POSIX_MQUEUE=y 39CONFIG_POSIX_MQUEUE=y
39# CONFIG_BSD_PROCESS_ACCT is not set 40# CONFIG_BSD_PROCESS_ACCT is not set
40# CONFIG_TASKSTATS is not set 41# CONFIG_TASKSTATS is not set
42# CONFIG_UTS_NS is not set
41# CONFIG_AUDIT is not set 43# CONFIG_AUDIT is not set
42# CONFIG_IKCONFIG is not set 44# CONFIG_IKCONFIG is not set
43CONFIG_RELAY=y 45CONFIG_RELAY=y
44CONFIG_INITRAMFS_SOURCE="" 46CONFIG_INITRAMFS_SOURCE=""
45CONFIG_CC_OPTIMIZE_FOR_SIZE=y 47CONFIG_CC_OPTIMIZE_FOR_SIZE=y
48CONFIG_SYSCTL=y
46# CONFIG_EMBEDDED is not set 49# CONFIG_EMBEDDED is not set
47CONFIG_UID16=y 50CONFIG_UID16=y
48CONFIG_SYSCTL=y 51# CONFIG_SYSCTL_SYSCALL is not set
49CONFIG_KALLSYMS=y 52CONFIG_KALLSYMS=y
50# CONFIG_KALLSYMS_ALL is not set 53# CONFIG_KALLSYMS_ALL is not set
51# CONFIG_KALLSYMS_EXTRA_PASS is not set 54# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -77,6 +80,7 @@ CONFIG_KMOD=y
77# 80#
78# Block layer 81# Block layer
79# 82#
83CONFIG_BLOCK=y
80CONFIG_BLK_DEV_IO_TRACE=y 84CONFIG_BLK_DEV_IO_TRACE=y
81 85
82# 86#
@@ -154,7 +158,7 @@ CONFIG_BINFMT_ELF32=y
154# 158#
155CONFIG_BINFMT_ELF=y 159CONFIG_BINFMT_ELF=y
156CONFIG_BINFMT_MISC=m 160CONFIG_BINFMT_MISC=m
157# CONFIG_SOLARIS_EMUL is not set 161CONFIG_SOLARIS_EMUL=y
158# CONFIG_CMDLINE_BOOL is not set 162# CONFIG_CMDLINE_BOOL is not set
159 163
160# 164#
@@ -622,6 +626,7 @@ CONFIG_BNX2=m
622# Input device support 626# Input device support
623# 627#
624CONFIG_INPUT=y 628CONFIG_INPUT=y
629# CONFIG_INPUT_FF_MEMLESS is not set
625 630
626# 631#
627# Userland interfaces 632# Userland interfaces
@@ -644,6 +649,7 @@ CONFIG_KEYBOARD_SUNKBD=y
644CONFIG_KEYBOARD_LKKBD=m 649CONFIG_KEYBOARD_LKKBD=m
645# CONFIG_KEYBOARD_XTKBD is not set 650# CONFIG_KEYBOARD_XTKBD is not set
646# CONFIG_KEYBOARD_NEWTON is not set 651# CONFIG_KEYBOARD_NEWTON is not set
652# CONFIG_KEYBOARD_STOWAWAY is not set
647CONFIG_INPUT_MOUSE=y 653CONFIG_INPUT_MOUSE=y
648CONFIG_MOUSE_PS2=y 654CONFIG_MOUSE_PS2=y
649CONFIG_MOUSE_SERIAL=y 655CONFIG_MOUSE_SERIAL=y
@@ -821,6 +827,7 @@ CONFIG_HWMON=y
821# CONFIG_SENSORS_SMSC47M192 is not set 827# CONFIG_SENSORS_SMSC47M192 is not set
822# CONFIG_SENSORS_SMSC47B397 is not set 828# CONFIG_SENSORS_SMSC47B397 is not set
823# CONFIG_SENSORS_VIA686A is not set 829# CONFIG_SENSORS_VIA686A is not set
830# CONFIG_SENSORS_VT1211 is not set
824# CONFIG_SENSORS_VT8231 is not set 831# CONFIG_SENSORS_VT8231 is not set
825# CONFIG_SENSORS_W83781D is not set 832# CONFIG_SENSORS_W83781D is not set
826# CONFIG_SENSORS_W83791D is not set 833# CONFIG_SENSORS_W83791D is not set
@@ -1092,6 +1099,7 @@ CONFIG_USB_HIDDEV=y
1092# CONFIG_USB_ATI_REMOTE2 is not set 1099# CONFIG_USB_ATI_REMOTE2 is not set
1093# CONFIG_USB_KEYSPAN_REMOTE is not set 1100# CONFIG_USB_KEYSPAN_REMOTE is not set
1094# CONFIG_USB_APPLETOUCH is not set 1101# CONFIG_USB_APPLETOUCH is not set
1102# CONFIG_USB_TRANCEVIBRATOR is not set
1095 1103
1096# 1104#
1097# USB Imaging devices 1105# USB Imaging devices
@@ -1123,6 +1131,7 @@ CONFIG_USB_HIDDEV=y
1123# 1131#
1124# CONFIG_USB_EMI62 is not set 1132# CONFIG_USB_EMI62 is not set
1125# CONFIG_USB_EMI26 is not set 1133# CONFIG_USB_EMI26 is not set
1134# CONFIG_USB_ADUTUX is not set
1126# CONFIG_USB_AUERSWALD is not set 1135# CONFIG_USB_AUERSWALD is not set
1127# CONFIG_USB_RIO500 is not set 1136# CONFIG_USB_RIO500 is not set
1128# CONFIG_USB_LEGOTOWER is not set 1137# CONFIG_USB_LEGOTOWER is not set
@@ -1130,9 +1139,9 @@ CONFIG_USB_HIDDEV=y
1130# CONFIG_USB_LED is not set 1139# CONFIG_USB_LED is not set
1131# CONFIG_USB_CYPRESS_CY7C63 is not set 1140# CONFIG_USB_CYPRESS_CY7C63 is not set
1132# CONFIG_USB_CYTHERM is not set 1141# CONFIG_USB_CYTHERM is not set
1133# CONFIG_USB_PHIDGETKIT is not set 1142# CONFIG_USB_PHIDGET is not set
1134# CONFIG_USB_PHIDGETSERVO is not set
1135# CONFIG_USB_IDMOUSE is not set 1143# CONFIG_USB_IDMOUSE is not set
1144# CONFIG_USB_FTDI_ELAN is not set
1136# CONFIG_USB_APPLEDISPLAY is not set 1145# CONFIG_USB_APPLEDISPLAY is not set
1137# CONFIG_USB_SISUSBVGA is not set 1146# CONFIG_USB_SISUSBVGA is not set
1138# CONFIG_USB_LD is not set 1147# CONFIG_USB_LD is not set
@@ -1256,8 +1265,10 @@ CONFIG_DNOTIFY=y
1256# 1265#
1257CONFIG_PROC_FS=y 1266CONFIG_PROC_FS=y
1258CONFIG_PROC_KCORE=y 1267CONFIG_PROC_KCORE=y
1268CONFIG_PROC_SYSCTL=y
1259CONFIG_SYSFS=y 1269CONFIG_SYSFS=y
1260CONFIG_TMPFS=y 1270CONFIG_TMPFS=y
1271# CONFIG_TMPFS_POSIX_ACL is not set
1261CONFIG_HUGETLBFS=y 1272CONFIG_HUGETLBFS=y
1262CONFIG_HUGETLB_PAGE=y 1273CONFIG_HUGETLB_PAGE=y
1263CONFIG_RAMFS=y 1274CONFIG_RAMFS=y
@@ -1374,9 +1385,11 @@ CONFIG_DEBUG_BUGVERBOSE=y
1374# CONFIG_DEBUG_INFO is not set 1385# CONFIG_DEBUG_INFO is not set
1375CONFIG_DEBUG_FS=y 1386CONFIG_DEBUG_FS=y
1376# CONFIG_DEBUG_VM is not set 1387# CONFIG_DEBUG_VM is not set
1388# CONFIG_DEBUG_LIST is not set
1377# CONFIG_UNWIND_INFO is not set 1389# CONFIG_UNWIND_INFO is not set
1378CONFIG_FORCED_INLINING=y 1390CONFIG_FORCED_INLINING=y
1379# CONFIG_RCU_TORTURE_TEST is not set 1391# CONFIG_RCU_TORTURE_TEST is not set
1392# CONFIG_LKDTM is not set
1380# CONFIG_DEBUG_STACK_USAGE is not set 1393# CONFIG_DEBUG_STACK_USAGE is not set
1381# CONFIG_DEBUG_DCFLUSH is not set 1394# CONFIG_DEBUG_DCFLUSH is not set
1382# CONFIG_STACK_DEBUG is not set 1395# CONFIG_STACK_DEBUG is not set
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c
index e55466c77b61..0b9c70627ce4 100644
--- a/arch/sparc64/kernel/power.c
+++ b/arch/sparc64/kernel/power.c
@@ -4,8 +4,6 @@
4 * Copyright (C) 1999 David S. Miller (davem@redhat.com) 4 * Copyright (C) 1999 David S. Miller (davem@redhat.com)
5 */ 5 */
6 6
7#define __KERNEL_SYSCALLS__
8
9#include <linux/kernel.h> 7#include <linux/kernel.h>
10#include <linux/module.h> 8#include <linux/module.h>
11#include <linux/init.h> 9#include <linux/init.h>
@@ -14,6 +12,7 @@
14#include <linux/delay.h> 12#include <linux/delay.h>
15#include <linux/interrupt.h> 13#include <linux/interrupt.h>
16#include <linux/pm.h> 14#include <linux/pm.h>
15#include <linux/syscalls.h>
17 16
18#include <asm/system.h> 17#include <asm/system.h>
19#include <asm/auxio.h> 18#include <asm/auxio.h>
@@ -98,7 +97,7 @@ again:
98 97
99 /* Ok, down we go... */ 98 /* Ok, down we go... */
100 button_pressed = 0; 99 button_pressed = 0;
101 if (execve("/sbin/shutdown", argv, envp) < 0) { 100 if (kernel_execve("/sbin/shutdown", argv, envp) < 0) {
102 printk("powerd: shutdown execution failed\n"); 101 printk("powerd: shutdown execution failed\n");
103 add_wait_queue(&powerd_wait, &wait); 102 add_wait_queue(&powerd_wait, &wait);
104 goto again; 103 goto again;
diff --git a/arch/sparc64/kernel/signal32.c b/arch/sparc64/kernel/signal32.c
index 708ba9b42cda..c45f21b881d5 100644
--- a/arch/sparc64/kernel/signal32.c
+++ b/arch/sparc64/kernel/signal32.c
@@ -29,6 +29,7 @@
29#include <asm/psrcompat.h> 29#include <asm/psrcompat.h>
30#include <asm/fpumacro.h> 30#include <asm/fpumacro.h>
31#include <asm/visasm.h> 31#include <asm/visasm.h>
32#include <asm/compat_signal.h>
32 33
33#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) 34#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
34 35
diff --git a/arch/sparc64/kernel/sys_sparc.c b/arch/sparc64/kernel/sys_sparc.c
index c608c947e6c3..a53d4abb4b49 100644
--- a/arch/sparc64/kernel/sys_sparc.c
+++ b/arch/sparc64/kernel/sys_sparc.c
@@ -31,6 +31,7 @@
31#include <asm/utrap.h> 31#include <asm/utrap.h>
32#include <asm/perfctr.h> 32#include <asm/perfctr.h>
33#include <asm/a.out.h> 33#include <asm/a.out.h>
34#include <asm/unistd.h>
34 35
35/* #define DEBUG_UNIMP_SYSCALL */ 36/* #define DEBUG_UNIMP_SYSCALL */
36 37
@@ -712,13 +713,13 @@ asmlinkage long sys_getdomainname(char __user *name, int len)
712 713
713 down_read(&uts_sem); 714 down_read(&uts_sem);
714 715
715 nlen = strlen(system_utsname.domainname) + 1; 716 nlen = strlen(utsname()->domainname) + 1;
716 err = -EINVAL; 717 err = -EINVAL;
717 if (nlen > len) 718 if (nlen > len)
718 goto out; 719 goto out;
719 720
720 err = -EFAULT; 721 err = -EFAULT;
721 if (!copy_to_user(name, system_utsname.domainname, nlen)) 722 if (!copy_to_user(name, utsname()->domainname, nlen))
722 err = 0; 723 err = 0;
723 724
724out: 725out:
@@ -963,3 +964,23 @@ asmlinkage long sys_perfctr(int opcode, unsigned long arg0, unsigned long arg1,
963 }; 964 };
964 return err; 965 return err;
965} 966}
967
968/*
969 * Do a system call from kernel instead of calling sys_execve so we
970 * end up with proper pt_regs.
971 */
972int kernel_execve(const char *filename, char *const argv[], char *const envp[])
973{
974 long __res;
975 register long __g1 __asm__ ("g1") = __NR_execve;
976 register long __o0 __asm__ ("o0") = (long)(filename);
977 register long __o1 __asm__ ("o1") = (long)(argv);
978 register long __o2 __asm__ ("o2") = (long)(envp);
979 asm volatile ("t 0x6d\n\t"
980 "sub %%g0, %%o0, %0\n\t"
981 "movcc %%xcc, %%o0, %0\n\t"
982 : "=r" (__res), "=&r" (__o0)
983 : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1)
984 : "cc");
985 return __res;
986}
diff --git a/arch/sparc64/kernel/sys_sparc32.c b/arch/sparc64/kernel/sys_sparc32.c
index 69444f266e2d..e27cb71bd8e2 100644
--- a/arch/sparc64/kernel/sys_sparc32.c
+++ b/arch/sparc64/kernel/sys_sparc32.c
@@ -61,6 +61,7 @@
61#include <asm/semaphore.h> 61#include <asm/semaphore.h>
62#include <asm/mmu_context.h> 62#include <asm/mmu_context.h>
63#include <asm/a.out.h> 63#include <asm/a.out.h>
64#include <asm/compat_signal.h>
64 65
65asmlinkage long sys32_chown16(const char __user * filename, u16 user, u16 group) 66asmlinkage long sys32_chown16(const char __user * filename, u16 user, u16 group)
66{ 67{
@@ -337,12 +338,17 @@ asmlinkage long sys32_ftruncate64(unsigned int fd, unsigned long high, unsigned
337 338
338int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) 339int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf)
339{ 340{
341 compat_ino_t ino;
340 int err; 342 int err;
341 343
342 if (stat->size > MAX_NON_LFS || !old_valid_dev(stat->dev) || 344 if (stat->size > MAX_NON_LFS || !old_valid_dev(stat->dev) ||
343 !old_valid_dev(stat->rdev)) 345 !old_valid_dev(stat->rdev))
344 return -EOVERFLOW; 346 return -EOVERFLOW;
345 347
348 ino = stat->ino;
349 if (sizeof(ino) < sizeof(stat->ino) && ino != stat->ino)
350 return -EOVERFLOW;
351
346 err = put_user(old_encode_dev(stat->dev), &statbuf->st_dev); 352 err = put_user(old_encode_dev(stat->dev), &statbuf->st_dev);
347 err |= put_user(stat->ino, &statbuf->st_ino); 353 err |= put_user(stat->ino, &statbuf->st_ino);
348 err |= put_user(stat->mode, &statbuf->st_mode); 354 err |= put_user(stat->mode, &statbuf->st_mode);
diff --git a/arch/sparc64/kernel/sys_sunos32.c b/arch/sparc64/kernel/sys_sunos32.c
index 87ebdf858a3a..7da72d3b322a 100644
--- a/arch/sparc64/kernel/sys_sunos32.c
+++ b/arch/sparc64/kernel/sys_sunos32.c
@@ -43,6 +43,7 @@
43#include <asm/idprom.h> /* for gethostid() */ 43#include <asm/idprom.h> /* for gethostid() */
44#include <asm/unistd.h> 44#include <asm/unistd.h>
45#include <asm/system.h> 45#include <asm/system.h>
46#include <asm/compat_signal.h>
46 47
47/* For the nfs mount emulation */ 48/* For the nfs mount emulation */
48#include <linux/socket.h> 49#include <linux/socket.h>
@@ -280,16 +281,20 @@ static int sunos_filldir(void * __buf, const char * name, int namlen,
280 struct sunos_dirent __user *dirent; 281 struct sunos_dirent __user *dirent;
281 struct sunos_dirent_callback * buf = (struct sunos_dirent_callback *) __buf; 282 struct sunos_dirent_callback * buf = (struct sunos_dirent_callback *) __buf;
282 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 283 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1);
284 u32 d_ino;
283 285
284 buf->error = -EINVAL; /* only used if we fail.. */ 286 buf->error = -EINVAL; /* only used if we fail.. */
285 if (reclen > buf->count) 287 if (reclen > buf->count)
286 return -EINVAL; 288 return -EINVAL;
289 d_ino = ino;
290 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
291 return -EOVERFLOW;
287 dirent = buf->previous; 292 dirent = buf->previous;
288 if (dirent) 293 if (dirent)
289 put_user(offset, &dirent->d_off); 294 put_user(offset, &dirent->d_off);
290 dirent = buf->curr; 295 dirent = buf->curr;
291 buf->previous = dirent; 296 buf->previous = dirent;
292 put_user(ino, &dirent->d_ino); 297 put_user(d_ino, &dirent->d_ino);
293 put_user(namlen, &dirent->d_namlen); 298 put_user(namlen, &dirent->d_namlen);
294 put_user(reclen, &dirent->d_reclen); 299 put_user(reclen, &dirent->d_reclen);
295 if (copy_to_user(dirent->d_name, name, namlen)) 300 if (copy_to_user(dirent->d_name, name, namlen))
@@ -363,14 +368,18 @@ static int sunos_filldirentry(void * __buf, const char * name, int namlen,
363 struct sunos_direntry_callback * buf = 368 struct sunos_direntry_callback * buf =
364 (struct sunos_direntry_callback *) __buf; 369 (struct sunos_direntry_callback *) __buf;
365 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 370 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1);
371 u32 d_ino;
366 372
367 buf->error = -EINVAL; /* only used if we fail.. */ 373 buf->error = -EINVAL; /* only used if we fail.. */
368 if (reclen > buf->count) 374 if (reclen > buf->count)
369 return -EINVAL; 375 return -EINVAL;
376 d_ino = ino;
377 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino)
378 return -EOVERFLOW;
370 dirent = buf->previous; 379 dirent = buf->previous;
371 dirent = buf->curr; 380 dirent = buf->curr;
372 buf->previous = dirent; 381 buf->previous = dirent;
373 put_user(ino, &dirent->d_ino); 382 put_user(d_ino, &dirent->d_ino);
374 put_user(namlen, &dirent->d_namlen); 383 put_user(namlen, &dirent->d_namlen);
375 put_user(reclen, &dirent->d_reclen); 384 put_user(reclen, &dirent->d_reclen);
376 if (copy_to_user(dirent->d_name, name, namlen)) 385 if (copy_to_user(dirent->d_name, name, namlen))
@@ -439,16 +448,16 @@ asmlinkage int sunos_uname(struct sunos_utsname __user *name)
439 int ret; 448 int ret;
440 449
441 down_read(&uts_sem); 450 down_read(&uts_sem);
442 ret = copy_to_user(&name->sname[0], &system_utsname.sysname[0], 451 ret = copy_to_user(&name->sname[0], &utsname()->sysname[0],
443 sizeof(name->sname) - 1); 452 sizeof(name->sname) - 1);
444 ret |= copy_to_user(&name->nname[0], &system_utsname.nodename[0], 453 ret |= copy_to_user(&name->nname[0], &utsname()->nodename[0],
445 sizeof(name->nname) - 1); 454 sizeof(name->nname) - 1);
446 ret |= put_user('\0', &name->nname[8]); 455 ret |= put_user('\0', &name->nname[8]);
447 ret |= copy_to_user(&name->rel[0], &system_utsname.release[0], 456 ret |= copy_to_user(&name->rel[0], &utsname()->release[0],
448 sizeof(name->rel) - 1); 457 sizeof(name->rel) - 1);
449 ret |= copy_to_user(&name->ver[0], &system_utsname.version[0], 458 ret |= copy_to_user(&name->ver[0], &utsname()->version[0],
450 sizeof(name->ver) - 1); 459 sizeof(name->ver) - 1);
451 ret |= copy_to_user(&name->mach[0], &system_utsname.machine[0], 460 ret |= copy_to_user(&name->mach[0], &utsname()->machine[0],
452 sizeof(name->mach) - 1); 461 sizeof(name->mach) - 1);
453 up_read(&uts_sem); 462 up_read(&uts_sem);
454 return (ret ? -EFAULT : 0); 463 return (ret ? -EFAULT : 0);
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c
index ca1193482f07..00f6fc4aaaff 100644
--- a/arch/sparc64/kernel/time.c
+++ b/arch/sparc64/kernel/time.c
@@ -53,8 +53,6 @@ void __iomem *mstk48t02_regs = NULL;
53unsigned long ds1287_regs = 0UL; 53unsigned long ds1287_regs = 0UL;
54#endif 54#endif
55 55
56extern unsigned long wall_jiffies;
57
58static void __iomem *mstk48t08_regs; 56static void __iomem *mstk48t08_regs;
59static void __iomem *mstk48t59_regs; 57static void __iomem *mstk48t59_regs;
60 58
diff --git a/arch/sparc64/solaris/fs.c b/arch/sparc64/solaris/fs.c
index 0f0eb6aa1c40..12a940cc791f 100644
--- a/arch/sparc64/solaris/fs.c
+++ b/arch/sparc64/solaris/fs.c
@@ -82,12 +82,17 @@ struct sol_stat64 {
82 82
83static inline int putstat(struct sol_stat __user *ubuf, struct kstat *kbuf) 83static inline int putstat(struct sol_stat __user *ubuf, struct kstat *kbuf)
84{ 84{
85 u32 ino;
86
85 if (kbuf->size > MAX_NON_LFS || 87 if (kbuf->size > MAX_NON_LFS ||
86 !sysv_valid_dev(kbuf->dev) || 88 !sysv_valid_dev(kbuf->dev) ||
87 !sysv_valid_dev(kbuf->rdev)) 89 !sysv_valid_dev(kbuf->rdev))
88 return -EOVERFLOW; 90 return -EOVERFLOW;
91 ino = kbuf->ino;
92 if (sizeof(ino) < sizeof(kbuf->ino) && ino != kbuf->ino)
93 return -EOVERFLOW;
89 if (put_user (sysv_encode_dev(kbuf->dev), &ubuf->st_dev) || 94 if (put_user (sysv_encode_dev(kbuf->dev), &ubuf->st_dev) ||
90 __put_user (kbuf->ino, &ubuf->st_ino) || 95 __put_user (ino, &ubuf->st_ino) ||
91 __put_user (kbuf->mode, &ubuf->st_mode) || 96 __put_user (kbuf->mode, &ubuf->st_mode) ||
92 __put_user (kbuf->nlink, &ubuf->st_nlink) || 97 __put_user (kbuf->nlink, &ubuf->st_nlink) ||
93 __put_user (kbuf->uid, &ubuf->st_uid) || 98 __put_user (kbuf->uid, &ubuf->st_uid) ||
diff --git a/arch/sparc64/solaris/misc.c b/arch/sparc64/solaris/misc.c
index 9c581328e76a..9ed997982f8d 100644
--- a/arch/sparc64/solaris/misc.c
+++ b/arch/sparc64/solaris/misc.c
@@ -249,7 +249,7 @@ asmlinkage int solaris_utssys(u32 buf, u32 flags, int which, u32 buf2)
249 /* Let's cheat */ 249 /* Let's cheat */
250 err = set_utsfield(v->sysname, "SunOS", 1, 0); 250 err = set_utsfield(v->sysname, "SunOS", 1, 0);
251 down_read(&uts_sem); 251 down_read(&uts_sem);
252 err |= set_utsfield(v->nodename, system_utsname.nodename, 252 err |= set_utsfield(v->nodename, utsname()->nodename,
253 1, 1); 253 1, 1);
254 up_read(&uts_sem); 254 up_read(&uts_sem);
255 err |= set_utsfield(v->release, "2.6", 0, 0); 255 err |= set_utsfield(v->release, "2.6", 0, 0);
@@ -273,7 +273,7 @@ asmlinkage int solaris_utsname(u32 buf)
273 /* Why should we not lie a bit? */ 273 /* Why should we not lie a bit? */
274 down_read(&uts_sem); 274 down_read(&uts_sem);
275 err = set_utsfield(v->sysname, "SunOS", 0, 0); 275 err = set_utsfield(v->sysname, "SunOS", 0, 0);
276 err |= set_utsfield(v->nodename, system_utsname.nodename, 1, 1); 276 err |= set_utsfield(v->nodename, utsname()->nodename, 1, 1);
277 err |= set_utsfield(v->release, "5.6", 0, 0); 277 err |= set_utsfield(v->release, "5.6", 0, 0);
278 err |= set_utsfield(v->version, "Generic", 0, 0); 278 err |= set_utsfield(v->version, "Generic", 0, 0);
279 err |= set_utsfield(v->machine, machine(), 0, 0); 279 err |= set_utsfield(v->machine, machine(), 0, 0);
@@ -305,7 +305,7 @@ asmlinkage int solaris_sysinfo(int cmd, u32 buf, s32 count)
305 case SI_HOSTNAME: 305 case SI_HOSTNAME:
306 r = buffer + 256; 306 r = buffer + 256;
307 down_read(&uts_sem); 307 down_read(&uts_sem);
308 for (p = system_utsname.nodename, q = buffer; 308 for (p = utsname()->nodename, q = buffer;
309 q < r && *p && *p != '.'; *q++ = *p++); 309 q < r && *p && *p != '.'; *q++ = *p++);
310 up_read(&uts_sem); 310 up_read(&uts_sem);
311 *q = 0; 311 *q = 0;
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 563ce7690a1e..24747a413785 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -642,9 +642,9 @@ int line_remove(struct line *lines, unsigned int num, int n)
642} 642}
643 643
644struct tty_driver *line_register_devfs(struct lines *set, 644struct tty_driver *line_register_devfs(struct lines *set,
645 struct line_driver *line_driver, 645 struct line_driver *line_driver,
646 struct tty_operations *ops, struct line *lines, 646 const struct tty_operations *ops,
647 int nlines) 647 struct line *lines, int nlines)
648{ 648{
649 int i; 649 int i;
650 struct tty_driver *driver = alloc_tty_driver(nlines); 650 struct tty_driver *driver = alloc_tty_driver(nlines);
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c
index 773a134e7fdb..a67dcbd78de4 100644
--- a/arch/um/drivers/mconsole_kern.c
+++ b/arch/um/drivers/mconsole_kern.c
@@ -106,9 +106,9 @@ void mconsole_version(struct mc_request *req)
106{ 106{
107 char version[256]; 107 char version[256];
108 108
109 sprintf(version, "%s %s %s %s %s", system_utsname.sysname, 109 sprintf(version, "%s %s %s %s %s", utsname()->sysname,
110 system_utsname.nodename, system_utsname.release, 110 utsname()->nodename, utsname()->release,
111 system_utsname.version, system_utsname.machine); 111 utsname()->version, utsname()->machine);
112 mconsole_reply(req, version, 0, 0); 112 mconsole_reply(req, version, 0, 0);
113} 113}
114 114
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 5fa4c8e258a4..fda4a3940698 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -981,8 +981,6 @@ static int prepare_request(struct request *req, struct io_thread_req *io_req)
981 __u64 offset; 981 __u64 offset;
982 int len; 982 int len;
983 983
984 if(req->rq_status == RQ_INACTIVE) return(1);
985
986 /* This should be impossible now */ 984 /* This should be impossible now */
987 if((rq_data_dir(req) == WRITE) && !dev->openflags.w){ 985 if((rq_data_dir(req) == WRITE) && !dev->openflags.w){
988 printk("Write attempted on readonly ubd device %s\n", 986 printk("Write attempted on readonly ubd device %s\n",
diff --git a/arch/um/include/line.h b/arch/um/include/line.h
index 642c9a0320f9..7be24811bb30 100644
--- a/arch/um/include/line.h
+++ b/arch/um/include/line.h
@@ -91,10 +91,9 @@ extern int line_setup_irq(int fd, int input, int output, struct line *line,
91 void *data); 91 void *data);
92extern void line_close_chan(struct line *line); 92extern void line_close_chan(struct line *line);
93extern struct tty_driver * line_register_devfs(struct lines *set, 93extern struct tty_driver * line_register_devfs(struct lines *set,
94 struct line_driver *line_driver, 94 struct line_driver *line_driver,
95 struct tty_operations *driver, 95 const struct tty_operations *driver,
96 struct line *lines, 96 struct line *lines, int nlines);
97 int nlines);
98extern void lines_init(struct line *lines, int nlines, struct chan_opts *opts); 97extern void lines_init(struct line *lines, int nlines, struct chan_opts *opts);
99extern void close_lines(struct line *lines, int nlines); 98extern void close_lines(struct line *lines, int nlines);
100 99
diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c
index 48cf88dd02d4..f5ed8624648b 100644
--- a/arch/um/kernel/syscall.c
+++ b/arch/um/kernel/syscall.c
@@ -110,7 +110,7 @@ long sys_uname(struct old_utsname __user * name)
110 if (!name) 110 if (!name)
111 return -EFAULT; 111 return -EFAULT;
112 down_read(&uts_sem); 112 down_read(&uts_sem);
113 err = copy_to_user(name, &system_utsname, sizeof (*name)); 113 err = copy_to_user(name, utsname(), sizeof (*name));
114 up_read(&uts_sem); 114 up_read(&uts_sem);
115 return err?-EFAULT:0; 115 return err?-EFAULT:0;
116} 116}
@@ -126,21 +126,21 @@ long sys_olduname(struct oldold_utsname __user * name)
126 126
127 down_read(&uts_sem); 127 down_read(&uts_sem);
128 128
129 error = __copy_to_user(&name->sysname,&system_utsname.sysname, 129 error = __copy_to_user(&name->sysname, &utsname()->sysname,
130 __OLD_UTS_LEN); 130 __OLD_UTS_LEN);
131 error |= __put_user(0,name->sysname+__OLD_UTS_LEN); 131 error |= __put_user(0, name->sysname + __OLD_UTS_LEN);
132 error |= __copy_to_user(&name->nodename,&system_utsname.nodename, 132 error |= __copy_to_user(&name->nodename, &utsname()->nodename,
133 __OLD_UTS_LEN); 133 __OLD_UTS_LEN);
134 error |= __put_user(0,name->nodename+__OLD_UTS_LEN); 134 error |= __put_user(0, name->nodename + __OLD_UTS_LEN);
135 error |= __copy_to_user(&name->release,&system_utsname.release, 135 error |= __copy_to_user(&name->release, &utsname()->release,
136 __OLD_UTS_LEN); 136 __OLD_UTS_LEN);
137 error |= __put_user(0,name->release+__OLD_UTS_LEN); 137 error |= __put_user(0, name->release + __OLD_UTS_LEN);
138 error |= __copy_to_user(&name->version,&system_utsname.version, 138 error |= __copy_to_user(&name->version, &utsname()->version,
139 __OLD_UTS_LEN); 139 __OLD_UTS_LEN);
140 error |= __put_user(0,name->version+__OLD_UTS_LEN); 140 error |= __put_user(0, name->version + __OLD_UTS_LEN);
141 error |= __copy_to_user(&name->machine,&system_utsname.machine, 141 error |= __copy_to_user(&name->machine, &utsname()->machine,
142 __OLD_UTS_LEN); 142 __OLD_UTS_LEN);
143 error |= __put_user(0,name->machine+__OLD_UTS_LEN); 143 error |= __put_user(0, name->machine + __OLD_UTS_LEN);
144 144
145 up_read(&uts_sem); 145 up_read(&uts_sem);
146 146
@@ -164,3 +164,16 @@ int next_syscall_index(int limit)
164 spin_unlock(&syscall_lock); 164 spin_unlock(&syscall_lock);
165 return(ret); 165 return(ret);
166} 166}
167
168int kernel_execve(const char *filename, char *const argv[], char *const envp[])
169{
170 mm_segment_t fs;
171 int ret;
172
173 fs = get_fs();
174 set_fs(KERNEL_DS);
175 ret = um_execve(filename, argv, envp);
176 set_fs(fs);
177
178 return ret;
179}
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 55005710dcbb..97d88e7902f7 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -167,7 +167,7 @@ static char *usage_string =
167 167
168static int __init uml_version_setup(char *line, int *add) 168static int __init uml_version_setup(char *line, int *add)
169{ 169{
170 printf("%s\n", system_utsname.release); 170 printf("%s\n", init_utsname()->release);
171 exit(0); 171 exit(0);
172 172
173 return 0; 173 return 0;
@@ -278,7 +278,7 @@ static int __init Usage(char *line, int *add)
278{ 278{
279 const char **p; 279 const char **p;
280 280
281 printf(usage_string, system_utsname.release); 281 printf(usage_string, init_utsname()->release);
282 p = &__uml_help_start; 282 p = &__uml_help_start;
283 while (p < &__uml_help_end) { 283 while (p < &__uml_help_end) {
284 printf("%s", *p); 284 printf("%s", *p);
@@ -403,7 +403,7 @@ int linux_main(int argc, char **argv)
403 /* Reserve up to 4M after the current brk */ 403 /* Reserve up to 4M after the current brk */
404 uml_reserved = ROUND_4M(brk_start) + (1 << 22); 404 uml_reserved = ROUND_4M(brk_start) + (1 << 22);
405 405
406 setup_machinename(system_utsname.machine); 406 setup_machinename(init_utsname()->machine);
407 407
408#ifdef CONFIG_CMDLINE_ON_HOST 408#ifdef CONFIG_CMDLINE_ON_HOST
409 argv1_begin = argv[1]; 409 argv1_begin = argv[1];
diff --git a/arch/um/os-Linux/process.c b/arch/um/os-Linux/process.c
index ff203625a4bd..51f0893640a6 100644
--- a/arch/um/os-Linux/process.c
+++ b/arch/um/os-Linux/process.c
@@ -11,6 +11,7 @@
11#include <sys/mman.h> 11#include <sys/mman.h>
12#include <sys/wait.h> 12#include <sys/wait.h>
13#include <sys/mman.h> 13#include <sys/mman.h>
14#include <sys/syscall.h>
14#include "ptrace_user.h" 15#include "ptrace_user.h"
15#include "os.h" 16#include "os.h"
16#include "user.h" 17#include "user.h"
@@ -140,11 +141,9 @@ void os_usr1_process(int pid)
140 * syscalls, and also breaks with clone(), which does not unshare the TLS. 141 * syscalls, and also breaks with clone(), which does not unshare the TLS.
141 */ 142 */
142 143
143inline _syscall0(pid_t, getpid)
144
145int os_getpid(void) 144int os_getpid(void)
146{ 145{
147 return(getpid()); 146 return(syscall(__NR_getpid));
148} 147}
149 148
150int os_getpgrp(void) 149int os_getpgrp(void)
diff --git a/arch/um/os-Linux/sys-i386/tls.c b/arch/um/os-Linux/sys-i386/tls.c
index 120abbe4e3ce..6e945ab45843 100644
--- a/arch/um/os-Linux/sys-i386/tls.c
+++ b/arch/um/os-Linux/sys-i386/tls.c
@@ -1,10 +1,9 @@
1#include <errno.h> 1#include <errno.h>
2#include <linux/unistd.h> 2#include <linux/unistd.h>
3#include <sys/syscall.h>
3#include "sysdep/tls.h" 4#include "sysdep/tls.h"
4#include "user_util.h" 5#include "user_util.h"
5 6
6static _syscall1(int, get_thread_area, user_desc_t *, u_info);
7
8/* Checks whether host supports TLS, and sets *tls_min according to the value 7/* Checks whether host supports TLS, and sets *tls_min according to the value
9 * valid on the host. 8 * valid on the host.
10 * i386 host have it == 6; x86_64 host have it == 12, for i386 emulation. */ 9 * i386 host have it == 6; x86_64 host have it == 12, for i386 emulation. */
@@ -17,7 +16,7 @@ void check_host_supports_tls(int *supports_tls, int *tls_min) {
17 user_desc_t info; 16 user_desc_t info;
18 info.entry_number = val[i]; 17 info.entry_number = val[i];
19 18
20 if (get_thread_area(&info) == 0) { 19 if (syscall(__NR_get_thread_area, &info) == 0) {
21 *tls_min = val[i]; 20 *tls_min = val[i];
22 *supports_tls = 1; 21 *supports_tls = 1;
23 return; 22 return;
diff --git a/arch/um/os-Linux/tls.c b/arch/um/os-Linux/tls.c
index 9cb09a45546b..a2de2580b8af 100644
--- a/arch/um/os-Linux/tls.c
+++ b/arch/um/os-Linux/tls.c
@@ -1,5 +1,6 @@
1#include <errno.h> 1#include <errno.h>
2#include <sys/ptrace.h> 2#include <sys/ptrace.h>
3#include <sys/syscall.h>
3#include <asm/ldt.h> 4#include <asm/ldt.h>
4#include "sysdep/tls.h" 5#include "sysdep/tls.h"
5#include "uml-config.h" 6#include "uml-config.h"
@@ -48,14 +49,11 @@ int os_get_thread_area(user_desc_t *info, int pid)
48#ifdef UML_CONFIG_MODE_TT 49#ifdef UML_CONFIG_MODE_TT
49#include "linux/unistd.h" 50#include "linux/unistd.h"
50 51
51static _syscall1(int, get_thread_area, user_desc_t *, u_info);
52static _syscall1(int, set_thread_area, user_desc_t *, u_info);
53
54int do_set_thread_area_tt(user_desc_t *info) 52int do_set_thread_area_tt(user_desc_t *info)
55{ 53{
56 int ret; 54 int ret;
57 55
58 ret = set_thread_area(info); 56 ret = syscall(__NR_set_thread_area,info);
59 if (ret < 0) { 57 if (ret < 0) {
60 ret = -errno; 58 ret = -errno;
61 } 59 }
@@ -66,7 +64,7 @@ int do_get_thread_area_tt(user_desc_t *info)
66{ 64{
67 int ret; 65 int ret;
68 66
69 ret = get_thread_area(info); 67 ret = syscall(__NR_get_thread_area,info);
70 if (ret < 0) { 68 if (ret < 0) {
71 ret = -errno; 69 ret = -errno;
72 } 70 }
diff --git a/arch/um/sys-i386/unmap.c b/arch/um/sys-i386/unmap.c
index 1b0ad0e4adcd..8e55cd5d3d07 100644
--- a/arch/um/sys-i386/unmap.c
+++ b/arch/um/sys-i386/unmap.c
@@ -5,20 +5,17 @@
5 5
6#include <linux/mman.h> 6#include <linux/mman.h>
7#include <asm/unistd.h> 7#include <asm/unistd.h>
8#include <sys/syscall.h>
8 9
9static int errno;
10
11static inline _syscall2(int,munmap,void *,start,size_t,len)
12static inline _syscall6(void *,mmap2,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,offset)
13int switcheroo(int fd, int prot, void *from, void *to, int size) 10int switcheroo(int fd, int prot, void *from, void *to, int size)
14{ 11{
15 if(munmap(to, size) < 0){ 12 if (syscall(__NR_munmap, to, size) < 0){
16 return(-1); 13 return(-1);
17 } 14 }
18 if(mmap2(to, size, prot, MAP_SHARED | MAP_FIXED, fd, 0) == (void*) -1 ){ 15 if (syscall(__NR_mmap2, to, size, prot, MAP_SHARED | MAP_FIXED, fd, 0) == (void*) -1 ){
19 return(-1); 16 return(-1);
20 } 17 }
21 if(munmap(from, size) < 0){ 18 if (syscall(__NR_munmap, from, size) < 0){
22 return(-1); 19 return(-1);
23 } 20 }
24 return(0); 21 return(0);
diff --git a/arch/um/sys-x86_64/syscalls.c b/arch/um/sys-x86_64/syscalls.c
index 6fce9f45dfdc..73ce4463f70c 100644
--- a/arch/um/sys-x86_64/syscalls.c
+++ b/arch/um/sys-x86_64/syscalls.c
@@ -21,7 +21,7 @@ asmlinkage long sys_uname64(struct new_utsname __user * name)
21{ 21{
22 int err; 22 int err;
23 down_read(&uts_sem); 23 down_read(&uts_sem);
24 err = copy_to_user(name, &system_utsname, sizeof (*name)); 24 err = copy_to_user(name, utsname(), sizeof (*name));
25 up_read(&uts_sem); 25 up_read(&uts_sem);
26 if (personality(current->personality) == PER_LINUX32) 26 if (personality(current->personality) == PER_LINUX32)
27 err |= copy_to_user(&name->machine, "i686", 5); 27 err |= copy_to_user(&name->machine, "i686", 5);
diff --git a/arch/um/sys-x86_64/sysrq.c b/arch/um/sys-x86_64/sysrq.c
index d0a25af19a5b..ce3e07fcf283 100644
--- a/arch/um/sys-x86_64/sysrq.c
+++ b/arch/um/sys-x86_64/sysrq.c
@@ -16,7 +16,7 @@ void __show_regs(struct pt_regs * regs)
16 printk("\n"); 16 printk("\n");
17 print_modules(); 17 print_modules();
18 printk("Pid: %d, comm: %.20s %s %s\n", 18 printk("Pid: %d, comm: %.20s %s %s\n",
19 current->pid, current->comm, print_tainted(), system_utsname.release); 19 current->pid, current->comm, print_tainted(), init_utsname()->release);
20 printk("RIP: %04lx:[<%016lx>] ", PT_REGS_CS(regs) & 0xffff, 20 printk("RIP: %04lx:[<%016lx>] ", PT_REGS_CS(regs) & 0xffff,
21 PT_REGS_RIP(regs)); 21 PT_REGS_RIP(regs));
22 printk("\nRSP: %016lx EFLAGS: %08lx\n", PT_REGS_RSP(regs), 22 printk("\nRSP: %016lx EFLAGS: %08lx\n", PT_REGS_RSP(regs),
diff --git a/arch/um/sys-x86_64/unmap.c b/arch/um/sys-x86_64/unmap.c
index f4a4bffd8a18..57c9286a701b 100644
--- a/arch/um/sys-x86_64/unmap.c
+++ b/arch/um/sys-x86_64/unmap.c
@@ -5,20 +5,17 @@
5 5
6#include <linux/mman.h> 6#include <linux/mman.h>
7#include <asm/unistd.h> 7#include <asm/unistd.h>
8#include <sys/syscall.h>
8 9
9static int errno;
10
11static inline _syscall2(int,munmap,void *,start,size_t,len)
12static inline _syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,offset)
13int switcheroo(int fd, int prot, void *from, void *to, int size) 10int switcheroo(int fd, int prot, void *from, void *to, int size)
14{ 11{
15 if(munmap(to, size) < 0){ 12 if (syscall(__NR_munmap, to, size) < 0){
16 return(-1); 13 return(-1);
17 } 14 }
18 if(mmap(to, size, prot, MAP_SHARED | MAP_FIXED, fd, 0) == (void*) -1){ 15 if (syscall(__NR_mmap, to, size, prot, MAP_SHARED | MAP_FIXED, fd, 0) == (void*) -1){
19 return(-1); 16 return(-1);
20 } 17 }
21 if(munmap(from, size) < 0){ 18 if (syscall(__NR_munmap, from, size) < 0){
22 return(-1); 19 return(-1);
23 } 20 }
24 return(0); 21 return(0);
diff --git a/arch/v850/kernel/memcons.c b/arch/v850/kernel/memcons.c
index 491614c435cd..92f514fdcc79 100644
--- a/arch/v850/kernel/memcons.c
+++ b/arch/v850/kernel/memcons.c
@@ -30,7 +30,7 @@ static DEFINE_SPINLOCK(memcons_lock);
30 30
31static size_t write (const char *buf, size_t len) 31static size_t write (const char *buf, size_t len)
32{ 32{
33 int flags; 33 unsigned long flags;
34 char *point; 34 char *point;
35 35
36 spin_lock_irqsave (memcons_lock, flags); 36 spin_lock_irqsave (memcons_lock, flags);
@@ -104,7 +104,7 @@ int memcons_tty_chars_in_buffer (struct tty_struct *tty)
104 return 0; 104 return 0;
105} 105}
106 106
107static struct tty_operations ops = { 107static const struct tty_operations ops = {
108 .open = memcons_tty_open, 108 .open = memcons_tty_open,
109 .write = memcons_tty_write, 109 .write = memcons_tty_write,
110 .write_room = memcons_tty_write_room, 110 .write_room = memcons_tty_write_room,
diff --git a/arch/v850/kernel/rte_cb_leds.c b/arch/v850/kernel/rte_cb_leds.c
index f654088b2760..996bd4f33ecb 100644
--- a/arch/v850/kernel/rte_cb_leds.c
+++ b/arch/v850/kernel/rte_cb_leds.c
@@ -42,7 +42,7 @@ do { \
42 len = LED_NUM_DIGITS - pos; \ 42 len = LED_NUM_DIGITS - pos; \
43 \ 43 \
44 if (len > 0) { \ 44 if (len > 0) { \
45 int _flags; \ 45 unsigned long _flags; \
46 const char *_end = buf + len; \ 46 const char *_end = buf + len; \
47 img_decl = &leds_image[pos]; \ 47 img_decl = &leds_image[pos]; \
48 \ 48 \
diff --git a/arch/v850/kernel/rte_mb_a_pci.c b/arch/v850/kernel/rte_mb_a_pci.c
index f36b778f1432..35213fa9f7d8 100644
--- a/arch/v850/kernel/rte_mb_a_pci.c
+++ b/arch/v850/kernel/rte_mb_a_pci.c
@@ -365,7 +365,7 @@ static DEFINE_SPINLOCK(mb_sram_lock);
365static void *alloc_mb_sram (size_t size) 365static void *alloc_mb_sram (size_t size)
366{ 366{
367 struct mb_sram_free_area *prev, *fa; 367 struct mb_sram_free_area *prev, *fa;
368 int flags; 368 unsigned long flags;
369 void *mem = 0; 369 void *mem = 0;
370 370
371 spin_lock_irqsave (mb_sram_lock, flags); 371 spin_lock_irqsave (mb_sram_lock, flags);
@@ -406,7 +406,7 @@ static void *alloc_mb_sram (size_t size)
406static void free_mb_sram (void *mem, size_t size) 406static void free_mb_sram (void *mem, size_t size)
407{ 407{
408 struct mb_sram_free_area *prev, *fa, *new_fa; 408 struct mb_sram_free_area *prev, *fa, *new_fa;
409 int flags; 409 unsigned long flags;
410 void *end = mem + size; 410 void *end = mem + size;
411 411
412 spin_lock_irqsave (mb_sram_lock, flags); 412 spin_lock_irqsave (mb_sram_lock, flags);
@@ -517,7 +517,7 @@ static DEFINE_SPINLOCK(dma_mappings_lock);
517 517
518static struct dma_mapping *new_dma_mapping (size_t size) 518static struct dma_mapping *new_dma_mapping (size_t size)
519{ 519{
520 int flags; 520 unsigned long flags;
521 struct dma_mapping *mapping; 521 struct dma_mapping *mapping;
522 void *mb_sram_block = alloc_mb_sram (size); 522 void *mb_sram_block = alloc_mb_sram (size);
523 523
@@ -575,7 +575,7 @@ static struct dma_mapping *new_dma_mapping (size_t size)
575 575
576static struct dma_mapping *find_dma_mapping (void *mb_sram_addr) 576static struct dma_mapping *find_dma_mapping (void *mb_sram_addr)
577{ 577{
578 int flags; 578 unsigned long flags;
579 struct dma_mapping *mapping; 579 struct dma_mapping *mapping;
580 580
581 spin_lock_irqsave (dma_mappings_lock, flags); 581 spin_lock_irqsave (dma_mappings_lock, flags);
@@ -592,7 +592,7 @@ static struct dma_mapping *find_dma_mapping (void *mb_sram_addr)
592 592
593static struct dma_mapping *deactivate_dma_mapping (void *mb_sram_addr) 593static struct dma_mapping *deactivate_dma_mapping (void *mb_sram_addr)
594{ 594{
595 int flags; 595 unsigned long flags;
596 struct dma_mapping *mapping, *prev; 596 struct dma_mapping *mapping, *prev;
597 597
598 spin_lock_irqsave (dma_mappings_lock, flags); 598 spin_lock_irqsave (dma_mappings_lock, flags);
@@ -622,7 +622,7 @@ static struct dma_mapping *deactivate_dma_mapping (void *mb_sram_addr)
622static inline void 622static inline void
623free_dma_mapping (struct dma_mapping *mapping) 623free_dma_mapping (struct dma_mapping *mapping)
624{ 624{
625 int flags; 625 unsigned long flags;
626 626
627 free_mb_sram (mapping->mb_sram_addr, mapping->size); 627 free_mb_sram (mapping->mb_sram_addr, mapping->size);
628 628
diff --git a/arch/v850/kernel/simcons.c b/arch/v850/kernel/simcons.c
index 3975aa02cef8..9973596ae304 100644
--- a/arch/v850/kernel/simcons.c
+++ b/arch/v850/kernel/simcons.c
@@ -77,7 +77,7 @@ int simcons_tty_chars_in_buffer (struct tty_struct *tty)
77 return 0; 77 return 0;
78} 78}
79 79
80static struct tty_operations ops = { 80static const struct tty_operations ops = {
81 .open = simcons_tty_open, 81 .open = simcons_tty_open,
82 .write = simcons_tty_write, 82 .write = simcons_tty_write,
83 .write_room = simcons_tty_write_room, 83 .write_room = simcons_tty_write_room,
diff --git a/arch/v850/kernel/syscalls.c b/arch/v850/kernel/syscalls.c
index 2ec0700fc46b..d2b1fb19d243 100644
--- a/arch/v850/kernel/syscalls.c
+++ b/arch/v850/kernel/syscalls.c
@@ -33,6 +33,7 @@
33#include <asm/uaccess.h> 33#include <asm/uaccess.h>
34#include <asm/ipc.h> 34#include <asm/ipc.h>
35#include <asm/semaphore.h> 35#include <asm/semaphore.h>
36#include <asm/unistd.h>
36 37
37/* 38/*
38 * sys_ipc() is the de-multiplexer for the SysV IPC calls.. 39 * sys_ipc() is the de-multiplexer for the SysV IPC calls..
@@ -194,3 +195,22 @@ unsigned long sys_mmap (unsigned long addr, size_t len,
194out: 195out:
195 return err; 196 return err;
196} 197}
198
199/*
200 * Do a system call from kernel instead of calling sys_execve so we
201 * end up with proper pt_regs.
202 */
203int kernel_execve(const char *filename, char *const argv[], char *const envp[])
204{
205 register char *__a __asm__ ("r6") = filename;
206 register void *__b __asm__ ("r7") = argv;
207 register void *__c __asm__ ("r8") = envp;
208 register unsigned long __syscall __asm__ ("r12") = __NR_execve;
209 register unsigned long __ret __asm__ ("r10");
210 __asm__ __volatile__ ("trap 0"
211 : "=r" (__ret), "=r" (__syscall)
212 : "1" (__syscall), "r" (__a), "r" (__b), "r" (__c)
213 : "r1", "r5", "r11", "r13", "r14",
214 "r15", "r16", "r17", "r18", "r19");
215 return __ret;
216}
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 32ae1378f35c..0a5d8e659aa4 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -367,6 +367,10 @@ config ARCH_FLATMEM_ENABLE
367 367
368source "mm/Kconfig" 368source "mm/Kconfig"
369 369
370config MEMORY_HOTPLUG_RESERVE
371 def_bool y
372 depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
373
370config HAVE_ARCH_EARLY_PFN_TO_NID 374config HAVE_ARCH_EARLY_PFN_TO_NID
371 def_bool y 375 def_bool y
372 depends on NUMA 376 depends on NUMA
@@ -686,7 +690,7 @@ source "arch/x86_64/oprofile/Kconfig"
686 690
687config KPROBES 691config KPROBES
688 bool "Kprobes (EXPERIMENTAL)" 692 bool "Kprobes (EXPERIMENTAL)"
689 depends on EXPERIMENTAL && MODULES 693 depends on KALLSYMS && EXPERIMENTAL && MODULES
690 help 694 help
691 Kprobes allows you to trap at almost any kernel address and 695 Kprobes allows you to trap at almost any kernel address and
692 execute a callback function. register_kprobe() establishes 696 execute a callback function. register_kprobe() establishes
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig
index 647610ecb580..4844b543bed0 100644
--- a/arch/x86_64/defconfig
+++ b/arch/x86_64/defconfig
@@ -1,11 +1,12 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18-git5 3# Linux kernel version: 2.6.18-git7
4# Tue Sep 26 09:30:47 2006 4# Wed Sep 27 21:53:10 2006
5# 5#
6CONFIG_X86_64=y 6CONFIG_X86_64=y
7CONFIG_64BIT=y 7CONFIG_64BIT=y
8CONFIG_X86=y 8CONFIG_X86=y
9CONFIG_ZONE_DMA32=y
9CONFIG_LOCKDEP_SUPPORT=y 10CONFIG_LOCKDEP_SUPPORT=y
10CONFIG_STACKTRACE_SUPPORT=y 11CONFIG_STACKTRACE_SUPPORT=y
11CONFIG_SEMAPHORE_SLEEPERS=y 12CONFIG_SEMAPHORE_SLEEPERS=y
@@ -179,6 +180,7 @@ CONFIG_GENERIC_PENDING_IRQ=y
179CONFIG_PM=y 180CONFIG_PM=y
180# CONFIG_PM_LEGACY is not set 181# CONFIG_PM_LEGACY is not set
181# CONFIG_PM_DEBUG is not set 182# CONFIG_PM_DEBUG is not set
183# CONFIG_PM_SYSFS_DEPRECATED is not set
182CONFIG_SOFTWARE_SUSPEND=y 184CONFIG_SOFTWARE_SUSPEND=y
183CONFIG_PM_STD_PARTITION="" 185CONFIG_PM_STD_PARTITION=""
184CONFIG_SUSPEND_SMP=y 186CONFIG_SUSPEND_SMP=y
@@ -251,6 +253,7 @@ CONFIG_PCI_DIRECT=y
251CONFIG_PCI_MMCONFIG=y 253CONFIG_PCI_MMCONFIG=y
252CONFIG_PCIEPORTBUS=y 254CONFIG_PCIEPORTBUS=y
253CONFIG_PCI_MSI=y 255CONFIG_PCI_MSI=y
256# CONFIG_PCI_MULTITHREAD_PROBE is not set
254# CONFIG_PCI_DEBUG is not set 257# CONFIG_PCI_DEBUG is not set
255 258
256# 259#
@@ -1458,6 +1461,7 @@ CONFIG_KPROBES=y
1458# 1461#
1459CONFIG_TRACE_IRQFLAGS_SUPPORT=y 1462CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1460# CONFIG_PRINTK_TIME is not set 1463# CONFIG_PRINTK_TIME is not set
1464# CONFIG_ENABLE_MUST_CHECK is not set
1461CONFIG_MAGIC_SYSRQ=y 1465CONFIG_MAGIC_SYSRQ=y
1462CONFIG_UNUSED_SYMBOLS=y 1466CONFIG_UNUSED_SYMBOLS=y
1463CONFIG_DEBUG_KERNEL=y 1467CONFIG_DEBUG_KERNEL=y
diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86_64/ia32/sys_ia32.c
index f280d3665f4b..c9bac3af29d6 100644
--- a/arch/x86_64/ia32/sys_ia32.c
+++ b/arch/x86_64/ia32/sys_ia32.c
@@ -76,6 +76,8 @@
76 76
77int cp_compat_stat(struct kstat *kbuf, struct compat_stat __user *ubuf) 77int cp_compat_stat(struct kstat *kbuf, struct compat_stat __user *ubuf)
78{ 78{
79 compat_ino_t ino;
80
79 typeof(ubuf->st_uid) uid = 0; 81 typeof(ubuf->st_uid) uid = 0;
80 typeof(ubuf->st_gid) gid = 0; 82 typeof(ubuf->st_gid) gid = 0;
81 SET_UID(uid, kbuf->uid); 83 SET_UID(uid, kbuf->uid);
@@ -84,9 +86,12 @@ int cp_compat_stat(struct kstat *kbuf, struct compat_stat __user *ubuf)
84 return -EOVERFLOW; 86 return -EOVERFLOW;
85 if (kbuf->size >= 0x7fffffff) 87 if (kbuf->size >= 0x7fffffff)
86 return -EOVERFLOW; 88 return -EOVERFLOW;
89 ino = kbuf->ino;
90 if (sizeof(ino) < sizeof(kbuf->ino) && ino != kbuf->ino)
91 return -EOVERFLOW;
87 if (!access_ok(VERIFY_WRITE, ubuf, sizeof(struct compat_stat)) || 92 if (!access_ok(VERIFY_WRITE, ubuf, sizeof(struct compat_stat)) ||
88 __put_user (old_encode_dev(kbuf->dev), &ubuf->st_dev) || 93 __put_user (old_encode_dev(kbuf->dev), &ubuf->st_dev) ||
89 __put_user (kbuf->ino, &ubuf->st_ino) || 94 __put_user (ino, &ubuf->st_ino) ||
90 __put_user (kbuf->mode, &ubuf->st_mode) || 95 __put_user (kbuf->mode, &ubuf->st_mode) ||
91 __put_user (kbuf->nlink, &ubuf->st_nlink) || 96 __put_user (kbuf->nlink, &ubuf->st_nlink) ||
92 __put_user (uid, &ubuf->st_uid) || 97 __put_user (uid, &ubuf->st_uid) ||
@@ -784,36 +789,36 @@ asmlinkage long sys32_olduname(struct oldold_utsname __user * name)
784 789
785 if (!name) 790 if (!name)
786 return -EFAULT; 791 return -EFAULT;
787 if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname))) 792 if (!access_ok(VERIFY_WRITE, name, sizeof(struct oldold_utsname)))
788 return -EFAULT; 793 return -EFAULT;
789 794
790 down_read(&uts_sem); 795 down_read(&uts_sem);
791 796
792 err = __copy_to_user(&name->sysname,&system_utsname.sysname, 797 err = __copy_to_user(&name->sysname,&utsname()->sysname,
793 __OLD_UTS_LEN); 798 __OLD_UTS_LEN);
794 err |= __put_user(0,name->sysname+__OLD_UTS_LEN); 799 err |= __put_user(0,name->sysname+__OLD_UTS_LEN);
795 err |= __copy_to_user(&name->nodename,&system_utsname.nodename, 800 err |= __copy_to_user(&name->nodename,&utsname()->nodename,
796 __OLD_UTS_LEN); 801 __OLD_UTS_LEN);
797 err |= __put_user(0,name->nodename+__OLD_UTS_LEN); 802 err |= __put_user(0,name->nodename+__OLD_UTS_LEN);
798 err |= __copy_to_user(&name->release,&system_utsname.release, 803 err |= __copy_to_user(&name->release,&utsname()->release,
799 __OLD_UTS_LEN); 804 __OLD_UTS_LEN);
800 err |= __put_user(0,name->release+__OLD_UTS_LEN); 805 err |= __put_user(0,name->release+__OLD_UTS_LEN);
801 err |= __copy_to_user(&name->version,&system_utsname.version, 806 err |= __copy_to_user(&name->version,&utsname()->version,
802 __OLD_UTS_LEN); 807 __OLD_UTS_LEN);
803 err |= __put_user(0,name->version+__OLD_UTS_LEN); 808 err |= __put_user(0,name->version+__OLD_UTS_LEN);
804 { 809 {
805 char *arch = "x86_64"; 810 char *arch = "x86_64";
806 if (personality(current->personality) == PER_LINUX32) 811 if (personality(current->personality) == PER_LINUX32)
807 arch = "i686"; 812 arch = "i686";
808 813
809 err |= __copy_to_user(&name->machine,arch,strlen(arch)+1); 814 err |= __copy_to_user(&name->machine, arch, strlen(arch)+1);
810 } 815 }
811 816
812 up_read(&uts_sem); 817 up_read(&uts_sem);
813 818
814 err = err ? -EFAULT : 0; 819 err = err ? -EFAULT : 0;
815 820
816 return err; 821 return err;
817} 822}
818 823
819long sys32_uname(struct old_utsname __user * name) 824long sys32_uname(struct old_utsname __user * name)
@@ -822,7 +827,7 @@ long sys32_uname(struct old_utsname __user * name)
822 if (!name) 827 if (!name)
823 return -EFAULT; 828 return -EFAULT;
824 down_read(&uts_sem); 829 down_read(&uts_sem);
825 err=copy_to_user(name, &system_utsname, sizeof (*name)); 830 err = copy_to_user(name, utsname(), sizeof (*name));
826 up_read(&uts_sem); 831 up_read(&uts_sem);
827 if (personality(current->personality) == PER_LINUX32) 832 if (personality(current->personality) == PER_LINUX32)
828 err |= copy_to_user(&name->machine, "i686", 5); 833 err |= copy_to_user(&name->machine, "i686", 5);
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c
index 135ff25e6b44..6472e321cad7 100644
--- a/arch/x86_64/kernel/apic.c
+++ b/arch/x86_64/kernel/apic.c
@@ -25,7 +25,6 @@
25#include <linux/kernel_stat.h> 25#include <linux/kernel_stat.h>
26#include <linux/sysdev.h> 26#include <linux/sysdev.h>
27#include <linux/module.h> 27#include <linux/module.h>
28#include <linux/ioport.h>
29 28
30#include <asm/atomic.h> 29#include <asm/atomic.h>
31#include <asm/smp.h> 30#include <asm/smp.h>
@@ -46,11 +45,6 @@ int apic_calibrate_pmtmr __initdata;
46 45
47int disable_apic_timer __initdata; 46int disable_apic_timer __initdata;
48 47
49static struct resource lapic_resource = {
50 .name = "Local APIC",
51 .flags = IORESOURCE_MEM | IORESOURCE_BUSY,
52};
53
54/* 48/*
55 * cpu_mask that denotes the CPUs that needs timer interrupt coming in as 49 * cpu_mask that denotes the CPUs that needs timer interrupt coming in as
56 * IPIs in place of local APIC timers 50 * IPIs in place of local APIC timers
@@ -591,40 +585,6 @@ static int __init detect_init_APIC (void)
591 return 0; 585 return 0;
592} 586}
593 587
594#ifdef CONFIG_X86_IO_APIC
595static struct resource * __init ioapic_setup_resources(void)
596{
597#define IOAPIC_RESOURCE_NAME_SIZE 11
598 unsigned long n;
599 struct resource *res;
600 char *mem;
601 int i;
602
603 if (nr_ioapics <= 0)
604 return NULL;
605
606 n = IOAPIC_RESOURCE_NAME_SIZE + sizeof(struct resource);
607 n *= nr_ioapics;
608
609 res = alloc_bootmem(n);
610
611 if (!res)
612 return NULL;
613
614 memset(res, 0, n);
615 mem = (void *)&res[nr_ioapics];
616
617 for (i = 0; i < nr_ioapics; i++) {
618 res[i].name = mem;
619 res[i].flags = IORESOURCE_MEM | IORESOURCE_BUSY;
620 snprintf(mem, IOAPIC_RESOURCE_NAME_SIZE, "IOAPIC %u", i);
621 mem += IOAPIC_RESOURCE_NAME_SIZE;
622 }
623
624 return res;
625}
626#endif
627
628void __init init_apic_mappings(void) 588void __init init_apic_mappings(void)
629{ 589{
630 unsigned long apic_phys; 590 unsigned long apic_phys;
@@ -644,11 +604,6 @@ void __init init_apic_mappings(void)
644 apic_mapped = 1; 604 apic_mapped = 1;
645 apic_printk(APIC_VERBOSE,"mapped APIC to %16lx (%16lx)\n", APIC_BASE, apic_phys); 605 apic_printk(APIC_VERBOSE,"mapped APIC to %16lx (%16lx)\n", APIC_BASE, apic_phys);
646 606
647 /* Put local APIC into the resource map. */
648 lapic_resource.start = apic_phys;
649 lapic_resource.end = lapic_resource.start + PAGE_SIZE - 1;
650 insert_resource(&iomem_resource, &lapic_resource);
651
652 /* 607 /*
653 * Fetch the APIC ID of the BSP in case we have a 608 * Fetch the APIC ID of the BSP in case we have a
654 * default configuration (or the MP table is broken). 609 * default configuration (or the MP table is broken).
@@ -658,9 +613,7 @@ void __init init_apic_mappings(void)
658 { 613 {
659 unsigned long ioapic_phys, idx = FIX_IO_APIC_BASE_0; 614 unsigned long ioapic_phys, idx = FIX_IO_APIC_BASE_0;
660 int i; 615 int i;
661 struct resource *ioapic_res;
662 616
663 ioapic_res = ioapic_setup_resources();
664 for (i = 0; i < nr_ioapics; i++) { 617 for (i = 0; i < nr_ioapics; i++) {
665 if (smp_found_config) { 618 if (smp_found_config) {
666 ioapic_phys = mp_ioapics[i].mpc_apicaddr; 619 ioapic_phys = mp_ioapics[i].mpc_apicaddr;
@@ -672,13 +625,6 @@ void __init init_apic_mappings(void)
672 apic_printk(APIC_VERBOSE,"mapped IOAPIC to %016lx (%016lx)\n", 625 apic_printk(APIC_VERBOSE,"mapped IOAPIC to %016lx (%016lx)\n",
673 __fix_to_virt(idx), ioapic_phys); 626 __fix_to_virt(idx), ioapic_phys);
674 idx++; 627 idx++;
675
676 if (ioapic_res) {
677 ioapic_res->start = ioapic_phys;
678 ioapic_res->end = ioapic_phys + (4 * 1024) - 1;
679 insert_resource(&iomem_resource, ioapic_res);
680 ioapic_res++;
681 }
682 } 628 }
683 } 629 }
684} 630}
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S
index 2802524104f3..b8285cf1a9c3 100644
--- a/arch/x86_64/kernel/entry.S
+++ b/arch/x86_64/kernel/entry.S
@@ -1023,7 +1023,7 @@ ENDPROC(child_rip)
1023 * do_sys_execve asm fallback arguments: 1023 * do_sys_execve asm fallback arguments:
1024 * rdi: name, rsi: argv, rdx: envp, fake frame on the stack 1024 * rdi: name, rsi: argv, rdx: envp, fake frame on the stack
1025 */ 1025 */
1026ENTRY(execve) 1026ENTRY(kernel_execve)
1027 CFI_STARTPROC 1027 CFI_STARTPROC
1028 FAKE_STACK_FRAME $0 1028 FAKE_STACK_FRAME $0
1029 SAVE_ALL 1029 SAVE_ALL
@@ -1036,7 +1036,7 @@ ENTRY(execve)
1036 UNFAKE_STACK_FRAME 1036 UNFAKE_STACK_FRAME
1037 ret 1037 ret
1038 CFI_ENDPROC 1038 CFI_ENDPROC
1039ENDPROC(execve) 1039ENDPROC(kernel_execve)
1040 1040
1041KPROBE_ENTRY(page_fault) 1041KPROBE_ENTRY(page_fault)
1042 errorentry do_page_fault 1042 errorentry do_page_fault
diff --git a/arch/x86_64/kernel/kprobes.c b/arch/x86_64/kernel/kprobes.c
index ffc73ac72485..ac241567e682 100644
--- a/arch/x86_64/kernel/kprobes.c
+++ b/arch/x86_64/kernel/kprobes.c
@@ -270,20 +270,19 @@ void __kprobes arch_prepare_kretprobe(struct kretprobe *rp,
270 struct pt_regs *regs) 270 struct pt_regs *regs)
271{ 271{
272 unsigned long *sara = (unsigned long *)regs->rsp; 272 unsigned long *sara = (unsigned long *)regs->rsp;
273 struct kretprobe_instance *ri; 273 struct kretprobe_instance *ri;
274 274
275 if ((ri = get_free_rp_inst(rp)) != NULL) { 275 if ((ri = get_free_rp_inst(rp)) != NULL) {
276 ri->rp = rp; 276 ri->rp = rp;
277 ri->task = current; 277 ri->task = current;
278 ri->ret_addr = (kprobe_opcode_t *) *sara; 278 ri->ret_addr = (kprobe_opcode_t *) *sara;
279 279
280 /* Replace the return addr with trampoline addr */ 280 /* Replace the return addr with trampoline addr */
281 *sara = (unsigned long) &kretprobe_trampoline; 281 *sara = (unsigned long) &kretprobe_trampoline;
282 282 add_rp_inst(ri);
283 add_rp_inst(ri); 283 } else {
284 } else { 284 rp->nmissed++;
285 rp->nmissed++; 285 }
286 }
287} 286}
288 287
289int __kprobes kprobe_handler(struct pt_regs *regs) 288int __kprobes kprobe_handler(struct pt_regs *regs)
@@ -405,14 +404,15 @@ no_kprobe:
405 */ 404 */
406int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) 405int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
407{ 406{
408 struct kretprobe_instance *ri = NULL; 407 struct kretprobe_instance *ri = NULL;
409 struct hlist_head *head; 408 struct hlist_head *head, empty_rp;
410 struct hlist_node *node, *tmp; 409 struct hlist_node *node, *tmp;
411 unsigned long flags, orig_ret_address = 0; 410 unsigned long flags, orig_ret_address = 0;
412 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline; 411 unsigned long trampoline_address =(unsigned long)&kretprobe_trampoline;
413 412
413 INIT_HLIST_HEAD(&empty_rp);
414 spin_lock_irqsave(&kretprobe_lock, flags); 414 spin_lock_irqsave(&kretprobe_lock, flags);
415 head = kretprobe_inst_table_head(current); 415 head = kretprobe_inst_table_head(current);
416 416
417 /* 417 /*
418 * It is possible to have multiple instances associated with a given 418 * It is possible to have multiple instances associated with a given
@@ -423,20 +423,20 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
423 * We can handle this because: 423 * We can handle this because:
424 * - instances are always inserted at the head of the list 424 * - instances are always inserted at the head of the list
425 * - when multiple return probes are registered for the same 425 * - when multiple return probes are registered for the same
426 * function, the first instance's ret_addr will point to the 426 * function, the first instance's ret_addr will point to the
427 * real return address, and all the rest will point to 427 * real return address, and all the rest will point to
428 * kretprobe_trampoline 428 * kretprobe_trampoline
429 */ 429 */
430 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { 430 hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {
431 if (ri->task != current) 431 if (ri->task != current)
432 /* another task is sharing our hash bucket */ 432 /* another task is sharing our hash bucket */
433 continue; 433 continue;
434 434
435 if (ri->rp && ri->rp->handler) 435 if (ri->rp && ri->rp->handler)
436 ri->rp->handler(ri, regs); 436 ri->rp->handler(ri, regs);
437 437
438 orig_ret_address = (unsigned long)ri->ret_addr; 438 orig_ret_address = (unsigned long)ri->ret_addr;
439 recycle_rp_inst(ri); 439 recycle_rp_inst(ri, &empty_rp);
440 440
441 if (orig_ret_address != trampoline_address) 441 if (orig_ret_address != trampoline_address)
442 /* 442 /*
@@ -454,12 +454,16 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
454 spin_unlock_irqrestore(&kretprobe_lock, flags); 454 spin_unlock_irqrestore(&kretprobe_lock, flags);
455 preempt_enable_no_resched(); 455 preempt_enable_no_resched();
456 456
457 /* 457 hlist_for_each_entry_safe(ri, node, tmp, &empty_rp, hlist) {
458 * By returning a non-zero value, we are telling 458 hlist_del(&ri->hlist);
459 * kprobe_handler() that we don't want the post_handler 459 kfree(ri);
460 }
461 /*
462 * By returning a non-zero value, we are telling
463 * kprobe_handler() that we don't want the post_handler
460 * to run (and have re-enabled preemption) 464 * to run (and have re-enabled preemption)
461 */ 465 */
462 return 1; 466 return 1;
463} 467}
464 468
465/* 469/*
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c
index 20e88f4b564b..b8d53dfa9931 100644
--- a/arch/x86_64/kernel/mpparse.c
+++ b/arch/x86_64/kernel/mpparse.c
@@ -152,6 +152,21 @@ static void __init MP_bus_info (struct mpc_config_bus *m)
152 } 152 }
153} 153}
154 154
155static int bad_ioapic(unsigned long address)
156{
157 if (nr_ioapics >= MAX_IO_APICS) {
158 printk(KERN_ERR "ERROR: Max # of I/O APICs (%d) exceeded "
159 "(found %d)\n", MAX_IO_APICS, nr_ioapics);
160 panic("Recompile kernel with bigger MAX_IO_APICS!\n");
161 }
162 if (!address) {
163 printk(KERN_ERR "WARNING: Bogus (zero) I/O APIC address"
164 " found in table, skipping!\n");
165 return 1;
166 }
167 return 0;
168}
169
155static void __init MP_ioapic_info (struct mpc_config_ioapic *m) 170static void __init MP_ioapic_info (struct mpc_config_ioapic *m)
156{ 171{
157 if (!(m->mpc_flags & MPC_APIC_USABLE)) 172 if (!(m->mpc_flags & MPC_APIC_USABLE))
@@ -159,16 +174,10 @@ static void __init MP_ioapic_info (struct mpc_config_ioapic *m)
159 174
160 printk("I/O APIC #%d at 0x%X.\n", 175 printk("I/O APIC #%d at 0x%X.\n",
161 m->mpc_apicid, m->mpc_apicaddr); 176 m->mpc_apicid, m->mpc_apicaddr);
162 if (nr_ioapics >= MAX_IO_APICS) { 177
163 printk(KERN_ERR "Max # of I/O APICs (%d) exceeded (found %d).\n", 178 if (bad_ioapic(m->mpc_apicaddr))
164 MAX_IO_APICS, nr_ioapics);
165 panic("Recompile kernel with bigger MAX_IO_APICS!.\n");
166 }
167 if (!m->mpc_apicaddr) {
168 printk(KERN_ERR "WARNING: bogus zero I/O APIC address"
169 " found in MP table, skipping!\n");
170 return; 179 return;
171 } 180
172 mp_ioapics[nr_ioapics] = *m; 181 mp_ioapics[nr_ioapics] = *m;
173 nr_ioapics++; 182 nr_ioapics++;
174} 183}
@@ -647,16 +656,8 @@ void __init mp_register_ioapic(u8 id, u32 address, u32 gsi_base)
647{ 656{
648 int idx = 0; 657 int idx = 0;
649 658
650 if (nr_ioapics >= MAX_IO_APICS) { 659 if (bad_ioapic(address))
651 printk(KERN_ERR "ERROR: Max # of I/O APICs (%d) exceeded "
652 "(found %d)\n", MAX_IO_APICS, nr_ioapics);
653 panic("Recompile kernel with bigger MAX_IO_APICS!\n");
654 }
655 if (!address) {
656 printk(KERN_ERR "WARNING: Bogus (zero) I/O APIC address"
657 " found in MADT table, skipping!\n");
658 return; 660 return;
659 }
660 661
661 idx = nr_ioapics++; 662 idx = nr_ioapics++;
662 663
diff --git a/arch/x86_64/kernel/nmi.c b/arch/x86_64/kernel/nmi.c
index 4d6fb047952e..7af9cb3e2d99 100644
--- a/arch/x86_64/kernel/nmi.c
+++ b/arch/x86_64/kernel/nmi.c
@@ -28,6 +28,10 @@
28#include <asm/mce.h> 28#include <asm/mce.h>
29#include <asm/intel_arch_perfmon.h> 29#include <asm/intel_arch_perfmon.h>
30 30
31int unknown_nmi_panic;
32int nmi_watchdog_enabled;
33int panic_on_unrecovered_nmi;
34
31/* perfctr_nmi_owner tracks the ownership of the perfctr registers: 35/* perfctr_nmi_owner tracks the ownership of the perfctr registers:
32 * evtsel_nmi_owner tracks the ownership of the event selection 36 * evtsel_nmi_owner tracks the ownership of the event selection
33 * - different performance counters/ event selection may be reserved for 37 * - different performance counters/ event selection may be reserved for
diff --git a/arch/x86_64/kernel/pci-dma.c b/arch/x86_64/kernel/pci-dma.c
index 4dcb671bd19f..f8d857453f8a 100644
--- a/arch/x86_64/kernel/pci-dma.c
+++ b/arch/x86_64/kernel/pci-dma.c
@@ -170,8 +170,20 @@ void dma_free_coherent(struct device *dev, size_t size,
170} 170}
171EXPORT_SYMBOL(dma_free_coherent); 171EXPORT_SYMBOL(dma_free_coherent);
172 172
173static int forbid_dac __read_mostly;
174
173int dma_supported(struct device *dev, u64 mask) 175int dma_supported(struct device *dev, u64 mask)
174{ 176{
177#ifdef CONFIG_PCI
178 if (mask > 0xffffffff && forbid_dac > 0) {
179
180
181
182 printk(KERN_INFO "PCI: Disallowing DAC for device %s\n", dev->bus_id);
183 return 0;
184 }
185#endif
186
175 if (dma_ops->dma_supported) 187 if (dma_ops->dma_supported)
176 return dma_ops->dma_supported(dev, mask); 188 return dma_ops->dma_supported(dev, mask);
177 189
@@ -231,57 +243,64 @@ EXPORT_SYMBOL(dma_set_mask);
231 allowed overwrite iommu off workarounds for specific chipsets. 243 allowed overwrite iommu off workarounds for specific chipsets.
232 soft Use software bounce buffering (default for Intel machines) 244 soft Use software bounce buffering (default for Intel machines)
233 noaperture Don't touch the aperture for AGP. 245 noaperture Don't touch the aperture for AGP.
246 allowdac Allow DMA >4GB
247 nodac Forbid DMA >4GB
248 panic Force panic when IOMMU overflows
234*/ 249*/
235__init int iommu_setup(char *p) 250__init int iommu_setup(char *p)
236{ 251{
237 iommu_merge = 1; 252 iommu_merge = 1;
238 253
239 if (!p) 254 if (!p)
240 return -EINVAL; 255 return -EINVAL;
241 256
242 while (*p) { 257 while (*p) {
243 if (!strncmp(p,"off",3)) 258 if (!strncmp(p,"off",3))
244 no_iommu = 1; 259 no_iommu = 1;
245 /* gart_parse_options has more force support */ 260 /* gart_parse_options has more force support */
246 if (!strncmp(p,"force",5)) 261 if (!strncmp(p,"force",5))
247 force_iommu = 1; 262 force_iommu = 1;
248 if (!strncmp(p,"noforce",7)) { 263 if (!strncmp(p,"noforce",7)) {
249 iommu_merge = 0; 264 iommu_merge = 0;
250 force_iommu = 0; 265 force_iommu = 0;
251 } 266 }
252 267
253 if (!strncmp(p, "biomerge",8)) { 268 if (!strncmp(p, "biomerge",8)) {
254 iommu_bio_merge = 4096; 269 iommu_bio_merge = 4096;
255 iommu_merge = 1; 270 iommu_merge = 1;
256 force_iommu = 1; 271 force_iommu = 1;
257 } 272 }
258 if (!strncmp(p, "panic",5)) 273 if (!strncmp(p, "panic",5))
259 panic_on_overflow = 1; 274 panic_on_overflow = 1;
260 if (!strncmp(p, "nopanic",7)) 275 if (!strncmp(p, "nopanic",7))
261 panic_on_overflow = 0; 276 panic_on_overflow = 0;
262 if (!strncmp(p, "merge",5)) { 277 if (!strncmp(p, "merge",5)) {
263 iommu_merge = 1; 278 iommu_merge = 1;
264 force_iommu = 1; 279 force_iommu = 1;
265 } 280 }
266 if (!strncmp(p, "nomerge",7)) 281 if (!strncmp(p, "nomerge",7))
267 iommu_merge = 0; 282 iommu_merge = 0;
268 if (!strncmp(p, "forcesac",8)) 283 if (!strncmp(p, "forcesac",8))
269 iommu_sac_force = 1; 284 iommu_sac_force = 1;
285 if (!strncmp(p, "allowdac", 8))
286 forbid_dac = 0;
287 if (!strncmp(p, "nodac", 5))
288 forbid_dac = -1;
270 289
271#ifdef CONFIG_SWIOTLB 290#ifdef CONFIG_SWIOTLB
272 if (!strncmp(p, "soft",4)) 291 if (!strncmp(p, "soft",4))
273 swiotlb = 1; 292 swiotlb = 1;
274#endif 293#endif
275 294
276#ifdef CONFIG_IOMMU 295#ifdef CONFIG_IOMMU
277 gart_parse_options(p); 296 gart_parse_options(p);
278#endif 297#endif
279 298
280 p += strcspn(p, ","); 299 p += strcspn(p, ",");
281 if (*p == ',') 300 if (*p == ',')
282 ++p; 301 ++p;
283 } 302 }
284 return 0; 303 return 0;
285} 304}
286early_param("iommu", iommu_setup); 305early_param("iommu", iommu_setup);
287 306
diff --git a/arch/x86_64/kernel/process.c b/arch/x86_64/kernel/process.c
index 458006ae19f3..de10cb8a2c97 100644
--- a/arch/x86_64/kernel/process.c
+++ b/arch/x86_64/kernel/process.c
@@ -294,9 +294,9 @@ void __show_regs(struct pt_regs * regs)
294 print_modules(); 294 print_modules();
295 printk("Pid: %d, comm: %.20s %s %s %.*s\n", 295 printk("Pid: %d, comm: %.20s %s %s %.*s\n",
296 current->pid, current->comm, print_tainted(), 296 current->pid, current->comm, print_tainted(),
297 system_utsname.release, 297 init_utsname()->release,
298 (int)strcspn(system_utsname.version, " "), 298 (int)strcspn(init_utsname()->version, " "),
299 system_utsname.version); 299 init_utsname()->version);
300 printk("RIP: %04lx:[<%016lx>] ", regs->cs & 0xffff, regs->rip); 300 printk("RIP: %04lx:[<%016lx>] ", regs->cs & 0xffff, regs->rip);
301 printk_address(regs->rip); 301 printk_address(regs->rip);
302 printk("RSP: %04lx:%016lx EFLAGS: %08lx\n", regs->ss, regs->rsp, 302 printk("RSP: %04lx:%016lx EFLAGS: %08lx\n", regs->ss, regs->rsp,
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 0b00bb2ea576..fc944b5e8f4a 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -123,9 +123,6 @@ struct resource standard_io_resources[] = {
123 .flags = IORESOURCE_BUSY | IORESOURCE_IO } 123 .flags = IORESOURCE_BUSY | IORESOURCE_IO }
124}; 124};
125 125
126#define STANDARD_IO_RESOURCES \
127 (sizeof standard_io_resources / sizeof standard_io_resources[0])
128
129#define IORESOURCE_RAM (IORESOURCE_BUSY | IORESOURCE_MEM) 126#define IORESOURCE_RAM (IORESOURCE_BUSY | IORESOURCE_MEM)
130 127
131struct resource data_resource = { 128struct resource data_resource = {
@@ -172,9 +169,6 @@ static struct resource adapter_rom_resources[] = {
172 .flags = IORESOURCE_ROM } 169 .flags = IORESOURCE_ROM }
173}; 170};
174 171
175#define ADAPTER_ROM_RESOURCES \
176 (sizeof adapter_rom_resources / sizeof adapter_rom_resources[0])
177
178static struct resource video_rom_resource = { 172static struct resource video_rom_resource = {
179 .name = "Video ROM", 173 .name = "Video ROM",
180 .start = 0xc0000, 174 .start = 0xc0000,
@@ -245,7 +239,8 @@ static void __init probe_roms(void)
245 } 239 }
246 240
247 /* check for adapter roms on 2k boundaries */ 241 /* check for adapter roms on 2k boundaries */
248 for (i = 0; i < ADAPTER_ROM_RESOURCES && start < upper; start += 2048) { 242 for (i = 0; i < ARRAY_SIZE(adapter_rom_resources) && start < upper;
243 start += 2048) {
249 rom = isa_bus_to_virt(start); 244 rom = isa_bus_to_virt(start);
250 if (!romsignature(rom)) 245 if (!romsignature(rom))
251 continue; 246 continue;
@@ -537,7 +532,7 @@ void __init setup_arch(char **cmdline_p)
537 { 532 {
538 unsigned i; 533 unsigned i;
539 /* request I/O space for devices used on all i[345]86 PCs */ 534 /* request I/O space for devices used on all i[345]86 PCs */
540 for (i = 0; i < STANDARD_IO_RESOURCES; i++) 535 for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++)
541 request_resource(&ioport_resource, &standard_io_resources[i]); 536 request_resource(&ioport_resource, &standard_io_resources[i]);
542 } 537 }
543 538
diff --git a/arch/x86_64/kernel/sys_x86_64.c b/arch/x86_64/kernel/sys_x86_64.c
index 6449ea8fe756..76bf7c241fe4 100644
--- a/arch/x86_64/kernel/sys_x86_64.c
+++ b/arch/x86_64/kernel/sys_x86_64.c
@@ -148,7 +148,7 @@ asmlinkage long sys_uname(struct new_utsname __user * name)
148{ 148{
149 int err; 149 int err;
150 down_read(&uts_sem); 150 down_read(&uts_sem);
151 err = copy_to_user(name, &system_utsname, sizeof (*name)); 151 err = copy_to_user(name, utsname(), sizeof (*name));
152 up_read(&uts_sem); 152 up_read(&uts_sem);
153 if (personality(current->personality) == PER_LINUX32) 153 if (personality(current->personality) == PER_LINUX32)
154 err |= copy_to_user(&name->machine, "i686", 5); 154 err |= copy_to_user(&name->machine, "i686", 5);
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 7ea3bf2a858c..557e92af7bea 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -77,7 +77,6 @@ unsigned long long monotonic_base;
77struct vxtime_data __vxtime __section_vxtime; /* for vsyscalls */ 77struct vxtime_data __vxtime __section_vxtime; /* for vsyscalls */
78 78
79volatile unsigned long __jiffies __section_jiffies = INITIAL_JIFFIES; 79volatile unsigned long __jiffies __section_jiffies = INITIAL_JIFFIES;
80unsigned long __wall_jiffies __section_wall_jiffies = INITIAL_JIFFIES;
81struct timespec __xtime __section_xtime; 80struct timespec __xtime __section_xtime;
82struct timezone __sys_tz __section_sys_tz; 81struct timezone __sys_tz __section_sys_tz;
83 82
@@ -119,7 +118,7 @@ unsigned int (*do_gettimeoffset)(void) = do_gettimeoffset_tsc;
119 118
120void do_gettimeofday(struct timeval *tv) 119void do_gettimeofday(struct timeval *tv)
121{ 120{
122 unsigned long seq, t; 121 unsigned long seq;
123 unsigned int sec, usec; 122 unsigned int sec, usec;
124 123
125 do { 124 do {
@@ -136,10 +135,7 @@ void do_gettimeofday(struct timeval *tv)
136 be found. Note when you fix it here you need to do the same 135 be found. Note when you fix it here you need to do the same
137 in arch/x86_64/kernel/vsyscall.c and export all needed 136 in arch/x86_64/kernel/vsyscall.c and export all needed
138 variables in vmlinux.lds. -AK */ 137 variables in vmlinux.lds. -AK */
139 138 usec += do_gettimeoffset();
140 t = (jiffies - wall_jiffies) * USEC_PER_TICK +
141 do_gettimeoffset();
142 usec += t;
143 139
144 } while (read_seqretry(&xtime_lock, seq)); 140 } while (read_seqretry(&xtime_lock, seq));
145 141
@@ -165,8 +161,7 @@ int do_settimeofday(struct timespec *tv)
165 161
166 write_seqlock_irq(&xtime_lock); 162 write_seqlock_irq(&xtime_lock);
167 163
168 nsec -= do_gettimeoffset() * NSEC_PER_USEC + 164 nsec -= do_gettimeoffset() * NSEC_PER_USEC;
169 (jiffies - wall_jiffies) * NSEC_PER_TICK;
170 165
171 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 166 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
172 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 167 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
@@ -1071,7 +1066,6 @@ static int timer_resume(struct sys_device *dev)
1071 vxtime.last_tsc = get_cycles_sync(); 1066 vxtime.last_tsc = get_cycles_sync();
1072 write_sequnlock_irqrestore(&xtime_lock,flags); 1067 write_sequnlock_irqrestore(&xtime_lock,flags);
1073 jiffies += sleep_length; 1068 jiffies += sleep_length;
1074 wall_jiffies += sleep_length;
1075 monotonic_base += sleep_length * (NSEC_PER_SEC/HZ); 1069 monotonic_base += sleep_length * (NSEC_PER_SEC/HZ);
1076 touch_softlockup_watchdog(); 1070 touch_softlockup_watchdog();
1077 return 0; 1071 return 0;
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S
index d0564f1bcb0b..b9df2ab6529f 100644
--- a/arch/x86_64/kernel/vmlinux.lds.S
+++ b/arch/x86_64/kernel/vmlinux.lds.S
@@ -67,13 +67,6 @@ SECTIONS
67 67
68 _edata = .; /* End of data section */ 68 _edata = .; /* End of data section */
69 69
70 __bss_start = .; /* BSS */
71 .bss : AT(ADDR(.bss) - LOAD_OFFSET) {
72 *(.bss.page_aligned)
73 *(.bss)
74 }
75 __bss_stop = .;
76
77 . = ALIGN(PAGE_SIZE); 70 . = ALIGN(PAGE_SIZE);
78 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); 71 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
79 .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) { 72 .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) {
@@ -108,9 +101,6 @@ SECTIONS
108 .vgetcpu_mode : AT(VLOAD(.vgetcpu_mode)) { *(.vgetcpu_mode) } 101 .vgetcpu_mode : AT(VLOAD(.vgetcpu_mode)) { *(.vgetcpu_mode) }
109 vgetcpu_mode = VVIRT(.vgetcpu_mode); 102 vgetcpu_mode = VVIRT(.vgetcpu_mode);
110 103
111 .wall_jiffies : AT(VLOAD(.wall_jiffies)) { *(.wall_jiffies) }
112 wall_jiffies = VVIRT(.wall_jiffies);
113
114 .sys_tz : AT(VLOAD(.sys_tz)) { *(.sys_tz) } 104 .sys_tz : AT(VLOAD(.sys_tz)) { *(.sys_tz) }
115 sys_tz = VVIRT(.sys_tz); 105 sys_tz = VVIRT(.sys_tz);
116 106
@@ -229,6 +219,13 @@ SECTIONS
229 . = ALIGN(4096); 219 . = ALIGN(4096);
230 __nosave_end = .; 220 __nosave_end = .;
231 221
222 __bss_start = .; /* BSS */
223 .bss : AT(ADDR(.bss) - LOAD_OFFSET) {
224 *(.bss.page_aligned)
225 *(.bss)
226 }
227 __bss_stop = .;
228
232 _end = . ; 229 _end = . ;
233 230
234 /* Sections to be discarded */ 231 /* Sections to be discarded */
diff --git a/arch/x86_64/kernel/vsyscall.c b/arch/x86_64/kernel/vsyscall.c
index ac48c3857ddb..a98b460af6a1 100644
--- a/arch/x86_64/kernel/vsyscall.c
+++ b/arch/x86_64/kernel/vsyscall.c
@@ -66,8 +66,7 @@ static __always_inline void do_vgettimeofday(struct timeval * tv)
66 sequence = read_seqbegin(&__xtime_lock); 66 sequence = read_seqbegin(&__xtime_lock);
67 67
68 sec = __xtime.tv_sec; 68 sec = __xtime.tv_sec;
69 usec = (__xtime.tv_nsec / 1000) + 69 usec = __xtime.tv_nsec / 1000;
70 (__jiffies - __wall_jiffies) * (1000000 / HZ);
71 70
72 if (__vxtime.mode != VXTIME_HPET) { 71 if (__vxtime.mode != VXTIME_HPET) {
73 t = get_cycles_sync(); 72 t = get_cycles_sync();
@@ -155,8 +154,8 @@ vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
155 We do this here because otherwise user space would do it on 154 We do this here because otherwise user space would do it on
156 its own in a likely inferior way (no access to jiffies). 155 its own in a likely inferior way (no access to jiffies).
157 If you don't like it pass NULL. */ 156 If you don't like it pass NULL. */
158 if (tcache && tcache->t0 == (j = __jiffies)) { 157 if (tcache && tcache->blob[0] == (j = __jiffies)) {
159 p = tcache->t1; 158 p = tcache->blob[1];
160 } else if (__vgetcpu_mode == VGETCPU_RDTSCP) { 159 } else if (__vgetcpu_mode == VGETCPU_RDTSCP) {
161 /* Load per CPU data from RDTSCP */ 160 /* Load per CPU data from RDTSCP */
162 rdtscp(dummy, dummy, p); 161 rdtscp(dummy, dummy, p);
@@ -165,8 +164,8 @@ vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
165 asm("lsl %1,%0" : "=r" (p) : "r" (__PER_CPU_SEG)); 164 asm("lsl %1,%0" : "=r" (p) : "r" (__PER_CPU_SEG));
166 } 165 }
167 if (tcache) { 166 if (tcache) {
168 tcache->t0 = j; 167 tcache->blob[0] = j;
169 tcache->t1 = p; 168 tcache->blob[1] = p;
170 } 169 }
171 if (cpu) 170 if (cpu)
172 *cpu = p & 0xfff; 171 *cpu = p & 0xfff;
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index 3e16fe08150e..19c72520a868 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -463,19 +463,6 @@ void online_page(struct page *page)
463 463
464#ifdef CONFIG_MEMORY_HOTPLUG 464#ifdef CONFIG_MEMORY_HOTPLUG
465/* 465/*
466 * XXX: memory_add_physaddr_to_nid() is to find node id from physical address
467 * via probe interface of sysfs. If acpi notifies hot-add event, then it
468 * can tell node id by searching dsdt. But, probe interface doesn't have
469 * node id. So, return 0 as node id at this time.
470 */
471#ifdef CONFIG_NUMA
472int memory_add_physaddr_to_nid(u64 start)
473{
474 return 0;
475}
476#endif
477
478/*
479 * Memory is added always to NORMAL zone. This means you will never get 466 * Memory is added always to NORMAL zone. This means you will never get
480 * additional DMA/DMA32 memory. 467 * additional DMA/DMA32 memory.
481 */ 468 */
@@ -487,12 +474,12 @@ int arch_add_memory(int nid, u64 start, u64 size)
487 unsigned long nr_pages = size >> PAGE_SHIFT; 474 unsigned long nr_pages = size >> PAGE_SHIFT;
488 int ret; 475 int ret;
489 476
477 init_memory_mapping(start, (start + size -1));
478
490 ret = __add_pages(zone, start_pfn, nr_pages); 479 ret = __add_pages(zone, start_pfn, nr_pages);
491 if (ret) 480 if (ret)
492 goto error; 481 goto error;
493 482
494 init_memory_mapping(start, (start + size -1));
495
496 return ret; 483 return ret;
497error: 484error:
498 printk("%s: Problem encountered in __add_pages!\n", __func__); 485 printk("%s: Problem encountered in __add_pages!\n", __func__);
@@ -506,7 +493,24 @@ int remove_memory(u64 start, u64 size)
506} 493}
507EXPORT_SYMBOL_GPL(remove_memory); 494EXPORT_SYMBOL_GPL(remove_memory);
508 495
509#else /* CONFIG_MEMORY_HOTPLUG */ 496#ifndef CONFIG_ACPI_NUMA
497int memory_add_physaddr_to_nid(u64 start)
498{
499 return 0;
500}
501EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
502#endif
503
504#ifndef CONFIG_ACPI_NUMA
505int memory_add_physaddr_to_nid(u64 start)
506{
507 return 0;
508}
509#endif
510
511#endif /* CONFIG_MEMORY_HOTPLUG */
512
513#ifdef CONFIG_MEMORY_HOTPLUG_RESERVE
510/* 514/*
511 * Memory Hotadd without sparsemem. The mem_maps have been allocated in advance, 515 * Memory Hotadd without sparsemem. The mem_maps have been allocated in advance,
512 * just online the pages. 516 * just online the pages.
@@ -532,7 +536,7 @@ int __add_pages(struct zone *z, unsigned long start_pfn, unsigned long nr_pages)
532 } 536 }
533 return err; 537 return err;
534} 538}
535#endif /* CONFIG_MEMORY_HOTPLUG */ 539#endif
536 540
537static struct kcore_list kcore_mem, kcore_vmalloc, kcore_kernel, kcore_modules, 541static struct kcore_list kcore_mem, kcore_vmalloc, kcore_kernel, kcore_modules,
538 kcore_vsyscall; 542 kcore_vsyscall;
diff --git a/arch/x86_64/mm/ioremap.c b/arch/x86_64/mm/ioremap.c
index 45d7d823c3b8..c6e5e8d401a4 100644
--- a/arch/x86_64/mm/ioremap.c
+++ b/arch/x86_64/mm/ioremap.c
@@ -12,117 +12,16 @@
12#include <linux/init.h> 12#include <linux/init.h>
13#include <linux/slab.h> 13#include <linux/slab.h>
14#include <linux/module.h> 14#include <linux/module.h>
15#include <asm/io.h> 15#include <linux/io.h>
16#include <asm/pgalloc.h> 16#include <asm/pgalloc.h>
17#include <asm/fixmap.h> 17#include <asm/fixmap.h>
18#include <asm/cacheflush.h>
19#include <asm/tlbflush.h> 18#include <asm/tlbflush.h>
19#include <asm/cacheflush.h>
20#include <asm/proto.h> 20#include <asm/proto.h>
21 21
22#define ISA_START_ADDRESS 0xa0000 22#define ISA_START_ADDRESS 0xa0000
23#define ISA_END_ADDRESS 0x100000 23#define ISA_END_ADDRESS 0x100000
24 24
25static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
26 unsigned long phys_addr, unsigned long flags)
27{
28 unsigned long end;
29 unsigned long pfn;
30
31 address &= ~PMD_MASK;
32 end = address + size;
33 if (end > PMD_SIZE)
34 end = PMD_SIZE;
35 if (address >= end)
36 BUG();
37 pfn = phys_addr >> PAGE_SHIFT;
38 do {
39 if (!pte_none(*pte)) {
40 printk("remap_area_pte: page already exists\n");
41 BUG();
42 }
43 set_pte(pte, pfn_pte(pfn, __pgprot(_PAGE_PRESENT | _PAGE_RW |
44 _PAGE_GLOBAL | _PAGE_DIRTY | _PAGE_ACCESSED | flags)));
45 address += PAGE_SIZE;
46 pfn++;
47 pte++;
48 } while (address && (address < end));
49}
50
51static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size,
52 unsigned long phys_addr, unsigned long flags)
53{
54 unsigned long end;
55
56 address &= ~PUD_MASK;
57 end = address + size;
58 if (end > PUD_SIZE)
59 end = PUD_SIZE;
60 phys_addr -= address;
61 if (address >= end)
62 BUG();
63 do {
64 pte_t * pte = pte_alloc_kernel(pmd, address);
65 if (!pte)
66 return -ENOMEM;
67 remap_area_pte(pte, address, end - address, address + phys_addr, flags);
68 address = (address + PMD_SIZE) & PMD_MASK;
69 pmd++;
70 } while (address && (address < end));
71 return 0;
72}
73
74static inline int remap_area_pud(pud_t * pud, unsigned long address, unsigned long size,
75 unsigned long phys_addr, unsigned long flags)
76{
77 unsigned long end;
78
79 address &= ~PGDIR_MASK;
80 end = address + size;
81 if (end > PGDIR_SIZE)
82 end = PGDIR_SIZE;
83 phys_addr -= address;
84 if (address >= end)
85 BUG();
86 do {
87 pmd_t * pmd = pmd_alloc(&init_mm, pud, address);
88 if (!pmd)
89 return -ENOMEM;
90 remap_area_pmd(pmd, address, end - address, address + phys_addr, flags);
91 address = (address + PUD_SIZE) & PUD_MASK;
92 pud++;
93 } while (address && (address < end));
94 return 0;
95}
96
97static int remap_area_pages(unsigned long address, unsigned long phys_addr,
98 unsigned long size, unsigned long flags)
99{
100 int error;
101 pgd_t *pgd;
102 unsigned long end = address + size;
103
104 phys_addr -= address;
105 pgd = pgd_offset_k(address);
106 flush_cache_all();
107 if (address >= end)
108 BUG();
109 do {
110 pud_t *pud;
111 pud = pud_alloc(&init_mm, pgd, address);
112 error = -ENOMEM;
113 if (!pud)
114 break;
115 if (remap_area_pud(pud, address, end - address,
116 phys_addr + address, flags))
117 break;
118 error = 0;
119 address = (address + PGDIR_SIZE) & PGDIR_MASK;
120 pgd++;
121 } while (address && (address < end));
122 flush_tlb_all();
123 return error;
124}
125
126/* 25/*
127 * Fix up the linear direct mapping of the kernel to avoid cache attribute 26 * Fix up the linear direct mapping of the kernel to avoid cache attribute
128 * conflicts. 27 * conflicts.
@@ -165,6 +64,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
165 void * addr; 64 void * addr;
166 struct vm_struct * area; 65 struct vm_struct * area;
167 unsigned long offset, last_addr; 66 unsigned long offset, last_addr;
67 pgprot_t pgprot;
168 68
169 /* Don't allow wraparound or zero size */ 69 /* Don't allow wraparound or zero size */
170 last_addr = phys_addr + size - 1; 70 last_addr = phys_addr + size - 1;
@@ -194,6 +94,8 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
194 } 94 }
195#endif 95#endif
196 96
97 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_GLOBAL
98 | _PAGE_DIRTY | _PAGE_ACCESSED | flags);
197 /* 99 /*
198 * Mappings have to be page-aligned 100 * Mappings have to be page-aligned
199 */ 101 */
@@ -209,7 +111,8 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
209 return NULL; 111 return NULL;
210 area->phys_addr = phys_addr; 112 area->phys_addr = phys_addr;
211 addr = area->addr; 113 addr = area->addr;
212 if (remap_area_pages((unsigned long) addr, phys_addr, size, flags)) { 114 if (ioremap_page_range((unsigned long)addr, (unsigned long)addr + size,
115 phys_addr, pgprot)) {
213 remove_vm_area((void *)(PAGE_MASK & (unsigned long) addr)); 116 remove_vm_area((void *)(PAGE_MASK & (unsigned long) addr));
214 return NULL; 117 return NULL;
215 } 118 }
diff --git a/arch/x86_64/mm/srat.c b/arch/x86_64/mm/srat.c
index f8c04d6935c9..3cc0544e25f5 100644
--- a/arch/x86_64/mm/srat.c
+++ b/arch/x86_64/mm/srat.c
@@ -23,22 +23,13 @@
23 23
24int acpi_numa __initdata; 24int acpi_numa __initdata;
25 25
26#if (defined(CONFIG_ACPI_HOTPLUG_MEMORY) || \
27 defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)) \
28 && !defined(CONFIG_MEMORY_HOTPLUG)
29#define RESERVE_HOTADD 1
30#endif
31
32static struct acpi_table_slit *acpi_slit; 26static struct acpi_table_slit *acpi_slit;
33 27
34static nodemask_t nodes_parsed __initdata; 28static nodemask_t nodes_parsed __initdata;
35static struct bootnode nodes[MAX_NUMNODES] __initdata; 29static struct bootnode nodes[MAX_NUMNODES] __initdata;
36static struct bootnode nodes_add[MAX_NUMNODES] __initdata; 30static struct bootnode nodes_add[MAX_NUMNODES];
37static int found_add_area __initdata; 31static int found_add_area __initdata;
38int hotadd_percent __initdata = 0; 32int hotadd_percent __initdata = 0;
39#ifndef RESERVE_HOTADD
40#define hotadd_percent 0 /* Ignore all settings */
41#endif
42 33
43/* Too small nodes confuse the VM badly. Usually they result 34/* Too small nodes confuse the VM badly. Usually they result
44 from BIOS bugs. */ 35 from BIOS bugs. */
@@ -160,7 +151,7 @@ acpi_numa_processor_affinity_init(struct acpi_table_processor_affinity *pa)
160 pxm, pa->apic_id, node); 151 pxm, pa->apic_id, node);
161} 152}
162 153
163#ifdef RESERVE_HOTADD 154#ifdef CONFIG_MEMORY_HOTPLUG_RESERVE
164/* 155/*
165 * Protect against too large hotadd areas that would fill up memory. 156 * Protect against too large hotadd areas that would fill up memory.
166 */ 157 */
@@ -203,15 +194,37 @@ static int hotadd_enough_memory(struct bootnode *nd)
203 return 1; 194 return 1;
204} 195}
205 196
197static int update_end_of_memory(unsigned long end)
198{
199 found_add_area = 1;
200 if ((end >> PAGE_SHIFT) > end_pfn)
201 end_pfn = end >> PAGE_SHIFT;
202 return 1;
203}
204
205static inline int save_add_info(void)
206{
207 return hotadd_percent > 0;
208}
209#else
210int update_end_of_memory(unsigned long end) {return 0;}
211static int hotadd_enough_memory(struct bootnode *nd) {return 1;}
212#ifdef CONFIG_MEMORY_HOTPLUG_SPARSE
213static inline int save_add_info(void) {return 1;}
214#else
215static inline int save_add_info(void) {return 0;}
216#endif
217#endif
206/* 218/*
207 * It is fine to add this area to the nodes data it will be used later 219 * Update nodes_add and decide if to include add are in the zone.
220 * Both SPARSE and RESERVE need nodes_add infomation.
208 * This code supports one contigious hot add area per node. 221 * This code supports one contigious hot add area per node.
209 */ 222 */
210static int reserve_hotadd(int node, unsigned long start, unsigned long end) 223static int reserve_hotadd(int node, unsigned long start, unsigned long end)
211{ 224{
212 unsigned long s_pfn = start >> PAGE_SHIFT; 225 unsigned long s_pfn = start >> PAGE_SHIFT;
213 unsigned long e_pfn = end >> PAGE_SHIFT; 226 unsigned long e_pfn = end >> PAGE_SHIFT;
214 int changed = 0; 227 int ret = 0, changed = 0;
215 struct bootnode *nd = &nodes_add[node]; 228 struct bootnode *nd = &nodes_add[node];
216 229
217 /* I had some trouble with strange memory hotadd regions breaking 230 /* I had some trouble with strange memory hotadd regions breaking
@@ -240,7 +253,6 @@ static int reserve_hotadd(int node, unsigned long start, unsigned long end)
240 253
241 /* Looks good */ 254 /* Looks good */
242 255
243 found_add_area = 1;
244 if (nd->start == nd->end) { 256 if (nd->start == nd->end) {
245 nd->start = start; 257 nd->start = start;
246 nd->end = end; 258 nd->end = end;
@@ -258,14 +270,12 @@ static int reserve_hotadd(int node, unsigned long start, unsigned long end)
258 printk(KERN_ERR "SRAT: Hotplug zone not continuous. Partly ignored\n"); 270 printk(KERN_ERR "SRAT: Hotplug zone not continuous. Partly ignored\n");
259 } 271 }
260 272
261 if ((nd->end >> PAGE_SHIFT) > end_pfn) 273 ret = update_end_of_memory(nd->end);
262 end_pfn = nd->end >> PAGE_SHIFT;
263 274
264 if (changed) 275 if (changed)
265 printk(KERN_INFO "SRAT: hot plug zone found %Lx - %Lx\n", nd->start, nd->end); 276 printk(KERN_INFO "SRAT: hot plug zone found %Lx - %Lx\n", nd->start, nd->end);
266 return 0; 277 return ret;
267} 278}
268#endif
269 279
270/* Callback for parsing of the Proximity Domain <-> Memory Area mappings */ 280/* Callback for parsing of the Proximity Domain <-> Memory Area mappings */
271void __init 281void __init
@@ -284,7 +294,7 @@ acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma)
284 } 294 }
285 if (ma->flags.enabled == 0) 295 if (ma->flags.enabled == 0)
286 return; 296 return;
287 if (ma->flags.hot_pluggable && hotadd_percent == 0) 297 if (ma->flags.hot_pluggable && !save_add_info())
288 return; 298 return;
289 start = ma->base_addr_lo | ((u64)ma->base_addr_hi << 32); 299 start = ma->base_addr_lo | ((u64)ma->base_addr_hi << 32);
290 end = start + (ma->length_lo | ((u64)ma->length_hi << 32)); 300 end = start + (ma->length_lo | ((u64)ma->length_hi << 32));
@@ -327,15 +337,13 @@ acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma)
327 push_node_boundaries(node, nd->start >> PAGE_SHIFT, 337 push_node_boundaries(node, nd->start >> PAGE_SHIFT,
328 nd->end >> PAGE_SHIFT); 338 nd->end >> PAGE_SHIFT);
329 339
330#ifdef RESERVE_HOTADD 340 if (ma->flags.hot_pluggable && !reserve_hotadd(node, start, end) < 0) {
331 if (ma->flags.hot_pluggable && reserve_hotadd(node, start, end) < 0) {
332 /* Ignore hotadd region. Undo damage */ 341 /* Ignore hotadd region. Undo damage */
333 printk(KERN_NOTICE "SRAT: Hotplug region ignored\n"); 342 printk(KERN_NOTICE "SRAT: Hotplug region ignored\n");
334 *nd = oldnode; 343 *nd = oldnode;
335 if ((nd->start | nd->end) == 0) 344 if ((nd->start | nd->end) == 0)
336 node_clear(node, nodes_parsed); 345 node_clear(node, nodes_parsed);
337 } 346 }
338#endif
339} 347}
340 348
341/* Sanity check to catch more bad SRATs (they are amazingly common). 349/* Sanity check to catch more bad SRATs (they are amazingly common).
@@ -351,7 +359,6 @@ static int nodes_cover_memory(void)
351 unsigned long e = nodes[i].end >> PAGE_SHIFT; 359 unsigned long e = nodes[i].end >> PAGE_SHIFT;
352 pxmram += e - s; 360 pxmram += e - s;
353 pxmram -= absent_pages_in_range(s, e); 361 pxmram -= absent_pages_in_range(s, e);
354 pxmram -= nodes_add[i].end - nodes_add[i].start;
355 if ((long)pxmram < 0) 362 if ((long)pxmram < 0)
356 pxmram = 0; 363 pxmram = 0;
357 } 364 }
@@ -459,3 +466,16 @@ int __node_distance(int a, int b)
459} 466}
460 467
461EXPORT_SYMBOL(__node_distance); 468EXPORT_SYMBOL(__node_distance);
469
470int memory_add_physaddr_to_nid(u64 start)
471{
472 int i, ret = 0;
473
474 for_each_node(i)
475 if (nodes_add[i].start <= start && nodes_add[i].end > start)
476 ret = i;
477
478 return ret;
479}
480EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
481
diff --git a/arch/xtensa/kernel/syscalls.c b/arch/xtensa/kernel/syscalls.c
index 4688ba2db84d..d9285d4d5565 100644
--- a/arch/xtensa/kernel/syscalls.c
+++ b/arch/xtensa/kernel/syscalls.c
@@ -128,7 +128,7 @@ out:
128 128
129int sys_uname(struct old_utsname * name) 129int sys_uname(struct old_utsname * name)
130{ 130{
131 if (name && !copy_to_user(name, &system_utsname, sizeof (*name))) 131 if (name && !copy_to_user(name, utsname(), sizeof (*name)))
132 return 0; 132 return 0;
133 return -EFAULT; 133 return -EFAULT;
134} 134}
@@ -266,3 +266,23 @@ void system_call (struct pt_regs *regs)
266 regs->areg[2] = res; 266 regs->areg[2] = res;
267 do_syscall_trace(); 267 do_syscall_trace();
268} 268}
269
270/*
271 * Do a system call from kernel instead of calling sys_execve so we
272 * end up with proper pt_regs.
273 */
274int kernel_execve(const char *filename, char *const argv[], char *const envp[])
275{
276 long __res;
277 asm volatile (
278 " mov a5, %2 \n"
279 " mov a4, %4 \n"
280 " mov a3, %3 \n"
281 " movi a2, %1 \n"
282 " syscall \n"
283 " mov %0, a2 \n"
284 : "=a" (__res)
285 : "i" (__NR_execve), "a" (filename), "a" (argv), "a" (envp)
286 : "a2", "a3", "a4", "a5");
287 return __res;
288}
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 241db201f40e..37347e369987 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -26,8 +26,6 @@
26#include <asm/platform.h> 26#include <asm/platform.h>
27 27
28 28
29extern volatile unsigned long wall_jiffies;
30
31DEFINE_SPINLOCK(rtc_lock); 29DEFINE_SPINLOCK(rtc_lock);
32EXPORT_SYMBOL(rtc_lock); 30EXPORT_SYMBOL(rtc_lock);
33 31
@@ -110,7 +108,6 @@ int do_settimeofday(struct timespec *tv)
110 */ 108 */
111 ccount = get_ccount(); 109 ccount = get_ccount();
112 nsec -= (ccount - last_ccount_stamp) * CCOUNT_NSEC; 110 nsec -= (ccount - last_ccount_stamp) * CCOUNT_NSEC;
113 nsec -= (jiffies - wall_jiffies) * CCOUNT_PER_JIFFY * CCOUNT_NSEC;
114 111
115 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 112 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
116 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 113 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);
@@ -129,7 +126,7 @@ EXPORT_SYMBOL(do_settimeofday);
129void do_gettimeofday(struct timeval *tv) 126void do_gettimeofday(struct timeval *tv)
130{ 127{
131 unsigned long flags; 128 unsigned long flags;
132 unsigned long sec, usec, delta, lost, seq; 129 unsigned long sec, usec, delta, seq;
133 130
134 do { 131 do {
135 seq = read_seqbegin_irqsave(&xtime_lock, flags); 132 seq = read_seqbegin_irqsave(&xtime_lock, flags);
@@ -137,12 +134,9 @@ void do_gettimeofday(struct timeval *tv)
137 delta = get_ccount() - last_ccount_stamp; 134 delta = get_ccount() - last_ccount_stamp;
138 sec = xtime.tv_sec; 135 sec = xtime.tv_sec;
139 usec = (xtime.tv_nsec / NSEC_PER_USEC); 136 usec = (xtime.tv_nsec / NSEC_PER_USEC);
140
141 lost = jiffies - wall_jiffies;
142
143 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); 137 } while (read_seqretry_irqrestore(&xtime_lock, seq, flags));
144 138
145 usec += lost * (1000000UL/HZ) + (delta * CCOUNT_NSEC) / NSEC_PER_USEC; 139 usec += (delta * CCOUNT_NSEC) / NSEC_PER_USEC;
146 for (; usec >= 1000000; sec++, usec -= 1000000) 140 for (; usec >= 1000000; sec++, usec -= 1000000)
147 ; 141 ;
148 142
@@ -179,8 +173,7 @@ again:
179 173
180 if (ntp_synced() && 174 if (ntp_synced() &&
181 xtime.tv_sec - last_rtc_update >= 659 && 175 xtime.tv_sec - last_rtc_update >= 659 &&
182 abs((xtime.tv_nsec/1000)-(1000000-1000000/HZ))<5000000/HZ && 176 abs((xtime.tv_nsec/1000)-(1000000-1000000/HZ))<5000000/HZ) {
183 jiffies - wall_jiffies == 1) {
184 177
185 if (platform_set_rtc_time(xtime.tv_sec+1) == 0) 178 if (platform_set_rtc_time(xtime.tv_sec+1) == 0)
186 last_rtc_update = xtime.tv_sec+1; 179 last_rtc_update = xtime.tv_sec+1;
diff --git a/arch/xtensa/platform-iss/console.c b/arch/xtensa/platform-iss/console.c
index 22d3c571a7bc..5c947cae7520 100644
--- a/arch/xtensa/platform-iss/console.c
+++ b/arch/xtensa/platform-iss/console.c
@@ -191,7 +191,7 @@ static int rs_read_proc(char *page, char **start, off_t off, int count,
191} 191}
192 192
193 193
194static struct tty_operations serial_ops = { 194static const struct tty_operations serial_ops = {
195 .open = rs_open, 195 .open = rs_open,
196 .close = rs_close, 196 .close = rs_close,
197 .write = rs_write, 197 .write = rs_write,