aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-13 07:56:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-13 07:56:44 -0400
commit73909f7a665991013dcff42a815fda76d3a7300a (patch)
tree84bb9899e2204bf6af6fd4f249bb909c2a89faf8
parentd6672c501852d577097f6757c311d937aca0b04b (diff)
parent30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff)
Merge commit 'v2.6.27-rc3' into core/urgent
-rw-r--r--Documentation/DocBook/Makefile7
-rw-r--r--Documentation/DocBook/procfs_example.c4
-rw-r--r--Documentation/Makefile3
-rw-r--r--Documentation/accounting/Makefile10
-rw-r--r--Documentation/accounting/getdelays.c25
-rw-r--r--Documentation/auxdisplay/Makefile10
-rw-r--r--Documentation/connector/Makefile11
-rw-r--r--Documentation/cpu-hotplug.txt5
-rw-r--r--Documentation/feature-removal-schedule.txt22
-rw-r--r--Documentation/filesystems/configfs/Makefile3
-rw-r--r--Documentation/filesystems/quota.txt22
-rw-r--r--Documentation/ia64/Makefile8
-rw-r--r--Documentation/lguest/lguest.c23
-rw-r--r--Documentation/networking/Makefile8
-rw-r--r--Documentation/networking/ifenslave.c2
-rw-r--r--Documentation/pcmcia/Makefile10
-rw-r--r--Documentation/pcmcia/crc32hash.c2
-rw-r--r--Documentation/spi/Makefile11
-rw-r--r--Documentation/video4linux/Makefile8
-rw-r--r--Documentation/vm/Makefile8
-rw-r--r--Documentation/watchdog/src/Makefile8
-rw-r--r--MAINTAINERS10
-rw-r--r--Makefile7
-rw-r--r--arch/avr32/Makefile14
-rw-r--r--arch/avr32/boards/atngw100/setup.c2
-rw-r--r--arch/avr32/boards/atstk1000/atstk1002.c2
-rw-r--r--arch/avr32/configs/atngw100_defconfig106
-rw-r--r--arch/avr32/configs/atstk1002_defconfig153
-rw-r--r--arch/avr32/configs/atstk1003_defconfig140
-rw-r--r--arch/avr32/configs/atstk1004_defconfig46
-rw-r--r--arch/avr32/configs/atstk1006_defconfig1304
-rw-r--r--arch/avr32/mach-at32ap/Makefile1
-rw-r--r--arch/avr32/mach-at32ap/at32ap700x.c26
-rw-r--r--arch/avr32/mach-at32ap/clock.c2
-rw-r--r--arch/avr32/mach-at32ap/hmatrix.c88
-rw-r--r--arch/avr32/mach-at32ap/hmatrix.h182
-rw-r--r--arch/avr32/mach-at32ap/include/mach/at32ap700x.h37
-rw-r--r--arch/avr32/mach-at32ap/include/mach/chip.h19
-rw-r--r--arch/avr32/mach-at32ap/include/mach/hmatrix.h55
-rw-r--r--arch/avr32/mach-at32ap/pm.c4
-rw-r--r--arch/avr32/mach-at32ap/pm.h12
-rw-r--r--arch/h8300/mm/init.c9
-rw-r--r--arch/ia64/include/asm/sal.h2
-rw-r--r--arch/ia64/kernel/head.S26
-rw-r--r--arch/ia64/kernel/setup.c18
-rw-r--r--arch/ia64/kernel/smpboot.c2
-rw-r--r--arch/ia64/kernel/vmlinux.lds.S3
-rw-r--r--arch/ia64/mm/contig.c10
-rw-r--r--arch/ia64/mm/discontig.c6
-rw-r--r--arch/m68k/kernel/entry.S6
-rw-r--r--arch/m68knommu/include/asm/unistd.h8
-rw-r--r--arch/m68knommu/kernel/syscalltable.S6
-rw-r--r--arch/powerpc/Kconfig3
-rw-r--r--arch/powerpc/boot/dts/warp.dts22
-rw-r--r--arch/powerpc/configs/40x/ep405_defconfig207
-rw-r--r--arch/powerpc/configs/40x/kilauea_defconfig196
-rw-r--r--arch/powerpc/configs/40x/makalu_defconfig196
-rw-r--r--arch/powerpc/configs/40x/walnut_defconfig203
-rw-r--r--arch/powerpc/configs/44x/bamboo_defconfig206
-rw-r--r--arch/powerpc/configs/44x/canyonlands_defconfig116
-rw-r--r--arch/powerpc/configs/44x/ebony_defconfig207
-rw-r--r--arch/powerpc/configs/44x/katmai_defconfig259
-rw-r--r--arch/powerpc/configs/44x/rainier_defconfig207
-rw-r--r--arch/powerpc/configs/44x/sam440ep_defconfig109
-rw-r--r--arch/powerpc/configs/44x/sequoia_defconfig207
-rw-r--r--arch/powerpc/configs/44x/taishan_defconfig208
-rw-r--r--arch/powerpc/configs/44x/virtex5_defconfig100
-rw-r--r--arch/powerpc/configs/44x/warp_defconfig232
-rw-r--r--arch/powerpc/configs/ppc40x_defconfig374
-rw-r--r--arch/powerpc/configs/ppc44x_defconfig375
-rw-r--r--arch/powerpc/include/asm/mmu-hash64.h2
-rw-r--r--arch/powerpc/kernel/pci-common.c17
-rw-r--r--arch/powerpc/kernel/rtas.c5
-rw-r--r--arch/powerpc/mm/hash_utils_64.c63
-rw-r--r--arch/powerpc/mm/init_64.c9
-rw-r--r--arch/powerpc/platforms/44x/warp-nand.c2
-rw-r--r--arch/powerpc/platforms/44x/warp.c25
-rw-r--r--arch/x86/Kconfig1
-rw-r--r--arch/x86/kernel/apic_32.c14
-rw-r--r--arch/x86/kernel/cpu/bugs.c6
-rw-r--r--arch/x86/kernel/io_apic_32.c6
-rw-r--r--arch/x86/kernel/io_apic_64.c25
-rw-r--r--arch/x86/kernel/mpparse.c11
-rw-r--r--arch/x86/kernel/pci-calgary_64.c2
-rw-r--r--arch/x86/kernel/setup.c22
-rw-r--r--arch/x86/kernel/smpboot.c22
-rw-r--r--arch/x86/kernel/vmi_32.c3
-rw-r--r--arch/x86/mm/Makefile3
-rw-r--r--arch/x86/mm/pgtable.c3
-rw-r--r--drivers/char/agp/agp.h3
-rw-r--r--drivers/char/agp/ali-agp.c10
-rw-r--r--drivers/char/agp/amd-k7-agp.c10
-rw-r--r--drivers/char/agp/amd64-agp.c51
-rw-r--r--drivers/char/agp/ati-agp.c7
-rw-r--r--drivers/char/agp/backend.c28
-rw-r--r--drivers/char/agp/generic.c41
-rw-r--r--drivers/char/agp/intel-agp.c83
-rw-r--r--drivers/char/agp/isoch.c37
-rw-r--r--drivers/char/agp/sis-agp.c17
-rw-r--r--drivers/char/agp/sworks-agp.c25
-rw-r--r--drivers/char/agp/uninorth-agp.c32
-rw-r--r--drivers/char/hvc_console.c5
-rw-r--r--drivers/char/rtc.c1
-rw-r--r--drivers/char/tty_io.c2
-rw-r--r--drivers/cpuidle/sysfs.c29
-rw-r--r--drivers/firmware/memmap.c61
-rw-r--r--drivers/hwmon/lm75.c114
-rw-r--r--drivers/i2c/Kconfig14
-rw-r--r--drivers/i2c/algos/Kconfig11
-rw-r--r--drivers/i2c/busses/i2c-amd756-s4882.c9
-rw-r--r--drivers/i2c/busses/i2c-nforce2-s4985.c5
-rw-r--r--drivers/i2c/chips/at24.c8
-rw-r--r--drivers/i2c/i2c-core.c11
-rw-r--r--drivers/i2c/i2c-dev.c4
-rw-r--r--drivers/infiniband/hw/ehca/ehca_classes.h9
-rw-r--r--drivers/infiniband/hw/ehca/ehca_qes.h1
-rw-r--r--drivers/infiniband/hw/ehca/ehca_qp.c48
-rw-r--r--drivers/infiniband/hw/ehca/ehca_reqs.c60
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_cm.c17
-rw-r--r--drivers/lguest/page_tables.c25
-rw-r--r--drivers/mfd/Kconfig21
-rw-r--r--drivers/mfd/Makefile2
-rw-r--r--drivers/mfd/t7l66xb.c419
-rw-r--r--drivers/mfd/tc6387xb.c181
-rw-r--r--drivers/mfd/tc6393xb.c159
-rw-r--r--drivers/misc/sgi-gru/grutables.h2
-rw-r--r--drivers/mmc/host/Kconfig6
-rw-r--r--drivers/mmc/host/Makefile1
-rw-r--r--drivers/mmc/host/tmio_mmc.c691
-rw-r--r--drivers/mmc/host/tmio_mmc.h194
-rw-r--r--drivers/mtd/nand/Kconfig7
-rw-r--r--drivers/mtd/nand/Makefile1
-rw-r--r--drivers/mtd/nand/tmio_nand.c556
-rw-r--r--drivers/net/atl1e/atl1e_main.c4
-rw-r--r--drivers/pci/msi.c5
-rw-r--r--drivers/pci/pci.c3
-rw-r--r--drivers/pci/probe.c54
-rw-r--r--drivers/pci/quirks.c7
-rw-r--r--drivers/rtc/rtc-dev.c12
-rw-r--r--drivers/rtc/rtc-isl1208.c2
-rw-r--r--drivers/scsi/device_handler/scsi_dh_alua.c2
-rw-r--r--drivers/scsi/device_handler/scsi_dh_emc.c2
-rw-r--r--drivers/scsi/device_handler/scsi_dh_hp_sw.c2
-rw-r--r--drivers/scsi/device_handler/scsi_dh_rdac.c2
-rw-r--r--drivers/usb/misc/isight_firmware.c4
-rw-r--r--drivers/video/atmel_lcdfb.c13
-rw-r--r--drivers/video/aty/radeon_accel.c8
-rw-r--r--drivers/video/console/fbcon.c4
-rw-r--r--drivers/video/console/fbcon.h2
-rw-r--r--drivers/video/matrox/i2c-matroxfb.c21
-rw-r--r--drivers/video/matrox/matroxfb_maven.c97
-rw-r--r--drivers/watchdog/Kconfig5
-rw-r--r--drivers/watchdog/Makefile5
-rw-r--r--drivers/watchdog/at91rm9200_wdt.c2
-rw-r--r--drivers/watchdog/ixp4xx_wdt.c2
-rw-r--r--drivers/watchdog/pcwd.c2
-rw-r--r--drivers/watchdog/shwdt.c24
-rw-r--r--drivers/watchdog/txx9wdt.c2
-rw-r--r--drivers/watchdog/wdt285.c2
-rw-r--r--fs/eventpoll.c5
-rw-r--r--fs/lockd/svc4proc.c4
-rw-r--r--fs/lockd/svcproc.c4
-rw-r--r--fs/nfsd/export.c6
-rw-r--r--fs/reiserfs/super.c1
-rw-r--r--fs/seq_file.c14
-rw-r--r--include/asm-avr32/arch-at32ap/at32ap700x.h49
-rw-r--r--include/asm-avr32/arch-at32ap/board.h121
-rw-r--r--include/asm-avr32/arch-at32ap/cpu.h35
-rw-r--r--include/asm-avr32/arch-at32ap/gpio.h45
-rw-r--r--include/asm-avr32/arch-at32ap/init.h18
-rw-r--r--include/asm-avr32/arch-at32ap/io.h39
-rw-r--r--include/asm-avr32/arch-at32ap/irq.h14
-rw-r--r--include/asm-avr32/arch-at32ap/pm.h51
-rw-r--r--include/asm-avr32/arch-at32ap/portmux.h29
-rw-r--r--include/asm-avr32/arch-at32ap/smc.h113
-rw-r--r--include/asm-avr32/arch-at32ap/sram.h30
-rw-r--r--include/asm-generic/ioctl.h4
-rw-r--r--include/asm-m68k/unistd.h8
-rw-r--r--include/asm-x86/efi.h2
-rw-r--r--include/asm-x86/hw_irq.h12
-rw-r--r--include/asm-x86/irq_vectors.h10
-rw-r--r--include/linux/Kbuild1
-rw-r--r--include/linux/agp_backend.h5
-rw-r--r--include/linux/bitmap.h1
-rw-r--r--include/linux/bootmem.h4
-rw-r--r--include/linux/byteorder.h372
-rw-r--r--include/linux/firmware-map.h26
-rw-r--r--include/linux/harrier_defs.h212
-rw-r--r--include/linux/i2c-id.h2
-rw-r--r--include/linux/init.h1
-rw-r--r--include/linux/kernel.h14
-rw-r--r--include/linux/mfd/t7l66xb.h36
-rw-r--r--include/linux/mfd/tc6387xb.h23
-rw-r--r--include/linux/mfd/tc6393xb.h9
-rw-r--r--include/linux/mfd/tmio.h19
-rw-r--r--include/linux/mm.h20
-rw-r--r--include/linux/pci.h11
-rw-r--r--include/linux/pci_ids.h2
-rw-r--r--include/linux/sched.h31
-rw-r--r--include/linux/seq_file.h12
-rw-r--r--include/linux/slub_def.h1
-rw-r--r--include/linux/swab.h309
-rw-r--r--include/video/atmel_lcdc.h1
-rw-r--r--include/video/radeon.h4
-rw-r--r--init/main.c6
-rw-r--r--kernel/Kconfig.hz2
-rw-r--r--kernel/cpu.c7
-rw-r--r--kernel/dma-coherent.c10
-rw-r--r--kernel/irq/proc.c96
-rw-r--r--kernel/module.c2
-rw-r--r--kernel/posix-timers.c19
-rw-r--r--kernel/sched.c2
-rw-r--r--kernel/sched_clock.c178
-rw-r--r--kernel/sched_fair.c21
-rw-r--r--kernel/signal.c1
-rw-r--r--kernel/stop_machine.c1
-rw-r--r--kernel/time/tick-sched.c2
-rw-r--r--lib/Kconfig.debug9
-rw-r--r--lib/bitmap.c11
-rw-r--r--lib/vsprintf.c2
-rw-r--r--mm/Kconfig3
-rw-r--r--mm/hugetlb.c62
-rw-r--r--mm/memcontrol.c2
-rw-r--r--mm/mempolicy.c1
-rw-r--r--mm/page_alloc.c2
-rw-r--r--mm/slab.c1
-rw-r--r--mm/slob.c1
-rw-r--r--mm/slub.c27
-rw-r--r--mm/sparse.c1
-rw-r--r--mm/util.c15
-rw-r--r--sound/pci/hda/hda_intel.c4
-rw-r--r--sound/soc/codecs/wm8750.c3
-rw-r--r--sound/soc/pxa/spitz.c2
233 files changed, 8592 insertions, 3121 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 1d1b34500b69..1615350b7b53 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -102,6 +102,13 @@ C-procfs-example = procfs_example.xml
102C-procfs-example2 = $(addprefix $(obj)/,$(C-procfs-example)) 102C-procfs-example2 = $(addprefix $(obj)/,$(C-procfs-example))
103$(obj)/procfs-guide.xml: $(C-procfs-example2) 103$(obj)/procfs-guide.xml: $(C-procfs-example2)
104 104
105# List of programs to build
106##oops, this is a kernel module::hostprogs-y := procfs_example
107obj-m += procfs_example.o
108
109# Tell kbuild to always build the programs
110always := $(hostprogs-y)
111
105notfoundtemplate = echo "*** You have to install docbook-utils or xmlto ***"; \ 112notfoundtemplate = echo "*** You have to install docbook-utils or xmlto ***"; \
106 exit 1 113 exit 1
107db2xtemplate = db2TYPE -o $(dir $@) $< 114db2xtemplate = db2TYPE -o $(dir $@) $<
diff --git a/Documentation/DocBook/procfs_example.c b/Documentation/DocBook/procfs_example.c
index 7064084c1c5e..2f3de0fb8365 100644
--- a/Documentation/DocBook/procfs_example.c
+++ b/Documentation/DocBook/procfs_example.c
@@ -189,8 +189,6 @@ static int __init init_procfs_example(void)
189 return 0; 189 return 0;
190 190
191no_symlink: 191no_symlink:
192 remove_proc_entry("tty", example_dir);
193no_tty:
194 remove_proc_entry("bar", example_dir); 192 remove_proc_entry("bar", example_dir);
195no_bar: 193no_bar:
196 remove_proc_entry("foo", example_dir); 194 remove_proc_entry("foo", example_dir);
@@ -206,7 +204,6 @@ out:
206static void __exit cleanup_procfs_example(void) 204static void __exit cleanup_procfs_example(void)
207{ 205{
208 remove_proc_entry("jiffies_too", example_dir); 206 remove_proc_entry("jiffies_too", example_dir);
209 remove_proc_entry("tty", example_dir);
210 remove_proc_entry("bar", example_dir); 207 remove_proc_entry("bar", example_dir);
211 remove_proc_entry("foo", example_dir); 208 remove_proc_entry("foo", example_dir);
212 remove_proc_entry("jiffies", example_dir); 209 remove_proc_entry("jiffies", example_dir);
@@ -222,3 +219,4 @@ module_exit(cleanup_procfs_example);
222 219
223MODULE_AUTHOR("Erik Mouw"); 220MODULE_AUTHOR("Erik Mouw");
224MODULE_DESCRIPTION("procfs examples"); 221MODULE_DESCRIPTION("procfs examples");
222MODULE_LICENSE("GPL");
diff --git a/Documentation/Makefile b/Documentation/Makefile
new file mode 100644
index 000000000000..94b945733534
--- /dev/null
+++ b/Documentation/Makefile
@@ -0,0 +1,3 @@
1obj-m := DocBook/ accounting/ auxdisplay/ connector/ \
2 filesystems/configfs/ ia64/ networking/ \
3 pcmcia/ spi/ video4linux/ vm/ watchdog/src/
diff --git a/Documentation/accounting/Makefile b/Documentation/accounting/Makefile
new file mode 100644
index 000000000000..31929eb875b1
--- /dev/null
+++ b/Documentation/accounting/Makefile
@@ -0,0 +1,10 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := getdelays
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS_getdelays.o += -I$(objtree)/usr/include
diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 3f7755f3963f..cc49400b4af8 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -201,13 +201,19 @@ void print_delayacct(struct taskstats *t)
201 "RECLAIM %12s%15s\n" 201 "RECLAIM %12s%15s\n"
202 " %15llu%15llu\n", 202 " %15llu%15llu\n",
203 "count", "real total", "virtual total", "delay total", 203 "count", "real total", "virtual total", "delay total",
204 t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total, 204 (unsigned long long)t->cpu_count,
205 t->cpu_delay_total, 205 (unsigned long long)t->cpu_run_real_total,
206 (unsigned long long)t->cpu_run_virtual_total,
207 (unsigned long long)t->cpu_delay_total,
206 "count", "delay total", 208 "count", "delay total",
207 t->blkio_count, t->blkio_delay_total, 209 (unsigned long long)t->blkio_count,
208 "count", "delay total", t->swapin_count, t->swapin_delay_total, 210 (unsigned long long)t->blkio_delay_total,
209 "count", "delay total", 211 "count", "delay total",
210 t->freepages_count, t->freepages_delay_total); 212 (unsigned long long)t->swapin_count,
213 (unsigned long long)t->swapin_delay_total,
214 "count", "delay total",
215 (unsigned long long)t->freepages_count,
216 (unsigned long long)t->freepages_delay_total);
211} 217}
212 218
213void task_context_switch_counts(struct taskstats *t) 219void task_context_switch_counts(struct taskstats *t)
@@ -215,14 +221,17 @@ void task_context_switch_counts(struct taskstats *t)
215 printf("\n\nTask %15s%15s\n" 221 printf("\n\nTask %15s%15s\n"
216 " %15llu%15llu\n", 222 " %15llu%15llu\n",
217 "voluntary", "nonvoluntary", 223 "voluntary", "nonvoluntary",
218 t->nvcsw, t->nivcsw); 224 (unsigned long long)t->nvcsw, (unsigned long long)t->nivcsw);
219} 225}
220 226
221void print_cgroupstats(struct cgroupstats *c) 227void print_cgroupstats(struct cgroupstats *c)
222{ 228{
223 printf("sleeping %llu, blocked %llu, running %llu, stopped %llu, " 229 printf("sleeping %llu, blocked %llu, running %llu, stopped %llu, "
224 "uninterruptible %llu\n", c->nr_sleeping, c->nr_io_wait, 230 "uninterruptible %llu\n", (unsigned long long)c->nr_sleeping,
225 c->nr_running, c->nr_stopped, c->nr_uninterruptible); 231 (unsigned long long)c->nr_io_wait,
232 (unsigned long long)c->nr_running,
233 (unsigned long long)c->nr_stopped,
234 (unsigned long long)c->nr_uninterruptible);
226} 235}
227 236
228 237
diff --git a/Documentation/auxdisplay/Makefile b/Documentation/auxdisplay/Makefile
new file mode 100644
index 000000000000..51fe23332c81
--- /dev/null
+++ b/Documentation/auxdisplay/Makefile
@@ -0,0 +1,10 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := cfag12864b-example
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS_cfag12864b-example.o += -I$(objtree)/usr/include
diff --git a/Documentation/connector/Makefile b/Documentation/connector/Makefile
new file mode 100644
index 000000000000..8df1a7285a06
--- /dev/null
+++ b/Documentation/connector/Makefile
@@ -0,0 +1,11 @@
1ifneq ($(CONFIG_CONNECTOR),)
2obj-m += cn_test.o
3endif
4
5# List of programs to build
6hostprogs-y := ucon
7
8# Tell kbuild to always build the programs
9always := $(hostprogs-y)
10
11HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt
index ba0aacde94fb..94bbc27ddd4f 100644
--- a/Documentation/cpu-hotplug.txt
+++ b/Documentation/cpu-hotplug.txt
@@ -59,15 +59,10 @@ apicid values in those tables for disabled apics. In the event BIOS doesn't
59mark such hot-pluggable cpus as disabled entries, one could use this 59mark such hot-pluggable cpus as disabled entries, one could use this
60parameter "additional_cpus=x" to represent those cpus in the cpu_possible_map. 60parameter "additional_cpus=x" to represent those cpus in the cpu_possible_map.
61 61
62s390 uses the number of cpus it detects at IPL time to also the number of bits
63in cpu_possible_map. If it is desired to add additional cpus at a later time
64the number should be specified using this option or the possible_cpus option.
65
66possible_cpus=n [s390 only] use this to set hotpluggable cpus. 62possible_cpus=n [s390 only] use this to set hotpluggable cpus.
67 This option sets possible_cpus bits in 63 This option sets possible_cpus bits in
68 cpu_possible_map. Thus keeping the numbers of bits set 64 cpu_possible_map. Thus keeping the numbers of bits set
69 constant even if the machine gets rebooted. 65 constant even if the machine gets rebooted.
70 This option overrides additional_cpus.
71 66
72CPU maps and such 67CPU maps and such
73----------------- 68-----------------
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index c23955404bf5..eb1a47b97427 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -19,15 +19,6 @@ Who: Pavel Machek <pavel@suse.cz>
19 19
20--------------------------- 20---------------------------
21 21
22What: old NCR53C9x driver
23When: October 2007
24Why: Replaced by the much better esp_scsi driver. Actual low-level
25 driver can be ported over almost trivially.
26Who: David Miller <davem@davemloft.net>
27 Christoph Hellwig <hch@lst.de>
28
29---------------------------
30
31What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. 22What: Video4Linux API 1 ioctls and video_decoder.h from Video devices.
32When: December 2008 23When: December 2008
33Files: include/linux/video_decoder.h include/linux/videodev.h 24Files: include/linux/video_decoder.h include/linux/videodev.h
@@ -205,19 +196,6 @@ Who: Tejun Heo <htejun@gmail.com>
205 196
206--------------------------- 197---------------------------
207 198
208What: The arch/ppc and include/asm-ppc directories
209When: Jun 2008
210Why: The arch/powerpc tree is the merged architecture for ppc32 and ppc64
211 platforms. Currently there are efforts underway to port the remaining
212 arch/ppc platforms to the merged tree. New submissions to the arch/ppc
213 tree have been frozen with the 2.6.22 kernel release and that tree will
214 remain in bug-fix only mode until its scheduled removal. Platforms
215 that are not ported by June 2008 will be removed due to the lack of an
216 interested maintainer.
217Who: linuxppc-dev@ozlabs.org
218
219---------------------------
220
221What: i386/x86_64 bzImage symlinks 199What: i386/x86_64 bzImage symlinks
222When: April 2010 200When: April 2010
223 201
diff --git a/Documentation/filesystems/configfs/Makefile b/Documentation/filesystems/configfs/Makefile
new file mode 100644
index 000000000000..be7ec5e67dbc
--- /dev/null
+++ b/Documentation/filesystems/configfs/Makefile
@@ -0,0 +1,3 @@
1ifneq ($(CONFIG_CONFIGFS_FS),)
2obj-m += configfs_example_explicit.o configfs_example_macros.o
3endif
diff --git a/Documentation/filesystems/quota.txt b/Documentation/filesystems/quota.txt
index a590c4093eff..5e8de25bf0f1 100644
--- a/Documentation/filesystems/quota.txt
+++ b/Documentation/filesystems/quota.txt
@@ -3,14 +3,14 @@ Quota subsystem
3=============== 3===============
4 4
5Quota subsystem allows system administrator to set limits on used space and 5Quota subsystem allows system administrator to set limits on used space and
6number of used inodes (inode is a filesystem structure which is associated 6number of used inodes (inode is a filesystem structure which is associated with
7with each file or directory) for users and/or groups. For both used space and 7each file or directory) for users and/or groups. For both used space and number
8number of used inodes there are actually two limits. The first one is called 8of used inodes there are actually two limits. The first one is called softlimit
9softlimit and the second one hardlimit. An user can never exceed a hardlimit 9and the second one hardlimit. An user can never exceed a hardlimit for any
10for any resource. User is allowed to exceed softlimit but only for limited 10resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed
11period of time. This period is called "grace period" or "grace time". When 11softlimit but only for limited period of time. This period is called "grace
12grace time is over, user is not able to allocate more space/inodes until he 12period" or "grace time". When grace time is over, user is not able to allocate
13frees enough of them to get below softlimit. 13more space/inodes until he frees enough of them to get below softlimit.
14 14
15Quota limits (and amount of grace time) are set independently for each 15Quota limits (and amount of grace time) are set independently for each
16filesystem. 16filesystem.
@@ -53,6 +53,12 @@ in parentheses):
53 QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded 53 QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded
54 longer than given grace period. 54 longer than given grace period.
55 QUOTA_NL_BSOFTWARN - space (block) softlimit 55 QUOTA_NL_BSOFTWARN - space (block) softlimit
56 - four warnings are also defined for the event when user stops
57 exceeding some limit:
58 QUOTA_NL_IHARDBELOW - inode hardlimit
59 QUOTA_NL_ISOFTBELOW - inode softlimit
60 QUOTA_NL_BHARDBELOW - space (block) hardlimit
61 QUOTA_NL_BSOFTBELOW - space (block) softlimit
56 QUOTA_NL_A_DEV_MAJOR (u32) 62 QUOTA_NL_A_DEV_MAJOR (u32)
57 - major number of a device with the affected filesystem 63 - major number of a device with the affected filesystem
58 QUOTA_NL_A_DEV_MINOR (u32) 64 QUOTA_NL_A_DEV_MINOR (u32)
diff --git a/Documentation/ia64/Makefile b/Documentation/ia64/Makefile
new file mode 100644
index 000000000000..b75db69ec483
--- /dev/null
+++ b/Documentation/ia64/Makefile
@@ -0,0 +1,8 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := aliasing-test
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c
index b88b0ea54e90..655414821edc 100644
--- a/Documentation/lguest/lguest.c
+++ b/Documentation/lguest/lguest.c
@@ -1447,21 +1447,6 @@ static void configure_device(int fd, const char *tapif, u32 ipaddr)
1447 err(1, "Bringing interface %s up", tapif); 1447 err(1, "Bringing interface %s up", tapif);
1448} 1448}
1449 1449
1450static void get_mac(int fd, const char *tapif, unsigned char hwaddr[6])
1451{
1452 struct ifreq ifr;
1453
1454 memset(&ifr, 0, sizeof(ifr));
1455 strcpy(ifr.ifr_name, tapif);
1456
1457 /* SIOC stands for Socket I/O Control. G means Get (vs S for Set
1458 * above). IF means Interface, and HWADDR is hardware address.
1459 * Simple! */
1460 if (ioctl(fd, SIOCGIFHWADDR, &ifr) != 0)
1461 err(1, "getting hw address for %s", tapif);
1462 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, 6);
1463}
1464
1465static int get_tun_device(char tapif[IFNAMSIZ]) 1450static int get_tun_device(char tapif[IFNAMSIZ])
1466{ 1451{
1467 struct ifreq ifr; 1452 struct ifreq ifr;
@@ -1531,11 +1516,8 @@ static void setup_tun_net(char *arg)
1531 p = strchr(arg, ':'); 1516 p = strchr(arg, ':');
1532 if (p) { 1517 if (p) {
1533 str2mac(p+1, conf.mac); 1518 str2mac(p+1, conf.mac);
1519 add_feature(dev, VIRTIO_NET_F_MAC);
1534 *p = '\0'; 1520 *p = '\0';
1535 } else {
1536 p = arg + strlen(arg);
1537 /* None supplied; query the randomly assigned mac. */
1538 get_mac(ipfd, tapif, conf.mac);
1539 } 1521 }
1540 1522
1541 /* arg is now either an IP address or a bridge name */ 1523 /* arg is now either an IP address or a bridge name */
@@ -1547,13 +1529,10 @@ static void setup_tun_net(char *arg)
1547 /* Set up the tun device. */ 1529 /* Set up the tun device. */
1548 configure_device(ipfd, tapif, ip); 1530 configure_device(ipfd, tapif, ip);
1549 1531
1550 /* Tell Guest what MAC address to use. */
1551 add_feature(dev, VIRTIO_NET_F_MAC);
1552 add_feature(dev, VIRTIO_F_NOTIFY_ON_EMPTY); 1532 add_feature(dev, VIRTIO_F_NOTIFY_ON_EMPTY);
1553 /* Expect Guest to handle everything except UFO */ 1533 /* Expect Guest to handle everything except UFO */
1554 add_feature(dev, VIRTIO_NET_F_CSUM); 1534 add_feature(dev, VIRTIO_NET_F_CSUM);
1555 add_feature(dev, VIRTIO_NET_F_GUEST_CSUM); 1535 add_feature(dev, VIRTIO_NET_F_GUEST_CSUM);
1556 add_feature(dev, VIRTIO_NET_F_MAC);
1557 add_feature(dev, VIRTIO_NET_F_GUEST_TSO4); 1536 add_feature(dev, VIRTIO_NET_F_GUEST_TSO4);
1558 add_feature(dev, VIRTIO_NET_F_GUEST_TSO6); 1537 add_feature(dev, VIRTIO_NET_F_GUEST_TSO6);
1559 add_feature(dev, VIRTIO_NET_F_GUEST_ECN); 1538 add_feature(dev, VIRTIO_NET_F_GUEST_ECN);
diff --git a/Documentation/networking/Makefile b/Documentation/networking/Makefile
new file mode 100644
index 000000000000..6d8af1ac56c4
--- /dev/null
+++ b/Documentation/networking/Makefile
@@ -0,0 +1,8 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := ifenslave
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
diff --git a/Documentation/networking/ifenslave.c b/Documentation/networking/ifenslave.c
index a12059886755..1b96ccda3836 100644
--- a/Documentation/networking/ifenslave.c
+++ b/Documentation/networking/ifenslave.c
@@ -1081,7 +1081,7 @@ static int set_if_addr(char *master_ifname, char *slave_ifname)
1081 1081
1082 } 1082 }
1083 1083
1084 ipaddr = ifr.ifr_addr.sa_data; 1084 ipaddr = (unsigned char *)ifr.ifr_addr.sa_data;
1085 v_print("Interface '%s': set IP %s to %d.%d.%d.%d\n", 1085 v_print("Interface '%s': set IP %s to %d.%d.%d.%d\n",
1086 slave_ifname, ifra[i].desc, 1086 slave_ifname, ifra[i].desc,
1087 ipaddr[0], ipaddr[1], ipaddr[2], ipaddr[3]); 1087 ipaddr[0], ipaddr[1], ipaddr[2], ipaddr[3]);
diff --git a/Documentation/pcmcia/Makefile b/Documentation/pcmcia/Makefile
new file mode 100644
index 000000000000..accde871ae77
--- /dev/null
+++ b/Documentation/pcmcia/Makefile
@@ -0,0 +1,10 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := crc32hash
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS_crc32hash.o += -I$(objtree)/usr/include
diff --git a/Documentation/pcmcia/crc32hash.c b/Documentation/pcmcia/crc32hash.c
index cbc36d299af8..4210e5abab8a 100644
--- a/Documentation/pcmcia/crc32hash.c
+++ b/Documentation/pcmcia/crc32hash.c
@@ -26,7 +26,7 @@ int main(int argc, char **argv) {
26 printf("no string passed as argument\n"); 26 printf("no string passed as argument\n");
27 return -1; 27 return -1;
28 } 28 }
29 result = crc32(argv[1], strlen(argv[1])); 29 result = crc32((unsigned char const *)argv[1], strlen(argv[1]));
30 printf("0x%x\n", result); 30 printf("0x%x\n", result);
31 return 0; 31 return 0;
32} 32}
diff --git a/Documentation/spi/Makefile b/Documentation/spi/Makefile
new file mode 100644
index 000000000000..a5b03c88beae
--- /dev/null
+++ b/Documentation/spi/Makefile
@@ -0,0 +1,11 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := spidev_test spidev_fdx
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS_spidev_test.o += -I$(objtree)/usr/include
11HOSTCFLAGS_spidev_fdx.o += -I$(objtree)/usr/include
diff --git a/Documentation/video4linux/Makefile b/Documentation/video4linux/Makefile
new file mode 100644
index 000000000000..1ed0e98d057d
--- /dev/null
+++ b/Documentation/video4linux/Makefile
@@ -0,0 +1,8 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := v4lgrab
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
diff --git a/Documentation/vm/Makefile b/Documentation/vm/Makefile
new file mode 100644
index 000000000000..6f562f778b28
--- /dev/null
+++ b/Documentation/vm/Makefile
@@ -0,0 +1,8 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := slabinfo
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
diff --git a/Documentation/watchdog/src/Makefile b/Documentation/watchdog/src/Makefile
new file mode 100644
index 000000000000..40e5f46e4740
--- /dev/null
+++ b/Documentation/watchdog/src/Makefile
@@ -0,0 +1,8 @@
1# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
3
4# List of programs to build
5hostprogs-y := watchdog-simple watchdog-test
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
diff --git a/MAINTAINERS b/MAINTAINERS
index 41d7a1ed03d1..af6aa4e4b392 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2462,7 +2462,7 @@ L: kernel-janitors@vger.kernel.org
2462W: http://www.kerneljanitors.org/ 2462W: http://www.kerneljanitors.org/
2463S: Maintained 2463S: Maintained
2464 2464
2465KERNEL NFSD 2465KERNEL NFSD, SUNRPC, AND LOCKD SERVERS
2466P: J. Bruce Fields 2466P: J. Bruce Fields
2467M: bfields@fieldses.org 2467M: bfields@fieldses.org
2468P: Neil Brown 2468P: Neil Brown
@@ -3078,7 +3078,7 @@ M: ja@ssi.bg
3078L: netdev@vger.kernel.org 3078L: netdev@vger.kernel.org
3079S: Maintained 3079S: Maintained
3080 3080
3081NFS CLIENT 3081NFS, SUNRPC, AND LOCKD CLIENTS
3082P: Trond Myklebust 3082P: Trond Myklebust
3083M: Trond.Myklebust@netapp.com 3083M: Trond.Myklebust@netapp.com
3084L: linux-nfs@vger.kernel.org 3084L: linux-nfs@vger.kernel.org
@@ -4683,12 +4683,6 @@ L: linux-wireless@vger.kernel.org
4683L: zd1211-devs@lists.sourceforge.net (subscribers-only) 4683L: zd1211-devs@lists.sourceforge.net (subscribers-only)
4684S: Maintained 4684S: Maintained
4685 4685
4686ZF MACHZ WATCHDOG
4687P: Fernando Fuganti
4688M: fuganti@netbank.com.br
4689W: http://cvs.conectiva.com.br/drivers/ZFL-watchdog/
4690S: Maintained
4691
4692ZR36067 VIDEO FOR LINUX DRIVER 4686ZR36067 VIDEO FOR LINUX DRIVER
4693P: Ronald Bultje 4687P: Ronald Bultje
4694M: rbultje@ronald.bitfreak.net 4688M: rbultje@ronald.bitfreak.net
diff --git a/Makefile b/Makefile
index f3e206509ee1..53bf6ec1af9d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 27 3SUBLEVEL = 27
4EXTRAVERSION = -rc2 4EXTRAVERSION = -rc3
5NAME = Rotary Wombat 5NAME = Rotary Wombat
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -822,6 +822,9 @@ endif
822ifdef CONFIG_SAMPLES 822ifdef CONFIG_SAMPLES
823 $(Q)$(MAKE) $(build)=samples 823 $(Q)$(MAKE) $(build)=samples
824endif 824endif
825ifdef CONFIG_BUILD_DOCSRC
826 $(Q)$(MAKE) $(build)=Documentation
827endif
825 $(call vmlinux-modpost) 828 $(call vmlinux-modpost)
826 $(call if_changed_rule,vmlinux__) 829 $(call if_changed_rule,vmlinux__)
827 $(Q)rm -f .old_version 830 $(Q)rm -f .old_version
@@ -1166,7 +1169,7 @@ MRPROPER_FILES += .config .config.old include/asm .version .old_version \
1166# 1169#
1167clean: rm-dirs := $(CLEAN_DIRS) 1170clean: rm-dirs := $(CLEAN_DIRS)
1168clean: rm-files := $(CLEAN_FILES) 1171clean: rm-files := $(CLEAN_FILES)
1169clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs)) 1172clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs) Documentation)
1170 1173
1171PHONY += $(clean-dirs) clean archclean 1174PHONY += $(clean-dirs) clean archclean
1172$(clean-dirs): 1175$(clean-dirs):
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 5b46433d53a5..c9e1f0b47fd3 100644
--- a/arch/avr32/Makefile
+++ b/arch/avr32/Makefile
@@ -39,20 +39,6 @@ core-y += arch/avr32/mm/
39drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/ 39drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/
40libs-y += arch/avr32/lib/ 40libs-y += arch/avr32/lib/
41 41
42archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap
43
44include/asm-avr32/.arch: $(wildcard include/config/platform/*.h) include/config/auto.conf
45 @echo ' SYMLINK include/asm-avr32/arch -> include/asm-avr32/$(archincdir-y)'
46ifneq ($(KBUILD_SRC),)
47 $(Q)mkdir -p include/asm-avr32
48 $(Q)ln -fsn $(srctree)/include/asm-avr32/$(archincdir-y) include/asm-avr32/arch
49else
50 $(Q)ln -fsn $(archincdir-y) include/asm-avr32/arch
51endif
52 @touch $@
53
54archprepare: include/asm-avr32/.arch
55
56CLEAN_FILES += include/asm-avr32/.arch include/asm-avr32/arch 42CLEAN_FILES += include/asm-avr32/.arch include/asm-avr32/arch
57 43
58BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec 44BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c
index 670c87b2db12..b8286f1ce854 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -47,7 +47,7 @@ static struct eth_platform_data __initdata eth_data[2];
47static struct spi_board_info spi0_board_info[] __initdata = { 47static struct spi_board_info spi0_board_info[] __initdata = {
48 { 48 {
49 .modalias = "mtd_dataflash", 49 .modalias = "mtd_dataflash",
50 .max_speed_hz = 10000000, 50 .max_speed_hz = 8000000,
51 .chip_select = 0, 51 .chip_select = 0,
52 }, 52 },
53}; 53};
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
index b33542b97563..ee4c292683e1 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -96,7 +96,7 @@ static struct mtd_partition *nand_part_info(int size, int *num_partitions)
96 return nand_partitions; 96 return nand_partitions;
97} 97}
98 98
99struct atmel_nand_data atstk1006_nand_data __initdata = { 99static struct atmel_nand_data atstk1006_nand_data __initdata = {
100 .cle = 21, 100 .cle = 21,
101 .ale = 22, 101 .ale = 22,
102 .rdy_pin = GPIO_PIN_PB(30), 102 .rdy_pin = GPIO_PIN_PB(30),
diff --git a/arch/avr32/configs/atngw100_defconfig b/arch/avr32/configs/atngw100_defconfig
index 119edb839ac3..541520912c55 100644
--- a/arch/avr32/configs/atngw100_defconfig
+++ b/arch/avr32/configs/atngw100_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.26-rc3 3# Linux kernel version: 2.6.27-rc1
4# Mon May 26 13:30:59 2008 4# Tue Aug 5 16:00:47 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
@@ -78,10 +78,16 @@ CONFIG_PROFILING=y
78CONFIG_OPROFILE=m 78CONFIG_OPROFILE=m
79CONFIG_HAVE_OPROFILE=y 79CONFIG_HAVE_OPROFILE=y
80CONFIG_KPROBES=y 80CONFIG_KPROBES=y
81# CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set
82# CONFIG_HAVE_IOREMAP_PROT is not set
81CONFIG_HAVE_KPROBES=y 83CONFIG_HAVE_KPROBES=y
82# CONFIG_HAVE_KRETPROBES is not set 84# CONFIG_HAVE_KRETPROBES is not set
85# CONFIG_HAVE_ARCH_TRACEHOOK is not set
83# CONFIG_HAVE_DMA_ATTRS is not set 86# CONFIG_HAVE_DMA_ATTRS is not set
87# CONFIG_USE_GENERIC_SMP_HELPERS is not set
88CONFIG_HAVE_CLK=y
84CONFIG_PROC_PAGE_MONITOR=y 89CONFIG_PROC_PAGE_MONITOR=y
90# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
85CONFIG_SLABINFO=y 91CONFIG_SLABINFO=y
86CONFIG_RT_MUTEXES=y 92CONFIG_RT_MUTEXES=y
87# CONFIG_TINY_SHMEM is not set 93# CONFIG_TINY_SHMEM is not set
@@ -98,6 +104,7 @@ CONFIG_BLOCK=y
98# CONFIG_BLK_DEV_IO_TRACE is not set 104# CONFIG_BLK_DEV_IO_TRACE is not set
99# CONFIG_LSF is not set 105# CONFIG_LSF is not set
100# CONFIG_BLK_DEV_BSG is not set 106# CONFIG_BLK_DEV_BSG is not set
107# CONFIG_BLK_DEV_INTEGRITY is not set
101 108
102# 109#
103# IO Schedulers 110# IO Schedulers
@@ -142,6 +149,7 @@ CONFIG_PHYS_OFFSET=0x10000000
142CONFIG_PREEMPT_NONE=y 149CONFIG_PREEMPT_NONE=y
143# CONFIG_PREEMPT_VOLUNTARY is not set 150# CONFIG_PREEMPT_VOLUNTARY is not set
144# CONFIG_PREEMPT is not set 151# CONFIG_PREEMPT is not set
152CONFIG_QUICKLIST=y
145# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set 153# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
146# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set 154# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
147# CONFIG_NEED_NODE_MEMMAP_SIZE is not set 155# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
@@ -160,6 +168,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
160CONFIG_SPLIT_PTLOCK_CPUS=4 168CONFIG_SPLIT_PTLOCK_CPUS=4
161# CONFIG_RESOURCES_64BIT is not set 169# CONFIG_RESOURCES_64BIT is not set
162CONFIG_ZONE_DMA_FLAG=0 170CONFIG_ZONE_DMA_FLAG=0
171CONFIG_NR_QUICK=2
163CONFIG_VIRT_TO_BUS=y 172CONFIG_VIRT_TO_BUS=y
164# CONFIG_OWNERSHIP_TRACE is not set 173# CONFIG_OWNERSHIP_TRACE is not set
165CONFIG_NMI_DEBUGGING=y 174CONFIG_NMI_DEBUGGING=y
@@ -174,6 +183,12 @@ CONFIG_CMDLINE=""
174# 183#
175# Power management options 184# Power management options
176# 185#
186CONFIG_PM=y
187# CONFIG_PM_DEBUG is not set
188CONFIG_PM_SLEEP=y
189CONFIG_SUSPEND=y
190CONFIG_SUSPEND_FREEZER=y
191CONFIG_ARCH_SUSPEND_POSSIBLE=y
177 192
178# 193#
179# CPU Frequency scaling 194# CPU Frequency scaling
@@ -205,10 +220,6 @@ CONFIG_CPU_FREQ_AT32AP=y
205# 220#
206CONFIG_BINFMT_ELF=y 221CONFIG_BINFMT_ELF=y
207# CONFIG_BINFMT_MISC is not set 222# CONFIG_BINFMT_MISC is not set
208
209#
210# Networking
211#
212CONFIG_NET=y 223CONFIG_NET=y
213 224
214# 225#
@@ -222,6 +233,7 @@ CONFIG_XFRM_USER=y
222# CONFIG_XFRM_SUB_POLICY is not set 233# CONFIG_XFRM_SUB_POLICY is not set
223# CONFIG_XFRM_MIGRATE is not set 234# CONFIG_XFRM_MIGRATE is not set
224# CONFIG_XFRM_STATISTICS is not set 235# CONFIG_XFRM_STATISTICS is not set
236CONFIG_XFRM_IPCOMP=y
225CONFIG_NET_KEY=y 237CONFIG_NET_KEY=y
226# CONFIG_NET_KEY_MIGRATE is not set 238# CONFIG_NET_KEY_MIGRATE is not set
227CONFIG_INET=y 239CONFIG_INET=y
@@ -339,8 +351,10 @@ CONFIG_IP6_NF_MANGLE=m
339# CONFIG_IP_SCTP is not set 351# CONFIG_IP_SCTP is not set
340# CONFIG_TIPC is not set 352# CONFIG_TIPC is not set
341# CONFIG_ATM is not set 353# CONFIG_ATM is not set
354CONFIG_STP=m
342CONFIG_BRIDGE=m 355CONFIG_BRIDGE=m
343CONFIG_VLAN_8021Q=m 356CONFIG_VLAN_8021Q=m
357# CONFIG_VLAN_8021Q_GVRP is not set
344# CONFIG_DECNET is not set 358# CONFIG_DECNET is not set
345CONFIG_LLC=m 359CONFIG_LLC=m
346# CONFIG_LLC2 is not set 360# CONFIG_LLC2 is not set
@@ -499,7 +513,6 @@ CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
499# CONFIG_ATA is not set 513# CONFIG_ATA is not set
500# CONFIG_MD is not set 514# CONFIG_MD is not set
501CONFIG_NETDEVICES=y 515CONFIG_NETDEVICES=y
502# CONFIG_NETDEVICES_MULTIQUEUE is not set
503# CONFIG_DUMMY is not set 516# CONFIG_DUMMY is not set
504# CONFIG_BONDING is not set 517# CONFIG_BONDING is not set
505# CONFIG_MACVLAN is not set 518# CONFIG_MACVLAN is not set
@@ -607,21 +620,35 @@ CONFIG_I2C_ALGOBIT=m
607# 620#
608# I2C Hardware Bus support 621# I2C Hardware Bus support
609# 622#
623
624#
625# I2C system bus drivers (mostly embedded / system-on-chip)
626#
610CONFIG_I2C_GPIO=m 627CONFIG_I2C_GPIO=m
611# CONFIG_I2C_OCORES is not set 628# CONFIG_I2C_OCORES is not set
612# CONFIG_I2C_PARPORT_LIGHT is not set
613# CONFIG_I2C_SIMTEC is not set 629# CONFIG_I2C_SIMTEC is not set
630
631#
632# External I2C/SMBus adapter drivers
633#
634# CONFIG_I2C_PARPORT_LIGHT is not set
614# CONFIG_I2C_TAOS_EVM is not set 635# CONFIG_I2C_TAOS_EVM is not set
615# CONFIG_I2C_STUB is not set 636
637#
638# Other I2C/SMBus bus drivers
639#
616# CONFIG_I2C_PCA_PLATFORM is not set 640# CONFIG_I2C_PCA_PLATFORM is not set
641# CONFIG_I2C_STUB is not set
617 642
618# 643#
619# Miscellaneous I2C Chip support 644# Miscellaneous I2C Chip support
620# 645#
621# CONFIG_DS1682 is not set 646# CONFIG_DS1682 is not set
647CONFIG_AT24=m
622# CONFIG_SENSORS_EEPROM is not set 648# CONFIG_SENSORS_EEPROM is not set
623# CONFIG_SENSORS_PCF8574 is not set 649# CONFIG_SENSORS_PCF8574 is not set
624# CONFIG_PCF8575 is not set 650# CONFIG_PCF8575 is not set
651# CONFIG_SENSORS_PCA9539 is not set
625# CONFIG_SENSORS_PCF8591 is not set 652# CONFIG_SENSORS_PCF8591 is not set
626# CONFIG_TPS65010 is not set 653# CONFIG_TPS65010 is not set
627# CONFIG_SENSORS_MAX6875 is not set 654# CONFIG_SENSORS_MAX6875 is not set
@@ -646,27 +673,32 @@ CONFIG_SPI_ATMEL=y
646# CONFIG_SPI_AT25 is not set 673# CONFIG_SPI_AT25 is not set
647CONFIG_SPI_SPIDEV=m 674CONFIG_SPI_SPIDEV=m
648# CONFIG_SPI_TLE62X0 is not set 675# CONFIG_SPI_TLE62X0 is not set
649CONFIG_HAVE_GPIO_LIB=y 676CONFIG_ARCH_REQUIRE_GPIOLIB=y
650 677CONFIG_GPIOLIB=y
651#
652# GPIO Support
653#
654# CONFIG_DEBUG_GPIO is not set 678# CONFIG_DEBUG_GPIO is not set
679CONFIG_GPIO_SYSFS=y
655 680
656# 681#
657# I2C GPIO expanders: 682# I2C GPIO expanders:
658# 683#
684# CONFIG_GPIO_MAX732X is not set
659# CONFIG_GPIO_PCA953X is not set 685# CONFIG_GPIO_PCA953X is not set
660# CONFIG_GPIO_PCF857X is not set 686# CONFIG_GPIO_PCF857X is not set
661 687
662# 688#
689# PCI GPIO expanders:
690#
691
692#
663# SPI GPIO expanders: 693# SPI GPIO expanders:
664# 694#
695# CONFIG_GPIO_MAX7301 is not set
665# CONFIG_GPIO_MCP23S08 is not set 696# CONFIG_GPIO_MCP23S08 is not set
666# CONFIG_W1 is not set 697# CONFIG_W1 is not set
667# CONFIG_POWER_SUPPLY is not set 698# CONFIG_POWER_SUPPLY is not set
668# CONFIG_HWMON is not set 699# CONFIG_HWMON is not set
669# CONFIG_THERMAL is not set 700# CONFIG_THERMAL is not set
701# CONFIG_THERMAL_HWMON is not set
670CONFIG_WATCHDOG=y 702CONFIG_WATCHDOG=y
671# CONFIG_WATCHDOG_NOWAYOUT is not set 703# CONFIG_WATCHDOG_NOWAYOUT is not set
672 704
@@ -685,6 +717,7 @@ CONFIG_SSB_POSSIBLE=y
685# 717#
686# Multifunction device drivers 718# Multifunction device drivers
687# 719#
720# CONFIG_MFD_CORE is not set
688# CONFIG_MFD_SM501 is not set 721# CONFIG_MFD_SM501 is not set
689# CONFIG_HTC_PASIC3 is not set 722# CONFIG_HTC_PASIC3 is not set
690 723
@@ -716,10 +749,6 @@ CONFIG_SSB_POSSIBLE=y
716# Display device support 749# Display device support
717# 750#
718# CONFIG_DISPLAY_SUPPORT is not set 751# CONFIG_DISPLAY_SUPPORT is not set
719
720#
721# Sound
722#
723# CONFIG_SOUND is not set 752# CONFIG_SOUND is not set
724CONFIG_USB_SUPPORT=y 753CONFIG_USB_SUPPORT=y
725# CONFIG_USB_ARCH_HAS_HCD is not set 754# CONFIG_USB_ARCH_HAS_HCD is not set
@@ -740,7 +769,7 @@ CONFIG_USB_GADGET_ATMEL_USBA=y
740CONFIG_USB_ATMEL_USBA=y 769CONFIG_USB_ATMEL_USBA=y
741# CONFIG_USB_GADGET_FSL_USB2 is not set 770# CONFIG_USB_GADGET_FSL_USB2 is not set
742# CONFIG_USB_GADGET_NET2280 is not set 771# CONFIG_USB_GADGET_NET2280 is not set
743# CONFIG_USB_GADGET_PXA2XX is not set 772# CONFIG_USB_GADGET_PXA25X is not set
744# CONFIG_USB_GADGET_M66592 is not set 773# CONFIG_USB_GADGET_M66592 is not set
745# CONFIG_USB_GADGET_PXA27X is not set 774# CONFIG_USB_GADGET_PXA27X is not set
746# CONFIG_USB_GADGET_GOKU is not set 775# CONFIG_USB_GADGET_GOKU is not set
@@ -759,21 +788,24 @@ CONFIG_USB_FILE_STORAGE=m
759CONFIG_USB_G_SERIAL=m 788CONFIG_USB_G_SERIAL=m
760# CONFIG_USB_MIDI_GADGET is not set 789# CONFIG_USB_MIDI_GADGET is not set
761# CONFIG_USB_G_PRINTER is not set 790# CONFIG_USB_G_PRINTER is not set
762CONFIG_MMC=m 791CONFIG_USB_CDC_COMPOSITE=m
792CONFIG_MMC=y
763# CONFIG_MMC_DEBUG is not set 793# CONFIG_MMC_DEBUG is not set
764# CONFIG_MMC_UNSAFE_RESUME is not set 794# CONFIG_MMC_UNSAFE_RESUME is not set
765 795
766# 796#
767# MMC/SD Card Drivers 797# MMC/SD Card Drivers
768# 798#
769CONFIG_MMC_BLOCK=m 799CONFIG_MMC_BLOCK=y
770CONFIG_MMC_BLOCK_BOUNCE=y 800CONFIG_MMC_BLOCK_BOUNCE=y
771# CONFIG_SDIO_UART is not set 801# CONFIG_SDIO_UART is not set
772# CONFIG_MMC_TEST is not set 802CONFIG_MMC_TEST=m
773 803
774# 804#
775# MMC/SD Host Controller Drivers 805# MMC/SD Host Controller Drivers
776# 806#
807# CONFIG_MMC_SDHCI is not set
808CONFIG_MMC_ATMELMCI=y
777CONFIG_MMC_SPI=m 809CONFIG_MMC_SPI=m
778# CONFIG_MEMSTICK is not set 810# CONFIG_MEMSTICK is not set
779CONFIG_NEW_LEDS=y 811CONFIG_NEW_LEDS=y
@@ -783,6 +815,7 @@ CONFIG_LEDS_CLASS=y
783# LED drivers 815# LED drivers
784# 816#
785CONFIG_LEDS_GPIO=y 817CONFIG_LEDS_GPIO=y
818# CONFIG_LEDS_PCA955X is not set
786 819
787# 820#
788# LED Triggers 821# LED Triggers
@@ -821,10 +854,13 @@ CONFIG_RTC_INTF_DEV=y
821# CONFIG_RTC_DRV_PCF8583 is not set 854# CONFIG_RTC_DRV_PCF8583 is not set
822# CONFIG_RTC_DRV_M41T80 is not set 855# CONFIG_RTC_DRV_M41T80 is not set
823# CONFIG_RTC_DRV_S35390A is not set 856# CONFIG_RTC_DRV_S35390A is not set
857# CONFIG_RTC_DRV_FM3130 is not set
824 858
825# 859#
826# SPI RTC drivers 860# SPI RTC drivers
827# 861#
862# CONFIG_RTC_DRV_M41T94 is not set
863# CONFIG_RTC_DRV_DS1305 is not set
828# CONFIG_RTC_DRV_MAX6902 is not set 864# CONFIG_RTC_DRV_MAX6902 is not set
829# CONFIG_RTC_DRV_R9701 is not set 865# CONFIG_RTC_DRV_R9701 is not set
830# CONFIG_RTC_DRV_RS5C348 is not set 866# CONFIG_RTC_DRV_RS5C348 is not set
@@ -844,6 +880,19 @@ CONFIG_RTC_INTF_DEV=y
844# on-CPU RTC drivers 880# on-CPU RTC drivers
845# 881#
846CONFIG_RTC_DRV_AT32AP700X=y 882CONFIG_RTC_DRV_AT32AP700X=y
883CONFIG_DMADEVICES=y
884
885#
886# DMA Devices
887#
888CONFIG_DW_DMAC=y
889CONFIG_DMA_ENGINE=y
890
891#
892# DMA Clients
893#
894# CONFIG_NET_DMA is not set
895CONFIG_DMATEST=m
847# CONFIG_UIO is not set 896# CONFIG_UIO is not set
848 897
849# 898#
@@ -921,6 +970,7 @@ CONFIG_JFFS2_RTIME=y
921# CONFIG_CRAMFS is not set 970# CONFIG_CRAMFS is not set
922# CONFIG_VXFS_FS is not set 971# CONFIG_VXFS_FS is not set
923# CONFIG_MINIX_FS is not set 972# CONFIG_MINIX_FS is not set
973# CONFIG_OMFS_FS is not set
924# CONFIG_HPFS_FS is not set 974# CONFIG_HPFS_FS is not set
925# CONFIG_QNX4FS_FS is not set 975# CONFIG_QNX4FS_FS is not set
926# CONFIG_ROMFS_FS is not set 976# CONFIG_ROMFS_FS is not set
@@ -931,17 +981,16 @@ CONFIG_NFS_FS=y
931CONFIG_NFS_V3=y 981CONFIG_NFS_V3=y
932# CONFIG_NFS_V3_ACL is not set 982# CONFIG_NFS_V3_ACL is not set
933# CONFIG_NFS_V4 is not set 983# CONFIG_NFS_V4 is not set
984CONFIG_ROOT_NFS=y
934CONFIG_NFSD=m 985CONFIG_NFSD=m
935CONFIG_NFSD_V3=y 986CONFIG_NFSD_V3=y
936# CONFIG_NFSD_V3_ACL is not set 987# CONFIG_NFSD_V3_ACL is not set
937# CONFIG_NFSD_V4 is not set 988# CONFIG_NFSD_V4 is not set
938CONFIG_ROOT_NFS=y
939CONFIG_LOCKD=y 989CONFIG_LOCKD=y
940CONFIG_LOCKD_V4=y 990CONFIG_LOCKD_V4=y
941CONFIG_EXPORTFS=m 991CONFIG_EXPORTFS=m
942CONFIG_NFS_COMMON=y 992CONFIG_NFS_COMMON=y
943CONFIG_SUNRPC=y 993CONFIG_SUNRPC=y
944# CONFIG_SUNRPC_BIND34 is not set
945# CONFIG_RPCSEC_GSS_KRB5 is not set 994# CONFIG_RPCSEC_GSS_KRB5 is not set
946# CONFIG_RPCSEC_GSS_SPKM3 is not set 995# CONFIG_RPCSEC_GSS_SPKM3 is not set
947CONFIG_SMB_FS=m 996CONFIG_SMB_FS=m
@@ -1017,6 +1066,8 @@ CONFIG_MAGIC_SYSRQ=y
1017CONFIG_DEBUG_KERNEL=y 1066CONFIG_DEBUG_KERNEL=y
1018# CONFIG_DEBUG_SHIRQ is not set 1067# CONFIG_DEBUG_SHIRQ is not set
1019CONFIG_DETECT_SOFTLOCKUP=y 1068CONFIG_DETECT_SOFTLOCKUP=y
1069# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1070CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1020CONFIG_SCHED_DEBUG=y 1071CONFIG_SCHED_DEBUG=y
1021# CONFIG_SCHEDSTATS is not set 1072# CONFIG_SCHEDSTATS is not set
1022# CONFIG_TIMER_STATS is not set 1073# CONFIG_TIMER_STATS is not set
@@ -1037,6 +1088,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
1037# CONFIG_DEBUG_INFO is not set 1088# CONFIG_DEBUG_INFO is not set
1038# CONFIG_DEBUG_VM is not set 1089# CONFIG_DEBUG_VM is not set
1039# CONFIG_DEBUG_WRITECOUNT is not set 1090# CONFIG_DEBUG_WRITECOUNT is not set
1091# CONFIG_DEBUG_MEMORY_INIT is not set
1040# CONFIG_DEBUG_LIST is not set 1092# CONFIG_DEBUG_LIST is not set
1041# CONFIG_DEBUG_SG is not set 1093# CONFIG_DEBUG_SG is not set
1042CONFIG_FRAME_POINTER=y 1094CONFIG_FRAME_POINTER=y
@@ -1101,6 +1153,10 @@ CONFIG_CRYPTO_HMAC=y
1101# CONFIG_CRYPTO_MD4 is not set 1153# CONFIG_CRYPTO_MD4 is not set
1102CONFIG_CRYPTO_MD5=y 1154CONFIG_CRYPTO_MD5=y
1103# CONFIG_CRYPTO_MICHAEL_MIC is not set 1155# CONFIG_CRYPTO_MICHAEL_MIC is not set
1156# CONFIG_CRYPTO_RMD128 is not set
1157# CONFIG_CRYPTO_RMD160 is not set
1158# CONFIG_CRYPTO_RMD256 is not set
1159# CONFIG_CRYPTO_RMD320 is not set
1104CONFIG_CRYPTO_SHA1=y 1160CONFIG_CRYPTO_SHA1=y
1105# CONFIG_CRYPTO_SHA256 is not set 1161# CONFIG_CRYPTO_SHA256 is not set
1106# CONFIG_CRYPTO_SHA512 is not set 1162# CONFIG_CRYPTO_SHA512 is not set
@@ -1141,12 +1197,14 @@ CONFIG_BITREVERSE=y
1141# CONFIG_GENERIC_FIND_NEXT_BIT is not set 1197# CONFIG_GENERIC_FIND_NEXT_BIT is not set
1142CONFIG_CRC_CCITT=m 1198CONFIG_CRC_CCITT=m
1143# CONFIG_CRC16 is not set 1199# CONFIG_CRC16 is not set
1200# CONFIG_CRC_T10DIF is not set
1144CONFIG_CRC_ITU_T=m 1201CONFIG_CRC_ITU_T=m
1145CONFIG_CRC32=y 1202CONFIG_CRC32=y
1146CONFIG_CRC7=m 1203CONFIG_CRC7=m
1147# CONFIG_LIBCRC32C is not set 1204# CONFIG_LIBCRC32C is not set
1148CONFIG_ZLIB_INFLATE=y 1205CONFIG_ZLIB_INFLATE=y
1149CONFIG_ZLIB_DEFLATE=y 1206CONFIG_ZLIB_DEFLATE=y
1207CONFIG_GENERIC_ALLOCATOR=y
1150CONFIG_PLIST=y 1208CONFIG_PLIST=y
1151CONFIG_HAS_IOMEM=y 1209CONFIG_HAS_IOMEM=y
1152CONFIG_HAS_IOPORT=y 1210CONFIG_HAS_IOPORT=y
diff --git a/arch/avr32/configs/atstk1002_defconfig b/arch/avr32/configs/atstk1002_defconfig
index c6d02eac8791..69fce6b6a783 100644
--- a/arch/avr32/configs/atstk1002_defconfig
+++ b/arch/avr32/configs/atstk1002_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.26-rc3 3# Linux kernel version: 2.6.27-rc1
4# Mon May 26 13:30:20 2008 4# Mon Aug 4 16:02:27 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
@@ -77,10 +77,16 @@ CONFIG_PROFILING=y
77CONFIG_OPROFILE=m 77CONFIG_OPROFILE=m
78CONFIG_HAVE_OPROFILE=y 78CONFIG_HAVE_OPROFILE=y
79CONFIG_KPROBES=y 79CONFIG_KPROBES=y
80# CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set
81# CONFIG_HAVE_IOREMAP_PROT is not set
80CONFIG_HAVE_KPROBES=y 82CONFIG_HAVE_KPROBES=y
81# CONFIG_HAVE_KRETPROBES is not set 83# CONFIG_HAVE_KRETPROBES is not set
84# CONFIG_HAVE_ARCH_TRACEHOOK is not set
82# CONFIG_HAVE_DMA_ATTRS is not set 85# CONFIG_HAVE_DMA_ATTRS is not set
86# CONFIG_USE_GENERIC_SMP_HELPERS is not set
87CONFIG_HAVE_CLK=y
83CONFIG_PROC_PAGE_MONITOR=y 88CONFIG_PROC_PAGE_MONITOR=y
89# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
84CONFIG_SLABINFO=y 90CONFIG_SLABINFO=y
85CONFIG_RT_MUTEXES=y 91CONFIG_RT_MUTEXES=y
86# CONFIG_TINY_SHMEM is not set 92# CONFIG_TINY_SHMEM is not set
@@ -91,12 +97,13 @@ CONFIG_MODULE_UNLOAD=y
91# CONFIG_MODULE_FORCE_UNLOAD is not set 97# CONFIG_MODULE_FORCE_UNLOAD is not set
92# CONFIG_MODVERSIONS is not set 98# CONFIG_MODVERSIONS is not set
93# CONFIG_MODULE_SRCVERSION_ALL is not set 99# CONFIG_MODULE_SRCVERSION_ALL is not set
94# CONFIG_KMOD is not set 100CONFIG_KMOD=y
95CONFIG_BLOCK=y 101CONFIG_BLOCK=y
96# CONFIG_LBD is not set 102# CONFIG_LBD is not set
97# CONFIG_BLK_DEV_IO_TRACE is not set 103# CONFIG_BLK_DEV_IO_TRACE is not set
98# CONFIG_LSF is not set 104# CONFIG_LSF is not set
99# CONFIG_BLK_DEV_BSG is not set 105# CONFIG_BLK_DEV_BSG is not set
106# CONFIG_BLK_DEV_INTEGRITY is not set
100 107
101# 108#
102# IO Schedulers 109# IO Schedulers
@@ -130,6 +137,7 @@ CONFIG_BOARD_ATSTK1000=y
130CONFIG_BOARD_ATSTK1002=y 137CONFIG_BOARD_ATSTK1002=y
131# CONFIG_BOARD_ATSTK1003 is not set 138# CONFIG_BOARD_ATSTK1003 is not set
132# CONFIG_BOARD_ATSTK1004 is not set 139# CONFIG_BOARD_ATSTK1004 is not set
140# CONFIG_BOARD_ATSTK1006 is not set
133# CONFIG_BOARD_ATSTK100X_CUSTOM is not set 141# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
134# CONFIG_BOARD_ATSTK100X_SPI1 is not set 142# CONFIG_BOARD_ATSTK100X_SPI1 is not set
135# CONFIG_BOARD_ATSTK1000_J2_LED is not set 143# CONFIG_BOARD_ATSTK1000_J2_LED is not set
@@ -150,6 +158,7 @@ CONFIG_PHYS_OFFSET=0x10000000
150CONFIG_PREEMPT_NONE=y 158CONFIG_PREEMPT_NONE=y
151# CONFIG_PREEMPT_VOLUNTARY is not set 159# CONFIG_PREEMPT_VOLUNTARY is not set
152# CONFIG_PREEMPT is not set 160# CONFIG_PREEMPT is not set
161CONFIG_QUICKLIST=y
153# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set 162# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
154# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set 163# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
155# CONFIG_NEED_NODE_MEMMAP_SIZE is not set 164# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
@@ -168,6 +177,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
168CONFIG_SPLIT_PTLOCK_CPUS=4 177CONFIG_SPLIT_PTLOCK_CPUS=4
169# CONFIG_RESOURCES_64BIT is not set 178# CONFIG_RESOURCES_64BIT is not set
170CONFIG_ZONE_DMA_FLAG=0 179CONFIG_ZONE_DMA_FLAG=0
180CONFIG_NR_QUICK=2
171CONFIG_VIRT_TO_BUS=y 181CONFIG_VIRT_TO_BUS=y
172# CONFIG_OWNERSHIP_TRACE is not set 182# CONFIG_OWNERSHIP_TRACE is not set
173CONFIG_NMI_DEBUGGING=y 183CONFIG_NMI_DEBUGGING=y
@@ -182,6 +192,12 @@ CONFIG_CMDLINE=""
182# 192#
183# Power management options 193# Power management options
184# 194#
195CONFIG_PM=y
196# CONFIG_PM_DEBUG is not set
197CONFIG_PM_SLEEP=y
198CONFIG_SUSPEND=y
199CONFIG_SUSPEND_FREEZER=y
200CONFIG_ARCH_SUSPEND_POSSIBLE=y
185 201
186# 202#
187# CPU Frequency scaling 203# CPU Frequency scaling
@@ -213,10 +229,6 @@ CONFIG_CPU_FREQ_AT32AP=y
213# 229#
214CONFIG_BINFMT_ELF=y 230CONFIG_BINFMT_ELF=y
215# CONFIG_BINFMT_MISC is not set 231# CONFIG_BINFMT_MISC is not set
216
217#
218# Networking
219#
220CONFIG_NET=y 232CONFIG_NET=y
221 233
222# 234#
@@ -230,6 +242,7 @@ CONFIG_XFRM_USER=m
230# CONFIG_XFRM_SUB_POLICY is not set 242# CONFIG_XFRM_SUB_POLICY is not set
231# CONFIG_XFRM_MIGRATE is not set 243# CONFIG_XFRM_MIGRATE is not set
232# CONFIG_XFRM_STATISTICS is not set 244# CONFIG_XFRM_STATISTICS is not set
245CONFIG_XFRM_IPCOMP=m
233CONFIG_NET_KEY=m 246CONFIG_NET_KEY=m
234# CONFIG_NET_KEY_MIGRATE is not set 247# CONFIG_NET_KEY_MIGRATE is not set
235CONFIG_INET=y 248CONFIG_INET=y
@@ -284,6 +297,7 @@ CONFIG_IPV6_TUNNEL=m
284# CONFIG_IP_SCTP is not set 297# CONFIG_IP_SCTP is not set
285# CONFIG_TIPC is not set 298# CONFIG_TIPC is not set
286# CONFIG_ATM is not set 299# CONFIG_ATM is not set
300CONFIG_STP=m
287CONFIG_BRIDGE=m 301CONFIG_BRIDGE=m
288# CONFIG_VLAN_8021Q is not set 302# CONFIG_VLAN_8021Q is not set
289# CONFIG_DECNET is not set 303# CONFIG_DECNET is not set
@@ -474,6 +488,7 @@ CONFIG_SCSI_WAIT_SCAN=m
474# CONFIG_SCSI_SAS_LIBSAS is not set 488# CONFIG_SCSI_SAS_LIBSAS is not set
475# CONFIG_SCSI_SRP_ATTRS is not set 489# CONFIG_SCSI_SRP_ATTRS is not set
476# CONFIG_SCSI_LOWLEVEL is not set 490# CONFIG_SCSI_LOWLEVEL is not set
491# CONFIG_SCSI_DH is not set
477CONFIG_ATA=m 492CONFIG_ATA=m
478# CONFIG_ATA_NONSTANDARD is not set 493# CONFIG_ATA_NONSTANDARD is not set
479# CONFIG_SATA_PMP is not set 494# CONFIG_SATA_PMP is not set
@@ -483,7 +498,6 @@ CONFIG_PATA_AT32=m
483# CONFIG_PATA_PLATFORM is not set 498# CONFIG_PATA_PLATFORM is not set
484# CONFIG_MD is not set 499# CONFIG_MD is not set
485CONFIG_NETDEVICES=y 500CONFIG_NETDEVICES=y
486# CONFIG_NETDEVICES_MULTIQUEUE is not set
487# CONFIG_DUMMY is not set 501# CONFIG_DUMMY is not set
488# CONFIG_BONDING is not set 502# CONFIG_BONDING is not set
489# CONFIG_MACVLAN is not set 503# CONFIG_MACVLAN is not set
@@ -625,21 +639,35 @@ CONFIG_I2C_ALGOBIT=m
625# 639#
626# I2C Hardware Bus support 640# I2C Hardware Bus support
627# 641#
642
643#
644# I2C system bus drivers (mostly embedded / system-on-chip)
645#
628CONFIG_I2C_GPIO=m 646CONFIG_I2C_GPIO=m
629# CONFIG_I2C_OCORES is not set 647# CONFIG_I2C_OCORES is not set
630# CONFIG_I2C_PARPORT_LIGHT is not set
631# CONFIG_I2C_SIMTEC is not set 648# CONFIG_I2C_SIMTEC is not set
649
650#
651# External I2C/SMBus adapter drivers
652#
653# CONFIG_I2C_PARPORT_LIGHT is not set
632# CONFIG_I2C_TAOS_EVM is not set 654# CONFIG_I2C_TAOS_EVM is not set
633# CONFIG_I2C_STUB is not set 655
656#
657# Other I2C/SMBus bus drivers
658#
634# CONFIG_I2C_PCA_PLATFORM is not set 659# CONFIG_I2C_PCA_PLATFORM is not set
660# CONFIG_I2C_STUB is not set
635 661
636# 662#
637# Miscellaneous I2C Chip support 663# Miscellaneous I2C Chip support
638# 664#
639# CONFIG_DS1682 is not set 665# CONFIG_DS1682 is not set
666CONFIG_AT24=m
640# CONFIG_SENSORS_EEPROM is not set 667# CONFIG_SENSORS_EEPROM is not set
641# CONFIG_SENSORS_PCF8574 is not set 668# CONFIG_SENSORS_PCF8574 is not set
642# CONFIG_PCF8575 is not set 669# CONFIG_PCF8575 is not set
670# CONFIG_SENSORS_PCA9539 is not set
643# CONFIG_SENSORS_PCF8591 is not set 671# CONFIG_SENSORS_PCF8591 is not set
644# CONFIG_TPS65010 is not set 672# CONFIG_TPS65010 is not set
645# CONFIG_SENSORS_MAX6875 is not set 673# CONFIG_SENSORS_MAX6875 is not set
@@ -664,27 +692,32 @@ CONFIG_SPI_ATMEL=y
664# CONFIG_SPI_AT25 is not set 692# CONFIG_SPI_AT25 is not set
665CONFIG_SPI_SPIDEV=m 693CONFIG_SPI_SPIDEV=m
666# CONFIG_SPI_TLE62X0 is not set 694# CONFIG_SPI_TLE62X0 is not set
667CONFIG_HAVE_GPIO_LIB=y 695CONFIG_ARCH_REQUIRE_GPIOLIB=y
668 696CONFIG_GPIOLIB=y
669#
670# GPIO Support
671#
672# CONFIG_DEBUG_GPIO is not set 697# CONFIG_DEBUG_GPIO is not set
698CONFIG_GPIO_SYSFS=y
673 699
674# 700#
675# I2C GPIO expanders: 701# I2C GPIO expanders:
676# 702#
703# CONFIG_GPIO_MAX732X is not set
677# CONFIG_GPIO_PCA953X is not set 704# CONFIG_GPIO_PCA953X is not set
678# CONFIG_GPIO_PCF857X is not set 705# CONFIG_GPIO_PCF857X is not set
679 706
680# 707#
708# PCI GPIO expanders:
709#
710
711#
681# SPI GPIO expanders: 712# SPI GPIO expanders:
682# 713#
714# CONFIG_GPIO_MAX7301 is not set
683# CONFIG_GPIO_MCP23S08 is not set 715# CONFIG_GPIO_MCP23S08 is not set
684# CONFIG_W1 is not set 716# CONFIG_W1 is not set
685# CONFIG_POWER_SUPPLY is not set 717# CONFIG_POWER_SUPPLY is not set
686# CONFIG_HWMON is not set 718# CONFIG_HWMON is not set
687# CONFIG_THERMAL is not set 719# CONFIG_THERMAL is not set
720# CONFIG_THERMAL_HWMON is not set
688CONFIG_WATCHDOG=y 721CONFIG_WATCHDOG=y
689# CONFIG_WATCHDOG_NOWAYOUT is not set 722# CONFIG_WATCHDOG_NOWAYOUT is not set
690 723
@@ -703,6 +736,7 @@ CONFIG_SSB_POSSIBLE=y
703# 736#
704# Multifunction device drivers 737# Multifunction device drivers
705# 738#
739# CONFIG_MFD_CORE is not set
706# CONFIG_MFD_SM501 is not set 740# CONFIG_MFD_SM501 is not set
707# CONFIG_HTC_PASIC3 is not set 741# CONFIG_HTC_PASIC3 is not set
708 742
@@ -754,6 +788,9 @@ CONFIG_FB_ATMEL=y
754CONFIG_BACKLIGHT_LCD_SUPPORT=y 788CONFIG_BACKLIGHT_LCD_SUPPORT=y
755CONFIG_LCD_CLASS_DEVICE=y 789CONFIG_LCD_CLASS_DEVICE=y
756CONFIG_LCD_LTV350QV=y 790CONFIG_LCD_LTV350QV=y
791# CONFIG_LCD_ILI9320 is not set
792# CONFIG_LCD_VGG2432A4 is not set
793# CONFIG_LCD_PLATFORM is not set
757# CONFIG_BACKLIGHT_CLASS_DEVICE is not set 794# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
758 795
759# 796#
@@ -761,15 +798,7 @@ CONFIG_LCD_LTV350QV=y
761# 798#
762# CONFIG_DISPLAY_SUPPORT is not set 799# CONFIG_DISPLAY_SUPPORT is not set
763# CONFIG_LOGO is not set 800# CONFIG_LOGO is not set
764
765#
766# Sound
767#
768CONFIG_SOUND=m 801CONFIG_SOUND=m
769
770#
771# Advanced Linux Sound Architecture
772#
773CONFIG_SND=m 802CONFIG_SND=m
774CONFIG_SND_TIMER=m 803CONFIG_SND_TIMER=m
775CONFIG_SND_PCM=m 804CONFIG_SND_PCM=m
@@ -783,37 +812,11 @@ CONFIG_SND_PCM_OSS_PLUGINS=y
783# CONFIG_SND_VERBOSE_PROCFS is not set 812# CONFIG_SND_VERBOSE_PROCFS is not set
784# CONFIG_SND_VERBOSE_PRINTK is not set 813# CONFIG_SND_VERBOSE_PRINTK is not set
785# CONFIG_SND_DEBUG is not set 814# CONFIG_SND_DEBUG is not set
786 815# CONFIG_SND_DRIVERS is not set
787# 816CONFIG_SND_SPI=y
788# Generic devices
789#
790# CONFIG_SND_DUMMY is not set
791# CONFIG_SND_MTPAV is not set
792# CONFIG_SND_SERIAL_U16550 is not set
793# CONFIG_SND_MPU401 is not set
794
795#
796# SPI devices
797#
798CONFIG_SND_AT73C213=m 817CONFIG_SND_AT73C213=m
799CONFIG_SND_AT73C213_TARGET_BITRATE=48000 818CONFIG_SND_AT73C213_TARGET_BITRATE=48000
800
801#
802# System on Chip audio support
803#
804# CONFIG_SND_SOC is not set 819# CONFIG_SND_SOC is not set
805
806#
807# ALSA SoC audio for Freescale SOCs
808#
809
810#
811# SoC Audio for the Texas Instruments OMAP
812#
813
814#
815# Open Sound System
816#
817# CONFIG_SOUND_PRIME is not set 820# CONFIG_SOUND_PRIME is not set
818# CONFIG_HID_SUPPORT is not set 821# CONFIG_HID_SUPPORT is not set
819CONFIG_USB_SUPPORT=y 822CONFIG_USB_SUPPORT=y
@@ -836,7 +839,7 @@ CONFIG_USB_GADGET_ATMEL_USBA=y
836CONFIG_USB_ATMEL_USBA=y 839CONFIG_USB_ATMEL_USBA=y
837# CONFIG_USB_GADGET_FSL_USB2 is not set 840# CONFIG_USB_GADGET_FSL_USB2 is not set
838# CONFIG_USB_GADGET_NET2280 is not set 841# CONFIG_USB_GADGET_NET2280 is not set
839# CONFIG_USB_GADGET_PXA2XX is not set 842# CONFIG_USB_GADGET_PXA25X is not set
840# CONFIG_USB_GADGET_M66592 is not set 843# CONFIG_USB_GADGET_M66592 is not set
841# CONFIG_USB_GADGET_PXA27X is not set 844# CONFIG_USB_GADGET_PXA27X is not set
842# CONFIG_USB_GADGET_GOKU is not set 845# CONFIG_USB_GADGET_GOKU is not set
@@ -855,21 +858,24 @@ CONFIG_USB_FILE_STORAGE=m
855CONFIG_USB_G_SERIAL=m 858CONFIG_USB_G_SERIAL=m
856# CONFIG_USB_MIDI_GADGET is not set 859# CONFIG_USB_MIDI_GADGET is not set
857# CONFIG_USB_G_PRINTER is not set 860# CONFIG_USB_G_PRINTER is not set
858CONFIG_MMC=m 861CONFIG_USB_CDC_COMPOSITE=m
862CONFIG_MMC=y
859# CONFIG_MMC_DEBUG is not set 863# CONFIG_MMC_DEBUG is not set
860# CONFIG_MMC_UNSAFE_RESUME is not set 864# CONFIG_MMC_UNSAFE_RESUME is not set
861 865
862# 866#
863# MMC/SD Card Drivers 867# MMC/SD Card Drivers
864# 868#
865CONFIG_MMC_BLOCK=m 869CONFIG_MMC_BLOCK=y
866CONFIG_MMC_BLOCK_BOUNCE=y 870CONFIG_MMC_BLOCK_BOUNCE=y
867# CONFIG_SDIO_UART is not set 871# CONFIG_SDIO_UART is not set
868CONFIG_MMC_TEST=m 872# CONFIG_MMC_TEST is not set
869 873
870# 874#
871# MMC/SD Host Controller Drivers 875# MMC/SD Host Controller Drivers
872# 876#
877# CONFIG_MMC_SDHCI is not set
878CONFIG_MMC_ATMELMCI=y
873CONFIG_MMC_SPI=m 879CONFIG_MMC_SPI=m
874# CONFIG_MEMSTICK is not set 880# CONFIG_MEMSTICK is not set
875CONFIG_NEW_LEDS=y 881CONFIG_NEW_LEDS=y
@@ -879,7 +885,9 @@ CONFIG_LEDS_CLASS=m
879# LED drivers 885# LED drivers
880# 886#
881CONFIG_LEDS_ATMEL_PWM=m 887CONFIG_LEDS_ATMEL_PWM=m
888# CONFIG_LEDS_PCA9532 is not set
882CONFIG_LEDS_GPIO=m 889CONFIG_LEDS_GPIO=m
890# CONFIG_LEDS_PCA955X is not set
883 891
884# 892#
885# LED Triggers 893# LED Triggers
@@ -918,10 +926,13 @@ CONFIG_RTC_INTF_DEV=y
918# CONFIG_RTC_DRV_PCF8583 is not set 926# CONFIG_RTC_DRV_PCF8583 is not set
919# CONFIG_RTC_DRV_M41T80 is not set 927# CONFIG_RTC_DRV_M41T80 is not set
920# CONFIG_RTC_DRV_S35390A is not set 928# CONFIG_RTC_DRV_S35390A is not set
929# CONFIG_RTC_DRV_FM3130 is not set
921 930
922# 931#
923# SPI RTC drivers 932# SPI RTC drivers
924# 933#
934# CONFIG_RTC_DRV_M41T94 is not set
935# CONFIG_RTC_DRV_DS1305 is not set
925# CONFIG_RTC_DRV_MAX6902 is not set 936# CONFIG_RTC_DRV_MAX6902 is not set
926# CONFIG_RTC_DRV_R9701 is not set 937# CONFIG_RTC_DRV_R9701 is not set
927# CONFIG_RTC_DRV_RS5C348 is not set 938# CONFIG_RTC_DRV_RS5C348 is not set
@@ -941,18 +952,31 @@ CONFIG_RTC_INTF_DEV=y
941# on-CPU RTC drivers 952# on-CPU RTC drivers
942# 953#
943CONFIG_RTC_DRV_AT32AP700X=y 954CONFIG_RTC_DRV_AT32AP700X=y
955CONFIG_DMADEVICES=y
956
957#
958# DMA Devices
959#
960CONFIG_DW_DMAC=y
961CONFIG_DMA_ENGINE=y
962
963#
964# DMA Clients
965#
966# CONFIG_NET_DMA is not set
967CONFIG_DMATEST=m
944# CONFIG_UIO is not set 968# CONFIG_UIO is not set
945 969
946# 970#
947# File systems 971# File systems
948# 972#
949CONFIG_EXT2_FS=m 973CONFIG_EXT2_FS=y
950# CONFIG_EXT2_FS_XATTR is not set 974# CONFIG_EXT2_FS_XATTR is not set
951# CONFIG_EXT2_FS_XIP is not set 975# CONFIG_EXT2_FS_XIP is not set
952CONFIG_EXT3_FS=m 976CONFIG_EXT3_FS=y
953# CONFIG_EXT3_FS_XATTR is not set 977# CONFIG_EXT3_FS_XATTR is not set
954# CONFIG_EXT4DEV_FS is not set 978# CONFIG_EXT4DEV_FS is not set
955CONFIG_JBD=m 979CONFIG_JBD=y
956# CONFIG_JBD_DEBUG is not set 980# CONFIG_JBD_DEBUG is not set
957# CONFIG_REISERFS_FS is not set 981# CONFIG_REISERFS_FS is not set
958# CONFIG_JFS_FS is not set 982# CONFIG_JFS_FS is not set
@@ -1018,6 +1042,7 @@ CONFIG_JFFS2_RTIME=y
1018# CONFIG_CRAMFS is not set 1042# CONFIG_CRAMFS is not set
1019# CONFIG_VXFS_FS is not set 1043# CONFIG_VXFS_FS is not set
1020CONFIG_MINIX_FS=m 1044CONFIG_MINIX_FS=m
1045# CONFIG_OMFS_FS is not set
1021# CONFIG_HPFS_FS is not set 1046# CONFIG_HPFS_FS is not set
1022# CONFIG_QNX4FS_FS is not set 1047# CONFIG_QNX4FS_FS is not set
1023# CONFIG_ROMFS_FS is not set 1048# CONFIG_ROMFS_FS is not set
@@ -1028,13 +1053,12 @@ CONFIG_NFS_FS=y
1028CONFIG_NFS_V3=y 1053CONFIG_NFS_V3=y
1029# CONFIG_NFS_V3_ACL is not set 1054# CONFIG_NFS_V3_ACL is not set
1030# CONFIG_NFS_V4 is not set 1055# CONFIG_NFS_V4 is not set
1031# CONFIG_NFSD is not set
1032CONFIG_ROOT_NFS=y 1056CONFIG_ROOT_NFS=y
1057# CONFIG_NFSD is not set
1033CONFIG_LOCKD=y 1058CONFIG_LOCKD=y
1034CONFIG_LOCKD_V4=y 1059CONFIG_LOCKD_V4=y
1035CONFIG_NFS_COMMON=y 1060CONFIG_NFS_COMMON=y
1036CONFIG_SUNRPC=y 1061CONFIG_SUNRPC=y
1037# CONFIG_SUNRPC_BIND34 is not set
1038# CONFIG_RPCSEC_GSS_KRB5 is not set 1062# CONFIG_RPCSEC_GSS_KRB5 is not set
1039# CONFIG_RPCSEC_GSS_SPKM3 is not set 1063# CONFIG_RPCSEC_GSS_SPKM3 is not set
1040# CONFIG_SMB_FS is not set 1064# CONFIG_SMB_FS is not set
@@ -1104,6 +1128,8 @@ CONFIG_DEBUG_FS=y
1104CONFIG_DEBUG_KERNEL=y 1128CONFIG_DEBUG_KERNEL=y
1105# CONFIG_DEBUG_SHIRQ is not set 1129# CONFIG_DEBUG_SHIRQ is not set
1106CONFIG_DETECT_SOFTLOCKUP=y 1130CONFIG_DETECT_SOFTLOCKUP=y
1131# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1132CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1107CONFIG_SCHED_DEBUG=y 1133CONFIG_SCHED_DEBUG=y
1108# CONFIG_SCHEDSTATS is not set 1134# CONFIG_SCHEDSTATS is not set
1109# CONFIG_TIMER_STATS is not set 1135# CONFIG_TIMER_STATS is not set
@@ -1124,6 +1150,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
1124# CONFIG_DEBUG_INFO is not set 1150# CONFIG_DEBUG_INFO is not set
1125# CONFIG_DEBUG_VM is not set 1151# CONFIG_DEBUG_VM is not set
1126# CONFIG_DEBUG_WRITECOUNT is not set 1152# CONFIG_DEBUG_WRITECOUNT is not set
1153# CONFIG_DEBUG_MEMORY_INIT is not set
1127# CONFIG_DEBUG_LIST is not set 1154# CONFIG_DEBUG_LIST is not set
1128# CONFIG_DEBUG_SG is not set 1155# CONFIG_DEBUG_SG is not set
1129CONFIG_FRAME_POINTER=y 1156CONFIG_FRAME_POINTER=y
@@ -1188,6 +1215,10 @@ CONFIG_CRYPTO_HMAC=m
1188# CONFIG_CRYPTO_MD4 is not set 1215# CONFIG_CRYPTO_MD4 is not set
1189CONFIG_CRYPTO_MD5=m 1216CONFIG_CRYPTO_MD5=m
1190# CONFIG_CRYPTO_MICHAEL_MIC is not set 1217# CONFIG_CRYPTO_MICHAEL_MIC is not set
1218# CONFIG_CRYPTO_RMD128 is not set
1219# CONFIG_CRYPTO_RMD160 is not set
1220# CONFIG_CRYPTO_RMD256 is not set
1221# CONFIG_CRYPTO_RMD320 is not set
1191CONFIG_CRYPTO_SHA1=m 1222CONFIG_CRYPTO_SHA1=m
1192# CONFIG_CRYPTO_SHA256 is not set 1223# CONFIG_CRYPTO_SHA256 is not set
1193# CONFIG_CRYPTO_SHA512 is not set 1224# CONFIG_CRYPTO_SHA512 is not set
@@ -1228,12 +1259,14 @@ CONFIG_BITREVERSE=y
1228# CONFIG_GENERIC_FIND_NEXT_BIT is not set 1259# CONFIG_GENERIC_FIND_NEXT_BIT is not set
1229CONFIG_CRC_CCITT=m 1260CONFIG_CRC_CCITT=m
1230# CONFIG_CRC16 is not set 1261# CONFIG_CRC16 is not set
1262CONFIG_CRC_T10DIF=m
1231CONFIG_CRC_ITU_T=m 1263CONFIG_CRC_ITU_T=m
1232CONFIG_CRC32=y 1264CONFIG_CRC32=y
1233CONFIG_CRC7=m 1265CONFIG_CRC7=m
1234# CONFIG_LIBCRC32C is not set 1266# CONFIG_LIBCRC32C is not set
1235CONFIG_ZLIB_INFLATE=y 1267CONFIG_ZLIB_INFLATE=y
1236CONFIG_ZLIB_DEFLATE=y 1268CONFIG_ZLIB_DEFLATE=y
1269CONFIG_GENERIC_ALLOCATOR=y
1237CONFIG_PLIST=y 1270CONFIG_PLIST=y
1238CONFIG_HAS_IOMEM=y 1271CONFIG_HAS_IOMEM=y
1239CONFIG_HAS_IOPORT=y 1272CONFIG_HAS_IOPORT=y
diff --git a/arch/avr32/configs/atstk1003_defconfig b/arch/avr32/configs/atstk1003_defconfig
index 5a4ae6b5d28f..5477ed3183b4 100644
--- a/arch/avr32/configs/atstk1003_defconfig
+++ b/arch/avr32/configs/atstk1003_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.26-rc3 3# Linux kernel version: 2.6.27-rc1
4# Mon May 26 13:33:05 2008 4# Tue Aug 5 15:34:44 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
@@ -80,10 +80,16 @@ CONFIG_PROFILING=y
80CONFIG_OPROFILE=m 80CONFIG_OPROFILE=m
81CONFIG_HAVE_OPROFILE=y 81CONFIG_HAVE_OPROFILE=y
82CONFIG_KPROBES=y 82CONFIG_KPROBES=y
83# CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set
84# CONFIG_HAVE_IOREMAP_PROT is not set
83CONFIG_HAVE_KPROBES=y 85CONFIG_HAVE_KPROBES=y
84# CONFIG_HAVE_KRETPROBES is not set 86# CONFIG_HAVE_KRETPROBES is not set
87# CONFIG_HAVE_ARCH_TRACEHOOK is not set
85# CONFIG_HAVE_DMA_ATTRS is not set 88# CONFIG_HAVE_DMA_ATTRS is not set
89# CONFIG_USE_GENERIC_SMP_HELPERS is not set
90CONFIG_HAVE_CLK=y
86CONFIG_PROC_PAGE_MONITOR=y 91CONFIG_PROC_PAGE_MONITOR=y
92# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
87CONFIG_RT_MUTEXES=y 93CONFIG_RT_MUTEXES=y
88# CONFIG_TINY_SHMEM is not set 94# CONFIG_TINY_SHMEM is not set
89CONFIG_BASE_SMALL=1 95CONFIG_BASE_SMALL=1
@@ -93,12 +99,13 @@ CONFIG_MODULE_UNLOAD=y
93# CONFIG_MODULE_FORCE_UNLOAD is not set 99# CONFIG_MODULE_FORCE_UNLOAD is not set
94# CONFIG_MODVERSIONS is not set 100# CONFIG_MODVERSIONS is not set
95# CONFIG_MODULE_SRCVERSION_ALL is not set 101# CONFIG_MODULE_SRCVERSION_ALL is not set
96# CONFIG_KMOD is not set 102CONFIG_KMOD=y
97CONFIG_BLOCK=y 103CONFIG_BLOCK=y
98# CONFIG_LBD is not set 104# CONFIG_LBD is not set
99# CONFIG_BLK_DEV_IO_TRACE is not set 105# CONFIG_BLK_DEV_IO_TRACE is not set
100# CONFIG_LSF is not set 106# CONFIG_LSF is not set
101# CONFIG_BLK_DEV_BSG is not set 107# CONFIG_BLK_DEV_BSG is not set
108# CONFIG_BLK_DEV_INTEGRITY is not set
102 109
103# 110#
104# IO Schedulers 111# IO Schedulers
@@ -132,6 +139,7 @@ CONFIG_BOARD_ATSTK1000=y
132# CONFIG_BOARD_ATSTK1002 is not set 139# CONFIG_BOARD_ATSTK1002 is not set
133CONFIG_BOARD_ATSTK1003=y 140CONFIG_BOARD_ATSTK1003=y
134# CONFIG_BOARD_ATSTK1004 is not set 141# CONFIG_BOARD_ATSTK1004 is not set
142# CONFIG_BOARD_ATSTK1006 is not set
135# CONFIG_BOARD_ATSTK100X_CUSTOM is not set 143# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
136# CONFIG_BOARD_ATSTK100X_SPI1 is not set 144# CONFIG_BOARD_ATSTK100X_SPI1 is not set
137# CONFIG_BOARD_ATSTK1000_J2_LED is not set 145# CONFIG_BOARD_ATSTK1000_J2_LED is not set
@@ -152,6 +160,7 @@ CONFIG_PHYS_OFFSET=0x10000000
152CONFIG_PREEMPT_NONE=y 160CONFIG_PREEMPT_NONE=y
153# CONFIG_PREEMPT_VOLUNTARY is not set 161# CONFIG_PREEMPT_VOLUNTARY is not set
154# CONFIG_PREEMPT is not set 162# CONFIG_PREEMPT is not set
163CONFIG_QUICKLIST=y
155# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set 164# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
156# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set 165# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
157# CONFIG_NEED_NODE_MEMMAP_SIZE is not set 166# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
@@ -170,6 +179,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
170CONFIG_SPLIT_PTLOCK_CPUS=4 179CONFIG_SPLIT_PTLOCK_CPUS=4
171# CONFIG_RESOURCES_64BIT is not set 180# CONFIG_RESOURCES_64BIT is not set
172CONFIG_ZONE_DMA_FLAG=0 181CONFIG_ZONE_DMA_FLAG=0
182CONFIG_NR_QUICK=2
173CONFIG_VIRT_TO_BUS=y 183CONFIG_VIRT_TO_BUS=y
174# CONFIG_OWNERSHIP_TRACE is not set 184# CONFIG_OWNERSHIP_TRACE is not set
175CONFIG_NMI_DEBUGGING=y 185CONFIG_NMI_DEBUGGING=y
@@ -184,6 +194,12 @@ CONFIG_CMDLINE=""
184# 194#
185# Power management options 195# Power management options
186# 196#
197CONFIG_PM=y
198# CONFIG_PM_DEBUG is not set
199CONFIG_PM_SLEEP=y
200CONFIG_SUSPEND=y
201CONFIG_SUSPEND_FREEZER=y
202CONFIG_ARCH_SUSPEND_POSSIBLE=y
187 203
188# 204#
189# CPU Frequency scaling 205# CPU Frequency scaling
@@ -215,10 +231,6 @@ CONFIG_CPU_FREQ_AT32AP=y
215# 231#
216CONFIG_BINFMT_ELF=y 232CONFIG_BINFMT_ELF=y
217# CONFIG_BINFMT_MISC is not set 233# CONFIG_BINFMT_MISC is not set
218
219#
220# Networking
221#
222CONFIG_NET=y 234CONFIG_NET=y
223 235
224# 236#
@@ -449,6 +461,7 @@ CONFIG_SCSI_WAIT_SCAN=m
449CONFIG_SCSI_LOWLEVEL=y 461CONFIG_SCSI_LOWLEVEL=y
450# CONFIG_ISCSI_TCP is not set 462# CONFIG_ISCSI_TCP is not set
451# CONFIG_SCSI_DEBUG is not set 463# CONFIG_SCSI_DEBUG is not set
464# CONFIG_SCSI_DH is not set
452CONFIG_ATA=m 465CONFIG_ATA=m
453# CONFIG_ATA_NONSTANDARD is not set 466# CONFIG_ATA_NONSTANDARD is not set
454# CONFIG_SATA_PMP is not set 467# CONFIG_SATA_PMP is not set
@@ -458,7 +471,6 @@ CONFIG_PATA_AT32=m
458# CONFIG_PATA_PLATFORM is not set 471# CONFIG_PATA_PLATFORM is not set
459# CONFIG_MD is not set 472# CONFIG_MD is not set
460CONFIG_NETDEVICES=y 473CONFIG_NETDEVICES=y
461# CONFIG_NETDEVICES_MULTIQUEUE is not set
462# CONFIG_DUMMY is not set 474# CONFIG_DUMMY is not set
463# CONFIG_BONDING is not set 475# CONFIG_BONDING is not set
464# CONFIG_MACVLAN is not set 476# CONFIG_MACVLAN is not set
@@ -575,21 +587,35 @@ CONFIG_I2C_ALGOBIT=m
575# 587#
576# I2C Hardware Bus support 588# I2C Hardware Bus support
577# 589#
590
591#
592# I2C system bus drivers (mostly embedded / system-on-chip)
593#
578CONFIG_I2C_GPIO=m 594CONFIG_I2C_GPIO=m
579# CONFIG_I2C_OCORES is not set 595# CONFIG_I2C_OCORES is not set
580# CONFIG_I2C_PARPORT_LIGHT is not set
581# CONFIG_I2C_SIMTEC is not set 596# CONFIG_I2C_SIMTEC is not set
597
598#
599# External I2C/SMBus adapter drivers
600#
601# CONFIG_I2C_PARPORT_LIGHT is not set
582# CONFIG_I2C_TAOS_EVM is not set 602# CONFIG_I2C_TAOS_EVM is not set
583# CONFIG_I2C_STUB is not set 603
604#
605# Other I2C/SMBus bus drivers
606#
584# CONFIG_I2C_PCA_PLATFORM is not set 607# CONFIG_I2C_PCA_PLATFORM is not set
608# CONFIG_I2C_STUB is not set
585 609
586# 610#
587# Miscellaneous I2C Chip support 611# Miscellaneous I2C Chip support
588# 612#
589# CONFIG_DS1682 is not set 613# CONFIG_DS1682 is not set
614CONFIG_AT24=m
590# CONFIG_SENSORS_EEPROM is not set 615# CONFIG_SENSORS_EEPROM is not set
591# CONFIG_SENSORS_PCF8574 is not set 616# CONFIG_SENSORS_PCF8574 is not set
592# CONFIG_PCF8575 is not set 617# CONFIG_PCF8575 is not set
618# CONFIG_SENSORS_PCA9539 is not set
593# CONFIG_SENSORS_PCF8591 is not set 619# CONFIG_SENSORS_PCF8591 is not set
594# CONFIG_TPS65010 is not set 620# CONFIG_TPS65010 is not set
595# CONFIG_SENSORS_MAX6875 is not set 621# CONFIG_SENSORS_MAX6875 is not set
@@ -614,27 +640,32 @@ CONFIG_SPI_ATMEL=y
614# CONFIG_SPI_AT25 is not set 640# CONFIG_SPI_AT25 is not set
615CONFIG_SPI_SPIDEV=m 641CONFIG_SPI_SPIDEV=m
616# CONFIG_SPI_TLE62X0 is not set 642# CONFIG_SPI_TLE62X0 is not set
617CONFIG_HAVE_GPIO_LIB=y 643CONFIG_ARCH_REQUIRE_GPIOLIB=y
618 644CONFIG_GPIOLIB=y
619#
620# GPIO Support
621#
622# CONFIG_DEBUG_GPIO is not set 645# CONFIG_DEBUG_GPIO is not set
646CONFIG_GPIO_SYSFS=y
623 647
624# 648#
625# I2C GPIO expanders: 649# I2C GPIO expanders:
626# 650#
651# CONFIG_GPIO_MAX732X is not set
627# CONFIG_GPIO_PCA953X is not set 652# CONFIG_GPIO_PCA953X is not set
628# CONFIG_GPIO_PCF857X is not set 653# CONFIG_GPIO_PCF857X is not set
629 654
630# 655#
656# PCI GPIO expanders:
657#
658
659#
631# SPI GPIO expanders: 660# SPI GPIO expanders:
632# 661#
662# CONFIG_GPIO_MAX7301 is not set
633# CONFIG_GPIO_MCP23S08 is not set 663# CONFIG_GPIO_MCP23S08 is not set
634# CONFIG_W1 is not set 664# CONFIG_W1 is not set
635# CONFIG_POWER_SUPPLY is not set 665# CONFIG_POWER_SUPPLY is not set
636# CONFIG_HWMON is not set 666# CONFIG_HWMON is not set
637# CONFIG_THERMAL is not set 667# CONFIG_THERMAL is not set
668# CONFIG_THERMAL_HWMON is not set
638CONFIG_WATCHDOG=y 669CONFIG_WATCHDOG=y
639# CONFIG_WATCHDOG_NOWAYOUT is not set 670# CONFIG_WATCHDOG_NOWAYOUT is not set
640 671
@@ -653,6 +684,7 @@ CONFIG_SSB_POSSIBLE=y
653# 684#
654# Multifunction device drivers 685# Multifunction device drivers
655# 686#
687# CONFIG_MFD_CORE is not set
656# CONFIG_MFD_SM501 is not set 688# CONFIG_MFD_SM501 is not set
657# CONFIG_HTC_PASIC3 is not set 689# CONFIG_HTC_PASIC3 is not set
658 690
@@ -684,15 +716,7 @@ CONFIG_SSB_POSSIBLE=y
684# Display device support 716# Display device support
685# 717#
686# CONFIG_DISPLAY_SUPPORT is not set 718# CONFIG_DISPLAY_SUPPORT is not set
687
688#
689# Sound
690#
691CONFIG_SOUND=m 719CONFIG_SOUND=m
692
693#
694# Advanced Linux Sound Architecture
695#
696CONFIG_SND=m 720CONFIG_SND=m
697CONFIG_SND_TIMER=m 721CONFIG_SND_TIMER=m
698CONFIG_SND_PCM=m 722CONFIG_SND_PCM=m
@@ -706,37 +730,11 @@ CONFIG_SND_SUPPORT_OLD_API=y
706CONFIG_SND_VERBOSE_PROCFS=y 730CONFIG_SND_VERBOSE_PROCFS=y
707# CONFIG_SND_VERBOSE_PRINTK is not set 731# CONFIG_SND_VERBOSE_PRINTK is not set
708# CONFIG_SND_DEBUG is not set 732# CONFIG_SND_DEBUG is not set
709 733# CONFIG_SND_DRIVERS is not set
710# 734CONFIG_SND_SPI=y
711# Generic devices
712#
713# CONFIG_SND_DUMMY is not set
714# CONFIG_SND_MTPAV is not set
715# CONFIG_SND_SERIAL_U16550 is not set
716# CONFIG_SND_MPU401 is not set
717
718#
719# SPI devices
720#
721CONFIG_SND_AT73C213=m 735CONFIG_SND_AT73C213=m
722CONFIG_SND_AT73C213_TARGET_BITRATE=48000 736CONFIG_SND_AT73C213_TARGET_BITRATE=48000
723
724#
725# System on Chip audio support
726#
727# CONFIG_SND_SOC is not set 737# CONFIG_SND_SOC is not set
728
729#
730# ALSA SoC audio for Freescale SOCs
731#
732
733#
734# SoC Audio for the Texas Instruments OMAP
735#
736
737#
738# Open Sound System
739#
740# CONFIG_SOUND_PRIME is not set 738# CONFIG_SOUND_PRIME is not set
741# CONFIG_HID_SUPPORT is not set 739# CONFIG_HID_SUPPORT is not set
742CONFIG_USB_SUPPORT=y 740CONFIG_USB_SUPPORT=y
@@ -759,7 +757,7 @@ CONFIG_USB_GADGET_ATMEL_USBA=y
759CONFIG_USB_ATMEL_USBA=y 757CONFIG_USB_ATMEL_USBA=y
760# CONFIG_USB_GADGET_FSL_USB2 is not set 758# CONFIG_USB_GADGET_FSL_USB2 is not set
761# CONFIG_USB_GADGET_NET2280 is not set 759# CONFIG_USB_GADGET_NET2280 is not set
762# CONFIG_USB_GADGET_PXA2XX is not set 760# CONFIG_USB_GADGET_PXA25X is not set
763# CONFIG_USB_GADGET_M66592 is not set 761# CONFIG_USB_GADGET_M66592 is not set
764# CONFIG_USB_GADGET_PXA27X is not set 762# CONFIG_USB_GADGET_PXA27X is not set
765# CONFIG_USB_GADGET_GOKU is not set 763# CONFIG_USB_GADGET_GOKU is not set
@@ -778,21 +776,24 @@ CONFIG_USB_FILE_STORAGE=m
778CONFIG_USB_G_SERIAL=m 776CONFIG_USB_G_SERIAL=m
779# CONFIG_USB_MIDI_GADGET is not set 777# CONFIG_USB_MIDI_GADGET is not set
780# CONFIG_USB_G_PRINTER is not set 778# CONFIG_USB_G_PRINTER is not set
781CONFIG_MMC=m 779CONFIG_USB_CDC_COMPOSITE=m
780CONFIG_MMC=y
782# CONFIG_MMC_DEBUG is not set 781# CONFIG_MMC_DEBUG is not set
783# CONFIG_MMC_UNSAFE_RESUME is not set 782# CONFIG_MMC_UNSAFE_RESUME is not set
784 783
785# 784#
786# MMC/SD Card Drivers 785# MMC/SD Card Drivers
787# 786#
788CONFIG_MMC_BLOCK=m 787CONFIG_MMC_BLOCK=y
789# CONFIG_MMC_BLOCK_BOUNCE is not set 788CONFIG_MMC_BLOCK_BOUNCE=y
790# CONFIG_SDIO_UART is not set 789# CONFIG_SDIO_UART is not set
791# CONFIG_MMC_TEST is not set 790CONFIG_MMC_TEST=m
792 791
793# 792#
794# MMC/SD Host Controller Drivers 793# MMC/SD Host Controller Drivers
795# 794#
795# CONFIG_MMC_SDHCI is not set
796CONFIG_MMC_ATMELMCI=y
796CONFIG_MMC_SPI=m 797CONFIG_MMC_SPI=m
797# CONFIG_MEMSTICK is not set 798# CONFIG_MEMSTICK is not set
798CONFIG_NEW_LEDS=y 799CONFIG_NEW_LEDS=y
@@ -802,7 +803,9 @@ CONFIG_LEDS_CLASS=y
802# LED drivers 803# LED drivers
803# 804#
804CONFIG_LEDS_ATMEL_PWM=m 805CONFIG_LEDS_ATMEL_PWM=m
806# CONFIG_LEDS_PCA9532 is not set
805CONFIG_LEDS_GPIO=y 807CONFIG_LEDS_GPIO=y
808# CONFIG_LEDS_PCA955X is not set
806 809
807# 810#
808# LED Triggers 811# LED Triggers
@@ -841,10 +844,13 @@ CONFIG_RTC_INTF_DEV=y
841# CONFIG_RTC_DRV_PCF8583 is not set 844# CONFIG_RTC_DRV_PCF8583 is not set
842# CONFIG_RTC_DRV_M41T80 is not set 845# CONFIG_RTC_DRV_M41T80 is not set
843# CONFIG_RTC_DRV_S35390A is not set 846# CONFIG_RTC_DRV_S35390A is not set
847# CONFIG_RTC_DRV_FM3130 is not set
844 848
845# 849#
846# SPI RTC drivers 850# SPI RTC drivers
847# 851#
852# CONFIG_RTC_DRV_M41T94 is not set
853# CONFIG_RTC_DRV_DS1305 is not set
848# CONFIG_RTC_DRV_MAX6902 is not set 854# CONFIG_RTC_DRV_MAX6902 is not set
849# CONFIG_RTC_DRV_R9701 is not set 855# CONFIG_RTC_DRV_R9701 is not set
850# CONFIG_RTC_DRV_RS5C348 is not set 856# CONFIG_RTC_DRV_RS5C348 is not set
@@ -864,8 +870,20 @@ CONFIG_RTC_INTF_DEV=y
864# on-CPU RTC drivers 870# on-CPU RTC drivers
865# 871#
866CONFIG_RTC_DRV_AT32AP700X=y 872CONFIG_RTC_DRV_AT32AP700X=y
867CONFIG_UIO=m 873CONFIG_DMADEVICES=y
868# CONFIG_UIO_SMX is not set 874
875#
876# DMA Devices
877#
878CONFIG_DW_DMAC=y
879CONFIG_DMA_ENGINE=y
880
881#
882# DMA Clients
883#
884# CONFIG_NET_DMA is not set
885CONFIG_DMATEST=m
886# CONFIG_UIO is not set
869 887
870# 888#
871# File systems 889# File systems
@@ -943,6 +961,7 @@ CONFIG_JFFS2_RTIME=y
943# CONFIG_CRAMFS is not set 961# CONFIG_CRAMFS is not set
944# CONFIG_VXFS_FS is not set 962# CONFIG_VXFS_FS is not set
945# CONFIG_MINIX_FS is not set 963# CONFIG_MINIX_FS is not set
964# CONFIG_OMFS_FS is not set
946# CONFIG_HPFS_FS is not set 965# CONFIG_HPFS_FS is not set
947# CONFIG_QNX4FS_FS is not set 966# CONFIG_QNX4FS_FS is not set
948# CONFIG_ROMFS_FS is not set 967# CONFIG_ROMFS_FS is not set
@@ -1011,6 +1030,8 @@ CONFIG_DEBUG_FS=y
1011CONFIG_DEBUG_KERNEL=y 1030CONFIG_DEBUG_KERNEL=y
1012# CONFIG_DEBUG_SHIRQ is not set 1031# CONFIG_DEBUG_SHIRQ is not set
1013CONFIG_DETECT_SOFTLOCKUP=y 1032CONFIG_DETECT_SOFTLOCKUP=y
1033# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1034CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1014CONFIG_SCHED_DEBUG=y 1035CONFIG_SCHED_DEBUG=y
1015# CONFIG_SCHEDSTATS is not set 1036# CONFIG_SCHEDSTATS is not set
1016# CONFIG_TIMER_STATS is not set 1037# CONFIG_TIMER_STATS is not set
@@ -1029,6 +1050,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
1029# CONFIG_DEBUG_INFO is not set 1050# CONFIG_DEBUG_INFO is not set
1030# CONFIG_DEBUG_VM is not set 1051# CONFIG_DEBUG_VM is not set
1031# CONFIG_DEBUG_WRITECOUNT is not set 1052# CONFIG_DEBUG_WRITECOUNT is not set
1053# CONFIG_DEBUG_MEMORY_INIT is not set
1032# CONFIG_DEBUG_LIST is not set 1054# CONFIG_DEBUG_LIST is not set
1033# CONFIG_DEBUG_SG is not set 1055# CONFIG_DEBUG_SG is not set
1034CONFIG_FRAME_POINTER=y 1056CONFIG_FRAME_POINTER=y
@@ -1056,6 +1078,7 @@ CONFIG_BITREVERSE=y
1056# CONFIG_GENERIC_FIND_NEXT_BIT is not set 1078# CONFIG_GENERIC_FIND_NEXT_BIT is not set
1057CONFIG_CRC_CCITT=m 1079CONFIG_CRC_CCITT=m
1058# CONFIG_CRC16 is not set 1080# CONFIG_CRC16 is not set
1081CONFIG_CRC_T10DIF=m
1059CONFIG_CRC_ITU_T=m 1082CONFIG_CRC_ITU_T=m
1060CONFIG_CRC32=y 1083CONFIG_CRC32=y
1061CONFIG_CRC7=m 1084CONFIG_CRC7=m
@@ -1063,6 +1086,7 @@ CONFIG_CRC7=m
1063CONFIG_AUDIT_GENERIC=y 1086CONFIG_AUDIT_GENERIC=y
1064CONFIG_ZLIB_INFLATE=y 1087CONFIG_ZLIB_INFLATE=y
1065CONFIG_ZLIB_DEFLATE=y 1088CONFIG_ZLIB_DEFLATE=y
1089CONFIG_GENERIC_ALLOCATOR=y
1066CONFIG_PLIST=y 1090CONFIG_PLIST=y
1067CONFIG_HAS_IOMEM=y 1091CONFIG_HAS_IOMEM=y
1068CONFIG_HAS_IOPORT=y 1092CONFIG_HAS_IOPORT=y
diff --git a/arch/avr32/configs/atstk1004_defconfig b/arch/avr32/configs/atstk1004_defconfig
index a0912fb7c92e..69e6c0d08ce8 100644
--- a/arch/avr32/configs/atstk1004_defconfig
+++ b/arch/avr32/configs/atstk1004_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.26-rc3 3# Linux kernel version: 2.6.27-rc1
4# Mon May 26 13:34:57 2008 4# Tue Aug 5 15:38:56 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
@@ -69,10 +69,16 @@ CONFIG_SLOB=y
69# CONFIG_PROFILING is not set 69# CONFIG_PROFILING is not set
70# CONFIG_MARKERS is not set 70# CONFIG_MARKERS is not set
71CONFIG_HAVE_OPROFILE=y 71CONFIG_HAVE_OPROFILE=y
72# CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set
73# CONFIG_HAVE_IOREMAP_PROT is not set
72CONFIG_HAVE_KPROBES=y 74CONFIG_HAVE_KPROBES=y
73# CONFIG_HAVE_KRETPROBES is not set 75# CONFIG_HAVE_KRETPROBES is not set
76# CONFIG_HAVE_ARCH_TRACEHOOK is not set
74# CONFIG_HAVE_DMA_ATTRS is not set 77# CONFIG_HAVE_DMA_ATTRS is not set
78# CONFIG_USE_GENERIC_SMP_HELPERS is not set
79CONFIG_HAVE_CLK=y
75# CONFIG_PROC_PAGE_MONITOR is not set 80# CONFIG_PROC_PAGE_MONITOR is not set
81# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
76# CONFIG_TINY_SHMEM is not set 82# CONFIG_TINY_SHMEM is not set
77CONFIG_BASE_SMALL=1 83CONFIG_BASE_SMALL=1
78# CONFIG_MODULES is not set 84# CONFIG_MODULES is not set
@@ -97,6 +103,7 @@ CONFIG_BOARD_ATSTK1000=y
97# CONFIG_BOARD_ATSTK1002 is not set 103# CONFIG_BOARD_ATSTK1002 is not set
98# CONFIG_BOARD_ATSTK1003 is not set 104# CONFIG_BOARD_ATSTK1003 is not set
99CONFIG_BOARD_ATSTK1004=y 105CONFIG_BOARD_ATSTK1004=y
106# CONFIG_BOARD_ATSTK1006 is not set
100# CONFIG_BOARD_ATSTK100X_CUSTOM is not set 107# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
101# CONFIG_BOARD_ATSTK100X_SPI1 is not set 108# CONFIG_BOARD_ATSTK100X_SPI1 is not set
102# CONFIG_BOARD_ATSTK1000_J2_LED is not set 109# CONFIG_BOARD_ATSTK1000_J2_LED is not set
@@ -115,6 +122,7 @@ CONFIG_PHYS_OFFSET=0x10000000
115CONFIG_PREEMPT_NONE=y 122CONFIG_PREEMPT_NONE=y
116# CONFIG_PREEMPT_VOLUNTARY is not set 123# CONFIG_PREEMPT_VOLUNTARY is not set
117# CONFIG_PREEMPT is not set 124# CONFIG_PREEMPT is not set
125CONFIG_QUICKLIST=y
118# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set 126# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
119# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set 127# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
120# CONFIG_NEED_NODE_MEMMAP_SIZE is not set 128# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
@@ -133,6 +141,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
133CONFIG_SPLIT_PTLOCK_CPUS=4 141CONFIG_SPLIT_PTLOCK_CPUS=4
134# CONFIG_RESOURCES_64BIT is not set 142# CONFIG_RESOURCES_64BIT is not set
135CONFIG_ZONE_DMA_FLAG=0 143CONFIG_ZONE_DMA_FLAG=0
144CONFIG_NR_QUICK=2
136CONFIG_VIRT_TO_BUS=y 145CONFIG_VIRT_TO_BUS=y
137# CONFIG_OWNERSHIP_TRACE is not set 146# CONFIG_OWNERSHIP_TRACE is not set
138# CONFIG_NMI_DEBUGGING is not set 147# CONFIG_NMI_DEBUGGING is not set
@@ -147,6 +156,8 @@ CONFIG_CMDLINE=""
147# 156#
148# Power management options 157# Power management options
149# 158#
159# CONFIG_PM is not set
160CONFIG_ARCH_SUSPEND_POSSIBLE=y
150 161
151# 162#
152# CPU Frequency scaling 163# CPU Frequency scaling
@@ -164,10 +175,6 @@ CONFIG_CMDLINE=""
164# 175#
165CONFIG_BINFMT_ELF=y 176CONFIG_BINFMT_ELF=y
166# CONFIG_BINFMT_MISC is not set 177# CONFIG_BINFMT_MISC is not set
167
168#
169# Networking
170#
171CONFIG_NET=y 178CONFIG_NET=y
172 179
173# 180#
@@ -390,24 +397,28 @@ CONFIG_SPI_ATMEL=y
390# CONFIG_SPI_AT25 is not set 397# CONFIG_SPI_AT25 is not set
391# CONFIG_SPI_SPIDEV is not set 398# CONFIG_SPI_SPIDEV is not set
392# CONFIG_SPI_TLE62X0 is not set 399# CONFIG_SPI_TLE62X0 is not set
393CONFIG_HAVE_GPIO_LIB=y 400CONFIG_ARCH_REQUIRE_GPIOLIB=y
401CONFIG_GPIOLIB=y
402# CONFIG_GPIO_SYSFS is not set
394 403
395# 404#
396# GPIO Support 405# I2C GPIO expanders:
397# 406#
398 407
399# 408#
400# I2C GPIO expanders: 409# PCI GPIO expanders:
401# 410#
402 411
403# 412#
404# SPI GPIO expanders: 413# SPI GPIO expanders:
405# 414#
415# CONFIG_GPIO_MAX7301 is not set
406# CONFIG_GPIO_MCP23S08 is not set 416# CONFIG_GPIO_MCP23S08 is not set
407# CONFIG_W1 is not set 417# CONFIG_W1 is not set
408# CONFIG_POWER_SUPPLY is not set 418# CONFIG_POWER_SUPPLY is not set
409# CONFIG_HWMON is not set 419# CONFIG_HWMON is not set
410# CONFIG_THERMAL is not set 420# CONFIG_THERMAL is not set
421# CONFIG_THERMAL_HWMON is not set
411CONFIG_WATCHDOG=y 422CONFIG_WATCHDOG=y
412# CONFIG_WATCHDOG_NOWAYOUT is not set 423# CONFIG_WATCHDOG_NOWAYOUT is not set
413 424
@@ -426,6 +437,7 @@ CONFIG_SSB_POSSIBLE=y
426# 437#
427# Multifunction device drivers 438# Multifunction device drivers
428# 439#
440# CONFIG_MFD_CORE is not set
429# CONFIG_MFD_SM501 is not set 441# CONFIG_MFD_SM501 is not set
430# CONFIG_HTC_PASIC3 is not set 442# CONFIG_HTC_PASIC3 is not set
431 443
@@ -477,6 +489,9 @@ CONFIG_FB_ATMEL=y
477CONFIG_BACKLIGHT_LCD_SUPPORT=y 489CONFIG_BACKLIGHT_LCD_SUPPORT=y
478CONFIG_LCD_CLASS_DEVICE=y 490CONFIG_LCD_CLASS_DEVICE=y
479CONFIG_LCD_LTV350QV=y 491CONFIG_LCD_LTV350QV=y
492# CONFIG_LCD_ILI9320 is not set
493# CONFIG_LCD_VGG2432A4 is not set
494# CONFIG_LCD_PLATFORM is not set
480# CONFIG_BACKLIGHT_CLASS_DEVICE is not set 495# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
481 496
482# 497#
@@ -484,10 +499,6 @@ CONFIG_LCD_LTV350QV=y
484# 499#
485# CONFIG_DISPLAY_SUPPORT is not set 500# CONFIG_DISPLAY_SUPPORT is not set
486# CONFIG_LOGO is not set 501# CONFIG_LOGO is not set
487
488#
489# Sound
490#
491# CONFIG_SOUND is not set 502# CONFIG_SOUND is not set
492CONFIG_USB_SUPPORT=y 503CONFIG_USB_SUPPORT=y
493# CONFIG_USB_ARCH_HAS_HCD is not set 504# CONFIG_USB_ARCH_HAS_HCD is not set
@@ -507,7 +518,7 @@ CONFIG_USB_GADGET_ATMEL_USBA=y
507CONFIG_USB_ATMEL_USBA=y 518CONFIG_USB_ATMEL_USBA=y
508# CONFIG_USB_GADGET_FSL_USB2 is not set 519# CONFIG_USB_GADGET_FSL_USB2 is not set
509# CONFIG_USB_GADGET_NET2280 is not set 520# CONFIG_USB_GADGET_NET2280 is not set
510# CONFIG_USB_GADGET_PXA2XX is not set 521# CONFIG_USB_GADGET_PXA25X is not set
511# CONFIG_USB_GADGET_M66592 is not set 522# CONFIG_USB_GADGET_M66592 is not set
512# CONFIG_USB_GADGET_PXA27X is not set 523# CONFIG_USB_GADGET_PXA27X is not set
513# CONFIG_USB_GADGET_GOKU is not set 524# CONFIG_USB_GADGET_GOKU is not set
@@ -525,6 +536,7 @@ CONFIG_USB_ETH=y
525# CONFIG_USB_G_SERIAL is not set 536# CONFIG_USB_G_SERIAL is not set
526# CONFIG_USB_MIDI_GADGET is not set 537# CONFIG_USB_MIDI_GADGET is not set
527# CONFIG_USB_G_PRINTER is not set 538# CONFIG_USB_G_PRINTER is not set
539# CONFIG_USB_CDC_COMPOSITE is not set
528# CONFIG_MMC is not set 540# CONFIG_MMC is not set
529# CONFIG_MEMSTICK is not set 541# CONFIG_MEMSTICK is not set
530# CONFIG_NEW_LEDS is not set 542# CONFIG_NEW_LEDS is not set
@@ -547,6 +559,8 @@ CONFIG_RTC_INTF_DEV=y
547# 559#
548# SPI RTC drivers 560# SPI RTC drivers
549# 561#
562# CONFIG_RTC_DRV_M41T94 is not set
563# CONFIG_RTC_DRV_DS1305 is not set
550# CONFIG_RTC_DRV_MAX6902 is not set 564# CONFIG_RTC_DRV_MAX6902 is not set
551# CONFIG_RTC_DRV_R9701 is not set 565# CONFIG_RTC_DRV_R9701 is not set
552# CONFIG_RTC_DRV_RS5C348 is not set 566# CONFIG_RTC_DRV_RS5C348 is not set
@@ -566,6 +580,7 @@ CONFIG_RTC_INTF_DEV=y
566# on-CPU RTC drivers 580# on-CPU RTC drivers
567# 581#
568CONFIG_RTC_DRV_AT32AP700X=y 582CONFIG_RTC_DRV_AT32AP700X=y
583# CONFIG_DMADEVICES is not set
569# CONFIG_UIO is not set 584# CONFIG_UIO is not set
570 585
571# 586#
@@ -620,6 +635,7 @@ CONFIG_MAGIC_SYSRQ=y
620# CONFIG_HEADERS_CHECK is not set 635# CONFIG_HEADERS_CHECK is not set
621# CONFIG_DEBUG_KERNEL is not set 636# CONFIG_DEBUG_KERNEL is not set
622# CONFIG_DEBUG_BUGVERBOSE is not set 637# CONFIG_DEBUG_BUGVERBOSE is not set
638# CONFIG_DEBUG_MEMORY_INIT is not set
623# CONFIG_SAMPLES is not set 639# CONFIG_SAMPLES is not set
624 640
625# 641#
@@ -638,12 +654,14 @@ CONFIG_BITREVERSE=y
638# CONFIG_GENERIC_FIND_NEXT_BIT is not set 654# CONFIG_GENERIC_FIND_NEXT_BIT is not set
639# CONFIG_CRC_CCITT is not set 655# CONFIG_CRC_CCITT is not set
640# CONFIG_CRC16 is not set 656# CONFIG_CRC16 is not set
657# CONFIG_CRC_T10DIF is not set
641# CONFIG_CRC_ITU_T is not set 658# CONFIG_CRC_ITU_T is not set
642CONFIG_CRC32=y 659CONFIG_CRC32=y
643# CONFIG_CRC7 is not set 660# CONFIG_CRC7 is not set
644# CONFIG_LIBCRC32C is not set 661# CONFIG_LIBCRC32C is not set
645CONFIG_ZLIB_INFLATE=y 662CONFIG_ZLIB_INFLATE=y
646CONFIG_ZLIB_DEFLATE=y 663CONFIG_ZLIB_DEFLATE=y
664CONFIG_GENERIC_ALLOCATOR=y
647CONFIG_HAS_IOMEM=y 665CONFIG_HAS_IOMEM=y
648CONFIG_HAS_IOPORT=y 666CONFIG_HAS_IOPORT=y
649CONFIG_HAS_DMA=y 667CONFIG_HAS_DMA=y
diff --git a/arch/avr32/configs/atstk1006_defconfig b/arch/avr32/configs/atstk1006_defconfig
new file mode 100644
index 000000000000..8b6e54c9946a
--- /dev/null
+++ b/arch/avr32/configs/atstk1006_defconfig
@@ -0,0 +1,1304 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.27-rc1
4# Tue Aug 5 15:40:26 2008
5#
6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
12CONFIG_HARDIRQS_SW_RESEND=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_RWSEM_GENERIC_SPINLOCK=y
15CONFIG_GENERIC_TIME=y
16CONFIG_GENERIC_CLOCKEVENTS=y
17# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
18# CONFIG_ARCH_HAS_ILOG2_U32 is not set
19# CONFIG_ARCH_HAS_ILOG2_U64 is not set
20CONFIG_GENERIC_HWEIGHT=y
21CONFIG_GENERIC_CALIBRATE_DELAY=y
22CONFIG_GENERIC_BUG=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_INIT_ENV_ARG_LIMIT=32
31CONFIG_LOCALVERSION=""
32# CONFIG_LOCALVERSION_AUTO is not set
33CONFIG_SWAP=y
34CONFIG_SYSVIPC=y
35CONFIG_SYSVIPC_SYSCTL=y
36CONFIG_POSIX_MQUEUE=y
37# CONFIG_BSD_PROCESS_ACCT is not set
38# CONFIG_TASKSTATS is not set
39# CONFIG_AUDIT is not set
40# CONFIG_IKCONFIG is not set
41CONFIG_LOG_BUF_SHIFT=14
42# CONFIG_CGROUPS is not set
43# CONFIG_GROUP_SCHED is not set
44CONFIG_SYSFS_DEPRECATED=y
45CONFIG_SYSFS_DEPRECATED_V2=y
46CONFIG_RELAY=y
47# CONFIG_NAMESPACES is not set
48CONFIG_BLK_DEV_INITRD=y
49CONFIG_INITRAMFS_SOURCE=""
50CONFIG_CC_OPTIMIZE_FOR_SIZE=y
51CONFIG_SYSCTL=y
52CONFIG_EMBEDDED=y
53# CONFIG_SYSCTL_SYSCALL is not set
54CONFIG_KALLSYMS=y
55# CONFIG_KALLSYMS_ALL is not set
56# CONFIG_KALLSYMS_EXTRA_PASS is not set
57CONFIG_HOTPLUG=y
58CONFIG_PRINTK=y
59CONFIG_BUG=y
60CONFIG_ELF_CORE=y
61# CONFIG_COMPAT_BRK is not set
62# CONFIG_BASE_FULL is not set
63CONFIG_FUTEX=y
64CONFIG_ANON_INODES=y
65CONFIG_EPOLL=y
66CONFIG_SIGNALFD=y
67CONFIG_TIMERFD=y
68CONFIG_EVENTFD=y
69CONFIG_SHMEM=y
70CONFIG_VM_EVENT_COUNTERS=y
71CONFIG_SLUB_DEBUG=y
72# CONFIG_SLAB is not set
73CONFIG_SLUB=y
74# CONFIG_SLOB is not set
75CONFIG_PROFILING=y
76# CONFIG_MARKERS is not set
77CONFIG_OPROFILE=m
78CONFIG_HAVE_OPROFILE=y
79CONFIG_KPROBES=y
80# CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set
81# CONFIG_HAVE_IOREMAP_PROT is not set
82CONFIG_HAVE_KPROBES=y
83# CONFIG_HAVE_KRETPROBES is not set
84# CONFIG_HAVE_ARCH_TRACEHOOK is not set
85# CONFIG_HAVE_DMA_ATTRS is not set
86# CONFIG_USE_GENERIC_SMP_HELPERS is not set
87CONFIG_HAVE_CLK=y
88CONFIG_PROC_PAGE_MONITOR=y
89# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
90CONFIG_SLABINFO=y
91CONFIG_RT_MUTEXES=y
92# CONFIG_TINY_SHMEM is not set
93CONFIG_BASE_SMALL=1
94CONFIG_MODULES=y
95# CONFIG_MODULE_FORCE_LOAD is not set
96CONFIG_MODULE_UNLOAD=y
97# CONFIG_MODULE_FORCE_UNLOAD is not set
98# CONFIG_MODVERSIONS is not set
99# CONFIG_MODULE_SRCVERSION_ALL is not set
100CONFIG_KMOD=y
101CONFIG_BLOCK=y
102# CONFIG_LBD is not set
103# CONFIG_BLK_DEV_IO_TRACE is not set
104# CONFIG_LSF is not set
105# CONFIG_BLK_DEV_BSG is not set
106# CONFIG_BLK_DEV_INTEGRITY is not set
107
108#
109# IO Schedulers
110#
111CONFIG_IOSCHED_NOOP=y
112# CONFIG_IOSCHED_AS is not set
113# CONFIG_IOSCHED_DEADLINE is not set
114CONFIG_IOSCHED_CFQ=y
115# CONFIG_DEFAULT_AS is not set
116# CONFIG_DEFAULT_DEADLINE is not set
117CONFIG_DEFAULT_CFQ=y
118# CONFIG_DEFAULT_NOOP is not set
119CONFIG_DEFAULT_IOSCHED="cfq"
120CONFIG_CLASSIC_RCU=y
121
122#
123# System Type and features
124#
125CONFIG_TICK_ONESHOT=y
126CONFIG_NO_HZ=y
127CONFIG_HIGH_RES_TIMERS=y
128CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
129CONFIG_SUBARCH_AVR32B=y
130CONFIG_MMU=y
131CONFIG_PERFORMANCE_COUNTERS=y
132CONFIG_PLATFORM_AT32AP=y
133CONFIG_CPU_AT32AP700X=y
134CONFIG_CPU_AT32AP7000=y
135CONFIG_BOARD_ATSTK1000=y
136# CONFIG_BOARD_ATNGW100 is not set
137# CONFIG_BOARD_ATSTK1002 is not set
138# CONFIG_BOARD_ATSTK1003 is not set
139# CONFIG_BOARD_ATSTK1004 is not set
140CONFIG_BOARD_ATSTK1006=y
141# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
142# CONFIG_BOARD_ATSTK100X_SPI1 is not set
143# CONFIG_BOARD_ATSTK1000_J2_LED is not set
144# CONFIG_BOARD_ATSTK1000_J2_LED8 is not set
145# CONFIG_BOARD_ATSTK1000_J2_RGB is not set
146CONFIG_BOARD_ATSTK1000_EXTDAC=y
147CONFIG_LOADER_U_BOOT=y
148
149#
150# Atmel AVR32 AP options
151#
152# CONFIG_AP700X_32_BIT_SMC is not set
153CONFIG_AP700X_16_BIT_SMC=y
154# CONFIG_AP700X_8_BIT_SMC is not set
155CONFIG_LOAD_ADDRESS=0x10000000
156CONFIG_ENTRY_ADDRESS=0x90000000
157CONFIG_PHYS_OFFSET=0x10000000
158CONFIG_PREEMPT_NONE=y
159# CONFIG_PREEMPT_VOLUNTARY is not set
160# CONFIG_PREEMPT is not set
161CONFIG_QUICKLIST=y
162# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
163# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
164# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
165CONFIG_ARCH_FLATMEM_ENABLE=y
166# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
167# CONFIG_ARCH_SPARSEMEM_ENABLE is not set
168CONFIG_SELECT_MEMORY_MODEL=y
169CONFIG_FLATMEM_MANUAL=y
170# CONFIG_DISCONTIGMEM_MANUAL is not set
171# CONFIG_SPARSEMEM_MANUAL is not set
172CONFIG_FLATMEM=y
173CONFIG_FLAT_NODE_MEM_MAP=y
174# CONFIG_SPARSEMEM_STATIC is not set
175# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
176CONFIG_PAGEFLAGS_EXTENDED=y
177CONFIG_SPLIT_PTLOCK_CPUS=4
178# CONFIG_RESOURCES_64BIT is not set
179CONFIG_ZONE_DMA_FLAG=0
180CONFIG_NR_QUICK=2
181CONFIG_VIRT_TO_BUS=y
182# CONFIG_OWNERSHIP_TRACE is not set
183CONFIG_NMI_DEBUGGING=y
184# CONFIG_HZ_100 is not set
185CONFIG_HZ_250=y
186# CONFIG_HZ_300 is not set
187# CONFIG_HZ_1000 is not set
188CONFIG_HZ=250
189# CONFIG_SCHED_HRTICK is not set
190CONFIG_CMDLINE=""
191
192#
193# Power management options
194#
195CONFIG_PM=y
196# CONFIG_PM_DEBUG is not set
197CONFIG_PM_SLEEP=y
198CONFIG_SUSPEND=y
199CONFIG_SUSPEND_FREEZER=y
200CONFIG_ARCH_SUSPEND_POSSIBLE=y
201
202#
203# CPU Frequency scaling
204#
205CONFIG_CPU_FREQ=y
206CONFIG_CPU_FREQ_TABLE=y
207# CONFIG_CPU_FREQ_DEBUG is not set
208# CONFIG_CPU_FREQ_STAT is not set
209# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
210# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
211# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
212CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
213# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
214CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
215# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
216CONFIG_CPU_FREQ_GOV_USERSPACE=y
217CONFIG_CPU_FREQ_GOV_ONDEMAND=y
218# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
219CONFIG_CPU_FREQ_AT32AP=y
220
221#
222# Bus options
223#
224# CONFIG_ARCH_SUPPORTS_MSI is not set
225# CONFIG_PCCARD is not set
226
227#
228# Executable file formats
229#
230CONFIG_BINFMT_ELF=y
231# CONFIG_BINFMT_MISC is not set
232CONFIG_NET=y
233
234#
235# Networking options
236#
237CONFIG_PACKET=y
238CONFIG_PACKET_MMAP=y
239CONFIG_UNIX=y
240CONFIG_XFRM=y
241CONFIG_XFRM_USER=m
242# CONFIG_XFRM_SUB_POLICY is not set
243# CONFIG_XFRM_MIGRATE is not set
244# CONFIG_XFRM_STATISTICS is not set
245CONFIG_XFRM_IPCOMP=m
246CONFIG_NET_KEY=m
247# CONFIG_NET_KEY_MIGRATE is not set
248CONFIG_INET=y
249# CONFIG_IP_MULTICAST is not set
250# CONFIG_IP_ADVANCED_ROUTER is not set
251CONFIG_IP_FIB_HASH=y
252CONFIG_IP_PNP=y
253CONFIG_IP_PNP_DHCP=y
254# CONFIG_IP_PNP_BOOTP is not set
255# CONFIG_IP_PNP_RARP is not set
256CONFIG_NET_IPIP=m
257CONFIG_NET_IPGRE=m
258# CONFIG_ARPD is not set
259# CONFIG_SYN_COOKIES is not set
260CONFIG_INET_AH=m
261CONFIG_INET_ESP=m
262# CONFIG_INET_IPCOMP is not set
263# CONFIG_INET_XFRM_TUNNEL is not set
264CONFIG_INET_TUNNEL=m
265CONFIG_INET_XFRM_MODE_TRANSPORT=m
266CONFIG_INET_XFRM_MODE_TUNNEL=m
267CONFIG_INET_XFRM_MODE_BEET=m
268# CONFIG_INET_LRO is not set
269CONFIG_INET_DIAG=y
270CONFIG_INET_TCP_DIAG=y
271# CONFIG_TCP_CONG_ADVANCED is not set
272CONFIG_TCP_CONG_CUBIC=y
273CONFIG_DEFAULT_TCP_CONG="cubic"
274# CONFIG_TCP_MD5SIG is not set
275CONFIG_IPV6=m
276# CONFIG_IPV6_PRIVACY is not set
277# CONFIG_IPV6_ROUTER_PREF is not set
278# CONFIG_IPV6_OPTIMISTIC_DAD is not set
279CONFIG_INET6_AH=m
280CONFIG_INET6_ESP=m
281CONFIG_INET6_IPCOMP=m
282# CONFIG_IPV6_MIP6 is not set
283CONFIG_INET6_XFRM_TUNNEL=m
284CONFIG_INET6_TUNNEL=m
285CONFIG_INET6_XFRM_MODE_TRANSPORT=m
286CONFIG_INET6_XFRM_MODE_TUNNEL=m
287CONFIG_INET6_XFRM_MODE_BEET=m
288# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
289CONFIG_IPV6_SIT=m
290CONFIG_IPV6_NDISC_NODETYPE=y
291CONFIG_IPV6_TUNNEL=m
292# CONFIG_IPV6_MULTIPLE_TABLES is not set
293# CONFIG_IPV6_MROUTE is not set
294# CONFIG_NETWORK_SECMARK is not set
295# CONFIG_NETFILTER is not set
296# CONFIG_IP_DCCP is not set
297# CONFIG_IP_SCTP is not set
298# CONFIG_TIPC is not set
299# CONFIG_ATM is not set
300CONFIG_STP=m
301CONFIG_BRIDGE=m
302# CONFIG_VLAN_8021Q is not set
303# CONFIG_DECNET is not set
304CONFIG_LLC=m
305# CONFIG_LLC2 is not set
306# CONFIG_IPX is not set
307# CONFIG_ATALK is not set
308# CONFIG_X25 is not set
309# CONFIG_LAPB is not set
310# CONFIG_ECONET is not set
311# CONFIG_WAN_ROUTER is not set
312# CONFIG_NET_SCHED is not set
313
314#
315# Network testing
316#
317# CONFIG_NET_PKTGEN is not set
318# CONFIG_NET_TCPPROBE is not set
319# CONFIG_HAMRADIO is not set
320# CONFIG_CAN is not set
321# CONFIG_IRDA is not set
322# CONFIG_BT is not set
323# CONFIG_AF_RXRPC is not set
324
325#
326# Wireless
327#
328# CONFIG_CFG80211 is not set
329# CONFIG_WIRELESS_EXT is not set
330# CONFIG_MAC80211 is not set
331# CONFIG_IEEE80211 is not set
332# CONFIG_RFKILL is not set
333# CONFIG_NET_9P is not set
334
335#
336# Device Drivers
337#
338
339#
340# Generic Driver Options
341#
342CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
343CONFIG_STANDALONE=y
344# CONFIG_PREVENT_FIRMWARE_BUILD is not set
345# CONFIG_FW_LOADER is not set
346# CONFIG_DEBUG_DRIVER is not set
347# CONFIG_DEBUG_DEVRES is not set
348# CONFIG_SYS_HYPERVISOR is not set
349# CONFIG_CONNECTOR is not set
350CONFIG_MTD=y
351# CONFIG_MTD_DEBUG is not set
352# CONFIG_MTD_CONCAT is not set
353CONFIG_MTD_PARTITIONS=y
354# CONFIG_MTD_REDBOOT_PARTS is not set
355CONFIG_MTD_CMDLINE_PARTS=y
356# CONFIG_MTD_AR7_PARTS is not set
357
358#
359# User Modules And Translation Layers
360#
361CONFIG_MTD_CHAR=y
362CONFIG_MTD_BLKDEVS=y
363CONFIG_MTD_BLOCK=y
364# CONFIG_FTL is not set
365# CONFIG_NFTL is not set
366# CONFIG_INFTL is not set
367# CONFIG_RFD_FTL is not set
368# CONFIG_SSFDC is not set
369# CONFIG_MTD_OOPS is not set
370
371#
372# RAM/ROM/Flash chip drivers
373#
374CONFIG_MTD_CFI=y
375# CONFIG_MTD_JEDECPROBE is not set
376CONFIG_MTD_GEN_PROBE=y
377# CONFIG_MTD_CFI_ADV_OPTIONS is not set
378CONFIG_MTD_MAP_BANK_WIDTH_1=y
379CONFIG_MTD_MAP_BANK_WIDTH_2=y
380CONFIG_MTD_MAP_BANK_WIDTH_4=y
381# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
382# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
383# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
384CONFIG_MTD_CFI_I1=y
385CONFIG_MTD_CFI_I2=y
386# CONFIG_MTD_CFI_I4 is not set
387# CONFIG_MTD_CFI_I8 is not set
388# CONFIG_MTD_CFI_INTELEXT is not set
389CONFIG_MTD_CFI_AMDSTD=y
390# CONFIG_MTD_CFI_STAA is not set
391CONFIG_MTD_CFI_UTIL=y
392# CONFIG_MTD_RAM is not set
393# CONFIG_MTD_ROM is not set
394# CONFIG_MTD_ABSENT is not set
395
396#
397# Mapping drivers for chip access
398#
399# CONFIG_MTD_COMPLEX_MAPPINGS is not set
400CONFIG_MTD_PHYSMAP=y
401CONFIG_MTD_PHYSMAP_START=0x8000000
402CONFIG_MTD_PHYSMAP_LEN=0x0
403CONFIG_MTD_PHYSMAP_BANKWIDTH=2
404# CONFIG_MTD_PLATRAM is not set
405
406#
407# Self-contained MTD device drivers
408#
409CONFIG_MTD_DATAFLASH=m
410CONFIG_MTD_M25P80=m
411CONFIG_M25PXX_USE_FAST_READ=y
412# CONFIG_MTD_SLRAM is not set
413# CONFIG_MTD_PHRAM is not set
414# CONFIG_MTD_MTDRAM is not set
415# CONFIG_MTD_BLOCK2MTD is not set
416
417#
418# Disk-On-Chip Device Drivers
419#
420# CONFIG_MTD_DOC2000 is not set
421# CONFIG_MTD_DOC2001 is not set
422# CONFIG_MTD_DOC2001PLUS is not set
423CONFIG_MTD_NAND=y
424# CONFIG_MTD_NAND_VERIFY_WRITE is not set
425# CONFIG_MTD_NAND_ECC_SMC is not set
426# CONFIG_MTD_NAND_MUSEUM_IDS is not set
427CONFIG_MTD_NAND_IDS=y
428# CONFIG_MTD_NAND_DISKONCHIP is not set
429CONFIG_MTD_NAND_ATMEL=y
430CONFIG_MTD_NAND_ATMEL_ECC_HW=y
431# CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set
432# CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set
433# CONFIG_MTD_NAND_NANDSIM is not set
434# CONFIG_MTD_NAND_PLATFORM is not set
435# CONFIG_MTD_ONENAND is not set
436
437#
438# UBI - Unsorted block images
439#
440CONFIG_MTD_UBI=y
441CONFIG_MTD_UBI_WL_THRESHOLD=4096
442CONFIG_MTD_UBI_BEB_RESERVE=1
443# CONFIG_MTD_UBI_GLUEBI is not set
444
445#
446# UBI debugging options
447#
448# CONFIG_MTD_UBI_DEBUG is not set
449# CONFIG_PARPORT is not set
450CONFIG_BLK_DEV=y
451# CONFIG_BLK_DEV_COW_COMMON is not set
452CONFIG_BLK_DEV_LOOP=m
453# CONFIG_BLK_DEV_CRYPTOLOOP is not set
454CONFIG_BLK_DEV_NBD=m
455CONFIG_BLK_DEV_RAM=m
456CONFIG_BLK_DEV_RAM_COUNT=16
457CONFIG_BLK_DEV_RAM_SIZE=4096
458# CONFIG_BLK_DEV_XIP is not set
459# CONFIG_CDROM_PKTCDVD is not set
460# CONFIG_ATA_OVER_ETH is not set
461CONFIG_MISC_DEVICES=y
462CONFIG_ATMEL_PWM=m
463CONFIG_ATMEL_TCLIB=y
464CONFIG_ATMEL_TCB_CLKSRC=y
465CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
466# CONFIG_EEPROM_93CX6 is not set
467CONFIG_ATMEL_SSC=m
468# CONFIG_ENCLOSURE_SERVICES is not set
469# CONFIG_HAVE_IDE is not set
470
471#
472# SCSI device support
473#
474# CONFIG_RAID_ATTRS is not set
475CONFIG_SCSI=m
476CONFIG_SCSI_DMA=y
477# CONFIG_SCSI_TGT is not set
478# CONFIG_SCSI_NETLINK is not set
479# CONFIG_SCSI_PROC_FS is not set
480
481#
482# SCSI support type (disk, tape, CD-ROM)
483#
484CONFIG_BLK_DEV_SD=m
485# CONFIG_CHR_DEV_ST is not set
486# CONFIG_CHR_DEV_OSST is not set
487CONFIG_BLK_DEV_SR=m
488# CONFIG_BLK_DEV_SR_VENDOR is not set
489# CONFIG_CHR_DEV_SG is not set
490# CONFIG_CHR_DEV_SCH is not set
491
492#
493# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
494#
495# CONFIG_SCSI_MULTI_LUN is not set
496# CONFIG_SCSI_CONSTANTS is not set
497# CONFIG_SCSI_LOGGING is not set
498# CONFIG_SCSI_SCAN_ASYNC is not set
499CONFIG_SCSI_WAIT_SCAN=m
500
501#
502# SCSI Transports
503#
504# CONFIG_SCSI_SPI_ATTRS is not set
505# CONFIG_SCSI_FC_ATTRS is not set
506# CONFIG_SCSI_ISCSI_ATTRS is not set
507# CONFIG_SCSI_SAS_LIBSAS is not set
508# CONFIG_SCSI_SRP_ATTRS is not set
509# CONFIG_SCSI_LOWLEVEL is not set
510# CONFIG_SCSI_DH is not set
511CONFIG_ATA=m
512# CONFIG_ATA_NONSTANDARD is not set
513# CONFIG_SATA_PMP is not set
514CONFIG_ATA_SFF=y
515# CONFIG_SATA_MV is not set
516CONFIG_PATA_AT32=m
517# CONFIG_PATA_PLATFORM is not set
518# CONFIG_MD is not set
519CONFIG_NETDEVICES=y
520# CONFIG_DUMMY is not set
521# CONFIG_BONDING is not set
522# CONFIG_MACVLAN is not set
523# CONFIG_EQUALIZER is not set
524CONFIG_TUN=m
525# CONFIG_VETH is not set
526CONFIG_PHYLIB=y
527
528#
529# MII PHY device drivers
530#
531# CONFIG_MARVELL_PHY is not set
532# CONFIG_DAVICOM_PHY is not set
533# CONFIG_QSEMI_PHY is not set
534# CONFIG_LXT_PHY is not set
535# CONFIG_CICADA_PHY is not set
536# CONFIG_VITESSE_PHY is not set
537# CONFIG_SMSC_PHY is not set
538# CONFIG_BROADCOM_PHY is not set
539# CONFIG_ICPLUS_PHY is not set
540# CONFIG_REALTEK_PHY is not set
541# CONFIG_FIXED_PHY is not set
542# CONFIG_MDIO_BITBANG is not set
543CONFIG_NET_ETHERNET=y
544# CONFIG_MII is not set
545CONFIG_MACB=y
546# CONFIG_ENC28J60 is not set
547# CONFIG_IBM_NEW_EMAC_ZMII is not set
548# CONFIG_IBM_NEW_EMAC_RGMII is not set
549# CONFIG_IBM_NEW_EMAC_TAH is not set
550# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
551# CONFIG_B44 is not set
552# CONFIG_NETDEV_1000 is not set
553# CONFIG_NETDEV_10000 is not set
554
555#
556# Wireless LAN
557#
558# CONFIG_WLAN_PRE80211 is not set
559# CONFIG_WLAN_80211 is not set
560# CONFIG_IWLWIFI_LEDS is not set
561# CONFIG_WAN is not set
562CONFIG_PPP=m
563# CONFIG_PPP_MULTILINK is not set
564# CONFIG_PPP_FILTER is not set
565CONFIG_PPP_ASYNC=m
566# CONFIG_PPP_SYNC_TTY is not set
567CONFIG_PPP_DEFLATE=m
568CONFIG_PPP_BSDCOMP=m
569# CONFIG_PPP_MPPE is not set
570# CONFIG_PPPOE is not set
571# CONFIG_PPPOL2TP is not set
572# CONFIG_SLIP is not set
573CONFIG_SLHC=m
574# CONFIG_NETCONSOLE is not set
575# CONFIG_NETPOLL is not set
576# CONFIG_NET_POLL_CONTROLLER is not set
577# CONFIG_ISDN is not set
578# CONFIG_PHONE is not set
579
580#
581# Input device support
582#
583CONFIG_INPUT=m
584# CONFIG_INPUT_FF_MEMLESS is not set
585CONFIG_INPUT_POLLDEV=m
586
587#
588# Userland interfaces
589#
590CONFIG_INPUT_MOUSEDEV=m
591CONFIG_INPUT_MOUSEDEV_PSAUX=y
592CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
593CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
594# CONFIG_INPUT_JOYDEV is not set
595CONFIG_INPUT_EVDEV=m
596# CONFIG_INPUT_EVBUG is not set
597
598#
599# Input Device Drivers
600#
601CONFIG_INPUT_KEYBOARD=y
602# CONFIG_KEYBOARD_ATKBD is not set
603# CONFIG_KEYBOARD_SUNKBD is not set
604# CONFIG_KEYBOARD_LKKBD is not set
605# CONFIG_KEYBOARD_XTKBD is not set
606# CONFIG_KEYBOARD_NEWTON is not set
607# CONFIG_KEYBOARD_STOWAWAY is not set
608CONFIG_KEYBOARD_GPIO=m
609CONFIG_INPUT_MOUSE=y
610# CONFIG_MOUSE_PS2 is not set
611# CONFIG_MOUSE_SERIAL is not set
612# CONFIG_MOUSE_VSXXXAA is not set
613CONFIG_MOUSE_GPIO=m
614# CONFIG_INPUT_JOYSTICK is not set
615# CONFIG_INPUT_TABLET is not set
616# CONFIG_INPUT_TOUCHSCREEN is not set
617# CONFIG_INPUT_MISC is not set
618
619#
620# Hardware I/O ports
621#
622# CONFIG_SERIO is not set
623# CONFIG_GAMEPORT is not set
624
625#
626# Character devices
627#
628# CONFIG_VT is not set
629# CONFIG_DEVKMEM is not set
630# CONFIG_SERIAL_NONSTANDARD is not set
631
632#
633# Serial drivers
634#
635# CONFIG_SERIAL_8250 is not set
636
637#
638# Non-8250 serial port support
639#
640CONFIG_SERIAL_ATMEL=y
641CONFIG_SERIAL_ATMEL_CONSOLE=y
642CONFIG_SERIAL_ATMEL_PDC=y
643# CONFIG_SERIAL_ATMEL_TTYAT is not set
644CONFIG_SERIAL_CORE=y
645CONFIG_SERIAL_CORE_CONSOLE=y
646CONFIG_UNIX98_PTYS=y
647# CONFIG_LEGACY_PTYS is not set
648# CONFIG_IPMI_HANDLER is not set
649# CONFIG_HW_RANDOM is not set
650# CONFIG_R3964 is not set
651# CONFIG_RAW_DRIVER is not set
652# CONFIG_TCG_TPM is not set
653CONFIG_I2C=m
654CONFIG_I2C_BOARDINFO=y
655CONFIG_I2C_CHARDEV=m
656CONFIG_I2C_ALGOBIT=m
657
658#
659# I2C Hardware Bus support
660#
661
662#
663# I2C system bus drivers (mostly embedded / system-on-chip)
664#
665CONFIG_I2C_GPIO=m
666# CONFIG_I2C_OCORES is not set
667# CONFIG_I2C_SIMTEC is not set
668
669#
670# External I2C/SMBus adapter drivers
671#
672# CONFIG_I2C_PARPORT_LIGHT is not set
673# CONFIG_I2C_TAOS_EVM is not set
674
675#
676# Other I2C/SMBus bus drivers
677#
678# CONFIG_I2C_PCA_PLATFORM is not set
679# CONFIG_I2C_STUB is not set
680
681#
682# Miscellaneous I2C Chip support
683#
684# CONFIG_DS1682 is not set
685# CONFIG_AT24 is not set
686# CONFIG_SENSORS_EEPROM is not set
687# CONFIG_SENSORS_PCF8574 is not set
688# CONFIG_PCF8575 is not set
689# CONFIG_SENSORS_PCA9539 is not set
690# CONFIG_SENSORS_PCF8591 is not set
691# CONFIG_TPS65010 is not set
692# CONFIG_SENSORS_MAX6875 is not set
693# CONFIG_SENSORS_TSL2550 is not set
694# CONFIG_I2C_DEBUG_CORE is not set
695# CONFIG_I2C_DEBUG_ALGO is not set
696# CONFIG_I2C_DEBUG_BUS is not set
697# CONFIG_I2C_DEBUG_CHIP is not set
698CONFIG_SPI=y
699# CONFIG_SPI_DEBUG is not set
700CONFIG_SPI_MASTER=y
701
702#
703# SPI Master Controller Drivers
704#
705CONFIG_SPI_ATMEL=y
706# CONFIG_SPI_BITBANG is not set
707
708#
709# SPI Protocol Masters
710#
711# CONFIG_SPI_AT25 is not set
712CONFIG_SPI_SPIDEV=m
713# CONFIG_SPI_TLE62X0 is not set
714CONFIG_ARCH_REQUIRE_GPIOLIB=y
715CONFIG_GPIOLIB=y
716# CONFIG_DEBUG_GPIO is not set
717CONFIG_GPIO_SYSFS=y
718
719#
720# I2C GPIO expanders:
721#
722# CONFIG_GPIO_MAX732X is not set
723# CONFIG_GPIO_PCA953X is not set
724# CONFIG_GPIO_PCF857X is not set
725
726#
727# PCI GPIO expanders:
728#
729
730#
731# SPI GPIO expanders:
732#
733# CONFIG_GPIO_MAX7301 is not set
734# CONFIG_GPIO_MCP23S08 is not set
735# CONFIG_W1 is not set
736# CONFIG_POWER_SUPPLY is not set
737# CONFIG_HWMON is not set
738# CONFIG_THERMAL is not set
739# CONFIG_THERMAL_HWMON is not set
740CONFIG_WATCHDOG=y
741# CONFIG_WATCHDOG_NOWAYOUT is not set
742
743#
744# Watchdog Device Drivers
745#
746# CONFIG_SOFT_WATCHDOG is not set
747CONFIG_AT32AP700X_WDT=y
748
749#
750# Sonics Silicon Backplane
751#
752CONFIG_SSB_POSSIBLE=y
753# CONFIG_SSB is not set
754
755#
756# Multifunction device drivers
757#
758# CONFIG_MFD_CORE is not set
759# CONFIG_MFD_SM501 is not set
760# CONFIG_HTC_PASIC3 is not set
761
762#
763# Multimedia devices
764#
765
766#
767# Multimedia core support
768#
769# CONFIG_VIDEO_DEV is not set
770# CONFIG_DVB_CORE is not set
771# CONFIG_VIDEO_MEDIA is not set
772
773#
774# Multimedia drivers
775#
776# CONFIG_DAB is not set
777
778#
779# Graphics support
780#
781# CONFIG_VGASTATE is not set
782# CONFIG_VIDEO_OUTPUT_CONTROL is not set
783CONFIG_FB=y
784# CONFIG_FIRMWARE_EDID is not set
785# CONFIG_FB_DDC is not set
786CONFIG_FB_CFB_FILLRECT=y
787CONFIG_FB_CFB_COPYAREA=y
788CONFIG_FB_CFB_IMAGEBLIT=y
789# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
790# CONFIG_FB_SYS_FILLRECT is not set
791# CONFIG_FB_SYS_COPYAREA is not set
792# CONFIG_FB_SYS_IMAGEBLIT is not set
793# CONFIG_FB_FOREIGN_ENDIAN is not set
794# CONFIG_FB_SYS_FOPS is not set
795# CONFIG_FB_SVGALIB is not set
796# CONFIG_FB_MACMODES is not set
797# CONFIG_FB_BACKLIGHT is not set
798# CONFIG_FB_MODE_HELPERS is not set
799# CONFIG_FB_TILEBLITTING is not set
800
801#
802# Frame buffer hardware drivers
803#
804# CONFIG_FB_S1D13XXX is not set
805CONFIG_FB_ATMEL=y
806# CONFIG_FB_VIRTUAL is not set
807CONFIG_BACKLIGHT_LCD_SUPPORT=y
808CONFIG_LCD_CLASS_DEVICE=y
809CONFIG_LCD_LTV350QV=y
810# CONFIG_LCD_ILI9320 is not set
811# CONFIG_LCD_VGG2432A4 is not set
812# CONFIG_LCD_PLATFORM is not set
813# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
814
815#
816# Display device support
817#
818# CONFIG_DISPLAY_SUPPORT is not set
819# CONFIG_LOGO is not set
820CONFIG_SOUND=m
821CONFIG_SND=m
822CONFIG_SND_TIMER=m
823CONFIG_SND_PCM=m
824# CONFIG_SND_SEQUENCER is not set
825CONFIG_SND_OSSEMUL=y
826CONFIG_SND_MIXER_OSS=m
827CONFIG_SND_PCM_OSS=m
828CONFIG_SND_PCM_OSS_PLUGINS=y
829# CONFIG_SND_DYNAMIC_MINORS is not set
830# CONFIG_SND_SUPPORT_OLD_API is not set
831# CONFIG_SND_VERBOSE_PROCFS is not set
832# CONFIG_SND_VERBOSE_PRINTK is not set
833# CONFIG_SND_DEBUG is not set
834CONFIG_SND_DRIVERS=y
835# CONFIG_SND_DUMMY is not set
836# CONFIG_SND_MTPAV is not set
837# CONFIG_SND_SERIAL_U16550 is not set
838# CONFIG_SND_MPU401 is not set
839CONFIG_SND_SPI=y
840CONFIG_SND_AT73C213=m
841CONFIG_SND_AT73C213_TARGET_BITRATE=48000
842# CONFIG_SND_SOC is not set
843# CONFIG_SOUND_PRIME is not set
844# CONFIG_HID_SUPPORT is not set
845CONFIG_USB_SUPPORT=y
846# CONFIG_USB_ARCH_HAS_HCD is not set
847# CONFIG_USB_ARCH_HAS_OHCI is not set
848# CONFIG_USB_ARCH_HAS_EHCI is not set
849# CONFIG_USB_OTG_WHITELIST is not set
850# CONFIG_USB_OTG_BLACKLIST_HUB is not set
851
852#
853# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
854#
855CONFIG_USB_GADGET=y
856# CONFIG_USB_GADGET_DEBUG is not set
857# CONFIG_USB_GADGET_DEBUG_FILES is not set
858# CONFIG_USB_GADGET_DEBUG_FS is not set
859CONFIG_USB_GADGET_SELECTED=y
860# CONFIG_USB_GADGET_AMD5536UDC is not set
861CONFIG_USB_GADGET_ATMEL_USBA=y
862CONFIG_USB_ATMEL_USBA=y
863# CONFIG_USB_GADGET_FSL_USB2 is not set
864# CONFIG_USB_GADGET_NET2280 is not set
865# CONFIG_USB_GADGET_PXA25X is not set
866# CONFIG_USB_GADGET_M66592 is not set
867# CONFIG_USB_GADGET_PXA27X is not set
868# CONFIG_USB_GADGET_GOKU is not set
869# CONFIG_USB_GADGET_LH7A40X is not set
870# CONFIG_USB_GADGET_OMAP is not set
871# CONFIG_USB_GADGET_S3C2410 is not set
872# CONFIG_USB_GADGET_AT91 is not set
873# CONFIG_USB_GADGET_DUMMY_HCD is not set
874CONFIG_USB_GADGET_DUALSPEED=y
875CONFIG_USB_ZERO=m
876CONFIG_USB_ETH=m
877CONFIG_USB_ETH_RNDIS=y
878CONFIG_USB_GADGETFS=m
879CONFIG_USB_FILE_STORAGE=m
880# CONFIG_USB_FILE_STORAGE_TEST is not set
881CONFIG_USB_G_SERIAL=m
882# CONFIG_USB_MIDI_GADGET is not set
883# CONFIG_USB_G_PRINTER is not set
884# CONFIG_USB_CDC_COMPOSITE is not set
885CONFIG_MMC=y
886# CONFIG_MMC_DEBUG is not set
887# CONFIG_MMC_UNSAFE_RESUME is not set
888
889#
890# MMC/SD Card Drivers
891#
892CONFIG_MMC_BLOCK=y
893CONFIG_MMC_BLOCK_BOUNCE=y
894# CONFIG_SDIO_UART is not set
895# CONFIG_MMC_TEST is not set
896
897#
898# MMC/SD Host Controller Drivers
899#
900# CONFIG_MMC_SDHCI is not set
901CONFIG_MMC_ATMELMCI=y
902CONFIG_MMC_SPI=m
903# CONFIG_MEMSTICK is not set
904CONFIG_NEW_LEDS=y
905CONFIG_LEDS_CLASS=m
906
907#
908# LED drivers
909#
910CONFIG_LEDS_ATMEL_PWM=m
911# CONFIG_LEDS_PCA9532 is not set
912CONFIG_LEDS_GPIO=m
913# CONFIG_LEDS_PCA955X is not set
914
915#
916# LED Triggers
917#
918CONFIG_LEDS_TRIGGERS=y
919CONFIG_LEDS_TRIGGER_TIMER=m
920CONFIG_LEDS_TRIGGER_HEARTBEAT=m
921CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
922# CONFIG_ACCESSIBILITY is not set
923CONFIG_RTC_LIB=y
924CONFIG_RTC_CLASS=y
925CONFIG_RTC_HCTOSYS=y
926CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
927# CONFIG_RTC_DEBUG is not set
928
929#
930# RTC interfaces
931#
932CONFIG_RTC_INTF_SYSFS=y
933CONFIG_RTC_INTF_PROC=y
934CONFIG_RTC_INTF_DEV=y
935# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
936# CONFIG_RTC_DRV_TEST is not set
937
938#
939# I2C RTC drivers
940#
941# CONFIG_RTC_DRV_DS1307 is not set
942# CONFIG_RTC_DRV_DS1374 is not set
943# CONFIG_RTC_DRV_DS1672 is not set
944# CONFIG_RTC_DRV_MAX6900 is not set
945# CONFIG_RTC_DRV_RS5C372 is not set
946# CONFIG_RTC_DRV_ISL1208 is not set
947# CONFIG_RTC_DRV_X1205 is not set
948# CONFIG_RTC_DRV_PCF8563 is not set
949# CONFIG_RTC_DRV_PCF8583 is not set
950# CONFIG_RTC_DRV_M41T80 is not set
951# CONFIG_RTC_DRV_S35390A is not set
952# CONFIG_RTC_DRV_FM3130 is not set
953
954#
955# SPI RTC drivers
956#
957# CONFIG_RTC_DRV_M41T94 is not set
958# CONFIG_RTC_DRV_DS1305 is not set
959# CONFIG_RTC_DRV_MAX6902 is not set
960# CONFIG_RTC_DRV_R9701 is not set
961# CONFIG_RTC_DRV_RS5C348 is not set
962
963#
964# Platform RTC drivers
965#
966# CONFIG_RTC_DRV_DS1511 is not set
967# CONFIG_RTC_DRV_DS1553 is not set
968# CONFIG_RTC_DRV_DS1742 is not set
969# CONFIG_RTC_DRV_STK17TA8 is not set
970# CONFIG_RTC_DRV_M48T86 is not set
971# CONFIG_RTC_DRV_M48T59 is not set
972# CONFIG_RTC_DRV_V3020 is not set
973
974#
975# on-CPU RTC drivers
976#
977CONFIG_RTC_DRV_AT32AP700X=y
978CONFIG_DMADEVICES=y
979
980#
981# DMA Devices
982#
983CONFIG_DW_DMAC=y
984CONFIG_DMA_ENGINE=y
985
986#
987# DMA Clients
988#
989# CONFIG_NET_DMA is not set
990CONFIG_DMATEST=m
991# CONFIG_UIO is not set
992
993#
994# File systems
995#
996CONFIG_EXT2_FS=m
997# CONFIG_EXT2_FS_XATTR is not set
998# CONFIG_EXT2_FS_XIP is not set
999CONFIG_EXT3_FS=m
1000# CONFIG_EXT3_FS_XATTR is not set
1001# CONFIG_EXT4DEV_FS is not set
1002CONFIG_JBD=m
1003# CONFIG_JBD_DEBUG is not set
1004# CONFIG_REISERFS_FS is not set
1005# CONFIG_JFS_FS is not set
1006# CONFIG_FS_POSIX_ACL is not set
1007# CONFIG_XFS_FS is not set
1008# CONFIG_OCFS2_FS is not set
1009# CONFIG_DNOTIFY is not set
1010CONFIG_INOTIFY=y
1011CONFIG_INOTIFY_USER=y
1012# CONFIG_QUOTA is not set
1013# CONFIG_AUTOFS_FS is not set
1014# CONFIG_AUTOFS4_FS is not set
1015CONFIG_FUSE_FS=m
1016
1017#
1018# CD-ROM/DVD Filesystems
1019#
1020# CONFIG_ISO9660_FS is not set
1021# CONFIG_UDF_FS is not set
1022
1023#
1024# DOS/FAT/NT Filesystems
1025#
1026CONFIG_FAT_FS=m
1027CONFIG_MSDOS_FS=m
1028CONFIG_VFAT_FS=m
1029CONFIG_FAT_DEFAULT_CODEPAGE=437
1030CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1031# CONFIG_NTFS_FS is not set
1032
1033#
1034# Pseudo filesystems
1035#
1036CONFIG_PROC_FS=y
1037CONFIG_PROC_KCORE=y
1038CONFIG_PROC_SYSCTL=y
1039CONFIG_SYSFS=y
1040CONFIG_TMPFS=y
1041# CONFIG_TMPFS_POSIX_ACL is not set
1042# CONFIG_HUGETLB_PAGE is not set
1043# CONFIG_CONFIGFS_FS is not set
1044
1045#
1046# Miscellaneous filesystems
1047#
1048# CONFIG_ADFS_FS is not set
1049# CONFIG_AFFS_FS is not set
1050# CONFIG_HFS_FS is not set
1051# CONFIG_HFSPLUS_FS is not set
1052# CONFIG_BEFS_FS is not set
1053# CONFIG_BFS_FS is not set
1054# CONFIG_EFS_FS is not set
1055CONFIG_JFFS2_FS=y
1056CONFIG_JFFS2_FS_DEBUG=0
1057# CONFIG_JFFS2_FS_WRITEBUFFER is not set
1058# CONFIG_JFFS2_SUMMARY is not set
1059# CONFIG_JFFS2_FS_XATTR is not set
1060# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1061CONFIG_JFFS2_ZLIB=y
1062# CONFIG_JFFS2_LZO is not set
1063CONFIG_JFFS2_RTIME=y
1064# CONFIG_JFFS2_RUBIN is not set
1065CONFIG_UBIFS_FS=y
1066CONFIG_UBIFS_FS_XATTR=y
1067# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
1068CONFIG_UBIFS_FS_LZO=y
1069CONFIG_UBIFS_FS_ZLIB=y
1070# CONFIG_UBIFS_FS_DEBUG is not set
1071# CONFIG_CRAMFS is not set
1072# CONFIG_VXFS_FS is not set
1073CONFIG_MINIX_FS=m
1074# CONFIG_OMFS_FS is not set
1075# CONFIG_HPFS_FS is not set
1076# CONFIG_QNX4FS_FS is not set
1077# CONFIG_ROMFS_FS is not set
1078# CONFIG_SYSV_FS is not set
1079# CONFIG_UFS_FS is not set
1080CONFIG_NETWORK_FILESYSTEMS=y
1081CONFIG_NFS_FS=y
1082CONFIG_NFS_V3=y
1083# CONFIG_NFS_V3_ACL is not set
1084# CONFIG_NFS_V4 is not set
1085CONFIG_ROOT_NFS=y
1086# CONFIG_NFSD is not set
1087CONFIG_LOCKD=y
1088CONFIG_LOCKD_V4=y
1089CONFIG_NFS_COMMON=y
1090CONFIG_SUNRPC=y
1091# CONFIG_RPCSEC_GSS_KRB5 is not set
1092# CONFIG_RPCSEC_GSS_SPKM3 is not set
1093# CONFIG_SMB_FS is not set
1094# CONFIG_CIFS is not set
1095# CONFIG_NCP_FS is not set
1096# CONFIG_CODA_FS is not set
1097# CONFIG_AFS_FS is not set
1098
1099#
1100# Partition Types
1101#
1102# CONFIG_PARTITION_ADVANCED is not set
1103CONFIG_MSDOS_PARTITION=y
1104CONFIG_NLS=m
1105CONFIG_NLS_DEFAULT="iso8859-1"
1106CONFIG_NLS_CODEPAGE_437=m
1107# CONFIG_NLS_CODEPAGE_737 is not set
1108# CONFIG_NLS_CODEPAGE_775 is not set
1109# CONFIG_NLS_CODEPAGE_850 is not set
1110# CONFIG_NLS_CODEPAGE_852 is not set
1111# CONFIG_NLS_CODEPAGE_855 is not set
1112# CONFIG_NLS_CODEPAGE_857 is not set
1113# CONFIG_NLS_CODEPAGE_860 is not set
1114# CONFIG_NLS_CODEPAGE_861 is not set
1115# CONFIG_NLS_CODEPAGE_862 is not set
1116# CONFIG_NLS_CODEPAGE_863 is not set
1117# CONFIG_NLS_CODEPAGE_864 is not set
1118# CONFIG_NLS_CODEPAGE_865 is not set
1119# CONFIG_NLS_CODEPAGE_866 is not set
1120# CONFIG_NLS_CODEPAGE_869 is not set
1121# CONFIG_NLS_CODEPAGE_936 is not set
1122# CONFIG_NLS_CODEPAGE_950 is not set
1123# CONFIG_NLS_CODEPAGE_932 is not set
1124# CONFIG_NLS_CODEPAGE_949 is not set
1125# CONFIG_NLS_CODEPAGE_874 is not set
1126# CONFIG_NLS_ISO8859_8 is not set
1127# CONFIG_NLS_CODEPAGE_1250 is not set
1128# CONFIG_NLS_CODEPAGE_1251 is not set
1129# CONFIG_NLS_ASCII is not set
1130CONFIG_NLS_ISO8859_1=m
1131# CONFIG_NLS_ISO8859_2 is not set
1132# CONFIG_NLS_ISO8859_3 is not set
1133# CONFIG_NLS_ISO8859_4 is not set
1134# CONFIG_NLS_ISO8859_5 is not set
1135# CONFIG_NLS_ISO8859_6 is not set
1136# CONFIG_NLS_ISO8859_7 is not set
1137# CONFIG_NLS_ISO8859_9 is not set
1138# CONFIG_NLS_ISO8859_13 is not set
1139# CONFIG_NLS_ISO8859_14 is not set
1140# CONFIG_NLS_ISO8859_15 is not set
1141# CONFIG_NLS_KOI8_R is not set
1142# CONFIG_NLS_KOI8_U is not set
1143CONFIG_NLS_UTF8=m
1144# CONFIG_DLM is not set
1145
1146#
1147# Kernel hacking
1148#
1149# CONFIG_PRINTK_TIME is not set
1150CONFIG_ENABLE_WARN_DEPRECATED=y
1151CONFIG_ENABLE_MUST_CHECK=y
1152CONFIG_FRAME_WARN=1024
1153CONFIG_MAGIC_SYSRQ=y
1154# CONFIG_UNUSED_SYMBOLS is not set
1155CONFIG_DEBUG_FS=y
1156# CONFIG_HEADERS_CHECK is not set
1157CONFIG_DEBUG_KERNEL=y
1158# CONFIG_DEBUG_SHIRQ is not set
1159CONFIG_DETECT_SOFTLOCKUP=y
1160# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1161CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1162CONFIG_SCHED_DEBUG=y
1163# CONFIG_SCHEDSTATS is not set
1164# CONFIG_TIMER_STATS is not set
1165# CONFIG_DEBUG_OBJECTS is not set
1166# CONFIG_SLUB_DEBUG_ON is not set
1167# CONFIG_SLUB_STATS is not set
1168# CONFIG_DEBUG_RT_MUTEXES is not set
1169# CONFIG_RT_MUTEX_TESTER is not set
1170# CONFIG_DEBUG_SPINLOCK is not set
1171# CONFIG_DEBUG_MUTEXES is not set
1172# CONFIG_DEBUG_LOCK_ALLOC is not set
1173# CONFIG_PROVE_LOCKING is not set
1174# CONFIG_LOCK_STAT is not set
1175# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1176# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1177# CONFIG_DEBUG_KOBJECT is not set
1178CONFIG_DEBUG_BUGVERBOSE=y
1179# CONFIG_DEBUG_INFO is not set
1180# CONFIG_DEBUG_VM is not set
1181# CONFIG_DEBUG_WRITECOUNT is not set
1182# CONFIG_DEBUG_MEMORY_INIT is not set
1183# CONFIG_DEBUG_LIST is not set
1184# CONFIG_DEBUG_SG is not set
1185CONFIG_FRAME_POINTER=y
1186# CONFIG_BOOT_PRINTK_DELAY is not set
1187# CONFIG_RCU_TORTURE_TEST is not set
1188# CONFIG_KPROBES_SANITY_TEST is not set
1189# CONFIG_BACKTRACE_SELF_TEST is not set
1190# CONFIG_LKDTM is not set
1191# CONFIG_FAULT_INJECTION is not set
1192# CONFIG_SAMPLES is not set
1193
1194#
1195# Security options
1196#
1197# CONFIG_KEYS is not set
1198# CONFIG_SECURITY is not set
1199# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1200CONFIG_CRYPTO=y
1201
1202#
1203# Crypto core or helper
1204#
1205CONFIG_CRYPTO_ALGAPI=y
1206CONFIG_CRYPTO_AEAD=m
1207CONFIG_CRYPTO_BLKCIPHER=m
1208CONFIG_CRYPTO_HASH=m
1209CONFIG_CRYPTO_MANAGER=m
1210# CONFIG_CRYPTO_GF128MUL is not set
1211# CONFIG_CRYPTO_NULL is not set
1212# CONFIG_CRYPTO_CRYPTD is not set
1213CONFIG_CRYPTO_AUTHENC=m
1214# CONFIG_CRYPTO_TEST is not set
1215
1216#
1217# Authenticated Encryption with Associated Data
1218#
1219# CONFIG_CRYPTO_CCM is not set
1220# CONFIG_CRYPTO_GCM is not set
1221# CONFIG_CRYPTO_SEQIV is not set
1222
1223#
1224# Block modes
1225#
1226CONFIG_CRYPTO_CBC=m
1227# CONFIG_CRYPTO_CTR is not set
1228# CONFIG_CRYPTO_CTS is not set
1229# CONFIG_CRYPTO_ECB is not set
1230# CONFIG_CRYPTO_LRW is not set
1231# CONFIG_CRYPTO_PCBC is not set
1232# CONFIG_CRYPTO_XTS is not set
1233
1234#
1235# Hash modes
1236#
1237CONFIG_CRYPTO_HMAC=m
1238# CONFIG_CRYPTO_XCBC is not set
1239
1240#
1241# Digest
1242#
1243# CONFIG_CRYPTO_CRC32C is not set
1244# CONFIG_CRYPTO_MD4 is not set
1245CONFIG_CRYPTO_MD5=m
1246# CONFIG_CRYPTO_MICHAEL_MIC is not set
1247# CONFIG_CRYPTO_RMD128 is not set
1248# CONFIG_CRYPTO_RMD160 is not set
1249# CONFIG_CRYPTO_RMD256 is not set
1250# CONFIG_CRYPTO_RMD320 is not set
1251CONFIG_CRYPTO_SHA1=m
1252# CONFIG_CRYPTO_SHA256 is not set
1253# CONFIG_CRYPTO_SHA512 is not set
1254# CONFIG_CRYPTO_TGR192 is not set
1255# CONFIG_CRYPTO_WP512 is not set
1256
1257#
1258# Ciphers
1259#
1260# CONFIG_CRYPTO_AES is not set
1261# CONFIG_CRYPTO_ANUBIS is not set
1262# CONFIG_CRYPTO_ARC4 is not set
1263# CONFIG_CRYPTO_BLOWFISH is not set
1264# CONFIG_CRYPTO_CAMELLIA is not set
1265# CONFIG_CRYPTO_CAST5 is not set
1266# CONFIG_CRYPTO_CAST6 is not set
1267CONFIG_CRYPTO_DES=m
1268# CONFIG_CRYPTO_FCRYPT is not set
1269# CONFIG_CRYPTO_KHAZAD is not set
1270# CONFIG_CRYPTO_SALSA20 is not set
1271# CONFIG_CRYPTO_SEED is not set
1272# CONFIG_CRYPTO_SERPENT is not set
1273# CONFIG_CRYPTO_TEA is not set
1274# CONFIG_CRYPTO_TWOFISH is not set
1275
1276#
1277# Compression
1278#
1279CONFIG_CRYPTO_DEFLATE=y
1280CONFIG_CRYPTO_LZO=y
1281# CONFIG_CRYPTO_HW is not set
1282
1283#
1284# Library routines
1285#
1286CONFIG_BITREVERSE=y
1287# CONFIG_GENERIC_FIND_FIRST_BIT is not set
1288# CONFIG_GENERIC_FIND_NEXT_BIT is not set
1289CONFIG_CRC_CCITT=m
1290CONFIG_CRC16=y
1291CONFIG_CRC_T10DIF=m
1292CONFIG_CRC_ITU_T=m
1293CONFIG_CRC32=y
1294CONFIG_CRC7=m
1295# CONFIG_LIBCRC32C is not set
1296CONFIG_ZLIB_INFLATE=y
1297CONFIG_ZLIB_DEFLATE=y
1298CONFIG_LZO_COMPRESS=y
1299CONFIG_LZO_DECOMPRESS=y
1300CONFIG_GENERIC_ALLOCATOR=y
1301CONFIG_PLIST=y
1302CONFIG_HAS_IOMEM=y
1303CONFIG_HAS_IOPORT=y
1304CONFIG_HAS_DMA=y
diff --git a/arch/avr32/mach-at32ap/Makefile b/arch/avr32/mach-at32ap/Makefile
index d5018e2eed25..514c9a9b009a 100644
--- a/arch/avr32/mach-at32ap/Makefile
+++ b/arch/avr32/mach-at32ap/Makefile
@@ -1,4 +1,5 @@
1obj-y += pdc.o clock.o intc.o extint.o pio.o hsmc.o 1obj-y += pdc.o clock.o intc.o extint.o pio.o hsmc.o
2obj-y += hmatrix.o
2obj-$(CONFIG_CPU_AT32AP700X) += at32ap700x.o pm-at32ap700x.o 3obj-$(CONFIG_CPU_AT32AP700X) += at32ap700x.o pm-at32ap700x.o
3obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o 4obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o
4obj-$(CONFIG_PM) += pm.o 5obj-$(CONFIG_PM) += pm.o
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c
index 92bfb4d8ae45..e01dbe4ebb40 100644
--- a/arch/avr32/mach-at32ap/at32ap700x.c
+++ b/arch/avr32/mach-at32ap/at32ap700x.c
@@ -22,13 +22,13 @@
22 22
23#include <mach/at32ap700x.h> 23#include <mach/at32ap700x.h>
24#include <mach/board.h> 24#include <mach/board.h>
25#include <mach/hmatrix.h>
25#include <mach/portmux.h> 26#include <mach/portmux.h>
26#include <mach/sram.h> 27#include <mach/sram.h>
27 28
28#include <video/atmel_lcdc.h> 29#include <video/atmel_lcdc.h>
29 30
30#include "clock.h" 31#include "clock.h"
31#include "hmatrix.h"
32#include "pio.h" 32#include "pio.h"
33#include "pm.h" 33#include "pm.h"
34 34
@@ -725,7 +725,7 @@ static struct clk pico_clk = {
725 * HMATRIX 725 * HMATRIX
726 * -------------------------------------------------------------------- */ 726 * -------------------------------------------------------------------- */
727 727
728static struct clk hmatrix_clk = { 728struct clk at32_hmatrix_clk = {
729 .name = "hmatrix_clk", 729 .name = "hmatrix_clk",
730 .parent = &pbb_clk, 730 .parent = &pbb_clk,
731 .mode = pbb_clk_mode, 731 .mode = pbb_clk_mode,
@@ -733,12 +733,6 @@ static struct clk hmatrix_clk = {
733 .index = 2, 733 .index = 2,
734 .users = 1, 734 .users = 1,
735}; 735};
736#define HMATRIX_BASE ((void __iomem *)0xfff00800)
737
738#define hmatrix_readl(reg) \
739 __raw_readl((HMATRIX_BASE) + HMATRIX_##reg)
740#define hmatrix_writel(reg,value) \
741 __raw_writel((value), (HMATRIX_BASE) + HMATRIX_##reg)
742 736
743/* 737/*
744 * Set bits in the HMATRIX Special Function Register (SFR) used by the 738 * Set bits in the HMATRIX Special Function Register (SFR) used by the
@@ -748,13 +742,7 @@ static struct clk hmatrix_clk = {
748 */ 742 */
749static inline void set_ebi_sfr_bits(u32 mask) 743static inline void set_ebi_sfr_bits(u32 mask)
750{ 744{
751 u32 sfr; 745 hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, mask);
752
753 clk_enable(&hmatrix_clk);
754 sfr = hmatrix_readl(SFR4);
755 sfr |= mask;
756 hmatrix_writel(SFR4, sfr);
757 clk_disable(&hmatrix_clk);
758} 746}
759 747
760/* -------------------------------------------------------------------- 748/* --------------------------------------------------------------------
@@ -1779,7 +1767,7 @@ static int __init at32_init_ide_or_cf(struct platform_device *pdev,
1779 return ret; 1767 return ret;
1780 1768
1781 select_peripheral(PE(21), PERIPH_A, 0); /* NCS4 -> OE_N */ 1769 select_peripheral(PE(21), PERIPH_A, 0); /* NCS4 -> OE_N */
1782 set_ebi_sfr_bits(HMATRIX_BIT(CS4A)); 1770 hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, HMATRIX_EBI_CF0_ENABLE);
1783 break; 1771 break;
1784 case 5: 1772 case 5:
1785 ret = platform_device_add_resources(pdev, 1773 ret = platform_device_add_resources(pdev,
@@ -1789,7 +1777,7 @@ static int __init at32_init_ide_or_cf(struct platform_device *pdev,
1789 return ret; 1777 return ret;
1790 1778
1791 select_peripheral(PE(22), PERIPH_A, 0); /* NCS5 -> OE_N */ 1779 select_peripheral(PE(22), PERIPH_A, 0); /* NCS5 -> OE_N */
1792 set_ebi_sfr_bits(HMATRIX_BIT(CS5A)); 1780 hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, HMATRIX_EBI_CF1_ENABLE);
1793 break; 1781 break;
1794 default: 1782 default:
1795 return -EINVAL; 1783 return -EINVAL;
@@ -1905,7 +1893,7 @@ at32_add_device_nand(unsigned int id, struct atmel_nand_data *data)
1905 sizeof(struct atmel_nand_data))) 1893 sizeof(struct atmel_nand_data)))
1906 goto fail; 1894 goto fail;
1907 1895
1908 set_ebi_sfr_bits(HMATRIX_BIT(CS3A)); 1896 hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, HMATRIX_EBI_NAND_ENABLE);
1909 if (data->enable_pin) 1897 if (data->enable_pin)
1910 at32_select_gpio(data->enable_pin, 1898 at32_select_gpio(data->enable_pin,
1911 AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH); 1899 AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH);
@@ -2097,7 +2085,7 @@ struct clk *at32_clock_list[] = {
2097 &pbb_clk, 2085 &pbb_clk,
2098 &at32_pm_pclk, 2086 &at32_pm_pclk,
2099 &at32_intc0_pclk, 2087 &at32_intc0_pclk,
2100 &hmatrix_clk, 2088 &at32_hmatrix_clk,
2101 &ebi_clk, 2089 &ebi_clk,
2102 &hramc_clk, 2090 &hramc_clk,
2103 &sdramc_clk, 2091 &sdramc_clk,
diff --git a/arch/avr32/mach-at32ap/clock.c b/arch/avr32/mach-at32ap/clock.c
index 4642117cc9ab..6c27ddac5adf 100644
--- a/arch/avr32/mach-at32ap/clock.c
+++ b/arch/avr32/mach-at32ap/clock.c
@@ -16,6 +16,8 @@
16#include <linux/device.h> 16#include <linux/device.h>
17#include <linux/string.h> 17#include <linux/string.h>
18 18
19#include <mach/chip.h>
20
19#include "clock.h" 21#include "clock.h"
20 22
21static DEFINE_SPINLOCK(clk_lock); 23static DEFINE_SPINLOCK(clk_lock);
diff --git a/arch/avr32/mach-at32ap/hmatrix.c b/arch/avr32/mach-at32ap/hmatrix.c
new file mode 100644
index 000000000000..48f5ede77468
--- /dev/null
+++ b/arch/avr32/mach-at32ap/hmatrix.c
@@ -0,0 +1,88 @@
1/*
2 * High-Speed Bus Matrix helper functions
3 *
4 * Copyright (C) 2008 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/clk.h>
11#include <linux/io.h>
12
13#include <mach/chip.h>
14#include <mach/hmatrix.h>
15
16static inline void __hmatrix_write_reg(unsigned long offset, u32 value)
17{
18 __raw_writel(value, (void __iomem __force *)(HMATRIX_BASE + offset));
19}
20
21static inline u32 __hmatrix_read_reg(unsigned long offset)
22{
23 return __raw_readl((void __iomem __force *)(HMATRIX_BASE + offset));
24}
25
26/**
27 * hmatrix_write_reg - write HMATRIX configuration register
28 * @offset: register offset
29 * @value: value to be written to the register at @offset
30 */
31void hmatrix_write_reg(unsigned long offset, u32 value)
32{
33 clk_enable(&at32_hmatrix_clk);
34 __hmatrix_write_reg(offset, value);
35 __hmatrix_read_reg(offset);
36 clk_disable(&at32_hmatrix_clk);
37}
38
39/**
40 * hmatrix_read_reg - read HMATRIX configuration register
41 * @offset: register offset
42 *
43 * Returns the value of the register at @offset.
44 */
45u32 hmatrix_read_reg(unsigned long offset)
46{
47 u32 value;
48
49 clk_enable(&at32_hmatrix_clk);
50 value = __hmatrix_read_reg(offset);
51 clk_disable(&at32_hmatrix_clk);
52
53 return value;
54}
55
56/**
57 * hmatrix_sfr_set_bits - set bits in a slave's Special Function Register
58 * @slave_id: operate on the SFR belonging to this slave
59 * @mask: mask of bits to be set in the SFR
60 */
61void hmatrix_sfr_set_bits(unsigned int slave_id, u32 mask)
62{
63 u32 value;
64
65 clk_enable(&at32_hmatrix_clk);
66 value = __hmatrix_read_reg(HMATRIX_SFR(slave_id));
67 value |= mask;
68 __hmatrix_write_reg(HMATRIX_SFR(slave_id), value);
69 __hmatrix_read_reg(HMATRIX_SFR(slave_id));
70 clk_disable(&at32_hmatrix_clk);
71}
72
73/**
74 * hmatrix_sfr_set_bits - clear bits in a slave's Special Function Register
75 * @slave_id: operate on the SFR belonging to this slave
76 * @mask: mask of bits to be cleared in the SFR
77 */
78void hmatrix_sfr_clear_bits(unsigned int slave_id, u32 mask)
79{
80 u32 value;
81
82 clk_enable(&at32_hmatrix_clk);
83 value = __hmatrix_read_reg(HMATRIX_SFR(slave_id));
84 value &= ~mask;
85 __hmatrix_write_reg(HMATRIX_SFR(slave_id), value);
86 __hmatrix_read_reg(HMATRIX_SFR(slave_id));
87 clk_disable(&at32_hmatrix_clk);
88}
diff --git a/arch/avr32/mach-at32ap/hmatrix.h b/arch/avr32/mach-at32ap/hmatrix.h
deleted file mode 100644
index d10bfb60d68d..000000000000
--- a/arch/avr32/mach-at32ap/hmatrix.h
+++ /dev/null
@@ -1,182 +0,0 @@
1/*
2 * Register definitions for High-Speed Bus Matrix
3 */
4#ifndef __HMATRIX_H
5#define __HMATRIX_H
6
7/* HMATRIX register offsets */
8#define HMATRIX_MCFG0 0x0000
9#define HMATRIX_MCFG1 0x0004
10#define HMATRIX_MCFG2 0x0008
11#define HMATRIX_MCFG3 0x000c
12#define HMATRIX_MCFG4 0x0010
13#define HMATRIX_MCFG5 0x0014
14#define HMATRIX_MCFG6 0x0018
15#define HMATRIX_MCFG7 0x001c
16#define HMATRIX_MCFG8 0x0020
17#define HMATRIX_MCFG9 0x0024
18#define HMATRIX_MCFG10 0x0028
19#define HMATRIX_MCFG11 0x002c
20#define HMATRIX_MCFG12 0x0030
21#define HMATRIX_MCFG13 0x0034
22#define HMATRIX_MCFG14 0x0038
23#define HMATRIX_MCFG15 0x003c
24#define HMATRIX_SCFG0 0x0040
25#define HMATRIX_SCFG1 0x0044
26#define HMATRIX_SCFG2 0x0048
27#define HMATRIX_SCFG3 0x004c
28#define HMATRIX_SCFG4 0x0050
29#define HMATRIX_SCFG5 0x0054
30#define HMATRIX_SCFG6 0x0058
31#define HMATRIX_SCFG7 0x005c
32#define HMATRIX_SCFG8 0x0060
33#define HMATRIX_SCFG9 0x0064
34#define HMATRIX_SCFG10 0x0068
35#define HMATRIX_SCFG11 0x006c
36#define HMATRIX_SCFG12 0x0070
37#define HMATRIX_SCFG13 0x0074
38#define HMATRIX_SCFG14 0x0078
39#define HMATRIX_SCFG15 0x007c
40#define HMATRIX_PRAS0 0x0080
41#define HMATRIX_PRBS0 0x0084
42#define HMATRIX_PRAS1 0x0088
43#define HMATRIX_PRBS1 0x008c
44#define HMATRIX_PRAS2 0x0090
45#define HMATRIX_PRBS2 0x0094
46#define HMATRIX_PRAS3 0x0098
47#define HMATRIX_PRBS3 0x009c
48#define HMATRIX_PRAS4 0x00a0
49#define HMATRIX_PRBS4 0x00a4
50#define HMATRIX_PRAS5 0x00a8
51#define HMATRIX_PRBS5 0x00ac
52#define HMATRIX_PRAS6 0x00b0
53#define HMATRIX_PRBS6 0x00b4
54#define HMATRIX_PRAS7 0x00b8
55#define HMATRIX_PRBS7 0x00bc
56#define HMATRIX_PRAS8 0x00c0
57#define HMATRIX_PRBS8 0x00c4
58#define HMATRIX_PRAS9 0x00c8
59#define HMATRIX_PRBS9 0x00cc
60#define HMATRIX_PRAS10 0x00d0
61#define HMATRIX_PRBS10 0x00d4
62#define HMATRIX_PRAS11 0x00d8
63#define HMATRIX_PRBS11 0x00dc
64#define HMATRIX_PRAS12 0x00e0
65#define HMATRIX_PRBS12 0x00e4
66#define HMATRIX_PRAS13 0x00e8
67#define HMATRIX_PRBS13 0x00ec
68#define HMATRIX_PRAS14 0x00f0
69#define HMATRIX_PRBS14 0x00f4
70#define HMATRIX_PRAS15 0x00f8
71#define HMATRIX_PRBS15 0x00fc
72#define HMATRIX_MRCR 0x0100
73#define HMATRIX_SFR0 0x0110
74#define HMATRIX_SFR1 0x0114
75#define HMATRIX_SFR2 0x0118
76#define HMATRIX_SFR3 0x011c
77#define HMATRIX_SFR4 0x0120
78#define HMATRIX_SFR5 0x0124
79#define HMATRIX_SFR6 0x0128
80#define HMATRIX_SFR7 0x012c
81#define HMATRIX_SFR8 0x0130
82#define HMATRIX_SFR9 0x0134
83#define HMATRIX_SFR10 0x0138
84#define HMATRIX_SFR11 0x013c
85#define HMATRIX_SFR12 0x0140
86#define HMATRIX_SFR13 0x0144
87#define HMATRIX_SFR14 0x0148
88#define HMATRIX_SFR15 0x014c
89
90/* Bitfields in MCFGx */
91#define HMATRIX_ULBT_OFFSET 0
92#define HMATRIX_ULBT_SIZE 3
93
94/* Bitfields in SCFGx */
95#define HMATRIX_SLOT_CYCLE_OFFSET 0
96#define HMATRIX_SLOT_CYCLE_SIZE 8
97#define HMATRIX_DEFMSTR_TYPE_OFFSET 16
98#define HMATRIX_DEFMSTR_TYPE_SIZE 2
99#define HMATRIX_FIXED_DEFMSTR_OFFSET 18
100#define HMATRIX_FIXED_DEFMSTR_SIZE 4
101#define HMATRIX_ARBT_OFFSET 24
102#define HMATRIX_ARBT_SIZE 2
103
104/* Bitfields in PRASx */
105#define HMATRIX_M0PR_OFFSET 0
106#define HMATRIX_M0PR_SIZE 4
107#define HMATRIX_M1PR_OFFSET 4
108#define HMATRIX_M1PR_SIZE 4
109#define HMATRIX_M2PR_OFFSET 8
110#define HMATRIX_M2PR_SIZE 4
111#define HMATRIX_M3PR_OFFSET 12
112#define HMATRIX_M3PR_SIZE 4
113#define HMATRIX_M4PR_OFFSET 16
114#define HMATRIX_M4PR_SIZE 4
115#define HMATRIX_M5PR_OFFSET 20
116#define HMATRIX_M5PR_SIZE 4
117#define HMATRIX_M6PR_OFFSET 24
118#define HMATRIX_M6PR_SIZE 4
119#define HMATRIX_M7PR_OFFSET 28
120#define HMATRIX_M7PR_SIZE 4
121
122/* Bitfields in PRBSx */
123#define HMATRIX_M8PR_OFFSET 0
124#define HMATRIX_M8PR_SIZE 4
125#define HMATRIX_M9PR_OFFSET 4
126#define HMATRIX_M9PR_SIZE 4
127#define HMATRIX_M10PR_OFFSET 8
128#define HMATRIX_M10PR_SIZE 4
129#define HMATRIX_M11PR_OFFSET 12
130#define HMATRIX_M11PR_SIZE 4
131#define HMATRIX_M12PR_OFFSET 16
132#define HMATRIX_M12PR_SIZE 4
133#define HMATRIX_M13PR_OFFSET 20
134#define HMATRIX_M13PR_SIZE 4
135#define HMATRIX_M14PR_OFFSET 24
136#define HMATRIX_M14PR_SIZE 4
137#define HMATRIX_M15PR_OFFSET 28
138#define HMATRIX_M15PR_SIZE 4
139
140/* Bitfields in SFR4 */
141#define HMATRIX_CS1A_OFFSET 1
142#define HMATRIX_CS1A_SIZE 1
143#define HMATRIX_CS3A_OFFSET 3
144#define HMATRIX_CS3A_SIZE 1
145#define HMATRIX_CS4A_OFFSET 4
146#define HMATRIX_CS4A_SIZE 1
147#define HMATRIX_CS5A_OFFSET 5
148#define HMATRIX_CS5A_SIZE 1
149#define HMATRIX_DBPUC_OFFSET 8
150#define HMATRIX_DBPUC_SIZE 1
151
152/* Constants for ULBT */
153#define HMATRIX_ULBT_INFINITE 0
154#define HMATRIX_ULBT_SINGLE 1
155#define HMATRIX_ULBT_FOUR_BEAT 2
156#define HMATRIX_ULBT_EIGHT_BEAT 3
157#define HMATRIX_ULBT_SIXTEEN_BEAT 4
158
159/* Constants for DEFMSTR_TYPE */
160#define HMATRIX_DEFMSTR_TYPE_NO_DEFAULT 0
161#define HMATRIX_DEFMSTR_TYPE_LAST_DEFAULT 1
162#define HMATRIX_DEFMSTR_TYPE_FIXED_DEFAULT 2
163
164/* Constants for ARBT */
165#define HMATRIX_ARBT_ROUND_ROBIN 0
166#define HMATRIX_ARBT_FIXED_PRIORITY 1
167
168/* Bit manipulation macros */
169#define HMATRIX_BIT(name) \
170 (1 << HMATRIX_##name##_OFFSET)
171#define HMATRIX_BF(name,value) \
172 (((value) & ((1 << HMATRIX_##name##_SIZE) - 1)) \
173 << HMATRIX_##name##_OFFSET)
174#define HMATRIX_BFEXT(name,value) \
175 (((value) >> HMATRIX_##name##_OFFSET) \
176 & ((1 << HMATRIX_##name##_SIZE) - 1))
177#define HMATRIX_BFINS(name,value,old) \
178 (((old) & ~(((1 << HMATRIX_##name##_SIZE) - 1) \
179 << HMATRIX_##name##_OFFSET)) \
180 | HMATRIX_BF(name,value))
181
182#endif /* __HMATRIX_H */
diff --git a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
index d18a3053be0d..1e9852d65cca 100644
--- a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
+++ b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
@@ -46,4 +46,41 @@
46#define DMAC_DMAREQ_2 9 46#define DMAC_DMAREQ_2 9
47#define DMAC_DMAREQ_3 10 47#define DMAC_DMAREQ_3 10
48 48
49/* HSB master IDs */
50#define HMATRIX_MASTER_CPU_DCACHE 0
51#define HMATRIX_MASTER_CPU_ICACHE 1
52#define HMATRIX_MASTER_PDC 2
53#define HMATRIX_MASTER_ISI 3
54#define HMATRIX_MASTER_USBA 4
55#define HMATRIX_MASTER_LCDC 5
56#define HMATRIX_MASTER_MACB0 6
57#define HMATRIX_MASTER_MACB1 7
58#define HMATRIX_MASTER_DMACA_M0 8
59#define HMATRIX_MASTER_DMACA_M1 9
60
61/* HSB slave IDs */
62#define HMATRIX_SLAVE_SRAM0 0
63#define HMATRIX_SLAVE_SRAM1 1
64#define HMATRIX_SLAVE_PBA 2
65#define HMATRIX_SLAVE_PBB 3
66#define HMATRIX_SLAVE_EBI 4
67#define HMATRIX_SLAVE_USBA 5
68#define HMATRIX_SLAVE_LCDC 6
69#define HMATRIX_SLAVE_DMACA 7
70
71/* Bits in HMATRIX SFR4 (EBI) */
72#define HMATRIX_EBI_SDRAM_ENABLE (1 << 1)
73#define HMATRIX_EBI_NAND_ENABLE (1 << 3)
74#define HMATRIX_EBI_CF0_ENABLE (1 << 4)
75#define HMATRIX_EBI_CF1_ENABLE (1 << 5)
76#define HMATRIX_EBI_PULLUP_DISABLE (1 << 8)
77
78/*
79 * Base addresses of controllers that may be accessed early by
80 * platform code.
81 */
82#define PM_BASE 0xfff00000
83#define HMATRIX_BASE 0xfff00800
84#define SDRAMC_BASE 0xfff03800
85
49#endif /* __ASM_ARCH_AT32AP700X_H__ */ 86#endif /* __ASM_ARCH_AT32AP700X_H__ */
diff --git a/arch/avr32/mach-at32ap/include/mach/chip.h b/arch/avr32/mach-at32ap/include/mach/chip.h
new file mode 100644
index 000000000000..5efca6da6acb
--- /dev/null
+++ b/arch/avr32/mach-at32ap/include/mach/chip.h
@@ -0,0 +1,19 @@
1/*
2 * AVR32 chip-specific definitions
3 *
4 * Copyright (C) 2008 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_AVR32_ARCH_CHIP_H__
11#define __ASM_AVR32_ARCH_CHIP_H__
12
13#if defined(CONFIG_CPU_AT32AP700X)
14# include <mach/at32ap700x.h>
15#else
16# error Unknown chip type selected
17#endif
18
19#endif /* __ASM_AVR32_ARCH_CHIP_H__ */
diff --git a/arch/avr32/mach-at32ap/include/mach/hmatrix.h b/arch/avr32/mach-at32ap/include/mach/hmatrix.h
new file mode 100644
index 000000000000..7a368f227ebc
--- /dev/null
+++ b/arch/avr32/mach-at32ap/include/mach/hmatrix.h
@@ -0,0 +1,55 @@
1/*
2 * High-Speed Bus Matrix configuration registers
3 *
4 * Copyright (C) 2008 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __HMATRIX_H
11#define __HMATRIX_H
12
13extern struct clk at32_hmatrix_clk;
14
15void hmatrix_write_reg(unsigned long offset, u32 value);
16u32 hmatrix_read_reg(unsigned long offset);
17
18void hmatrix_sfr_set_bits(unsigned int slave_id, u32 mask);
19void hmatrix_sfr_clear_bits(unsigned int slave_id, u32 mask);
20
21/* Master Configuration register */
22#define HMATRIX_MCFG(m) (0x0000 + 4 * (m))
23/* Undefined length burst limit */
24# define HMATRIX_MCFG_ULBT_INFINITE 0 /* Infinite length */
25# define HMATRIX_MCFG_ULBT_SINGLE 1 /* Single Access */
26# define HMATRIX_MCFG_ULBT_FOUR_BEAT 2 /* Four beat */
27# define HMATRIX_MCFG_ULBT_EIGHT_BEAT 3 /* Eight beat */
28# define HMATRIX_MCFG_ULBT_SIXTEEN_BEAT 4 /* Sixteen beat */
29
30/* Slave Configuration register */
31#define HMATRIX_SCFG(s) (0x0040 + 4 * (s))
32# define HMATRIX_SCFG_SLOT_CYCLE(x) ((x) << 0) /* Max burst cycles */
33# define HMATRIX_SCFG_DEFMSTR_NONE ( 0 << 16) /* No default master */
34# define HMATRIX_SCFG_DEFMSTR_LAST ( 1 << 16) /* Last def master */
35# define HMATRIX_SCFG_DEFMSTR_FIXED ( 2 << 16) /* Fixed def master */
36# define HMATRIX_SCFG_FIXED_DEFMSTR(m) ((m) << 18) /* Fixed master ID */
37# define HMATRIX_SCFG_ARBT_ROUND_ROBIN ( 0 << 24) /* RR arbitration */
38# define HMATRIX_SCFG_ARBT_FIXED_PRIO ( 1 << 24) /* Fixed priority */
39
40/* Slave Priority register A (master 0..7) */
41#define HMATRIX_PRAS(s) (0x0080 + 8 * (s))
42# define HMATRIX_PRAS_PRIO(m, p) ((p) << ((m) * 4))
43
44/* Slave Priority register A (master 8..15) */
45#define HMATRIX_PRBS(s) (0x0084 + 8 * (s))
46# define HMATRIX_PRBS_PRIO(m, p) ((p) << (((m) - 8) * 4))
47
48/* Master Remap Control Register */
49#define HMATRIX_MRCR 0x0100
50# define HMATRIX_MRCR_REMAP(m) ( 1 << (m)) /* Remap master m */
51
52/* Special Function Register. Bit definitions are chip-specific */
53#define HMATRIX_SFR(s) (0x0110 + 4 * (s))
54
55#endif /* __HMATRIX_H */
diff --git a/arch/avr32/mach-at32ap/pm.c b/arch/avr32/mach-at32ap/pm.c
index a0cbef54fc2a..f021edfeaab0 100644
--- a/arch/avr32/mach-at32ap/pm.c
+++ b/arch/avr32/mach-at32ap/pm.c
@@ -14,12 +14,10 @@
14#include <asm/cacheflush.h> 14#include <asm/cacheflush.h>
15#include <asm/sysreg.h> 15#include <asm/sysreg.h>
16 16
17#include <mach/chip.h>
17#include <mach/pm.h> 18#include <mach/pm.h>
18#include <mach/sram.h> 19#include <mach/sram.h>
19 20
20/* FIXME: This is only valid for AP7000 */
21#define SDRAMC_BASE 0xfff03800
22
23#include "sdramc.h" 21#include "sdramc.h"
24 22
25#define SRAM_PAGE_FLAGS (SYSREG_BIT(TLBELO_D) | SYSREG_BF(SZ, 1) \ 23#define SRAM_PAGE_FLAGS (SYSREG_BIT(TLBELO_D) | SYSREG_BF(SZ, 1) \
diff --git a/arch/avr32/mach-at32ap/pm.h b/arch/avr32/mach-at32ap/pm.h
index 694d521edc2f..532a3732c214 100644
--- a/arch/avr32/mach-at32ap/pm.h
+++ b/arch/avr32/mach-at32ap/pm.h
@@ -4,14 +4,6 @@
4#ifndef __ARCH_AVR32_MACH_AT32AP_PM_H__ 4#ifndef __ARCH_AVR32_MACH_AT32AP_PM_H__
5#define __ARCH_AVR32_MACH_AT32AP_PM_H__ 5#define __ARCH_AVR32_MACH_AT32AP_PM_H__
6 6
7/*
8 * We can reduce the code size a bit by using a constant here. Since
9 * this file is only used on AVR32 AP CPUs with segmentation enabled,
10 * it's safe to not use ioremap. Generic drivers should of course
11 * never do this.
12 */
13#define AT32_PM_BASE 0xfff00000
14
15/* PM register offsets */ 7/* PM register offsets */
16#define PM_MCCTRL 0x0000 8#define PM_MCCTRL 0x0000
17#define PM_CKSEL 0x0004 9#define PM_CKSEL 0x0004
@@ -113,8 +105,8 @@
113 105
114/* Register access macros */ 106/* Register access macros */
115#define pm_readl(reg) \ 107#define pm_readl(reg) \
116 __raw_readl((void __iomem __force *)AT32_PM_BASE + PM_##reg) 108 __raw_readl((void __iomem __force *)PM_BASE + PM_##reg)
117#define pm_writel(reg,value) \ 109#define pm_writel(reg,value) \
118 __raw_writel((value), (void __iomem __force *)AT32_PM_BASE + PM_##reg) 110 __raw_writel((value), (void __iomem __force *)PM_BASE + PM_##reg)
119 111
120#endif /* __ARCH_AVR32_MACH_AT32AP_PM_H__ */ 112#endif /* __ARCH_AVR32_MACH_AT32AP_PM_H__ */
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index a1d228f5e4e6..9942f24aff9e 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -40,9 +40,6 @@
40 40
41#undef DEBUG 41#undef DEBUG
42 42
43extern void die_if_kernel(char *,struct pt_regs *,long);
44extern void free_initmem(void);
45
46/* 43/*
47 * BAD_PAGE is the page that is used for page faults when linux 44 * BAD_PAGE is the page that is used for page faults when linux
48 * is out-of-memory. Older versions of linux just did a 45 * is out-of-memory. Older versions of linux just did a
@@ -73,7 +70,7 @@ extern unsigned long memory_end;
73 * The parameters are pointers to where to stick the starting and ending 70 * The parameters are pointers to where to stick the starting and ending
74 * addresses of available kernel virtual memory. 71 * addresses of available kernel virtual memory.
75 */ 72 */
76void paging_init(void) 73void __init paging_init(void)
77{ 74{
78 /* 75 /*
79 * Make sure start_mem is page aligned, otherwise bootmem and 76 * Make sure start_mem is page aligned, otherwise bootmem and
@@ -122,7 +119,7 @@ void paging_init(void)
122 } 119 }
123} 120}
124 121
125void mem_init(void) 122void __init mem_init(void)
126{ 123{
127 int codek = 0, datak = 0, initk = 0; 124 int codek = 0, datak = 0, initk = 0;
128 /* DAVIDM look at setup memory map generically with reserved area */ 125 /* DAVIDM look at setup memory map generically with reserved area */
@@ -178,7 +175,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
178#endif 175#endif
179 176
180void 177void
181free_initmem() 178free_initmem(void)
182{ 179{
183#ifdef CONFIG_RAMKERNEL 180#ifdef CONFIG_RAMKERNEL
184 unsigned long addr; 181 unsigned long addr;
diff --git a/arch/ia64/include/asm/sal.h b/arch/ia64/include/asm/sal.h
index 89594b442f83..ea310c0812aa 100644
--- a/arch/ia64/include/asm/sal.h
+++ b/arch/ia64/include/asm/sal.h
@@ -236,7 +236,7 @@ extern struct ia64_sal_desc_ptc *ia64_ptc_domain_info;
236 236
237extern unsigned short sal_revision; /* supported SAL spec revision */ 237extern unsigned short sal_revision; /* supported SAL spec revision */
238extern unsigned short sal_version; /* SAL version; OEM dependent */ 238extern unsigned short sal_version; /* SAL version; OEM dependent */
239#define SAL_VERSION_CODE(major, minor) ((BIN2BCD(major) << 8) | BIN2BCD(minor)) 239#define SAL_VERSION_CODE(major, minor) ((bin2bcd(major) << 8) | bin2bcd(minor))
240 240
241extern const char *ia64_sal_strerror (long status); 241extern const char *ia64_sal_strerror (long status);
242extern void ia64_sal_init (struct ia64_sal_systab *sal_systab); 242extern void ia64_sal_init (struct ia64_sal_systab *sal_systab);
diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S
index 41c712917ff7..8bdea8eb62e3 100644
--- a/arch/ia64/kernel/head.S
+++ b/arch/ia64/kernel/head.S
@@ -359,7 +359,31 @@ start_ap:
359 mov ar.rsc=0 // place RSE in enforced lazy mode 359 mov ar.rsc=0 // place RSE in enforced lazy mode
360 ;; 360 ;;
361 loadrs // clear the dirty partition 361 loadrs // clear the dirty partition
362 mov IA64_KR(PER_CPU_DATA)=r0 // clear physical per-CPU base 362 movl r19=__phys_per_cpu_start
363 mov r18=PERCPU_PAGE_SIZE
364 ;;
365#ifndef CONFIG_SMP
366 add r19=r19,r18
367 ;;
368#else
369(isAP) br.few 2f
370 mov r20=r19
371 sub r19=r19,r18
372 ;;
373 shr.u r18=r18,3
3741:
375 ld8 r21=[r20],8;;
376 st8[r19]=r21,8
377 adds r18=-1,r18;;
378 cmp4.lt p7,p6=0,r18
379(p7) br.cond.dptk.few 1b
3802:
381#endif
382 tpa r19=r19
383 ;;
384 .pred.rel.mutex isBP,isAP
385(isBP) mov IA64_KR(PER_CPU_DATA)=r19 // per-CPU base for cpu0
386(isAP) mov IA64_KR(PER_CPU_DATA)=r0 // clear physical per-CPU base
363 ;; 387 ;;
364 mov ar.bspstore=r2 // establish the new RSE stack 388 mov ar.bspstore=r2 // establish the new RSE stack
365 ;; 389 ;;
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 593279f33e96..c27d5b2c182b 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -927,17 +927,19 @@ cpu_init (void)
927 if (smp_processor_id() == 0) { 927 if (smp_processor_id() == 0) {
928 cpu_set(0, per_cpu(cpu_sibling_map, 0)); 928 cpu_set(0, per_cpu(cpu_sibling_map, 0));
929 cpu_set(0, cpu_core_map[0]); 929 cpu_set(0, cpu_core_map[0]);
930 } else {
931 /*
932 * Set ar.k3 so that assembly code in MCA handler can compute
933 * physical addresses of per cpu variables with a simple:
934 * phys = ar.k3 + &per_cpu_var
935 * and the alt-dtlb-miss handler can set per-cpu mapping into
936 * the TLB when needed. head.S already did this for cpu0.
937 */
938 ia64_set_kr(IA64_KR_PER_CPU_DATA,
939 ia64_tpa(cpu_data) - (long) __per_cpu_start);
930 } 940 }
931#endif 941#endif
932 942
933 /*
934 * We set ar.k3 so that assembly code in MCA handler can compute
935 * physical addresses of per cpu variables with a simple:
936 * phys = ar.k3 + &per_cpu_var
937 */
938 ia64_set_kr(IA64_KR_PER_CPU_DATA,
939 ia64_tpa(cpu_data) - (long) __per_cpu_start);
940
941 get_max_cacheline_size(); 943 get_max_cacheline_size();
942 944
943 /* 945 /*
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index 03f1a9908afc..b39853a292d5 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/arch/ia64/kernel/smpboot.c
@@ -467,7 +467,9 @@ start_secondary (void *unused)
467{ 467{
468 /* Early console may use I/O ports */ 468 /* Early console may use I/O ports */
469 ia64_set_kr(IA64_KR_IO_BASE, __pa(ia64_iobase)); 469 ia64_set_kr(IA64_KR_IO_BASE, __pa(ia64_iobase));
470#ifndef CONFIG_PRINTK_TIME
470 Dprintk("start_secondary: starting CPU 0x%x\n", hard_smp_processor_id()); 471 Dprintk("start_secondary: starting CPU 0x%x\n", hard_smp_processor_id());
472#endif
471 efi_map_pal_code(); 473 efi_map_pal_code();
472 cpu_init(); 474 cpu_init();
473 preempt_disable(); 475 preempt_disable();
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 5a77206c2492..de71da811cd6 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -215,6 +215,9 @@ SECTIONS
215 /* Per-cpu data: */ 215 /* Per-cpu data: */
216 percpu : { } :percpu 216 percpu : { } :percpu
217 . = ALIGN(PERCPU_PAGE_SIZE); 217 . = ALIGN(PERCPU_PAGE_SIZE);
218#ifdef CONFIG_SMP
219 . = . + PERCPU_PAGE_SIZE; /* cpu0 per-cpu space */
220#endif
218 __phys_per_cpu_start = .; 221 __phys_per_cpu_start = .;
219 .data.percpu PERCPU_ADDR : AT(__phys_per_cpu_start - LOAD_OFFSET) 222 .data.percpu PERCPU_ADDR : AT(__phys_per_cpu_start - LOAD_OFFSET)
220 { 223 {
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c
index 798bf9835a51..e566ff43884a 100644
--- a/arch/ia64/mm/contig.c
+++ b/arch/ia64/mm/contig.c
@@ -163,8 +163,14 @@ per_cpu_init (void)
163 * get_zeroed_page(). 163 * get_zeroed_page().
164 */ 164 */
165 if (first_time) { 165 if (first_time) {
166 void *cpu0_data = __phys_per_cpu_start - PERCPU_PAGE_SIZE;
167
166 first_time=0; 168 first_time=0;
167 for (cpu = 0; cpu < NR_CPUS; cpu++) { 169
170 __per_cpu_offset[0] = (char *) cpu0_data - __per_cpu_start;
171 per_cpu(local_per_cpu_offset, 0) = __per_cpu_offset[0];
172
173 for (cpu = 1; cpu < NR_CPUS; cpu++) {
168 memcpy(cpu_data, __phys_per_cpu_start, __per_cpu_end - __per_cpu_start); 174 memcpy(cpu_data, __phys_per_cpu_start, __per_cpu_end - __per_cpu_start);
169 __per_cpu_offset[cpu] = (char *) cpu_data - __per_cpu_start; 175 __per_cpu_offset[cpu] = (char *) cpu_data - __per_cpu_start;
170 cpu_data += PERCPU_PAGE_SIZE; 176 cpu_data += PERCPU_PAGE_SIZE;
@@ -177,7 +183,7 @@ per_cpu_init (void)
177static inline void 183static inline void
178alloc_per_cpu_data(void) 184alloc_per_cpu_data(void)
179{ 185{
180 cpu_data = __alloc_bootmem(PERCPU_PAGE_SIZE * NR_CPUS, 186 cpu_data = __alloc_bootmem(PERCPU_PAGE_SIZE * NR_CPUS-1,
181 PERCPU_PAGE_SIZE, __pa(MAX_DMA_ADDRESS)); 187 PERCPU_PAGE_SIZE, __pa(MAX_DMA_ADDRESS));
182} 188}
183#else 189#else
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c
index d83125e1ed27..78026aabaa7f 100644
--- a/arch/ia64/mm/discontig.c
+++ b/arch/ia64/mm/discontig.c
@@ -143,7 +143,11 @@ static void *per_cpu_node_setup(void *cpu_data, int node)
143 int cpu; 143 int cpu;
144 144
145 for_each_possible_early_cpu(cpu) { 145 for_each_possible_early_cpu(cpu) {
146 if (node == node_cpuid[cpu].nid) { 146 if (cpu == 0) {
147 void *cpu0_data = __phys_per_cpu_start - PERCPU_PAGE_SIZE;
148 __per_cpu_offset[cpu] = (char*)cpu0_data -
149 __per_cpu_start;
150 } else if (node == node_cpuid[cpu].nid) {
147 memcpy(__va(cpu_data), __phys_per_cpu_start, 151 memcpy(__va(cpu_data), __phys_per_cpu_start,
148 __per_cpu_end - __per_cpu_start); 152 __per_cpu_end - __per_cpu_start);
149 __per_cpu_offset[cpu] = (char*)__va(cpu_data) - 153 __per_cpu_offset[cpu] = (char*)__va(cpu_data) -
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
index 18a9c5f4b00d..f28404d9a2bc 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -747,4 +747,10 @@ sys_call_table:
747 .long sys_fallocate /* 320 */ 747 .long sys_fallocate /* 320 */
748 .long sys_timerfd_settime 748 .long sys_timerfd_settime
749 .long sys_timerfd_gettime 749 .long sys_timerfd_gettime
750 .long sys_signalfd4
751 .long sys_eventfd2
752 .long sys_epoll_create1 /* 325 */
753 .long sys_dup3
754 .long sys_pipe2
755 .long sys_inotify_init1
750 756
diff --git a/arch/m68knommu/include/asm/unistd.h b/arch/m68knommu/include/asm/unistd.h
index 4ba98b9c5d79..b034a2f7b444 100644
--- a/arch/m68knommu/include/asm/unistd.h
+++ b/arch/m68knommu/include/asm/unistd.h
@@ -326,10 +326,16 @@
326#define __NR_fallocate 320 326#define __NR_fallocate 320
327#define __NR_timerfd_settime 321 327#define __NR_timerfd_settime 321
328#define __NR_timerfd_gettime 322 328#define __NR_timerfd_gettime 322
329#define __NR_signalfd4 323
330#define __NR_eventfd2 324
331#define __NR_epoll_create1 325
332#define __NR_dup3 326
333#define __NR_pipe2 327
334#define __NR_inotify_init1 328
329 335
330#ifdef __KERNEL__ 336#ifdef __KERNEL__
331 337
332#define NR_syscalls 323 338#define NR_syscalls 329
333 339
334#define __ARCH_WANT_IPC_PARSE_VERSION 340#define __ARCH_WANT_IPC_PARSE_VERSION
335#define __ARCH_WANT_OLD_READDIR 341#define __ARCH_WANT_OLD_READDIR
diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S
index fca2e49917a3..812f8d8b7a85 100644
--- a/arch/m68knommu/kernel/syscalltable.S
+++ b/arch/m68knommu/kernel/syscalltable.S
@@ -341,6 +341,12 @@ ENTRY(sys_call_table)
341 .long sys_fallocate /* 320 */ 341 .long sys_fallocate /* 320 */
342 .long sys_timerfd_settime 342 .long sys_timerfd_settime
343 .long sys_timerfd_gettime 343 .long sys_timerfd_gettime
344 .long sys_signalfd4
345 .long sys_eventfd2
346 .long sys_epoll_create1 /* 325 */
347 .long sys_dup3
348 .long sys_pipe2
349 .long sys_inotify_init1
344 350
345 .rept NR_syscalls-(.-sys_call_table)/4 351 .rept NR_syscalls-(.-sys_call_table)/4
346 .long sys_ni_syscall 352 .long sys_ni_syscall
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 63c9cafda9c4..587da5e0990f 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -42,9 +42,6 @@ config GENERIC_HARDIRQS
42 bool 42 bool
43 default y 43 default y
44 44
45config HAVE_GET_USER_PAGES_FAST
46 def_bool PPC64
47
48config HAVE_SETUP_PER_CPU_AREA 45config HAVE_SETUP_PER_CPU_AREA
49 def_bool PPC64 46 def_bool PPC64
50 47
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts
index 340018cf16b7..f4e4ba69eef7 100644
--- a/arch/powerpc/boot/dts/warp.dts
+++ b/arch/powerpc/boot/dts/warp.dts
@@ -139,6 +139,11 @@
139 interrupt-parent = <&UIC0>; 139 interrupt-parent = <&UIC0>;
140 }; 140 };
141 141
142 fpga@2,2000 {
143 compatible = "pika,fpga-sgl";
144 reg = <0x00000002 0x00002000 0x00000200>;
145 };
146
142 fpga@2,4000 { 147 fpga@2,4000 {
143 compatible = "pika,fpga-sd"; 148 compatible = "pika,fpga-sd";
144 reg = <0x00000002 0x00004000 0x00000A00>; 149 reg = <0x00000002 0x00004000 0x00000A00>;
@@ -152,7 +157,7 @@
152 #size-cells = <1>; 157 #size-cells = <1>;
153 partition@300000 { 158 partition@300000 {
154 label = "fpga"; 159 label = "fpga";
155 reg = <0x0030000 0x00040000>; 160 reg = <0x0300000 0x00040000>;
156 }; 161 };
157 partition@340000 { 162 partition@340000 {
158 label = "env"; 163 label = "env";
@@ -181,7 +186,6 @@
181 reg = <0xef600700 0x00000014>; 186 reg = <0xef600700 0x00000014>;
182 interrupt-parent = <&UIC0>; 187 interrupt-parent = <&UIC0>;
183 interrupts = <0x2 0x4>; 188 interrupts = <0x2 0x4>;
184 index = <0x0>;
185 #address-cells = <1>; 189 #address-cells = <1>;
186 #size-cells = <0>; 190 #size-cells = <0>;
187 191
@@ -191,6 +195,12 @@
191 interrupts = <0x19 0x8>; 195 interrupts = <0x19 0x8>;
192 interrupt-parent = <&UIC0>; 196 interrupt-parent = <&UIC0>;
193 }; 197 };
198
199 /* This will create 52 and 53 */
200 at24@52 {
201 compatible = "at,24c04";
202 reg = <0x52>;
203 };
194 }; 204 };
195 205
196 GPIO0: gpio@ef600b00 { 206 GPIO0: gpio@ef600b00 {
@@ -209,7 +219,13 @@
209 led@31 { 219 led@31 {
210 compatible = "linux,gpio-led"; 220 compatible = "linux,gpio-led";
211 linux,name = ":green:"; 221 linux,name = ":green:";
212 gpios = <&GPIO1 0x30 0>; 222 gpios = <&GPIO1 31 0>;
223 };
224
225 led@30 {
226 compatible = "linux,gpio-led";
227 linux,name = ":red:";
228 gpios = <&GPIO1 30 0>;
213 }; 229 };
214 }; 230 };
215 231
diff --git a/arch/powerpc/configs/40x/ep405_defconfig b/arch/powerpc/configs/40x/ep405_defconfig
index e24240a9a047..2113ae2ab401 100644
--- a/arch/powerpc/configs/40x/ep405_defconfig
+++ b/arch/powerpc/configs/40x/ep405_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:50:09 2008 4# Tue Aug 5 19:34:03 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -26,8 +26,12 @@ CONFIG_GENERIC_TIME=y
26CONFIG_GENERIC_TIME_VSYSCALL=y 26CONFIG_GENERIC_TIME_VSYSCALL=y
27CONFIG_GENERIC_CLOCKEVENTS=y 27CONFIG_GENERIC_CLOCKEVENTS=y
28CONFIG_GENERIC_HARDIRQS=y 28CONFIG_GENERIC_HARDIRQS=y
29# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
29# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 30# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
30CONFIG_IRQ_PER_CPU=y 31CONFIG_IRQ_PER_CPU=y
32CONFIG_STACKTRACE_SUPPORT=y
33CONFIG_HAVE_LATENCYTOP_SUPPORT=y
34CONFIG_LOCKDEP_SUPPORT=y
31CONFIG_RWSEM_XCHGADD_ALGORITHM=y 35CONFIG_RWSEM_XCHGADD_ALGORITHM=y
32CONFIG_ARCH_HAS_ILOG2_U32=y 36CONFIG_ARCH_HAS_ILOG2_U32=y
33CONFIG_GENERIC_HWEIGHT=y 37CONFIG_GENERIC_HWEIGHT=y
@@ -75,6 +79,7 @@ CONFIG_FAIR_GROUP_SCHED=y
75CONFIG_USER_SCHED=y 79CONFIG_USER_SCHED=y
76# CONFIG_CGROUP_SCHED is not set 80# CONFIG_CGROUP_SCHED is not set
77CONFIG_SYSFS_DEPRECATED=y 81CONFIG_SYSFS_DEPRECATED=y
82CONFIG_SYSFS_DEPRECATED_V2=y
78# CONFIG_RELAY is not set 83# CONFIG_RELAY is not set
79# CONFIG_NAMESPACES is not set 84# CONFIG_NAMESPACES is not set
80CONFIG_BLK_DEV_INITRD=y 85CONFIG_BLK_DEV_INITRD=y
@@ -83,6 +88,7 @@ CONFIG_INITRAMFS_SOURCE=""
83CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
84CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
85CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
86CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
87CONFIG_KALLSYMS_ALL=y 93CONFIG_KALLSYMS_ALL=y
88CONFIG_KALLSYMS_EXTRA_PASS=y 94CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -108,13 +114,22 @@ CONFIG_SLUB=y
108# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
109CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
110# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
111CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
112CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
113CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
114CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
115# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
116CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
117CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
118CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
119# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
120# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -125,6 +140,7 @@ CONFIG_LBD=y
125# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
126# CONFIG_LSF is not set 141# CONFIG_LSF is not set
127# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
128 144
129# 145#
130# IO Schedulers 146# IO Schedulers
@@ -139,14 +155,11 @@ CONFIG_DEFAULT_AS=y
139# CONFIG_DEFAULT_NOOP is not set 155# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory" 156CONFIG_DEFAULT_IOSCHED="anticipatory"
141CONFIG_CLASSIC_RCU=y 157CONFIG_CLASSIC_RCU=y
142# CONFIG_PREEMPT_RCU is not set
143# CONFIG_PPC4xx_PCI_EXPRESS is not set 158# CONFIG_PPC4xx_PCI_EXPRESS is not set
144 159
145# 160#
146# Platform support 161# Platform support
147# 162#
148# CONFIG_PPC_MPC512x is not set
149# CONFIG_PPC_MPC5121 is not set
150# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
151# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
152# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
@@ -188,7 +201,6 @@ CONFIG_HZ=250
188CONFIG_PREEMPT_NONE=y 201CONFIG_PREEMPT_NONE=y
189# CONFIG_PREEMPT_VOLUNTARY is not set 202# CONFIG_PREEMPT_VOLUNTARY is not set
190# CONFIG_PREEMPT is not set 203# CONFIG_PREEMPT is not set
191CONFIG_RCU_TRACE=y
192CONFIG_BINFMT_ELF=y 204CONFIG_BINFMT_ELF=y
193# CONFIG_BINFMT_MISC is not set 205# CONFIG_BINFMT_MISC is not set
194# CONFIG_MATH_EMULATION is not set 206# CONFIG_MATH_EMULATION is not set
@@ -206,13 +218,17 @@ CONFIG_FLATMEM=y
206CONFIG_FLAT_NODE_MEM_MAP=y 218CONFIG_FLAT_NODE_MEM_MAP=y
207# CONFIG_SPARSEMEM_STATIC is not set 219# CONFIG_SPARSEMEM_STATIC is not set
208# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 220# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
221CONFIG_PAGEFLAGS_EXTENDED=y
209CONFIG_SPLIT_PTLOCK_CPUS=4 222CONFIG_SPLIT_PTLOCK_CPUS=4
223CONFIG_MIGRATION=y
210# CONFIG_RESOURCES_64BIT is not set 224# CONFIG_RESOURCES_64BIT is not set
211CONFIG_ZONE_DMA_FLAG=1 225CONFIG_ZONE_DMA_FLAG=1
212CONFIG_BOUNCE=y 226CONFIG_BOUNCE=y
213CONFIG_VIRT_TO_BUS=y 227CONFIG_VIRT_TO_BUS=y
228CONFIG_FORCE_MAX_ZONEORDER=11
214CONFIG_PROC_DEVICETREE=y 229CONFIG_PROC_DEVICETREE=y
215# CONFIG_CMDLINE_BOOL is not set 230# CONFIG_CMDLINE_BOOL is not set
231CONFIG_EXTRA_TARGETS=""
216# CONFIG_PM is not set 232# CONFIG_PM is not set
217CONFIG_SECCOMP=y 233CONFIG_SECCOMP=y
218CONFIG_ISA_DMA_API=y 234CONFIG_ISA_DMA_API=y
@@ -222,6 +238,8 @@ CONFIG_ISA_DMA_API=y
222# 238#
223CONFIG_ZONE_DMA=y 239CONFIG_ZONE_DMA=y
224CONFIG_PPC_INDIRECT_PCI=y 240CONFIG_PPC_INDIRECT_PCI=y
241CONFIG_4xx_SOC=y
242CONFIG_PPC_PCI_CHOICE=y
225CONFIG_PCI=y 243CONFIG_PCI=y
226CONFIG_PCI_DOMAINS=y 244CONFIG_PCI_DOMAINS=y
227CONFIG_PCI_SYSCALL=y 245CONFIG_PCI_SYSCALL=y
@@ -232,6 +250,7 @@ CONFIG_PCI_LEGACY=y
232# CONFIG_PCI_DEBUG is not set 250# CONFIG_PCI_DEBUG is not set
233# CONFIG_PCCARD is not set 251# CONFIG_PCCARD is not set
234# CONFIG_HOTPLUG_PCI is not set 252# CONFIG_HOTPLUG_PCI is not set
253# CONFIG_HAS_RAPIDIO is not set
235 254
236# 255#
237# Advanced setup 256# Advanced setup
@@ -241,17 +260,13 @@ CONFIG_PCI_LEGACY=y
241# 260#
242# Default settings for advanced configuration options are used 261# Default settings for advanced configuration options are used
243# 262#
244CONFIG_HIGHMEM_START=0xfe000000
245CONFIG_LOWMEM_SIZE=0x30000000 263CONFIG_LOWMEM_SIZE=0x30000000
264CONFIG_PAGE_OFFSET=0xc0000000
246CONFIG_KERNEL_START=0xc0000000 265CONFIG_KERNEL_START=0xc0000000
266CONFIG_PHYSICAL_START=0x00000000
247CONFIG_TASK_SIZE=0xc0000000 267CONFIG_TASK_SIZE=0xc0000000
248CONFIG_CONSISTENT_START=0xff100000 268CONFIG_CONSISTENT_START=0xff100000
249CONFIG_CONSISTENT_SIZE=0x00200000 269CONFIG_CONSISTENT_SIZE=0x00200000
250CONFIG_BOOT_LOAD=0x00400000
251
252#
253# Networking
254#
255CONFIG_NET=y 270CONFIG_NET=y
256 271
257# 272#
@@ -289,8 +304,6 @@ CONFIG_TCP_CONG_CUBIC=y
289CONFIG_DEFAULT_TCP_CONG="cubic" 304CONFIG_DEFAULT_TCP_CONG="cubic"
290# CONFIG_TCP_MD5SIG is not set 305# CONFIG_TCP_MD5SIG is not set
291# CONFIG_IPV6 is not set 306# CONFIG_IPV6 is not set
292# CONFIG_INET6_XFRM_TUNNEL is not set
293# CONFIG_INET6_TUNNEL is not set
294# CONFIG_NETWORK_SECMARK is not set 307# CONFIG_NETWORK_SECMARK is not set
295# CONFIG_NETFILTER is not set 308# CONFIG_NETFILTER is not set
296# CONFIG_IP_DCCP is not set 309# CONFIG_IP_DCCP is not set
@@ -340,6 +353,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
340CONFIG_STANDALONE=y 353CONFIG_STANDALONE=y
341CONFIG_PREVENT_FIRMWARE_BUILD=y 354CONFIG_PREVENT_FIRMWARE_BUILD=y
342CONFIG_FW_LOADER=y 355CONFIG_FW_LOADER=y
356CONFIG_FIRMWARE_IN_KERNEL=y
357CONFIG_EXTRA_FIRMWARE=""
343# CONFIG_DEBUG_DRIVER is not set 358# CONFIG_DEBUG_DRIVER is not set
344# CONFIG_DEBUG_DEVRES is not set 359# CONFIG_DEBUG_DEVRES is not set
345# CONFIG_SYS_HYPERVISOR is not set 360# CONFIG_SYS_HYPERVISOR is not set
@@ -352,6 +367,7 @@ CONFIG_MTD_PARTITIONS=y
352# CONFIG_MTD_REDBOOT_PARTS is not set 367# CONFIG_MTD_REDBOOT_PARTS is not set
353CONFIG_MTD_CMDLINE_PARTS=y 368CONFIG_MTD_CMDLINE_PARTS=y
354CONFIG_MTD_OF_PARTS=y 369CONFIG_MTD_OF_PARTS=y
370# CONFIG_MTD_AR7_PARTS is not set
355 371
356# 372#
357# User Modules And Translation Layers 373# User Modules And Translation Layers
@@ -443,12 +459,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
443# CONFIG_CDROM_PKTCDVD is not set 459# CONFIG_CDROM_PKTCDVD is not set
444# CONFIG_ATA_OVER_ETH is not set 460# CONFIG_ATA_OVER_ETH is not set
445# CONFIG_XILINX_SYSACE is not set 461# CONFIG_XILINX_SYSACE is not set
462# CONFIG_BLK_DEV_HD is not set
446CONFIG_MISC_DEVICES=y 463CONFIG_MISC_DEVICES=y
447# CONFIG_PHANTOM is not set 464# CONFIG_PHANTOM is not set
448# CONFIG_EEPROM_93CX6 is not set 465# CONFIG_EEPROM_93CX6 is not set
449# CONFIG_SGI_IOC4 is not set 466# CONFIG_SGI_IOC4 is not set
450# CONFIG_TIFM_CORE is not set 467# CONFIG_TIFM_CORE is not set
451# CONFIG_ENCLOSURE_SERVICES is not set 468# CONFIG_ENCLOSURE_SERVICES is not set
469# CONFIG_HP_ILO is not set
452CONFIG_HAVE_IDE=y 470CONFIG_HAVE_IDE=y
453# CONFIG_IDE is not set 471# CONFIG_IDE is not set
454 472
@@ -466,12 +484,15 @@ CONFIG_HAVE_IDE=y
466# 484#
467# IEEE 1394 (FireWire) support 485# IEEE 1394 (FireWire) support
468# 486#
487
488#
489# Enable only one of the two stacks, unless you know what you are doing
490#
469# CONFIG_FIREWIRE is not set 491# CONFIG_FIREWIRE is not set
470# CONFIG_IEEE1394 is not set 492# CONFIG_IEEE1394 is not set
471# CONFIG_I2O is not set 493# CONFIG_I2O is not set
472# CONFIG_MACINTOSH_DRIVERS is not set 494# CONFIG_MACINTOSH_DRIVERS is not set
473CONFIG_NETDEVICES=y 495CONFIG_NETDEVICES=y
474# CONFIG_NETDEVICES_MULTIQUEUE is not set
475# CONFIG_DUMMY is not set 496# CONFIG_DUMMY is not set
476# CONFIG_BONDING is not set 497# CONFIG_BONDING is not set
477# CONFIG_MACVLAN is not set 498# CONFIG_MACVLAN is not set
@@ -506,7 +527,6 @@ CONFIG_NETDEV_1000=y
506# CONFIG_DL2K is not set 527# CONFIG_DL2K is not set
507# CONFIG_E1000 is not set 528# CONFIG_E1000 is not set
508# CONFIG_E1000E is not set 529# CONFIG_E1000E is not set
509# CONFIG_E1000E_ENABLED is not set
510# CONFIG_IP1000 is not set 530# CONFIG_IP1000 is not set
511# CONFIG_IGB is not set 531# CONFIG_IGB is not set
512# CONFIG_NS83820 is not set 532# CONFIG_NS83820 is not set
@@ -516,12 +536,12 @@ CONFIG_NETDEV_1000=y
516# CONFIG_SIS190 is not set 536# CONFIG_SIS190 is not set
517# CONFIG_SKGE is not set 537# CONFIG_SKGE is not set
518# CONFIG_SKY2 is not set 538# CONFIG_SKY2 is not set
519# CONFIG_SK98LIN is not set
520# CONFIG_VIA_VELOCITY is not set 539# CONFIG_VIA_VELOCITY is not set
521# CONFIG_TIGON3 is not set 540# CONFIG_TIGON3 is not set
522# CONFIG_BNX2 is not set 541# CONFIG_BNX2 is not set
523# CONFIG_QLA3XXX is not set 542# CONFIG_QLA3XXX is not set
524# CONFIG_ATL1 is not set 543# CONFIG_ATL1 is not set
544# CONFIG_ATL1E is not set
525CONFIG_NETDEV_10000=y 545CONFIG_NETDEV_10000=y
526# CONFIG_CHELSIO_T1 is not set 546# CONFIG_CHELSIO_T1 is not set
527# CONFIG_CHELSIO_T3 is not set 547# CONFIG_CHELSIO_T3 is not set
@@ -534,6 +554,7 @@ CONFIG_NETDEV_10000=y
534# CONFIG_MLX4_CORE is not set 554# CONFIG_MLX4_CORE is not set
535# CONFIG_TEHUTI is not set 555# CONFIG_TEHUTI is not set
536# CONFIG_BNX2X is not set 556# CONFIG_BNX2X is not set
557# CONFIG_SFC is not set
537# CONFIG_TR is not set 558# CONFIG_TR is not set
538 559
539# 560#
@@ -541,6 +562,7 @@ CONFIG_NETDEV_10000=y
541# 562#
542# CONFIG_WLAN_PRE80211 is not set 563# CONFIG_WLAN_PRE80211 is not set
543# CONFIG_WLAN_80211 is not set 564# CONFIG_WLAN_80211 is not set
565# CONFIG_IWLWIFI_LEDS is not set
544 566
545# 567#
546# USB Network Adapters 568# USB Network Adapters
@@ -576,6 +598,7 @@ CONFIG_NETDEV_10000=y
576# Character devices 598# Character devices
577# 599#
578# CONFIG_VT is not set 600# CONFIG_VT is not set
601CONFIG_DEVKMEM=y
579# CONFIG_SERIAL_NONSTANDARD is not set 602# CONFIG_SERIAL_NONSTANDARD is not set
580# CONFIG_NOZOMI is not set 603# CONFIG_NOZOMI is not set
581 604
@@ -614,12 +637,9 @@ CONFIG_LEGACY_PTY_COUNT=256
614# CONFIG_TCG_TPM is not set 637# CONFIG_TCG_TPM is not set
615CONFIG_DEVPORT=y 638CONFIG_DEVPORT=y
616# CONFIG_I2C is not set 639# CONFIG_I2C is not set
617
618#
619# SPI support
620#
621# CONFIG_SPI is not set 640# CONFIG_SPI is not set
622# CONFIG_SPI_MASTER is not set 641CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
642# CONFIG_GPIOLIB is not set
623# CONFIG_W1 is not set 643# CONFIG_W1 is not set
624# CONFIG_POWER_SUPPLY is not set 644# CONFIG_POWER_SUPPLY is not set
625# CONFIG_HWMON is not set 645# CONFIG_HWMON is not set
@@ -635,13 +655,24 @@ CONFIG_SSB_POSSIBLE=y
635# 655#
636# Multifunction device drivers 656# Multifunction device drivers
637# 657#
658# CONFIG_MFD_CORE is not set
638# CONFIG_MFD_SM501 is not set 659# CONFIG_MFD_SM501 is not set
660# CONFIG_HTC_PASIC3 is not set
639 661
640# 662#
641# Multimedia devices 663# Multimedia devices
642# 664#
665
666#
667# Multimedia core support
668#
643# CONFIG_VIDEO_DEV is not set 669# CONFIG_VIDEO_DEV is not set
644# CONFIG_DVB_CORE is not set 670# CONFIG_DVB_CORE is not set
671# CONFIG_VIDEO_MEDIA is not set
672
673#
674# Multimedia drivers
675#
645# CONFIG_DAB is not set 676# CONFIG_DAB is not set
646 677
647# 678#
@@ -658,10 +689,6 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
658# Display device support 689# Display device support
659# 690#
660# CONFIG_DISPLAY_SUPPORT is not set 691# CONFIG_DISPLAY_SUPPORT is not set
661
662#
663# Sound
664#
665# CONFIG_SOUND is not set 692# CONFIG_SOUND is not set
666CONFIG_USB_SUPPORT=y 693CONFIG_USB_SUPPORT=y
667CONFIG_USB_ARCH_HAS_HCD=y 694CONFIG_USB_ARCH_HAS_HCD=y
@@ -678,12 +705,16 @@ CONFIG_USB_DEVICEFS=y
678CONFIG_USB_DEVICE_CLASS=y 705CONFIG_USB_DEVICE_CLASS=y
679# CONFIG_USB_DYNAMIC_MINORS is not set 706# CONFIG_USB_DYNAMIC_MINORS is not set
680# CONFIG_USB_OTG is not set 707# CONFIG_USB_OTG is not set
708# CONFIG_USB_OTG_WHITELIST is not set
709# CONFIG_USB_OTG_BLACKLIST_HUB is not set
681 710
682# 711#
683# USB Host Controller Drivers 712# USB Host Controller Drivers
684# 713#
714# CONFIG_USB_C67X00_HCD is not set
685# CONFIG_USB_EHCI_HCD is not set 715# CONFIG_USB_EHCI_HCD is not set
686# CONFIG_USB_ISP116X_HCD is not set 716# CONFIG_USB_ISP116X_HCD is not set
717# CONFIG_USB_ISP1760_HCD is not set
687CONFIG_USB_OHCI_HCD=y 718CONFIG_USB_OHCI_HCD=y
688CONFIG_USB_OHCI_HCD_PPC_OF=y 719CONFIG_USB_OHCI_HCD_PPC_OF=y
689CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 720CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
@@ -701,6 +732,7 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
701# 732#
702# CONFIG_USB_ACM is not set 733# CONFIG_USB_ACM is not set
703# CONFIG_USB_PRINTER is not set 734# CONFIG_USB_PRINTER is not set
735# CONFIG_USB_WDM is not set
704 736
705# 737#
706# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 738# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -744,17 +776,16 @@ CONFIG_USB_MON=y
744# CONFIG_USB_TRANCEVIBRATOR is not set 776# CONFIG_USB_TRANCEVIBRATOR is not set
745# CONFIG_USB_IOWARRIOR is not set 777# CONFIG_USB_IOWARRIOR is not set
746# CONFIG_USB_TEST is not set 778# CONFIG_USB_TEST is not set
779# CONFIG_USB_ISIGHTFW is not set
747# CONFIG_USB_GADGET is not set 780# CONFIG_USB_GADGET is not set
748# CONFIG_MMC is not set 781# CONFIG_MMC is not set
749# CONFIG_MEMSTICK is not set 782# CONFIG_MEMSTICK is not set
750# CONFIG_NEW_LEDS is not set 783# CONFIG_NEW_LEDS is not set
784# CONFIG_ACCESSIBILITY is not set
751# CONFIG_INFINIBAND is not set 785# CONFIG_INFINIBAND is not set
752# CONFIG_EDAC is not set 786# CONFIG_EDAC is not set
753# CONFIG_RTC_CLASS is not set 787# CONFIG_RTC_CLASS is not set
754 788# CONFIG_DMADEVICES is not set
755#
756# Userspace I/O
757#
758# CONFIG_UIO is not set 789# CONFIG_UIO is not set
759 790
760# 791#
@@ -769,7 +800,6 @@ CONFIG_EXT2_FS=y
769# CONFIG_JFS_FS is not set 800# CONFIG_JFS_FS is not set
770# CONFIG_FS_POSIX_ACL is not set 801# CONFIG_FS_POSIX_ACL is not set
771# CONFIG_XFS_FS is not set 802# CONFIG_XFS_FS is not set
772# CONFIG_GFS2_FS is not set
773# CONFIG_OCFS2_FS is not set 803# CONFIG_OCFS2_FS is not set
774CONFIG_DNOTIFY=y 804CONFIG_DNOTIFY=y
775CONFIG_INOTIFY=y 805CONFIG_INOTIFY=y
@@ -818,6 +848,7 @@ CONFIG_TMPFS=y
818CONFIG_CRAMFS=y 848CONFIG_CRAMFS=y
819# CONFIG_VXFS_FS is not set 849# CONFIG_VXFS_FS is not set
820# CONFIG_MINIX_FS is not set 850# CONFIG_MINIX_FS is not set
851# CONFIG_OMFS_FS is not set
821# CONFIG_HPFS_FS is not set 852# CONFIG_HPFS_FS is not set
822# CONFIG_QNX4FS_FS is not set 853# CONFIG_QNX4FS_FS is not set
823# CONFIG_ROMFS_FS is not set 854# CONFIG_ROMFS_FS is not set
@@ -828,14 +859,12 @@ CONFIG_NFS_FS=y
828CONFIG_NFS_V3=y 859CONFIG_NFS_V3=y
829# CONFIG_NFS_V3_ACL is not set 860# CONFIG_NFS_V3_ACL is not set
830# CONFIG_NFS_V4 is not set 861# CONFIG_NFS_V4 is not set
831# CONFIG_NFS_DIRECTIO is not set
832# CONFIG_NFSD is not set
833CONFIG_ROOT_NFS=y 862CONFIG_ROOT_NFS=y
863# CONFIG_NFSD is not set
834CONFIG_LOCKD=y 864CONFIG_LOCKD=y
835CONFIG_LOCKD_V4=y 865CONFIG_LOCKD_V4=y
836CONFIG_NFS_COMMON=y 866CONFIG_NFS_COMMON=y
837CONFIG_SUNRPC=y 867CONFIG_SUNRPC=y
838# CONFIG_SUNRPC_BIND34 is not set
839# CONFIG_RPCSEC_GSS_KRB5 is not set 868# CONFIG_RPCSEC_GSS_KRB5 is not set
840# CONFIG_RPCSEC_GSS_SPKM3 is not set 869# CONFIG_RPCSEC_GSS_SPKM3 is not set
841# CONFIG_SMB_FS is not set 870# CONFIG_SMB_FS is not set
@@ -856,8 +885,10 @@ CONFIG_MSDOS_PARTITION=y
856# Library routines 885# Library routines
857# 886#
858CONFIG_BITREVERSE=y 887CONFIG_BITREVERSE=y
888# CONFIG_GENERIC_FIND_FIRST_BIT is not set
859# CONFIG_CRC_CCITT is not set 889# CONFIG_CRC_CCITT is not set
860# CONFIG_CRC16 is not set 890# CONFIG_CRC16 is not set
891# CONFIG_CRC_T10DIF is not set
861# CONFIG_CRC_ITU_T is not set 892# CONFIG_CRC_ITU_T is not set
862CONFIG_CRC32=y 893CONFIG_CRC32=y
863# CONFIG_CRC7 is not set 894# CONFIG_CRC7 is not set
@@ -867,6 +898,7 @@ CONFIG_PLIST=y
867CONFIG_HAS_IOMEM=y 898CONFIG_HAS_IOMEM=y
868CONFIG_HAS_IOPORT=y 899CONFIG_HAS_IOPORT=y
869CONFIG_HAS_DMA=y 900CONFIG_HAS_DMA=y
901CONFIG_HAVE_LMB=y
870 902
871# 903#
872# Kernel hacking 904# Kernel hacking
@@ -874,6 +906,7 @@ CONFIG_HAS_DMA=y
874# CONFIG_PRINTK_TIME is not set 906# CONFIG_PRINTK_TIME is not set
875CONFIG_ENABLE_WARN_DEPRECATED=y 907CONFIG_ENABLE_WARN_DEPRECATED=y
876CONFIG_ENABLE_MUST_CHECK=y 908CONFIG_ENABLE_MUST_CHECK=y
909CONFIG_FRAME_WARN=1024
877CONFIG_MAGIC_SYSRQ=y 910CONFIG_MAGIC_SYSRQ=y
878# CONFIG_UNUSED_SYMBOLS is not set 911# CONFIG_UNUSED_SYMBOLS is not set
879CONFIG_DEBUG_FS=y 912CONFIG_DEBUG_FS=y
@@ -881,9 +914,12 @@ CONFIG_DEBUG_FS=y
881CONFIG_DEBUG_KERNEL=y 914CONFIG_DEBUG_KERNEL=y
882# CONFIG_DEBUG_SHIRQ is not set 915# CONFIG_DEBUG_SHIRQ is not set
883CONFIG_DETECT_SOFTLOCKUP=y 916CONFIG_DETECT_SOFTLOCKUP=y
917# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
918CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
884CONFIG_SCHED_DEBUG=y 919CONFIG_SCHED_DEBUG=y
885# CONFIG_SCHEDSTATS is not set 920# CONFIG_SCHEDSTATS is not set
886# CONFIG_TIMER_STATS is not set 921# CONFIG_TIMER_STATS is not set
922# CONFIG_DEBUG_OBJECTS is not set
887# CONFIG_SLUB_DEBUG_ON is not set 923# CONFIG_SLUB_DEBUG_ON is not set
888# CONFIG_SLUB_STATS is not set 924# CONFIG_SLUB_STATS is not set
889# CONFIG_DEBUG_RT_MUTEXES is not set 925# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -896,17 +932,30 @@ CONFIG_SCHED_DEBUG=y
896CONFIG_DEBUG_BUGVERBOSE=y 932CONFIG_DEBUG_BUGVERBOSE=y
897# CONFIG_DEBUG_INFO is not set 933# CONFIG_DEBUG_INFO is not set
898# CONFIG_DEBUG_VM is not set 934# CONFIG_DEBUG_VM is not set
935# CONFIG_DEBUG_WRITECOUNT is not set
936# CONFIG_DEBUG_MEMORY_INIT is not set
899# CONFIG_DEBUG_LIST is not set 937# CONFIG_DEBUG_LIST is not set
900# CONFIG_DEBUG_SG is not set 938# CONFIG_DEBUG_SG is not set
901# CONFIG_BOOT_PRINTK_DELAY is not set 939# CONFIG_BOOT_PRINTK_DELAY is not set
902# CONFIG_RCU_TORTURE_TEST is not set 940# CONFIG_RCU_TORTURE_TEST is not set
903# CONFIG_BACKTRACE_SELF_TEST is not set 941# CONFIG_BACKTRACE_SELF_TEST is not set
904# CONFIG_FAULT_INJECTION is not set 942# CONFIG_FAULT_INJECTION is not set
943# CONFIG_LATENCYTOP is not set
944CONFIG_HAVE_FTRACE=y
945CONFIG_HAVE_DYNAMIC_FTRACE=y
946# CONFIG_FTRACE is not set
947# CONFIG_SCHED_TRACER is not set
948# CONFIG_CONTEXT_SWITCH_TRACER is not set
905# CONFIG_SAMPLES is not set 949# CONFIG_SAMPLES is not set
950CONFIG_HAVE_ARCH_KGDB=y
951# CONFIG_KGDB is not set
906# CONFIG_DEBUG_STACKOVERFLOW is not set 952# CONFIG_DEBUG_STACKOVERFLOW is not set
907# CONFIG_DEBUG_STACK_USAGE is not set 953# CONFIG_DEBUG_STACK_USAGE is not set
908# CONFIG_DEBUG_PAGEALLOC is not set 954# CONFIG_DEBUG_PAGEALLOC is not set
909# CONFIG_DEBUGGER is not set 955# CONFIG_CODE_PATCHING_SELFTEST is not set
956# CONFIG_FTR_FIXUP_SELFTEST is not set
957# CONFIG_XMON is not set
958# CONFIG_IRQSTACKS is not set
910# CONFIG_VIRQ_DEBUG is not set 959# CONFIG_VIRQ_DEBUG is not set
911# CONFIG_BDI_SWITCH is not set 960# CONFIG_BDI_SWITCH is not set
912# CONFIG_PPC_EARLY_DEBUG is not set 961# CONFIG_PPC_EARLY_DEBUG is not set
@@ -918,51 +967,85 @@ CONFIG_DEBUG_BUGVERBOSE=y
918# CONFIG_SECURITY is not set 967# CONFIG_SECURITY is not set
919# CONFIG_SECURITY_FILE_CAPABILITIES is not set 968# CONFIG_SECURITY_FILE_CAPABILITIES is not set
920CONFIG_CRYPTO=y 969CONFIG_CRYPTO=y
970
971#
972# Crypto core or helper
973#
921CONFIG_CRYPTO_ALGAPI=y 974CONFIG_CRYPTO_ALGAPI=y
922CONFIG_CRYPTO_BLKCIPHER=y 975CONFIG_CRYPTO_BLKCIPHER=y
923# CONFIG_CRYPTO_SEQIV is not set
924CONFIG_CRYPTO_MANAGER=y 976CONFIG_CRYPTO_MANAGER=y
977# CONFIG_CRYPTO_GF128MUL is not set
978# CONFIG_CRYPTO_NULL is not set
979# CONFIG_CRYPTO_CRYPTD is not set
980# CONFIG_CRYPTO_AUTHENC is not set
981# CONFIG_CRYPTO_TEST is not set
982
983#
984# Authenticated Encryption with Associated Data
985#
986# CONFIG_CRYPTO_CCM is not set
987# CONFIG_CRYPTO_GCM is not set
988# CONFIG_CRYPTO_SEQIV is not set
989
990#
991# Block modes
992#
993CONFIG_CRYPTO_CBC=y
994# CONFIG_CRYPTO_CTR is not set
995# CONFIG_CRYPTO_CTS is not set
996CONFIG_CRYPTO_ECB=y
997# CONFIG_CRYPTO_LRW is not set
998CONFIG_CRYPTO_PCBC=y
999# CONFIG_CRYPTO_XTS is not set
1000
1001#
1002# Hash modes
1003#
925# CONFIG_CRYPTO_HMAC is not set 1004# CONFIG_CRYPTO_HMAC is not set
926# CONFIG_CRYPTO_XCBC is not set 1005# CONFIG_CRYPTO_XCBC is not set
927# CONFIG_CRYPTO_NULL is not set 1006
1007#
1008# Digest
1009#
1010# CONFIG_CRYPTO_CRC32C is not set
928# CONFIG_CRYPTO_MD4 is not set 1011# CONFIG_CRYPTO_MD4 is not set
929CONFIG_CRYPTO_MD5=y 1012CONFIG_CRYPTO_MD5=y
1013# CONFIG_CRYPTO_MICHAEL_MIC is not set
1014# CONFIG_CRYPTO_RMD128 is not set
1015# CONFIG_CRYPTO_RMD160 is not set
1016# CONFIG_CRYPTO_RMD256 is not set
1017# CONFIG_CRYPTO_RMD320 is not set
930# CONFIG_CRYPTO_SHA1 is not set 1018# CONFIG_CRYPTO_SHA1 is not set
931# CONFIG_CRYPTO_SHA256 is not set 1019# CONFIG_CRYPTO_SHA256 is not set
932# CONFIG_CRYPTO_SHA512 is not set 1020# CONFIG_CRYPTO_SHA512 is not set
933# CONFIG_CRYPTO_WP512 is not set
934# CONFIG_CRYPTO_TGR192 is not set 1021# CONFIG_CRYPTO_TGR192 is not set
935# CONFIG_CRYPTO_GF128MUL is not set 1022# CONFIG_CRYPTO_WP512 is not set
936CONFIG_CRYPTO_ECB=y 1023
937CONFIG_CRYPTO_CBC=y 1024#
938CONFIG_CRYPTO_PCBC=y 1025# Ciphers
939# CONFIG_CRYPTO_LRW is not set 1026#
940# CONFIG_CRYPTO_XTS is not set
941# CONFIG_CRYPTO_CTR is not set
942# CONFIG_CRYPTO_GCM is not set
943# CONFIG_CRYPTO_CCM is not set
944# CONFIG_CRYPTO_CRYPTD is not set
945CONFIG_CRYPTO_DES=y
946# CONFIG_CRYPTO_FCRYPT is not set
947# CONFIG_CRYPTO_BLOWFISH is not set
948# CONFIG_CRYPTO_TWOFISH is not set
949# CONFIG_CRYPTO_SERPENT is not set
950# CONFIG_CRYPTO_AES is not set 1027# CONFIG_CRYPTO_AES is not set
1028# CONFIG_CRYPTO_ANUBIS is not set
1029# CONFIG_CRYPTO_ARC4 is not set
1030# CONFIG_CRYPTO_BLOWFISH is not set
1031# CONFIG_CRYPTO_CAMELLIA is not set
951# CONFIG_CRYPTO_CAST5 is not set 1032# CONFIG_CRYPTO_CAST5 is not set
952# CONFIG_CRYPTO_CAST6 is not set 1033# CONFIG_CRYPTO_CAST6 is not set
953# CONFIG_CRYPTO_TEA is not set 1034CONFIG_CRYPTO_DES=y
954# CONFIG_CRYPTO_ARC4 is not set 1035# CONFIG_CRYPTO_FCRYPT is not set
955# CONFIG_CRYPTO_KHAZAD is not set 1036# CONFIG_CRYPTO_KHAZAD is not set
956# CONFIG_CRYPTO_ANUBIS is not set
957# CONFIG_CRYPTO_SEED is not set
958# CONFIG_CRYPTO_SALSA20 is not set 1037# CONFIG_CRYPTO_SALSA20 is not set
1038# CONFIG_CRYPTO_SEED is not set
1039# CONFIG_CRYPTO_SERPENT is not set
1040# CONFIG_CRYPTO_TEA is not set
1041# CONFIG_CRYPTO_TWOFISH is not set
1042
1043#
1044# Compression
1045#
959# CONFIG_CRYPTO_DEFLATE is not set 1046# CONFIG_CRYPTO_DEFLATE is not set
960# CONFIG_CRYPTO_MICHAEL_MIC is not set
961# CONFIG_CRYPTO_CRC32C is not set
962# CONFIG_CRYPTO_CAMELLIA is not set
963# CONFIG_CRYPTO_TEST is not set
964# CONFIG_CRYPTO_AUTHENC is not set
965# CONFIG_CRYPTO_LZO is not set 1047# CONFIG_CRYPTO_LZO is not set
966CONFIG_CRYPTO_HW=y 1048CONFIG_CRYPTO_HW=y
967# CONFIG_CRYPTO_DEV_HIFN_795X is not set 1049# CONFIG_CRYPTO_DEV_HIFN_795X is not set
968# CONFIG_PPC_CLOCK is not set 1050# CONFIG_PPC_CLOCK is not set
1051# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/40x/kilauea_defconfig b/arch/powerpc/configs/40x/kilauea_defconfig
index 2f475391f1d1..565ed9666c54 100644
--- a/arch/powerpc/configs/40x/kilauea_defconfig
+++ b/arch/powerpc/configs/40x/kilauea_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:51:43 2008 4# Tue Aug 5 19:36:14 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -26,8 +26,12 @@ CONFIG_GENERIC_TIME=y
26CONFIG_GENERIC_TIME_VSYSCALL=y 26CONFIG_GENERIC_TIME_VSYSCALL=y
27CONFIG_GENERIC_CLOCKEVENTS=y 27CONFIG_GENERIC_CLOCKEVENTS=y
28CONFIG_GENERIC_HARDIRQS=y 28CONFIG_GENERIC_HARDIRQS=y
29# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
29# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 30# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
30CONFIG_IRQ_PER_CPU=y 31CONFIG_IRQ_PER_CPU=y
32CONFIG_STACKTRACE_SUPPORT=y
33CONFIG_HAVE_LATENCYTOP_SUPPORT=y
34CONFIG_LOCKDEP_SUPPORT=y
31CONFIG_RWSEM_XCHGADD_ALGORITHM=y 35CONFIG_RWSEM_XCHGADD_ALGORITHM=y
32CONFIG_ARCH_HAS_ILOG2_U32=y 36CONFIG_ARCH_HAS_ILOG2_U32=y
33CONFIG_GENERIC_HWEIGHT=y 37CONFIG_GENERIC_HWEIGHT=y
@@ -75,6 +79,7 @@ CONFIG_GROUP_SCHED=y
75CONFIG_USER_SCHED=y 79CONFIG_USER_SCHED=y
76# CONFIG_CGROUP_SCHED is not set 80# CONFIG_CGROUP_SCHED is not set
77CONFIG_SYSFS_DEPRECATED=y 81CONFIG_SYSFS_DEPRECATED=y
82CONFIG_SYSFS_DEPRECATED_V2=y
78# CONFIG_RELAY is not set 83# CONFIG_RELAY is not set
79# CONFIG_NAMESPACES is not set 84# CONFIG_NAMESPACES is not set
80CONFIG_BLK_DEV_INITRD=y 85CONFIG_BLK_DEV_INITRD=y
@@ -83,6 +88,7 @@ CONFIG_INITRAMFS_SOURCE=""
83CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
84CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
85CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
86CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
87CONFIG_KALLSYMS_ALL=y 93CONFIG_KALLSYMS_ALL=y
88CONFIG_KALLSYMS_EXTRA_PASS=y 94CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -108,13 +114,22 @@ CONFIG_SLUB=y
108# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
109CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
110# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
111CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
112CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
113CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
114CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
115# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
116CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
117CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
118CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
119# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
120# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -125,6 +140,7 @@ CONFIG_LBD=y
125# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
126# CONFIG_LSF is not set 141# CONFIG_LSF is not set
127# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
128 144
129# 145#
130# IO Schedulers 146# IO Schedulers
@@ -139,14 +155,11 @@ CONFIG_DEFAULT_AS=y
139# CONFIG_DEFAULT_NOOP is not set 155# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory" 156CONFIG_DEFAULT_IOSCHED="anticipatory"
141CONFIG_CLASSIC_RCU=y 157CONFIG_CLASSIC_RCU=y
142# CONFIG_PREEMPT_RCU is not set
143CONFIG_PPC4xx_PCI_EXPRESS=y 158CONFIG_PPC4xx_PCI_EXPRESS=y
144 159
145# 160#
146# Platform support 161# Platform support
147# 162#
148# CONFIG_PPC_MPC512x is not set
149# CONFIG_PPC_MPC5121 is not set
150# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
151# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
152# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
@@ -186,7 +199,6 @@ CONFIG_HZ=250
186CONFIG_PREEMPT_NONE=y 199CONFIG_PREEMPT_NONE=y
187# CONFIG_PREEMPT_VOLUNTARY is not set 200# CONFIG_PREEMPT_VOLUNTARY is not set
188# CONFIG_PREEMPT is not set 201# CONFIG_PREEMPT is not set
189CONFIG_RCU_TRACE=y
190CONFIG_BINFMT_ELF=y 202CONFIG_BINFMT_ELF=y
191# CONFIG_BINFMT_MISC is not set 203# CONFIG_BINFMT_MISC is not set
192# CONFIG_MATH_EMULATION is not set 204# CONFIG_MATH_EMULATION is not set
@@ -204,13 +216,17 @@ CONFIG_FLATMEM=y
204CONFIG_FLAT_NODE_MEM_MAP=y 216CONFIG_FLAT_NODE_MEM_MAP=y
205# CONFIG_SPARSEMEM_STATIC is not set 217# CONFIG_SPARSEMEM_STATIC is not set
206# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 218# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
219CONFIG_PAGEFLAGS_EXTENDED=y
207CONFIG_SPLIT_PTLOCK_CPUS=4 220CONFIG_SPLIT_PTLOCK_CPUS=4
221CONFIG_MIGRATION=y
208# CONFIG_RESOURCES_64BIT is not set 222# CONFIG_RESOURCES_64BIT is not set
209CONFIG_ZONE_DMA_FLAG=1 223CONFIG_ZONE_DMA_FLAG=1
210CONFIG_BOUNCE=y 224CONFIG_BOUNCE=y
211CONFIG_VIRT_TO_BUS=y 225CONFIG_VIRT_TO_BUS=y
226CONFIG_FORCE_MAX_ZONEORDER=11
212CONFIG_PROC_DEVICETREE=y 227CONFIG_PROC_DEVICETREE=y
213# CONFIG_CMDLINE_BOOL is not set 228# CONFIG_CMDLINE_BOOL is not set
229CONFIG_EXTRA_TARGETS=""
214# CONFIG_PM is not set 230# CONFIG_PM is not set
215CONFIG_SECCOMP=y 231CONFIG_SECCOMP=y
216CONFIG_ISA_DMA_API=y 232CONFIG_ISA_DMA_API=y
@@ -220,6 +236,8 @@ CONFIG_ISA_DMA_API=y
220# 236#
221CONFIG_ZONE_DMA=y 237CONFIG_ZONE_DMA=y
222CONFIG_PPC_INDIRECT_PCI=y 238CONFIG_PPC_INDIRECT_PCI=y
239CONFIG_4xx_SOC=y
240CONFIG_PPC_PCI_CHOICE=y
223CONFIG_PCI=y 241CONFIG_PCI=y
224CONFIG_PCI_DOMAINS=y 242CONFIG_PCI_DOMAINS=y
225CONFIG_PCI_SYSCALL=y 243CONFIG_PCI_SYSCALL=y
@@ -230,6 +248,7 @@ CONFIG_PCI_LEGACY=y
230# CONFIG_PCI_DEBUG is not set 248# CONFIG_PCI_DEBUG is not set
231# CONFIG_PCCARD is not set 249# CONFIG_PCCARD is not set
232# CONFIG_HOTPLUG_PCI is not set 250# CONFIG_HOTPLUG_PCI is not set
251# CONFIG_HAS_RAPIDIO is not set
233 252
234# 253#
235# Advanced setup 254# Advanced setup
@@ -239,17 +258,13 @@ CONFIG_PCI_LEGACY=y
239# 258#
240# Default settings for advanced configuration options are used 259# Default settings for advanced configuration options are used
241# 260#
242CONFIG_HIGHMEM_START=0xfe000000
243CONFIG_LOWMEM_SIZE=0x30000000 261CONFIG_LOWMEM_SIZE=0x30000000
262CONFIG_PAGE_OFFSET=0xc0000000
244CONFIG_KERNEL_START=0xc0000000 263CONFIG_KERNEL_START=0xc0000000
264CONFIG_PHYSICAL_START=0x00000000
245CONFIG_TASK_SIZE=0xc0000000 265CONFIG_TASK_SIZE=0xc0000000
246CONFIG_CONSISTENT_START=0xff100000 266CONFIG_CONSISTENT_START=0xff100000
247CONFIG_CONSISTENT_SIZE=0x00200000 267CONFIG_CONSISTENT_SIZE=0x00200000
248CONFIG_BOOT_LOAD=0x00400000
249
250#
251# Networking
252#
253CONFIG_NET=y 268CONFIG_NET=y
254 269
255# 270#
@@ -287,8 +302,6 @@ CONFIG_TCP_CONG_CUBIC=y
287CONFIG_DEFAULT_TCP_CONG="cubic" 302CONFIG_DEFAULT_TCP_CONG="cubic"
288# CONFIG_TCP_MD5SIG is not set 303# CONFIG_TCP_MD5SIG is not set
289# CONFIG_IPV6 is not set 304# CONFIG_IPV6 is not set
290# CONFIG_INET6_XFRM_TUNNEL is not set
291# CONFIG_INET6_TUNNEL is not set
292# CONFIG_NETWORK_SECMARK is not set 305# CONFIG_NETWORK_SECMARK is not set
293# CONFIG_NETFILTER is not set 306# CONFIG_NETFILTER is not set
294# CONFIG_IP_DCCP is not set 307# CONFIG_IP_DCCP is not set
@@ -338,6 +351,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
338CONFIG_STANDALONE=y 351CONFIG_STANDALONE=y
339CONFIG_PREVENT_FIRMWARE_BUILD=y 352CONFIG_PREVENT_FIRMWARE_BUILD=y
340CONFIG_FW_LOADER=y 353CONFIG_FW_LOADER=y
354CONFIG_FIRMWARE_IN_KERNEL=y
355CONFIG_EXTRA_FIRMWARE=""
341# CONFIG_DEBUG_DRIVER is not set 356# CONFIG_DEBUG_DRIVER is not set
342# CONFIG_DEBUG_DEVRES is not set 357# CONFIG_DEBUG_DEVRES is not set
343# CONFIG_SYS_HYPERVISOR is not set 358# CONFIG_SYS_HYPERVISOR is not set
@@ -350,6 +365,7 @@ CONFIG_MTD_PARTITIONS=y
350# CONFIG_MTD_REDBOOT_PARTS is not set 365# CONFIG_MTD_REDBOOT_PARTS is not set
351CONFIG_MTD_CMDLINE_PARTS=y 366CONFIG_MTD_CMDLINE_PARTS=y
352CONFIG_MTD_OF_PARTS=y 367CONFIG_MTD_OF_PARTS=y
368# CONFIG_MTD_AR7_PARTS is not set
353 369
354# 370#
355# User Modules And Translation Layers 371# User Modules And Translation Layers
@@ -440,6 +456,7 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
440# CONFIG_CDROM_PKTCDVD is not set 456# CONFIG_CDROM_PKTCDVD is not set
441# CONFIG_ATA_OVER_ETH is not set 457# CONFIG_ATA_OVER_ETH is not set
442# CONFIG_XILINX_SYSACE is not set 458# CONFIG_XILINX_SYSACE is not set
459# CONFIG_BLK_DEV_HD is not set
443# CONFIG_MISC_DEVICES is not set 460# CONFIG_MISC_DEVICES is not set
444CONFIG_HAVE_IDE=y 461CONFIG_HAVE_IDE=y
445# CONFIG_IDE is not set 462# CONFIG_IDE is not set
@@ -458,12 +475,15 @@ CONFIG_HAVE_IDE=y
458# 475#
459# IEEE 1394 (FireWire) support 476# IEEE 1394 (FireWire) support
460# 477#
478
479#
480# Enable only one of the two stacks, unless you know what you are doing
481#
461# CONFIG_FIREWIRE is not set 482# CONFIG_FIREWIRE is not set
462# CONFIG_IEEE1394 is not set 483# CONFIG_IEEE1394 is not set
463# CONFIG_I2O is not set 484# CONFIG_I2O is not set
464# CONFIG_MACINTOSH_DRIVERS is not set 485# CONFIG_MACINTOSH_DRIVERS is not set
465CONFIG_NETDEVICES=y 486CONFIG_NETDEVICES=y
466# CONFIG_NETDEVICES_MULTIQUEUE is not set
467# CONFIG_DUMMY is not set 487# CONFIG_DUMMY is not set
468# CONFIG_BONDING is not set 488# CONFIG_BONDING is not set
469# CONFIG_MACVLAN is not set 489# CONFIG_MACVLAN is not set
@@ -502,6 +522,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
502# 522#
503# CONFIG_WLAN_PRE80211 is not set 523# CONFIG_WLAN_PRE80211 is not set
504# CONFIG_WLAN_80211 is not set 524# CONFIG_WLAN_80211 is not set
525# CONFIG_IWLWIFI_LEDS is not set
505# CONFIG_WAN is not set 526# CONFIG_WAN is not set
506# CONFIG_FDDI is not set 527# CONFIG_FDDI is not set
507# CONFIG_HIPPI is not set 528# CONFIG_HIPPI is not set
@@ -528,6 +549,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
528# Character devices 549# Character devices
529# 550#
530# CONFIG_VT is not set 551# CONFIG_VT is not set
552CONFIG_DEVKMEM=y
531# CONFIG_SERIAL_NONSTANDARD is not set 553# CONFIG_SERIAL_NONSTANDARD is not set
532# CONFIG_NOZOMI is not set 554# CONFIG_NOZOMI is not set
533 555
@@ -566,12 +588,9 @@ CONFIG_LEGACY_PTY_COUNT=256
566# CONFIG_TCG_TPM is not set 588# CONFIG_TCG_TPM is not set
567CONFIG_DEVPORT=y 589CONFIG_DEVPORT=y
568# CONFIG_I2C is not set 590# CONFIG_I2C is not set
569
570#
571# SPI support
572#
573# CONFIG_SPI is not set 591# CONFIG_SPI is not set
574# CONFIG_SPI_MASTER is not set 592CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
593# CONFIG_GPIOLIB is not set
575# CONFIG_W1 is not set 594# CONFIG_W1 is not set
576# CONFIG_POWER_SUPPLY is not set 595# CONFIG_POWER_SUPPLY is not set
577# CONFIG_HWMON is not set 596# CONFIG_HWMON is not set
@@ -587,13 +606,24 @@ CONFIG_SSB_POSSIBLE=y
587# 606#
588# Multifunction device drivers 607# Multifunction device drivers
589# 608#
609# CONFIG_MFD_CORE is not set
590# CONFIG_MFD_SM501 is not set 610# CONFIG_MFD_SM501 is not set
611# CONFIG_HTC_PASIC3 is not set
591 612
592# 613#
593# Multimedia devices 614# Multimedia devices
594# 615#
616
617#
618# Multimedia core support
619#
595# CONFIG_VIDEO_DEV is not set 620# CONFIG_VIDEO_DEV is not set
596# CONFIG_DVB_CORE is not set 621# CONFIG_DVB_CORE is not set
622# CONFIG_VIDEO_MEDIA is not set
623
624#
625# Multimedia drivers
626#
597# CONFIG_DAB is not set 627# CONFIG_DAB is not set
598 628
599# 629#
@@ -610,22 +640,16 @@ CONFIG_SSB_POSSIBLE=y
610# Display device support 640# Display device support
611# 641#
612# CONFIG_DISPLAY_SUPPORT is not set 642# CONFIG_DISPLAY_SUPPORT is not set
613
614#
615# Sound
616#
617# CONFIG_SOUND is not set 643# CONFIG_SOUND is not set
618# CONFIG_USB_SUPPORT is not set 644# CONFIG_USB_SUPPORT is not set
619# CONFIG_MMC is not set 645# CONFIG_MMC is not set
620# CONFIG_MEMSTICK is not set 646# CONFIG_MEMSTICK is not set
621# CONFIG_NEW_LEDS is not set 647# CONFIG_NEW_LEDS is not set
648# CONFIG_ACCESSIBILITY is not set
622# CONFIG_INFINIBAND is not set 649# CONFIG_INFINIBAND is not set
623# CONFIG_EDAC is not set 650# CONFIG_EDAC is not set
624# CONFIG_RTC_CLASS is not set 651# CONFIG_RTC_CLASS is not set
625 652# CONFIG_DMADEVICES is not set
626#
627# Userspace I/O
628#
629# CONFIG_UIO is not set 653# CONFIG_UIO is not set
630 654
631# 655#
@@ -640,7 +664,6 @@ CONFIG_EXT2_FS=y
640# CONFIG_JFS_FS is not set 664# CONFIG_JFS_FS is not set
641# CONFIG_FS_POSIX_ACL is not set 665# CONFIG_FS_POSIX_ACL is not set
642# CONFIG_XFS_FS is not set 666# CONFIG_XFS_FS is not set
643# CONFIG_GFS2_FS is not set
644# CONFIG_OCFS2_FS is not set 667# CONFIG_OCFS2_FS is not set
645CONFIG_DNOTIFY=y 668CONFIG_DNOTIFY=y
646CONFIG_INOTIFY=y 669CONFIG_INOTIFY=y
@@ -689,6 +712,7 @@ CONFIG_TMPFS=y
689CONFIG_CRAMFS=y 712CONFIG_CRAMFS=y
690# CONFIG_VXFS_FS is not set 713# CONFIG_VXFS_FS is not set
691# CONFIG_MINIX_FS is not set 714# CONFIG_MINIX_FS is not set
715# CONFIG_OMFS_FS is not set
692# CONFIG_HPFS_FS is not set 716# CONFIG_HPFS_FS is not set
693# CONFIG_QNX4FS_FS is not set 717# CONFIG_QNX4FS_FS is not set
694# CONFIG_ROMFS_FS is not set 718# CONFIG_ROMFS_FS is not set
@@ -699,14 +723,12 @@ CONFIG_NFS_FS=y
699CONFIG_NFS_V3=y 723CONFIG_NFS_V3=y
700# CONFIG_NFS_V3_ACL is not set 724# CONFIG_NFS_V3_ACL is not set
701# CONFIG_NFS_V4 is not set 725# CONFIG_NFS_V4 is not set
702# CONFIG_NFS_DIRECTIO is not set
703# CONFIG_NFSD is not set
704CONFIG_ROOT_NFS=y 726CONFIG_ROOT_NFS=y
727# CONFIG_NFSD is not set
705CONFIG_LOCKD=y 728CONFIG_LOCKD=y
706CONFIG_LOCKD_V4=y 729CONFIG_LOCKD_V4=y
707CONFIG_NFS_COMMON=y 730CONFIG_NFS_COMMON=y
708CONFIG_SUNRPC=y 731CONFIG_SUNRPC=y
709# CONFIG_SUNRPC_BIND34 is not set
710# CONFIG_RPCSEC_GSS_KRB5 is not set 732# CONFIG_RPCSEC_GSS_KRB5 is not set
711# CONFIG_RPCSEC_GSS_SPKM3 is not set 733# CONFIG_RPCSEC_GSS_SPKM3 is not set
712# CONFIG_SMB_FS is not set 734# CONFIG_SMB_FS is not set
@@ -727,8 +749,10 @@ CONFIG_MSDOS_PARTITION=y
727# Library routines 749# Library routines
728# 750#
729CONFIG_BITREVERSE=y 751CONFIG_BITREVERSE=y
752# CONFIG_GENERIC_FIND_FIRST_BIT is not set
730# CONFIG_CRC_CCITT is not set 753# CONFIG_CRC_CCITT is not set
731# CONFIG_CRC16 is not set 754# CONFIG_CRC16 is not set
755# CONFIG_CRC_T10DIF is not set
732# CONFIG_CRC_ITU_T is not set 756# CONFIG_CRC_ITU_T is not set
733CONFIG_CRC32=y 757CONFIG_CRC32=y
734# CONFIG_CRC7 is not set 758# CONFIG_CRC7 is not set
@@ -738,6 +762,7 @@ CONFIG_PLIST=y
738CONFIG_HAS_IOMEM=y 762CONFIG_HAS_IOMEM=y
739CONFIG_HAS_IOPORT=y 763CONFIG_HAS_IOPORT=y
740CONFIG_HAS_DMA=y 764CONFIG_HAS_DMA=y
765CONFIG_HAVE_LMB=y
741 766
742# 767#
743# Kernel hacking 768# Kernel hacking
@@ -745,6 +770,7 @@ CONFIG_HAS_DMA=y
745# CONFIG_PRINTK_TIME is not set 770# CONFIG_PRINTK_TIME is not set
746CONFIG_ENABLE_WARN_DEPRECATED=y 771CONFIG_ENABLE_WARN_DEPRECATED=y
747CONFIG_ENABLE_MUST_CHECK=y 772CONFIG_ENABLE_MUST_CHECK=y
773CONFIG_FRAME_WARN=1024
748CONFIG_MAGIC_SYSRQ=y 774CONFIG_MAGIC_SYSRQ=y
749# CONFIG_UNUSED_SYMBOLS is not set 775# CONFIG_UNUSED_SYMBOLS is not set
750CONFIG_DEBUG_FS=y 776CONFIG_DEBUG_FS=y
@@ -752,9 +778,12 @@ CONFIG_DEBUG_FS=y
752CONFIG_DEBUG_KERNEL=y 778CONFIG_DEBUG_KERNEL=y
753# CONFIG_DEBUG_SHIRQ is not set 779# CONFIG_DEBUG_SHIRQ is not set
754CONFIG_DETECT_SOFTLOCKUP=y 780CONFIG_DETECT_SOFTLOCKUP=y
781# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
782CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
755CONFIG_SCHED_DEBUG=y 783CONFIG_SCHED_DEBUG=y
756# CONFIG_SCHEDSTATS is not set 784# CONFIG_SCHEDSTATS is not set
757# CONFIG_TIMER_STATS is not set 785# CONFIG_TIMER_STATS is not set
786# CONFIG_DEBUG_OBJECTS is not set
758# CONFIG_SLUB_DEBUG_ON is not set 787# CONFIG_SLUB_DEBUG_ON is not set
759# CONFIG_SLUB_STATS is not set 788# CONFIG_SLUB_STATS is not set
760# CONFIG_DEBUG_RT_MUTEXES is not set 789# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -767,17 +796,30 @@ CONFIG_SCHED_DEBUG=y
767CONFIG_DEBUG_BUGVERBOSE=y 796CONFIG_DEBUG_BUGVERBOSE=y
768# CONFIG_DEBUG_INFO is not set 797# CONFIG_DEBUG_INFO is not set
769# CONFIG_DEBUG_VM is not set 798# CONFIG_DEBUG_VM is not set
799# CONFIG_DEBUG_WRITECOUNT is not set
800# CONFIG_DEBUG_MEMORY_INIT is not set
770# CONFIG_DEBUG_LIST is not set 801# CONFIG_DEBUG_LIST is not set
771# CONFIG_DEBUG_SG is not set 802# CONFIG_DEBUG_SG is not set
772# CONFIG_BOOT_PRINTK_DELAY is not set 803# CONFIG_BOOT_PRINTK_DELAY is not set
773# CONFIG_RCU_TORTURE_TEST is not set 804# CONFIG_RCU_TORTURE_TEST is not set
774# CONFIG_BACKTRACE_SELF_TEST is not set 805# CONFIG_BACKTRACE_SELF_TEST is not set
775# CONFIG_FAULT_INJECTION is not set 806# CONFIG_FAULT_INJECTION is not set
807# CONFIG_LATENCYTOP is not set
808CONFIG_HAVE_FTRACE=y
809CONFIG_HAVE_DYNAMIC_FTRACE=y
810# CONFIG_FTRACE is not set
811# CONFIG_SCHED_TRACER is not set
812# CONFIG_CONTEXT_SWITCH_TRACER is not set
776# CONFIG_SAMPLES is not set 813# CONFIG_SAMPLES is not set
814CONFIG_HAVE_ARCH_KGDB=y
815# CONFIG_KGDB is not set
777# CONFIG_DEBUG_STACKOVERFLOW is not set 816# CONFIG_DEBUG_STACKOVERFLOW is not set
778# CONFIG_DEBUG_STACK_USAGE is not set 817# CONFIG_DEBUG_STACK_USAGE is not set
779# CONFIG_DEBUG_PAGEALLOC is not set 818# CONFIG_DEBUG_PAGEALLOC is not set
780# CONFIG_DEBUGGER is not set 819# CONFIG_CODE_PATCHING_SELFTEST is not set
820# CONFIG_FTR_FIXUP_SELFTEST is not set
821# CONFIG_XMON is not set
822# CONFIG_IRQSTACKS is not set
781# CONFIG_VIRQ_DEBUG is not set 823# CONFIG_VIRQ_DEBUG is not set
782# CONFIG_BDI_SWITCH is not set 824# CONFIG_BDI_SWITCH is not set
783# CONFIG_PPC_EARLY_DEBUG is not set 825# CONFIG_PPC_EARLY_DEBUG is not set
@@ -789,51 +831,85 @@ CONFIG_DEBUG_BUGVERBOSE=y
789# CONFIG_SECURITY is not set 831# CONFIG_SECURITY is not set
790# CONFIG_SECURITY_FILE_CAPABILITIES is not set 832# CONFIG_SECURITY_FILE_CAPABILITIES is not set
791CONFIG_CRYPTO=y 833CONFIG_CRYPTO=y
834
835#
836# Crypto core or helper
837#
792CONFIG_CRYPTO_ALGAPI=y 838CONFIG_CRYPTO_ALGAPI=y
793CONFIG_CRYPTO_BLKCIPHER=y 839CONFIG_CRYPTO_BLKCIPHER=y
794# CONFIG_CRYPTO_SEQIV is not set
795CONFIG_CRYPTO_MANAGER=y 840CONFIG_CRYPTO_MANAGER=y
841# CONFIG_CRYPTO_GF128MUL is not set
842# CONFIG_CRYPTO_NULL is not set
843# CONFIG_CRYPTO_CRYPTD is not set
844# CONFIG_CRYPTO_AUTHENC is not set
845# CONFIG_CRYPTO_TEST is not set
846
847#
848# Authenticated Encryption with Associated Data
849#
850# CONFIG_CRYPTO_CCM is not set
851# CONFIG_CRYPTO_GCM is not set
852# CONFIG_CRYPTO_SEQIV is not set
853
854#
855# Block modes
856#
857CONFIG_CRYPTO_CBC=y
858# CONFIG_CRYPTO_CTR is not set
859# CONFIG_CRYPTO_CTS is not set
860CONFIG_CRYPTO_ECB=y
861# CONFIG_CRYPTO_LRW is not set
862CONFIG_CRYPTO_PCBC=y
863# CONFIG_CRYPTO_XTS is not set
864
865#
866# Hash modes
867#
796# CONFIG_CRYPTO_HMAC is not set 868# CONFIG_CRYPTO_HMAC is not set
797# CONFIG_CRYPTO_XCBC is not set 869# CONFIG_CRYPTO_XCBC is not set
798# CONFIG_CRYPTO_NULL is not set 870
871#
872# Digest
873#
874# CONFIG_CRYPTO_CRC32C is not set
799# CONFIG_CRYPTO_MD4 is not set 875# CONFIG_CRYPTO_MD4 is not set
800CONFIG_CRYPTO_MD5=y 876CONFIG_CRYPTO_MD5=y
877# CONFIG_CRYPTO_MICHAEL_MIC is not set
878# CONFIG_CRYPTO_RMD128 is not set
879# CONFIG_CRYPTO_RMD160 is not set
880# CONFIG_CRYPTO_RMD256 is not set
881# CONFIG_CRYPTO_RMD320 is not set
801# CONFIG_CRYPTO_SHA1 is not set 882# CONFIG_CRYPTO_SHA1 is not set
802# CONFIG_CRYPTO_SHA256 is not set 883# CONFIG_CRYPTO_SHA256 is not set
803# CONFIG_CRYPTO_SHA512 is not set 884# CONFIG_CRYPTO_SHA512 is not set
804# CONFIG_CRYPTO_WP512 is not set
805# CONFIG_CRYPTO_TGR192 is not set 885# CONFIG_CRYPTO_TGR192 is not set
806# CONFIG_CRYPTO_GF128MUL is not set 886# CONFIG_CRYPTO_WP512 is not set
807CONFIG_CRYPTO_ECB=y 887
808CONFIG_CRYPTO_CBC=y 888#
809CONFIG_CRYPTO_PCBC=y 889# Ciphers
810# CONFIG_CRYPTO_LRW is not set 890#
811# CONFIG_CRYPTO_XTS is not set
812# CONFIG_CRYPTO_CTR is not set
813# CONFIG_CRYPTO_GCM is not set
814# CONFIG_CRYPTO_CCM is not set
815# CONFIG_CRYPTO_CRYPTD is not set
816CONFIG_CRYPTO_DES=y
817# CONFIG_CRYPTO_FCRYPT is not set
818# CONFIG_CRYPTO_BLOWFISH is not set
819# CONFIG_CRYPTO_TWOFISH is not set
820# CONFIG_CRYPTO_SERPENT is not set
821# CONFIG_CRYPTO_AES is not set 891# CONFIG_CRYPTO_AES is not set
892# CONFIG_CRYPTO_ANUBIS is not set
893# CONFIG_CRYPTO_ARC4 is not set
894# CONFIG_CRYPTO_BLOWFISH is not set
895# CONFIG_CRYPTO_CAMELLIA is not set
822# CONFIG_CRYPTO_CAST5 is not set 896# CONFIG_CRYPTO_CAST5 is not set
823# CONFIG_CRYPTO_CAST6 is not set 897# CONFIG_CRYPTO_CAST6 is not set
824# CONFIG_CRYPTO_TEA is not set 898CONFIG_CRYPTO_DES=y
825# CONFIG_CRYPTO_ARC4 is not set 899# CONFIG_CRYPTO_FCRYPT is not set
826# CONFIG_CRYPTO_KHAZAD is not set 900# CONFIG_CRYPTO_KHAZAD is not set
827# CONFIG_CRYPTO_ANUBIS is not set
828# CONFIG_CRYPTO_SEED is not set
829# CONFIG_CRYPTO_SALSA20 is not set 901# CONFIG_CRYPTO_SALSA20 is not set
902# CONFIG_CRYPTO_SEED is not set
903# CONFIG_CRYPTO_SERPENT is not set
904# CONFIG_CRYPTO_TEA is not set
905# CONFIG_CRYPTO_TWOFISH is not set
906
907#
908# Compression
909#
830# CONFIG_CRYPTO_DEFLATE is not set 910# CONFIG_CRYPTO_DEFLATE is not set
831# CONFIG_CRYPTO_MICHAEL_MIC is not set
832# CONFIG_CRYPTO_CRC32C is not set
833# CONFIG_CRYPTO_CAMELLIA is not set
834# CONFIG_CRYPTO_TEST is not set
835# CONFIG_CRYPTO_AUTHENC is not set
836# CONFIG_CRYPTO_LZO is not set 911# CONFIG_CRYPTO_LZO is not set
837CONFIG_CRYPTO_HW=y 912CONFIG_CRYPTO_HW=y
838# CONFIG_CRYPTO_DEV_HIFN_795X is not set 913# CONFIG_CRYPTO_DEV_HIFN_795X is not set
839# CONFIG_PPC_CLOCK is not set 914# CONFIG_PPC_CLOCK is not set
915# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/40x/makalu_defconfig b/arch/powerpc/configs/40x/makalu_defconfig
index 9ef4d8a312c8..987a4481800f 100644
--- a/arch/powerpc/configs/40x/makalu_defconfig
+++ b/arch/powerpc/configs/40x/makalu_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:52:30 2008 4# Tue Aug 5 19:38:39 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -26,8 +26,12 @@ CONFIG_GENERIC_TIME=y
26CONFIG_GENERIC_TIME_VSYSCALL=y 26CONFIG_GENERIC_TIME_VSYSCALL=y
27CONFIG_GENERIC_CLOCKEVENTS=y 27CONFIG_GENERIC_CLOCKEVENTS=y
28CONFIG_GENERIC_HARDIRQS=y 28CONFIG_GENERIC_HARDIRQS=y
29# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
29# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 30# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
30CONFIG_IRQ_PER_CPU=y 31CONFIG_IRQ_PER_CPU=y
32CONFIG_STACKTRACE_SUPPORT=y
33CONFIG_HAVE_LATENCYTOP_SUPPORT=y
34CONFIG_LOCKDEP_SUPPORT=y
31CONFIG_RWSEM_XCHGADD_ALGORITHM=y 35CONFIG_RWSEM_XCHGADD_ALGORITHM=y
32CONFIG_ARCH_HAS_ILOG2_U32=y 36CONFIG_ARCH_HAS_ILOG2_U32=y
33CONFIG_GENERIC_HWEIGHT=y 37CONFIG_GENERIC_HWEIGHT=y
@@ -75,6 +79,7 @@ CONFIG_GROUP_SCHED=y
75CONFIG_USER_SCHED=y 79CONFIG_USER_SCHED=y
76# CONFIG_CGROUP_SCHED is not set 80# CONFIG_CGROUP_SCHED is not set
77CONFIG_SYSFS_DEPRECATED=y 81CONFIG_SYSFS_DEPRECATED=y
82CONFIG_SYSFS_DEPRECATED_V2=y
78# CONFIG_RELAY is not set 83# CONFIG_RELAY is not set
79# CONFIG_NAMESPACES is not set 84# CONFIG_NAMESPACES is not set
80CONFIG_BLK_DEV_INITRD=y 85CONFIG_BLK_DEV_INITRD=y
@@ -83,6 +88,7 @@ CONFIG_INITRAMFS_SOURCE=""
83CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
84CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
85CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
86CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
87CONFIG_KALLSYMS_ALL=y 93CONFIG_KALLSYMS_ALL=y
88CONFIG_KALLSYMS_EXTRA_PASS=y 94CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -108,13 +114,22 @@ CONFIG_SLUB=y
108# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
109CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
110# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
111CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
112CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
113CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
114CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
115# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
116CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
117CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
118CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
119# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
120# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -125,6 +140,7 @@ CONFIG_LBD=y
125# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
126# CONFIG_LSF is not set 141# CONFIG_LSF is not set
127# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
128 144
129# 145#
130# IO Schedulers 146# IO Schedulers
@@ -139,14 +155,11 @@ CONFIG_DEFAULT_AS=y
139# CONFIG_DEFAULT_NOOP is not set 155# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory" 156CONFIG_DEFAULT_IOSCHED="anticipatory"
141CONFIG_CLASSIC_RCU=y 157CONFIG_CLASSIC_RCU=y
142# CONFIG_PREEMPT_RCU is not set
143CONFIG_PPC4xx_PCI_EXPRESS=y 158CONFIG_PPC4xx_PCI_EXPRESS=y
144 159
145# 160#
146# Platform support 161# Platform support
147# 162#
148# CONFIG_PPC_MPC512x is not set
149# CONFIG_PPC_MPC5121 is not set
150# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
151# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
152# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
@@ -186,7 +199,6 @@ CONFIG_HZ=250
186CONFIG_PREEMPT_NONE=y 199CONFIG_PREEMPT_NONE=y
187# CONFIG_PREEMPT_VOLUNTARY is not set 200# CONFIG_PREEMPT_VOLUNTARY is not set
188# CONFIG_PREEMPT is not set 201# CONFIG_PREEMPT is not set
189CONFIG_RCU_TRACE=y
190CONFIG_BINFMT_ELF=y 202CONFIG_BINFMT_ELF=y
191# CONFIG_BINFMT_MISC is not set 203# CONFIG_BINFMT_MISC is not set
192# CONFIG_MATH_EMULATION is not set 204# CONFIG_MATH_EMULATION is not set
@@ -204,13 +216,17 @@ CONFIG_FLATMEM=y
204CONFIG_FLAT_NODE_MEM_MAP=y 216CONFIG_FLAT_NODE_MEM_MAP=y
205# CONFIG_SPARSEMEM_STATIC is not set 217# CONFIG_SPARSEMEM_STATIC is not set
206# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 218# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
219CONFIG_PAGEFLAGS_EXTENDED=y
207CONFIG_SPLIT_PTLOCK_CPUS=4 220CONFIG_SPLIT_PTLOCK_CPUS=4
221CONFIG_MIGRATION=y
208# CONFIG_RESOURCES_64BIT is not set 222# CONFIG_RESOURCES_64BIT is not set
209CONFIG_ZONE_DMA_FLAG=1 223CONFIG_ZONE_DMA_FLAG=1
210CONFIG_BOUNCE=y 224CONFIG_BOUNCE=y
211CONFIG_VIRT_TO_BUS=y 225CONFIG_VIRT_TO_BUS=y
226CONFIG_FORCE_MAX_ZONEORDER=11
212CONFIG_PROC_DEVICETREE=y 227CONFIG_PROC_DEVICETREE=y
213# CONFIG_CMDLINE_BOOL is not set 228# CONFIG_CMDLINE_BOOL is not set
229CONFIG_EXTRA_TARGETS=""
214# CONFIG_PM is not set 230# CONFIG_PM is not set
215CONFIG_SECCOMP=y 231CONFIG_SECCOMP=y
216CONFIG_ISA_DMA_API=y 232CONFIG_ISA_DMA_API=y
@@ -220,6 +236,8 @@ CONFIG_ISA_DMA_API=y
220# 236#
221CONFIG_ZONE_DMA=y 237CONFIG_ZONE_DMA=y
222CONFIG_PPC_INDIRECT_PCI=y 238CONFIG_PPC_INDIRECT_PCI=y
239CONFIG_4xx_SOC=y
240CONFIG_PPC_PCI_CHOICE=y
223CONFIG_PCI=y 241CONFIG_PCI=y
224CONFIG_PCI_DOMAINS=y 242CONFIG_PCI_DOMAINS=y
225CONFIG_PCI_SYSCALL=y 243CONFIG_PCI_SYSCALL=y
@@ -230,6 +248,7 @@ CONFIG_PCI_LEGACY=y
230# CONFIG_PCI_DEBUG is not set 248# CONFIG_PCI_DEBUG is not set
231# CONFIG_PCCARD is not set 249# CONFIG_PCCARD is not set
232# CONFIG_HOTPLUG_PCI is not set 250# CONFIG_HOTPLUG_PCI is not set
251# CONFIG_HAS_RAPIDIO is not set
233 252
234# 253#
235# Advanced setup 254# Advanced setup
@@ -239,17 +258,13 @@ CONFIG_PCI_LEGACY=y
239# 258#
240# Default settings for advanced configuration options are used 259# Default settings for advanced configuration options are used
241# 260#
242CONFIG_HIGHMEM_START=0xfe000000
243CONFIG_LOWMEM_SIZE=0x30000000 261CONFIG_LOWMEM_SIZE=0x30000000
262CONFIG_PAGE_OFFSET=0xc0000000
244CONFIG_KERNEL_START=0xc0000000 263CONFIG_KERNEL_START=0xc0000000
264CONFIG_PHYSICAL_START=0x00000000
245CONFIG_TASK_SIZE=0xc0000000 265CONFIG_TASK_SIZE=0xc0000000
246CONFIG_CONSISTENT_START=0xff100000 266CONFIG_CONSISTENT_START=0xff100000
247CONFIG_CONSISTENT_SIZE=0x00200000 267CONFIG_CONSISTENT_SIZE=0x00200000
248CONFIG_BOOT_LOAD=0x00400000
249
250#
251# Networking
252#
253CONFIG_NET=y 268CONFIG_NET=y
254 269
255# 270#
@@ -287,8 +302,6 @@ CONFIG_TCP_CONG_CUBIC=y
287CONFIG_DEFAULT_TCP_CONG="cubic" 302CONFIG_DEFAULT_TCP_CONG="cubic"
288# CONFIG_TCP_MD5SIG is not set 303# CONFIG_TCP_MD5SIG is not set
289# CONFIG_IPV6 is not set 304# CONFIG_IPV6 is not set
290# CONFIG_INET6_XFRM_TUNNEL is not set
291# CONFIG_INET6_TUNNEL is not set
292# CONFIG_NETWORK_SECMARK is not set 305# CONFIG_NETWORK_SECMARK is not set
293# CONFIG_NETFILTER is not set 306# CONFIG_NETFILTER is not set
294# CONFIG_IP_DCCP is not set 307# CONFIG_IP_DCCP is not set
@@ -338,6 +351,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
338CONFIG_STANDALONE=y 351CONFIG_STANDALONE=y
339CONFIG_PREVENT_FIRMWARE_BUILD=y 352CONFIG_PREVENT_FIRMWARE_BUILD=y
340CONFIG_FW_LOADER=y 353CONFIG_FW_LOADER=y
354CONFIG_FIRMWARE_IN_KERNEL=y
355CONFIG_EXTRA_FIRMWARE=""
341# CONFIG_DEBUG_DRIVER is not set 356# CONFIG_DEBUG_DRIVER is not set
342# CONFIG_DEBUG_DEVRES is not set 357# CONFIG_DEBUG_DEVRES is not set
343# CONFIG_SYS_HYPERVISOR is not set 358# CONFIG_SYS_HYPERVISOR is not set
@@ -350,6 +365,7 @@ CONFIG_MTD_PARTITIONS=y
350# CONFIG_MTD_REDBOOT_PARTS is not set 365# CONFIG_MTD_REDBOOT_PARTS is not set
351CONFIG_MTD_CMDLINE_PARTS=y 366CONFIG_MTD_CMDLINE_PARTS=y
352CONFIG_MTD_OF_PARTS=y 367CONFIG_MTD_OF_PARTS=y
368# CONFIG_MTD_AR7_PARTS is not set
353 369
354# 370#
355# User Modules And Translation Layers 371# User Modules And Translation Layers
@@ -440,6 +456,7 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
440# CONFIG_CDROM_PKTCDVD is not set 456# CONFIG_CDROM_PKTCDVD is not set
441# CONFIG_ATA_OVER_ETH is not set 457# CONFIG_ATA_OVER_ETH is not set
442# CONFIG_XILINX_SYSACE is not set 458# CONFIG_XILINX_SYSACE is not set
459# CONFIG_BLK_DEV_HD is not set
443# CONFIG_MISC_DEVICES is not set 460# CONFIG_MISC_DEVICES is not set
444CONFIG_HAVE_IDE=y 461CONFIG_HAVE_IDE=y
445# CONFIG_IDE is not set 462# CONFIG_IDE is not set
@@ -458,12 +475,15 @@ CONFIG_HAVE_IDE=y
458# 475#
459# IEEE 1394 (FireWire) support 476# IEEE 1394 (FireWire) support
460# 477#
478
479#
480# Enable only one of the two stacks, unless you know what you are doing
481#
461# CONFIG_FIREWIRE is not set 482# CONFIG_FIREWIRE is not set
462# CONFIG_IEEE1394 is not set 483# CONFIG_IEEE1394 is not set
463# CONFIG_I2O is not set 484# CONFIG_I2O is not set
464# CONFIG_MACINTOSH_DRIVERS is not set 485# CONFIG_MACINTOSH_DRIVERS is not set
465CONFIG_NETDEVICES=y 486CONFIG_NETDEVICES=y
466# CONFIG_NETDEVICES_MULTIQUEUE is not set
467# CONFIG_DUMMY is not set 487# CONFIG_DUMMY is not set
468# CONFIG_BONDING is not set 488# CONFIG_BONDING is not set
469# CONFIG_MACVLAN is not set 489# CONFIG_MACVLAN is not set
@@ -502,6 +522,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
502# 522#
503# CONFIG_WLAN_PRE80211 is not set 523# CONFIG_WLAN_PRE80211 is not set
504# CONFIG_WLAN_80211 is not set 524# CONFIG_WLAN_80211 is not set
525# CONFIG_IWLWIFI_LEDS is not set
505# CONFIG_WAN is not set 526# CONFIG_WAN is not set
506# CONFIG_FDDI is not set 527# CONFIG_FDDI is not set
507# CONFIG_HIPPI is not set 528# CONFIG_HIPPI is not set
@@ -528,6 +549,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
528# Character devices 549# Character devices
529# 550#
530# CONFIG_VT is not set 551# CONFIG_VT is not set
552CONFIG_DEVKMEM=y
531# CONFIG_SERIAL_NONSTANDARD is not set 553# CONFIG_SERIAL_NONSTANDARD is not set
532# CONFIG_NOZOMI is not set 554# CONFIG_NOZOMI is not set
533 555
@@ -566,12 +588,9 @@ CONFIG_LEGACY_PTY_COUNT=256
566# CONFIG_TCG_TPM is not set 588# CONFIG_TCG_TPM is not set
567CONFIG_DEVPORT=y 589CONFIG_DEVPORT=y
568# CONFIG_I2C is not set 590# CONFIG_I2C is not set
569
570#
571# SPI support
572#
573# CONFIG_SPI is not set 591# CONFIG_SPI is not set
574# CONFIG_SPI_MASTER is not set 592CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
593# CONFIG_GPIOLIB is not set
575# CONFIG_W1 is not set 594# CONFIG_W1 is not set
576# CONFIG_POWER_SUPPLY is not set 595# CONFIG_POWER_SUPPLY is not set
577# CONFIG_HWMON is not set 596# CONFIG_HWMON is not set
@@ -587,13 +606,24 @@ CONFIG_SSB_POSSIBLE=y
587# 606#
588# Multifunction device drivers 607# Multifunction device drivers
589# 608#
609# CONFIG_MFD_CORE is not set
590# CONFIG_MFD_SM501 is not set 610# CONFIG_MFD_SM501 is not set
611# CONFIG_HTC_PASIC3 is not set
591 612
592# 613#
593# Multimedia devices 614# Multimedia devices
594# 615#
616
617#
618# Multimedia core support
619#
595# CONFIG_VIDEO_DEV is not set 620# CONFIG_VIDEO_DEV is not set
596# CONFIG_DVB_CORE is not set 621# CONFIG_DVB_CORE is not set
622# CONFIG_VIDEO_MEDIA is not set
623
624#
625# Multimedia drivers
626#
597# CONFIG_DAB is not set 627# CONFIG_DAB is not set
598 628
599# 629#
@@ -610,22 +640,16 @@ CONFIG_SSB_POSSIBLE=y
610# Display device support 640# Display device support
611# 641#
612# CONFIG_DISPLAY_SUPPORT is not set 642# CONFIG_DISPLAY_SUPPORT is not set
613
614#
615# Sound
616#
617# CONFIG_SOUND is not set 643# CONFIG_SOUND is not set
618# CONFIG_USB_SUPPORT is not set 644# CONFIG_USB_SUPPORT is not set
619# CONFIG_MMC is not set 645# CONFIG_MMC is not set
620# CONFIG_MEMSTICK is not set 646# CONFIG_MEMSTICK is not set
621# CONFIG_NEW_LEDS is not set 647# CONFIG_NEW_LEDS is not set
648# CONFIG_ACCESSIBILITY is not set
622# CONFIG_INFINIBAND is not set 649# CONFIG_INFINIBAND is not set
623# CONFIG_EDAC is not set 650# CONFIG_EDAC is not set
624# CONFIG_RTC_CLASS is not set 651# CONFIG_RTC_CLASS is not set
625 652# CONFIG_DMADEVICES is not set
626#
627# Userspace I/O
628#
629# CONFIG_UIO is not set 653# CONFIG_UIO is not set
630 654
631# 655#
@@ -640,7 +664,6 @@ CONFIG_EXT2_FS=y
640# CONFIG_JFS_FS is not set 664# CONFIG_JFS_FS is not set
641# CONFIG_FS_POSIX_ACL is not set 665# CONFIG_FS_POSIX_ACL is not set
642# CONFIG_XFS_FS is not set 666# CONFIG_XFS_FS is not set
643# CONFIG_GFS2_FS is not set
644# CONFIG_OCFS2_FS is not set 667# CONFIG_OCFS2_FS is not set
645CONFIG_DNOTIFY=y 668CONFIG_DNOTIFY=y
646CONFIG_INOTIFY=y 669CONFIG_INOTIFY=y
@@ -689,6 +712,7 @@ CONFIG_TMPFS=y
689CONFIG_CRAMFS=y 712CONFIG_CRAMFS=y
690# CONFIG_VXFS_FS is not set 713# CONFIG_VXFS_FS is not set
691# CONFIG_MINIX_FS is not set 714# CONFIG_MINIX_FS is not set
715# CONFIG_OMFS_FS is not set
692# CONFIG_HPFS_FS is not set 716# CONFIG_HPFS_FS is not set
693# CONFIG_QNX4FS_FS is not set 717# CONFIG_QNX4FS_FS is not set
694# CONFIG_ROMFS_FS is not set 718# CONFIG_ROMFS_FS is not set
@@ -699,14 +723,12 @@ CONFIG_NFS_FS=y
699CONFIG_NFS_V3=y 723CONFIG_NFS_V3=y
700# CONFIG_NFS_V3_ACL is not set 724# CONFIG_NFS_V3_ACL is not set
701# CONFIG_NFS_V4 is not set 725# CONFIG_NFS_V4 is not set
702# CONFIG_NFS_DIRECTIO is not set
703# CONFIG_NFSD is not set
704CONFIG_ROOT_NFS=y 726CONFIG_ROOT_NFS=y
727# CONFIG_NFSD is not set
705CONFIG_LOCKD=y 728CONFIG_LOCKD=y
706CONFIG_LOCKD_V4=y 729CONFIG_LOCKD_V4=y
707CONFIG_NFS_COMMON=y 730CONFIG_NFS_COMMON=y
708CONFIG_SUNRPC=y 731CONFIG_SUNRPC=y
709# CONFIG_SUNRPC_BIND34 is not set
710# CONFIG_RPCSEC_GSS_KRB5 is not set 732# CONFIG_RPCSEC_GSS_KRB5 is not set
711# CONFIG_RPCSEC_GSS_SPKM3 is not set 733# CONFIG_RPCSEC_GSS_SPKM3 is not set
712# CONFIG_SMB_FS is not set 734# CONFIG_SMB_FS is not set
@@ -727,8 +749,10 @@ CONFIG_MSDOS_PARTITION=y
727# Library routines 749# Library routines
728# 750#
729CONFIG_BITREVERSE=y 751CONFIG_BITREVERSE=y
752# CONFIG_GENERIC_FIND_FIRST_BIT is not set
730# CONFIG_CRC_CCITT is not set 753# CONFIG_CRC_CCITT is not set
731# CONFIG_CRC16 is not set 754# CONFIG_CRC16 is not set
755# CONFIG_CRC_T10DIF is not set
732# CONFIG_CRC_ITU_T is not set 756# CONFIG_CRC_ITU_T is not set
733CONFIG_CRC32=y 757CONFIG_CRC32=y
734# CONFIG_CRC7 is not set 758# CONFIG_CRC7 is not set
@@ -738,6 +762,7 @@ CONFIG_PLIST=y
738CONFIG_HAS_IOMEM=y 762CONFIG_HAS_IOMEM=y
739CONFIG_HAS_IOPORT=y 763CONFIG_HAS_IOPORT=y
740CONFIG_HAS_DMA=y 764CONFIG_HAS_DMA=y
765CONFIG_HAVE_LMB=y
741 766
742# 767#
743# Kernel hacking 768# Kernel hacking
@@ -745,6 +770,7 @@ CONFIG_HAS_DMA=y
745# CONFIG_PRINTK_TIME is not set 770# CONFIG_PRINTK_TIME is not set
746CONFIG_ENABLE_WARN_DEPRECATED=y 771CONFIG_ENABLE_WARN_DEPRECATED=y
747CONFIG_ENABLE_MUST_CHECK=y 772CONFIG_ENABLE_MUST_CHECK=y
773CONFIG_FRAME_WARN=1024
748CONFIG_MAGIC_SYSRQ=y 774CONFIG_MAGIC_SYSRQ=y
749# CONFIG_UNUSED_SYMBOLS is not set 775# CONFIG_UNUSED_SYMBOLS is not set
750CONFIG_DEBUG_FS=y 776CONFIG_DEBUG_FS=y
@@ -752,9 +778,12 @@ CONFIG_DEBUG_FS=y
752CONFIG_DEBUG_KERNEL=y 778CONFIG_DEBUG_KERNEL=y
753# CONFIG_DEBUG_SHIRQ is not set 779# CONFIG_DEBUG_SHIRQ is not set
754CONFIG_DETECT_SOFTLOCKUP=y 780CONFIG_DETECT_SOFTLOCKUP=y
781# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
782CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
755CONFIG_SCHED_DEBUG=y 783CONFIG_SCHED_DEBUG=y
756# CONFIG_SCHEDSTATS is not set 784# CONFIG_SCHEDSTATS is not set
757# CONFIG_TIMER_STATS is not set 785# CONFIG_TIMER_STATS is not set
786# CONFIG_DEBUG_OBJECTS is not set
758# CONFIG_SLUB_DEBUG_ON is not set 787# CONFIG_SLUB_DEBUG_ON is not set
759# CONFIG_SLUB_STATS is not set 788# CONFIG_SLUB_STATS is not set
760# CONFIG_DEBUG_RT_MUTEXES is not set 789# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -767,17 +796,30 @@ CONFIG_SCHED_DEBUG=y
767CONFIG_DEBUG_BUGVERBOSE=y 796CONFIG_DEBUG_BUGVERBOSE=y
768# CONFIG_DEBUG_INFO is not set 797# CONFIG_DEBUG_INFO is not set
769# CONFIG_DEBUG_VM is not set 798# CONFIG_DEBUG_VM is not set
799# CONFIG_DEBUG_WRITECOUNT is not set
800# CONFIG_DEBUG_MEMORY_INIT is not set
770# CONFIG_DEBUG_LIST is not set 801# CONFIG_DEBUG_LIST is not set
771# CONFIG_DEBUG_SG is not set 802# CONFIG_DEBUG_SG is not set
772# CONFIG_BOOT_PRINTK_DELAY is not set 803# CONFIG_BOOT_PRINTK_DELAY is not set
773# CONFIG_RCU_TORTURE_TEST is not set 804# CONFIG_RCU_TORTURE_TEST is not set
774# CONFIG_BACKTRACE_SELF_TEST is not set 805# CONFIG_BACKTRACE_SELF_TEST is not set
775# CONFIG_FAULT_INJECTION is not set 806# CONFIG_FAULT_INJECTION is not set
807# CONFIG_LATENCYTOP is not set
808CONFIG_HAVE_FTRACE=y
809CONFIG_HAVE_DYNAMIC_FTRACE=y
810# CONFIG_FTRACE is not set
811# CONFIG_SCHED_TRACER is not set
812# CONFIG_CONTEXT_SWITCH_TRACER is not set
776# CONFIG_SAMPLES is not set 813# CONFIG_SAMPLES is not set
814CONFIG_HAVE_ARCH_KGDB=y
815# CONFIG_KGDB is not set
777# CONFIG_DEBUG_STACKOVERFLOW is not set 816# CONFIG_DEBUG_STACKOVERFLOW is not set
778# CONFIG_DEBUG_STACK_USAGE is not set 817# CONFIG_DEBUG_STACK_USAGE is not set
779# CONFIG_DEBUG_PAGEALLOC is not set 818# CONFIG_DEBUG_PAGEALLOC is not set
780# CONFIG_DEBUGGER is not set 819# CONFIG_CODE_PATCHING_SELFTEST is not set
820# CONFIG_FTR_FIXUP_SELFTEST is not set
821# CONFIG_XMON is not set
822# CONFIG_IRQSTACKS is not set
781# CONFIG_VIRQ_DEBUG is not set 823# CONFIG_VIRQ_DEBUG is not set
782# CONFIG_BDI_SWITCH is not set 824# CONFIG_BDI_SWITCH is not set
783# CONFIG_PPC_EARLY_DEBUG is not set 825# CONFIG_PPC_EARLY_DEBUG is not set
@@ -789,51 +831,85 @@ CONFIG_DEBUG_BUGVERBOSE=y
789# CONFIG_SECURITY is not set 831# CONFIG_SECURITY is not set
790# CONFIG_SECURITY_FILE_CAPABILITIES is not set 832# CONFIG_SECURITY_FILE_CAPABILITIES is not set
791CONFIG_CRYPTO=y 833CONFIG_CRYPTO=y
834
835#
836# Crypto core or helper
837#
792CONFIG_CRYPTO_ALGAPI=y 838CONFIG_CRYPTO_ALGAPI=y
793CONFIG_CRYPTO_BLKCIPHER=y 839CONFIG_CRYPTO_BLKCIPHER=y
794# CONFIG_CRYPTO_SEQIV is not set
795CONFIG_CRYPTO_MANAGER=y 840CONFIG_CRYPTO_MANAGER=y
841# CONFIG_CRYPTO_GF128MUL is not set
842# CONFIG_CRYPTO_NULL is not set
843# CONFIG_CRYPTO_CRYPTD is not set
844# CONFIG_CRYPTO_AUTHENC is not set
845# CONFIG_CRYPTO_TEST is not set
846
847#
848# Authenticated Encryption with Associated Data
849#
850# CONFIG_CRYPTO_CCM is not set
851# CONFIG_CRYPTO_GCM is not set
852# CONFIG_CRYPTO_SEQIV is not set
853
854#
855# Block modes
856#
857CONFIG_CRYPTO_CBC=y
858# CONFIG_CRYPTO_CTR is not set
859# CONFIG_CRYPTO_CTS is not set
860CONFIG_CRYPTO_ECB=y
861# CONFIG_CRYPTO_LRW is not set
862CONFIG_CRYPTO_PCBC=y
863# CONFIG_CRYPTO_XTS is not set
864
865#
866# Hash modes
867#
796# CONFIG_CRYPTO_HMAC is not set 868# CONFIG_CRYPTO_HMAC is not set
797# CONFIG_CRYPTO_XCBC is not set 869# CONFIG_CRYPTO_XCBC is not set
798# CONFIG_CRYPTO_NULL is not set 870
871#
872# Digest
873#
874# CONFIG_CRYPTO_CRC32C is not set
799# CONFIG_CRYPTO_MD4 is not set 875# CONFIG_CRYPTO_MD4 is not set
800CONFIG_CRYPTO_MD5=y 876CONFIG_CRYPTO_MD5=y
877# CONFIG_CRYPTO_MICHAEL_MIC is not set
878# CONFIG_CRYPTO_RMD128 is not set
879# CONFIG_CRYPTO_RMD160 is not set
880# CONFIG_CRYPTO_RMD256 is not set
881# CONFIG_CRYPTO_RMD320 is not set
801# CONFIG_CRYPTO_SHA1 is not set 882# CONFIG_CRYPTO_SHA1 is not set
802# CONFIG_CRYPTO_SHA256 is not set 883# CONFIG_CRYPTO_SHA256 is not set
803# CONFIG_CRYPTO_SHA512 is not set 884# CONFIG_CRYPTO_SHA512 is not set
804# CONFIG_CRYPTO_WP512 is not set
805# CONFIG_CRYPTO_TGR192 is not set 885# CONFIG_CRYPTO_TGR192 is not set
806# CONFIG_CRYPTO_GF128MUL is not set 886# CONFIG_CRYPTO_WP512 is not set
807CONFIG_CRYPTO_ECB=y 887
808CONFIG_CRYPTO_CBC=y 888#
809CONFIG_CRYPTO_PCBC=y 889# Ciphers
810# CONFIG_CRYPTO_LRW is not set 890#
811# CONFIG_CRYPTO_XTS is not set
812# CONFIG_CRYPTO_CTR is not set
813# CONFIG_CRYPTO_GCM is not set
814# CONFIG_CRYPTO_CCM is not set
815# CONFIG_CRYPTO_CRYPTD is not set
816CONFIG_CRYPTO_DES=y
817# CONFIG_CRYPTO_FCRYPT is not set
818# CONFIG_CRYPTO_BLOWFISH is not set
819# CONFIG_CRYPTO_TWOFISH is not set
820# CONFIG_CRYPTO_SERPENT is not set
821# CONFIG_CRYPTO_AES is not set 891# CONFIG_CRYPTO_AES is not set
892# CONFIG_CRYPTO_ANUBIS is not set
893# CONFIG_CRYPTO_ARC4 is not set
894# CONFIG_CRYPTO_BLOWFISH is not set
895# CONFIG_CRYPTO_CAMELLIA is not set
822# CONFIG_CRYPTO_CAST5 is not set 896# CONFIG_CRYPTO_CAST5 is not set
823# CONFIG_CRYPTO_CAST6 is not set 897# CONFIG_CRYPTO_CAST6 is not set
824# CONFIG_CRYPTO_TEA is not set 898CONFIG_CRYPTO_DES=y
825# CONFIG_CRYPTO_ARC4 is not set 899# CONFIG_CRYPTO_FCRYPT is not set
826# CONFIG_CRYPTO_KHAZAD is not set 900# CONFIG_CRYPTO_KHAZAD is not set
827# CONFIG_CRYPTO_ANUBIS is not set
828# CONFIG_CRYPTO_SEED is not set
829# CONFIG_CRYPTO_SALSA20 is not set 901# CONFIG_CRYPTO_SALSA20 is not set
902# CONFIG_CRYPTO_SEED is not set
903# CONFIG_CRYPTO_SERPENT is not set
904# CONFIG_CRYPTO_TEA is not set
905# CONFIG_CRYPTO_TWOFISH is not set
906
907#
908# Compression
909#
830# CONFIG_CRYPTO_DEFLATE is not set 910# CONFIG_CRYPTO_DEFLATE is not set
831# CONFIG_CRYPTO_MICHAEL_MIC is not set
832# CONFIG_CRYPTO_CRC32C is not set
833# CONFIG_CRYPTO_CAMELLIA is not set
834# CONFIG_CRYPTO_TEST is not set
835# CONFIG_CRYPTO_AUTHENC is not set
836# CONFIG_CRYPTO_LZO is not set 911# CONFIG_CRYPTO_LZO is not set
837CONFIG_CRYPTO_HW=y 912CONFIG_CRYPTO_HW=y
838# CONFIG_CRYPTO_DEV_HIFN_795X is not set 913# CONFIG_CRYPTO_DEV_HIFN_795X is not set
839# CONFIG_PPC_CLOCK is not set 914# CONFIG_PPC_CLOCK is not set
915# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/40x/walnut_defconfig b/arch/powerpc/configs/40x/walnut_defconfig
index 3b2689e5002a..aee79338f41f 100644
--- a/arch/powerpc/configs/40x/walnut_defconfig
+++ b/arch/powerpc/configs/40x/walnut_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:54:12 2008 4# Tue Aug 5 19:40:56 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -26,8 +26,12 @@ CONFIG_GENERIC_TIME=y
26CONFIG_GENERIC_TIME_VSYSCALL=y 26CONFIG_GENERIC_TIME_VSYSCALL=y
27CONFIG_GENERIC_CLOCKEVENTS=y 27CONFIG_GENERIC_CLOCKEVENTS=y
28CONFIG_GENERIC_HARDIRQS=y 28CONFIG_GENERIC_HARDIRQS=y
29# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
29# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 30# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
30CONFIG_IRQ_PER_CPU=y 31CONFIG_IRQ_PER_CPU=y
32CONFIG_STACKTRACE_SUPPORT=y
33CONFIG_HAVE_LATENCYTOP_SUPPORT=y
34CONFIG_LOCKDEP_SUPPORT=y
31CONFIG_RWSEM_XCHGADD_ALGORITHM=y 35CONFIG_RWSEM_XCHGADD_ALGORITHM=y
32CONFIG_ARCH_HAS_ILOG2_U32=y 36CONFIG_ARCH_HAS_ILOG2_U32=y
33CONFIG_GENERIC_HWEIGHT=y 37CONFIG_GENERIC_HWEIGHT=y
@@ -75,6 +79,7 @@ CONFIG_FAIR_GROUP_SCHED=y
75CONFIG_USER_SCHED=y 79CONFIG_USER_SCHED=y
76# CONFIG_CGROUP_SCHED is not set 80# CONFIG_CGROUP_SCHED is not set
77CONFIG_SYSFS_DEPRECATED=y 81CONFIG_SYSFS_DEPRECATED=y
82CONFIG_SYSFS_DEPRECATED_V2=y
78# CONFIG_RELAY is not set 83# CONFIG_RELAY is not set
79# CONFIG_NAMESPACES is not set 84# CONFIG_NAMESPACES is not set
80CONFIG_BLK_DEV_INITRD=y 85CONFIG_BLK_DEV_INITRD=y
@@ -83,6 +88,7 @@ CONFIG_INITRAMFS_SOURCE=""
83CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
84CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
85CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
86CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
87CONFIG_KALLSYMS_ALL=y 93CONFIG_KALLSYMS_ALL=y
88CONFIG_KALLSYMS_EXTRA_PASS=y 94CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -108,13 +114,22 @@ CONFIG_SLUB=y
108# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
109CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
110# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
111CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
112CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
113CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
114CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
115# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
116CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
117CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
118CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
119# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
120# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -125,6 +140,7 @@ CONFIG_LBD=y
125# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
126# CONFIG_LSF is not set 141# CONFIG_LSF is not set
127# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
128 144
129# 145#
130# IO Schedulers 146# IO Schedulers
@@ -139,14 +155,11 @@ CONFIG_DEFAULT_AS=y
139# CONFIG_DEFAULT_NOOP is not set 155# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory" 156CONFIG_DEFAULT_IOSCHED="anticipatory"
141CONFIG_CLASSIC_RCU=y 157CONFIG_CLASSIC_RCU=y
142# CONFIG_PREEMPT_RCU is not set
143# CONFIG_PPC4xx_PCI_EXPRESS is not set 158# CONFIG_PPC4xx_PCI_EXPRESS is not set
144 159
145# 160#
146# Platform support 161# Platform support
147# 162#
148# CONFIG_PPC_MPC512x is not set
149# CONFIG_PPC_MPC5121 is not set
150# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
151# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
152# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
@@ -189,7 +202,6 @@ CONFIG_HZ=250
189CONFIG_PREEMPT_NONE=y 202CONFIG_PREEMPT_NONE=y
190# CONFIG_PREEMPT_VOLUNTARY is not set 203# CONFIG_PREEMPT_VOLUNTARY is not set
191# CONFIG_PREEMPT is not set 204# CONFIG_PREEMPT is not set
192CONFIG_RCU_TRACE=y
193CONFIG_BINFMT_ELF=y 205CONFIG_BINFMT_ELF=y
194# CONFIG_BINFMT_MISC is not set 206# CONFIG_BINFMT_MISC is not set
195# CONFIG_MATH_EMULATION is not set 207# CONFIG_MATH_EMULATION is not set
@@ -207,13 +219,17 @@ CONFIG_FLATMEM=y
207CONFIG_FLAT_NODE_MEM_MAP=y 219CONFIG_FLAT_NODE_MEM_MAP=y
208# CONFIG_SPARSEMEM_STATIC is not set 220# CONFIG_SPARSEMEM_STATIC is not set
209# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 221# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
222CONFIG_PAGEFLAGS_EXTENDED=y
210CONFIG_SPLIT_PTLOCK_CPUS=4 223CONFIG_SPLIT_PTLOCK_CPUS=4
224CONFIG_MIGRATION=y
211CONFIG_RESOURCES_64BIT=y 225CONFIG_RESOURCES_64BIT=y
212CONFIG_ZONE_DMA_FLAG=1 226CONFIG_ZONE_DMA_FLAG=1
213CONFIG_BOUNCE=y 227CONFIG_BOUNCE=y
214CONFIG_VIRT_TO_BUS=y 228CONFIG_VIRT_TO_BUS=y
229CONFIG_FORCE_MAX_ZONEORDER=11
215CONFIG_PROC_DEVICETREE=y 230CONFIG_PROC_DEVICETREE=y
216# CONFIG_CMDLINE_BOOL is not set 231# CONFIG_CMDLINE_BOOL is not set
232CONFIG_EXTRA_TARGETS=""
217# CONFIG_PM is not set 233# CONFIG_PM is not set
218CONFIG_SECCOMP=y 234CONFIG_SECCOMP=y
219CONFIG_ISA_DMA_API=y 235CONFIG_ISA_DMA_API=y
@@ -223,6 +239,8 @@ CONFIG_ISA_DMA_API=y
223# 239#
224CONFIG_ZONE_DMA=y 240CONFIG_ZONE_DMA=y
225CONFIG_PPC_INDIRECT_PCI=y 241CONFIG_PPC_INDIRECT_PCI=y
242CONFIG_4xx_SOC=y
243CONFIG_PPC_PCI_CHOICE=y
226CONFIG_PCI=y 244CONFIG_PCI=y
227CONFIG_PCI_DOMAINS=y 245CONFIG_PCI_DOMAINS=y
228CONFIG_PCI_SYSCALL=y 246CONFIG_PCI_SYSCALL=y
@@ -233,6 +251,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y
233# CONFIG_PCI_DEBUG is not set 251# CONFIG_PCI_DEBUG is not set
234# CONFIG_PCCARD is not set 252# CONFIG_PCCARD is not set
235# CONFIG_HOTPLUG_PCI is not set 253# CONFIG_HOTPLUG_PCI is not set
254# CONFIG_HAS_RAPIDIO is not set
236 255
237# 256#
238# Advanced setup 257# Advanced setup
@@ -242,17 +261,13 @@ CONFIG_ARCH_SUPPORTS_MSI=y
242# 261#
243# Default settings for advanced configuration options are used 262# Default settings for advanced configuration options are used
244# 263#
245CONFIG_HIGHMEM_START=0xfe000000
246CONFIG_LOWMEM_SIZE=0x30000000 264CONFIG_LOWMEM_SIZE=0x30000000
265CONFIG_PAGE_OFFSET=0xc0000000
247CONFIG_KERNEL_START=0xc0000000 266CONFIG_KERNEL_START=0xc0000000
267CONFIG_PHYSICAL_START=0x00000000
248CONFIG_TASK_SIZE=0xc0000000 268CONFIG_TASK_SIZE=0xc0000000
249CONFIG_CONSISTENT_START=0xff100000 269CONFIG_CONSISTENT_START=0xff100000
250CONFIG_CONSISTENT_SIZE=0x00200000 270CONFIG_CONSISTENT_SIZE=0x00200000
251CONFIG_BOOT_LOAD=0x00400000
252
253#
254# Networking
255#
256CONFIG_NET=y 271CONFIG_NET=y
257 272
258# 273#
@@ -290,8 +305,6 @@ CONFIG_TCP_CONG_CUBIC=y
290CONFIG_DEFAULT_TCP_CONG="cubic" 305CONFIG_DEFAULT_TCP_CONG="cubic"
291# CONFIG_TCP_MD5SIG is not set 306# CONFIG_TCP_MD5SIG is not set
292# CONFIG_IPV6 is not set 307# CONFIG_IPV6 is not set
293# CONFIG_INET6_XFRM_TUNNEL is not set
294# CONFIG_INET6_TUNNEL is not set
295# CONFIG_NETWORK_SECMARK is not set 308# CONFIG_NETWORK_SECMARK is not set
296# CONFIG_NETFILTER is not set 309# CONFIG_NETFILTER is not set
297# CONFIG_IP_DCCP is not set 310# CONFIG_IP_DCCP is not set
@@ -341,6 +354,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
341CONFIG_STANDALONE=y 354CONFIG_STANDALONE=y
342CONFIG_PREVENT_FIRMWARE_BUILD=y 355CONFIG_PREVENT_FIRMWARE_BUILD=y
343CONFIG_FW_LOADER=y 356CONFIG_FW_LOADER=y
357CONFIG_FIRMWARE_IN_KERNEL=y
358CONFIG_EXTRA_FIRMWARE=""
344# CONFIG_DEBUG_DRIVER is not set 359# CONFIG_DEBUG_DRIVER is not set
345# CONFIG_DEBUG_DEVRES is not set 360# CONFIG_DEBUG_DEVRES is not set
346# CONFIG_SYS_HYPERVISOR is not set 361# CONFIG_SYS_HYPERVISOR is not set
@@ -353,6 +368,7 @@ CONFIG_MTD_PARTITIONS=y
353# CONFIG_MTD_REDBOOT_PARTS is not set 368# CONFIG_MTD_REDBOOT_PARTS is not set
354CONFIG_MTD_CMDLINE_PARTS=y 369CONFIG_MTD_CMDLINE_PARTS=y
355CONFIG_MTD_OF_PARTS=y 370CONFIG_MTD_OF_PARTS=y
371# CONFIG_MTD_AR7_PARTS is not set
356 372
357# 373#
358# User Modules And Translation Layers 374# User Modules And Translation Layers
@@ -443,12 +459,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
443# CONFIG_CDROM_PKTCDVD is not set 459# CONFIG_CDROM_PKTCDVD is not set
444# CONFIG_ATA_OVER_ETH is not set 460# CONFIG_ATA_OVER_ETH is not set
445# CONFIG_XILINX_SYSACE is not set 461# CONFIG_XILINX_SYSACE is not set
462# CONFIG_BLK_DEV_HD is not set
446CONFIG_MISC_DEVICES=y 463CONFIG_MISC_DEVICES=y
447# CONFIG_PHANTOM is not set 464# CONFIG_PHANTOM is not set
448# CONFIG_EEPROM_93CX6 is not set 465# CONFIG_EEPROM_93CX6 is not set
449# CONFIG_SGI_IOC4 is not set 466# CONFIG_SGI_IOC4 is not set
450# CONFIG_TIFM_CORE is not set 467# CONFIG_TIFM_CORE is not set
451# CONFIG_ENCLOSURE_SERVICES is not set 468# CONFIG_ENCLOSURE_SERVICES is not set
469# CONFIG_HP_ILO is not set
452CONFIG_HAVE_IDE=y 470CONFIG_HAVE_IDE=y
453# CONFIG_IDE is not set 471# CONFIG_IDE is not set
454 472
@@ -466,12 +484,15 @@ CONFIG_HAVE_IDE=y
466# 484#
467# IEEE 1394 (FireWire) support 485# IEEE 1394 (FireWire) support
468# 486#
487
488#
489# Enable only one of the two stacks, unless you know what you are doing
490#
469# CONFIG_FIREWIRE is not set 491# CONFIG_FIREWIRE is not set
470# CONFIG_IEEE1394 is not set 492# CONFIG_IEEE1394 is not set
471# CONFIG_I2O is not set 493# CONFIG_I2O is not set
472# CONFIG_MACINTOSH_DRIVERS is not set 494# CONFIG_MACINTOSH_DRIVERS is not set
473CONFIG_NETDEVICES=y 495CONFIG_NETDEVICES=y
474# CONFIG_NETDEVICES_MULTIQUEUE is not set
475# CONFIG_DUMMY is not set 496# CONFIG_DUMMY is not set
476# CONFIG_BONDING is not set 497# CONFIG_BONDING is not set
477# CONFIG_MACVLAN is not set 498# CONFIG_MACVLAN is not set
@@ -506,7 +527,6 @@ CONFIG_NETDEV_1000=y
506# CONFIG_DL2K is not set 527# CONFIG_DL2K is not set
507# CONFIG_E1000 is not set 528# CONFIG_E1000 is not set
508# CONFIG_E1000E is not set 529# CONFIG_E1000E is not set
509# CONFIG_E1000E_ENABLED is not set
510# CONFIG_IP1000 is not set 530# CONFIG_IP1000 is not set
511# CONFIG_IGB is not set 531# CONFIG_IGB is not set
512# CONFIG_NS83820 is not set 532# CONFIG_NS83820 is not set
@@ -516,12 +536,12 @@ CONFIG_NETDEV_1000=y
516# CONFIG_SIS190 is not set 536# CONFIG_SIS190 is not set
517# CONFIG_SKGE is not set 537# CONFIG_SKGE is not set
518# CONFIG_SKY2 is not set 538# CONFIG_SKY2 is not set
519# CONFIG_SK98LIN is not set
520# CONFIG_VIA_VELOCITY is not set 539# CONFIG_VIA_VELOCITY is not set
521# CONFIG_TIGON3 is not set 540# CONFIG_TIGON3 is not set
522# CONFIG_BNX2 is not set 541# CONFIG_BNX2 is not set
523# CONFIG_QLA3XXX is not set 542# CONFIG_QLA3XXX is not set
524# CONFIG_ATL1 is not set 543# CONFIG_ATL1 is not set
544# CONFIG_ATL1E is not set
525CONFIG_NETDEV_10000=y 545CONFIG_NETDEV_10000=y
526# CONFIG_CHELSIO_T1 is not set 546# CONFIG_CHELSIO_T1 is not set
527# CONFIG_CHELSIO_T3 is not set 547# CONFIG_CHELSIO_T3 is not set
@@ -534,6 +554,7 @@ CONFIG_NETDEV_10000=y
534# CONFIG_MLX4_CORE is not set 554# CONFIG_MLX4_CORE is not set
535# CONFIG_TEHUTI is not set 555# CONFIG_TEHUTI is not set
536# CONFIG_BNX2X is not set 556# CONFIG_BNX2X is not set
557# CONFIG_SFC is not set
537# CONFIG_TR is not set 558# CONFIG_TR is not set
538 559
539# 560#
@@ -541,6 +562,7 @@ CONFIG_NETDEV_10000=y
541# 562#
542# CONFIG_WLAN_PRE80211 is not set 563# CONFIG_WLAN_PRE80211 is not set
543# CONFIG_WLAN_80211 is not set 564# CONFIG_WLAN_80211 is not set
565# CONFIG_IWLWIFI_LEDS is not set
544# CONFIG_WAN is not set 566# CONFIG_WAN is not set
545# CONFIG_FDDI is not set 567# CONFIG_FDDI is not set
546# CONFIG_HIPPI is not set 568# CONFIG_HIPPI is not set
@@ -567,6 +589,7 @@ CONFIG_NETDEV_10000=y
567# Character devices 589# Character devices
568# 590#
569# CONFIG_VT is not set 591# CONFIG_VT is not set
592CONFIG_DEVKMEM=y
570# CONFIG_SERIAL_NONSTANDARD is not set 593# CONFIG_SERIAL_NONSTANDARD is not set
571# CONFIG_NOZOMI is not set 594# CONFIG_NOZOMI is not set
572 595
@@ -605,12 +628,9 @@ CONFIG_LEGACY_PTY_COUNT=256
605# CONFIG_TCG_TPM is not set 628# CONFIG_TCG_TPM is not set
606CONFIG_DEVPORT=y 629CONFIG_DEVPORT=y
607# CONFIG_I2C is not set 630# CONFIG_I2C is not set
608
609#
610# SPI support
611#
612# CONFIG_SPI is not set 631# CONFIG_SPI is not set
613# CONFIG_SPI_MASTER is not set 632CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
633# CONFIG_GPIOLIB is not set
614# CONFIG_W1 is not set 634# CONFIG_W1 is not set
615# CONFIG_POWER_SUPPLY is not set 635# CONFIG_POWER_SUPPLY is not set
616# CONFIG_HWMON is not set 636# CONFIG_HWMON is not set
@@ -626,13 +646,24 @@ CONFIG_SSB_POSSIBLE=y
626# 646#
627# Multifunction device drivers 647# Multifunction device drivers
628# 648#
649# CONFIG_MFD_CORE is not set
629# CONFIG_MFD_SM501 is not set 650# CONFIG_MFD_SM501 is not set
651# CONFIG_HTC_PASIC3 is not set
630 652
631# 653#
632# Multimedia devices 654# Multimedia devices
633# 655#
656
657#
658# Multimedia core support
659#
634# CONFIG_VIDEO_DEV is not set 660# CONFIG_VIDEO_DEV is not set
635# CONFIG_DVB_CORE is not set 661# CONFIG_DVB_CORE is not set
662# CONFIG_VIDEO_MEDIA is not set
663
664#
665# Multimedia drivers
666#
636# CONFIG_DAB is not set 667# CONFIG_DAB is not set
637 668
638# 669#
@@ -649,16 +680,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
649# Display device support 680# Display device support
650# 681#
651# CONFIG_DISPLAY_SUPPORT is not set 682# CONFIG_DISPLAY_SUPPORT is not set
652
653#
654# Sound
655#
656# CONFIG_SOUND is not set 683# CONFIG_SOUND is not set
657CONFIG_USB_SUPPORT=y 684CONFIG_USB_SUPPORT=y
658CONFIG_USB_ARCH_HAS_HCD=y 685CONFIG_USB_ARCH_HAS_HCD=y
659CONFIG_USB_ARCH_HAS_OHCI=y 686CONFIG_USB_ARCH_HAS_OHCI=y
660CONFIG_USB_ARCH_HAS_EHCI=y 687CONFIG_USB_ARCH_HAS_EHCI=y
661# CONFIG_USB is not set 688# CONFIG_USB is not set
689# CONFIG_USB_OTG_WHITELIST is not set
690# CONFIG_USB_OTG_BLACKLIST_HUB is not set
662 691
663# 692#
664# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 693# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -667,13 +696,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
667# CONFIG_MMC is not set 696# CONFIG_MMC is not set
668# CONFIG_MEMSTICK is not set 697# CONFIG_MEMSTICK is not set
669# CONFIG_NEW_LEDS is not set 698# CONFIG_NEW_LEDS is not set
699# CONFIG_ACCESSIBILITY is not set
670# CONFIG_INFINIBAND is not set 700# CONFIG_INFINIBAND is not set
671# CONFIG_EDAC is not set 701# CONFIG_EDAC is not set
672# CONFIG_RTC_CLASS is not set 702# CONFIG_RTC_CLASS is not set
673 703# CONFIG_DMADEVICES is not set
674#
675# Userspace I/O
676#
677# CONFIG_UIO is not set 704# CONFIG_UIO is not set
678 705
679# 706#
@@ -688,7 +715,6 @@ CONFIG_EXT2_FS=y
688# CONFIG_JFS_FS is not set 715# CONFIG_JFS_FS is not set
689# CONFIG_FS_POSIX_ACL is not set 716# CONFIG_FS_POSIX_ACL is not set
690# CONFIG_XFS_FS is not set 717# CONFIG_XFS_FS is not set
691# CONFIG_GFS2_FS is not set
692# CONFIG_OCFS2_FS is not set 718# CONFIG_OCFS2_FS is not set
693CONFIG_DNOTIFY=y 719CONFIG_DNOTIFY=y
694CONFIG_INOTIFY=y 720CONFIG_INOTIFY=y
@@ -737,6 +763,7 @@ CONFIG_TMPFS=y
737CONFIG_CRAMFS=y 763CONFIG_CRAMFS=y
738# CONFIG_VXFS_FS is not set 764# CONFIG_VXFS_FS is not set
739# CONFIG_MINIX_FS is not set 765# CONFIG_MINIX_FS is not set
766# CONFIG_OMFS_FS is not set
740# CONFIG_HPFS_FS is not set 767# CONFIG_HPFS_FS is not set
741# CONFIG_QNX4FS_FS is not set 768# CONFIG_QNX4FS_FS is not set
742# CONFIG_ROMFS_FS is not set 769# CONFIG_ROMFS_FS is not set
@@ -747,14 +774,12 @@ CONFIG_NFS_FS=y
747CONFIG_NFS_V3=y 774CONFIG_NFS_V3=y
748# CONFIG_NFS_V3_ACL is not set 775# CONFIG_NFS_V3_ACL is not set
749# CONFIG_NFS_V4 is not set 776# CONFIG_NFS_V4 is not set
750# CONFIG_NFS_DIRECTIO is not set
751# CONFIG_NFSD is not set
752CONFIG_ROOT_NFS=y 777CONFIG_ROOT_NFS=y
778# CONFIG_NFSD is not set
753CONFIG_LOCKD=y 779CONFIG_LOCKD=y
754CONFIG_LOCKD_V4=y 780CONFIG_LOCKD_V4=y
755CONFIG_NFS_COMMON=y 781CONFIG_NFS_COMMON=y
756CONFIG_SUNRPC=y 782CONFIG_SUNRPC=y
757# CONFIG_SUNRPC_BIND34 is not set
758# CONFIG_RPCSEC_GSS_KRB5 is not set 783# CONFIG_RPCSEC_GSS_KRB5 is not set
759# CONFIG_RPCSEC_GSS_SPKM3 is not set 784# CONFIG_RPCSEC_GSS_SPKM3 is not set
760# CONFIG_SMB_FS is not set 785# CONFIG_SMB_FS is not set
@@ -775,8 +800,10 @@ CONFIG_MSDOS_PARTITION=y
775# Library routines 800# Library routines
776# 801#
777CONFIG_BITREVERSE=y 802CONFIG_BITREVERSE=y
803# CONFIG_GENERIC_FIND_FIRST_BIT is not set
778# CONFIG_CRC_CCITT is not set 804# CONFIG_CRC_CCITT is not set
779# CONFIG_CRC16 is not set 805# CONFIG_CRC16 is not set
806# CONFIG_CRC_T10DIF is not set
780# CONFIG_CRC_ITU_T is not set 807# CONFIG_CRC_ITU_T is not set
781CONFIG_CRC32=y 808CONFIG_CRC32=y
782# CONFIG_CRC7 is not set 809# CONFIG_CRC7 is not set
@@ -786,6 +813,7 @@ CONFIG_PLIST=y
786CONFIG_HAS_IOMEM=y 813CONFIG_HAS_IOMEM=y
787CONFIG_HAS_IOPORT=y 814CONFIG_HAS_IOPORT=y
788CONFIG_HAS_DMA=y 815CONFIG_HAS_DMA=y
816CONFIG_HAVE_LMB=y
789 817
790# 818#
791# Kernel hacking 819# Kernel hacking
@@ -793,6 +821,7 @@ CONFIG_HAS_DMA=y
793# CONFIG_PRINTK_TIME is not set 821# CONFIG_PRINTK_TIME is not set
794CONFIG_ENABLE_WARN_DEPRECATED=y 822CONFIG_ENABLE_WARN_DEPRECATED=y
795CONFIG_ENABLE_MUST_CHECK=y 823CONFIG_ENABLE_MUST_CHECK=y
824CONFIG_FRAME_WARN=1024
796CONFIG_MAGIC_SYSRQ=y 825CONFIG_MAGIC_SYSRQ=y
797# CONFIG_UNUSED_SYMBOLS is not set 826# CONFIG_UNUSED_SYMBOLS is not set
798CONFIG_DEBUG_FS=y 827CONFIG_DEBUG_FS=y
@@ -800,9 +829,12 @@ CONFIG_DEBUG_FS=y
800CONFIG_DEBUG_KERNEL=y 829CONFIG_DEBUG_KERNEL=y
801# CONFIG_DEBUG_SHIRQ is not set 830# CONFIG_DEBUG_SHIRQ is not set
802CONFIG_DETECT_SOFTLOCKUP=y 831CONFIG_DETECT_SOFTLOCKUP=y
832# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
833CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
803CONFIG_SCHED_DEBUG=y 834CONFIG_SCHED_DEBUG=y
804# CONFIG_SCHEDSTATS is not set 835# CONFIG_SCHEDSTATS is not set
805# CONFIG_TIMER_STATS is not set 836# CONFIG_TIMER_STATS is not set
837# CONFIG_DEBUG_OBJECTS is not set
806# CONFIG_SLUB_DEBUG_ON is not set 838# CONFIG_SLUB_DEBUG_ON is not set
807# CONFIG_SLUB_STATS is not set 839# CONFIG_SLUB_STATS is not set
808# CONFIG_DEBUG_RT_MUTEXES is not set 840# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -815,17 +847,30 @@ CONFIG_SCHED_DEBUG=y
815CONFIG_DEBUG_BUGVERBOSE=y 847CONFIG_DEBUG_BUGVERBOSE=y
816# CONFIG_DEBUG_INFO is not set 848# CONFIG_DEBUG_INFO is not set
817# CONFIG_DEBUG_VM is not set 849# CONFIG_DEBUG_VM is not set
850# CONFIG_DEBUG_WRITECOUNT is not set
851# CONFIG_DEBUG_MEMORY_INIT is not set
818# CONFIG_DEBUG_LIST is not set 852# CONFIG_DEBUG_LIST is not set
819# CONFIG_DEBUG_SG is not set 853# CONFIG_DEBUG_SG is not set
820# CONFIG_BOOT_PRINTK_DELAY is not set 854# CONFIG_BOOT_PRINTK_DELAY is not set
821# CONFIG_RCU_TORTURE_TEST is not set 855# CONFIG_RCU_TORTURE_TEST is not set
822# CONFIG_BACKTRACE_SELF_TEST is not set 856# CONFIG_BACKTRACE_SELF_TEST is not set
823# CONFIG_FAULT_INJECTION is not set 857# CONFIG_FAULT_INJECTION is not set
858# CONFIG_LATENCYTOP is not set
859CONFIG_HAVE_FTRACE=y
860CONFIG_HAVE_DYNAMIC_FTRACE=y
861# CONFIG_FTRACE is not set
862# CONFIG_SCHED_TRACER is not set
863# CONFIG_CONTEXT_SWITCH_TRACER is not set
824# CONFIG_SAMPLES is not set 864# CONFIG_SAMPLES is not set
865CONFIG_HAVE_ARCH_KGDB=y
866# CONFIG_KGDB is not set
825# CONFIG_DEBUG_STACKOVERFLOW is not set 867# CONFIG_DEBUG_STACKOVERFLOW is not set
826# CONFIG_DEBUG_STACK_USAGE is not set 868# CONFIG_DEBUG_STACK_USAGE is not set
827# CONFIG_DEBUG_PAGEALLOC is not set 869# CONFIG_DEBUG_PAGEALLOC is not set
828# CONFIG_DEBUGGER is not set 870# CONFIG_CODE_PATCHING_SELFTEST is not set
871# CONFIG_FTR_FIXUP_SELFTEST is not set
872# CONFIG_XMON is not set
873# CONFIG_IRQSTACKS is not set
829# CONFIG_VIRQ_DEBUG is not set 874# CONFIG_VIRQ_DEBUG is not set
830# CONFIG_BDI_SWITCH is not set 875# CONFIG_BDI_SWITCH is not set
831# CONFIG_PPC_EARLY_DEBUG is not set 876# CONFIG_PPC_EARLY_DEBUG is not set
@@ -837,51 +882,85 @@ CONFIG_DEBUG_BUGVERBOSE=y
837# CONFIG_SECURITY is not set 882# CONFIG_SECURITY is not set
838# CONFIG_SECURITY_FILE_CAPABILITIES is not set 883# CONFIG_SECURITY_FILE_CAPABILITIES is not set
839CONFIG_CRYPTO=y 884CONFIG_CRYPTO=y
885
886#
887# Crypto core or helper
888#
840CONFIG_CRYPTO_ALGAPI=y 889CONFIG_CRYPTO_ALGAPI=y
841CONFIG_CRYPTO_BLKCIPHER=y 890CONFIG_CRYPTO_BLKCIPHER=y
842# CONFIG_CRYPTO_SEQIV is not set
843CONFIG_CRYPTO_MANAGER=y 891CONFIG_CRYPTO_MANAGER=y
892# CONFIG_CRYPTO_GF128MUL is not set
893# CONFIG_CRYPTO_NULL is not set
894# CONFIG_CRYPTO_CRYPTD is not set
895# CONFIG_CRYPTO_AUTHENC is not set
896# CONFIG_CRYPTO_TEST is not set
897
898#
899# Authenticated Encryption with Associated Data
900#
901# CONFIG_CRYPTO_CCM is not set
902# CONFIG_CRYPTO_GCM is not set
903# CONFIG_CRYPTO_SEQIV is not set
904
905#
906# Block modes
907#
908CONFIG_CRYPTO_CBC=y
909# CONFIG_CRYPTO_CTR is not set
910# CONFIG_CRYPTO_CTS is not set
911CONFIG_CRYPTO_ECB=y
912# CONFIG_CRYPTO_LRW is not set
913CONFIG_CRYPTO_PCBC=y
914# CONFIG_CRYPTO_XTS is not set
915
916#
917# Hash modes
918#
844# CONFIG_CRYPTO_HMAC is not set 919# CONFIG_CRYPTO_HMAC is not set
845# CONFIG_CRYPTO_XCBC is not set 920# CONFIG_CRYPTO_XCBC is not set
846# CONFIG_CRYPTO_NULL is not set 921
922#
923# Digest
924#
925# CONFIG_CRYPTO_CRC32C is not set
847# CONFIG_CRYPTO_MD4 is not set 926# CONFIG_CRYPTO_MD4 is not set
848CONFIG_CRYPTO_MD5=y 927CONFIG_CRYPTO_MD5=y
928# CONFIG_CRYPTO_MICHAEL_MIC is not set
929# CONFIG_CRYPTO_RMD128 is not set
930# CONFIG_CRYPTO_RMD160 is not set
931# CONFIG_CRYPTO_RMD256 is not set
932# CONFIG_CRYPTO_RMD320 is not set
849# CONFIG_CRYPTO_SHA1 is not set 933# CONFIG_CRYPTO_SHA1 is not set
850# CONFIG_CRYPTO_SHA256 is not set 934# CONFIG_CRYPTO_SHA256 is not set
851# CONFIG_CRYPTO_SHA512 is not set 935# CONFIG_CRYPTO_SHA512 is not set
852# CONFIG_CRYPTO_WP512 is not set
853# CONFIG_CRYPTO_TGR192 is not set 936# CONFIG_CRYPTO_TGR192 is not set
854# CONFIG_CRYPTO_GF128MUL is not set 937# CONFIG_CRYPTO_WP512 is not set
855CONFIG_CRYPTO_ECB=y 938
856CONFIG_CRYPTO_CBC=y 939#
857CONFIG_CRYPTO_PCBC=y 940# Ciphers
858# CONFIG_CRYPTO_LRW is not set 941#
859# CONFIG_CRYPTO_XTS is not set
860# CONFIG_CRYPTO_CTR is not set
861# CONFIG_CRYPTO_GCM is not set
862# CONFIG_CRYPTO_CCM is not set
863# CONFIG_CRYPTO_CRYPTD is not set
864CONFIG_CRYPTO_DES=y
865# CONFIG_CRYPTO_FCRYPT is not set
866# CONFIG_CRYPTO_BLOWFISH is not set
867# CONFIG_CRYPTO_TWOFISH is not set
868# CONFIG_CRYPTO_SERPENT is not set
869# CONFIG_CRYPTO_AES is not set 942# CONFIG_CRYPTO_AES is not set
943# CONFIG_CRYPTO_ANUBIS is not set
944# CONFIG_CRYPTO_ARC4 is not set
945# CONFIG_CRYPTO_BLOWFISH is not set
946# CONFIG_CRYPTO_CAMELLIA is not set
870# CONFIG_CRYPTO_CAST5 is not set 947# CONFIG_CRYPTO_CAST5 is not set
871# CONFIG_CRYPTO_CAST6 is not set 948# CONFIG_CRYPTO_CAST6 is not set
872# CONFIG_CRYPTO_TEA is not set 949CONFIG_CRYPTO_DES=y
873# CONFIG_CRYPTO_ARC4 is not set 950# CONFIG_CRYPTO_FCRYPT is not set
874# CONFIG_CRYPTO_KHAZAD is not set 951# CONFIG_CRYPTO_KHAZAD is not set
875# CONFIG_CRYPTO_ANUBIS is not set
876# CONFIG_CRYPTO_SEED is not set
877# CONFIG_CRYPTO_SALSA20 is not set 952# CONFIG_CRYPTO_SALSA20 is not set
953# CONFIG_CRYPTO_SEED is not set
954# CONFIG_CRYPTO_SERPENT is not set
955# CONFIG_CRYPTO_TEA is not set
956# CONFIG_CRYPTO_TWOFISH is not set
957
958#
959# Compression
960#
878# CONFIG_CRYPTO_DEFLATE is not set 961# CONFIG_CRYPTO_DEFLATE is not set
879# CONFIG_CRYPTO_MICHAEL_MIC is not set
880# CONFIG_CRYPTO_CRC32C is not set
881# CONFIG_CRYPTO_CAMELLIA is not set
882# CONFIG_CRYPTO_TEST is not set
883# CONFIG_CRYPTO_AUTHENC is not set
884# CONFIG_CRYPTO_LZO is not set 962# CONFIG_CRYPTO_LZO is not set
885CONFIG_CRYPTO_HW=y 963CONFIG_CRYPTO_HW=y
886# CONFIG_CRYPTO_DEV_HIFN_795X is not set 964# CONFIG_CRYPTO_DEV_HIFN_795X is not set
887# CONFIG_PPC_CLOCK is not set 965# CONFIG_PPC_CLOCK is not set
966# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/bamboo_defconfig b/arch/powerpc/configs/44x/bamboo_defconfig
index c44db554cdc6..e920693535af 100644
--- a/arch/powerpc/configs/44x/bamboo_defconfig
+++ b/arch/powerpc/configs/44x/bamboo_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:36:39 2008 4# Tue Aug 5 08:43:44 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,8 +30,12 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
38CONFIG_LOCKDEP_SUPPORT=y
35CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
36CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
37CONFIG_GENERIC_HWEIGHT=y 41CONFIG_GENERIC_HWEIGHT=y
@@ -79,6 +83,7 @@ CONFIG_FAIR_GROUP_SCHED=y
79CONFIG_USER_SCHED=y 83CONFIG_USER_SCHED=y
80# CONFIG_CGROUP_SCHED is not set 84# CONFIG_CGROUP_SCHED is not set
81CONFIG_SYSFS_DEPRECATED=y 85CONFIG_SYSFS_DEPRECATED=y
86CONFIG_SYSFS_DEPRECATED_V2=y
82# CONFIG_RELAY is not set 87# CONFIG_RELAY is not set
83# CONFIG_NAMESPACES is not set 88# CONFIG_NAMESPACES is not set
84CONFIG_BLK_DEV_INITRD=y 89CONFIG_BLK_DEV_INITRD=y
@@ -87,6 +92,7 @@ CONFIG_INITRAMFS_SOURCE=""
87CONFIG_SYSCTL=y 92CONFIG_SYSCTL=y
88CONFIG_EMBEDDED=y 93CONFIG_EMBEDDED=y
89CONFIG_SYSCTL_SYSCALL=y 94CONFIG_SYSCTL_SYSCALL=y
95CONFIG_SYSCTL_SYSCALL_CHECK=y
90CONFIG_KALLSYMS=y 96CONFIG_KALLSYMS=y
91# CONFIG_KALLSYMS_ALL is not set 97# CONFIG_KALLSYMS_ALL is not set
92# CONFIG_KALLSYMS_EXTRA_PASS is not set 98# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -112,13 +118,22 @@ CONFIG_SLUB=y
112# CONFIG_MARKERS is not set 118# CONFIG_MARKERS is not set
113CONFIG_HAVE_OPROFILE=y 119CONFIG_HAVE_OPROFILE=y
114# CONFIG_KPROBES is not set 120# CONFIG_KPROBES is not set
121CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
122CONFIG_HAVE_IOREMAP_PROT=y
115CONFIG_HAVE_KPROBES=y 123CONFIG_HAVE_KPROBES=y
124CONFIG_HAVE_KRETPROBES=y
125CONFIG_HAVE_ARCH_TRACEHOOK=y
126# CONFIG_HAVE_DMA_ATTRS is not set
127# CONFIG_USE_GENERIC_SMP_HELPERS is not set
128# CONFIG_HAVE_CLK is not set
116CONFIG_PROC_PAGE_MONITOR=y 129CONFIG_PROC_PAGE_MONITOR=y
130# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
117CONFIG_SLABINFO=y 131CONFIG_SLABINFO=y
118CONFIG_RT_MUTEXES=y 132CONFIG_RT_MUTEXES=y
119# CONFIG_TINY_SHMEM is not set 133# CONFIG_TINY_SHMEM is not set
120CONFIG_BASE_SMALL=0 134CONFIG_BASE_SMALL=0
121CONFIG_MODULES=y 135CONFIG_MODULES=y
136# CONFIG_MODULE_FORCE_LOAD is not set
122CONFIG_MODULE_UNLOAD=y 137CONFIG_MODULE_UNLOAD=y
123# CONFIG_MODULE_FORCE_UNLOAD is not set 138# CONFIG_MODULE_FORCE_UNLOAD is not set
124# CONFIG_MODVERSIONS is not set 139# CONFIG_MODVERSIONS is not set
@@ -129,6 +144,7 @@ CONFIG_LBD=y
129# CONFIG_BLK_DEV_IO_TRACE is not set 144# CONFIG_BLK_DEV_IO_TRACE is not set
130# CONFIG_LSF is not set 145# CONFIG_LSF is not set
131# CONFIG_BLK_DEV_BSG is not set 146# CONFIG_BLK_DEV_BSG is not set
147# CONFIG_BLK_DEV_INTEGRITY is not set
132 148
133# 149#
134# IO Schedulers 150# IO Schedulers
@@ -143,24 +159,25 @@ CONFIG_DEFAULT_AS=y
143# CONFIG_DEFAULT_NOOP is not set 159# CONFIG_DEFAULT_NOOP is not set
144CONFIG_DEFAULT_IOSCHED="anticipatory" 160CONFIG_DEFAULT_IOSCHED="anticipatory"
145CONFIG_CLASSIC_RCU=y 161CONFIG_CLASSIC_RCU=y
146# CONFIG_PREEMPT_RCU is not set
147# CONFIG_PPC4xx_PCI_EXPRESS is not set 162# CONFIG_PPC4xx_PCI_EXPRESS is not set
148 163
149# 164#
150# Platform support 165# Platform support
151# 166#
152# CONFIG_PPC_MPC512x is not set
153# CONFIG_PPC_MPC5121 is not set
154# CONFIG_PPC_CELL is not set 167# CONFIG_PPC_CELL is not set
155# CONFIG_PPC_CELL_NATIVE is not set 168# CONFIG_PPC_CELL_NATIVE is not set
156# CONFIG_PQ2ADS is not set 169# CONFIG_PQ2ADS is not set
157CONFIG_BAMBOO=y 170CONFIG_BAMBOO=y
158# CONFIG_EBONY is not set 171# CONFIG_EBONY is not set
172# CONFIG_SAM440EP is not set
159# CONFIG_SEQUOIA is not set 173# CONFIG_SEQUOIA is not set
160# CONFIG_TAISHAN is not set 174# CONFIG_TAISHAN is not set
161# CONFIG_KATMAI is not set 175# CONFIG_KATMAI is not set
162# CONFIG_RAINIER is not set 176# CONFIG_RAINIER is not set
163# CONFIG_WARP is not set 177# CONFIG_WARP is not set
178# CONFIG_CANYONLANDS is not set
179# CONFIG_YOSEMITE is not set
180# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
164CONFIG_440EP=y 181CONFIG_440EP=y
165CONFIG_IBM440EP_ERR42=y 182CONFIG_IBM440EP_ERR42=y
166# CONFIG_IPIC is not set 183# CONFIG_IPIC is not set
@@ -193,7 +210,6 @@ CONFIG_HZ=250
193CONFIG_PREEMPT_NONE=y 210CONFIG_PREEMPT_NONE=y
194# CONFIG_PREEMPT_VOLUNTARY is not set 211# CONFIG_PREEMPT_VOLUNTARY is not set
195# CONFIG_PREEMPT is not set 212# CONFIG_PREEMPT is not set
196CONFIG_RCU_TRACE=y
197CONFIG_BINFMT_ELF=y 213CONFIG_BINFMT_ELF=y
198# CONFIG_BINFMT_MISC is not set 214# CONFIG_BINFMT_MISC is not set
199# CONFIG_MATH_EMULATION is not set 215# CONFIG_MATH_EMULATION is not set
@@ -211,14 +227,18 @@ CONFIG_FLATMEM=y
211CONFIG_FLAT_NODE_MEM_MAP=y 227CONFIG_FLAT_NODE_MEM_MAP=y
212# CONFIG_SPARSEMEM_STATIC is not set 228# CONFIG_SPARSEMEM_STATIC is not set
213# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 229# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
230CONFIG_PAGEFLAGS_EXTENDED=y
214CONFIG_SPLIT_PTLOCK_CPUS=4 231CONFIG_SPLIT_PTLOCK_CPUS=4
232CONFIG_MIGRATION=y
215CONFIG_RESOURCES_64BIT=y 233CONFIG_RESOURCES_64BIT=y
216CONFIG_ZONE_DMA_FLAG=1 234CONFIG_ZONE_DMA_FLAG=1
217CONFIG_BOUNCE=y 235CONFIG_BOUNCE=y
218CONFIG_VIRT_TO_BUS=y 236CONFIG_VIRT_TO_BUS=y
237CONFIG_FORCE_MAX_ZONEORDER=11
219CONFIG_PROC_DEVICETREE=y 238CONFIG_PROC_DEVICETREE=y
220CONFIG_CMDLINE_BOOL=y 239CONFIG_CMDLINE_BOOL=y
221CONFIG_CMDLINE="" 240CONFIG_CMDLINE=""
241CONFIG_EXTRA_TARGETS=""
222CONFIG_SECCOMP=y 242CONFIG_SECCOMP=y
223CONFIG_ISA_DMA_API=y 243CONFIG_ISA_DMA_API=y
224 244
@@ -227,6 +247,8 @@ CONFIG_ISA_DMA_API=y
227# 247#
228CONFIG_ZONE_DMA=y 248CONFIG_ZONE_DMA=y
229CONFIG_PPC_INDIRECT_PCI=y 249CONFIG_PPC_INDIRECT_PCI=y
250CONFIG_4xx_SOC=y
251CONFIG_PPC_PCI_CHOICE=y
230CONFIG_PCI=y 252CONFIG_PCI=y
231CONFIG_PCI_DOMAINS=y 253CONFIG_PCI_DOMAINS=y
232CONFIG_PCI_SYSCALL=y 254CONFIG_PCI_SYSCALL=y
@@ -237,6 +259,7 @@ CONFIG_PCI_LEGACY=y
237# CONFIG_PCI_DEBUG is not set 259# CONFIG_PCI_DEBUG is not set
238# CONFIG_PCCARD is not set 260# CONFIG_PCCARD is not set
239# CONFIG_HOTPLUG_PCI is not set 261# CONFIG_HOTPLUG_PCI is not set
262# CONFIG_HAS_RAPIDIO is not set
240 263
241# 264#
242# Advanced setup 265# Advanced setup
@@ -246,17 +269,13 @@ CONFIG_PCI_LEGACY=y
246# 269#
247# Default settings for advanced configuration options are used 270# Default settings for advanced configuration options are used
248# 271#
249CONFIG_HIGHMEM_START=0xfe000000
250CONFIG_LOWMEM_SIZE=0x30000000 272CONFIG_LOWMEM_SIZE=0x30000000
273CONFIG_PAGE_OFFSET=0xc0000000
251CONFIG_KERNEL_START=0xc0000000 274CONFIG_KERNEL_START=0xc0000000
275CONFIG_PHYSICAL_START=0x00000000
252CONFIG_TASK_SIZE=0xc0000000 276CONFIG_TASK_SIZE=0xc0000000
253CONFIG_CONSISTENT_START=0xff100000 277CONFIG_CONSISTENT_START=0xff100000
254CONFIG_CONSISTENT_SIZE=0x00200000 278CONFIG_CONSISTENT_SIZE=0x00200000
255CONFIG_BOOT_LOAD=0x01000000
256
257#
258# Networking
259#
260CONFIG_NET=y 279CONFIG_NET=y
261 280
262# 281#
@@ -294,8 +313,6 @@ CONFIG_TCP_CONG_CUBIC=y
294CONFIG_DEFAULT_TCP_CONG="cubic" 313CONFIG_DEFAULT_TCP_CONG="cubic"
295# CONFIG_TCP_MD5SIG is not set 314# CONFIG_TCP_MD5SIG is not set
296# CONFIG_IPV6 is not set 315# CONFIG_IPV6 is not set
297# CONFIG_INET6_XFRM_TUNNEL is not set
298# CONFIG_INET6_TUNNEL is not set
299# CONFIG_NETWORK_SECMARK is not set 316# CONFIG_NETWORK_SECMARK is not set
300# CONFIG_NETFILTER is not set 317# CONFIG_NETFILTER is not set
301# CONFIG_IP_DCCP is not set 318# CONFIG_IP_DCCP is not set
@@ -345,6 +362,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
345CONFIG_STANDALONE=y 362CONFIG_STANDALONE=y
346CONFIG_PREVENT_FIRMWARE_BUILD=y 363CONFIG_PREVENT_FIRMWARE_BUILD=y
347CONFIG_FW_LOADER=y 364CONFIG_FW_LOADER=y
365CONFIG_FIRMWARE_IN_KERNEL=y
366CONFIG_EXTRA_FIRMWARE=""
348# CONFIG_DEBUG_DRIVER is not set 367# CONFIG_DEBUG_DRIVER is not set
349# CONFIG_DEBUG_DEVRES is not set 368# CONFIG_DEBUG_DEVRES is not set
350# CONFIG_SYS_HYPERVISOR is not set 369# CONFIG_SYS_HYPERVISOR is not set
@@ -370,12 +389,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
370# CONFIG_CDROM_PKTCDVD is not set 389# CONFIG_CDROM_PKTCDVD is not set
371# CONFIG_ATA_OVER_ETH is not set 390# CONFIG_ATA_OVER_ETH is not set
372# CONFIG_XILINX_SYSACE is not set 391# CONFIG_XILINX_SYSACE is not set
392# CONFIG_BLK_DEV_HD is not set
373CONFIG_MISC_DEVICES=y 393CONFIG_MISC_DEVICES=y
374# CONFIG_PHANTOM is not set 394# CONFIG_PHANTOM is not set
375# CONFIG_EEPROM_93CX6 is not set 395# CONFIG_EEPROM_93CX6 is not set
376# CONFIG_SGI_IOC4 is not set 396# CONFIG_SGI_IOC4 is not set
377# CONFIG_TIFM_CORE is not set 397# CONFIG_TIFM_CORE is not set
378# CONFIG_ENCLOSURE_SERVICES is not set 398# CONFIG_ENCLOSURE_SERVICES is not set
399# CONFIG_HP_ILO is not set
379CONFIG_HAVE_IDE=y 400CONFIG_HAVE_IDE=y
380# CONFIG_IDE is not set 401# CONFIG_IDE is not set
381 402
@@ -393,12 +414,15 @@ CONFIG_HAVE_IDE=y
393# 414#
394# IEEE 1394 (FireWire) support 415# IEEE 1394 (FireWire) support
395# 416#
417
418#
419# Enable only one of the two stacks, unless you know what you are doing
420#
396# CONFIG_FIREWIRE is not set 421# CONFIG_FIREWIRE is not set
397# CONFIG_IEEE1394 is not set 422# CONFIG_IEEE1394 is not set
398# CONFIG_I2O is not set 423# CONFIG_I2O is not set
399# CONFIG_MACINTOSH_DRIVERS is not set 424# CONFIG_MACINTOSH_DRIVERS is not set
400CONFIG_NETDEVICES=y 425CONFIG_NETDEVICES=y
401# CONFIG_NETDEVICES_MULTIQUEUE is not set
402# CONFIG_DUMMY is not set 426# CONFIG_DUMMY is not set
403# CONFIG_BONDING is not set 427# CONFIG_BONDING is not set
404# CONFIG_MACVLAN is not set 428# CONFIG_MACVLAN is not set
@@ -433,7 +457,6 @@ CONFIG_NETDEV_1000=y
433# CONFIG_DL2K is not set 457# CONFIG_DL2K is not set
434# CONFIG_E1000 is not set 458# CONFIG_E1000 is not set
435# CONFIG_E1000E is not set 459# CONFIG_E1000E is not set
436# CONFIG_E1000E_ENABLED is not set
437# CONFIG_IP1000 is not set 460# CONFIG_IP1000 is not set
438# CONFIG_IGB is not set 461# CONFIG_IGB is not set
439# CONFIG_NS83820 is not set 462# CONFIG_NS83820 is not set
@@ -443,12 +466,12 @@ CONFIG_NETDEV_1000=y
443# CONFIG_SIS190 is not set 466# CONFIG_SIS190 is not set
444# CONFIG_SKGE is not set 467# CONFIG_SKGE is not set
445# CONFIG_SKY2 is not set 468# CONFIG_SKY2 is not set
446# CONFIG_SK98LIN is not set
447# CONFIG_VIA_VELOCITY is not set 469# CONFIG_VIA_VELOCITY is not set
448# CONFIG_TIGON3 is not set 470# CONFIG_TIGON3 is not set
449# CONFIG_BNX2 is not set 471# CONFIG_BNX2 is not set
450# CONFIG_QLA3XXX is not set 472# CONFIG_QLA3XXX is not set
451# CONFIG_ATL1 is not set 473# CONFIG_ATL1 is not set
474# CONFIG_ATL1E is not set
452CONFIG_NETDEV_10000=y 475CONFIG_NETDEV_10000=y
453# CONFIG_CHELSIO_T1 is not set 476# CONFIG_CHELSIO_T1 is not set
454# CONFIG_CHELSIO_T3 is not set 477# CONFIG_CHELSIO_T3 is not set
@@ -461,6 +484,7 @@ CONFIG_NETDEV_10000=y
461# CONFIG_MLX4_CORE is not set 484# CONFIG_MLX4_CORE is not set
462# CONFIG_TEHUTI is not set 485# CONFIG_TEHUTI is not set
463# CONFIG_BNX2X is not set 486# CONFIG_BNX2X is not set
487# CONFIG_SFC is not set
464# CONFIG_TR is not set 488# CONFIG_TR is not set
465 489
466# 490#
@@ -468,6 +492,7 @@ CONFIG_NETDEV_10000=y
468# 492#
469# CONFIG_WLAN_PRE80211 is not set 493# CONFIG_WLAN_PRE80211 is not set
470# CONFIG_WLAN_80211 is not set 494# CONFIG_WLAN_80211 is not set
495# CONFIG_IWLWIFI_LEDS is not set
471# CONFIG_WAN is not set 496# CONFIG_WAN is not set
472# CONFIG_FDDI is not set 497# CONFIG_FDDI is not set
473# CONFIG_HIPPI is not set 498# CONFIG_HIPPI is not set
@@ -494,6 +519,7 @@ CONFIG_NETDEV_10000=y
494# Character devices 519# Character devices
495# 520#
496# CONFIG_VT is not set 521# CONFIG_VT is not set
522CONFIG_DEVKMEM=y
497# CONFIG_SERIAL_NONSTANDARD is not set 523# CONFIG_SERIAL_NONSTANDARD is not set
498# CONFIG_NOZOMI is not set 524# CONFIG_NOZOMI is not set
499 525
@@ -532,12 +558,9 @@ CONFIG_LEGACY_PTY_COUNT=256
532# CONFIG_TCG_TPM is not set 558# CONFIG_TCG_TPM is not set
533CONFIG_DEVPORT=y 559CONFIG_DEVPORT=y
534# CONFIG_I2C is not set 560# CONFIG_I2C is not set
535
536#
537# SPI support
538#
539# CONFIG_SPI is not set 561# CONFIG_SPI is not set
540# CONFIG_SPI_MASTER is not set 562CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
563# CONFIG_GPIOLIB is not set
541# CONFIG_W1 is not set 564# CONFIG_W1 is not set
542# CONFIG_POWER_SUPPLY is not set 565# CONFIG_POWER_SUPPLY is not set
543# CONFIG_HWMON is not set 566# CONFIG_HWMON is not set
@@ -553,13 +576,24 @@ CONFIG_SSB_POSSIBLE=y
553# 576#
554# Multifunction device drivers 577# Multifunction device drivers
555# 578#
579# CONFIG_MFD_CORE is not set
556# CONFIG_MFD_SM501 is not set 580# CONFIG_MFD_SM501 is not set
581# CONFIG_HTC_PASIC3 is not set
557 582
558# 583#
559# Multimedia devices 584# Multimedia devices
560# 585#
586
587#
588# Multimedia core support
589#
561# CONFIG_VIDEO_DEV is not set 590# CONFIG_VIDEO_DEV is not set
562# CONFIG_DVB_CORE is not set 591# CONFIG_DVB_CORE is not set
592# CONFIG_VIDEO_MEDIA is not set
593
594#
595# Multimedia drivers
596#
563CONFIG_DAB=y 597CONFIG_DAB=y
564 598
565# 599#
@@ -576,16 +610,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
576# Display device support 610# Display device support
577# 611#
578# CONFIG_DISPLAY_SUPPORT is not set 612# CONFIG_DISPLAY_SUPPORT is not set
579
580#
581# Sound
582#
583# CONFIG_SOUND is not set 613# CONFIG_SOUND is not set
584CONFIG_USB_SUPPORT=y 614CONFIG_USB_SUPPORT=y
585CONFIG_USB_ARCH_HAS_HCD=y 615CONFIG_USB_ARCH_HAS_HCD=y
586CONFIG_USB_ARCH_HAS_OHCI=y 616CONFIG_USB_ARCH_HAS_OHCI=y
587CONFIG_USB_ARCH_HAS_EHCI=y 617CONFIG_USB_ARCH_HAS_EHCI=y
588# CONFIG_USB is not set 618# CONFIG_USB is not set
619# CONFIG_USB_OTG_WHITELIST is not set
620# CONFIG_USB_OTG_BLACKLIST_HUB is not set
589 621
590# 622#
591# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 623# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -594,13 +626,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
594# CONFIG_MMC is not set 626# CONFIG_MMC is not set
595# CONFIG_MEMSTICK is not set 627# CONFIG_MEMSTICK is not set
596# CONFIG_NEW_LEDS is not set 628# CONFIG_NEW_LEDS is not set
629# CONFIG_ACCESSIBILITY is not set
597# CONFIG_INFINIBAND is not set 630# CONFIG_INFINIBAND is not set
598# CONFIG_EDAC is not set 631# CONFIG_EDAC is not set
599# CONFIG_RTC_CLASS is not set 632# CONFIG_RTC_CLASS is not set
600 633# CONFIG_DMADEVICES is not set
601#
602# Userspace I/O
603#
604# CONFIG_UIO is not set 634# CONFIG_UIO is not set
605 635
606# 636#
@@ -615,7 +645,6 @@ CONFIG_EXT2_FS=y
615# CONFIG_JFS_FS is not set 645# CONFIG_JFS_FS is not set
616# CONFIG_FS_POSIX_ACL is not set 646# CONFIG_FS_POSIX_ACL is not set
617# CONFIG_XFS_FS is not set 647# CONFIG_XFS_FS is not set
618# CONFIG_GFS2_FS is not set
619# CONFIG_OCFS2_FS is not set 648# CONFIG_OCFS2_FS is not set
620CONFIG_DNOTIFY=y 649CONFIG_DNOTIFY=y
621CONFIG_INOTIFY=y 650CONFIG_INOTIFY=y
@@ -663,6 +692,7 @@ CONFIG_TMPFS=y
663CONFIG_CRAMFS=y 692CONFIG_CRAMFS=y
664# CONFIG_VXFS_FS is not set 693# CONFIG_VXFS_FS is not set
665# CONFIG_MINIX_FS is not set 694# CONFIG_MINIX_FS is not set
695# CONFIG_OMFS_FS is not set
666# CONFIG_HPFS_FS is not set 696# CONFIG_HPFS_FS is not set
667# CONFIG_QNX4FS_FS is not set 697# CONFIG_QNX4FS_FS is not set
668# CONFIG_ROMFS_FS is not set 698# CONFIG_ROMFS_FS is not set
@@ -673,14 +703,12 @@ CONFIG_NFS_FS=y
673CONFIG_NFS_V3=y 703CONFIG_NFS_V3=y
674# CONFIG_NFS_V3_ACL is not set 704# CONFIG_NFS_V3_ACL is not set
675# CONFIG_NFS_V4 is not set 705# CONFIG_NFS_V4 is not set
676# CONFIG_NFS_DIRECTIO is not set
677# CONFIG_NFSD is not set
678CONFIG_ROOT_NFS=y 706CONFIG_ROOT_NFS=y
707# CONFIG_NFSD is not set
679CONFIG_LOCKD=y 708CONFIG_LOCKD=y
680CONFIG_LOCKD_V4=y 709CONFIG_LOCKD_V4=y
681CONFIG_NFS_COMMON=y 710CONFIG_NFS_COMMON=y
682CONFIG_SUNRPC=y 711CONFIG_SUNRPC=y
683# CONFIG_SUNRPC_BIND34 is not set
684# CONFIG_RPCSEC_GSS_KRB5 is not set 712# CONFIG_RPCSEC_GSS_KRB5 is not set
685# CONFIG_RPCSEC_GSS_SPKM3 is not set 713# CONFIG_RPCSEC_GSS_SPKM3 is not set
686# CONFIG_SMB_FS is not set 714# CONFIG_SMB_FS is not set
@@ -701,8 +729,10 @@ CONFIG_MSDOS_PARTITION=y
701# Library routines 729# Library routines
702# 730#
703CONFIG_BITREVERSE=y 731CONFIG_BITREVERSE=y
732# CONFIG_GENERIC_FIND_FIRST_BIT is not set
704# CONFIG_CRC_CCITT is not set 733# CONFIG_CRC_CCITT is not set
705# CONFIG_CRC16 is not set 734# CONFIG_CRC16 is not set
735# CONFIG_CRC_T10DIF is not set
706# CONFIG_CRC_ITU_T is not set 736# CONFIG_CRC_ITU_T is not set
707CONFIG_CRC32=y 737CONFIG_CRC32=y
708# CONFIG_CRC7 is not set 738# CONFIG_CRC7 is not set
@@ -712,6 +742,7 @@ CONFIG_PLIST=y
712CONFIG_HAS_IOMEM=y 742CONFIG_HAS_IOMEM=y
713CONFIG_HAS_IOPORT=y 743CONFIG_HAS_IOPORT=y
714CONFIG_HAS_DMA=y 744CONFIG_HAS_DMA=y
745CONFIG_HAVE_LMB=y
715 746
716# 747#
717# Kernel hacking 748# Kernel hacking
@@ -719,6 +750,7 @@ CONFIG_HAS_DMA=y
719# CONFIG_PRINTK_TIME is not set 750# CONFIG_PRINTK_TIME is not set
720CONFIG_ENABLE_WARN_DEPRECATED=y 751CONFIG_ENABLE_WARN_DEPRECATED=y
721CONFIG_ENABLE_MUST_CHECK=y 752CONFIG_ENABLE_MUST_CHECK=y
753CONFIG_FRAME_WARN=1024
722CONFIG_MAGIC_SYSRQ=y 754CONFIG_MAGIC_SYSRQ=y
723# CONFIG_UNUSED_SYMBOLS is not set 755# CONFIG_UNUSED_SYMBOLS is not set
724CONFIG_DEBUG_FS=y 756CONFIG_DEBUG_FS=y
@@ -726,9 +758,12 @@ CONFIG_DEBUG_FS=y
726CONFIG_DEBUG_KERNEL=y 758CONFIG_DEBUG_KERNEL=y
727# CONFIG_DEBUG_SHIRQ is not set 759# CONFIG_DEBUG_SHIRQ is not set
728CONFIG_DETECT_SOFTLOCKUP=y 760CONFIG_DETECT_SOFTLOCKUP=y
761# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
762CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
729CONFIG_SCHED_DEBUG=y 763CONFIG_SCHED_DEBUG=y
730# CONFIG_SCHEDSTATS is not set 764# CONFIG_SCHEDSTATS is not set
731# CONFIG_TIMER_STATS is not set 765# CONFIG_TIMER_STATS is not set
766# CONFIG_DEBUG_OBJECTS is not set
732# CONFIG_SLUB_DEBUG_ON is not set 767# CONFIG_SLUB_DEBUG_ON is not set
733# CONFIG_SLUB_STATS is not set 768# CONFIG_SLUB_STATS is not set
734# CONFIG_DEBUG_RT_MUTEXES is not set 769# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -741,19 +776,30 @@ CONFIG_SCHED_DEBUG=y
741# CONFIG_DEBUG_BUGVERBOSE is not set 776# CONFIG_DEBUG_BUGVERBOSE is not set
742# CONFIG_DEBUG_INFO is not set 777# CONFIG_DEBUG_INFO is not set
743# CONFIG_DEBUG_VM is not set 778# CONFIG_DEBUG_VM is not set
779# CONFIG_DEBUG_WRITECOUNT is not set
780# CONFIG_DEBUG_MEMORY_INIT is not set
744# CONFIG_DEBUG_LIST is not set 781# CONFIG_DEBUG_LIST is not set
745# CONFIG_DEBUG_SG is not set 782# CONFIG_DEBUG_SG is not set
746# CONFIG_BOOT_PRINTK_DELAY is not set 783# CONFIG_BOOT_PRINTK_DELAY is not set
747# CONFIG_RCU_TORTURE_TEST is not set 784# CONFIG_RCU_TORTURE_TEST is not set
748# CONFIG_BACKTRACE_SELF_TEST is not set 785# CONFIG_BACKTRACE_SELF_TEST is not set
749# CONFIG_FAULT_INJECTION is not set 786# CONFIG_FAULT_INJECTION is not set
787# CONFIG_LATENCYTOP is not set
788CONFIG_HAVE_FTRACE=y
789CONFIG_HAVE_DYNAMIC_FTRACE=y
790# CONFIG_FTRACE is not set
791# CONFIG_SCHED_TRACER is not set
792# CONFIG_CONTEXT_SWITCH_TRACER is not set
750# CONFIG_SAMPLES is not set 793# CONFIG_SAMPLES is not set
794CONFIG_HAVE_ARCH_KGDB=y
795# CONFIG_KGDB is not set
751# CONFIG_DEBUG_STACKOVERFLOW is not set 796# CONFIG_DEBUG_STACKOVERFLOW is not set
752# CONFIG_DEBUG_STACK_USAGE is not set 797# CONFIG_DEBUG_STACK_USAGE is not set
753# CONFIG_DEBUG_PAGEALLOC is not set 798# CONFIG_DEBUG_PAGEALLOC is not set
754CONFIG_DEBUGGER=y 799# CONFIG_CODE_PATCHING_SELFTEST is not set
755# CONFIG_KGDB is not set 800# CONFIG_FTR_FIXUP_SELFTEST is not set
756# CONFIG_XMON is not set 801# CONFIG_XMON is not set
802# CONFIG_IRQSTACKS is not set
757# CONFIG_VIRQ_DEBUG is not set 803# CONFIG_VIRQ_DEBUG is not set
758# CONFIG_BDI_SWITCH is not set 804# CONFIG_BDI_SWITCH is not set
759# CONFIG_PPC_EARLY_DEBUG is not set 805# CONFIG_PPC_EARLY_DEBUG is not set
@@ -765,51 +811,85 @@ CONFIG_DEBUGGER=y
765# CONFIG_SECURITY is not set 811# CONFIG_SECURITY is not set
766# CONFIG_SECURITY_FILE_CAPABILITIES is not set 812# CONFIG_SECURITY_FILE_CAPABILITIES is not set
767CONFIG_CRYPTO=y 813CONFIG_CRYPTO=y
814
815#
816# Crypto core or helper
817#
768CONFIG_CRYPTO_ALGAPI=y 818CONFIG_CRYPTO_ALGAPI=y
769CONFIG_CRYPTO_BLKCIPHER=y 819CONFIG_CRYPTO_BLKCIPHER=y
770# CONFIG_CRYPTO_SEQIV is not set
771CONFIG_CRYPTO_MANAGER=y 820CONFIG_CRYPTO_MANAGER=y
821# CONFIG_CRYPTO_GF128MUL is not set
822# CONFIG_CRYPTO_NULL is not set
823# CONFIG_CRYPTO_CRYPTD is not set
824# CONFIG_CRYPTO_AUTHENC is not set
825# CONFIG_CRYPTO_TEST is not set
826
827#
828# Authenticated Encryption with Associated Data
829#
830# CONFIG_CRYPTO_CCM is not set
831# CONFIG_CRYPTO_GCM is not set
832# CONFIG_CRYPTO_SEQIV is not set
833
834#
835# Block modes
836#
837CONFIG_CRYPTO_CBC=y
838# CONFIG_CRYPTO_CTR is not set
839# CONFIG_CRYPTO_CTS is not set
840CONFIG_CRYPTO_ECB=y
841# CONFIG_CRYPTO_LRW is not set
842CONFIG_CRYPTO_PCBC=y
843# CONFIG_CRYPTO_XTS is not set
844
845#
846# Hash modes
847#
772# CONFIG_CRYPTO_HMAC is not set 848# CONFIG_CRYPTO_HMAC is not set
773# CONFIG_CRYPTO_XCBC is not set 849# CONFIG_CRYPTO_XCBC is not set
774# CONFIG_CRYPTO_NULL is not set 850
851#
852# Digest
853#
854# CONFIG_CRYPTO_CRC32C is not set
775# CONFIG_CRYPTO_MD4 is not set 855# CONFIG_CRYPTO_MD4 is not set
776CONFIG_CRYPTO_MD5=y 856CONFIG_CRYPTO_MD5=y
857# CONFIG_CRYPTO_MICHAEL_MIC is not set
858# CONFIG_CRYPTO_RMD128 is not set
859# CONFIG_CRYPTO_RMD160 is not set
860# CONFIG_CRYPTO_RMD256 is not set
861# CONFIG_CRYPTO_RMD320 is not set
777# CONFIG_CRYPTO_SHA1 is not set 862# CONFIG_CRYPTO_SHA1 is not set
778# CONFIG_CRYPTO_SHA256 is not set 863# CONFIG_CRYPTO_SHA256 is not set
779# CONFIG_CRYPTO_SHA512 is not set 864# CONFIG_CRYPTO_SHA512 is not set
780# CONFIG_CRYPTO_WP512 is not set
781# CONFIG_CRYPTO_TGR192 is not set 865# CONFIG_CRYPTO_TGR192 is not set
782# CONFIG_CRYPTO_GF128MUL is not set 866# CONFIG_CRYPTO_WP512 is not set
783CONFIG_CRYPTO_ECB=y 867
784CONFIG_CRYPTO_CBC=y 868#
785CONFIG_CRYPTO_PCBC=y 869# Ciphers
786# CONFIG_CRYPTO_LRW is not set 870#
787# CONFIG_CRYPTO_XTS is not set
788# CONFIG_CRYPTO_CTR is not set
789# CONFIG_CRYPTO_GCM is not set
790# CONFIG_CRYPTO_CCM is not set
791# CONFIG_CRYPTO_CRYPTD is not set
792CONFIG_CRYPTO_DES=y
793# CONFIG_CRYPTO_FCRYPT is not set
794# CONFIG_CRYPTO_BLOWFISH is not set
795# CONFIG_CRYPTO_TWOFISH is not set
796# CONFIG_CRYPTO_SERPENT is not set
797# CONFIG_CRYPTO_AES is not set 871# CONFIG_CRYPTO_AES is not set
872# CONFIG_CRYPTO_ANUBIS is not set
873# CONFIG_CRYPTO_ARC4 is not set
874# CONFIG_CRYPTO_BLOWFISH is not set
875# CONFIG_CRYPTO_CAMELLIA is not set
798# CONFIG_CRYPTO_CAST5 is not set 876# CONFIG_CRYPTO_CAST5 is not set
799# CONFIG_CRYPTO_CAST6 is not set 877# CONFIG_CRYPTO_CAST6 is not set
800# CONFIG_CRYPTO_TEA is not set 878CONFIG_CRYPTO_DES=y
801# CONFIG_CRYPTO_ARC4 is not set 879# CONFIG_CRYPTO_FCRYPT is not set
802# CONFIG_CRYPTO_KHAZAD is not set 880# CONFIG_CRYPTO_KHAZAD is not set
803# CONFIG_CRYPTO_ANUBIS is not set
804# CONFIG_CRYPTO_SEED is not set
805# CONFIG_CRYPTO_SALSA20 is not set 881# CONFIG_CRYPTO_SALSA20 is not set
882# CONFIG_CRYPTO_SEED is not set
883# CONFIG_CRYPTO_SERPENT is not set
884# CONFIG_CRYPTO_TEA is not set
885# CONFIG_CRYPTO_TWOFISH is not set
886
887#
888# Compression
889#
806# CONFIG_CRYPTO_DEFLATE is not set 890# CONFIG_CRYPTO_DEFLATE is not set
807# CONFIG_CRYPTO_MICHAEL_MIC is not set
808# CONFIG_CRYPTO_CRC32C is not set
809# CONFIG_CRYPTO_CAMELLIA is not set
810# CONFIG_CRYPTO_TEST is not set
811# CONFIG_CRYPTO_AUTHENC is not set
812# CONFIG_CRYPTO_LZO is not set 891# CONFIG_CRYPTO_LZO is not set
813CONFIG_CRYPTO_HW=y 892CONFIG_CRYPTO_HW=y
814# CONFIG_CRYPTO_DEV_HIFN_795X is not set 893# CONFIG_CRYPTO_DEV_HIFN_795X is not set
815# CONFIG_PPC_CLOCK is not set 894# CONFIG_PPC_CLOCK is not set
895# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/canyonlands_defconfig b/arch/powerpc/configs/44x/canyonlands_defconfig
index a3b763c45ec6..74da5c7754a4 100644
--- a/arch/powerpc/configs/44x/canyonlands_defconfig
+++ b/arch/powerpc/configs/44x/canyonlands_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.25-rc1 3# Linux kernel version: 2.6.27-rc1
4# Thu Feb 21 14:29:28 2008 4# Tue Aug 5 08:46:14 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,8 +30,12 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
38CONFIG_LOCKDEP_SUPPORT=y
35CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
36CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
37CONFIG_GENERIC_HWEIGHT=y 41CONFIG_GENERIC_HWEIGHT=y
@@ -73,8 +77,9 @@ CONFIG_POSIX_MQUEUE=y
73# CONFIG_IKCONFIG is not set 77# CONFIG_IKCONFIG is not set
74CONFIG_LOG_BUF_SHIFT=14 78CONFIG_LOG_BUF_SHIFT=14
75# CONFIG_CGROUPS is not set 79# CONFIG_CGROUPS is not set
76# CONFIG_FAIR_GROUP_SCHED is not set 80# CONFIG_GROUP_SCHED is not set
77CONFIG_SYSFS_DEPRECATED=y 81CONFIG_SYSFS_DEPRECATED=y
82CONFIG_SYSFS_DEPRECATED_V2=y
78# CONFIG_RELAY is not set 83# CONFIG_RELAY is not set
79# CONFIG_NAMESPACES is not set 84# CONFIG_NAMESPACES is not set
80CONFIG_BLK_DEV_INITRD=y 85CONFIG_BLK_DEV_INITRD=y
@@ -83,12 +88,12 @@ CONFIG_INITRAMFS_SOURCE=""
83CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
84CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
85CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
86CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
87# CONFIG_KALLSYMS_ALL is not set 93# CONFIG_KALLSYMS_ALL is not set
88# CONFIG_KALLSYMS_EXTRA_PASS is not set 94# CONFIG_KALLSYMS_EXTRA_PASS is not set
89CONFIG_HOTPLUG=y 95CONFIG_HOTPLUG=y
90CONFIG_PRINTK=y 96CONFIG_PRINTK=y
91# CONFIG_LOGBUFFER is not set
92CONFIG_BUG=y 97CONFIG_BUG=y
93CONFIG_ELF_CORE=y 98CONFIG_ELF_CORE=y
94CONFIG_COMPAT_BRK=y 99CONFIG_COMPAT_BRK=y
@@ -109,13 +114,22 @@ CONFIG_SLUB=y
109# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
110CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
111# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
112CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
113CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
114CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
115CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
116# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
117CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
119CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
120# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
121# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -126,6 +140,7 @@ CONFIG_LBD=y
126# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
127# CONFIG_LSF is not set 141# CONFIG_LSF is not set
128# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
129 144
130# 145#
131# IO Schedulers 146# IO Schedulers
@@ -140,25 +155,25 @@ CONFIG_DEFAULT_AS=y
140# CONFIG_DEFAULT_NOOP is not set 155# CONFIG_DEFAULT_NOOP is not set
141CONFIG_DEFAULT_IOSCHED="anticipatory" 156CONFIG_DEFAULT_IOSCHED="anticipatory"
142CONFIG_CLASSIC_RCU=y 157CONFIG_CLASSIC_RCU=y
143# CONFIG_PREEMPT_RCU is not set
144CONFIG_PPC4xx_PCI_EXPRESS=y 158CONFIG_PPC4xx_PCI_EXPRESS=y
145 159
146# 160#
147# Platform support 161# Platform support
148# 162#
149# CONFIG_PPC_MPC512x is not set
150# CONFIG_PPC_MPC5121 is not set
151# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
152# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
153# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
154# CONFIG_BAMBOO is not set 166# CONFIG_BAMBOO is not set
155# CONFIG_EBONY is not set 167# CONFIG_EBONY is not set
168# CONFIG_SAM440EP is not set
156# CONFIG_SEQUOIA is not set 169# CONFIG_SEQUOIA is not set
157# CONFIG_TAISHAN is not set 170# CONFIG_TAISHAN is not set
158# CONFIG_KATMAI is not set 171# CONFIG_KATMAI is not set
159# CONFIG_RAINIER is not set 172# CONFIG_RAINIER is not set
160# CONFIG_WARP is not set 173# CONFIG_WARP is not set
161CONFIG_CANYONLANDS=y 174CONFIG_CANYONLANDS=y
175# CONFIG_YOSEMITE is not set
176# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
162CONFIG_460EX=y 177CONFIG_460EX=y
163# CONFIG_IPIC is not set 178# CONFIG_IPIC is not set
164# CONFIG_MPIC is not set 179# CONFIG_MPIC is not set
@@ -190,7 +205,6 @@ CONFIG_HZ=250
190CONFIG_PREEMPT_NONE=y 205CONFIG_PREEMPT_NONE=y
191# CONFIG_PREEMPT_VOLUNTARY is not set 206# CONFIG_PREEMPT_VOLUNTARY is not set
192# CONFIG_PREEMPT is not set 207# CONFIG_PREEMPT is not set
193CONFIG_RCU_TRACE=y
194CONFIG_BINFMT_ELF=y 208CONFIG_BINFMT_ELF=y
195# CONFIG_BINFMT_MISC is not set 209# CONFIG_BINFMT_MISC is not set
196# CONFIG_MATH_EMULATION is not set 210# CONFIG_MATH_EMULATION is not set
@@ -208,16 +222,19 @@ CONFIG_FLATMEM=y
208CONFIG_FLAT_NODE_MEM_MAP=y 222CONFIG_FLAT_NODE_MEM_MAP=y
209# CONFIG_SPARSEMEM_STATIC is not set 223# CONFIG_SPARSEMEM_STATIC is not set
210# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 224# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
225CONFIG_PAGEFLAGS_EXTENDED=y
211CONFIG_SPLIT_PTLOCK_CPUS=4 226CONFIG_SPLIT_PTLOCK_CPUS=4
227CONFIG_MIGRATION=y
212CONFIG_RESOURCES_64BIT=y 228CONFIG_RESOURCES_64BIT=y
213CONFIG_ZONE_DMA_FLAG=1 229CONFIG_ZONE_DMA_FLAG=1
214CONFIG_BOUNCE=y 230CONFIG_BOUNCE=y
215CONFIG_VIRT_TO_BUS=y 231CONFIG_VIRT_TO_BUS=y
232CONFIG_FORCE_MAX_ZONEORDER=11
216CONFIG_PROC_DEVICETREE=y 233CONFIG_PROC_DEVICETREE=y
217CONFIG_CMDLINE_BOOL=y 234CONFIG_CMDLINE_BOOL=y
218CONFIG_CMDLINE="" 235CONFIG_CMDLINE=""
236CONFIG_EXTRA_TARGETS=""
219CONFIG_SECCOMP=y 237CONFIG_SECCOMP=y
220CONFIG_WANT_DEVICE_TREE=y
221CONFIG_ISA_DMA_API=y 238CONFIG_ISA_DMA_API=y
222 239
223# 240#
@@ -225,6 +242,8 @@ CONFIG_ISA_DMA_API=y
225# 242#
226CONFIG_ZONE_DMA=y 243CONFIG_ZONE_DMA=y
227CONFIG_PPC_INDIRECT_PCI=y 244CONFIG_PPC_INDIRECT_PCI=y
245CONFIG_4xx_SOC=y
246CONFIG_PPC_PCI_CHOICE=y
228CONFIG_PCI=y 247CONFIG_PCI=y
229CONFIG_PCI_DOMAINS=y 248CONFIG_PCI_DOMAINS=y
230CONFIG_PCI_SYSCALL=y 249CONFIG_PCI_SYSCALL=y
@@ -235,6 +254,7 @@ CONFIG_PCI_LEGACY=y
235# CONFIG_PCI_DEBUG is not set 254# CONFIG_PCI_DEBUG is not set
236# CONFIG_PCCARD is not set 255# CONFIG_PCCARD is not set
237# CONFIG_HOTPLUG_PCI is not set 256# CONFIG_HOTPLUG_PCI is not set
257# CONFIG_HAS_RAPIDIO is not set
238 258
239# 259#
240# Advanced setup 260# Advanced setup
@@ -244,17 +264,13 @@ CONFIG_PCI_LEGACY=y
244# 264#
245# Default settings for advanced configuration options are used 265# Default settings for advanced configuration options are used
246# 266#
247CONFIG_HIGHMEM_START=0xfe000000
248CONFIG_LOWMEM_SIZE=0x30000000 267CONFIG_LOWMEM_SIZE=0x30000000
268CONFIG_PAGE_OFFSET=0xc0000000
249CONFIG_KERNEL_START=0xc0000000 269CONFIG_KERNEL_START=0xc0000000
270CONFIG_PHYSICAL_START=0x00000000
250CONFIG_TASK_SIZE=0xc0000000 271CONFIG_TASK_SIZE=0xc0000000
251CONFIG_CONSISTENT_START=0xff100000 272CONFIG_CONSISTENT_START=0xff100000
252CONFIG_CONSISTENT_SIZE=0x00200000 273CONFIG_CONSISTENT_SIZE=0x00200000
253CONFIG_BOOT_LOAD=0x01000000
254
255#
256# Networking
257#
258CONFIG_NET=y 274CONFIG_NET=y
259 275
260# 276#
@@ -292,8 +308,6 @@ CONFIG_TCP_CONG_CUBIC=y
292CONFIG_DEFAULT_TCP_CONG="cubic" 308CONFIG_DEFAULT_TCP_CONG="cubic"
293# CONFIG_TCP_MD5SIG is not set 309# CONFIG_TCP_MD5SIG is not set
294# CONFIG_IPV6 is not set 310# CONFIG_IPV6 is not set
295# CONFIG_INET6_XFRM_TUNNEL is not set
296# CONFIG_INET6_TUNNEL is not set
297# CONFIG_NETWORK_SECMARK is not set 311# CONFIG_NETWORK_SECMARK is not set
298# CONFIG_NETFILTER is not set 312# CONFIG_NETFILTER is not set
299# CONFIG_IP_DCCP is not set 313# CONFIG_IP_DCCP is not set
@@ -343,6 +357,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
343CONFIG_STANDALONE=y 357CONFIG_STANDALONE=y
344CONFIG_PREVENT_FIRMWARE_BUILD=y 358CONFIG_PREVENT_FIRMWARE_BUILD=y
345CONFIG_FW_LOADER=y 359CONFIG_FW_LOADER=y
360CONFIG_FIRMWARE_IN_KERNEL=y
361CONFIG_EXTRA_FIRMWARE=""
346# CONFIG_DEBUG_DRIVER is not set 362# CONFIG_DEBUG_DRIVER is not set
347# CONFIG_DEBUG_DEVRES is not set 363# CONFIG_DEBUG_DEVRES is not set
348# CONFIG_SYS_HYPERVISOR is not set 364# CONFIG_SYS_HYPERVISOR is not set
@@ -368,6 +384,7 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
368# CONFIG_CDROM_PKTCDVD is not set 384# CONFIG_CDROM_PKTCDVD is not set
369# CONFIG_ATA_OVER_ETH is not set 385# CONFIG_ATA_OVER_ETH is not set
370# CONFIG_XILINX_SYSACE is not set 386# CONFIG_XILINX_SYSACE is not set
387# CONFIG_BLK_DEV_HD is not set
371# CONFIG_MISC_DEVICES is not set 388# CONFIG_MISC_DEVICES is not set
372CONFIG_HAVE_IDE=y 389CONFIG_HAVE_IDE=y
373# CONFIG_IDE is not set 390# CONFIG_IDE is not set
@@ -386,12 +403,15 @@ CONFIG_HAVE_IDE=y
386# 403#
387# IEEE 1394 (FireWire) support 404# IEEE 1394 (FireWire) support
388# 405#
406
407#
408# Enable only one of the two stacks, unless you know what you are doing
409#
389# CONFIG_FIREWIRE is not set 410# CONFIG_FIREWIRE is not set
390# CONFIG_IEEE1394 is not set 411# CONFIG_IEEE1394 is not set
391# CONFIG_I2O is not set 412# CONFIG_I2O is not set
392# CONFIG_MACINTOSH_DRIVERS is not set 413# CONFIG_MACINTOSH_DRIVERS is not set
393CONFIG_NETDEVICES=y 414CONFIG_NETDEVICES=y
394# CONFIG_NETDEVICES_MULTIQUEUE is not set
395# CONFIG_DUMMY is not set 415# CONFIG_DUMMY is not set
396# CONFIG_BONDING is not set 416# CONFIG_BONDING is not set
397# CONFIG_MACVLAN is not set 417# CONFIG_MACVLAN is not set
@@ -430,6 +450,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
430# 450#
431# CONFIG_WLAN_PRE80211 is not set 451# CONFIG_WLAN_PRE80211 is not set
432# CONFIG_WLAN_80211 is not set 452# CONFIG_WLAN_80211 is not set
453# CONFIG_IWLWIFI_LEDS is not set
433# CONFIG_WAN is not set 454# CONFIG_WAN is not set
434# CONFIG_FDDI is not set 455# CONFIG_FDDI is not set
435# CONFIG_HIPPI is not set 456# CONFIG_HIPPI is not set
@@ -456,6 +477,7 @@ CONFIG_IBM_NEW_EMAC_EMAC4=y
456# Character devices 477# Character devices
457# 478#
458# CONFIG_VT is not set 479# CONFIG_VT is not set
480CONFIG_DEVKMEM=y
459# CONFIG_SERIAL_NONSTANDARD is not set 481# CONFIG_SERIAL_NONSTANDARD is not set
460# CONFIG_NOZOMI is not set 482# CONFIG_NOZOMI is not set
461 483
@@ -494,16 +516,14 @@ CONFIG_LEGACY_PTY_COUNT=256
494# CONFIG_TCG_TPM is not set 516# CONFIG_TCG_TPM is not set
495CONFIG_DEVPORT=y 517CONFIG_DEVPORT=y
496# CONFIG_I2C is not set 518# CONFIG_I2C is not set
497
498#
499# SPI support
500#
501# CONFIG_SPI is not set 519# CONFIG_SPI is not set
502# CONFIG_SPI_MASTER is not set 520CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
521# CONFIG_GPIOLIB is not set
503# CONFIG_W1 is not set 522# CONFIG_W1 is not set
504# CONFIG_POWER_SUPPLY is not set 523# CONFIG_POWER_SUPPLY is not set
505# CONFIG_HWMON is not set 524# CONFIG_HWMON is not set
506# CONFIG_THERMAL is not set 525# CONFIG_THERMAL is not set
526# CONFIG_THERMAL_HWMON is not set
507# CONFIG_WATCHDOG is not set 527# CONFIG_WATCHDOG is not set
508 528
509# 529#
@@ -515,13 +535,24 @@ CONFIG_SSB_POSSIBLE=y
515# 535#
516# Multifunction device drivers 536# Multifunction device drivers
517# 537#
538# CONFIG_MFD_CORE is not set
518# CONFIG_MFD_SM501 is not set 539# CONFIG_MFD_SM501 is not set
540# CONFIG_HTC_PASIC3 is not set
519 541
520# 542#
521# Multimedia devices 543# Multimedia devices
522# 544#
545
546#
547# Multimedia core support
548#
523# CONFIG_VIDEO_DEV is not set 549# CONFIG_VIDEO_DEV is not set
524# CONFIG_DVB_CORE is not set 550# CONFIG_DVB_CORE is not set
551# CONFIG_VIDEO_MEDIA is not set
552
553#
554# Multimedia drivers
555#
525CONFIG_DAB=y 556CONFIG_DAB=y
526 557
527# 558#
@@ -538,22 +569,16 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
538# Display device support 569# Display device support
539# 570#
540# CONFIG_DISPLAY_SUPPORT is not set 571# CONFIG_DISPLAY_SUPPORT is not set
541
542#
543# Sound
544#
545# CONFIG_SOUND is not set 572# CONFIG_SOUND is not set
546# CONFIG_USB_SUPPORT is not set 573# CONFIG_USB_SUPPORT is not set
547# CONFIG_MMC is not set 574# CONFIG_MMC is not set
548# CONFIG_MEMSTICK is not set 575# CONFIG_MEMSTICK is not set
549# CONFIG_NEW_LEDS is not set 576# CONFIG_NEW_LEDS is not set
577# CONFIG_ACCESSIBILITY is not set
550# CONFIG_INFINIBAND is not set 578# CONFIG_INFINIBAND is not set
551# CONFIG_EDAC is not set 579# CONFIG_EDAC is not set
552# CONFIG_RTC_CLASS is not set 580# CONFIG_RTC_CLASS is not set
553 581# CONFIG_DMADEVICES is not set
554#
555# Userspace I/O
556#
557# CONFIG_UIO is not set 582# CONFIG_UIO is not set
558 583
559# 584#
@@ -568,7 +593,6 @@ CONFIG_EXT2_FS=y
568# CONFIG_JFS_FS is not set 593# CONFIG_JFS_FS is not set
569# CONFIG_FS_POSIX_ACL is not set 594# CONFIG_FS_POSIX_ACL is not set
570# CONFIG_XFS_FS is not set 595# CONFIG_XFS_FS is not set
571# CONFIG_GFS2_FS is not set
572# CONFIG_OCFS2_FS is not set 596# CONFIG_OCFS2_FS is not set
573CONFIG_DNOTIFY=y 597CONFIG_DNOTIFY=y
574CONFIG_INOTIFY=y 598CONFIG_INOTIFY=y
@@ -616,6 +640,7 @@ CONFIG_TMPFS=y
616CONFIG_CRAMFS=y 640CONFIG_CRAMFS=y
617# CONFIG_VXFS_FS is not set 641# CONFIG_VXFS_FS is not set
618# CONFIG_MINIX_FS is not set 642# CONFIG_MINIX_FS is not set
643# CONFIG_OMFS_FS is not set
619# CONFIG_HPFS_FS is not set 644# CONFIG_HPFS_FS is not set
620# CONFIG_QNX4FS_FS is not set 645# CONFIG_QNX4FS_FS is not set
621# CONFIG_ROMFS_FS is not set 646# CONFIG_ROMFS_FS is not set
@@ -626,14 +651,12 @@ CONFIG_NFS_FS=y
626CONFIG_NFS_V3=y 651CONFIG_NFS_V3=y
627# CONFIG_NFS_V3_ACL is not set 652# CONFIG_NFS_V3_ACL is not set
628# CONFIG_NFS_V4 is not set 653# CONFIG_NFS_V4 is not set
629# CONFIG_NFS_DIRECTIO is not set
630# CONFIG_NFSD is not set
631CONFIG_ROOT_NFS=y 654CONFIG_ROOT_NFS=y
655# CONFIG_NFSD is not set
632CONFIG_LOCKD=y 656CONFIG_LOCKD=y
633CONFIG_LOCKD_V4=y 657CONFIG_LOCKD_V4=y
634CONFIG_NFS_COMMON=y 658CONFIG_NFS_COMMON=y
635CONFIG_SUNRPC=y 659CONFIG_SUNRPC=y
636# CONFIG_SUNRPC_BIND34 is not set
637# CONFIG_RPCSEC_GSS_KRB5 is not set 660# CONFIG_RPCSEC_GSS_KRB5 is not set
638# CONFIG_RPCSEC_GSS_SPKM3 is not set 661# CONFIG_RPCSEC_GSS_SPKM3 is not set
639# CONFIG_SMB_FS is not set 662# CONFIG_SMB_FS is not set
@@ -654,8 +677,10 @@ CONFIG_MSDOS_PARTITION=y
654# Library routines 677# Library routines
655# 678#
656CONFIG_BITREVERSE=y 679CONFIG_BITREVERSE=y
680# CONFIG_GENERIC_FIND_FIRST_BIT is not set
657# CONFIG_CRC_CCITT is not set 681# CONFIG_CRC_CCITT is not set
658# CONFIG_CRC16 is not set 682# CONFIG_CRC16 is not set
683# CONFIG_CRC_T10DIF is not set
659# CONFIG_CRC_ITU_T is not set 684# CONFIG_CRC_ITU_T is not set
660CONFIG_CRC32=y 685CONFIG_CRC32=y
661# CONFIG_CRC7 is not set 686# CONFIG_CRC7 is not set
@@ -665,6 +690,7 @@ CONFIG_PLIST=y
665CONFIG_HAS_IOMEM=y 690CONFIG_HAS_IOMEM=y
666CONFIG_HAS_IOPORT=y 691CONFIG_HAS_IOPORT=y
667CONFIG_HAS_DMA=y 692CONFIG_HAS_DMA=y
693CONFIG_HAVE_LMB=y
668 694
669# 695#
670# Kernel hacking 696# Kernel hacking
@@ -672,6 +698,7 @@ CONFIG_HAS_DMA=y
672# CONFIG_PRINTK_TIME is not set 698# CONFIG_PRINTK_TIME is not set
673CONFIG_ENABLE_WARN_DEPRECATED=y 699CONFIG_ENABLE_WARN_DEPRECATED=y
674CONFIG_ENABLE_MUST_CHECK=y 700CONFIG_ENABLE_MUST_CHECK=y
701CONFIG_FRAME_WARN=1024
675CONFIG_MAGIC_SYSRQ=y 702CONFIG_MAGIC_SYSRQ=y
676# CONFIG_UNUSED_SYMBOLS is not set 703# CONFIG_UNUSED_SYMBOLS is not set
677CONFIG_DEBUG_FS=y 704CONFIG_DEBUG_FS=y
@@ -679,9 +706,12 @@ CONFIG_DEBUG_FS=y
679CONFIG_DEBUG_KERNEL=y 706CONFIG_DEBUG_KERNEL=y
680# CONFIG_DEBUG_SHIRQ is not set 707# CONFIG_DEBUG_SHIRQ is not set
681CONFIG_DETECT_SOFTLOCKUP=y 708CONFIG_DETECT_SOFTLOCKUP=y
709# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
710CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
682CONFIG_SCHED_DEBUG=y 711CONFIG_SCHED_DEBUG=y
683# CONFIG_SCHEDSTATS is not set 712# CONFIG_SCHEDSTATS is not set
684# CONFIG_TIMER_STATS is not set 713# CONFIG_TIMER_STATS is not set
714# CONFIG_DEBUG_OBJECTS is not set
685# CONFIG_SLUB_DEBUG_ON is not set 715# CONFIG_SLUB_DEBUG_ON is not set
686# CONFIG_SLUB_STATS is not set 716# CONFIG_SLUB_STATS is not set
687# CONFIG_DEBUG_RT_MUTEXES is not set 717# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -694,19 +724,30 @@ CONFIG_SCHED_DEBUG=y
694# CONFIG_DEBUG_BUGVERBOSE is not set 724# CONFIG_DEBUG_BUGVERBOSE is not set
695# CONFIG_DEBUG_INFO is not set 725# CONFIG_DEBUG_INFO is not set
696# CONFIG_DEBUG_VM is not set 726# CONFIG_DEBUG_VM is not set
727# CONFIG_DEBUG_WRITECOUNT is not set
728# CONFIG_DEBUG_MEMORY_INIT is not set
697# CONFIG_DEBUG_LIST is not set 729# CONFIG_DEBUG_LIST is not set
698# CONFIG_DEBUG_SG is not set 730# CONFIG_DEBUG_SG is not set
699# CONFIG_BOOT_PRINTK_DELAY is not set 731# CONFIG_BOOT_PRINTK_DELAY is not set
700# CONFIG_RCU_TORTURE_TEST is not set 732# CONFIG_RCU_TORTURE_TEST is not set
701# CONFIG_BACKTRACE_SELF_TEST is not set 733# CONFIG_BACKTRACE_SELF_TEST is not set
702# CONFIG_FAULT_INJECTION is not set 734# CONFIG_FAULT_INJECTION is not set
735# CONFIG_LATENCYTOP is not set
736CONFIG_HAVE_FTRACE=y
737CONFIG_HAVE_DYNAMIC_FTRACE=y
738# CONFIG_FTRACE is not set
739# CONFIG_SCHED_TRACER is not set
740# CONFIG_CONTEXT_SWITCH_TRACER is not set
703# CONFIG_SAMPLES is not set 741# CONFIG_SAMPLES is not set
742CONFIG_HAVE_ARCH_KGDB=y
743# CONFIG_KGDB is not set
704# CONFIG_DEBUG_STACKOVERFLOW is not set 744# CONFIG_DEBUG_STACKOVERFLOW is not set
705# CONFIG_DEBUG_STACK_USAGE is not set 745# CONFIG_DEBUG_STACK_USAGE is not set
706# CONFIG_DEBUG_PAGEALLOC is not set 746# CONFIG_DEBUG_PAGEALLOC is not set
707CONFIG_DEBUGGER=y 747# CONFIG_CODE_PATCHING_SELFTEST is not set
708# CONFIG_KGDB is not set 748# CONFIG_FTR_FIXUP_SELFTEST is not set
709# CONFIG_XMON is not set 749# CONFIG_XMON is not set
750# CONFIG_IRQSTACKS is not set
710# CONFIG_VIRQ_DEBUG is not set 751# CONFIG_VIRQ_DEBUG is not set
711# CONFIG_BDI_SWITCH is not set 752# CONFIG_BDI_SWITCH is not set
712# CONFIG_PPC_EARLY_DEBUG is not set 753# CONFIG_PPC_EARLY_DEBUG is not set
@@ -719,3 +760,4 @@ CONFIG_DEBUGGER=y
719# CONFIG_SECURITY_FILE_CAPABILITIES is not set 760# CONFIG_SECURITY_FILE_CAPABILITIES is not set
720# CONFIG_CRYPTO is not set 761# CONFIG_CRYPTO is not set
721# CONFIG_PPC_CLOCK is not set 762# CONFIG_PPC_CLOCK is not set
763# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/ebony_defconfig b/arch/powerpc/configs/44x/ebony_defconfig
index 07c8d4ce175a..17615750b494 100644
--- a/arch/powerpc/configs/44x/ebony_defconfig
+++ b/arch/powerpc/configs/44x/ebony_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:50:44 2008 4# Tue Aug 5 09:04:12 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -29,8 +29,12 @@ CONFIG_GENERIC_TIME=y
29CONFIG_GENERIC_TIME_VSYSCALL=y 29CONFIG_GENERIC_TIME_VSYSCALL=y
30CONFIG_GENERIC_CLOCKEVENTS=y 30CONFIG_GENERIC_CLOCKEVENTS=y
31CONFIG_GENERIC_HARDIRQS=y 31CONFIG_GENERIC_HARDIRQS=y
32# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
32# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
33CONFIG_IRQ_PER_CPU=y 34CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y
36CONFIG_HAVE_LATENCYTOP_SUPPORT=y
37CONFIG_LOCKDEP_SUPPORT=y
34CONFIG_RWSEM_XCHGADD_ALGORITHM=y 38CONFIG_RWSEM_XCHGADD_ALGORITHM=y
35CONFIG_ARCH_HAS_ILOG2_U32=y 39CONFIG_ARCH_HAS_ILOG2_U32=y
36CONFIG_GENERIC_HWEIGHT=y 40CONFIG_GENERIC_HWEIGHT=y
@@ -78,6 +82,7 @@ CONFIG_FAIR_GROUP_SCHED=y
78CONFIG_USER_SCHED=y 82CONFIG_USER_SCHED=y
79# CONFIG_CGROUP_SCHED is not set 83# CONFIG_CGROUP_SCHED is not set
80CONFIG_SYSFS_DEPRECATED=y 84CONFIG_SYSFS_DEPRECATED=y
85CONFIG_SYSFS_DEPRECATED_V2=y
81# CONFIG_RELAY is not set 86# CONFIG_RELAY is not set
82# CONFIG_NAMESPACES is not set 87# CONFIG_NAMESPACES is not set
83CONFIG_BLK_DEV_INITRD=y 88CONFIG_BLK_DEV_INITRD=y
@@ -86,6 +91,7 @@ CONFIG_INITRAMFS_SOURCE=""
86CONFIG_SYSCTL=y 91CONFIG_SYSCTL=y
87CONFIG_EMBEDDED=y 92CONFIG_EMBEDDED=y
88CONFIG_SYSCTL_SYSCALL=y 93CONFIG_SYSCTL_SYSCALL=y
94CONFIG_SYSCTL_SYSCALL_CHECK=y
89CONFIG_KALLSYMS=y 95CONFIG_KALLSYMS=y
90CONFIG_KALLSYMS_ALL=y 96CONFIG_KALLSYMS_ALL=y
91CONFIG_KALLSYMS_EXTRA_PASS=y 97CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -111,13 +117,22 @@ CONFIG_SLUB=y
111# CONFIG_MARKERS is not set 117# CONFIG_MARKERS is not set
112CONFIG_HAVE_OPROFILE=y 118CONFIG_HAVE_OPROFILE=y
113# CONFIG_KPROBES is not set 119# CONFIG_KPROBES is not set
120CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
121CONFIG_HAVE_IOREMAP_PROT=y
114CONFIG_HAVE_KPROBES=y 122CONFIG_HAVE_KPROBES=y
123CONFIG_HAVE_KRETPROBES=y
124CONFIG_HAVE_ARCH_TRACEHOOK=y
125# CONFIG_HAVE_DMA_ATTRS is not set
126# CONFIG_USE_GENERIC_SMP_HELPERS is not set
127# CONFIG_HAVE_CLK is not set
115CONFIG_PROC_PAGE_MONITOR=y 128CONFIG_PROC_PAGE_MONITOR=y
129# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
116CONFIG_SLABINFO=y 130CONFIG_SLABINFO=y
117CONFIG_RT_MUTEXES=y 131CONFIG_RT_MUTEXES=y
118# CONFIG_TINY_SHMEM is not set 132# CONFIG_TINY_SHMEM is not set
119CONFIG_BASE_SMALL=0 133CONFIG_BASE_SMALL=0
120CONFIG_MODULES=y 134CONFIG_MODULES=y
135# CONFIG_MODULE_FORCE_LOAD is not set
121CONFIG_MODULE_UNLOAD=y 136CONFIG_MODULE_UNLOAD=y
122# CONFIG_MODULE_FORCE_UNLOAD is not set 137# CONFIG_MODULE_FORCE_UNLOAD is not set
123# CONFIG_MODVERSIONS is not set 138# CONFIG_MODVERSIONS is not set
@@ -128,6 +143,7 @@ CONFIG_LBD=y
128# CONFIG_BLK_DEV_IO_TRACE is not set 143# CONFIG_BLK_DEV_IO_TRACE is not set
129# CONFIG_LSF is not set 144# CONFIG_LSF is not set
130# CONFIG_BLK_DEV_BSG is not set 145# CONFIG_BLK_DEV_BSG is not set
146# CONFIG_BLK_DEV_INTEGRITY is not set
131 147
132# 148#
133# IO Schedulers 149# IO Schedulers
@@ -142,24 +158,25 @@ CONFIG_DEFAULT_AS=y
142# CONFIG_DEFAULT_NOOP is not set 158# CONFIG_DEFAULT_NOOP is not set
143CONFIG_DEFAULT_IOSCHED="anticipatory" 159CONFIG_DEFAULT_IOSCHED="anticipatory"
144CONFIG_CLASSIC_RCU=y 160CONFIG_CLASSIC_RCU=y
145# CONFIG_PREEMPT_RCU is not set
146# CONFIG_PPC4xx_PCI_EXPRESS is not set 161# CONFIG_PPC4xx_PCI_EXPRESS is not set
147 162
148# 163#
149# Platform support 164# Platform support
150# 165#
151# CONFIG_PPC_MPC512x is not set
152# CONFIG_PPC_MPC5121 is not set
153# CONFIG_PPC_CELL is not set 166# CONFIG_PPC_CELL is not set
154# CONFIG_PPC_CELL_NATIVE is not set 167# CONFIG_PPC_CELL_NATIVE is not set
155# CONFIG_PQ2ADS is not set 168# CONFIG_PQ2ADS is not set
156# CONFIG_BAMBOO is not set 169# CONFIG_BAMBOO is not set
157CONFIG_EBONY=y 170CONFIG_EBONY=y
171# CONFIG_SAM440EP is not set
158# CONFIG_SEQUOIA is not set 172# CONFIG_SEQUOIA is not set
159# CONFIG_TAISHAN is not set 173# CONFIG_TAISHAN is not set
160# CONFIG_KATMAI is not set 174# CONFIG_KATMAI is not set
161# CONFIG_RAINIER is not set 175# CONFIG_RAINIER is not set
162# CONFIG_WARP is not set 176# CONFIG_WARP is not set
177# CONFIG_CANYONLANDS is not set
178# CONFIG_YOSEMITE is not set
179# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
163CONFIG_440GP=y 180CONFIG_440GP=y
164# CONFIG_IPIC is not set 181# CONFIG_IPIC is not set
165# CONFIG_MPIC is not set 182# CONFIG_MPIC is not set
@@ -192,7 +209,6 @@ CONFIG_HZ=250
192CONFIG_PREEMPT_NONE=y 209CONFIG_PREEMPT_NONE=y
193# CONFIG_PREEMPT_VOLUNTARY is not set 210# CONFIG_PREEMPT_VOLUNTARY is not set
194# CONFIG_PREEMPT is not set 211# CONFIG_PREEMPT is not set
195CONFIG_RCU_TRACE=y
196CONFIG_BINFMT_ELF=y 212CONFIG_BINFMT_ELF=y
197# CONFIG_BINFMT_MISC is not set 213# CONFIG_BINFMT_MISC is not set
198CONFIG_MATH_EMULATION=y 214CONFIG_MATH_EMULATION=y
@@ -210,13 +226,17 @@ CONFIG_FLATMEM=y
210CONFIG_FLAT_NODE_MEM_MAP=y 226CONFIG_FLAT_NODE_MEM_MAP=y
211# CONFIG_SPARSEMEM_STATIC is not set 227# CONFIG_SPARSEMEM_STATIC is not set
212# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 228# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
229CONFIG_PAGEFLAGS_EXTENDED=y
213CONFIG_SPLIT_PTLOCK_CPUS=4 230CONFIG_SPLIT_PTLOCK_CPUS=4
231CONFIG_MIGRATION=y
214CONFIG_RESOURCES_64BIT=y 232CONFIG_RESOURCES_64BIT=y
215CONFIG_ZONE_DMA_FLAG=1 233CONFIG_ZONE_DMA_FLAG=1
216CONFIG_BOUNCE=y 234CONFIG_BOUNCE=y
217CONFIG_VIRT_TO_BUS=y 235CONFIG_VIRT_TO_BUS=y
236CONFIG_FORCE_MAX_ZONEORDER=11
218CONFIG_PROC_DEVICETREE=y 237CONFIG_PROC_DEVICETREE=y
219# CONFIG_CMDLINE_BOOL is not set 238# CONFIG_CMDLINE_BOOL is not set
239CONFIG_EXTRA_TARGETS=""
220CONFIG_SECCOMP=y 240CONFIG_SECCOMP=y
221CONFIG_ISA_DMA_API=y 241CONFIG_ISA_DMA_API=y
222 242
@@ -225,6 +245,8 @@ CONFIG_ISA_DMA_API=y
225# 245#
226CONFIG_ZONE_DMA=y 246CONFIG_ZONE_DMA=y
227CONFIG_PPC_INDIRECT_PCI=y 247CONFIG_PPC_INDIRECT_PCI=y
248CONFIG_4xx_SOC=y
249CONFIG_PPC_PCI_CHOICE=y
228CONFIG_PCI=y 250CONFIG_PCI=y
229CONFIG_PCI_DOMAINS=y 251CONFIG_PCI_DOMAINS=y
230CONFIG_PCI_SYSCALL=y 252CONFIG_PCI_SYSCALL=y
@@ -235,6 +257,7 @@ CONFIG_PCI_LEGACY=y
235# CONFIG_PCI_DEBUG is not set 257# CONFIG_PCI_DEBUG is not set
236# CONFIG_PCCARD is not set 258# CONFIG_PCCARD is not set
237# CONFIG_HOTPLUG_PCI is not set 259# CONFIG_HOTPLUG_PCI is not set
260# CONFIG_HAS_RAPIDIO is not set
238 261
239# 262#
240# Advanced setup 263# Advanced setup
@@ -244,17 +267,13 @@ CONFIG_PCI_LEGACY=y
244# 267#
245# Default settings for advanced configuration options are used 268# Default settings for advanced configuration options are used
246# 269#
247CONFIG_HIGHMEM_START=0xfe000000
248CONFIG_LOWMEM_SIZE=0x30000000 270CONFIG_LOWMEM_SIZE=0x30000000
271CONFIG_PAGE_OFFSET=0xc0000000
249CONFIG_KERNEL_START=0xc0000000 272CONFIG_KERNEL_START=0xc0000000
273CONFIG_PHYSICAL_START=0x00000000
250CONFIG_TASK_SIZE=0xc0000000 274CONFIG_TASK_SIZE=0xc0000000
251CONFIG_CONSISTENT_START=0xff100000 275CONFIG_CONSISTENT_START=0xff100000
252CONFIG_CONSISTENT_SIZE=0x00200000 276CONFIG_CONSISTENT_SIZE=0x00200000
253CONFIG_BOOT_LOAD=0x01000000
254
255#
256# Networking
257#
258CONFIG_NET=y 277CONFIG_NET=y
259 278
260# 279#
@@ -292,8 +311,6 @@ CONFIG_TCP_CONG_CUBIC=y
292CONFIG_DEFAULT_TCP_CONG="cubic" 311CONFIG_DEFAULT_TCP_CONG="cubic"
293# CONFIG_TCP_MD5SIG is not set 312# CONFIG_TCP_MD5SIG is not set
294# CONFIG_IPV6 is not set 313# CONFIG_IPV6 is not set
295# CONFIG_INET6_XFRM_TUNNEL is not set
296# CONFIG_INET6_TUNNEL is not set
297# CONFIG_NETWORK_SECMARK is not set 314# CONFIG_NETWORK_SECMARK is not set
298# CONFIG_NETFILTER is not set 315# CONFIG_NETFILTER is not set
299# CONFIG_IP_DCCP is not set 316# CONFIG_IP_DCCP is not set
@@ -343,6 +360,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
343CONFIG_STANDALONE=y 360CONFIG_STANDALONE=y
344CONFIG_PREVENT_FIRMWARE_BUILD=y 361CONFIG_PREVENT_FIRMWARE_BUILD=y
345CONFIG_FW_LOADER=y 362CONFIG_FW_LOADER=y
363CONFIG_FIRMWARE_IN_KERNEL=y
364CONFIG_EXTRA_FIRMWARE=""
346# CONFIG_DEBUG_DRIVER is not set 365# CONFIG_DEBUG_DRIVER is not set
347# CONFIG_DEBUG_DEVRES is not set 366# CONFIG_DEBUG_DEVRES is not set
348# CONFIG_SYS_HYPERVISOR is not set 367# CONFIG_SYS_HYPERVISOR is not set
@@ -355,6 +374,7 @@ CONFIG_MTD_PARTITIONS=y
355# CONFIG_MTD_REDBOOT_PARTS is not set 374# CONFIG_MTD_REDBOOT_PARTS is not set
356# CONFIG_MTD_CMDLINE_PARTS is not set 375# CONFIG_MTD_CMDLINE_PARTS is not set
357CONFIG_MTD_OF_PARTS=y 376CONFIG_MTD_OF_PARTS=y
377# CONFIG_MTD_AR7_PARTS is not set
358 378
359# 379#
360# User Modules And Translation Layers 380# User Modules And Translation Layers
@@ -444,12 +464,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
444# CONFIG_CDROM_PKTCDVD is not set 464# CONFIG_CDROM_PKTCDVD is not set
445# CONFIG_ATA_OVER_ETH is not set 465# CONFIG_ATA_OVER_ETH is not set
446# CONFIG_XILINX_SYSACE is not set 466# CONFIG_XILINX_SYSACE is not set
467# CONFIG_BLK_DEV_HD is not set
447CONFIG_MISC_DEVICES=y 468CONFIG_MISC_DEVICES=y
448# CONFIG_PHANTOM is not set 469# CONFIG_PHANTOM is not set
449# CONFIG_EEPROM_93CX6 is not set 470# CONFIG_EEPROM_93CX6 is not set
450# CONFIG_SGI_IOC4 is not set 471# CONFIG_SGI_IOC4 is not set
451# CONFIG_TIFM_CORE is not set 472# CONFIG_TIFM_CORE is not set
452# CONFIG_ENCLOSURE_SERVICES is not set 473# CONFIG_ENCLOSURE_SERVICES is not set
474# CONFIG_HP_ILO is not set
453CONFIG_HAVE_IDE=y 475CONFIG_HAVE_IDE=y
454# CONFIG_IDE is not set 476# CONFIG_IDE is not set
455 477
@@ -467,12 +489,15 @@ CONFIG_HAVE_IDE=y
467# 489#
468# IEEE 1394 (FireWire) support 490# IEEE 1394 (FireWire) support
469# 491#
492
493#
494# Enable only one of the two stacks, unless you know what you are doing
495#
470# CONFIG_FIREWIRE is not set 496# CONFIG_FIREWIRE is not set
471# CONFIG_IEEE1394 is not set 497# CONFIG_IEEE1394 is not set
472# CONFIG_I2O is not set 498# CONFIG_I2O is not set
473# CONFIG_MACINTOSH_DRIVERS is not set 499# CONFIG_MACINTOSH_DRIVERS is not set
474CONFIG_NETDEVICES=y 500CONFIG_NETDEVICES=y
475# CONFIG_NETDEVICES_MULTIQUEUE is not set
476# CONFIG_DUMMY is not set 501# CONFIG_DUMMY is not set
477# CONFIG_BONDING is not set 502# CONFIG_BONDING is not set
478# CONFIG_MACVLAN is not set 503# CONFIG_MACVLAN is not set
@@ -507,7 +532,6 @@ CONFIG_NETDEV_1000=y
507# CONFIG_DL2K is not set 532# CONFIG_DL2K is not set
508# CONFIG_E1000 is not set 533# CONFIG_E1000 is not set
509# CONFIG_E1000E is not set 534# CONFIG_E1000E is not set
510# CONFIG_E1000E_ENABLED is not set
511# CONFIG_IP1000 is not set 535# CONFIG_IP1000 is not set
512# CONFIG_IGB is not set 536# CONFIG_IGB is not set
513# CONFIG_NS83820 is not set 537# CONFIG_NS83820 is not set
@@ -517,12 +541,12 @@ CONFIG_NETDEV_1000=y
517# CONFIG_SIS190 is not set 541# CONFIG_SIS190 is not set
518# CONFIG_SKGE is not set 542# CONFIG_SKGE is not set
519# CONFIG_SKY2 is not set 543# CONFIG_SKY2 is not set
520# CONFIG_SK98LIN is not set
521# CONFIG_VIA_VELOCITY is not set 544# CONFIG_VIA_VELOCITY is not set
522# CONFIG_TIGON3 is not set 545# CONFIG_TIGON3 is not set
523# CONFIG_BNX2 is not set 546# CONFIG_BNX2 is not set
524# CONFIG_QLA3XXX is not set 547# CONFIG_QLA3XXX is not set
525# CONFIG_ATL1 is not set 548# CONFIG_ATL1 is not set
549# CONFIG_ATL1E is not set
526CONFIG_NETDEV_10000=y 550CONFIG_NETDEV_10000=y
527# CONFIG_CHELSIO_T1 is not set 551# CONFIG_CHELSIO_T1 is not set
528# CONFIG_CHELSIO_T3 is not set 552# CONFIG_CHELSIO_T3 is not set
@@ -535,6 +559,7 @@ CONFIG_NETDEV_10000=y
535# CONFIG_MLX4_CORE is not set 559# CONFIG_MLX4_CORE is not set
536# CONFIG_TEHUTI is not set 560# CONFIG_TEHUTI is not set
537# CONFIG_BNX2X is not set 561# CONFIG_BNX2X is not set
562# CONFIG_SFC is not set
538# CONFIG_TR is not set 563# CONFIG_TR is not set
539 564
540# 565#
@@ -542,6 +567,7 @@ CONFIG_NETDEV_10000=y
542# 567#
543# CONFIG_WLAN_PRE80211 is not set 568# CONFIG_WLAN_PRE80211 is not set
544# CONFIG_WLAN_80211 is not set 569# CONFIG_WLAN_80211 is not set
570# CONFIG_IWLWIFI_LEDS is not set
545# CONFIG_WAN is not set 571# CONFIG_WAN is not set
546# CONFIG_FDDI is not set 572# CONFIG_FDDI is not set
547# CONFIG_HIPPI is not set 573# CONFIG_HIPPI is not set
@@ -568,6 +594,7 @@ CONFIG_NETDEV_10000=y
568# Character devices 594# Character devices
569# 595#
570# CONFIG_VT is not set 596# CONFIG_VT is not set
597CONFIG_DEVKMEM=y
571# CONFIG_SERIAL_NONSTANDARD is not set 598# CONFIG_SERIAL_NONSTANDARD is not set
572# CONFIG_NOZOMI is not set 599# CONFIG_NOZOMI is not set
573 600
@@ -606,12 +633,9 @@ CONFIG_LEGACY_PTY_COUNT=256
606# CONFIG_TCG_TPM is not set 633# CONFIG_TCG_TPM is not set
607CONFIG_DEVPORT=y 634CONFIG_DEVPORT=y
608# CONFIG_I2C is not set 635# CONFIG_I2C is not set
609
610#
611# SPI support
612#
613# CONFIG_SPI is not set 636# CONFIG_SPI is not set
614# CONFIG_SPI_MASTER is not set 637CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
638# CONFIG_GPIOLIB is not set
615# CONFIG_W1 is not set 639# CONFIG_W1 is not set
616# CONFIG_POWER_SUPPLY is not set 640# CONFIG_POWER_SUPPLY is not set
617# CONFIG_HWMON is not set 641# CONFIG_HWMON is not set
@@ -627,13 +651,24 @@ CONFIG_SSB_POSSIBLE=y
627# 651#
628# Multifunction device drivers 652# Multifunction device drivers
629# 653#
654# CONFIG_MFD_CORE is not set
630# CONFIG_MFD_SM501 is not set 655# CONFIG_MFD_SM501 is not set
656# CONFIG_HTC_PASIC3 is not set
631 657
632# 658#
633# Multimedia devices 659# Multimedia devices
634# 660#
661
662#
663# Multimedia core support
664#
635# CONFIG_VIDEO_DEV is not set 665# CONFIG_VIDEO_DEV is not set
636# CONFIG_DVB_CORE is not set 666# CONFIG_DVB_CORE is not set
667# CONFIG_VIDEO_MEDIA is not set
668
669#
670# Multimedia drivers
671#
637# CONFIG_DAB is not set 672# CONFIG_DAB is not set
638 673
639# 674#
@@ -650,16 +685,14 @@ CONFIG_SSB_POSSIBLE=y
650# Display device support 685# Display device support
651# 686#
652# CONFIG_DISPLAY_SUPPORT is not set 687# CONFIG_DISPLAY_SUPPORT is not set
653
654#
655# Sound
656#
657# CONFIG_SOUND is not set 688# CONFIG_SOUND is not set
658CONFIG_USB_SUPPORT=y 689CONFIG_USB_SUPPORT=y
659CONFIG_USB_ARCH_HAS_HCD=y 690CONFIG_USB_ARCH_HAS_HCD=y
660CONFIG_USB_ARCH_HAS_OHCI=y 691CONFIG_USB_ARCH_HAS_OHCI=y
661CONFIG_USB_ARCH_HAS_EHCI=y 692CONFIG_USB_ARCH_HAS_EHCI=y
662# CONFIG_USB is not set 693# CONFIG_USB is not set
694# CONFIG_USB_OTG_WHITELIST is not set
695# CONFIG_USB_OTG_BLACKLIST_HUB is not set
663 696
664# 697#
665# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 698# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -668,13 +701,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
668# CONFIG_MMC is not set 701# CONFIG_MMC is not set
669# CONFIG_MEMSTICK is not set 702# CONFIG_MEMSTICK is not set
670# CONFIG_NEW_LEDS is not set 703# CONFIG_NEW_LEDS is not set
704# CONFIG_ACCESSIBILITY is not set
671# CONFIG_INFINIBAND is not set 705# CONFIG_INFINIBAND is not set
672# CONFIG_EDAC is not set 706# CONFIG_EDAC is not set
673# CONFIG_RTC_CLASS is not set 707# CONFIG_RTC_CLASS is not set
674 708# CONFIG_DMADEVICES is not set
675#
676# Userspace I/O
677#
678# CONFIG_UIO is not set 709# CONFIG_UIO is not set
679 710
680# 711#
@@ -689,7 +720,6 @@ CONFIG_EXT2_FS=y
689# CONFIG_JFS_FS is not set 720# CONFIG_JFS_FS is not set
690# CONFIG_FS_POSIX_ACL is not set 721# CONFIG_FS_POSIX_ACL is not set
691# CONFIG_XFS_FS is not set 722# CONFIG_XFS_FS is not set
692# CONFIG_GFS2_FS is not set
693# CONFIG_OCFS2_FS is not set 723# CONFIG_OCFS2_FS is not set
694CONFIG_DNOTIFY=y 724CONFIG_DNOTIFY=y
695CONFIG_INOTIFY=y 725CONFIG_INOTIFY=y
@@ -748,6 +778,7 @@ CONFIG_JFFS2_RTIME=y
748CONFIG_CRAMFS=y 778CONFIG_CRAMFS=y
749# CONFIG_VXFS_FS is not set 779# CONFIG_VXFS_FS is not set
750# CONFIG_MINIX_FS is not set 780# CONFIG_MINIX_FS is not set
781# CONFIG_OMFS_FS is not set
751# CONFIG_HPFS_FS is not set 782# CONFIG_HPFS_FS is not set
752# CONFIG_QNX4FS_FS is not set 783# CONFIG_QNX4FS_FS is not set
753# CONFIG_ROMFS_FS is not set 784# CONFIG_ROMFS_FS is not set
@@ -758,14 +789,12 @@ CONFIG_NFS_FS=y
758CONFIG_NFS_V3=y 789CONFIG_NFS_V3=y
759# CONFIG_NFS_V3_ACL is not set 790# CONFIG_NFS_V3_ACL is not set
760# CONFIG_NFS_V4 is not set 791# CONFIG_NFS_V4 is not set
761# CONFIG_NFS_DIRECTIO is not set
762# CONFIG_NFSD is not set
763CONFIG_ROOT_NFS=y 792CONFIG_ROOT_NFS=y
793# CONFIG_NFSD is not set
764CONFIG_LOCKD=y 794CONFIG_LOCKD=y
765CONFIG_LOCKD_V4=y 795CONFIG_LOCKD_V4=y
766CONFIG_NFS_COMMON=y 796CONFIG_NFS_COMMON=y
767CONFIG_SUNRPC=y 797CONFIG_SUNRPC=y
768# CONFIG_SUNRPC_BIND34 is not set
769# CONFIG_RPCSEC_GSS_KRB5 is not set 798# CONFIG_RPCSEC_GSS_KRB5 is not set
770# CONFIG_RPCSEC_GSS_SPKM3 is not set 799# CONFIG_RPCSEC_GSS_SPKM3 is not set
771# CONFIG_SMB_FS is not set 800# CONFIG_SMB_FS is not set
@@ -786,8 +815,10 @@ CONFIG_MSDOS_PARTITION=y
786# Library routines 815# Library routines
787# 816#
788CONFIG_BITREVERSE=y 817CONFIG_BITREVERSE=y
818# CONFIG_GENERIC_FIND_FIRST_BIT is not set
789# CONFIG_CRC_CCITT is not set 819# CONFIG_CRC_CCITT is not set
790# CONFIG_CRC16 is not set 820# CONFIG_CRC16 is not set
821# CONFIG_CRC_T10DIF is not set
791# CONFIG_CRC_ITU_T is not set 822# CONFIG_CRC_ITU_T is not set
792CONFIG_CRC32=y 823CONFIG_CRC32=y
793# CONFIG_CRC7 is not set 824# CONFIG_CRC7 is not set
@@ -798,6 +829,7 @@ CONFIG_PLIST=y
798CONFIG_HAS_IOMEM=y 829CONFIG_HAS_IOMEM=y
799CONFIG_HAS_IOPORT=y 830CONFIG_HAS_IOPORT=y
800CONFIG_HAS_DMA=y 831CONFIG_HAS_DMA=y
832CONFIG_HAVE_LMB=y
801 833
802# 834#
803# Kernel hacking 835# Kernel hacking
@@ -805,6 +837,7 @@ CONFIG_HAS_DMA=y
805# CONFIG_PRINTK_TIME is not set 837# CONFIG_PRINTK_TIME is not set
806CONFIG_ENABLE_WARN_DEPRECATED=y 838CONFIG_ENABLE_WARN_DEPRECATED=y
807CONFIG_ENABLE_MUST_CHECK=y 839CONFIG_ENABLE_MUST_CHECK=y
840CONFIG_FRAME_WARN=1024
808CONFIG_MAGIC_SYSRQ=y 841CONFIG_MAGIC_SYSRQ=y
809# CONFIG_UNUSED_SYMBOLS is not set 842# CONFIG_UNUSED_SYMBOLS is not set
810CONFIG_DEBUG_FS=y 843CONFIG_DEBUG_FS=y
@@ -812,9 +845,12 @@ CONFIG_DEBUG_FS=y
812CONFIG_DEBUG_KERNEL=y 845CONFIG_DEBUG_KERNEL=y
813# CONFIG_DEBUG_SHIRQ is not set 846# CONFIG_DEBUG_SHIRQ is not set
814CONFIG_DETECT_SOFTLOCKUP=y 847CONFIG_DETECT_SOFTLOCKUP=y
848# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
849CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
815CONFIG_SCHED_DEBUG=y 850CONFIG_SCHED_DEBUG=y
816# CONFIG_SCHEDSTATS is not set 851# CONFIG_SCHEDSTATS is not set
817# CONFIG_TIMER_STATS is not set 852# CONFIG_TIMER_STATS is not set
853# CONFIG_DEBUG_OBJECTS is not set
818# CONFIG_SLUB_DEBUG_ON is not set 854# CONFIG_SLUB_DEBUG_ON is not set
819# CONFIG_SLUB_STATS is not set 855# CONFIG_SLUB_STATS is not set
820# CONFIG_DEBUG_RT_MUTEXES is not set 856# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -827,17 +863,30 @@ CONFIG_SCHED_DEBUG=y
827CONFIG_DEBUG_BUGVERBOSE=y 863CONFIG_DEBUG_BUGVERBOSE=y
828# CONFIG_DEBUG_INFO is not set 864# CONFIG_DEBUG_INFO is not set
829# CONFIG_DEBUG_VM is not set 865# CONFIG_DEBUG_VM is not set
866# CONFIG_DEBUG_WRITECOUNT is not set
867# CONFIG_DEBUG_MEMORY_INIT is not set
830# CONFIG_DEBUG_LIST is not set 868# CONFIG_DEBUG_LIST is not set
831# CONFIG_DEBUG_SG is not set 869# CONFIG_DEBUG_SG is not set
832# CONFIG_BOOT_PRINTK_DELAY is not set 870# CONFIG_BOOT_PRINTK_DELAY is not set
833# CONFIG_RCU_TORTURE_TEST is not set 871# CONFIG_RCU_TORTURE_TEST is not set
834# CONFIG_BACKTRACE_SELF_TEST is not set 872# CONFIG_BACKTRACE_SELF_TEST is not set
835# CONFIG_FAULT_INJECTION is not set 873# CONFIG_FAULT_INJECTION is not set
874# CONFIG_LATENCYTOP is not set
875CONFIG_HAVE_FTRACE=y
876CONFIG_HAVE_DYNAMIC_FTRACE=y
877# CONFIG_FTRACE is not set
878# CONFIG_SCHED_TRACER is not set
879# CONFIG_CONTEXT_SWITCH_TRACER is not set
836# CONFIG_SAMPLES is not set 880# CONFIG_SAMPLES is not set
881CONFIG_HAVE_ARCH_KGDB=y
882# CONFIG_KGDB is not set
837# CONFIG_DEBUG_STACKOVERFLOW is not set 883# CONFIG_DEBUG_STACKOVERFLOW is not set
838# CONFIG_DEBUG_STACK_USAGE is not set 884# CONFIG_DEBUG_STACK_USAGE is not set
839# CONFIG_DEBUG_PAGEALLOC is not set 885# CONFIG_DEBUG_PAGEALLOC is not set
840# CONFIG_DEBUGGER is not set 886# CONFIG_CODE_PATCHING_SELFTEST is not set
887# CONFIG_FTR_FIXUP_SELFTEST is not set
888# CONFIG_XMON is not set
889# CONFIG_IRQSTACKS is not set
841# CONFIG_VIRQ_DEBUG is not set 890# CONFIG_VIRQ_DEBUG is not set
842# CONFIG_BDI_SWITCH is not set 891# CONFIG_BDI_SWITCH is not set
843# CONFIG_PPC_EARLY_DEBUG is not set 892# CONFIG_PPC_EARLY_DEBUG is not set
@@ -849,50 +898,84 @@ CONFIG_DEBUG_BUGVERBOSE=y
849# CONFIG_SECURITY is not set 898# CONFIG_SECURITY is not set
850# CONFIG_SECURITY_FILE_CAPABILITIES is not set 899# CONFIG_SECURITY_FILE_CAPABILITIES is not set
851CONFIG_CRYPTO=y 900CONFIG_CRYPTO=y
901
902#
903# Crypto core or helper
904#
852CONFIG_CRYPTO_ALGAPI=y 905CONFIG_CRYPTO_ALGAPI=y
853CONFIG_CRYPTO_BLKCIPHER=y 906CONFIG_CRYPTO_BLKCIPHER=y
854# CONFIG_CRYPTO_SEQIV is not set
855CONFIG_CRYPTO_MANAGER=y 907CONFIG_CRYPTO_MANAGER=y
908# CONFIG_CRYPTO_GF128MUL is not set
909# CONFIG_CRYPTO_NULL is not set
910# CONFIG_CRYPTO_CRYPTD is not set
911# CONFIG_CRYPTO_AUTHENC is not set
912# CONFIG_CRYPTO_TEST is not set
913
914#
915# Authenticated Encryption with Associated Data
916#
917# CONFIG_CRYPTO_CCM is not set
918# CONFIG_CRYPTO_GCM is not set
919# CONFIG_CRYPTO_SEQIV is not set
920
921#
922# Block modes
923#
924CONFIG_CRYPTO_CBC=y
925# CONFIG_CRYPTO_CTR is not set
926# CONFIG_CRYPTO_CTS is not set
927CONFIG_CRYPTO_ECB=y
928# CONFIG_CRYPTO_LRW is not set
929CONFIG_CRYPTO_PCBC=y
930# CONFIG_CRYPTO_XTS is not set
931
932#
933# Hash modes
934#
856# CONFIG_CRYPTO_HMAC is not set 935# CONFIG_CRYPTO_HMAC is not set
857# CONFIG_CRYPTO_XCBC is not set 936# CONFIG_CRYPTO_XCBC is not set
858# CONFIG_CRYPTO_NULL is not set 937
938#
939# Digest
940#
941# CONFIG_CRYPTO_CRC32C is not set
859# CONFIG_CRYPTO_MD4 is not set 942# CONFIG_CRYPTO_MD4 is not set
860CONFIG_CRYPTO_MD5=y 943CONFIG_CRYPTO_MD5=y
944# CONFIG_CRYPTO_MICHAEL_MIC is not set
945# CONFIG_CRYPTO_RMD128 is not set
946# CONFIG_CRYPTO_RMD160 is not set
947# CONFIG_CRYPTO_RMD256 is not set
948# CONFIG_CRYPTO_RMD320 is not set
861# CONFIG_CRYPTO_SHA1 is not set 949# CONFIG_CRYPTO_SHA1 is not set
862# CONFIG_CRYPTO_SHA256 is not set 950# CONFIG_CRYPTO_SHA256 is not set
863# CONFIG_CRYPTO_SHA512 is not set 951# CONFIG_CRYPTO_SHA512 is not set
864# CONFIG_CRYPTO_WP512 is not set
865# CONFIG_CRYPTO_TGR192 is not set 952# CONFIG_CRYPTO_TGR192 is not set
866# CONFIG_CRYPTO_GF128MUL is not set 953# CONFIG_CRYPTO_WP512 is not set
867CONFIG_CRYPTO_ECB=y 954
868CONFIG_CRYPTO_CBC=y 955#
869CONFIG_CRYPTO_PCBC=y 956# Ciphers
870# CONFIG_CRYPTO_LRW is not set 957#
871# CONFIG_CRYPTO_XTS is not set
872# CONFIG_CRYPTO_CTR is not set
873# CONFIG_CRYPTO_GCM is not set
874# CONFIG_CRYPTO_CCM is not set
875# CONFIG_CRYPTO_CRYPTD is not set
876CONFIG_CRYPTO_DES=y
877# CONFIG_CRYPTO_FCRYPT is not set
878# CONFIG_CRYPTO_BLOWFISH is not set
879# CONFIG_CRYPTO_TWOFISH is not set
880# CONFIG_CRYPTO_SERPENT is not set
881# CONFIG_CRYPTO_AES is not set 958# CONFIG_CRYPTO_AES is not set
959# CONFIG_CRYPTO_ANUBIS is not set
960# CONFIG_CRYPTO_ARC4 is not set
961# CONFIG_CRYPTO_BLOWFISH is not set
962# CONFIG_CRYPTO_CAMELLIA is not set
882# CONFIG_CRYPTO_CAST5 is not set 963# CONFIG_CRYPTO_CAST5 is not set
883# CONFIG_CRYPTO_CAST6 is not set 964# CONFIG_CRYPTO_CAST6 is not set
884# CONFIG_CRYPTO_TEA is not set 965CONFIG_CRYPTO_DES=y
885# CONFIG_CRYPTO_ARC4 is not set 966# CONFIG_CRYPTO_FCRYPT is not set
886# CONFIG_CRYPTO_KHAZAD is not set 967# CONFIG_CRYPTO_KHAZAD is not set
887# CONFIG_CRYPTO_ANUBIS is not set
888# CONFIG_CRYPTO_SEED is not set
889# CONFIG_CRYPTO_SALSA20 is not set 968# CONFIG_CRYPTO_SALSA20 is not set
969# CONFIG_CRYPTO_SEED is not set
970# CONFIG_CRYPTO_SERPENT is not set
971# CONFIG_CRYPTO_TEA is not set
972# CONFIG_CRYPTO_TWOFISH is not set
973
974#
975# Compression
976#
890# CONFIG_CRYPTO_DEFLATE is not set 977# CONFIG_CRYPTO_DEFLATE is not set
891# CONFIG_CRYPTO_MICHAEL_MIC is not set
892# CONFIG_CRYPTO_CRC32C is not set
893# CONFIG_CRYPTO_CAMELLIA is not set
894# CONFIG_CRYPTO_TEST is not set
895# CONFIG_CRYPTO_AUTHENC is not set
896# CONFIG_CRYPTO_LZO is not set 978# CONFIG_CRYPTO_LZO is not set
897# CONFIG_CRYPTO_HW is not set 979# CONFIG_CRYPTO_HW is not set
898# CONFIG_PPC_CLOCK is not set 980# CONFIG_PPC_CLOCK is not set
981# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/katmai_defconfig b/arch/powerpc/configs/44x/katmai_defconfig
index c8804ec01ea4..7bc4082a1c93 100644
--- a/arch/powerpc/configs/44x/katmai_defconfig
+++ b/arch/powerpc/configs/44x/katmai_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.24-rc6 3# Linux kernel version: 2.6.27-rc1
4# Mon Dec 24 11:17:43 2007 4# Tue Aug 5 09:06:51 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -29,7 +29,12 @@ CONFIG_GENERIC_TIME=y
29CONFIG_GENERIC_TIME_VSYSCALL=y 29CONFIG_GENERIC_TIME_VSYSCALL=y
30CONFIG_GENERIC_CLOCKEVENTS=y 30CONFIG_GENERIC_CLOCKEVENTS=y
31CONFIG_GENERIC_HARDIRQS=y 31CONFIG_GENERIC_HARDIRQS=y
32# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
32CONFIG_IRQ_PER_CPU=y 34CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y
36CONFIG_HAVE_LATENCYTOP_SUPPORT=y
37CONFIG_LOCKDEP_SUPPORT=y
33CONFIG_RWSEM_XCHGADD_ALGORITHM=y 38CONFIG_RWSEM_XCHGADD_ALGORITHM=y
34CONFIG_ARCH_HAS_ILOG2_U32=y 39CONFIG_ARCH_HAS_ILOG2_U32=y
35CONFIG_GENERIC_HWEIGHT=y 40CONFIG_GENERIC_HWEIGHT=y
@@ -67,23 +72,22 @@ CONFIG_SYSVIPC_SYSCTL=y
67CONFIG_POSIX_MQUEUE=y 72CONFIG_POSIX_MQUEUE=y
68# CONFIG_BSD_PROCESS_ACCT is not set 73# CONFIG_BSD_PROCESS_ACCT is not set
69# CONFIG_TASKSTATS is not set 74# CONFIG_TASKSTATS is not set
70# CONFIG_USER_NS is not set
71# CONFIG_PID_NS is not set
72# CONFIG_AUDIT is not set 75# CONFIG_AUDIT is not set
73# CONFIG_IKCONFIG is not set 76# CONFIG_IKCONFIG is not set
74CONFIG_LOG_BUF_SHIFT=14 77CONFIG_LOG_BUF_SHIFT=14
75# CONFIG_CGROUPS is not set 78# CONFIG_CGROUPS is not set
76CONFIG_FAIR_GROUP_SCHED=y 79# CONFIG_GROUP_SCHED is not set
77CONFIG_FAIR_USER_SCHED=y
78# CONFIG_FAIR_CGROUP_SCHED is not set
79CONFIG_SYSFS_DEPRECATED=y 80CONFIG_SYSFS_DEPRECATED=y
81CONFIG_SYSFS_DEPRECATED_V2=y
80# CONFIG_RELAY is not set 82# CONFIG_RELAY is not set
83# CONFIG_NAMESPACES is not set
81CONFIG_BLK_DEV_INITRD=y 84CONFIG_BLK_DEV_INITRD=y
82CONFIG_INITRAMFS_SOURCE="" 85CONFIG_INITRAMFS_SOURCE=""
83# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 86# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
84CONFIG_SYSCTL=y 87CONFIG_SYSCTL=y
85CONFIG_EMBEDDED=y 88CONFIG_EMBEDDED=y
86CONFIG_SYSCTL_SYSCALL=y 89CONFIG_SYSCTL_SYSCALL=y
90CONFIG_SYSCTL_SYSCALL_CHECK=y
87CONFIG_KALLSYMS=y 91CONFIG_KALLSYMS=y
88# CONFIG_KALLSYMS_ALL is not set 92# CONFIG_KALLSYMS_ALL is not set
89# CONFIG_KALLSYMS_EXTRA_PASS is not set 93# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -91,11 +95,13 @@ CONFIG_HOTPLUG=y
91CONFIG_PRINTK=y 95CONFIG_PRINTK=y
92CONFIG_BUG=y 96CONFIG_BUG=y
93CONFIG_ELF_CORE=y 97CONFIG_ELF_CORE=y
98CONFIG_COMPAT_BRK=y
94CONFIG_BASE_FULL=y 99CONFIG_BASE_FULL=y
95CONFIG_FUTEX=y 100CONFIG_FUTEX=y
96CONFIG_ANON_INODES=y 101CONFIG_ANON_INODES=y
97CONFIG_EPOLL=y 102CONFIG_EPOLL=y
98CONFIG_SIGNALFD=y 103CONFIG_SIGNALFD=y
104CONFIG_TIMERFD=y
99CONFIG_EVENTFD=y 105CONFIG_EVENTFD=y
100CONFIG_SHMEM=y 106CONFIG_SHMEM=y
101CONFIG_VM_EVENT_COUNTERS=y 107CONFIG_VM_EVENT_COUNTERS=y
@@ -103,10 +109,26 @@ CONFIG_SLUB_DEBUG=y
103# CONFIG_SLAB is not set 109# CONFIG_SLAB is not set
104CONFIG_SLUB=y 110CONFIG_SLUB=y
105# CONFIG_SLOB is not set 111# CONFIG_SLOB is not set
112# CONFIG_PROFILING is not set
113# CONFIG_MARKERS is not set
114CONFIG_HAVE_OPROFILE=y
115# CONFIG_KPROBES is not set
116CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
117CONFIG_HAVE_IOREMAP_PROT=y
118CONFIG_HAVE_KPROBES=y
119CONFIG_HAVE_KRETPROBES=y
120CONFIG_HAVE_ARCH_TRACEHOOK=y
121# CONFIG_HAVE_DMA_ATTRS is not set
122# CONFIG_USE_GENERIC_SMP_HELPERS is not set
123# CONFIG_HAVE_CLK is not set
124CONFIG_PROC_PAGE_MONITOR=y
125# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
126CONFIG_SLABINFO=y
106CONFIG_RT_MUTEXES=y 127CONFIG_RT_MUTEXES=y
107# CONFIG_TINY_SHMEM is not set 128# CONFIG_TINY_SHMEM is not set
108CONFIG_BASE_SMALL=0 129CONFIG_BASE_SMALL=0
109CONFIG_MODULES=y 130CONFIG_MODULES=y
131# CONFIG_MODULE_FORCE_LOAD is not set
110CONFIG_MODULE_UNLOAD=y 132CONFIG_MODULE_UNLOAD=y
111# CONFIG_MODULE_FORCE_UNLOAD is not set 133# CONFIG_MODULE_FORCE_UNLOAD is not set
112# CONFIG_MODVERSIONS is not set 134# CONFIG_MODVERSIONS is not set
@@ -117,6 +139,7 @@ CONFIG_LBD=y
117# CONFIG_BLK_DEV_IO_TRACE is not set 139# CONFIG_BLK_DEV_IO_TRACE is not set
118# CONFIG_LSF is not set 140# CONFIG_LSF is not set
119# CONFIG_BLK_DEV_BSG is not set 141# CONFIG_BLK_DEV_BSG is not set
142# CONFIG_BLK_DEV_INTEGRITY is not set
120 143
121# 144#
122# IO Schedulers 145# IO Schedulers
@@ -130,23 +153,28 @@ CONFIG_DEFAULT_AS=y
130# CONFIG_DEFAULT_CFQ is not set 153# CONFIG_DEFAULT_CFQ is not set
131# CONFIG_DEFAULT_NOOP is not set 154# CONFIG_DEFAULT_NOOP is not set
132CONFIG_DEFAULT_IOSCHED="anticipatory" 155CONFIG_DEFAULT_IOSCHED="anticipatory"
156CONFIG_CLASSIC_RCU=y
133CONFIG_PPC4xx_PCI_EXPRESS=y 157CONFIG_PPC4xx_PCI_EXPRESS=y
134 158
135# 159#
136# Platform support 160# Platform support
137# 161#
138# CONFIG_PPC_MPC52xx is not set
139# CONFIG_PPC_MPC5200 is not set
140# CONFIG_PPC_CELL is not set 162# CONFIG_PPC_CELL is not set
141# CONFIG_PPC_CELL_NATIVE is not set 163# CONFIG_PPC_CELL_NATIVE is not set
142# CONFIG_PQ2ADS is not set 164# CONFIG_PQ2ADS is not set
143# CONFIG_BAMBOO is not set 165# CONFIG_BAMBOO is not set
144# CONFIG_EBONY is not set 166# CONFIG_EBONY is not set
167# CONFIG_SAM440EP is not set
145# CONFIG_SEQUOIA is not set 168# CONFIG_SEQUOIA is not set
146# CONFIG_TAISHAN is not set 169# CONFIG_TAISHAN is not set
147CONFIG_KATMAI=y 170CONFIG_KATMAI=y
148# CONFIG_RAINIER is not set 171# CONFIG_RAINIER is not set
172# CONFIG_WARP is not set
173# CONFIG_CANYONLANDS is not set
174# CONFIG_YOSEMITE is not set
175# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
149CONFIG_440SPe=y 176CONFIG_440SPe=y
177# CONFIG_IPIC is not set
150# CONFIG_MPIC is not set 178# CONFIG_MPIC is not set
151# CONFIG_MPIC_WEIRD is not set 179# CONFIG_MPIC_WEIRD is not set
152# CONFIG_PPC_I8259 is not set 180# CONFIG_PPC_I8259 is not set
@@ -157,7 +185,6 @@ CONFIG_440SPe=y
157# CONFIG_PPC_INDIRECT_IO is not set 185# CONFIG_PPC_INDIRECT_IO is not set
158# CONFIG_GENERIC_IOMAP is not set 186# CONFIG_GENERIC_IOMAP is not set
159# CONFIG_CPU_FREQ is not set 187# CONFIG_CPU_FREQ is not set
160# CONFIG_CPM2 is not set
161# CONFIG_FSL_ULI1575 is not set 188# CONFIG_FSL_ULI1575 is not set
162 189
163# 190#
@@ -173,13 +200,17 @@ CONFIG_HZ_250=y
173# CONFIG_HZ_300 is not set 200# CONFIG_HZ_300 is not set
174# CONFIG_HZ_1000 is not set 201# CONFIG_HZ_1000 is not set
175CONFIG_HZ=250 202CONFIG_HZ=250
203# CONFIG_SCHED_HRTICK is not set
176CONFIG_PREEMPT_NONE=y 204CONFIG_PREEMPT_NONE=y
177# CONFIG_PREEMPT_VOLUNTARY is not set 205# CONFIG_PREEMPT_VOLUNTARY is not set
178# CONFIG_PREEMPT is not set 206# CONFIG_PREEMPT is not set
179CONFIG_BINFMT_ELF=y 207CONFIG_BINFMT_ELF=y
180# CONFIG_BINFMT_MISC is not set 208# CONFIG_BINFMT_MISC is not set
181# CONFIG_MATH_EMULATION is not set 209# CONFIG_MATH_EMULATION is not set
210# CONFIG_IOMMU_HELPER is not set
182CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y 211CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
212CONFIG_ARCH_HAS_WALK_MEMORY=y
213CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
183CONFIG_ARCH_FLATMEM_ENABLE=y 214CONFIG_ARCH_FLATMEM_ENABLE=y
184CONFIG_ARCH_POPULATES_NODE_MAP=y 215CONFIG_ARCH_POPULATES_NODE_MAP=y
185CONFIG_SELECT_MEMORY_MODEL=y 216CONFIG_SELECT_MEMORY_MODEL=y
@@ -190,17 +221,19 @@ CONFIG_FLATMEM=y
190CONFIG_FLAT_NODE_MEM_MAP=y 221CONFIG_FLAT_NODE_MEM_MAP=y
191# CONFIG_SPARSEMEM_STATIC is not set 222# CONFIG_SPARSEMEM_STATIC is not set
192# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 223# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
224CONFIG_PAGEFLAGS_EXTENDED=y
193CONFIG_SPLIT_PTLOCK_CPUS=4 225CONFIG_SPLIT_PTLOCK_CPUS=4
226CONFIG_MIGRATION=y
194CONFIG_RESOURCES_64BIT=y 227CONFIG_RESOURCES_64BIT=y
195CONFIG_ZONE_DMA_FLAG=1 228CONFIG_ZONE_DMA_FLAG=1
196CONFIG_BOUNCE=y 229CONFIG_BOUNCE=y
197CONFIG_VIRT_TO_BUS=y 230CONFIG_VIRT_TO_BUS=y
231CONFIG_FORCE_MAX_ZONEORDER=11
198CONFIG_PROC_DEVICETREE=y 232CONFIG_PROC_DEVICETREE=y
199CONFIG_CMDLINE_BOOL=y 233CONFIG_CMDLINE_BOOL=y
200CONFIG_CMDLINE="" 234CONFIG_CMDLINE=""
235CONFIG_EXTRA_TARGETS=""
201CONFIG_SECCOMP=y 236CONFIG_SECCOMP=y
202CONFIG_WANT_DEVICE_TREE=y
203CONFIG_DEVICE_TREE="katmai.dts"
204CONFIG_ISA_DMA_API=y 237CONFIG_ISA_DMA_API=y
205 238
206# 239#
@@ -208,6 +241,8 @@ CONFIG_ISA_DMA_API=y
208# 241#
209CONFIG_ZONE_DMA=y 242CONFIG_ZONE_DMA=y
210CONFIG_PPC_INDIRECT_PCI=y 243CONFIG_PPC_INDIRECT_PCI=y
244CONFIG_4xx_SOC=y
245CONFIG_PPC_PCI_CHOICE=y
211CONFIG_PCI=y 246CONFIG_PCI=y
212CONFIG_PCI_DOMAINS=y 247CONFIG_PCI_DOMAINS=y
213CONFIG_PCI_SYSCALL=y 248CONFIG_PCI_SYSCALL=y
@@ -218,6 +253,7 @@ CONFIG_PCI_LEGACY=y
218# CONFIG_PCI_DEBUG is not set 253# CONFIG_PCI_DEBUG is not set
219# CONFIG_PCCARD is not set 254# CONFIG_PCCARD is not set
220# CONFIG_HOTPLUG_PCI is not set 255# CONFIG_HOTPLUG_PCI is not set
256# CONFIG_HAS_RAPIDIO is not set
221 257
222# 258#
223# Advanced setup 259# Advanced setup
@@ -227,17 +263,13 @@ CONFIG_PCI_LEGACY=y
227# 263#
228# Default settings for advanced configuration options are used 264# Default settings for advanced configuration options are used
229# 265#
230CONFIG_HIGHMEM_START=0xfe000000
231CONFIG_LOWMEM_SIZE=0x30000000 266CONFIG_LOWMEM_SIZE=0x30000000
267CONFIG_PAGE_OFFSET=0xc0000000
232CONFIG_KERNEL_START=0xc0000000 268CONFIG_KERNEL_START=0xc0000000
269CONFIG_PHYSICAL_START=0x00000000
233CONFIG_TASK_SIZE=0xc0000000 270CONFIG_TASK_SIZE=0xc0000000
234CONFIG_CONSISTENT_START=0xff100000 271CONFIG_CONSISTENT_START=0xff100000
235CONFIG_CONSISTENT_SIZE=0x00200000 272CONFIG_CONSISTENT_SIZE=0x00200000
236CONFIG_BOOT_LOAD=0x01000000
237
238#
239# Networking
240#
241CONFIG_NET=y 273CONFIG_NET=y
242 274
243# 275#
@@ -275,8 +307,6 @@ CONFIG_TCP_CONG_CUBIC=y
275CONFIG_DEFAULT_TCP_CONG="cubic" 307CONFIG_DEFAULT_TCP_CONG="cubic"
276# CONFIG_TCP_MD5SIG is not set 308# CONFIG_TCP_MD5SIG is not set
277# CONFIG_IPV6 is not set 309# CONFIG_IPV6 is not set
278# CONFIG_INET6_XFRM_TUNNEL is not set
279# CONFIG_INET6_TUNNEL is not set
280# CONFIG_NETWORK_SECMARK is not set 310# CONFIG_NETWORK_SECMARK is not set
281# CONFIG_NETFILTER is not set 311# CONFIG_NETFILTER is not set
282# CONFIG_IP_DCCP is not set 312# CONFIG_IP_DCCP is not set
@@ -300,6 +330,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
300# 330#
301# CONFIG_NET_PKTGEN is not set 331# CONFIG_NET_PKTGEN is not set
302# CONFIG_HAMRADIO is not set 332# CONFIG_HAMRADIO is not set
333# CONFIG_CAN is not set
303# CONFIG_IRDA is not set 334# CONFIG_IRDA is not set
304# CONFIG_BT is not set 335# CONFIG_BT is not set
305# CONFIG_AF_RXRPC is not set 336# CONFIG_AF_RXRPC is not set
@@ -325,6 +356,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
325CONFIG_STANDALONE=y 356CONFIG_STANDALONE=y
326CONFIG_PREVENT_FIRMWARE_BUILD=y 357CONFIG_PREVENT_FIRMWARE_BUILD=y
327CONFIG_FW_LOADER=y 358CONFIG_FW_LOADER=y
359CONFIG_FIRMWARE_IN_KERNEL=y
360CONFIG_EXTRA_FIRMWARE=""
328# CONFIG_DEBUG_DRIVER is not set 361# CONFIG_DEBUG_DRIVER is not set
329# CONFIG_DEBUG_DEVRES is not set 362# CONFIG_DEBUG_DEVRES is not set
330# CONFIG_SYS_HYPERVISOR is not set 363# CONFIG_SYS_HYPERVISOR is not set
@@ -346,15 +379,19 @@ CONFIG_BLK_DEV=y
346CONFIG_BLK_DEV_RAM=y 379CONFIG_BLK_DEV_RAM=y
347CONFIG_BLK_DEV_RAM_COUNT=16 380CONFIG_BLK_DEV_RAM_COUNT=16
348CONFIG_BLK_DEV_RAM_SIZE=35000 381CONFIG_BLK_DEV_RAM_SIZE=35000
349CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 382# CONFIG_BLK_DEV_XIP is not set
350# CONFIG_CDROM_PKTCDVD is not set 383# CONFIG_CDROM_PKTCDVD is not set
351# CONFIG_ATA_OVER_ETH is not set 384# CONFIG_ATA_OVER_ETH is not set
352# CONFIG_XILINX_SYSACE is not set 385# CONFIG_XILINX_SYSACE is not set
386# CONFIG_BLK_DEV_HD is not set
353CONFIG_MISC_DEVICES=y 387CONFIG_MISC_DEVICES=y
354# CONFIG_PHANTOM is not set 388# CONFIG_PHANTOM is not set
355# CONFIG_EEPROM_93CX6 is not set 389# CONFIG_EEPROM_93CX6 is not set
356# CONFIG_SGI_IOC4 is not set 390# CONFIG_SGI_IOC4 is not set
357# CONFIG_TIFM_CORE is not set 391# CONFIG_TIFM_CORE is not set
392# CONFIG_ENCLOSURE_SERVICES is not set
393# CONFIG_HP_ILO is not set
394CONFIG_HAVE_IDE=y
358# CONFIG_IDE is not set 395# CONFIG_IDE is not set
359 396
360# 397#
@@ -371,6 +408,10 @@ CONFIG_MISC_DEVICES=y
371# 408#
372# IEEE 1394 (FireWire) support 409# IEEE 1394 (FireWire) support
373# 410#
411
412#
413# Enable only one of the two stacks, unless you know what you are doing
414#
374# CONFIG_FIREWIRE is not set 415# CONFIG_FIREWIRE is not set
375# CONFIG_IEEE1394 is not set 416# CONFIG_IEEE1394 is not set
376# CONFIG_I2O is not set 417# CONFIG_I2O is not set
@@ -378,14 +419,12 @@ CONFIG_MACINTOSH_DRIVERS=y
378# CONFIG_MAC_EMUMOUSEBTN is not set 419# CONFIG_MAC_EMUMOUSEBTN is not set
379# CONFIG_WINDFARM is not set 420# CONFIG_WINDFARM is not set
380CONFIG_NETDEVICES=y 421CONFIG_NETDEVICES=y
381# CONFIG_NETDEVICES_MULTIQUEUE is not set
382# CONFIG_DUMMY is not set 422# CONFIG_DUMMY is not set
383# CONFIG_BONDING is not set 423# CONFIG_BONDING is not set
384# CONFIG_MACVLAN is not set 424# CONFIG_MACVLAN is not set
385# CONFIG_EQUALIZER is not set 425# CONFIG_EQUALIZER is not set
386# CONFIG_TUN is not set 426# CONFIG_TUN is not set
387# CONFIG_VETH is not set 427# CONFIG_VETH is not set
388# CONFIG_IP1000 is not set
389# CONFIG_ARCNET is not set 428# CONFIG_ARCNET is not set
390# CONFIG_PHYLIB is not set 429# CONFIG_PHYLIB is not set
391CONFIG_NET_ETHERNET=y 430CONFIG_NET_ETHERNET=y
@@ -414,6 +453,8 @@ CONFIG_NETDEV_1000=y
414# CONFIG_DL2K is not set 453# CONFIG_DL2K is not set
415# CONFIG_E1000 is not set 454# CONFIG_E1000 is not set
416# CONFIG_E1000E is not set 455# CONFIG_E1000E is not set
456# CONFIG_IP1000 is not set
457# CONFIG_IGB is not set
417# CONFIG_NS83820 is not set 458# CONFIG_NS83820 is not set
418# CONFIG_HAMACHI is not set 459# CONFIG_HAMACHI is not set
419# CONFIG_YELLOWFIN is not set 460# CONFIG_YELLOWFIN is not set
@@ -421,12 +462,12 @@ CONFIG_NETDEV_1000=y
421# CONFIG_SIS190 is not set 462# CONFIG_SIS190 is not set
422# CONFIG_SKGE is not set 463# CONFIG_SKGE is not set
423# CONFIG_SKY2 is not set 464# CONFIG_SKY2 is not set
424# CONFIG_SK98LIN is not set
425# CONFIG_VIA_VELOCITY is not set 465# CONFIG_VIA_VELOCITY is not set
426# CONFIG_TIGON3 is not set 466# CONFIG_TIGON3 is not set
427# CONFIG_BNX2 is not set 467# CONFIG_BNX2 is not set
428# CONFIG_QLA3XXX is not set 468# CONFIG_QLA3XXX is not set
429# CONFIG_ATL1 is not set 469# CONFIG_ATL1 is not set
470# CONFIG_ATL1E is not set
430CONFIG_NETDEV_10000=y 471CONFIG_NETDEV_10000=y
431# CONFIG_CHELSIO_T1 is not set 472# CONFIG_CHELSIO_T1 is not set
432# CONFIG_CHELSIO_T3 is not set 473# CONFIG_CHELSIO_T3 is not set
@@ -438,6 +479,8 @@ CONFIG_NETDEV_10000=y
438# CONFIG_NIU is not set 479# CONFIG_NIU is not set
439# CONFIG_MLX4_CORE is not set 480# CONFIG_MLX4_CORE is not set
440# CONFIG_TEHUTI is not set 481# CONFIG_TEHUTI is not set
482# CONFIG_BNX2X is not set
483# CONFIG_SFC is not set
441# CONFIG_TR is not set 484# CONFIG_TR is not set
442 485
443# 486#
@@ -445,12 +488,12 @@ CONFIG_NETDEV_10000=y
445# 488#
446# CONFIG_WLAN_PRE80211 is not set 489# CONFIG_WLAN_PRE80211 is not set
447# CONFIG_WLAN_80211 is not set 490# CONFIG_WLAN_80211 is not set
491# CONFIG_IWLWIFI_LEDS is not set
448# CONFIG_WAN is not set 492# CONFIG_WAN is not set
449# CONFIG_FDDI is not set 493# CONFIG_FDDI is not set
450# CONFIG_HIPPI is not set 494# CONFIG_HIPPI is not set
451# CONFIG_PPP is not set 495# CONFIG_PPP is not set
452# CONFIG_SLIP is not set 496# CONFIG_SLIP is not set
453# CONFIG_SHAPER is not set
454# CONFIG_NETCONSOLE is not set 497# CONFIG_NETCONSOLE is not set
455# CONFIG_NETPOLL is not set 498# CONFIG_NETPOLL is not set
456# CONFIG_NET_POLL_CONTROLLER is not set 499# CONFIG_NET_POLL_CONTROLLER is not set
@@ -472,7 +515,9 @@ CONFIG_NETDEV_10000=y
472# Character devices 515# Character devices
473# 516#
474# CONFIG_VT is not set 517# CONFIG_VT is not set
518CONFIG_DEVKMEM=y
475# CONFIG_SERIAL_NONSTANDARD is not set 519# CONFIG_SERIAL_NONSTANDARD is not set
520# CONFIG_NOZOMI is not set
476 521
477# 522#
478# Serial drivers 523# Serial drivers
@@ -509,15 +554,14 @@ CONFIG_LEGACY_PTY_COUNT=256
509# CONFIG_TCG_TPM is not set 554# CONFIG_TCG_TPM is not set
510CONFIG_DEVPORT=y 555CONFIG_DEVPORT=y
511# CONFIG_I2C is not set 556# CONFIG_I2C is not set
512
513#
514# SPI support
515#
516# CONFIG_SPI is not set 557# CONFIG_SPI is not set
517# CONFIG_SPI_MASTER is not set 558CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
559# CONFIG_GPIOLIB is not set
518# CONFIG_W1 is not set 560# CONFIG_W1 is not set
519# CONFIG_POWER_SUPPLY is not set 561# CONFIG_POWER_SUPPLY is not set
520# CONFIG_HWMON is not set 562# CONFIG_HWMON is not set
563# CONFIG_THERMAL is not set
564# CONFIG_THERMAL_HWMON is not set
521# CONFIG_WATCHDOG is not set 565# CONFIG_WATCHDOG is not set
522 566
523# 567#
@@ -529,13 +573,24 @@ CONFIG_SSB_POSSIBLE=y
529# 573#
530# Multifunction device drivers 574# Multifunction device drivers
531# 575#
576# CONFIG_MFD_CORE is not set
532# CONFIG_MFD_SM501 is not set 577# CONFIG_MFD_SM501 is not set
578# CONFIG_HTC_PASIC3 is not set
533 579
534# 580#
535# Multimedia devices 581# Multimedia devices
536# 582#
583
584#
585# Multimedia core support
586#
537# CONFIG_VIDEO_DEV is not set 587# CONFIG_VIDEO_DEV is not set
538# CONFIG_DVB_CORE is not set 588# CONFIG_DVB_CORE is not set
589# CONFIG_VIDEO_MEDIA is not set
590
591#
592# Multimedia drivers
593#
539CONFIG_DAB=y 594CONFIG_DAB=y
540 595
541# 596#
@@ -552,34 +607,27 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
552# Display device support 607# Display device support
553# 608#
554# CONFIG_DISPLAY_SUPPORT is not set 609# CONFIG_DISPLAY_SUPPORT is not set
555
556#
557# Sound
558#
559# CONFIG_SOUND is not set 610# CONFIG_SOUND is not set
560CONFIG_USB_SUPPORT=y 611CONFIG_USB_SUPPORT=y
561CONFIG_USB_ARCH_HAS_HCD=y 612CONFIG_USB_ARCH_HAS_HCD=y
562CONFIG_USB_ARCH_HAS_OHCI=y 613CONFIG_USB_ARCH_HAS_OHCI=y
563CONFIG_USB_ARCH_HAS_EHCI=y 614CONFIG_USB_ARCH_HAS_EHCI=y
564# CONFIG_USB is not set 615# CONFIG_USB is not set
616# CONFIG_USB_OTG_WHITELIST is not set
617# CONFIG_USB_OTG_BLACKLIST_HUB is not set
565 618
566# 619#
567# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 620# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
568# 621#
569
570#
571# USB Gadget Support
572#
573# CONFIG_USB_GADGET is not set 622# CONFIG_USB_GADGET is not set
574# CONFIG_MMC is not set 623# CONFIG_MMC is not set
624# CONFIG_MEMSTICK is not set
575# CONFIG_NEW_LEDS is not set 625# CONFIG_NEW_LEDS is not set
626# CONFIG_ACCESSIBILITY is not set
576# CONFIG_INFINIBAND is not set 627# CONFIG_INFINIBAND is not set
577# CONFIG_EDAC is not set 628# CONFIG_EDAC is not set
578# CONFIG_RTC_CLASS is not set 629# CONFIG_RTC_CLASS is not set
579 630# CONFIG_DMADEVICES is not set
580#
581# Userspace I/O
582#
583# CONFIG_UIO is not set 631# CONFIG_UIO is not set
584 632
585# 633#
@@ -594,14 +642,11 @@ CONFIG_EXT2_FS=y
594# CONFIG_JFS_FS is not set 642# CONFIG_JFS_FS is not set
595# CONFIG_FS_POSIX_ACL is not set 643# CONFIG_FS_POSIX_ACL is not set
596# CONFIG_XFS_FS is not set 644# CONFIG_XFS_FS is not set
597# CONFIG_GFS2_FS is not set
598# CONFIG_OCFS2_FS is not set 645# CONFIG_OCFS2_FS is not set
599# CONFIG_MINIX_FS is not set 646CONFIG_DNOTIFY=y
600# CONFIG_ROMFS_FS is not set
601CONFIG_INOTIFY=y 647CONFIG_INOTIFY=y
602CONFIG_INOTIFY_USER=y 648CONFIG_INOTIFY_USER=y
603# CONFIG_QUOTA is not set 649# CONFIG_QUOTA is not set
604CONFIG_DNOTIFY=y
605# CONFIG_AUTOFS_FS is not set 650# CONFIG_AUTOFS_FS is not set
606# CONFIG_AUTOFS4_FS is not set 651# CONFIG_AUTOFS4_FS is not set
607# CONFIG_FUSE_FS is not set 652# CONFIG_FUSE_FS is not set
@@ -643,8 +688,11 @@ CONFIG_TMPFS=y
643# CONFIG_EFS_FS is not set 688# CONFIG_EFS_FS is not set
644CONFIG_CRAMFS=y 689CONFIG_CRAMFS=y
645# CONFIG_VXFS_FS is not set 690# CONFIG_VXFS_FS is not set
691# CONFIG_MINIX_FS is not set
692# CONFIG_OMFS_FS is not set
646# CONFIG_HPFS_FS is not set 693# CONFIG_HPFS_FS is not set
647# CONFIG_QNX4FS_FS is not set 694# CONFIG_QNX4FS_FS is not set
695# CONFIG_ROMFS_FS is not set
648# CONFIG_SYSV_FS is not set 696# CONFIG_SYSV_FS is not set
649# CONFIG_UFS_FS is not set 697# CONFIG_UFS_FS is not set
650CONFIG_NETWORK_FILESYSTEMS=y 698CONFIG_NETWORK_FILESYSTEMS=y
@@ -652,14 +700,12 @@ CONFIG_NFS_FS=y
652CONFIG_NFS_V3=y 700CONFIG_NFS_V3=y
653# CONFIG_NFS_V3_ACL is not set 701# CONFIG_NFS_V3_ACL is not set
654# CONFIG_NFS_V4 is not set 702# CONFIG_NFS_V4 is not set
655# CONFIG_NFS_DIRECTIO is not set
656# CONFIG_NFSD is not set
657CONFIG_ROOT_NFS=y 703CONFIG_ROOT_NFS=y
704# CONFIG_NFSD is not set
658CONFIG_LOCKD=y 705CONFIG_LOCKD=y
659CONFIG_LOCKD_V4=y 706CONFIG_LOCKD_V4=y
660CONFIG_NFS_COMMON=y 707CONFIG_NFS_COMMON=y
661CONFIG_SUNRPC=y 708CONFIG_SUNRPC=y
662# CONFIG_SUNRPC_BIND34 is not set
663# CONFIG_RPCSEC_GSS_KRB5 is not set 709# CONFIG_RPCSEC_GSS_KRB5 is not set
664# CONFIG_RPCSEC_GSS_SPKM3 is not set 710# CONFIG_RPCSEC_GSS_SPKM3 is not set
665# CONFIG_SMB_FS is not set 711# CONFIG_SMB_FS is not set
@@ -675,14 +721,15 @@ CONFIG_SUNRPC=y
675CONFIG_MSDOS_PARTITION=y 721CONFIG_MSDOS_PARTITION=y
676# CONFIG_NLS is not set 722# CONFIG_NLS is not set
677# CONFIG_DLM is not set 723# CONFIG_DLM is not set
678# CONFIG_UCC_SLOW is not set
679 724
680# 725#
681# Library routines 726# Library routines
682# 727#
683CONFIG_BITREVERSE=y 728CONFIG_BITREVERSE=y
729# CONFIG_GENERIC_FIND_FIRST_BIT is not set
684# CONFIG_CRC_CCITT is not set 730# CONFIG_CRC_CCITT is not set
685# CONFIG_CRC16 is not set 731# CONFIG_CRC16 is not set
732# CONFIG_CRC_T10DIF is not set
686# CONFIG_CRC_ITU_T is not set 733# CONFIG_CRC_ITU_T is not set
687CONFIG_CRC32=y 734CONFIG_CRC32=y
688# CONFIG_CRC7 is not set 735# CONFIG_CRC7 is not set
@@ -692,10 +739,7 @@ CONFIG_PLIST=y
692CONFIG_HAS_IOMEM=y 739CONFIG_HAS_IOMEM=y
693CONFIG_HAS_IOPORT=y 740CONFIG_HAS_IOPORT=y
694CONFIG_HAS_DMA=y 741CONFIG_HAS_DMA=y
695CONFIG_INSTRUMENTATION=y 742CONFIG_HAVE_LMB=y
696# CONFIG_PROFILING is not set
697# CONFIG_KPROBES is not set
698# CONFIG_MARKERS is not set
699 743
700# 744#
701# Kernel hacking 745# Kernel hacking
@@ -703,6 +747,7 @@ CONFIG_INSTRUMENTATION=y
703# CONFIG_PRINTK_TIME is not set 747# CONFIG_PRINTK_TIME is not set
704CONFIG_ENABLE_WARN_DEPRECATED=y 748CONFIG_ENABLE_WARN_DEPRECATED=y
705CONFIG_ENABLE_MUST_CHECK=y 749CONFIG_ENABLE_MUST_CHECK=y
750CONFIG_FRAME_WARN=1024
706CONFIG_MAGIC_SYSRQ=y 751CONFIG_MAGIC_SYSRQ=y
707# CONFIG_UNUSED_SYMBOLS is not set 752# CONFIG_UNUSED_SYMBOLS is not set
708# CONFIG_DEBUG_FS is not set 753# CONFIG_DEBUG_FS is not set
@@ -710,10 +755,14 @@ CONFIG_MAGIC_SYSRQ=y
710CONFIG_DEBUG_KERNEL=y 755CONFIG_DEBUG_KERNEL=y
711# CONFIG_DEBUG_SHIRQ is not set 756# CONFIG_DEBUG_SHIRQ is not set
712CONFIG_DETECT_SOFTLOCKUP=y 757CONFIG_DETECT_SOFTLOCKUP=y
758# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
759CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
713CONFIG_SCHED_DEBUG=y 760CONFIG_SCHED_DEBUG=y
714# CONFIG_SCHEDSTATS is not set 761# CONFIG_SCHEDSTATS is not set
715# CONFIG_TIMER_STATS is not set 762# CONFIG_TIMER_STATS is not set
763# CONFIG_DEBUG_OBJECTS is not set
716# CONFIG_SLUB_DEBUG_ON is not set 764# CONFIG_SLUB_DEBUG_ON is not set
765# CONFIG_SLUB_STATS is not set
717# CONFIG_DEBUG_RT_MUTEXES is not set 766# CONFIG_DEBUG_RT_MUTEXES is not set
718# CONFIG_RT_MUTEX_TESTER is not set 767# CONFIG_RT_MUTEX_TESTER is not set
719# CONFIG_DEBUG_SPINLOCK is not set 768# CONFIG_DEBUG_SPINLOCK is not set
@@ -724,19 +773,30 @@ CONFIG_SCHED_DEBUG=y
724# CONFIG_DEBUG_BUGVERBOSE is not set 773# CONFIG_DEBUG_BUGVERBOSE is not set
725# CONFIG_DEBUG_INFO is not set 774# CONFIG_DEBUG_INFO is not set
726# CONFIG_DEBUG_VM is not set 775# CONFIG_DEBUG_VM is not set
776# CONFIG_DEBUG_WRITECOUNT is not set
777# CONFIG_DEBUG_MEMORY_INIT is not set
727# CONFIG_DEBUG_LIST is not set 778# CONFIG_DEBUG_LIST is not set
728# CONFIG_DEBUG_SG is not set 779# CONFIG_DEBUG_SG is not set
729CONFIG_FORCED_INLINING=y
730# CONFIG_BOOT_PRINTK_DELAY is not set 780# CONFIG_BOOT_PRINTK_DELAY is not set
731# CONFIG_RCU_TORTURE_TEST is not set 781# CONFIG_RCU_TORTURE_TEST is not set
782# CONFIG_BACKTRACE_SELF_TEST is not set
732# CONFIG_FAULT_INJECTION is not set 783# CONFIG_FAULT_INJECTION is not set
784# CONFIG_LATENCYTOP is not set
785CONFIG_HAVE_FTRACE=y
786CONFIG_HAVE_DYNAMIC_FTRACE=y
787# CONFIG_FTRACE is not set
788# CONFIG_SCHED_TRACER is not set
789# CONFIG_CONTEXT_SWITCH_TRACER is not set
733# CONFIG_SAMPLES is not set 790# CONFIG_SAMPLES is not set
791CONFIG_HAVE_ARCH_KGDB=y
792# CONFIG_KGDB is not set
734# CONFIG_DEBUG_STACKOVERFLOW is not set 793# CONFIG_DEBUG_STACKOVERFLOW is not set
735# CONFIG_DEBUG_STACK_USAGE is not set 794# CONFIG_DEBUG_STACK_USAGE is not set
736# CONFIG_DEBUG_PAGEALLOC is not set 795# CONFIG_DEBUG_PAGEALLOC is not set
737CONFIG_DEBUGGER=y 796# CONFIG_CODE_PATCHING_SELFTEST is not set
738# CONFIG_KGDB is not set 797# CONFIG_FTR_FIXUP_SELFTEST is not set
739# CONFIG_XMON is not set 798# CONFIG_XMON is not set
799# CONFIG_IRQSTACKS is not set
740# CONFIG_BDI_SWITCH is not set 800# CONFIG_BDI_SWITCH is not set
741# CONFIG_PPC_EARLY_DEBUG is not set 801# CONFIG_PPC_EARLY_DEBUG is not set
742 802
@@ -747,44 +807,85 @@ CONFIG_DEBUGGER=y
747# CONFIG_SECURITY is not set 807# CONFIG_SECURITY is not set
748# CONFIG_SECURITY_FILE_CAPABILITIES is not set 808# CONFIG_SECURITY_FILE_CAPABILITIES is not set
749CONFIG_CRYPTO=y 809CONFIG_CRYPTO=y
810
811#
812# Crypto core or helper
813#
750CONFIG_CRYPTO_ALGAPI=y 814CONFIG_CRYPTO_ALGAPI=y
751CONFIG_CRYPTO_BLKCIPHER=y 815CONFIG_CRYPTO_BLKCIPHER=y
752CONFIG_CRYPTO_MANAGER=y 816CONFIG_CRYPTO_MANAGER=y
817# CONFIG_CRYPTO_GF128MUL is not set
818# CONFIG_CRYPTO_NULL is not set
819# CONFIG_CRYPTO_CRYPTD is not set
820# CONFIG_CRYPTO_AUTHENC is not set
821# CONFIG_CRYPTO_TEST is not set
822
823#
824# Authenticated Encryption with Associated Data
825#
826# CONFIG_CRYPTO_CCM is not set
827# CONFIG_CRYPTO_GCM is not set
828# CONFIG_CRYPTO_SEQIV is not set
829
830#
831# Block modes
832#
833CONFIG_CRYPTO_CBC=y
834# CONFIG_CRYPTO_CTR is not set
835# CONFIG_CRYPTO_CTS is not set
836CONFIG_CRYPTO_ECB=y
837# CONFIG_CRYPTO_LRW is not set
838CONFIG_CRYPTO_PCBC=y
839# CONFIG_CRYPTO_XTS is not set
840
841#
842# Hash modes
843#
753# CONFIG_CRYPTO_HMAC is not set 844# CONFIG_CRYPTO_HMAC is not set
754# CONFIG_CRYPTO_XCBC is not set 845# CONFIG_CRYPTO_XCBC is not set
755# CONFIG_CRYPTO_NULL is not set 846
847#
848# Digest
849#
850# CONFIG_CRYPTO_CRC32C is not set
756# CONFIG_CRYPTO_MD4 is not set 851# CONFIG_CRYPTO_MD4 is not set
757CONFIG_CRYPTO_MD5=y 852CONFIG_CRYPTO_MD5=y
853# CONFIG_CRYPTO_MICHAEL_MIC is not set
854# CONFIG_CRYPTO_RMD128 is not set
855# CONFIG_CRYPTO_RMD160 is not set
856# CONFIG_CRYPTO_RMD256 is not set
857# CONFIG_CRYPTO_RMD320 is not set
758# CONFIG_CRYPTO_SHA1 is not set 858# CONFIG_CRYPTO_SHA1 is not set
759# CONFIG_CRYPTO_SHA256 is not set 859# CONFIG_CRYPTO_SHA256 is not set
760# CONFIG_CRYPTO_SHA512 is not set 860# CONFIG_CRYPTO_SHA512 is not set
761# CONFIG_CRYPTO_WP512 is not set
762# CONFIG_CRYPTO_TGR192 is not set 861# CONFIG_CRYPTO_TGR192 is not set
763# CONFIG_CRYPTO_GF128MUL is not set 862# CONFIG_CRYPTO_WP512 is not set
764CONFIG_CRYPTO_ECB=y 863
765CONFIG_CRYPTO_CBC=y 864#
766CONFIG_CRYPTO_PCBC=y 865# Ciphers
767# CONFIG_CRYPTO_LRW is not set 866#
768# CONFIG_CRYPTO_XTS is not set
769# CONFIG_CRYPTO_CRYPTD is not set
770CONFIG_CRYPTO_DES=y
771# CONFIG_CRYPTO_FCRYPT is not set
772# CONFIG_CRYPTO_BLOWFISH is not set
773# CONFIG_CRYPTO_TWOFISH is not set
774# CONFIG_CRYPTO_SERPENT is not set
775# CONFIG_CRYPTO_AES is not set 867# CONFIG_CRYPTO_AES is not set
868# CONFIG_CRYPTO_ANUBIS is not set
869# CONFIG_CRYPTO_ARC4 is not set
870# CONFIG_CRYPTO_BLOWFISH is not set
871# CONFIG_CRYPTO_CAMELLIA is not set
776# CONFIG_CRYPTO_CAST5 is not set 872# CONFIG_CRYPTO_CAST5 is not set
777# CONFIG_CRYPTO_CAST6 is not set 873# CONFIG_CRYPTO_CAST6 is not set
778# CONFIG_CRYPTO_TEA is not set 874CONFIG_CRYPTO_DES=y
779# CONFIG_CRYPTO_ARC4 is not set 875# CONFIG_CRYPTO_FCRYPT is not set
780# CONFIG_CRYPTO_KHAZAD is not set 876# CONFIG_CRYPTO_KHAZAD is not set
781# CONFIG_CRYPTO_ANUBIS is not set 877# CONFIG_CRYPTO_SALSA20 is not set
782# CONFIG_CRYPTO_SEED is not set 878# CONFIG_CRYPTO_SEED is not set
879# CONFIG_CRYPTO_SERPENT is not set
880# CONFIG_CRYPTO_TEA is not set
881# CONFIG_CRYPTO_TWOFISH is not set
882
883#
884# Compression
885#
783# CONFIG_CRYPTO_DEFLATE is not set 886# CONFIG_CRYPTO_DEFLATE is not set
784# CONFIG_CRYPTO_MICHAEL_MIC is not set 887# CONFIG_CRYPTO_LZO is not set
785# CONFIG_CRYPTO_CRC32C is not set
786# CONFIG_CRYPTO_CAMELLIA is not set
787# CONFIG_CRYPTO_TEST is not set
788# CONFIG_CRYPTO_AUTHENC is not set
789CONFIG_CRYPTO_HW=y 888CONFIG_CRYPTO_HW=y
889# CONFIG_CRYPTO_DEV_HIFN_795X is not set
790# CONFIG_PPC_CLOCK is not set 890# CONFIG_PPC_CLOCK is not set
891# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/rainier_defconfig b/arch/powerpc/configs/44x/rainier_defconfig
index dec18ca73519..0479648a9141 100644
--- a/arch/powerpc/configs/44x/rainier_defconfig
+++ b/arch/powerpc/configs/44x/rainier_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:53:10 2008 4# Tue Aug 5 09:09:35 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -29,8 +29,12 @@ CONFIG_GENERIC_TIME=y
29CONFIG_GENERIC_TIME_VSYSCALL=y 29CONFIG_GENERIC_TIME_VSYSCALL=y
30CONFIG_GENERIC_CLOCKEVENTS=y 30CONFIG_GENERIC_CLOCKEVENTS=y
31CONFIG_GENERIC_HARDIRQS=y 31CONFIG_GENERIC_HARDIRQS=y
32# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
32# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
33CONFIG_IRQ_PER_CPU=y 34CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y
36CONFIG_HAVE_LATENCYTOP_SUPPORT=y
37CONFIG_LOCKDEP_SUPPORT=y
34CONFIG_RWSEM_XCHGADD_ALGORITHM=y 38CONFIG_RWSEM_XCHGADD_ALGORITHM=y
35CONFIG_ARCH_HAS_ILOG2_U32=y 39CONFIG_ARCH_HAS_ILOG2_U32=y
36CONFIG_GENERIC_HWEIGHT=y 40CONFIG_GENERIC_HWEIGHT=y
@@ -78,6 +82,7 @@ CONFIG_FAIR_GROUP_SCHED=y
78CONFIG_USER_SCHED=y 82CONFIG_USER_SCHED=y
79# CONFIG_CGROUP_SCHED is not set 83# CONFIG_CGROUP_SCHED is not set
80CONFIG_SYSFS_DEPRECATED=y 84CONFIG_SYSFS_DEPRECATED=y
85CONFIG_SYSFS_DEPRECATED_V2=y
81# CONFIG_RELAY is not set 86# CONFIG_RELAY is not set
82# CONFIG_NAMESPACES is not set 87# CONFIG_NAMESPACES is not set
83CONFIG_BLK_DEV_INITRD=y 88CONFIG_BLK_DEV_INITRD=y
@@ -86,6 +91,7 @@ CONFIG_INITRAMFS_SOURCE=""
86CONFIG_SYSCTL=y 91CONFIG_SYSCTL=y
87CONFIG_EMBEDDED=y 92CONFIG_EMBEDDED=y
88CONFIG_SYSCTL_SYSCALL=y 93CONFIG_SYSCTL_SYSCALL=y
94CONFIG_SYSCTL_SYSCALL_CHECK=y
89CONFIG_KALLSYMS=y 95CONFIG_KALLSYMS=y
90# CONFIG_KALLSYMS_ALL is not set 96# CONFIG_KALLSYMS_ALL is not set
91# CONFIG_KALLSYMS_EXTRA_PASS is not set 97# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -111,13 +117,22 @@ CONFIG_SLUB=y
111# CONFIG_MARKERS is not set 117# CONFIG_MARKERS is not set
112CONFIG_HAVE_OPROFILE=y 118CONFIG_HAVE_OPROFILE=y
113# CONFIG_KPROBES is not set 119# CONFIG_KPROBES is not set
120CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
121CONFIG_HAVE_IOREMAP_PROT=y
114CONFIG_HAVE_KPROBES=y 122CONFIG_HAVE_KPROBES=y
123CONFIG_HAVE_KRETPROBES=y
124CONFIG_HAVE_ARCH_TRACEHOOK=y
125# CONFIG_HAVE_DMA_ATTRS is not set
126# CONFIG_USE_GENERIC_SMP_HELPERS is not set
127# CONFIG_HAVE_CLK is not set
115CONFIG_PROC_PAGE_MONITOR=y 128CONFIG_PROC_PAGE_MONITOR=y
129# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
116CONFIG_SLABINFO=y 130CONFIG_SLABINFO=y
117CONFIG_RT_MUTEXES=y 131CONFIG_RT_MUTEXES=y
118# CONFIG_TINY_SHMEM is not set 132# CONFIG_TINY_SHMEM is not set
119CONFIG_BASE_SMALL=0 133CONFIG_BASE_SMALL=0
120CONFIG_MODULES=y 134CONFIG_MODULES=y
135# CONFIG_MODULE_FORCE_LOAD is not set
121CONFIG_MODULE_UNLOAD=y 136CONFIG_MODULE_UNLOAD=y
122# CONFIG_MODULE_FORCE_UNLOAD is not set 137# CONFIG_MODULE_FORCE_UNLOAD is not set
123# CONFIG_MODVERSIONS is not set 138# CONFIG_MODVERSIONS is not set
@@ -128,6 +143,7 @@ CONFIG_LBD=y
128# CONFIG_BLK_DEV_IO_TRACE is not set 143# CONFIG_BLK_DEV_IO_TRACE is not set
129# CONFIG_LSF is not set 144# CONFIG_LSF is not set
130# CONFIG_BLK_DEV_BSG is not set 145# CONFIG_BLK_DEV_BSG is not set
146# CONFIG_BLK_DEV_INTEGRITY is not set
131 147
132# 148#
133# IO Schedulers 149# IO Schedulers
@@ -142,24 +158,25 @@ CONFIG_DEFAULT_AS=y
142# CONFIG_DEFAULT_NOOP is not set 158# CONFIG_DEFAULT_NOOP is not set
143CONFIG_DEFAULT_IOSCHED="anticipatory" 159CONFIG_DEFAULT_IOSCHED="anticipatory"
144CONFIG_CLASSIC_RCU=y 160CONFIG_CLASSIC_RCU=y
145# CONFIG_PREEMPT_RCU is not set
146# CONFIG_PPC4xx_PCI_EXPRESS is not set 161# CONFIG_PPC4xx_PCI_EXPRESS is not set
147 162
148# 163#
149# Platform support 164# Platform support
150# 165#
151# CONFIG_PPC_MPC512x is not set
152# CONFIG_PPC_MPC5121 is not set
153# CONFIG_PPC_CELL is not set 166# CONFIG_PPC_CELL is not set
154# CONFIG_PPC_CELL_NATIVE is not set 167# CONFIG_PPC_CELL_NATIVE is not set
155# CONFIG_PQ2ADS is not set 168# CONFIG_PQ2ADS is not set
156# CONFIG_BAMBOO is not set 169# CONFIG_BAMBOO is not set
157# CONFIG_EBONY is not set 170# CONFIG_EBONY is not set
171# CONFIG_SAM440EP is not set
158# CONFIG_SEQUOIA is not set 172# CONFIG_SEQUOIA is not set
159# CONFIG_TAISHAN is not set 173# CONFIG_TAISHAN is not set
160# CONFIG_KATMAI is not set 174# CONFIG_KATMAI is not set
161CONFIG_RAINIER=y 175CONFIG_RAINIER=y
162# CONFIG_WARP is not set 176# CONFIG_WARP is not set
177# CONFIG_CANYONLANDS is not set
178# CONFIG_YOSEMITE is not set
179# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
163CONFIG_440GRX=y 180CONFIG_440GRX=y
164# CONFIG_IPIC is not set 181# CONFIG_IPIC is not set
165# CONFIG_MPIC is not set 182# CONFIG_MPIC is not set
@@ -191,7 +208,6 @@ CONFIG_HZ=250
191CONFIG_PREEMPT_NONE=y 208CONFIG_PREEMPT_NONE=y
192# CONFIG_PREEMPT_VOLUNTARY is not set 209# CONFIG_PREEMPT_VOLUNTARY is not set
193# CONFIG_PREEMPT is not set 210# CONFIG_PREEMPT is not set
194CONFIG_RCU_TRACE=y
195CONFIG_BINFMT_ELF=y 211CONFIG_BINFMT_ELF=y
196# CONFIG_BINFMT_MISC is not set 212# CONFIG_BINFMT_MISC is not set
197CONFIG_MATH_EMULATION=y 213CONFIG_MATH_EMULATION=y
@@ -209,14 +225,18 @@ CONFIG_FLATMEM=y
209CONFIG_FLAT_NODE_MEM_MAP=y 225CONFIG_FLAT_NODE_MEM_MAP=y
210# CONFIG_SPARSEMEM_STATIC is not set 226# CONFIG_SPARSEMEM_STATIC is not set
211# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 227# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
228CONFIG_PAGEFLAGS_EXTENDED=y
212CONFIG_SPLIT_PTLOCK_CPUS=4 229CONFIG_SPLIT_PTLOCK_CPUS=4
230CONFIG_MIGRATION=y
213CONFIG_RESOURCES_64BIT=y 231CONFIG_RESOURCES_64BIT=y
214CONFIG_ZONE_DMA_FLAG=1 232CONFIG_ZONE_DMA_FLAG=1
215CONFIG_BOUNCE=y 233CONFIG_BOUNCE=y
216CONFIG_VIRT_TO_BUS=y 234CONFIG_VIRT_TO_BUS=y
235CONFIG_FORCE_MAX_ZONEORDER=11
217CONFIG_PROC_DEVICETREE=y 236CONFIG_PROC_DEVICETREE=y
218CONFIG_CMDLINE_BOOL=y 237CONFIG_CMDLINE_BOOL=y
219CONFIG_CMDLINE="" 238CONFIG_CMDLINE=""
239CONFIG_EXTRA_TARGETS=""
220CONFIG_SECCOMP=y 240CONFIG_SECCOMP=y
221CONFIG_ISA_DMA_API=y 241CONFIG_ISA_DMA_API=y
222 242
@@ -225,6 +245,8 @@ CONFIG_ISA_DMA_API=y
225# 245#
226CONFIG_ZONE_DMA=y 246CONFIG_ZONE_DMA=y
227CONFIG_PPC_INDIRECT_PCI=y 247CONFIG_PPC_INDIRECT_PCI=y
248CONFIG_4xx_SOC=y
249CONFIG_PPC_PCI_CHOICE=y
228CONFIG_PCI=y 250CONFIG_PCI=y
229CONFIG_PCI_DOMAINS=y 251CONFIG_PCI_DOMAINS=y
230CONFIG_PCI_SYSCALL=y 252CONFIG_PCI_SYSCALL=y
@@ -235,6 +257,7 @@ CONFIG_PCI_LEGACY=y
235# CONFIG_PCI_DEBUG is not set 257# CONFIG_PCI_DEBUG is not set
236# CONFIG_PCCARD is not set 258# CONFIG_PCCARD is not set
237# CONFIG_HOTPLUG_PCI is not set 259# CONFIG_HOTPLUG_PCI is not set
260# CONFIG_HAS_RAPIDIO is not set
238 261
239# 262#
240# Advanced setup 263# Advanced setup
@@ -244,17 +267,13 @@ CONFIG_PCI_LEGACY=y
244# 267#
245# Default settings for advanced configuration options are used 268# Default settings for advanced configuration options are used
246# 269#
247CONFIG_HIGHMEM_START=0xfe000000
248CONFIG_LOWMEM_SIZE=0x30000000 270CONFIG_LOWMEM_SIZE=0x30000000
271CONFIG_PAGE_OFFSET=0xc0000000
249CONFIG_KERNEL_START=0xc0000000 272CONFIG_KERNEL_START=0xc0000000
273CONFIG_PHYSICAL_START=0x00000000
250CONFIG_TASK_SIZE=0xc0000000 274CONFIG_TASK_SIZE=0xc0000000
251CONFIG_CONSISTENT_START=0xff100000 275CONFIG_CONSISTENT_START=0xff100000
252CONFIG_CONSISTENT_SIZE=0x00200000 276CONFIG_CONSISTENT_SIZE=0x00200000
253CONFIG_BOOT_LOAD=0x01000000
254
255#
256# Networking
257#
258CONFIG_NET=y 277CONFIG_NET=y
259 278
260# 279#
@@ -292,8 +311,6 @@ CONFIG_TCP_CONG_CUBIC=y
292CONFIG_DEFAULT_TCP_CONG="cubic" 311CONFIG_DEFAULT_TCP_CONG="cubic"
293# CONFIG_TCP_MD5SIG is not set 312# CONFIG_TCP_MD5SIG is not set
294# CONFIG_IPV6 is not set 313# CONFIG_IPV6 is not set
295# CONFIG_INET6_XFRM_TUNNEL is not set
296# CONFIG_INET6_TUNNEL is not set
297# CONFIG_NETWORK_SECMARK is not set 314# CONFIG_NETWORK_SECMARK is not set
298# CONFIG_NETFILTER is not set 315# CONFIG_NETFILTER is not set
299# CONFIG_IP_DCCP is not set 316# CONFIG_IP_DCCP is not set
@@ -343,6 +360,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
343CONFIG_STANDALONE=y 360CONFIG_STANDALONE=y
344CONFIG_PREVENT_FIRMWARE_BUILD=y 361CONFIG_PREVENT_FIRMWARE_BUILD=y
345CONFIG_FW_LOADER=y 362CONFIG_FW_LOADER=y
363CONFIG_FIRMWARE_IN_KERNEL=y
364CONFIG_EXTRA_FIRMWARE=""
346# CONFIG_DEBUG_DRIVER is not set 365# CONFIG_DEBUG_DRIVER is not set
347# CONFIG_DEBUG_DEVRES is not set 366# CONFIG_DEBUG_DEVRES is not set
348# CONFIG_SYS_HYPERVISOR is not set 367# CONFIG_SYS_HYPERVISOR is not set
@@ -355,6 +374,7 @@ CONFIG_MTD_PARTITIONS=y
355# CONFIG_MTD_REDBOOT_PARTS is not set 374# CONFIG_MTD_REDBOOT_PARTS is not set
356CONFIG_MTD_CMDLINE_PARTS=y 375CONFIG_MTD_CMDLINE_PARTS=y
357CONFIG_MTD_OF_PARTS=y 376CONFIG_MTD_OF_PARTS=y
377# CONFIG_MTD_AR7_PARTS is not set
358 378
359# 379#
360# User Modules And Translation Layers 380# User Modules And Translation Layers
@@ -445,12 +465,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
445# CONFIG_CDROM_PKTCDVD is not set 465# CONFIG_CDROM_PKTCDVD is not set
446# CONFIG_ATA_OVER_ETH is not set 466# CONFIG_ATA_OVER_ETH is not set
447# CONFIG_XILINX_SYSACE is not set 467# CONFIG_XILINX_SYSACE is not set
468# CONFIG_BLK_DEV_HD is not set
448CONFIG_MISC_DEVICES=y 469CONFIG_MISC_DEVICES=y
449# CONFIG_PHANTOM is not set 470# CONFIG_PHANTOM is not set
450# CONFIG_EEPROM_93CX6 is not set 471# CONFIG_EEPROM_93CX6 is not set
451# CONFIG_SGI_IOC4 is not set 472# CONFIG_SGI_IOC4 is not set
452# CONFIG_TIFM_CORE is not set 473# CONFIG_TIFM_CORE is not set
453# CONFIG_ENCLOSURE_SERVICES is not set 474# CONFIG_ENCLOSURE_SERVICES is not set
475# CONFIG_HP_ILO is not set
454CONFIG_HAVE_IDE=y 476CONFIG_HAVE_IDE=y
455# CONFIG_IDE is not set 477# CONFIG_IDE is not set
456 478
@@ -468,6 +490,10 @@ CONFIG_HAVE_IDE=y
468# 490#
469# IEEE 1394 (FireWire) support 491# IEEE 1394 (FireWire) support
470# 492#
493
494#
495# Enable only one of the two stacks, unless you know what you are doing
496#
471# CONFIG_FIREWIRE is not set 497# CONFIG_FIREWIRE is not set
472# CONFIG_IEEE1394 is not set 498# CONFIG_IEEE1394 is not set
473# CONFIG_I2O is not set 499# CONFIG_I2O is not set
@@ -475,7 +501,6 @@ CONFIG_MACINTOSH_DRIVERS=y
475# CONFIG_MAC_EMUMOUSEBTN is not set 501# CONFIG_MAC_EMUMOUSEBTN is not set
476# CONFIG_WINDFARM is not set 502# CONFIG_WINDFARM is not set
477CONFIG_NETDEVICES=y 503CONFIG_NETDEVICES=y
478# CONFIG_NETDEVICES_MULTIQUEUE is not set
479# CONFIG_DUMMY is not set 504# CONFIG_DUMMY is not set
480# CONFIG_BONDING is not set 505# CONFIG_BONDING is not set
481# CONFIG_MACVLAN is not set 506# CONFIG_MACVLAN is not set
@@ -492,7 +517,6 @@ CONFIG_NETDEV_1000=y
492# CONFIG_DL2K is not set 517# CONFIG_DL2K is not set
493# CONFIG_E1000 is not set 518# CONFIG_E1000 is not set
494# CONFIG_E1000E is not set 519# CONFIG_E1000E is not set
495# CONFIG_E1000E_ENABLED is not set
496# CONFIG_IP1000 is not set 520# CONFIG_IP1000 is not set
497# CONFIG_IGB is not set 521# CONFIG_IGB is not set
498# CONFIG_NS83820 is not set 522# CONFIG_NS83820 is not set
@@ -502,12 +526,12 @@ CONFIG_NETDEV_1000=y
502# CONFIG_SIS190 is not set 526# CONFIG_SIS190 is not set
503# CONFIG_SKGE is not set 527# CONFIG_SKGE is not set
504# CONFIG_SKY2 is not set 528# CONFIG_SKY2 is not set
505# CONFIG_SK98LIN is not set
506# CONFIG_VIA_VELOCITY is not set 529# CONFIG_VIA_VELOCITY is not set
507# CONFIG_TIGON3 is not set 530# CONFIG_TIGON3 is not set
508# CONFIG_BNX2 is not set 531# CONFIG_BNX2 is not set
509# CONFIG_QLA3XXX is not set 532# CONFIG_QLA3XXX is not set
510# CONFIG_ATL1 is not set 533# CONFIG_ATL1 is not set
534# CONFIG_ATL1E is not set
511CONFIG_NETDEV_10000=y 535CONFIG_NETDEV_10000=y
512# CONFIG_CHELSIO_T1 is not set 536# CONFIG_CHELSIO_T1 is not set
513# CONFIG_CHELSIO_T3 is not set 537# CONFIG_CHELSIO_T3 is not set
@@ -520,6 +544,7 @@ CONFIG_NETDEV_10000=y
520# CONFIG_MLX4_CORE is not set 544# CONFIG_MLX4_CORE is not set
521# CONFIG_TEHUTI is not set 545# CONFIG_TEHUTI is not set
522# CONFIG_BNX2X is not set 546# CONFIG_BNX2X is not set
547# CONFIG_SFC is not set
523# CONFIG_TR is not set 548# CONFIG_TR is not set
524 549
525# 550#
@@ -527,6 +552,7 @@ CONFIG_NETDEV_10000=y
527# 552#
528# CONFIG_WLAN_PRE80211 is not set 553# CONFIG_WLAN_PRE80211 is not set
529# CONFIG_WLAN_80211 is not set 554# CONFIG_WLAN_80211 is not set
555# CONFIG_IWLWIFI_LEDS is not set
530# CONFIG_WAN is not set 556# CONFIG_WAN is not set
531# CONFIG_FDDI is not set 557# CONFIG_FDDI is not set
532# CONFIG_HIPPI is not set 558# CONFIG_HIPPI is not set
@@ -553,6 +579,7 @@ CONFIG_NETDEV_10000=y
553# Character devices 579# Character devices
554# 580#
555# CONFIG_VT is not set 581# CONFIG_VT is not set
582CONFIG_DEVKMEM=y
556# CONFIG_SERIAL_NONSTANDARD is not set 583# CONFIG_SERIAL_NONSTANDARD is not set
557# CONFIG_NOZOMI is not set 584# CONFIG_NOZOMI is not set
558 585
@@ -591,12 +618,9 @@ CONFIG_LEGACY_PTY_COUNT=256
591# CONFIG_TCG_TPM is not set 618# CONFIG_TCG_TPM is not set
592CONFIG_DEVPORT=y 619CONFIG_DEVPORT=y
593# CONFIG_I2C is not set 620# CONFIG_I2C is not set
594
595#
596# SPI support
597#
598# CONFIG_SPI is not set 621# CONFIG_SPI is not set
599# CONFIG_SPI_MASTER is not set 622CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
623# CONFIG_GPIOLIB is not set
600# CONFIG_W1 is not set 624# CONFIG_W1 is not set
601# CONFIG_POWER_SUPPLY is not set 625# CONFIG_POWER_SUPPLY is not set
602# CONFIG_HWMON is not set 626# CONFIG_HWMON is not set
@@ -612,13 +636,24 @@ CONFIG_SSB_POSSIBLE=y
612# 636#
613# Multifunction device drivers 637# Multifunction device drivers
614# 638#
639# CONFIG_MFD_CORE is not set
615# CONFIG_MFD_SM501 is not set 640# CONFIG_MFD_SM501 is not set
641# CONFIG_HTC_PASIC3 is not set
616 642
617# 643#
618# Multimedia devices 644# Multimedia devices
619# 645#
646
647#
648# Multimedia core support
649#
620# CONFIG_VIDEO_DEV is not set 650# CONFIG_VIDEO_DEV is not set
621# CONFIG_DVB_CORE is not set 651# CONFIG_DVB_CORE is not set
652# CONFIG_VIDEO_MEDIA is not set
653
654#
655# Multimedia drivers
656#
622CONFIG_DAB=y 657CONFIG_DAB=y
623 658
624# 659#
@@ -635,16 +670,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
635# Display device support 670# Display device support
636# 671#
637# CONFIG_DISPLAY_SUPPORT is not set 672# CONFIG_DISPLAY_SUPPORT is not set
638
639#
640# Sound
641#
642# CONFIG_SOUND is not set 673# CONFIG_SOUND is not set
643CONFIG_USB_SUPPORT=y 674CONFIG_USB_SUPPORT=y
644CONFIG_USB_ARCH_HAS_HCD=y 675CONFIG_USB_ARCH_HAS_HCD=y
645CONFIG_USB_ARCH_HAS_OHCI=y 676CONFIG_USB_ARCH_HAS_OHCI=y
646CONFIG_USB_ARCH_HAS_EHCI=y 677CONFIG_USB_ARCH_HAS_EHCI=y
647# CONFIG_USB is not set 678# CONFIG_USB is not set
679# CONFIG_USB_OTG_WHITELIST is not set
680# CONFIG_USB_OTG_BLACKLIST_HUB is not set
648 681
649# 682#
650# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 683# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -653,13 +686,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
653# CONFIG_MMC is not set 686# CONFIG_MMC is not set
654# CONFIG_MEMSTICK is not set 687# CONFIG_MEMSTICK is not set
655# CONFIG_NEW_LEDS is not set 688# CONFIG_NEW_LEDS is not set
689# CONFIG_ACCESSIBILITY is not set
656# CONFIG_INFINIBAND is not set 690# CONFIG_INFINIBAND is not set
657# CONFIG_EDAC is not set 691# CONFIG_EDAC is not set
658# CONFIG_RTC_CLASS is not set 692# CONFIG_RTC_CLASS is not set
659 693# CONFIG_DMADEVICES is not set
660#
661# Userspace I/O
662#
663# CONFIG_UIO is not set 694# CONFIG_UIO is not set
664 695
665# 696#
@@ -674,7 +705,6 @@ CONFIG_EXT2_FS=y
674# CONFIG_JFS_FS is not set 705# CONFIG_JFS_FS is not set
675# CONFIG_FS_POSIX_ACL is not set 706# CONFIG_FS_POSIX_ACL is not set
676# CONFIG_XFS_FS is not set 707# CONFIG_XFS_FS is not set
677# CONFIG_GFS2_FS is not set
678# CONFIG_OCFS2_FS is not set 708# CONFIG_OCFS2_FS is not set
679CONFIG_DNOTIFY=y 709CONFIG_DNOTIFY=y
680CONFIG_INOTIFY=y 710CONFIG_INOTIFY=y
@@ -733,6 +763,7 @@ CONFIG_JFFS2_RTIME=y
733CONFIG_CRAMFS=y 763CONFIG_CRAMFS=y
734# CONFIG_VXFS_FS is not set 764# CONFIG_VXFS_FS is not set
735# CONFIG_MINIX_FS is not set 765# CONFIG_MINIX_FS is not set
766# CONFIG_OMFS_FS is not set
736# CONFIG_HPFS_FS is not set 767# CONFIG_HPFS_FS is not set
737# CONFIG_QNX4FS_FS is not set 768# CONFIG_QNX4FS_FS is not set
738# CONFIG_ROMFS_FS is not set 769# CONFIG_ROMFS_FS is not set
@@ -743,14 +774,12 @@ CONFIG_NFS_FS=y
743CONFIG_NFS_V3=y 774CONFIG_NFS_V3=y
744# CONFIG_NFS_V3_ACL is not set 775# CONFIG_NFS_V3_ACL is not set
745# CONFIG_NFS_V4 is not set 776# CONFIG_NFS_V4 is not set
746# CONFIG_NFS_DIRECTIO is not set
747# CONFIG_NFSD is not set
748CONFIG_ROOT_NFS=y 777CONFIG_ROOT_NFS=y
778# CONFIG_NFSD is not set
749CONFIG_LOCKD=y 779CONFIG_LOCKD=y
750CONFIG_LOCKD_V4=y 780CONFIG_LOCKD_V4=y
751CONFIG_NFS_COMMON=y 781CONFIG_NFS_COMMON=y
752CONFIG_SUNRPC=y 782CONFIG_SUNRPC=y
753# CONFIG_SUNRPC_BIND34 is not set
754# CONFIG_RPCSEC_GSS_KRB5 is not set 783# CONFIG_RPCSEC_GSS_KRB5 is not set
755# CONFIG_RPCSEC_GSS_SPKM3 is not set 784# CONFIG_RPCSEC_GSS_SPKM3 is not set
756# CONFIG_SMB_FS is not set 785# CONFIG_SMB_FS is not set
@@ -771,8 +800,10 @@ CONFIG_MSDOS_PARTITION=y
771# Library routines 800# Library routines
772# 801#
773CONFIG_BITREVERSE=y 802CONFIG_BITREVERSE=y
803# CONFIG_GENERIC_FIND_FIRST_BIT is not set
774# CONFIG_CRC_CCITT is not set 804# CONFIG_CRC_CCITT is not set
775# CONFIG_CRC16 is not set 805# CONFIG_CRC16 is not set
806# CONFIG_CRC_T10DIF is not set
776# CONFIG_CRC_ITU_T is not set 807# CONFIG_CRC_ITU_T is not set
777CONFIG_CRC32=y 808CONFIG_CRC32=y
778# CONFIG_CRC7 is not set 809# CONFIG_CRC7 is not set
@@ -783,6 +814,7 @@ CONFIG_PLIST=y
783CONFIG_HAS_IOMEM=y 814CONFIG_HAS_IOMEM=y
784CONFIG_HAS_IOPORT=y 815CONFIG_HAS_IOPORT=y
785CONFIG_HAS_DMA=y 816CONFIG_HAS_DMA=y
817CONFIG_HAVE_LMB=y
786 818
787# 819#
788# Kernel hacking 820# Kernel hacking
@@ -790,6 +822,7 @@ CONFIG_HAS_DMA=y
790# CONFIG_PRINTK_TIME is not set 822# CONFIG_PRINTK_TIME is not set
791CONFIG_ENABLE_WARN_DEPRECATED=y 823CONFIG_ENABLE_WARN_DEPRECATED=y
792CONFIG_ENABLE_MUST_CHECK=y 824CONFIG_ENABLE_MUST_CHECK=y
825CONFIG_FRAME_WARN=1024
793CONFIG_MAGIC_SYSRQ=y 826CONFIG_MAGIC_SYSRQ=y
794# CONFIG_UNUSED_SYMBOLS is not set 827# CONFIG_UNUSED_SYMBOLS is not set
795CONFIG_DEBUG_FS=y 828CONFIG_DEBUG_FS=y
@@ -797,9 +830,12 @@ CONFIG_DEBUG_FS=y
797CONFIG_DEBUG_KERNEL=y 830CONFIG_DEBUG_KERNEL=y
798# CONFIG_DEBUG_SHIRQ is not set 831# CONFIG_DEBUG_SHIRQ is not set
799CONFIG_DETECT_SOFTLOCKUP=y 832CONFIG_DETECT_SOFTLOCKUP=y
833# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
834CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
800CONFIG_SCHED_DEBUG=y 835CONFIG_SCHED_DEBUG=y
801# CONFIG_SCHEDSTATS is not set 836# CONFIG_SCHEDSTATS is not set
802# CONFIG_TIMER_STATS is not set 837# CONFIG_TIMER_STATS is not set
838# CONFIG_DEBUG_OBJECTS is not set
803# CONFIG_SLUB_DEBUG_ON is not set 839# CONFIG_SLUB_DEBUG_ON is not set
804# CONFIG_SLUB_STATS is not set 840# CONFIG_SLUB_STATS is not set
805# CONFIG_DEBUG_RT_MUTEXES is not set 841# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -812,19 +848,30 @@ CONFIG_SCHED_DEBUG=y
812# CONFIG_DEBUG_BUGVERBOSE is not set 848# CONFIG_DEBUG_BUGVERBOSE is not set
813# CONFIG_DEBUG_INFO is not set 849# CONFIG_DEBUG_INFO is not set
814# CONFIG_DEBUG_VM is not set 850# CONFIG_DEBUG_VM is not set
851# CONFIG_DEBUG_WRITECOUNT is not set
852# CONFIG_DEBUG_MEMORY_INIT is not set
815# CONFIG_DEBUG_LIST is not set 853# CONFIG_DEBUG_LIST is not set
816# CONFIG_DEBUG_SG is not set 854# CONFIG_DEBUG_SG is not set
817# CONFIG_BOOT_PRINTK_DELAY is not set 855# CONFIG_BOOT_PRINTK_DELAY is not set
818# CONFIG_RCU_TORTURE_TEST is not set 856# CONFIG_RCU_TORTURE_TEST is not set
819# CONFIG_BACKTRACE_SELF_TEST is not set 857# CONFIG_BACKTRACE_SELF_TEST is not set
820# CONFIG_FAULT_INJECTION is not set 858# CONFIG_FAULT_INJECTION is not set
859# CONFIG_LATENCYTOP is not set
860CONFIG_HAVE_FTRACE=y
861CONFIG_HAVE_DYNAMIC_FTRACE=y
862# CONFIG_FTRACE is not set
863# CONFIG_SCHED_TRACER is not set
864# CONFIG_CONTEXT_SWITCH_TRACER is not set
821# CONFIG_SAMPLES is not set 865# CONFIG_SAMPLES is not set
866CONFIG_HAVE_ARCH_KGDB=y
867# CONFIG_KGDB is not set
822# CONFIG_DEBUG_STACKOVERFLOW is not set 868# CONFIG_DEBUG_STACKOVERFLOW is not set
823# CONFIG_DEBUG_STACK_USAGE is not set 869# CONFIG_DEBUG_STACK_USAGE is not set
824# CONFIG_DEBUG_PAGEALLOC is not set 870# CONFIG_DEBUG_PAGEALLOC is not set
825CONFIG_DEBUGGER=y 871# CONFIG_CODE_PATCHING_SELFTEST is not set
826# CONFIG_KGDB is not set 872# CONFIG_FTR_FIXUP_SELFTEST is not set
827# CONFIG_XMON is not set 873# CONFIG_XMON is not set
874# CONFIG_IRQSTACKS is not set
828# CONFIG_VIRQ_DEBUG is not set 875# CONFIG_VIRQ_DEBUG is not set
829# CONFIG_BDI_SWITCH is not set 876# CONFIG_BDI_SWITCH is not set
830CONFIG_PPC_EARLY_DEBUG=y 877CONFIG_PPC_EARLY_DEBUG=y
@@ -849,51 +896,85 @@ CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x1
849# CONFIG_SECURITY is not set 896# CONFIG_SECURITY is not set
850# CONFIG_SECURITY_FILE_CAPABILITIES is not set 897# CONFIG_SECURITY_FILE_CAPABILITIES is not set
851CONFIG_CRYPTO=y 898CONFIG_CRYPTO=y
899
900#
901# Crypto core or helper
902#
852CONFIG_CRYPTO_ALGAPI=y 903CONFIG_CRYPTO_ALGAPI=y
853CONFIG_CRYPTO_BLKCIPHER=y 904CONFIG_CRYPTO_BLKCIPHER=y
854# CONFIG_CRYPTO_SEQIV is not set
855CONFIG_CRYPTO_MANAGER=y 905CONFIG_CRYPTO_MANAGER=y
906# CONFIG_CRYPTO_GF128MUL is not set
907# CONFIG_CRYPTO_NULL is not set
908# CONFIG_CRYPTO_CRYPTD is not set
909# CONFIG_CRYPTO_AUTHENC is not set
910# CONFIG_CRYPTO_TEST is not set
911
912#
913# Authenticated Encryption with Associated Data
914#
915# CONFIG_CRYPTO_CCM is not set
916# CONFIG_CRYPTO_GCM is not set
917# CONFIG_CRYPTO_SEQIV is not set
918
919#
920# Block modes
921#
922CONFIG_CRYPTO_CBC=y
923# CONFIG_CRYPTO_CTR is not set
924# CONFIG_CRYPTO_CTS is not set
925CONFIG_CRYPTO_ECB=y
926# CONFIG_CRYPTO_LRW is not set
927CONFIG_CRYPTO_PCBC=y
928# CONFIG_CRYPTO_XTS is not set
929
930#
931# Hash modes
932#
856# CONFIG_CRYPTO_HMAC is not set 933# CONFIG_CRYPTO_HMAC is not set
857# CONFIG_CRYPTO_XCBC is not set 934# CONFIG_CRYPTO_XCBC is not set
858# CONFIG_CRYPTO_NULL is not set 935
936#
937# Digest
938#
939# CONFIG_CRYPTO_CRC32C is not set
859# CONFIG_CRYPTO_MD4 is not set 940# CONFIG_CRYPTO_MD4 is not set
860CONFIG_CRYPTO_MD5=y 941CONFIG_CRYPTO_MD5=y
942# CONFIG_CRYPTO_MICHAEL_MIC is not set
943# CONFIG_CRYPTO_RMD128 is not set
944# CONFIG_CRYPTO_RMD160 is not set
945# CONFIG_CRYPTO_RMD256 is not set
946# CONFIG_CRYPTO_RMD320 is not set
861# CONFIG_CRYPTO_SHA1 is not set 947# CONFIG_CRYPTO_SHA1 is not set
862# CONFIG_CRYPTO_SHA256 is not set 948# CONFIG_CRYPTO_SHA256 is not set
863# CONFIG_CRYPTO_SHA512 is not set 949# CONFIG_CRYPTO_SHA512 is not set
864# CONFIG_CRYPTO_WP512 is not set
865# CONFIG_CRYPTO_TGR192 is not set 950# CONFIG_CRYPTO_TGR192 is not set
866# CONFIG_CRYPTO_GF128MUL is not set 951# CONFIG_CRYPTO_WP512 is not set
867CONFIG_CRYPTO_ECB=y 952
868CONFIG_CRYPTO_CBC=y 953#
869CONFIG_CRYPTO_PCBC=y 954# Ciphers
870# CONFIG_CRYPTO_LRW is not set 955#
871# CONFIG_CRYPTO_XTS is not set
872# CONFIG_CRYPTO_CTR is not set
873# CONFIG_CRYPTO_GCM is not set
874# CONFIG_CRYPTO_CCM is not set
875# CONFIG_CRYPTO_CRYPTD is not set
876CONFIG_CRYPTO_DES=y
877# CONFIG_CRYPTO_FCRYPT is not set
878# CONFIG_CRYPTO_BLOWFISH is not set
879# CONFIG_CRYPTO_TWOFISH is not set
880# CONFIG_CRYPTO_SERPENT is not set
881# CONFIG_CRYPTO_AES is not set 956# CONFIG_CRYPTO_AES is not set
957# CONFIG_CRYPTO_ANUBIS is not set
958# CONFIG_CRYPTO_ARC4 is not set
959# CONFIG_CRYPTO_BLOWFISH is not set
960# CONFIG_CRYPTO_CAMELLIA is not set
882# CONFIG_CRYPTO_CAST5 is not set 961# CONFIG_CRYPTO_CAST5 is not set
883# CONFIG_CRYPTO_CAST6 is not set 962# CONFIG_CRYPTO_CAST6 is not set
884# CONFIG_CRYPTO_TEA is not set 963CONFIG_CRYPTO_DES=y
885# CONFIG_CRYPTO_ARC4 is not set 964# CONFIG_CRYPTO_FCRYPT is not set
886# CONFIG_CRYPTO_KHAZAD is not set 965# CONFIG_CRYPTO_KHAZAD is not set
887# CONFIG_CRYPTO_ANUBIS is not set
888# CONFIG_CRYPTO_SEED is not set
889# CONFIG_CRYPTO_SALSA20 is not set 966# CONFIG_CRYPTO_SALSA20 is not set
967# CONFIG_CRYPTO_SEED is not set
968# CONFIG_CRYPTO_SERPENT is not set
969# CONFIG_CRYPTO_TEA is not set
970# CONFIG_CRYPTO_TWOFISH is not set
971
972#
973# Compression
974#
890# CONFIG_CRYPTO_DEFLATE is not set 975# CONFIG_CRYPTO_DEFLATE is not set
891# CONFIG_CRYPTO_MICHAEL_MIC is not set
892# CONFIG_CRYPTO_CRC32C is not set
893# CONFIG_CRYPTO_CAMELLIA is not set
894# CONFIG_CRYPTO_TEST is not set
895# CONFIG_CRYPTO_AUTHENC is not set
896# CONFIG_CRYPTO_LZO is not set 976# CONFIG_CRYPTO_LZO is not set
897CONFIG_CRYPTO_HW=y 977CONFIG_CRYPTO_HW=y
898# CONFIG_CRYPTO_DEV_HIFN_795X is not set 978# CONFIG_CRYPTO_DEV_HIFN_795X is not set
899# CONFIG_PPC_CLOCK is not set 979# CONFIG_PPC_CLOCK is not set
980# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/sam440ep_defconfig b/arch/powerpc/configs/44x/sam440ep_defconfig
index 9ce5cbc2a4e7..0ed2de05f4e8 100644
--- a/arch/powerpc/configs/44x/sam440ep_defconfig
+++ b/arch/powerpc/configs/44x/sam440ep_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.25 3# Linux kernel version: 2.6.27-rc1
4# Mon May 5 13:43:02 2008 4# Tue Aug 5 09:12:48 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,9 +30,11 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y 36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
36CONFIG_LOCKDEP_SUPPORT=y 38CONFIG_LOCKDEP_SUPPORT=y
37CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
38CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
@@ -116,15 +118,22 @@ CONFIG_SLUB=y
116# CONFIG_MARKERS is not set 118# CONFIG_MARKERS is not set
117CONFIG_HAVE_OPROFILE=y 119CONFIG_HAVE_OPROFILE=y
118# CONFIG_KPROBES is not set 120# CONFIG_KPROBES is not set
121CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
122CONFIG_HAVE_IOREMAP_PROT=y
119CONFIG_HAVE_KPROBES=y 123CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y 124CONFIG_HAVE_KRETPROBES=y
125CONFIG_HAVE_ARCH_TRACEHOOK=y
121# CONFIG_HAVE_DMA_ATTRS is not set 126# CONFIG_HAVE_DMA_ATTRS is not set
127# CONFIG_USE_GENERIC_SMP_HELPERS is not set
128# CONFIG_HAVE_CLK is not set
122CONFIG_PROC_PAGE_MONITOR=y 129CONFIG_PROC_PAGE_MONITOR=y
130# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
123CONFIG_SLABINFO=y 131CONFIG_SLABINFO=y
124CONFIG_RT_MUTEXES=y 132CONFIG_RT_MUTEXES=y
125# CONFIG_TINY_SHMEM is not set 133# CONFIG_TINY_SHMEM is not set
126CONFIG_BASE_SMALL=0 134CONFIG_BASE_SMALL=0
127CONFIG_MODULES=y 135CONFIG_MODULES=y
136# CONFIG_MODULE_FORCE_LOAD is not set
128CONFIG_MODULE_UNLOAD=y 137CONFIG_MODULE_UNLOAD=y
129# CONFIG_MODULE_FORCE_UNLOAD is not set 138# CONFIG_MODULE_FORCE_UNLOAD is not set
130# CONFIG_MODVERSIONS is not set 139# CONFIG_MODVERSIONS is not set
@@ -135,6 +144,7 @@ CONFIG_BLOCK=y
135# CONFIG_BLK_DEV_IO_TRACE is not set 144# CONFIG_BLK_DEV_IO_TRACE is not set
136# CONFIG_LSF is not set 145# CONFIG_LSF is not set
137# CONFIG_BLK_DEV_BSG is not set 146# CONFIG_BLK_DEV_BSG is not set
147# CONFIG_BLK_DEV_INTEGRITY is not set
138 148
139# 149#
140# IO Schedulers 150# IO Schedulers
@@ -154,8 +164,6 @@ CONFIG_CLASSIC_RCU=y
154# 164#
155# Platform support 165# Platform support
156# 166#
157# CONFIG_PPC_MPC512x is not set
158# CONFIG_PPC_MPC5121 is not set
159# CONFIG_PPC_CELL is not set 167# CONFIG_PPC_CELL is not set
160# CONFIG_PPC_CELL_NATIVE is not set 168# CONFIG_PPC_CELL_NATIVE is not set
161# CONFIG_PQ2ADS is not set 169# CONFIG_PQ2ADS is not set
@@ -169,6 +177,7 @@ CONFIG_SAM440EP=y
169# CONFIG_WARP is not set 177# CONFIG_WARP is not set
170# CONFIG_CANYONLANDS is not set 178# CONFIG_CANYONLANDS is not set
171# CONFIG_YOSEMITE is not set 179# CONFIG_YOSEMITE is not set
180# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
172CONFIG_440EP=y 181CONFIG_440EP=y
173CONFIG_IBM440EP_ERR42=y 182CONFIG_IBM440EP_ERR42=y
174# CONFIG_IPIC is not set 183# CONFIG_IPIC is not set
@@ -220,6 +229,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y
220# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 229# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
221CONFIG_PAGEFLAGS_EXTENDED=y 230CONFIG_PAGEFLAGS_EXTENDED=y
222CONFIG_SPLIT_PTLOCK_CPUS=4 231CONFIG_SPLIT_PTLOCK_CPUS=4
232CONFIG_MIGRATION=y
223CONFIG_RESOURCES_64BIT=y 233CONFIG_RESOURCES_64BIT=y
224CONFIG_ZONE_DMA_FLAG=1 234CONFIG_ZONE_DMA_FLAG=1
225CONFIG_BOUNCE=y 235CONFIG_BOUNCE=y
@@ -228,6 +238,7 @@ CONFIG_FORCE_MAX_ZONEORDER=11
228CONFIG_PROC_DEVICETREE=y 238CONFIG_PROC_DEVICETREE=y
229CONFIG_CMDLINE_BOOL=y 239CONFIG_CMDLINE_BOOL=y
230CONFIG_CMDLINE="" 240CONFIG_CMDLINE=""
241CONFIG_EXTRA_TARGETS=""
231CONFIG_SECCOMP=y 242CONFIG_SECCOMP=y
232CONFIG_ISA_DMA_API=y 243CONFIG_ISA_DMA_API=y
233 244
@@ -237,6 +248,7 @@ CONFIG_ISA_DMA_API=y
237CONFIG_ZONE_DMA=y 248CONFIG_ZONE_DMA=y
238CONFIG_PPC_INDIRECT_PCI=y 249CONFIG_PPC_INDIRECT_PCI=y
239CONFIG_4xx_SOC=y 250CONFIG_4xx_SOC=y
251CONFIG_PPC_PCI_CHOICE=y
240CONFIG_PCI=y 252CONFIG_PCI=y
241CONFIG_PCI_DOMAINS=y 253CONFIG_PCI_DOMAINS=y
242CONFIG_PCI_SYSCALL=y 254CONFIG_PCI_SYSCALL=y
@@ -263,10 +275,6 @@ CONFIG_PHYSICAL_START=0x00000000
263CONFIG_TASK_SIZE=0xc0000000 275CONFIG_TASK_SIZE=0xc0000000
264CONFIG_CONSISTENT_START=0xff100000 276CONFIG_CONSISTENT_START=0xff100000
265CONFIG_CONSISTENT_SIZE=0x00200000 277CONFIG_CONSISTENT_SIZE=0x00200000
266
267#
268# Networking
269#
270CONFIG_NET=y 278CONFIG_NET=y
271 279
272# 280#
@@ -353,6 +361,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
353CONFIG_STANDALONE=y 361CONFIG_STANDALONE=y
354CONFIG_PREVENT_FIRMWARE_BUILD=y 362CONFIG_PREVENT_FIRMWARE_BUILD=y
355CONFIG_FW_LOADER=y 363CONFIG_FW_LOADER=y
364CONFIG_FIRMWARE_IN_KERNEL=y
365CONFIG_EXTRA_FIRMWARE=""
356# CONFIG_SYS_HYPERVISOR is not set 366# CONFIG_SYS_HYPERVISOR is not set
357CONFIG_CONNECTOR=y 367CONFIG_CONNECTOR=y
358CONFIG_PROC_EVENTS=y 368CONFIG_PROC_EVENTS=y
@@ -379,6 +389,7 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
379# CONFIG_CDROM_PKTCDVD is not set 389# CONFIG_CDROM_PKTCDVD is not set
380# CONFIG_ATA_OVER_ETH is not set 390# CONFIG_ATA_OVER_ETH is not set
381# CONFIG_XILINX_SYSACE is not set 391# CONFIG_XILINX_SYSACE is not set
392# CONFIG_BLK_DEV_HD is not set
382# CONFIG_MISC_DEVICES is not set 393# CONFIG_MISC_DEVICES is not set
383CONFIG_HAVE_IDE=y 394CONFIG_HAVE_IDE=y
384# CONFIG_IDE is not set 395# CONFIG_IDE is not set
@@ -422,6 +433,7 @@ CONFIG_SCSI_WAIT_SCAN=m
422# CONFIG_SCSI_SAS_LIBSAS is not set 433# CONFIG_SCSI_SAS_LIBSAS is not set
423# CONFIG_SCSI_SRP_ATTRS is not set 434# CONFIG_SCSI_SRP_ATTRS is not set
424# CONFIG_SCSI_LOWLEVEL is not set 435# CONFIG_SCSI_LOWLEVEL is not set
436# CONFIG_SCSI_DH is not set
425CONFIG_ATA=y 437CONFIG_ATA=y
426# CONFIG_ATA_NONSTANDARD is not set 438# CONFIG_ATA_NONSTANDARD is not set
427# CONFIG_SATA_PMP is not set 439# CONFIG_SATA_PMP is not set
@@ -481,18 +493,22 @@ CONFIG_SATA_SIL=y
481# CONFIG_PATA_VIA is not set 493# CONFIG_PATA_VIA is not set
482# CONFIG_PATA_WINBOND is not set 494# CONFIG_PATA_WINBOND is not set
483# CONFIG_PATA_PLATFORM is not set 495# CONFIG_PATA_PLATFORM is not set
496# CONFIG_PATA_SCH is not set
484# CONFIG_MD is not set 497# CONFIG_MD is not set
485# CONFIG_FUSION is not set 498# CONFIG_FUSION is not set
486 499
487# 500#
488# IEEE 1394 (FireWire) support 501# IEEE 1394 (FireWire) support
489# 502#
503
504#
505# Enable only one of the two stacks, unless you know what you are doing
506#
490# CONFIG_FIREWIRE is not set 507# CONFIG_FIREWIRE is not set
491# CONFIG_IEEE1394 is not set 508# CONFIG_IEEE1394 is not set
492# CONFIG_I2O is not set 509# CONFIG_I2O is not set
493# CONFIG_MACINTOSH_DRIVERS is not set 510# CONFIG_MACINTOSH_DRIVERS is not set
494CONFIG_NETDEVICES=y 511CONFIG_NETDEVICES=y
495# CONFIG_NETDEVICES_MULTIQUEUE is not set
496# CONFIG_DUMMY is not set 512# CONFIG_DUMMY is not set
497# CONFIG_BONDING is not set 513# CONFIG_BONDING is not set
498# CONFIG_MACVLAN is not set 514# CONFIG_MACVLAN is not set
@@ -531,7 +547,6 @@ CONFIG_IBM_NEW_EMAC_ZMII=y
531# 547#
532# CONFIG_WLAN_PRE80211 is not set 548# CONFIG_WLAN_PRE80211 is not set
533# CONFIG_WLAN_80211 is not set 549# CONFIG_WLAN_80211 is not set
534# CONFIG_IWLWIFI is not set
535# CONFIG_IWLWIFI_LEDS is not set 550# CONFIG_IWLWIFI_LEDS is not set
536 551
537# 552#
@@ -607,12 +622,14 @@ CONFIG_SERIO_SERPORT=y
607# CONFIG_SERIO_PCIPS2 is not set 622# CONFIG_SERIO_PCIPS2 is not set
608CONFIG_SERIO_LIBPS2=y 623CONFIG_SERIO_LIBPS2=y
609# CONFIG_SERIO_RAW is not set 624# CONFIG_SERIO_RAW is not set
625# CONFIG_SERIO_XILINX_XPS_PS2 is not set
610# CONFIG_GAMEPORT is not set 626# CONFIG_GAMEPORT is not set
611 627
612# 628#
613# Character devices 629# Character devices
614# 630#
615CONFIG_VT=y 631CONFIG_VT=y
632CONFIG_CONSOLE_TRANSLATIONS=y
616CONFIG_VT_CONSOLE=y 633CONFIG_VT_CONSOLE=y
617CONFIG_HW_CONSOLE=y 634CONFIG_HW_CONSOLE=y
618# CONFIG_VT_HW_CONSOLE_BINDING is not set 635# CONFIG_VT_HW_CONSOLE_BINDING is not set
@@ -661,40 +678,60 @@ CONFIG_I2C_ALGOBIT=y
661# 678#
662# I2C Hardware Bus support 679# I2C Hardware Bus support
663# 680#
681
682#
683# PC SMBus host controller drivers
684#
664# CONFIG_I2C_ALI1535 is not set 685# CONFIG_I2C_ALI1535 is not set
665# CONFIG_I2C_ALI1563 is not set 686# CONFIG_I2C_ALI1563 is not set
666# CONFIG_I2C_ALI15X3 is not set 687# CONFIG_I2C_ALI15X3 is not set
667# CONFIG_I2C_AMD756 is not set 688# CONFIG_I2C_AMD756 is not set
668# CONFIG_I2C_AMD8111 is not set 689# CONFIG_I2C_AMD8111 is not set
669# CONFIG_I2C_I801 is not set 690# CONFIG_I2C_I801 is not set
670# CONFIG_I2C_I810 is not set 691# CONFIG_I2C_ISCH is not set
671# CONFIG_I2C_PIIX4 is not set 692# CONFIG_I2C_PIIX4 is not set
672CONFIG_I2C_IBM_IIC=y
673# CONFIG_I2C_MPC is not set
674# CONFIG_I2C_NFORCE2 is not set 693# CONFIG_I2C_NFORCE2 is not set
675# CONFIG_I2C_OCORES is not set
676# CONFIG_I2C_PARPORT_LIGHT is not set
677# CONFIG_I2C_PROSAVAGE is not set
678# CONFIG_I2C_SAVAGE4 is not set
679# CONFIG_I2C_SIMTEC is not set
680# CONFIG_I2C_SIS5595 is not set 694# CONFIG_I2C_SIS5595 is not set
681# CONFIG_I2C_SIS630 is not set 695# CONFIG_I2C_SIS630 is not set
682# CONFIG_I2C_SIS96X is not set 696# CONFIG_I2C_SIS96X is not set
683# CONFIG_I2C_TAOS_EVM is not set
684# CONFIG_I2C_STUB is not set
685# CONFIG_I2C_TINY_USB is not set
686# CONFIG_I2C_VIA is not set 697# CONFIG_I2C_VIA is not set
687# CONFIG_I2C_VIAPRO is not set 698# CONFIG_I2C_VIAPRO is not set
699
700#
701# I2C system bus drivers (mostly embedded / system-on-chip)
702#
703CONFIG_I2C_IBM_IIC=y
704# CONFIG_I2C_MPC is not set
705# CONFIG_I2C_OCORES is not set
706# CONFIG_I2C_SIMTEC is not set
707
708#
709# External I2C/SMBus adapter drivers
710#
711# CONFIG_I2C_PARPORT_LIGHT is not set
712# CONFIG_I2C_TAOS_EVM is not set
713# CONFIG_I2C_TINY_USB is not set
714
715#
716# Graphics adapter I2C/DDC channel drivers
717#
688# CONFIG_I2C_VOODOO3 is not set 718# CONFIG_I2C_VOODOO3 is not set
719
720#
721# Other I2C/SMBus bus drivers
722#
689# CONFIG_I2C_PCA_PLATFORM is not set 723# CONFIG_I2C_PCA_PLATFORM is not set
724# CONFIG_I2C_STUB is not set
690 725
691# 726#
692# Miscellaneous I2C Chip support 727# Miscellaneous I2C Chip support
693# 728#
694# CONFIG_DS1682 is not set 729# CONFIG_DS1682 is not set
730# CONFIG_AT24 is not set
695# CONFIG_SENSORS_EEPROM is not set 731# CONFIG_SENSORS_EEPROM is not set
696# CONFIG_SENSORS_PCF8574 is not set 732# CONFIG_SENSORS_PCF8574 is not set
697# CONFIG_PCF8575 is not set 733# CONFIG_PCF8575 is not set
734# CONFIG_SENSORS_PCA9539 is not set
698# CONFIG_SENSORS_PCF8591 is not set 735# CONFIG_SENSORS_PCF8591 is not set
699# CONFIG_SENSORS_MAX6875 is not set 736# CONFIG_SENSORS_MAX6875 is not set
700# CONFIG_SENSORS_TSL2550 is not set 737# CONFIG_SENSORS_TSL2550 is not set
@@ -703,10 +740,13 @@ CONFIG_I2C_IBM_IIC=y
703# CONFIG_I2C_DEBUG_BUS is not set 740# CONFIG_I2C_DEBUG_BUS is not set
704# CONFIG_I2C_DEBUG_CHIP is not set 741# CONFIG_I2C_DEBUG_CHIP is not set
705# CONFIG_SPI is not set 742# CONFIG_SPI is not set
743CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
744# CONFIG_GPIOLIB is not set
706# CONFIG_W1 is not set 745# CONFIG_W1 is not set
707# CONFIG_POWER_SUPPLY is not set 746# CONFIG_POWER_SUPPLY is not set
708# CONFIG_HWMON is not set 747# CONFIG_HWMON is not set
709# CONFIG_THERMAL is not set 748# CONFIG_THERMAL is not set
749# CONFIG_THERMAL_HWMON is not set
710# CONFIG_WATCHDOG is not set 750# CONFIG_WATCHDOG is not set
711 751
712# 752#
@@ -718,6 +758,7 @@ CONFIG_SSB_POSSIBLE=y
718# 758#
719# Multifunction device drivers 759# Multifunction device drivers
720# 760#
761# CONFIG_MFD_CORE is not set
721# CONFIG_MFD_SM501 is not set 762# CONFIG_MFD_SM501 is not set
722# CONFIG_HTC_PASIC3 is not set 763# CONFIG_HTC_PASIC3 is not set
723 764
@@ -730,6 +771,7 @@ CONFIG_SSB_POSSIBLE=y
730# 771#
731# CONFIG_VIDEO_DEV is not set 772# CONFIG_VIDEO_DEV is not set
732# CONFIG_DVB_CORE is not set 773# CONFIG_DVB_CORE is not set
774# CONFIG_VIDEO_MEDIA is not set
733 775
734# 776#
735# Multimedia drivers 777# Multimedia drivers
@@ -755,7 +797,6 @@ CONFIG_FB_CFB_IMAGEBLIT=y
755# CONFIG_FB_SYS_IMAGEBLIT is not set 797# CONFIG_FB_SYS_IMAGEBLIT is not set
756# CONFIG_FB_FOREIGN_ENDIAN is not set 798# CONFIG_FB_FOREIGN_ENDIAN is not set
757# CONFIG_FB_SYS_FOPS is not set 799# CONFIG_FB_SYS_FOPS is not set
758CONFIG_FB_DEFERRED_IO=y
759# CONFIG_FB_SVGALIB is not set 800# CONFIG_FB_SVGALIB is not set
760CONFIG_FB_MACMODES=y 801CONFIG_FB_MACMODES=y
761CONFIG_FB_BACKLIGHT=y 802CONFIG_FB_BACKLIGHT=y
@@ -795,10 +836,13 @@ CONFIG_FB_RADEON_BACKLIGHT=y
795# CONFIG_FB_TRIDENT is not set 836# CONFIG_FB_TRIDENT is not set
796# CONFIG_FB_ARK is not set 837# CONFIG_FB_ARK is not set
797# CONFIG_FB_PM3 is not set 838# CONFIG_FB_PM3 is not set
839# CONFIG_FB_CARMINE is not set
798# CONFIG_FB_IBM_GXT4500 is not set 840# CONFIG_FB_IBM_GXT4500 is not set
799# CONFIG_FB_VIRTUAL is not set 841# CONFIG_FB_VIRTUAL is not set
800CONFIG_BACKLIGHT_LCD_SUPPORT=y 842CONFIG_BACKLIGHT_LCD_SUPPORT=y
801CONFIG_LCD_CLASS_DEVICE=y 843CONFIG_LCD_CLASS_DEVICE=y
844# CONFIG_LCD_ILI9320 is not set
845# CONFIG_LCD_PLATFORM is not set
802CONFIG_BACKLIGHT_CLASS_DEVICE=y 846CONFIG_BACKLIGHT_CLASS_DEVICE=y
803# CONFIG_BACKLIGHT_CORGI is not set 847# CONFIG_BACKLIGHT_CORGI is not set
804 848
@@ -821,10 +865,6 @@ CONFIG_LOGO=y
821CONFIG_LOGO_LINUX_MONO=y 865CONFIG_LOGO_LINUX_MONO=y
822CONFIG_LOGO_LINUX_VGA16=y 866CONFIG_LOGO_LINUX_VGA16=y
823CONFIG_LOGO_LINUX_CLUT224=y 867CONFIG_LOGO_LINUX_CLUT224=y
824
825#
826# Sound
827#
828# CONFIG_SOUND is not set 868# CONFIG_SOUND is not set
829CONFIG_HID_SUPPORT=y 869CONFIG_HID_SUPPORT=y
830CONFIG_HID=y 870CONFIG_HID=y
@@ -859,11 +899,13 @@ CONFIG_USB_DEVICEFS=y
859# 899#
860# USB Host Controller Drivers 900# USB Host Controller Drivers
861# 901#
902# CONFIG_USB_C67X00_HCD is not set
862CONFIG_USB_EHCI_HCD=m 903CONFIG_USB_EHCI_HCD=m
863# CONFIG_USB_EHCI_ROOT_HUB_TT is not set 904# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
864# CONFIG_USB_EHCI_TT_NEWSCHED is not set 905# CONFIG_USB_EHCI_TT_NEWSCHED is not set
865CONFIG_USB_EHCI_HCD_PPC_OF=y 906CONFIG_USB_EHCI_HCD_PPC_OF=y
866# CONFIG_USB_ISP116X_HCD is not set 907# CONFIG_USB_ISP116X_HCD is not set
908# CONFIG_USB_ISP1760_HCD is not set
867CONFIG_USB_OHCI_HCD=y 909CONFIG_USB_OHCI_HCD=y
868CONFIG_USB_OHCI_HCD_PPC_OF=y 910CONFIG_USB_OHCI_HCD_PPC_OF=y
869CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 911CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
@@ -881,6 +923,7 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
881# 923#
882# CONFIG_USB_ACM is not set 924# CONFIG_USB_ACM is not set
883# CONFIG_USB_PRINTER is not set 925# CONFIG_USB_PRINTER is not set
926# CONFIG_USB_WDM is not set
884 927
885# 928#
886# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 929# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -900,6 +943,7 @@ CONFIG_USB_STORAGE=m
900# CONFIG_USB_STORAGE_SDDR55 is not set 943# CONFIG_USB_STORAGE_SDDR55 is not set
901# CONFIG_USB_STORAGE_JUMPSHOT is not set 944# CONFIG_USB_STORAGE_JUMPSHOT is not set
902# CONFIG_USB_STORAGE_ALAUDA is not set 945# CONFIG_USB_STORAGE_ALAUDA is not set
946# CONFIG_USB_STORAGE_ONETOUCH is not set
903# CONFIG_USB_STORAGE_KARMA is not set 947# CONFIG_USB_STORAGE_KARMA is not set
904# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set 948# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
905# CONFIG_USB_LIBUSUAL is not set 949# CONFIG_USB_LIBUSUAL is not set
@@ -939,6 +983,7 @@ CONFIG_USB_STORAGE=m
939# CONFIG_USB_TRANCEVIBRATOR is not set 983# CONFIG_USB_TRANCEVIBRATOR is not set
940# CONFIG_USB_IOWARRIOR is not set 984# CONFIG_USB_IOWARRIOR is not set
941# CONFIG_USB_TEST is not set 985# CONFIG_USB_TEST is not set
986# CONFIG_USB_ISIGHTFW is not set
942# CONFIG_USB_GADGET is not set 987# CONFIG_USB_GADGET is not set
943# CONFIG_MMC is not set 988# CONFIG_MMC is not set
944# CONFIG_MEMSTICK is not set 989# CONFIG_MEMSTICK is not set
@@ -976,6 +1021,7 @@ CONFIG_RTC_INTF_DEV=y
976CONFIG_RTC_DRV_M41T80=y 1021CONFIG_RTC_DRV_M41T80=y
977CONFIG_RTC_DRV_M41T80_WDT=y 1022CONFIG_RTC_DRV_M41T80_WDT=y
978# CONFIG_RTC_DRV_S35390A is not set 1023# CONFIG_RTC_DRV_S35390A is not set
1024# CONFIG_RTC_DRV_FM3130 is not set
979 1025
980# 1026#
981# SPI RTC drivers 1027# SPI RTC drivers
@@ -996,6 +1042,7 @@ CONFIG_RTC_DRV_M41T80_WDT=y
996# 1042#
997# on-CPU RTC drivers 1043# on-CPU RTC drivers
998# 1044#
1045# CONFIG_RTC_DRV_PPC is not set
999# CONFIG_DMADEVICES is not set 1046# CONFIG_DMADEVICES is not set
1000# CONFIG_UIO is not set 1047# CONFIG_UIO is not set
1001 1048
@@ -1074,6 +1121,7 @@ CONFIG_AFFS_FS=m
1074# CONFIG_CRAMFS is not set 1121# CONFIG_CRAMFS is not set
1075# CONFIG_VXFS_FS is not set 1122# CONFIG_VXFS_FS is not set
1076# CONFIG_MINIX_FS is not set 1123# CONFIG_MINIX_FS is not set
1124# CONFIG_OMFS_FS is not set
1077# CONFIG_HPFS_FS is not set 1125# CONFIG_HPFS_FS is not set
1078# CONFIG_QNX4FS_FS is not set 1126# CONFIG_QNX4FS_FS is not set
1079# CONFIG_ROMFS_FS is not set 1127# CONFIG_ROMFS_FS is not set
@@ -1151,6 +1199,7 @@ CONFIG_BITREVERSE=y
1151# CONFIG_GENERIC_FIND_FIRST_BIT is not set 1199# CONFIG_GENERIC_FIND_FIRST_BIT is not set
1152# CONFIG_CRC_CCITT is not set 1200# CONFIG_CRC_CCITT is not set
1153# CONFIG_CRC16 is not set 1201# CONFIG_CRC16 is not set
1202CONFIG_CRC_T10DIF=y
1154CONFIG_CRC_ITU_T=y 1203CONFIG_CRC_ITU_T=y
1155CONFIG_CRC32=y 1204CONFIG_CRC32=y
1156# CONFIG_CRC7 is not set 1205# CONFIG_CRC7 is not set
@@ -1177,7 +1226,15 @@ CONFIG_MAGIC_SYSRQ=y
1177# CONFIG_SLUB_DEBUG_ON is not set 1226# CONFIG_SLUB_DEBUG_ON is not set
1178# CONFIG_SLUB_STATS is not set 1227# CONFIG_SLUB_STATS is not set
1179# CONFIG_DEBUG_BUGVERBOSE is not set 1228# CONFIG_DEBUG_BUGVERBOSE is not set
1229# CONFIG_DEBUG_MEMORY_INIT is not set
1230# CONFIG_LATENCYTOP is not set
1231CONFIG_HAVE_FTRACE=y
1232CONFIG_HAVE_DYNAMIC_FTRACE=y
1233# CONFIG_FTRACE is not set
1234# CONFIG_SCHED_TRACER is not set
1235# CONFIG_CONTEXT_SWITCH_TRACER is not set
1180# CONFIG_SAMPLES is not set 1236# CONFIG_SAMPLES is not set
1237CONFIG_HAVE_ARCH_KGDB=y
1181# CONFIG_IRQSTACKS is not set 1238# CONFIG_IRQSTACKS is not set
1182# CONFIG_PPC_EARLY_DEBUG is not set 1239# CONFIG_PPC_EARLY_DEBUG is not set
1183 1240
diff --git a/arch/powerpc/configs/44x/sequoia_defconfig b/arch/powerpc/configs/44x/sequoia_defconfig
index dd5d6303c396..e40b1023265c 100644
--- a/arch/powerpc/configs/44x/sequoia_defconfig
+++ b/arch/powerpc/configs/44x/sequoia_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:53:46 2008 4# Tue Aug 5 09:15:13 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,8 +30,12 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
38CONFIG_LOCKDEP_SUPPORT=y
35CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
36CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
37CONFIG_GENERIC_HWEIGHT=y 41CONFIG_GENERIC_HWEIGHT=y
@@ -79,6 +83,7 @@ CONFIG_GROUP_SCHED=y
79CONFIG_USER_SCHED=y 83CONFIG_USER_SCHED=y
80# CONFIG_CGROUP_SCHED is not set 84# CONFIG_CGROUP_SCHED is not set
81CONFIG_SYSFS_DEPRECATED=y 85CONFIG_SYSFS_DEPRECATED=y
86CONFIG_SYSFS_DEPRECATED_V2=y
82# CONFIG_RELAY is not set 87# CONFIG_RELAY is not set
83# CONFIG_NAMESPACES is not set 88# CONFIG_NAMESPACES is not set
84CONFIG_BLK_DEV_INITRD=y 89CONFIG_BLK_DEV_INITRD=y
@@ -87,6 +92,7 @@ CONFIG_INITRAMFS_SOURCE=""
87CONFIG_SYSCTL=y 92CONFIG_SYSCTL=y
88CONFIG_EMBEDDED=y 93CONFIG_EMBEDDED=y
89CONFIG_SYSCTL_SYSCALL=y 94CONFIG_SYSCTL_SYSCALL=y
95CONFIG_SYSCTL_SYSCALL_CHECK=y
90CONFIG_KALLSYMS=y 96CONFIG_KALLSYMS=y
91# CONFIG_KALLSYMS_ALL is not set 97# CONFIG_KALLSYMS_ALL is not set
92# CONFIG_KALLSYMS_EXTRA_PASS is not set 98# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -112,13 +118,22 @@ CONFIG_SLUB=y
112# CONFIG_MARKERS is not set 118# CONFIG_MARKERS is not set
113CONFIG_HAVE_OPROFILE=y 119CONFIG_HAVE_OPROFILE=y
114# CONFIG_KPROBES is not set 120# CONFIG_KPROBES is not set
121CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
122CONFIG_HAVE_IOREMAP_PROT=y
115CONFIG_HAVE_KPROBES=y 123CONFIG_HAVE_KPROBES=y
124CONFIG_HAVE_KRETPROBES=y
125CONFIG_HAVE_ARCH_TRACEHOOK=y
126# CONFIG_HAVE_DMA_ATTRS is not set
127# CONFIG_USE_GENERIC_SMP_HELPERS is not set
128# CONFIG_HAVE_CLK is not set
116CONFIG_PROC_PAGE_MONITOR=y 129CONFIG_PROC_PAGE_MONITOR=y
130# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
117CONFIG_SLABINFO=y 131CONFIG_SLABINFO=y
118CONFIG_RT_MUTEXES=y 132CONFIG_RT_MUTEXES=y
119# CONFIG_TINY_SHMEM is not set 133# CONFIG_TINY_SHMEM is not set
120CONFIG_BASE_SMALL=0 134CONFIG_BASE_SMALL=0
121CONFIG_MODULES=y 135CONFIG_MODULES=y
136# CONFIG_MODULE_FORCE_LOAD is not set
122CONFIG_MODULE_UNLOAD=y 137CONFIG_MODULE_UNLOAD=y
123# CONFIG_MODULE_FORCE_UNLOAD is not set 138# CONFIG_MODULE_FORCE_UNLOAD is not set
124# CONFIG_MODVERSIONS is not set 139# CONFIG_MODVERSIONS is not set
@@ -129,6 +144,7 @@ CONFIG_LBD=y
129# CONFIG_BLK_DEV_IO_TRACE is not set 144# CONFIG_BLK_DEV_IO_TRACE is not set
130# CONFIG_LSF is not set 145# CONFIG_LSF is not set
131# CONFIG_BLK_DEV_BSG is not set 146# CONFIG_BLK_DEV_BSG is not set
147# CONFIG_BLK_DEV_INTEGRITY is not set
132 148
133# 149#
134# IO Schedulers 150# IO Schedulers
@@ -143,24 +159,25 @@ CONFIG_DEFAULT_AS=y
143# CONFIG_DEFAULT_NOOP is not set 159# CONFIG_DEFAULT_NOOP is not set
144CONFIG_DEFAULT_IOSCHED="anticipatory" 160CONFIG_DEFAULT_IOSCHED="anticipatory"
145CONFIG_CLASSIC_RCU=y 161CONFIG_CLASSIC_RCU=y
146# CONFIG_PREEMPT_RCU is not set
147# CONFIG_PPC4xx_PCI_EXPRESS is not set 162# CONFIG_PPC4xx_PCI_EXPRESS is not set
148 163
149# 164#
150# Platform support 165# Platform support
151# 166#
152# CONFIG_PPC_MPC512x is not set
153# CONFIG_PPC_MPC5121 is not set
154# CONFIG_PPC_CELL is not set 167# CONFIG_PPC_CELL is not set
155# CONFIG_PPC_CELL_NATIVE is not set 168# CONFIG_PPC_CELL_NATIVE is not set
156# CONFIG_PQ2ADS is not set 169# CONFIG_PQ2ADS is not set
157# CONFIG_BAMBOO is not set 170# CONFIG_BAMBOO is not set
158# CONFIG_EBONY is not set 171# CONFIG_EBONY is not set
172# CONFIG_SAM440EP is not set
159CONFIG_SEQUOIA=y 173CONFIG_SEQUOIA=y
160# CONFIG_TAISHAN is not set 174# CONFIG_TAISHAN is not set
161# CONFIG_KATMAI is not set 175# CONFIG_KATMAI is not set
162# CONFIG_RAINIER is not set 176# CONFIG_RAINIER is not set
163# CONFIG_WARP is not set 177# CONFIG_WARP is not set
178# CONFIG_CANYONLANDS is not set
179# CONFIG_YOSEMITE is not set
180# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
164CONFIG_440EPX=y 181CONFIG_440EPX=y
165# CONFIG_IPIC is not set 182# CONFIG_IPIC is not set
166# CONFIG_MPIC is not set 183# CONFIG_MPIC is not set
@@ -192,7 +209,6 @@ CONFIG_HZ=250
192CONFIG_PREEMPT_NONE=y 209CONFIG_PREEMPT_NONE=y
193# CONFIG_PREEMPT_VOLUNTARY is not set 210# CONFIG_PREEMPT_VOLUNTARY is not set
194# CONFIG_PREEMPT is not set 211# CONFIG_PREEMPT is not set
195CONFIG_RCU_TRACE=y
196CONFIG_BINFMT_ELF=y 212CONFIG_BINFMT_ELF=y
197# CONFIG_BINFMT_MISC is not set 213# CONFIG_BINFMT_MISC is not set
198# CONFIG_MATH_EMULATION is not set 214# CONFIG_MATH_EMULATION is not set
@@ -210,14 +226,18 @@ CONFIG_FLATMEM=y
210CONFIG_FLAT_NODE_MEM_MAP=y 226CONFIG_FLAT_NODE_MEM_MAP=y
211# CONFIG_SPARSEMEM_STATIC is not set 227# CONFIG_SPARSEMEM_STATIC is not set
212# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 228# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
229CONFIG_PAGEFLAGS_EXTENDED=y
213CONFIG_SPLIT_PTLOCK_CPUS=4 230CONFIG_SPLIT_PTLOCK_CPUS=4
231CONFIG_MIGRATION=y
214CONFIG_RESOURCES_64BIT=y 232CONFIG_RESOURCES_64BIT=y
215CONFIG_ZONE_DMA_FLAG=1 233CONFIG_ZONE_DMA_FLAG=1
216CONFIG_BOUNCE=y 234CONFIG_BOUNCE=y
217CONFIG_VIRT_TO_BUS=y 235CONFIG_VIRT_TO_BUS=y
236CONFIG_FORCE_MAX_ZONEORDER=11
218CONFIG_PROC_DEVICETREE=y 237CONFIG_PROC_DEVICETREE=y
219CONFIG_CMDLINE_BOOL=y 238CONFIG_CMDLINE_BOOL=y
220CONFIG_CMDLINE="" 239CONFIG_CMDLINE=""
240CONFIG_EXTRA_TARGETS=""
221CONFIG_SECCOMP=y 241CONFIG_SECCOMP=y
222CONFIG_ISA_DMA_API=y 242CONFIG_ISA_DMA_API=y
223 243
@@ -226,6 +246,8 @@ CONFIG_ISA_DMA_API=y
226# 246#
227CONFIG_ZONE_DMA=y 247CONFIG_ZONE_DMA=y
228CONFIG_PPC_INDIRECT_PCI=y 248CONFIG_PPC_INDIRECT_PCI=y
249CONFIG_4xx_SOC=y
250CONFIG_PPC_PCI_CHOICE=y
229CONFIG_PCI=y 251CONFIG_PCI=y
230CONFIG_PCI_DOMAINS=y 252CONFIG_PCI_DOMAINS=y
231CONFIG_PCI_SYSCALL=y 253CONFIG_PCI_SYSCALL=y
@@ -236,6 +258,7 @@ CONFIG_PCI_LEGACY=y
236# CONFIG_PCI_DEBUG is not set 258# CONFIG_PCI_DEBUG is not set
237# CONFIG_PCCARD is not set 259# CONFIG_PCCARD is not set
238# CONFIG_HOTPLUG_PCI is not set 260# CONFIG_HOTPLUG_PCI is not set
261# CONFIG_HAS_RAPIDIO is not set
239 262
240# 263#
241# Advanced setup 264# Advanced setup
@@ -245,17 +268,13 @@ CONFIG_PCI_LEGACY=y
245# 268#
246# Default settings for advanced configuration options are used 269# Default settings for advanced configuration options are used
247# 270#
248CONFIG_HIGHMEM_START=0xfe000000
249CONFIG_LOWMEM_SIZE=0x30000000 271CONFIG_LOWMEM_SIZE=0x30000000
272CONFIG_PAGE_OFFSET=0xc0000000
250CONFIG_KERNEL_START=0xc0000000 273CONFIG_KERNEL_START=0xc0000000
274CONFIG_PHYSICAL_START=0x00000000
251CONFIG_TASK_SIZE=0xc0000000 275CONFIG_TASK_SIZE=0xc0000000
252CONFIG_CONSISTENT_START=0xff100000 276CONFIG_CONSISTENT_START=0xff100000
253CONFIG_CONSISTENT_SIZE=0x00200000 277CONFIG_CONSISTENT_SIZE=0x00200000
254CONFIG_BOOT_LOAD=0x01000000
255
256#
257# Networking
258#
259CONFIG_NET=y 278CONFIG_NET=y
260 279
261# 280#
@@ -293,8 +312,6 @@ CONFIG_TCP_CONG_CUBIC=y
293CONFIG_DEFAULT_TCP_CONG="cubic" 312CONFIG_DEFAULT_TCP_CONG="cubic"
294# CONFIG_TCP_MD5SIG is not set 313# CONFIG_TCP_MD5SIG is not set
295# CONFIG_IPV6 is not set 314# CONFIG_IPV6 is not set
296# CONFIG_INET6_XFRM_TUNNEL is not set
297# CONFIG_INET6_TUNNEL is not set
298# CONFIG_NETWORK_SECMARK is not set 315# CONFIG_NETWORK_SECMARK is not set
299# CONFIG_NETFILTER is not set 316# CONFIG_NETFILTER is not set
300# CONFIG_IP_DCCP is not set 317# CONFIG_IP_DCCP is not set
@@ -344,6 +361,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
344CONFIG_STANDALONE=y 361CONFIG_STANDALONE=y
345CONFIG_PREVENT_FIRMWARE_BUILD=y 362CONFIG_PREVENT_FIRMWARE_BUILD=y
346CONFIG_FW_LOADER=y 363CONFIG_FW_LOADER=y
364CONFIG_FIRMWARE_IN_KERNEL=y
365CONFIG_EXTRA_FIRMWARE=""
347# CONFIG_DEBUG_DRIVER is not set 366# CONFIG_DEBUG_DRIVER is not set
348# CONFIG_DEBUG_DEVRES is not set 367# CONFIG_DEBUG_DEVRES is not set
349# CONFIG_SYS_HYPERVISOR is not set 368# CONFIG_SYS_HYPERVISOR is not set
@@ -356,6 +375,7 @@ CONFIG_MTD_PARTITIONS=y
356# CONFIG_MTD_REDBOOT_PARTS is not set 375# CONFIG_MTD_REDBOOT_PARTS is not set
357CONFIG_MTD_CMDLINE_PARTS=y 376CONFIG_MTD_CMDLINE_PARTS=y
358CONFIG_MTD_OF_PARTS=y 377CONFIG_MTD_OF_PARTS=y
378# CONFIG_MTD_AR7_PARTS is not set
359 379
360# 380#
361# User Modules And Translation Layers 381# User Modules And Translation Layers
@@ -446,12 +466,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
446# CONFIG_CDROM_PKTCDVD is not set 466# CONFIG_CDROM_PKTCDVD is not set
447# CONFIG_ATA_OVER_ETH is not set 467# CONFIG_ATA_OVER_ETH is not set
448# CONFIG_XILINX_SYSACE is not set 468# CONFIG_XILINX_SYSACE is not set
469# CONFIG_BLK_DEV_HD is not set
449CONFIG_MISC_DEVICES=y 470CONFIG_MISC_DEVICES=y
450# CONFIG_PHANTOM is not set 471# CONFIG_PHANTOM is not set
451# CONFIG_EEPROM_93CX6 is not set 472# CONFIG_EEPROM_93CX6 is not set
452# CONFIG_SGI_IOC4 is not set 473# CONFIG_SGI_IOC4 is not set
453# CONFIG_TIFM_CORE is not set 474# CONFIG_TIFM_CORE is not set
454# CONFIG_ENCLOSURE_SERVICES is not set 475# CONFIG_ENCLOSURE_SERVICES is not set
476# CONFIG_HP_ILO is not set
455CONFIG_HAVE_IDE=y 477CONFIG_HAVE_IDE=y
456# CONFIG_IDE is not set 478# CONFIG_IDE is not set
457 479
@@ -469,12 +491,15 @@ CONFIG_HAVE_IDE=y
469# 491#
470# IEEE 1394 (FireWire) support 492# IEEE 1394 (FireWire) support
471# 493#
494
495#
496# Enable only one of the two stacks, unless you know what you are doing
497#
472# CONFIG_FIREWIRE is not set 498# CONFIG_FIREWIRE is not set
473# CONFIG_IEEE1394 is not set 499# CONFIG_IEEE1394 is not set
474# CONFIG_I2O is not set 500# CONFIG_I2O is not set
475# CONFIG_MACINTOSH_DRIVERS is not set 501# CONFIG_MACINTOSH_DRIVERS is not set
476CONFIG_NETDEVICES=y 502CONFIG_NETDEVICES=y
477# CONFIG_NETDEVICES_MULTIQUEUE is not set
478# CONFIG_DUMMY is not set 503# CONFIG_DUMMY is not set
479# CONFIG_BONDING is not set 504# CONFIG_BONDING is not set
480# CONFIG_MACVLAN is not set 505# CONFIG_MACVLAN is not set
@@ -509,7 +534,6 @@ CONFIG_NETDEV_1000=y
509# CONFIG_DL2K is not set 534# CONFIG_DL2K is not set
510# CONFIG_E1000 is not set 535# CONFIG_E1000 is not set
511# CONFIG_E1000E is not set 536# CONFIG_E1000E is not set
512# CONFIG_E1000E_ENABLED is not set
513# CONFIG_IP1000 is not set 537# CONFIG_IP1000 is not set
514# CONFIG_IGB is not set 538# CONFIG_IGB is not set
515# CONFIG_NS83820 is not set 539# CONFIG_NS83820 is not set
@@ -519,12 +543,12 @@ CONFIG_NETDEV_1000=y
519# CONFIG_SIS190 is not set 543# CONFIG_SIS190 is not set
520# CONFIG_SKGE is not set 544# CONFIG_SKGE is not set
521# CONFIG_SKY2 is not set 545# CONFIG_SKY2 is not set
522# CONFIG_SK98LIN is not set
523# CONFIG_VIA_VELOCITY is not set 546# CONFIG_VIA_VELOCITY is not set
524# CONFIG_TIGON3 is not set 547# CONFIG_TIGON3 is not set
525# CONFIG_BNX2 is not set 548# CONFIG_BNX2 is not set
526# CONFIG_QLA3XXX is not set 549# CONFIG_QLA3XXX is not set
527# CONFIG_ATL1 is not set 550# CONFIG_ATL1 is not set
551# CONFIG_ATL1E is not set
528CONFIG_NETDEV_10000=y 552CONFIG_NETDEV_10000=y
529# CONFIG_CHELSIO_T1 is not set 553# CONFIG_CHELSIO_T1 is not set
530# CONFIG_CHELSIO_T3 is not set 554# CONFIG_CHELSIO_T3 is not set
@@ -537,6 +561,7 @@ CONFIG_NETDEV_10000=y
537# CONFIG_MLX4_CORE is not set 561# CONFIG_MLX4_CORE is not set
538# CONFIG_TEHUTI is not set 562# CONFIG_TEHUTI is not set
539# CONFIG_BNX2X is not set 563# CONFIG_BNX2X is not set
564# CONFIG_SFC is not set
540# CONFIG_TR is not set 565# CONFIG_TR is not set
541 566
542# 567#
@@ -544,6 +569,7 @@ CONFIG_NETDEV_10000=y
544# 569#
545# CONFIG_WLAN_PRE80211 is not set 570# CONFIG_WLAN_PRE80211 is not set
546# CONFIG_WLAN_80211 is not set 571# CONFIG_WLAN_80211 is not set
572# CONFIG_IWLWIFI_LEDS is not set
547# CONFIG_WAN is not set 573# CONFIG_WAN is not set
548# CONFIG_FDDI is not set 574# CONFIG_FDDI is not set
549# CONFIG_HIPPI is not set 575# CONFIG_HIPPI is not set
@@ -570,6 +596,7 @@ CONFIG_NETDEV_10000=y
570# Character devices 596# Character devices
571# 597#
572# CONFIG_VT is not set 598# CONFIG_VT is not set
599CONFIG_DEVKMEM=y
573# CONFIG_SERIAL_NONSTANDARD is not set 600# CONFIG_SERIAL_NONSTANDARD is not set
574# CONFIG_NOZOMI is not set 601# CONFIG_NOZOMI is not set
575 602
@@ -608,12 +635,9 @@ CONFIG_LEGACY_PTY_COUNT=256
608# CONFIG_TCG_TPM is not set 635# CONFIG_TCG_TPM is not set
609CONFIG_DEVPORT=y 636CONFIG_DEVPORT=y
610# CONFIG_I2C is not set 637# CONFIG_I2C is not set
611
612#
613# SPI support
614#
615# CONFIG_SPI is not set 638# CONFIG_SPI is not set
616# CONFIG_SPI_MASTER is not set 639CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
640# CONFIG_GPIOLIB is not set
617# CONFIG_W1 is not set 641# CONFIG_W1 is not set
618# CONFIG_POWER_SUPPLY is not set 642# CONFIG_POWER_SUPPLY is not set
619# CONFIG_HWMON is not set 643# CONFIG_HWMON is not set
@@ -629,13 +653,24 @@ CONFIG_SSB_POSSIBLE=y
629# 653#
630# Multifunction device drivers 654# Multifunction device drivers
631# 655#
656# CONFIG_MFD_CORE is not set
632# CONFIG_MFD_SM501 is not set 657# CONFIG_MFD_SM501 is not set
658# CONFIG_HTC_PASIC3 is not set
633 659
634# 660#
635# Multimedia devices 661# Multimedia devices
636# 662#
663
664#
665# Multimedia core support
666#
637# CONFIG_VIDEO_DEV is not set 667# CONFIG_VIDEO_DEV is not set
638# CONFIG_DVB_CORE is not set 668# CONFIG_DVB_CORE is not set
669# CONFIG_VIDEO_MEDIA is not set
670
671#
672# Multimedia drivers
673#
639CONFIG_DAB=y 674CONFIG_DAB=y
640 675
641# 676#
@@ -652,16 +687,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
652# Display device support 687# Display device support
653# 688#
654# CONFIG_DISPLAY_SUPPORT is not set 689# CONFIG_DISPLAY_SUPPORT is not set
655
656#
657# Sound
658#
659# CONFIG_SOUND is not set 690# CONFIG_SOUND is not set
660CONFIG_USB_SUPPORT=y 691CONFIG_USB_SUPPORT=y
661CONFIG_USB_ARCH_HAS_HCD=y 692CONFIG_USB_ARCH_HAS_HCD=y
662CONFIG_USB_ARCH_HAS_OHCI=y 693CONFIG_USB_ARCH_HAS_OHCI=y
663CONFIG_USB_ARCH_HAS_EHCI=y 694CONFIG_USB_ARCH_HAS_EHCI=y
664# CONFIG_USB is not set 695# CONFIG_USB is not set
696# CONFIG_USB_OTG_WHITELIST is not set
697# CONFIG_USB_OTG_BLACKLIST_HUB is not set
665 698
666# 699#
667# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 700# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -670,13 +703,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
670# CONFIG_MMC is not set 703# CONFIG_MMC is not set
671# CONFIG_MEMSTICK is not set 704# CONFIG_MEMSTICK is not set
672# CONFIG_NEW_LEDS is not set 705# CONFIG_NEW_LEDS is not set
706# CONFIG_ACCESSIBILITY is not set
673# CONFIG_INFINIBAND is not set 707# CONFIG_INFINIBAND is not set
674# CONFIG_EDAC is not set 708# CONFIG_EDAC is not set
675# CONFIG_RTC_CLASS is not set 709# CONFIG_RTC_CLASS is not set
676 710# CONFIG_DMADEVICES is not set
677#
678# Userspace I/O
679#
680# CONFIG_UIO is not set 711# CONFIG_UIO is not set
681 712
682# 713#
@@ -691,7 +722,6 @@ CONFIG_EXT2_FS=y
691# CONFIG_JFS_FS is not set 722# CONFIG_JFS_FS is not set
692# CONFIG_FS_POSIX_ACL is not set 723# CONFIG_FS_POSIX_ACL is not set
693# CONFIG_XFS_FS is not set 724# CONFIG_XFS_FS is not set
694# CONFIG_GFS2_FS is not set
695# CONFIG_OCFS2_FS is not set 725# CONFIG_OCFS2_FS is not set
696CONFIG_DNOTIFY=y 726CONFIG_DNOTIFY=y
697CONFIG_INOTIFY=y 727CONFIG_INOTIFY=y
@@ -750,6 +780,7 @@ CONFIG_JFFS2_RTIME=y
750CONFIG_CRAMFS=y 780CONFIG_CRAMFS=y
751# CONFIG_VXFS_FS is not set 781# CONFIG_VXFS_FS is not set
752# CONFIG_MINIX_FS is not set 782# CONFIG_MINIX_FS is not set
783# CONFIG_OMFS_FS is not set
753# CONFIG_HPFS_FS is not set 784# CONFIG_HPFS_FS is not set
754# CONFIG_QNX4FS_FS is not set 785# CONFIG_QNX4FS_FS is not set
755# CONFIG_ROMFS_FS is not set 786# CONFIG_ROMFS_FS is not set
@@ -760,14 +791,12 @@ CONFIG_NFS_FS=y
760CONFIG_NFS_V3=y 791CONFIG_NFS_V3=y
761# CONFIG_NFS_V3_ACL is not set 792# CONFIG_NFS_V3_ACL is not set
762# CONFIG_NFS_V4 is not set 793# CONFIG_NFS_V4 is not set
763# CONFIG_NFS_DIRECTIO is not set
764# CONFIG_NFSD is not set
765CONFIG_ROOT_NFS=y 794CONFIG_ROOT_NFS=y
795# CONFIG_NFSD is not set
766CONFIG_LOCKD=y 796CONFIG_LOCKD=y
767CONFIG_LOCKD_V4=y 797CONFIG_LOCKD_V4=y
768CONFIG_NFS_COMMON=y 798CONFIG_NFS_COMMON=y
769CONFIG_SUNRPC=y 799CONFIG_SUNRPC=y
770# CONFIG_SUNRPC_BIND34 is not set
771# CONFIG_RPCSEC_GSS_KRB5 is not set 800# CONFIG_RPCSEC_GSS_KRB5 is not set
772# CONFIG_RPCSEC_GSS_SPKM3 is not set 801# CONFIG_RPCSEC_GSS_SPKM3 is not set
773# CONFIG_SMB_FS is not set 802# CONFIG_SMB_FS is not set
@@ -788,8 +817,10 @@ CONFIG_MSDOS_PARTITION=y
788# Library routines 817# Library routines
789# 818#
790CONFIG_BITREVERSE=y 819CONFIG_BITREVERSE=y
820# CONFIG_GENERIC_FIND_FIRST_BIT is not set
791# CONFIG_CRC_CCITT is not set 821# CONFIG_CRC_CCITT is not set
792# CONFIG_CRC16 is not set 822# CONFIG_CRC16 is not set
823# CONFIG_CRC_T10DIF is not set
793# CONFIG_CRC_ITU_T is not set 824# CONFIG_CRC_ITU_T is not set
794CONFIG_CRC32=y 825CONFIG_CRC32=y
795# CONFIG_CRC7 is not set 826# CONFIG_CRC7 is not set
@@ -800,6 +831,7 @@ CONFIG_PLIST=y
800CONFIG_HAS_IOMEM=y 831CONFIG_HAS_IOMEM=y
801CONFIG_HAS_IOPORT=y 832CONFIG_HAS_IOPORT=y
802CONFIG_HAS_DMA=y 833CONFIG_HAS_DMA=y
834CONFIG_HAVE_LMB=y
803 835
804# 836#
805# Kernel hacking 837# Kernel hacking
@@ -807,6 +839,7 @@ CONFIG_HAS_DMA=y
807# CONFIG_PRINTK_TIME is not set 839# CONFIG_PRINTK_TIME is not set
808CONFIG_ENABLE_WARN_DEPRECATED=y 840CONFIG_ENABLE_WARN_DEPRECATED=y
809CONFIG_ENABLE_MUST_CHECK=y 841CONFIG_ENABLE_MUST_CHECK=y
842CONFIG_FRAME_WARN=1024
810CONFIG_MAGIC_SYSRQ=y 843CONFIG_MAGIC_SYSRQ=y
811# CONFIG_UNUSED_SYMBOLS is not set 844# CONFIG_UNUSED_SYMBOLS is not set
812CONFIG_DEBUG_FS=y 845CONFIG_DEBUG_FS=y
@@ -814,9 +847,12 @@ CONFIG_DEBUG_FS=y
814CONFIG_DEBUG_KERNEL=y 847CONFIG_DEBUG_KERNEL=y
815# CONFIG_DEBUG_SHIRQ is not set 848# CONFIG_DEBUG_SHIRQ is not set
816CONFIG_DETECT_SOFTLOCKUP=y 849CONFIG_DETECT_SOFTLOCKUP=y
850# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
851CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
817CONFIG_SCHED_DEBUG=y 852CONFIG_SCHED_DEBUG=y
818# CONFIG_SCHEDSTATS is not set 853# CONFIG_SCHEDSTATS is not set
819# CONFIG_TIMER_STATS is not set 854# CONFIG_TIMER_STATS is not set
855# CONFIG_DEBUG_OBJECTS is not set
820# CONFIG_SLUB_DEBUG_ON is not set 856# CONFIG_SLUB_DEBUG_ON is not set
821# CONFIG_SLUB_STATS is not set 857# CONFIG_SLUB_STATS is not set
822# CONFIG_DEBUG_RT_MUTEXES is not set 858# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -829,19 +865,30 @@ CONFIG_SCHED_DEBUG=y
829# CONFIG_DEBUG_BUGVERBOSE is not set 865# CONFIG_DEBUG_BUGVERBOSE is not set
830# CONFIG_DEBUG_INFO is not set 866# CONFIG_DEBUG_INFO is not set
831# CONFIG_DEBUG_VM is not set 867# CONFIG_DEBUG_VM is not set
868# CONFIG_DEBUG_WRITECOUNT is not set
869# CONFIG_DEBUG_MEMORY_INIT is not set
832# CONFIG_DEBUG_LIST is not set 870# CONFIG_DEBUG_LIST is not set
833# CONFIG_DEBUG_SG is not set 871# CONFIG_DEBUG_SG is not set
834# CONFIG_BOOT_PRINTK_DELAY is not set 872# CONFIG_BOOT_PRINTK_DELAY is not set
835# CONFIG_RCU_TORTURE_TEST is not set 873# CONFIG_RCU_TORTURE_TEST is not set
836# CONFIG_BACKTRACE_SELF_TEST is not set 874# CONFIG_BACKTRACE_SELF_TEST is not set
837# CONFIG_FAULT_INJECTION is not set 875# CONFIG_FAULT_INJECTION is not set
876# CONFIG_LATENCYTOP is not set
877CONFIG_HAVE_FTRACE=y
878CONFIG_HAVE_DYNAMIC_FTRACE=y
879# CONFIG_FTRACE is not set
880# CONFIG_SCHED_TRACER is not set
881# CONFIG_CONTEXT_SWITCH_TRACER is not set
838# CONFIG_SAMPLES is not set 882# CONFIG_SAMPLES is not set
883CONFIG_HAVE_ARCH_KGDB=y
884# CONFIG_KGDB is not set
839# CONFIG_DEBUG_STACKOVERFLOW is not set 885# CONFIG_DEBUG_STACKOVERFLOW is not set
840# CONFIG_DEBUG_STACK_USAGE is not set 886# CONFIG_DEBUG_STACK_USAGE is not set
841# CONFIG_DEBUG_PAGEALLOC is not set 887# CONFIG_DEBUG_PAGEALLOC is not set
842CONFIG_DEBUGGER=y 888# CONFIG_CODE_PATCHING_SELFTEST is not set
843# CONFIG_KGDB is not set 889# CONFIG_FTR_FIXUP_SELFTEST is not set
844# CONFIG_XMON is not set 890# CONFIG_XMON is not set
891# CONFIG_IRQSTACKS is not set
845# CONFIG_VIRQ_DEBUG is not set 892# CONFIG_VIRQ_DEBUG is not set
846# CONFIG_BDI_SWITCH is not set 893# CONFIG_BDI_SWITCH is not set
847CONFIG_PPC_EARLY_DEBUG=y 894CONFIG_PPC_EARLY_DEBUG=y
@@ -866,51 +913,85 @@ CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x1
866# CONFIG_SECURITY is not set 913# CONFIG_SECURITY is not set
867# CONFIG_SECURITY_FILE_CAPABILITIES is not set 914# CONFIG_SECURITY_FILE_CAPABILITIES is not set
868CONFIG_CRYPTO=y 915CONFIG_CRYPTO=y
916
917#
918# Crypto core or helper
919#
869CONFIG_CRYPTO_ALGAPI=y 920CONFIG_CRYPTO_ALGAPI=y
870CONFIG_CRYPTO_BLKCIPHER=y 921CONFIG_CRYPTO_BLKCIPHER=y
871# CONFIG_CRYPTO_SEQIV is not set
872CONFIG_CRYPTO_MANAGER=y 922CONFIG_CRYPTO_MANAGER=y
923# CONFIG_CRYPTO_GF128MUL is not set
924# CONFIG_CRYPTO_NULL is not set
925# CONFIG_CRYPTO_CRYPTD is not set
926# CONFIG_CRYPTO_AUTHENC is not set
927# CONFIG_CRYPTO_TEST is not set
928
929#
930# Authenticated Encryption with Associated Data
931#
932# CONFIG_CRYPTO_CCM is not set
933# CONFIG_CRYPTO_GCM is not set
934# CONFIG_CRYPTO_SEQIV is not set
935
936#
937# Block modes
938#
939CONFIG_CRYPTO_CBC=y
940# CONFIG_CRYPTO_CTR is not set
941# CONFIG_CRYPTO_CTS is not set
942CONFIG_CRYPTO_ECB=y
943# CONFIG_CRYPTO_LRW is not set
944CONFIG_CRYPTO_PCBC=y
945# CONFIG_CRYPTO_XTS is not set
946
947#
948# Hash modes
949#
873# CONFIG_CRYPTO_HMAC is not set 950# CONFIG_CRYPTO_HMAC is not set
874# CONFIG_CRYPTO_XCBC is not set 951# CONFIG_CRYPTO_XCBC is not set
875# CONFIG_CRYPTO_NULL is not set 952
953#
954# Digest
955#
956# CONFIG_CRYPTO_CRC32C is not set
876# CONFIG_CRYPTO_MD4 is not set 957# CONFIG_CRYPTO_MD4 is not set
877CONFIG_CRYPTO_MD5=y 958CONFIG_CRYPTO_MD5=y
959# CONFIG_CRYPTO_MICHAEL_MIC is not set
960# CONFIG_CRYPTO_RMD128 is not set
961# CONFIG_CRYPTO_RMD160 is not set
962# CONFIG_CRYPTO_RMD256 is not set
963# CONFIG_CRYPTO_RMD320 is not set
878# CONFIG_CRYPTO_SHA1 is not set 964# CONFIG_CRYPTO_SHA1 is not set
879# CONFIG_CRYPTO_SHA256 is not set 965# CONFIG_CRYPTO_SHA256 is not set
880# CONFIG_CRYPTO_SHA512 is not set 966# CONFIG_CRYPTO_SHA512 is not set
881# CONFIG_CRYPTO_WP512 is not set
882# CONFIG_CRYPTO_TGR192 is not set 967# CONFIG_CRYPTO_TGR192 is not set
883# CONFIG_CRYPTO_GF128MUL is not set 968# CONFIG_CRYPTO_WP512 is not set
884CONFIG_CRYPTO_ECB=y 969
885CONFIG_CRYPTO_CBC=y 970#
886CONFIG_CRYPTO_PCBC=y 971# Ciphers
887# CONFIG_CRYPTO_LRW is not set 972#
888# CONFIG_CRYPTO_XTS is not set
889# CONFIG_CRYPTO_CTR is not set
890# CONFIG_CRYPTO_GCM is not set
891# CONFIG_CRYPTO_CCM is not set
892# CONFIG_CRYPTO_CRYPTD is not set
893CONFIG_CRYPTO_DES=y
894# CONFIG_CRYPTO_FCRYPT is not set
895# CONFIG_CRYPTO_BLOWFISH is not set
896# CONFIG_CRYPTO_TWOFISH is not set
897# CONFIG_CRYPTO_SERPENT is not set
898# CONFIG_CRYPTO_AES is not set 973# CONFIG_CRYPTO_AES is not set
974# CONFIG_CRYPTO_ANUBIS is not set
975# CONFIG_CRYPTO_ARC4 is not set
976# CONFIG_CRYPTO_BLOWFISH is not set
977# CONFIG_CRYPTO_CAMELLIA is not set
899# CONFIG_CRYPTO_CAST5 is not set 978# CONFIG_CRYPTO_CAST5 is not set
900# CONFIG_CRYPTO_CAST6 is not set 979# CONFIG_CRYPTO_CAST6 is not set
901# CONFIG_CRYPTO_TEA is not set 980CONFIG_CRYPTO_DES=y
902# CONFIG_CRYPTO_ARC4 is not set 981# CONFIG_CRYPTO_FCRYPT is not set
903# CONFIG_CRYPTO_KHAZAD is not set 982# CONFIG_CRYPTO_KHAZAD is not set
904# CONFIG_CRYPTO_ANUBIS is not set
905# CONFIG_CRYPTO_SEED is not set
906# CONFIG_CRYPTO_SALSA20 is not set 983# CONFIG_CRYPTO_SALSA20 is not set
984# CONFIG_CRYPTO_SEED is not set
985# CONFIG_CRYPTO_SERPENT is not set
986# CONFIG_CRYPTO_TEA is not set
987# CONFIG_CRYPTO_TWOFISH is not set
988
989#
990# Compression
991#
907# CONFIG_CRYPTO_DEFLATE is not set 992# CONFIG_CRYPTO_DEFLATE is not set
908# CONFIG_CRYPTO_MICHAEL_MIC is not set
909# CONFIG_CRYPTO_CRC32C is not set
910# CONFIG_CRYPTO_CAMELLIA is not set
911# CONFIG_CRYPTO_TEST is not set
912# CONFIG_CRYPTO_AUTHENC is not set
913# CONFIG_CRYPTO_LZO is not set 993# CONFIG_CRYPTO_LZO is not set
914CONFIG_CRYPTO_HW=y 994CONFIG_CRYPTO_HW=y
915# CONFIG_CRYPTO_DEV_HIFN_795X is not set 995# CONFIG_CRYPTO_DEV_HIFN_795X is not set
916# CONFIG_PPC_CLOCK is not set 996# CONFIG_PPC_CLOCK is not set
997# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/taishan_defconfig b/arch/powerpc/configs/44x/taishan_defconfig
index e53c92655bd6..5075873bdb1b 100644
--- a/arch/powerpc/configs/44x/taishan_defconfig
+++ b/arch/powerpc/configs/44x/taishan_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:40:44 2008 4# Tue Aug 5 09:17:48 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -29,8 +29,12 @@ CONFIG_GENERIC_TIME=y
29CONFIG_GENERIC_TIME_VSYSCALL=y 29CONFIG_GENERIC_TIME_VSYSCALL=y
30CONFIG_GENERIC_CLOCKEVENTS=y 30CONFIG_GENERIC_CLOCKEVENTS=y
31CONFIG_GENERIC_HARDIRQS=y 31CONFIG_GENERIC_HARDIRQS=y
32# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
32# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
33CONFIG_IRQ_PER_CPU=y 34CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y
36CONFIG_HAVE_LATENCYTOP_SUPPORT=y
37CONFIG_LOCKDEP_SUPPORT=y
34CONFIG_RWSEM_XCHGADD_ALGORITHM=y 38CONFIG_RWSEM_XCHGADD_ALGORITHM=y
35CONFIG_ARCH_HAS_ILOG2_U32=y 39CONFIG_ARCH_HAS_ILOG2_U32=y
36CONFIG_GENERIC_HWEIGHT=y 40CONFIG_GENERIC_HWEIGHT=y
@@ -78,6 +82,7 @@ CONFIG_FAIR_GROUP_SCHED=y
78CONFIG_USER_SCHED=y 82CONFIG_USER_SCHED=y
79# CONFIG_CGROUP_SCHED is not set 83# CONFIG_CGROUP_SCHED is not set
80CONFIG_SYSFS_DEPRECATED=y 84CONFIG_SYSFS_DEPRECATED=y
85CONFIG_SYSFS_DEPRECATED_V2=y
81# CONFIG_RELAY is not set 86# CONFIG_RELAY is not set
82# CONFIG_NAMESPACES is not set 87# CONFIG_NAMESPACES is not set
83CONFIG_BLK_DEV_INITRD=y 88CONFIG_BLK_DEV_INITRD=y
@@ -86,6 +91,7 @@ CONFIG_INITRAMFS_SOURCE=""
86CONFIG_SYSCTL=y 91CONFIG_SYSCTL=y
87CONFIG_EMBEDDED=y 92CONFIG_EMBEDDED=y
88CONFIG_SYSCTL_SYSCALL=y 93CONFIG_SYSCTL_SYSCALL=y
94CONFIG_SYSCTL_SYSCALL_CHECK=y
89CONFIG_KALLSYMS=y 95CONFIG_KALLSYMS=y
90# CONFIG_KALLSYMS_ALL is not set 96# CONFIG_KALLSYMS_ALL is not set
91# CONFIG_KALLSYMS_EXTRA_PASS is not set 97# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -111,13 +117,22 @@ CONFIG_SLUB=y
111# CONFIG_MARKERS is not set 117# CONFIG_MARKERS is not set
112CONFIG_HAVE_OPROFILE=y 118CONFIG_HAVE_OPROFILE=y
113# CONFIG_KPROBES is not set 119# CONFIG_KPROBES is not set
120CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
121CONFIG_HAVE_IOREMAP_PROT=y
114CONFIG_HAVE_KPROBES=y 122CONFIG_HAVE_KPROBES=y
123CONFIG_HAVE_KRETPROBES=y
124CONFIG_HAVE_ARCH_TRACEHOOK=y
125# CONFIG_HAVE_DMA_ATTRS is not set
126# CONFIG_USE_GENERIC_SMP_HELPERS is not set
127# CONFIG_HAVE_CLK is not set
115CONFIG_PROC_PAGE_MONITOR=y 128CONFIG_PROC_PAGE_MONITOR=y
129# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
116CONFIG_SLABINFO=y 130CONFIG_SLABINFO=y
117CONFIG_RT_MUTEXES=y 131CONFIG_RT_MUTEXES=y
118# CONFIG_TINY_SHMEM is not set 132# CONFIG_TINY_SHMEM is not set
119CONFIG_BASE_SMALL=0 133CONFIG_BASE_SMALL=0
120CONFIG_MODULES=y 134CONFIG_MODULES=y
135# CONFIG_MODULE_FORCE_LOAD is not set
121CONFIG_MODULE_UNLOAD=y 136CONFIG_MODULE_UNLOAD=y
122# CONFIG_MODULE_FORCE_UNLOAD is not set 137# CONFIG_MODULE_FORCE_UNLOAD is not set
123# CONFIG_MODVERSIONS is not set 138# CONFIG_MODVERSIONS is not set
@@ -128,6 +143,7 @@ CONFIG_LBD=y
128# CONFIG_BLK_DEV_IO_TRACE is not set 143# CONFIG_BLK_DEV_IO_TRACE is not set
129# CONFIG_LSF is not set 144# CONFIG_LSF is not set
130# CONFIG_BLK_DEV_BSG is not set 145# CONFIG_BLK_DEV_BSG is not set
146# CONFIG_BLK_DEV_INTEGRITY is not set
131 147
132# 148#
133# IO Schedulers 149# IO Schedulers
@@ -142,24 +158,25 @@ CONFIG_DEFAULT_AS=y
142# CONFIG_DEFAULT_NOOP is not set 158# CONFIG_DEFAULT_NOOP is not set
143CONFIG_DEFAULT_IOSCHED="anticipatory" 159CONFIG_DEFAULT_IOSCHED="anticipatory"
144CONFIG_CLASSIC_RCU=y 160CONFIG_CLASSIC_RCU=y
145# CONFIG_PREEMPT_RCU is not set
146# CONFIG_PPC4xx_PCI_EXPRESS is not set 161# CONFIG_PPC4xx_PCI_EXPRESS is not set
147 162
148# 163#
149# Platform support 164# Platform support
150# 165#
151# CONFIG_PPC_MPC512x is not set
152# CONFIG_PPC_MPC5121 is not set
153# CONFIG_PPC_CELL is not set 166# CONFIG_PPC_CELL is not set
154# CONFIG_PPC_CELL_NATIVE is not set 167# CONFIG_PPC_CELL_NATIVE is not set
155# CONFIG_PQ2ADS is not set 168# CONFIG_PQ2ADS is not set
156# CONFIG_BAMBOO is not set 169# CONFIG_BAMBOO is not set
157# CONFIG_EBONY is not set 170# CONFIG_EBONY is not set
171# CONFIG_SAM440EP is not set
158# CONFIG_SEQUOIA is not set 172# CONFIG_SEQUOIA is not set
159CONFIG_TAISHAN=y 173CONFIG_TAISHAN=y
160# CONFIG_KATMAI is not set 174# CONFIG_KATMAI is not set
161# CONFIG_RAINIER is not set 175# CONFIG_RAINIER is not set
162# CONFIG_WARP is not set 176# CONFIG_WARP is not set
177# CONFIG_CANYONLANDS is not set
178# CONFIG_YOSEMITE is not set
179# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
163CONFIG_440GX=y 180CONFIG_440GX=y
164# CONFIG_IPIC is not set 181# CONFIG_IPIC is not set
165# CONFIG_MPIC is not set 182# CONFIG_MPIC is not set
@@ -191,7 +208,6 @@ CONFIG_HZ=250
191CONFIG_PREEMPT_NONE=y 208CONFIG_PREEMPT_NONE=y
192# CONFIG_PREEMPT_VOLUNTARY is not set 209# CONFIG_PREEMPT_VOLUNTARY is not set
193# CONFIG_PREEMPT is not set 210# CONFIG_PREEMPT is not set
194CONFIG_RCU_TRACE=y
195CONFIG_BINFMT_ELF=y 211CONFIG_BINFMT_ELF=y
196# CONFIG_BINFMT_MISC is not set 212# CONFIG_BINFMT_MISC is not set
197# CONFIG_MATH_EMULATION is not set 213# CONFIG_MATH_EMULATION is not set
@@ -209,14 +225,18 @@ CONFIG_FLATMEM=y
209CONFIG_FLAT_NODE_MEM_MAP=y 225CONFIG_FLAT_NODE_MEM_MAP=y
210# CONFIG_SPARSEMEM_STATIC is not set 226# CONFIG_SPARSEMEM_STATIC is not set
211# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 227# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
228CONFIG_PAGEFLAGS_EXTENDED=y
212CONFIG_SPLIT_PTLOCK_CPUS=4 229CONFIG_SPLIT_PTLOCK_CPUS=4
230CONFIG_MIGRATION=y
213CONFIG_RESOURCES_64BIT=y 231CONFIG_RESOURCES_64BIT=y
214CONFIG_ZONE_DMA_FLAG=1 232CONFIG_ZONE_DMA_FLAG=1
215CONFIG_BOUNCE=y 233CONFIG_BOUNCE=y
216CONFIG_VIRT_TO_BUS=y 234CONFIG_VIRT_TO_BUS=y
235CONFIG_FORCE_MAX_ZONEORDER=11
217CONFIG_PROC_DEVICETREE=y 236CONFIG_PROC_DEVICETREE=y
218CONFIG_CMDLINE_BOOL=y 237CONFIG_CMDLINE_BOOL=y
219CONFIG_CMDLINE="" 238CONFIG_CMDLINE=""
239CONFIG_EXTRA_TARGETS=""
220CONFIG_SECCOMP=y 240CONFIG_SECCOMP=y
221CONFIG_ISA_DMA_API=y 241CONFIG_ISA_DMA_API=y
222 242
@@ -225,6 +245,8 @@ CONFIG_ISA_DMA_API=y
225# 245#
226CONFIG_ZONE_DMA=y 246CONFIG_ZONE_DMA=y
227CONFIG_PPC_INDIRECT_PCI=y 247CONFIG_PPC_INDIRECT_PCI=y
248CONFIG_4xx_SOC=y
249CONFIG_PPC_PCI_CHOICE=y
228CONFIG_PCI=y 250CONFIG_PCI=y
229CONFIG_PCI_DOMAINS=y 251CONFIG_PCI_DOMAINS=y
230CONFIG_PCI_SYSCALL=y 252CONFIG_PCI_SYSCALL=y
@@ -235,6 +257,7 @@ CONFIG_PCI_LEGACY=y
235# CONFIG_PCI_DEBUG is not set 257# CONFIG_PCI_DEBUG is not set
236# CONFIG_PCCARD is not set 258# CONFIG_PCCARD is not set
237# CONFIG_HOTPLUG_PCI is not set 259# CONFIG_HOTPLUG_PCI is not set
260# CONFIG_HAS_RAPIDIO is not set
238 261
239# 262#
240# Advanced setup 263# Advanced setup
@@ -244,17 +267,13 @@ CONFIG_PCI_LEGACY=y
244# 267#
245# Default settings for advanced configuration options are used 268# Default settings for advanced configuration options are used
246# 269#
247CONFIG_HIGHMEM_START=0xfe000000
248CONFIG_LOWMEM_SIZE=0x30000000 270CONFIG_LOWMEM_SIZE=0x30000000
271CONFIG_PAGE_OFFSET=0xc0000000
249CONFIG_KERNEL_START=0xc0000000 272CONFIG_KERNEL_START=0xc0000000
273CONFIG_PHYSICAL_START=0x00000000
250CONFIG_TASK_SIZE=0xc0000000 274CONFIG_TASK_SIZE=0xc0000000
251CONFIG_CONSISTENT_START=0xff100000 275CONFIG_CONSISTENT_START=0xff100000
252CONFIG_CONSISTENT_SIZE=0x00200000 276CONFIG_CONSISTENT_SIZE=0x00200000
253CONFIG_BOOT_LOAD=0x01000000
254
255#
256# Networking
257#
258CONFIG_NET=y 277CONFIG_NET=y
259 278
260# 279#
@@ -292,8 +311,6 @@ CONFIG_TCP_CONG_CUBIC=y
292CONFIG_DEFAULT_TCP_CONG="cubic" 311CONFIG_DEFAULT_TCP_CONG="cubic"
293# CONFIG_TCP_MD5SIG is not set 312# CONFIG_TCP_MD5SIG is not set
294# CONFIG_IPV6 is not set 313# CONFIG_IPV6 is not set
295# CONFIG_INET6_XFRM_TUNNEL is not set
296# CONFIG_INET6_TUNNEL is not set
297# CONFIG_NETWORK_SECMARK is not set 314# CONFIG_NETWORK_SECMARK is not set
298# CONFIG_NETFILTER is not set 315# CONFIG_NETFILTER is not set
299# CONFIG_IP_DCCP is not set 316# CONFIG_IP_DCCP is not set
@@ -343,6 +360,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
343CONFIG_STANDALONE=y 360CONFIG_STANDALONE=y
344CONFIG_PREVENT_FIRMWARE_BUILD=y 361CONFIG_PREVENT_FIRMWARE_BUILD=y
345CONFIG_FW_LOADER=y 362CONFIG_FW_LOADER=y
363CONFIG_FIRMWARE_IN_KERNEL=y
364CONFIG_EXTRA_FIRMWARE=""
346# CONFIG_DEBUG_DRIVER is not set 365# CONFIG_DEBUG_DRIVER is not set
347# CONFIG_DEBUG_DEVRES is not set 366# CONFIG_DEBUG_DEVRES is not set
348# CONFIG_SYS_HYPERVISOR is not set 367# CONFIG_SYS_HYPERVISOR is not set
@@ -354,6 +373,8 @@ CONFIG_MTD=y
354CONFIG_MTD_PARTITIONS=y 373CONFIG_MTD_PARTITIONS=y
355# CONFIG_MTD_REDBOOT_PARTS is not set 374# CONFIG_MTD_REDBOOT_PARTS is not set
356CONFIG_MTD_CMDLINE_PARTS=y 375CONFIG_MTD_CMDLINE_PARTS=y
376# CONFIG_MTD_OF_PARTS is not set
377# CONFIG_MTD_AR7_PARTS is not set
357 378
358# 379#
359# User Modules And Translation Layers 380# User Modules And Translation Layers
@@ -444,12 +465,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
444# CONFIG_CDROM_PKTCDVD is not set 465# CONFIG_CDROM_PKTCDVD is not set
445# CONFIG_ATA_OVER_ETH is not set 466# CONFIG_ATA_OVER_ETH is not set
446# CONFIG_XILINX_SYSACE is not set 467# CONFIG_XILINX_SYSACE is not set
468# CONFIG_BLK_DEV_HD is not set
447CONFIG_MISC_DEVICES=y 469CONFIG_MISC_DEVICES=y
448# CONFIG_PHANTOM is not set 470# CONFIG_PHANTOM is not set
449# CONFIG_EEPROM_93CX6 is not set 471# CONFIG_EEPROM_93CX6 is not set
450# CONFIG_SGI_IOC4 is not set 472# CONFIG_SGI_IOC4 is not set
451# CONFIG_TIFM_CORE is not set 473# CONFIG_TIFM_CORE is not set
452# CONFIG_ENCLOSURE_SERVICES is not set 474# CONFIG_ENCLOSURE_SERVICES is not set
475# CONFIG_HP_ILO is not set
453CONFIG_HAVE_IDE=y 476CONFIG_HAVE_IDE=y
454# CONFIG_IDE is not set 477# CONFIG_IDE is not set
455 478
@@ -467,6 +490,10 @@ CONFIG_HAVE_IDE=y
467# 490#
468# IEEE 1394 (FireWire) support 491# IEEE 1394 (FireWire) support
469# 492#
493
494#
495# Enable only one of the two stacks, unless you know what you are doing
496#
470# CONFIG_FIREWIRE is not set 497# CONFIG_FIREWIRE is not set
471# CONFIG_IEEE1394 is not set 498# CONFIG_IEEE1394 is not set
472# CONFIG_I2O is not set 499# CONFIG_I2O is not set
@@ -474,7 +501,6 @@ CONFIG_MACINTOSH_DRIVERS=y
474# CONFIG_MAC_EMUMOUSEBTN is not set 501# CONFIG_MAC_EMUMOUSEBTN is not set
475# CONFIG_WINDFARM is not set 502# CONFIG_WINDFARM is not set
476CONFIG_NETDEVICES=y 503CONFIG_NETDEVICES=y
477# CONFIG_NETDEVICES_MULTIQUEUE is not set
478# CONFIG_DUMMY is not set 504# CONFIG_DUMMY is not set
479# CONFIG_BONDING is not set 505# CONFIG_BONDING is not set
480# CONFIG_MACVLAN is not set 506# CONFIG_MACVLAN is not set
@@ -509,7 +535,6 @@ CONFIG_NETDEV_1000=y
509# CONFIG_DL2K is not set 535# CONFIG_DL2K is not set
510# CONFIG_E1000 is not set 536# CONFIG_E1000 is not set
511# CONFIG_E1000E is not set 537# CONFIG_E1000E is not set
512# CONFIG_E1000E_ENABLED is not set
513# CONFIG_IP1000 is not set 538# CONFIG_IP1000 is not set
514# CONFIG_IGB is not set 539# CONFIG_IGB is not set
515# CONFIG_NS83820 is not set 540# CONFIG_NS83820 is not set
@@ -519,12 +544,12 @@ CONFIG_NETDEV_1000=y
519# CONFIG_SIS190 is not set 544# CONFIG_SIS190 is not set
520# CONFIG_SKGE is not set 545# CONFIG_SKGE is not set
521# CONFIG_SKY2 is not set 546# CONFIG_SKY2 is not set
522# CONFIG_SK98LIN is not set
523# CONFIG_VIA_VELOCITY is not set 547# CONFIG_VIA_VELOCITY is not set
524# CONFIG_TIGON3 is not set 548# CONFIG_TIGON3 is not set
525# CONFIG_BNX2 is not set 549# CONFIG_BNX2 is not set
526# CONFIG_QLA3XXX is not set 550# CONFIG_QLA3XXX is not set
527# CONFIG_ATL1 is not set 551# CONFIG_ATL1 is not set
552# CONFIG_ATL1E is not set
528CONFIG_NETDEV_10000=y 553CONFIG_NETDEV_10000=y
529# CONFIG_CHELSIO_T1 is not set 554# CONFIG_CHELSIO_T1 is not set
530# CONFIG_CHELSIO_T3 is not set 555# CONFIG_CHELSIO_T3 is not set
@@ -537,6 +562,7 @@ CONFIG_NETDEV_10000=y
537# CONFIG_MLX4_CORE is not set 562# CONFIG_MLX4_CORE is not set
538# CONFIG_TEHUTI is not set 563# CONFIG_TEHUTI is not set
539# CONFIG_BNX2X is not set 564# CONFIG_BNX2X is not set
565# CONFIG_SFC is not set
540# CONFIG_TR is not set 566# CONFIG_TR is not set
541 567
542# 568#
@@ -544,6 +570,7 @@ CONFIG_NETDEV_10000=y
544# 570#
545# CONFIG_WLAN_PRE80211 is not set 571# CONFIG_WLAN_PRE80211 is not set
546# CONFIG_WLAN_80211 is not set 572# CONFIG_WLAN_80211 is not set
573# CONFIG_IWLWIFI_LEDS is not set
547# CONFIG_WAN is not set 574# CONFIG_WAN is not set
548# CONFIG_FDDI is not set 575# CONFIG_FDDI is not set
549# CONFIG_HIPPI is not set 576# CONFIG_HIPPI is not set
@@ -570,6 +597,7 @@ CONFIG_NETDEV_10000=y
570# Character devices 597# Character devices
571# 598#
572# CONFIG_VT is not set 599# CONFIG_VT is not set
600CONFIG_DEVKMEM=y
573# CONFIG_SERIAL_NONSTANDARD is not set 601# CONFIG_SERIAL_NONSTANDARD is not set
574# CONFIG_NOZOMI is not set 602# CONFIG_NOZOMI is not set
575 603
@@ -608,12 +636,9 @@ CONFIG_LEGACY_PTY_COUNT=256
608# CONFIG_TCG_TPM is not set 636# CONFIG_TCG_TPM is not set
609CONFIG_DEVPORT=y 637CONFIG_DEVPORT=y
610# CONFIG_I2C is not set 638# CONFIG_I2C is not set
611
612#
613# SPI support
614#
615# CONFIG_SPI is not set 639# CONFIG_SPI is not set
616# CONFIG_SPI_MASTER is not set 640CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
641# CONFIG_GPIOLIB is not set
617# CONFIG_W1 is not set 642# CONFIG_W1 is not set
618# CONFIG_POWER_SUPPLY is not set 643# CONFIG_POWER_SUPPLY is not set
619# CONFIG_HWMON is not set 644# CONFIG_HWMON is not set
@@ -629,13 +654,24 @@ CONFIG_SSB_POSSIBLE=y
629# 654#
630# Multifunction device drivers 655# Multifunction device drivers
631# 656#
657# CONFIG_MFD_CORE is not set
632# CONFIG_MFD_SM501 is not set 658# CONFIG_MFD_SM501 is not set
659# CONFIG_HTC_PASIC3 is not set
633 660
634# 661#
635# Multimedia devices 662# Multimedia devices
636# 663#
664
665#
666# Multimedia core support
667#
637# CONFIG_VIDEO_DEV is not set 668# CONFIG_VIDEO_DEV is not set
638# CONFIG_DVB_CORE is not set 669# CONFIG_DVB_CORE is not set
670# CONFIG_VIDEO_MEDIA is not set
671
672#
673# Multimedia drivers
674#
639CONFIG_DAB=y 675CONFIG_DAB=y
640 676
641# 677#
@@ -652,16 +688,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
652# Display device support 688# Display device support
653# 689#
654# CONFIG_DISPLAY_SUPPORT is not set 690# CONFIG_DISPLAY_SUPPORT is not set
655
656#
657# Sound
658#
659# CONFIG_SOUND is not set 691# CONFIG_SOUND is not set
660CONFIG_USB_SUPPORT=y 692CONFIG_USB_SUPPORT=y
661CONFIG_USB_ARCH_HAS_HCD=y 693CONFIG_USB_ARCH_HAS_HCD=y
662CONFIG_USB_ARCH_HAS_OHCI=y 694CONFIG_USB_ARCH_HAS_OHCI=y
663CONFIG_USB_ARCH_HAS_EHCI=y 695CONFIG_USB_ARCH_HAS_EHCI=y
664# CONFIG_USB is not set 696# CONFIG_USB is not set
697# CONFIG_USB_OTG_WHITELIST is not set
698# CONFIG_USB_OTG_BLACKLIST_HUB is not set
665 699
666# 700#
667# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 701# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -670,13 +704,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
670# CONFIG_MMC is not set 704# CONFIG_MMC is not set
671# CONFIG_MEMSTICK is not set 705# CONFIG_MEMSTICK is not set
672# CONFIG_NEW_LEDS is not set 706# CONFIG_NEW_LEDS is not set
707# CONFIG_ACCESSIBILITY is not set
673# CONFIG_INFINIBAND is not set 708# CONFIG_INFINIBAND is not set
674# CONFIG_EDAC is not set 709# CONFIG_EDAC is not set
675# CONFIG_RTC_CLASS is not set 710# CONFIG_RTC_CLASS is not set
676 711# CONFIG_DMADEVICES is not set
677#
678# Userspace I/O
679#
680# CONFIG_UIO is not set 712# CONFIG_UIO is not set
681 713
682# 714#
@@ -691,7 +723,6 @@ CONFIG_EXT2_FS=y
691# CONFIG_JFS_FS is not set 723# CONFIG_JFS_FS is not set
692# CONFIG_FS_POSIX_ACL is not set 724# CONFIG_FS_POSIX_ACL is not set
693# CONFIG_XFS_FS is not set 725# CONFIG_XFS_FS is not set
694# CONFIG_GFS2_FS is not set
695# CONFIG_OCFS2_FS is not set 726# CONFIG_OCFS2_FS is not set
696CONFIG_DNOTIFY=y 727CONFIG_DNOTIFY=y
697CONFIG_INOTIFY=y 728CONFIG_INOTIFY=y
@@ -740,6 +771,7 @@ CONFIG_TMPFS=y
740CONFIG_CRAMFS=y 771CONFIG_CRAMFS=y
741# CONFIG_VXFS_FS is not set 772# CONFIG_VXFS_FS is not set
742# CONFIG_MINIX_FS is not set 773# CONFIG_MINIX_FS is not set
774# CONFIG_OMFS_FS is not set
743# CONFIG_HPFS_FS is not set 775# CONFIG_HPFS_FS is not set
744# CONFIG_QNX4FS_FS is not set 776# CONFIG_QNX4FS_FS is not set
745# CONFIG_ROMFS_FS is not set 777# CONFIG_ROMFS_FS is not set
@@ -750,14 +782,12 @@ CONFIG_NFS_FS=y
750CONFIG_NFS_V3=y 782CONFIG_NFS_V3=y
751# CONFIG_NFS_V3_ACL is not set 783# CONFIG_NFS_V3_ACL is not set
752# CONFIG_NFS_V4 is not set 784# CONFIG_NFS_V4 is not set
753# CONFIG_NFS_DIRECTIO is not set
754# CONFIG_NFSD is not set
755CONFIG_ROOT_NFS=y 785CONFIG_ROOT_NFS=y
786# CONFIG_NFSD is not set
756CONFIG_LOCKD=y 787CONFIG_LOCKD=y
757CONFIG_LOCKD_V4=y 788CONFIG_LOCKD_V4=y
758CONFIG_NFS_COMMON=y 789CONFIG_NFS_COMMON=y
759CONFIG_SUNRPC=y 790CONFIG_SUNRPC=y
760# CONFIG_SUNRPC_BIND34 is not set
761# CONFIG_RPCSEC_GSS_KRB5 is not set 791# CONFIG_RPCSEC_GSS_KRB5 is not set
762# CONFIG_RPCSEC_GSS_SPKM3 is not set 792# CONFIG_RPCSEC_GSS_SPKM3 is not set
763# CONFIG_SMB_FS is not set 793# CONFIG_SMB_FS is not set
@@ -778,8 +808,10 @@ CONFIG_MSDOS_PARTITION=y
778# Library routines 808# Library routines
779# 809#
780CONFIG_BITREVERSE=y 810CONFIG_BITREVERSE=y
811# CONFIG_GENERIC_FIND_FIRST_BIT is not set
781# CONFIG_CRC_CCITT is not set 812# CONFIG_CRC_CCITT is not set
782# CONFIG_CRC16 is not set 813# CONFIG_CRC16 is not set
814# CONFIG_CRC_T10DIF is not set
783# CONFIG_CRC_ITU_T is not set 815# CONFIG_CRC_ITU_T is not set
784CONFIG_CRC32=y 816CONFIG_CRC32=y
785# CONFIG_CRC7 is not set 817# CONFIG_CRC7 is not set
@@ -789,6 +821,7 @@ CONFIG_PLIST=y
789CONFIG_HAS_IOMEM=y 821CONFIG_HAS_IOMEM=y
790CONFIG_HAS_IOPORT=y 822CONFIG_HAS_IOPORT=y
791CONFIG_HAS_DMA=y 823CONFIG_HAS_DMA=y
824CONFIG_HAVE_LMB=y
792 825
793# 826#
794# Kernel hacking 827# Kernel hacking
@@ -796,6 +829,7 @@ CONFIG_HAS_DMA=y
796# CONFIG_PRINTK_TIME is not set 829# CONFIG_PRINTK_TIME is not set
797CONFIG_ENABLE_WARN_DEPRECATED=y 830CONFIG_ENABLE_WARN_DEPRECATED=y
798CONFIG_ENABLE_MUST_CHECK=y 831CONFIG_ENABLE_MUST_CHECK=y
832CONFIG_FRAME_WARN=1024
799CONFIG_MAGIC_SYSRQ=y 833CONFIG_MAGIC_SYSRQ=y
800# CONFIG_UNUSED_SYMBOLS is not set 834# CONFIG_UNUSED_SYMBOLS is not set
801CONFIG_DEBUG_FS=y 835CONFIG_DEBUG_FS=y
@@ -803,9 +837,12 @@ CONFIG_DEBUG_FS=y
803CONFIG_DEBUG_KERNEL=y 837CONFIG_DEBUG_KERNEL=y
804# CONFIG_DEBUG_SHIRQ is not set 838# CONFIG_DEBUG_SHIRQ is not set
805CONFIG_DETECT_SOFTLOCKUP=y 839CONFIG_DETECT_SOFTLOCKUP=y
840# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
841CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
806CONFIG_SCHED_DEBUG=y 842CONFIG_SCHED_DEBUG=y
807# CONFIG_SCHEDSTATS is not set 843# CONFIG_SCHEDSTATS is not set
808# CONFIG_TIMER_STATS is not set 844# CONFIG_TIMER_STATS is not set
845# CONFIG_DEBUG_OBJECTS is not set
809# CONFIG_SLUB_DEBUG_ON is not set 846# CONFIG_SLUB_DEBUG_ON is not set
810# CONFIG_SLUB_STATS is not set 847# CONFIG_SLUB_STATS is not set
811# CONFIG_DEBUG_RT_MUTEXES is not set 848# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -818,19 +855,30 @@ CONFIG_SCHED_DEBUG=y
818# CONFIG_DEBUG_BUGVERBOSE is not set 855# CONFIG_DEBUG_BUGVERBOSE is not set
819# CONFIG_DEBUG_INFO is not set 856# CONFIG_DEBUG_INFO is not set
820# CONFIG_DEBUG_VM is not set 857# CONFIG_DEBUG_VM is not set
858# CONFIG_DEBUG_WRITECOUNT is not set
859# CONFIG_DEBUG_MEMORY_INIT is not set
821# CONFIG_DEBUG_LIST is not set 860# CONFIG_DEBUG_LIST is not set
822# CONFIG_DEBUG_SG is not set 861# CONFIG_DEBUG_SG is not set
823# CONFIG_BOOT_PRINTK_DELAY is not set 862# CONFIG_BOOT_PRINTK_DELAY is not set
824# CONFIG_RCU_TORTURE_TEST is not set 863# CONFIG_RCU_TORTURE_TEST is not set
825# CONFIG_BACKTRACE_SELF_TEST is not set 864# CONFIG_BACKTRACE_SELF_TEST is not set
826# CONFIG_FAULT_INJECTION is not set 865# CONFIG_FAULT_INJECTION is not set
866# CONFIG_LATENCYTOP is not set
867CONFIG_HAVE_FTRACE=y
868CONFIG_HAVE_DYNAMIC_FTRACE=y
869# CONFIG_FTRACE is not set
870# CONFIG_SCHED_TRACER is not set
871# CONFIG_CONTEXT_SWITCH_TRACER is not set
827# CONFIG_SAMPLES is not set 872# CONFIG_SAMPLES is not set
873CONFIG_HAVE_ARCH_KGDB=y
874# CONFIG_KGDB is not set
828# CONFIG_DEBUG_STACKOVERFLOW is not set 875# CONFIG_DEBUG_STACKOVERFLOW is not set
829# CONFIG_DEBUG_STACK_USAGE is not set 876# CONFIG_DEBUG_STACK_USAGE is not set
830# CONFIG_DEBUG_PAGEALLOC is not set 877# CONFIG_DEBUG_PAGEALLOC is not set
831CONFIG_DEBUGGER=y 878# CONFIG_CODE_PATCHING_SELFTEST is not set
832# CONFIG_KGDB is not set 879# CONFIG_FTR_FIXUP_SELFTEST is not set
833# CONFIG_XMON is not set 880# CONFIG_XMON is not set
881# CONFIG_IRQSTACKS is not set
834# CONFIG_VIRQ_DEBUG is not set 882# CONFIG_VIRQ_DEBUG is not set
835# CONFIG_BDI_SWITCH is not set 883# CONFIG_BDI_SWITCH is not set
836# CONFIG_PPC_EARLY_DEBUG is not set 884# CONFIG_PPC_EARLY_DEBUG is not set
@@ -842,51 +890,85 @@ CONFIG_DEBUGGER=y
842# CONFIG_SECURITY is not set 890# CONFIG_SECURITY is not set
843# CONFIG_SECURITY_FILE_CAPABILITIES is not set 891# CONFIG_SECURITY_FILE_CAPABILITIES is not set
844CONFIG_CRYPTO=y 892CONFIG_CRYPTO=y
893
894#
895# Crypto core or helper
896#
845CONFIG_CRYPTO_ALGAPI=y 897CONFIG_CRYPTO_ALGAPI=y
846CONFIG_CRYPTO_BLKCIPHER=y 898CONFIG_CRYPTO_BLKCIPHER=y
847# CONFIG_CRYPTO_SEQIV is not set
848CONFIG_CRYPTO_MANAGER=y 899CONFIG_CRYPTO_MANAGER=y
900# CONFIG_CRYPTO_GF128MUL is not set
901# CONFIG_CRYPTO_NULL is not set
902# CONFIG_CRYPTO_CRYPTD is not set
903# CONFIG_CRYPTO_AUTHENC is not set
904# CONFIG_CRYPTO_TEST is not set
905
906#
907# Authenticated Encryption with Associated Data
908#
909# CONFIG_CRYPTO_CCM is not set
910# CONFIG_CRYPTO_GCM is not set
911# CONFIG_CRYPTO_SEQIV is not set
912
913#
914# Block modes
915#
916CONFIG_CRYPTO_CBC=y
917# CONFIG_CRYPTO_CTR is not set
918# CONFIG_CRYPTO_CTS is not set
919CONFIG_CRYPTO_ECB=y
920# CONFIG_CRYPTO_LRW is not set
921CONFIG_CRYPTO_PCBC=y
922# CONFIG_CRYPTO_XTS is not set
923
924#
925# Hash modes
926#
849# CONFIG_CRYPTO_HMAC is not set 927# CONFIG_CRYPTO_HMAC is not set
850# CONFIG_CRYPTO_XCBC is not set 928# CONFIG_CRYPTO_XCBC is not set
851# CONFIG_CRYPTO_NULL is not set 929
930#
931# Digest
932#
933# CONFIG_CRYPTO_CRC32C is not set
852# CONFIG_CRYPTO_MD4 is not set 934# CONFIG_CRYPTO_MD4 is not set
853CONFIG_CRYPTO_MD5=y 935CONFIG_CRYPTO_MD5=y
936# CONFIG_CRYPTO_MICHAEL_MIC is not set
937# CONFIG_CRYPTO_RMD128 is not set
938# CONFIG_CRYPTO_RMD160 is not set
939# CONFIG_CRYPTO_RMD256 is not set
940# CONFIG_CRYPTO_RMD320 is not set
854# CONFIG_CRYPTO_SHA1 is not set 941# CONFIG_CRYPTO_SHA1 is not set
855# CONFIG_CRYPTO_SHA256 is not set 942# CONFIG_CRYPTO_SHA256 is not set
856# CONFIG_CRYPTO_SHA512 is not set 943# CONFIG_CRYPTO_SHA512 is not set
857# CONFIG_CRYPTO_WP512 is not set
858# CONFIG_CRYPTO_TGR192 is not set 944# CONFIG_CRYPTO_TGR192 is not set
859# CONFIG_CRYPTO_GF128MUL is not set 945# CONFIG_CRYPTO_WP512 is not set
860CONFIG_CRYPTO_ECB=y 946
861CONFIG_CRYPTO_CBC=y 947#
862CONFIG_CRYPTO_PCBC=y 948# Ciphers
863# CONFIG_CRYPTO_LRW is not set 949#
864# CONFIG_CRYPTO_XTS is not set
865# CONFIG_CRYPTO_CTR is not set
866# CONFIG_CRYPTO_GCM is not set
867# CONFIG_CRYPTO_CCM is not set
868# CONFIG_CRYPTO_CRYPTD is not set
869CONFIG_CRYPTO_DES=y
870# CONFIG_CRYPTO_FCRYPT is not set
871# CONFIG_CRYPTO_BLOWFISH is not set
872# CONFIG_CRYPTO_TWOFISH is not set
873# CONFIG_CRYPTO_SERPENT is not set
874# CONFIG_CRYPTO_AES is not set 950# CONFIG_CRYPTO_AES is not set
951# CONFIG_CRYPTO_ANUBIS is not set
952# CONFIG_CRYPTO_ARC4 is not set
953# CONFIG_CRYPTO_BLOWFISH is not set
954# CONFIG_CRYPTO_CAMELLIA is not set
875# CONFIG_CRYPTO_CAST5 is not set 955# CONFIG_CRYPTO_CAST5 is not set
876# CONFIG_CRYPTO_CAST6 is not set 956# CONFIG_CRYPTO_CAST6 is not set
877# CONFIG_CRYPTO_TEA is not set 957CONFIG_CRYPTO_DES=y
878# CONFIG_CRYPTO_ARC4 is not set 958# CONFIG_CRYPTO_FCRYPT is not set
879# CONFIG_CRYPTO_KHAZAD is not set 959# CONFIG_CRYPTO_KHAZAD is not set
880# CONFIG_CRYPTO_ANUBIS is not set
881# CONFIG_CRYPTO_SEED is not set
882# CONFIG_CRYPTO_SALSA20 is not set 960# CONFIG_CRYPTO_SALSA20 is not set
961# CONFIG_CRYPTO_SEED is not set
962# CONFIG_CRYPTO_SERPENT is not set
963# CONFIG_CRYPTO_TEA is not set
964# CONFIG_CRYPTO_TWOFISH is not set
965
966#
967# Compression
968#
883# CONFIG_CRYPTO_DEFLATE is not set 969# CONFIG_CRYPTO_DEFLATE is not set
884# CONFIG_CRYPTO_MICHAEL_MIC is not set
885# CONFIG_CRYPTO_CRC32C is not set
886# CONFIG_CRYPTO_CAMELLIA is not set
887# CONFIG_CRYPTO_TEST is not set
888# CONFIG_CRYPTO_AUTHENC is not set
889# CONFIG_CRYPTO_LZO is not set 970# CONFIG_CRYPTO_LZO is not set
890CONFIG_CRYPTO_HW=y 971CONFIG_CRYPTO_HW=y
891# CONFIG_CRYPTO_DEV_HIFN_795X is not set 972# CONFIG_CRYPTO_DEV_HIFN_795X is not set
892# CONFIG_PPC_CLOCK is not set 973# CONFIG_PPC_CLOCK is not set
974# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/44x/virtex5_defconfig b/arch/powerpc/configs/44x/virtex5_defconfig
index 9c41f66b5a7d..663ec512b33b 100644
--- a/arch/powerpc/configs/44x/virtex5_defconfig
+++ b/arch/powerpc/configs/44x/virtex5_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.26-rc8 3# Linux kernel version: 2.6.27-rc1
4# Wed Jul 2 15:36:41 2008 4# Tue Aug 5 09:20:16 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -29,9 +29,11 @@ CONFIG_GENERIC_TIME=y
29CONFIG_GENERIC_TIME_VSYSCALL=y 29CONFIG_GENERIC_TIME_VSYSCALL=y
30CONFIG_GENERIC_CLOCKEVENTS=y 30CONFIG_GENERIC_CLOCKEVENTS=y
31CONFIG_GENERIC_HARDIRQS=y 31CONFIG_GENERIC_HARDIRQS=y
32# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
32# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
33CONFIG_IRQ_PER_CPU=y 34CONFIG_IRQ_PER_CPU=y
34CONFIG_STACKTRACE_SUPPORT=y 35CONFIG_STACKTRACE_SUPPORT=y
36CONFIG_HAVE_LATENCYTOP_SUPPORT=y
35CONFIG_LOCKDEP_SUPPORT=y 37CONFIG_LOCKDEP_SUPPORT=y
36CONFIG_RWSEM_XCHGADD_ALGORITHM=y 38CONFIG_RWSEM_XCHGADD_ALGORITHM=y
37CONFIG_ARCH_HAS_ILOG2_U32=y 39CONFIG_ARCH_HAS_ILOG2_U32=y
@@ -115,10 +117,16 @@ CONFIG_SLAB=y
115# CONFIG_MARKERS is not set 117# CONFIG_MARKERS is not set
116CONFIG_HAVE_OPROFILE=y 118CONFIG_HAVE_OPROFILE=y
117# CONFIG_KPROBES is not set 119# CONFIG_KPROBES is not set
120CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
121CONFIG_HAVE_IOREMAP_PROT=y
118CONFIG_HAVE_KPROBES=y 122CONFIG_HAVE_KPROBES=y
119CONFIG_HAVE_KRETPROBES=y 123CONFIG_HAVE_KRETPROBES=y
124CONFIG_HAVE_ARCH_TRACEHOOK=y
120# CONFIG_HAVE_DMA_ATTRS is not set 125# CONFIG_HAVE_DMA_ATTRS is not set
126# CONFIG_USE_GENERIC_SMP_HELPERS is not set
127# CONFIG_HAVE_CLK is not set
121CONFIG_PROC_PAGE_MONITOR=y 128CONFIG_PROC_PAGE_MONITOR=y
129# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
122CONFIG_SLABINFO=y 130CONFIG_SLABINFO=y
123CONFIG_RT_MUTEXES=y 131CONFIG_RT_MUTEXES=y
124# CONFIG_TINY_SHMEM is not set 132# CONFIG_TINY_SHMEM is not set
@@ -135,6 +143,7 @@ CONFIG_BLOCK=y
135# CONFIG_BLK_DEV_IO_TRACE is not set 143# CONFIG_BLK_DEV_IO_TRACE is not set
136# CONFIG_LSF is not set 144# CONFIG_LSF is not set
137# CONFIG_BLK_DEV_BSG is not set 145# CONFIG_BLK_DEV_BSG is not set
146# CONFIG_BLK_DEV_INTEGRITY is not set
138 147
139# 148#
140# IO Schedulers 149# IO Schedulers
@@ -154,13 +163,12 @@ CONFIG_CLASSIC_RCU=y
154# 163#
155# Platform support 164# Platform support
156# 165#
157# CONFIG_PPC_MPC512x is not set
158# CONFIG_PPC_MPC5121 is not set
159# CONFIG_PPC_CELL is not set 166# CONFIG_PPC_CELL is not set
160# CONFIG_PPC_CELL_NATIVE is not set 167# CONFIG_PPC_CELL_NATIVE is not set
161# CONFIG_PQ2ADS is not set 168# CONFIG_PQ2ADS is not set
162# CONFIG_BAMBOO is not set 169# CONFIG_BAMBOO is not set
163# CONFIG_EBONY is not set 170# CONFIG_EBONY is not set
171# CONFIG_SAM440EP is not set
164# CONFIG_SEQUOIA is not set 172# CONFIG_SEQUOIA is not set
165# CONFIG_TAISHAN is not set 173# CONFIG_TAISHAN is not set
166# CONFIG_KATMAI is not set 174# CONFIG_KATMAI is not set
@@ -221,6 +229,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y
221# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 229# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
222CONFIG_PAGEFLAGS_EXTENDED=y 230CONFIG_PAGEFLAGS_EXTENDED=y
223CONFIG_SPLIT_PTLOCK_CPUS=4 231CONFIG_SPLIT_PTLOCK_CPUS=4
232CONFIG_MIGRATION=y
224CONFIG_RESOURCES_64BIT=y 233CONFIG_RESOURCES_64BIT=y
225CONFIG_ZONE_DMA_FLAG=1 234CONFIG_ZONE_DMA_FLAG=1
226CONFIG_BOUNCE=y 235CONFIG_BOUNCE=y
@@ -239,6 +248,7 @@ CONFIG_ISA_DMA_API=y
239CONFIG_ZONE_DMA=y 248CONFIG_ZONE_DMA=y
240CONFIG_PPC_INDIRECT_PCI=y 249CONFIG_PPC_INDIRECT_PCI=y
241CONFIG_4xx_SOC=y 250CONFIG_4xx_SOC=y
251CONFIG_PPC_PCI_CHOICE=y
242CONFIG_PCI=y 252CONFIG_PCI=y
243CONFIG_PCI_DOMAINS=y 253CONFIG_PCI_DOMAINS=y
244CONFIG_PCI_SYSCALL=y 254CONFIG_PCI_SYSCALL=y
@@ -265,10 +275,6 @@ CONFIG_PHYSICAL_START=0x00000000
265CONFIG_TASK_SIZE=0xc0000000 275CONFIG_TASK_SIZE=0xc0000000
266CONFIG_CONSISTENT_START=0xff100000 276CONFIG_CONSISTENT_START=0xff100000
267CONFIG_CONSISTENT_SIZE=0x00200000 277CONFIG_CONSISTENT_SIZE=0x00200000
268
269#
270# Networking
271#
272CONFIG_NET=y 278CONFIG_NET=y
273 279
274# 280#
@@ -446,7 +452,9 @@ CONFIG_IP_NF_MANGLE=m
446CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 452CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
447CONFIG_STANDALONE=y 453CONFIG_STANDALONE=y
448CONFIG_PREVENT_FIRMWARE_BUILD=y 454CONFIG_PREVENT_FIRMWARE_BUILD=y
449# CONFIG_FW_LOADER is not set 455CONFIG_FW_LOADER=y
456CONFIG_FIRMWARE_IN_KERNEL=y
457CONFIG_EXTRA_FIRMWARE=""
450# CONFIG_SYS_HYPERVISOR is not set 458# CONFIG_SYS_HYPERVISOR is not set
451# CONFIG_CONNECTOR is not set 459# CONFIG_CONNECTOR is not set
452# CONFIG_MTD is not set 460# CONFIG_MTD is not set
@@ -471,12 +479,14 @@ CONFIG_BLK_DEV_RAM_SIZE=8192
471# CONFIG_CDROM_PKTCDVD is not set 479# CONFIG_CDROM_PKTCDVD is not set
472# CONFIG_ATA_OVER_ETH is not set 480# CONFIG_ATA_OVER_ETH is not set
473# CONFIG_XILINX_SYSACE is not set 481# CONFIG_XILINX_SYSACE is not set
482# CONFIG_BLK_DEV_HD is not set
474CONFIG_MISC_DEVICES=y 483CONFIG_MISC_DEVICES=y
475# CONFIG_PHANTOM is not set 484# CONFIG_PHANTOM is not set
476# CONFIG_EEPROM_93CX6 is not set 485# CONFIG_EEPROM_93CX6 is not set
477# CONFIG_SGI_IOC4 is not set 486# CONFIG_SGI_IOC4 is not set
478# CONFIG_TIFM_CORE is not set 487# CONFIG_TIFM_CORE is not set
479# CONFIG_ENCLOSURE_SERVICES is not set 488# CONFIG_ENCLOSURE_SERVICES is not set
489# CONFIG_HP_ILO is not set
480CONFIG_HAVE_IDE=y 490CONFIG_HAVE_IDE=y
481# CONFIG_IDE is not set 491# CONFIG_IDE is not set
482 492
@@ -503,7 +513,6 @@ CONFIG_HAVE_IDE=y
503# CONFIG_I2O is not set 513# CONFIG_I2O is not set
504# CONFIG_MACINTOSH_DRIVERS is not set 514# CONFIG_MACINTOSH_DRIVERS is not set
505CONFIG_NETDEVICES=y 515CONFIG_NETDEVICES=y
506# CONFIG_NETDEVICES_MULTIQUEUE is not set
507# CONFIG_DUMMY is not set 516# CONFIG_DUMMY is not set
508# CONFIG_BONDING is not set 517# CONFIG_BONDING is not set
509# CONFIG_MACVLAN is not set 518# CONFIG_MACVLAN is not set
@@ -532,7 +541,6 @@ CONFIG_NETDEV_1000=y
532# CONFIG_DL2K is not set 541# CONFIG_DL2K is not set
533# CONFIG_E1000 is not set 542# CONFIG_E1000 is not set
534# CONFIG_E1000E is not set 543# CONFIG_E1000E is not set
535# CONFIG_E1000E_ENABLED is not set
536# CONFIG_IP1000 is not set 544# CONFIG_IP1000 is not set
537# CONFIG_IGB is not set 545# CONFIG_IGB is not set
538# CONFIG_NS83820 is not set 546# CONFIG_NS83820 is not set
@@ -547,6 +555,7 @@ CONFIG_NETDEV_1000=y
547# CONFIG_BNX2 is not set 555# CONFIG_BNX2 is not set
548# CONFIG_QLA3XXX is not set 556# CONFIG_QLA3XXX is not set
549# CONFIG_ATL1 is not set 557# CONFIG_ATL1 is not set
558# CONFIG_ATL1E is not set
550# CONFIG_NETDEV_10000 is not set 559# CONFIG_NETDEV_10000 is not set
551# CONFIG_TR is not set 560# CONFIG_TR is not set
552 561
@@ -619,12 +628,14 @@ CONFIG_SERIO_SERPORT=y
619# CONFIG_SERIO_PCIPS2 is not set 628# CONFIG_SERIO_PCIPS2 is not set
620CONFIG_SERIO_LIBPS2=y 629CONFIG_SERIO_LIBPS2=y
621# CONFIG_SERIO_RAW is not set 630# CONFIG_SERIO_RAW is not set
631# CONFIG_SERIO_XILINX_XPS_PS2 is not set
622# CONFIG_GAMEPORT is not set 632# CONFIG_GAMEPORT is not set
623 633
624# 634#
625# Character devices 635# Character devices
626# 636#
627CONFIG_VT=y 637CONFIG_VT=y
638CONFIG_CONSOLE_TRANSLATIONS=y
628CONFIG_VT_CONSOLE=y 639CONFIG_VT_CONSOLE=y
629CONFIG_HW_CONSOLE=y 640CONFIG_HW_CONSOLE=y
630# CONFIG_VT_HW_CONSOLE_BINDING is not set 641# CONFIG_VT_HW_CONSOLE_BINDING is not set
@@ -670,39 +681,59 @@ CONFIG_I2C_CHARDEV=y
670# 681#
671# I2C Hardware Bus support 682# I2C Hardware Bus support
672# 683#
684
685#
686# PC SMBus host controller drivers
687#
673# CONFIG_I2C_ALI1535 is not set 688# CONFIG_I2C_ALI1535 is not set
674# CONFIG_I2C_ALI1563 is not set 689# CONFIG_I2C_ALI1563 is not set
675# CONFIG_I2C_ALI15X3 is not set 690# CONFIG_I2C_ALI15X3 is not set
676# CONFIG_I2C_AMD756 is not set 691# CONFIG_I2C_AMD756 is not set
677# CONFIG_I2C_AMD8111 is not set 692# CONFIG_I2C_AMD8111 is not set
678# CONFIG_I2C_I801 is not set 693# CONFIG_I2C_I801 is not set
679# CONFIG_I2C_I810 is not set 694# CONFIG_I2C_ISCH is not set
680# CONFIG_I2C_PIIX4 is not set 695# CONFIG_I2C_PIIX4 is not set
681# CONFIG_I2C_IBM_IIC is not set
682# CONFIG_I2C_MPC is not set
683# CONFIG_I2C_NFORCE2 is not set 696# CONFIG_I2C_NFORCE2 is not set
684# CONFIG_I2C_OCORES is not set
685# CONFIG_I2C_PARPORT_LIGHT is not set
686# CONFIG_I2C_PROSAVAGE is not set
687# CONFIG_I2C_SAVAGE4 is not set
688# CONFIG_I2C_SIMTEC is not set
689# CONFIG_I2C_SIS5595 is not set 697# CONFIG_I2C_SIS5595 is not set
690# CONFIG_I2C_SIS630 is not set 698# CONFIG_I2C_SIS630 is not set
691# CONFIG_I2C_SIS96X is not set 699# CONFIG_I2C_SIS96X is not set
692# CONFIG_I2C_TAOS_EVM is not set
693# CONFIG_I2C_STUB is not set
694# CONFIG_I2C_VIA is not set 700# CONFIG_I2C_VIA is not set
695# CONFIG_I2C_VIAPRO is not set 701# CONFIG_I2C_VIAPRO is not set
702
703#
704# I2C system bus drivers (mostly embedded / system-on-chip)
705#
706# CONFIG_I2C_IBM_IIC is not set
707# CONFIG_I2C_MPC is not set
708# CONFIG_I2C_OCORES is not set
709# CONFIG_I2C_SIMTEC is not set
710
711#
712# External I2C/SMBus adapter drivers
713#
714# CONFIG_I2C_PARPORT_LIGHT is not set
715# CONFIG_I2C_TAOS_EVM is not set
716
717#
718# Graphics adapter I2C/DDC channel drivers
719#
696# CONFIG_I2C_VOODOO3 is not set 720# CONFIG_I2C_VOODOO3 is not set
721
722#
723# Other I2C/SMBus bus drivers
724#
697# CONFIG_I2C_PCA_PLATFORM is not set 725# CONFIG_I2C_PCA_PLATFORM is not set
726# CONFIG_I2C_STUB is not set
698 727
699# 728#
700# Miscellaneous I2C Chip support 729# Miscellaneous I2C Chip support
701# 730#
702# CONFIG_DS1682 is not set 731# CONFIG_DS1682 is not set
732# CONFIG_AT24 is not set
703# CONFIG_SENSORS_EEPROM is not set 733# CONFIG_SENSORS_EEPROM is not set
704# CONFIG_SENSORS_PCF8574 is not set 734# CONFIG_SENSORS_PCF8574 is not set
705# CONFIG_PCF8575 is not set 735# CONFIG_PCF8575 is not set
736# CONFIG_SENSORS_PCA9539 is not set
706# CONFIG_SENSORS_PCF8591 is not set 737# CONFIG_SENSORS_PCF8591 is not set
707# CONFIG_SENSORS_MAX6875 is not set 738# CONFIG_SENSORS_MAX6875 is not set
708# CONFIG_SENSORS_TSL2550 is not set 739# CONFIG_SENSORS_TSL2550 is not set
@@ -711,10 +742,13 @@ CONFIG_I2C_DEBUG_ALGO=y
711# CONFIG_I2C_DEBUG_BUS is not set 742# CONFIG_I2C_DEBUG_BUS is not set
712# CONFIG_I2C_DEBUG_CHIP is not set 743# CONFIG_I2C_DEBUG_CHIP is not set
713# CONFIG_SPI is not set 744# CONFIG_SPI is not set
745CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
746# CONFIG_GPIOLIB is not set
714# CONFIG_W1 is not set 747# CONFIG_W1 is not set
715# CONFIG_POWER_SUPPLY is not set 748# CONFIG_POWER_SUPPLY is not set
716# CONFIG_HWMON is not set 749# CONFIG_HWMON is not set
717# CONFIG_THERMAL is not set 750# CONFIG_THERMAL is not set
751# CONFIG_THERMAL_HWMON is not set
718# CONFIG_WATCHDOG is not set 752# CONFIG_WATCHDOG is not set
719 753
720# 754#
@@ -726,6 +760,7 @@ CONFIG_SSB_POSSIBLE=y
726# 760#
727# Multifunction device drivers 761# Multifunction device drivers
728# 762#
763# CONFIG_MFD_CORE is not set
729# CONFIG_MFD_SM501 is not set 764# CONFIG_MFD_SM501 is not set
730# CONFIG_HTC_PASIC3 is not set 765# CONFIG_HTC_PASIC3 is not set
731 766
@@ -799,6 +834,7 @@ CONFIG_FB_CFB_IMAGEBLIT=y
799# CONFIG_FB_TRIDENT is not set 834# CONFIG_FB_TRIDENT is not set
800# CONFIG_FB_ARK is not set 835# CONFIG_FB_ARK is not set
801# CONFIG_FB_PM3 is not set 836# CONFIG_FB_PM3 is not set
837# CONFIG_FB_CARMINE is not set
802# CONFIG_FB_IBM_GXT4500 is not set 838# CONFIG_FB_IBM_GXT4500 is not set
803CONFIG_FB_XILINX=y 839CONFIG_FB_XILINX=y
804# CONFIG_FB_VIRTUAL is not set 840# CONFIG_FB_VIRTUAL is not set
@@ -831,10 +867,6 @@ CONFIG_LOGO=y
831CONFIG_LOGO_LINUX_MONO=y 867CONFIG_LOGO_LINUX_MONO=y
832CONFIG_LOGO_LINUX_VGA16=y 868CONFIG_LOGO_LINUX_VGA16=y
833CONFIG_LOGO_LINUX_CLUT224=y 869CONFIG_LOGO_LINUX_CLUT224=y
834
835#
836# Sound
837#
838# CONFIG_SOUND is not set 870# CONFIG_SOUND is not set
839# CONFIG_HID_SUPPORT is not set 871# CONFIG_HID_SUPPORT is not set
840# CONFIG_USB_SUPPORT is not set 872# CONFIG_USB_SUPPORT is not set
@@ -910,6 +942,7 @@ CONFIG_TMPFS=y
910CONFIG_CRAMFS=y 942CONFIG_CRAMFS=y
911# CONFIG_VXFS_FS is not set 943# CONFIG_VXFS_FS is not set
912# CONFIG_MINIX_FS is not set 944# CONFIG_MINIX_FS is not set
945# CONFIG_OMFS_FS is not set
913# CONFIG_HPFS_FS is not set 946# CONFIG_HPFS_FS is not set
914# CONFIG_QNX4FS_FS is not set 947# CONFIG_QNX4FS_FS is not set
915CONFIG_ROMFS_FS=y 948CONFIG_ROMFS_FS=y
@@ -920,17 +953,16 @@ CONFIG_NFS_FS=y
920CONFIG_NFS_V3=y 953CONFIG_NFS_V3=y
921# CONFIG_NFS_V3_ACL is not set 954# CONFIG_NFS_V3_ACL is not set
922# CONFIG_NFS_V4 is not set 955# CONFIG_NFS_V4 is not set
956CONFIG_ROOT_NFS=y
923CONFIG_NFSD=y 957CONFIG_NFSD=y
924CONFIG_NFSD_V3=y 958CONFIG_NFSD_V3=y
925# CONFIG_NFSD_V3_ACL is not set 959# CONFIG_NFSD_V3_ACL is not set
926# CONFIG_NFSD_V4 is not set 960# CONFIG_NFSD_V4 is not set
927CONFIG_ROOT_NFS=y
928CONFIG_LOCKD=y 961CONFIG_LOCKD=y
929CONFIG_LOCKD_V4=y 962CONFIG_LOCKD_V4=y
930CONFIG_EXPORTFS=y 963CONFIG_EXPORTFS=y
931CONFIG_NFS_COMMON=y 964CONFIG_NFS_COMMON=y
932CONFIG_SUNRPC=y 965CONFIG_SUNRPC=y
933# CONFIG_SUNRPC_BIND34 is not set
934# CONFIG_RPCSEC_GSS_KRB5 is not set 966# CONFIG_RPCSEC_GSS_KRB5 is not set
935# CONFIG_RPCSEC_GSS_SPKM3 is not set 967# CONFIG_RPCSEC_GSS_SPKM3 is not set
936CONFIG_SMB_FS=y 968CONFIG_SMB_FS=y
@@ -994,6 +1026,7 @@ CONFIG_BITREVERSE=y
994# CONFIG_GENERIC_FIND_FIRST_BIT is not set 1026# CONFIG_GENERIC_FIND_FIRST_BIT is not set
995CONFIG_CRC_CCITT=y 1027CONFIG_CRC_CCITT=y
996# CONFIG_CRC16 is not set 1028# CONFIG_CRC16 is not set
1029# CONFIG_CRC_T10DIF is not set
997# CONFIG_CRC_ITU_T is not set 1030# CONFIG_CRC_ITU_T is not set
998CONFIG_CRC32=y 1031CONFIG_CRC32=y
999# CONFIG_CRC7 is not set 1032# CONFIG_CRC7 is not set
@@ -1018,7 +1051,16 @@ CONFIG_FRAME_WARN=1024
1018# CONFIG_HEADERS_CHECK is not set 1051# CONFIG_HEADERS_CHECK is not set
1019# CONFIG_DEBUG_KERNEL is not set 1052# CONFIG_DEBUG_KERNEL is not set
1020CONFIG_DEBUG_BUGVERBOSE=y 1053CONFIG_DEBUG_BUGVERBOSE=y
1054CONFIG_DEBUG_MEMORY_INIT=y
1055# CONFIG_LATENCYTOP is not set
1056CONFIG_HAVE_FTRACE=y
1057CONFIG_HAVE_DYNAMIC_FTRACE=y
1058# CONFIG_FTRACE is not set
1059# CONFIG_PREEMPT_TRACER is not set
1060# CONFIG_SCHED_TRACER is not set
1061# CONFIG_CONTEXT_SWITCH_TRACER is not set
1021# CONFIG_SAMPLES is not set 1062# CONFIG_SAMPLES is not set
1063CONFIG_HAVE_ARCH_KGDB=y
1022# CONFIG_IRQSTACKS is not set 1064# CONFIG_IRQSTACKS is not set
1023# CONFIG_PPC_EARLY_DEBUG is not set 1065# CONFIG_PPC_EARLY_DEBUG is not set
1024 1066
@@ -1071,6 +1113,10 @@ CONFIG_CRYPTO=y
1071# CONFIG_CRYPTO_MD4 is not set 1113# CONFIG_CRYPTO_MD4 is not set
1072# CONFIG_CRYPTO_MD5 is not set 1114# CONFIG_CRYPTO_MD5 is not set
1073# CONFIG_CRYPTO_MICHAEL_MIC is not set 1115# CONFIG_CRYPTO_MICHAEL_MIC is not set
1116# CONFIG_CRYPTO_RMD128 is not set
1117# CONFIG_CRYPTO_RMD160 is not set
1118# CONFIG_CRYPTO_RMD256 is not set
1119# CONFIG_CRYPTO_RMD320 is not set
1074# CONFIG_CRYPTO_SHA1 is not set 1120# CONFIG_CRYPTO_SHA1 is not set
1075# CONFIG_CRYPTO_SHA256 is not set 1121# CONFIG_CRYPTO_SHA256 is not set
1076# CONFIG_CRYPTO_SHA512 is not set 1122# CONFIG_CRYPTO_SHA512 is not set
diff --git a/arch/powerpc/configs/44x/warp_defconfig b/arch/powerpc/configs/44x/warp_defconfig
index 2313c3e8ef61..d9375a969c67 100644
--- a/arch/powerpc/configs/44x/warp_defconfig
+++ b/arch/powerpc/configs/44x/warp_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.25-rc2 3# Linux kernel version: 2.6.27-rc1
4# Fri Feb 15 21:54:43 2008 4# Tue Aug 5 09:23:39 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,8 +30,12 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
38CONFIG_LOCKDEP_SUPPORT=y
35CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
36CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
37CONFIG_GENERIC_HWEIGHT=y 41CONFIG_GENERIC_HWEIGHT=y
@@ -79,6 +83,7 @@ CONFIG_FAIR_GROUP_SCHED=y
79CONFIG_USER_SCHED=y 83CONFIG_USER_SCHED=y
80# CONFIG_CGROUP_SCHED is not set 84# CONFIG_CGROUP_SCHED is not set
81CONFIG_SYSFS_DEPRECATED=y 85CONFIG_SYSFS_DEPRECATED=y
86CONFIG_SYSFS_DEPRECATED_V2=y
82# CONFIG_RELAY is not set 87# CONFIG_RELAY is not set
83# CONFIG_NAMESPACES is not set 88# CONFIG_NAMESPACES is not set
84CONFIG_BLK_DEV_INITRD=y 89CONFIG_BLK_DEV_INITRD=y
@@ -87,6 +92,7 @@ CONFIG_INITRAMFS_SOURCE=""
87CONFIG_SYSCTL=y 92CONFIG_SYSCTL=y
88CONFIG_EMBEDDED=y 93CONFIG_EMBEDDED=y
89CONFIG_SYSCTL_SYSCALL=y 94CONFIG_SYSCTL_SYSCALL=y
95CONFIG_SYSCTL_SYSCALL_CHECK=y
90CONFIG_KALLSYMS=y 96CONFIG_KALLSYMS=y
91# CONFIG_KALLSYMS_ALL is not set 97# CONFIG_KALLSYMS_ALL is not set
92# CONFIG_KALLSYMS_EXTRA_PASS is not set 98# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -111,13 +117,22 @@ CONFIG_SLAB=y
111# CONFIG_MARKERS is not set 117# CONFIG_MARKERS is not set
112CONFIG_HAVE_OPROFILE=y 118CONFIG_HAVE_OPROFILE=y
113# CONFIG_KPROBES is not set 119# CONFIG_KPROBES is not set
120CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
121CONFIG_HAVE_IOREMAP_PROT=y
114CONFIG_HAVE_KPROBES=y 122CONFIG_HAVE_KPROBES=y
123CONFIG_HAVE_KRETPROBES=y
124CONFIG_HAVE_ARCH_TRACEHOOK=y
125# CONFIG_HAVE_DMA_ATTRS is not set
126# CONFIG_USE_GENERIC_SMP_HELPERS is not set
127# CONFIG_HAVE_CLK is not set
115CONFIG_PROC_PAGE_MONITOR=y 128CONFIG_PROC_PAGE_MONITOR=y
129# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
116CONFIG_SLABINFO=y 130CONFIG_SLABINFO=y
117CONFIG_RT_MUTEXES=y 131CONFIG_RT_MUTEXES=y
118# CONFIG_TINY_SHMEM is not set 132# CONFIG_TINY_SHMEM is not set
119CONFIG_BASE_SMALL=0 133CONFIG_BASE_SMALL=0
120CONFIG_MODULES=y 134CONFIG_MODULES=y
135# CONFIG_MODULE_FORCE_LOAD is not set
121CONFIG_MODULE_UNLOAD=y 136CONFIG_MODULE_UNLOAD=y
122# CONFIG_MODULE_FORCE_UNLOAD is not set 137# CONFIG_MODULE_FORCE_UNLOAD is not set
123# CONFIG_MODVERSIONS is not set 138# CONFIG_MODVERSIONS is not set
@@ -128,6 +143,7 @@ CONFIG_BLOCK=y
128# CONFIG_BLK_DEV_IO_TRACE is not set 143# CONFIG_BLK_DEV_IO_TRACE is not set
129# CONFIG_LSF is not set 144# CONFIG_LSF is not set
130# CONFIG_BLK_DEV_BSG is not set 145# CONFIG_BLK_DEV_BSG is not set
146# CONFIG_BLK_DEV_INTEGRITY is not set
131 147
132# 148#
133# IO Schedulers 149# IO Schedulers
@@ -142,23 +158,24 @@ CONFIG_DEFAULT_AS=y
142# CONFIG_DEFAULT_NOOP is not set 158# CONFIG_DEFAULT_NOOP is not set
143CONFIG_DEFAULT_IOSCHED="anticipatory" 159CONFIG_DEFAULT_IOSCHED="anticipatory"
144CONFIG_CLASSIC_RCU=y 160CONFIG_CLASSIC_RCU=y
145# CONFIG_PREEMPT_RCU is not set
146 161
147# 162#
148# Platform support 163# Platform support
149# 164#
150# CONFIG_PPC_MPC512x is not set
151# CONFIG_PPC_MPC5121 is not set
152# CONFIG_PPC_CELL is not set 165# CONFIG_PPC_CELL is not set
153# CONFIG_PPC_CELL_NATIVE is not set 166# CONFIG_PPC_CELL_NATIVE is not set
154# CONFIG_PQ2ADS is not set 167# CONFIG_PQ2ADS is not set
155# CONFIG_BAMBOO is not set 168# CONFIG_BAMBOO is not set
156# CONFIG_EBONY is not set 169# CONFIG_EBONY is not set
170# CONFIG_SAM440EP is not set
157# CONFIG_SEQUOIA is not set 171# CONFIG_SEQUOIA is not set
158# CONFIG_TAISHAN is not set 172# CONFIG_TAISHAN is not set
159# CONFIG_KATMAI is not set 173# CONFIG_KATMAI is not set
160# CONFIG_RAINIER is not set 174# CONFIG_RAINIER is not set
161CONFIG_WARP=y 175CONFIG_WARP=y
176# CONFIG_CANYONLANDS is not set
177# CONFIG_YOSEMITE is not set
178# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
162CONFIG_440EP=y 179CONFIG_440EP=y
163CONFIG_IBM440EP_ERR42=y 180CONFIG_IBM440EP_ERR42=y
164# CONFIG_IPIC is not set 181# CONFIG_IPIC is not set
@@ -191,7 +208,6 @@ CONFIG_HZ=1000
191CONFIG_PREEMPT_NONE=y 208CONFIG_PREEMPT_NONE=y
192# CONFIG_PREEMPT_VOLUNTARY is not set 209# CONFIG_PREEMPT_VOLUNTARY is not set
193# CONFIG_PREEMPT is not set 210# CONFIG_PREEMPT is not set
194CONFIG_RCU_TRACE=y
195CONFIG_BINFMT_ELF=y 211CONFIG_BINFMT_ELF=y
196# CONFIG_BINFMT_MISC is not set 212# CONFIG_BINFMT_MISC is not set
197# CONFIG_MATH_EMULATION is not set 213# CONFIG_MATH_EMULATION is not set
@@ -209,14 +225,18 @@ CONFIG_FLATMEM=y
209CONFIG_FLAT_NODE_MEM_MAP=y 225CONFIG_FLAT_NODE_MEM_MAP=y
210# CONFIG_SPARSEMEM_STATIC is not set 226# CONFIG_SPARSEMEM_STATIC is not set
211# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 227# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
228CONFIG_PAGEFLAGS_EXTENDED=y
212CONFIG_SPLIT_PTLOCK_CPUS=4 229CONFIG_SPLIT_PTLOCK_CPUS=4
230CONFIG_MIGRATION=y
213CONFIG_RESOURCES_64BIT=y 231CONFIG_RESOURCES_64BIT=y
214CONFIG_ZONE_DMA_FLAG=1 232CONFIG_ZONE_DMA_FLAG=1
215CONFIG_BOUNCE=y 233CONFIG_BOUNCE=y
216CONFIG_VIRT_TO_BUS=y 234CONFIG_VIRT_TO_BUS=y
235CONFIG_FORCE_MAX_ZONEORDER=11
217CONFIG_PROC_DEVICETREE=y 236CONFIG_PROC_DEVICETREE=y
218CONFIG_CMDLINE_BOOL=y 237CONFIG_CMDLINE_BOOL=y
219CONFIG_CMDLINE="ip=on" 238CONFIG_CMDLINE="ip=on"
239CONFIG_EXTRA_TARGETS=""
220CONFIG_SECCOMP=y 240CONFIG_SECCOMP=y
221CONFIG_ISA_DMA_API=y 241CONFIG_ISA_DMA_API=y
222 242
@@ -224,10 +244,13 @@ CONFIG_ISA_DMA_API=y
224# Bus options 244# Bus options
225# 245#
226CONFIG_ZONE_DMA=y 246CONFIG_ZONE_DMA=y
247CONFIG_4xx_SOC=y
248CONFIG_PPC_PCI_CHOICE=y
227# CONFIG_PCI is not set 249# CONFIG_PCI is not set
228# CONFIG_PCI_DOMAINS is not set 250# CONFIG_PCI_DOMAINS is not set
229# CONFIG_PCI_SYSCALL is not set 251# CONFIG_PCI_SYSCALL is not set
230# CONFIG_ARCH_SUPPORTS_MSI is not set 252# CONFIG_ARCH_SUPPORTS_MSI is not set
253# CONFIG_HAS_RAPIDIO is not set
231 254
232# 255#
233# Advanced setup 256# Advanced setup
@@ -237,17 +260,13 @@ CONFIG_ZONE_DMA=y
237# 260#
238# Default settings for advanced configuration options are used 261# Default settings for advanced configuration options are used
239# 262#
240CONFIG_HIGHMEM_START=0xfe000000
241CONFIG_LOWMEM_SIZE=0x30000000 263CONFIG_LOWMEM_SIZE=0x30000000
264CONFIG_PAGE_OFFSET=0xc0000000
242CONFIG_KERNEL_START=0xc0000000 265CONFIG_KERNEL_START=0xc0000000
266CONFIG_PHYSICAL_START=0x00000000
243CONFIG_TASK_SIZE=0xc0000000 267CONFIG_TASK_SIZE=0xc0000000
244CONFIG_CONSISTENT_START=0xff100000 268CONFIG_CONSISTENT_START=0xff100000
245CONFIG_CONSISTENT_SIZE=0x00200000 269CONFIG_CONSISTENT_SIZE=0x00200000
246CONFIG_BOOT_LOAD=0x01000000
247
248#
249# Networking
250#
251CONFIG_NET=y 270CONFIG_NET=y
252 271
253# 272#
@@ -291,8 +310,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
291# CONFIG_TCP_MD5SIG is not set 310# CONFIG_TCP_MD5SIG is not set
292# CONFIG_IP_VS is not set 311# CONFIG_IP_VS is not set
293# CONFIG_IPV6 is not set 312# CONFIG_IPV6 is not set
294# CONFIG_INET6_XFRM_TUNNEL is not set
295# CONFIG_INET6_TUNNEL is not set
296# CONFIG_NETWORK_SECMARK is not set 313# CONFIG_NETWORK_SECMARK is not set
297CONFIG_NETFILTER=y 314CONFIG_NETFILTER=y
298# CONFIG_NETFILTER_DEBUG is not set 315# CONFIG_NETFILTER_DEBUG is not set
@@ -318,6 +335,7 @@ CONFIG_NETFILTER_ADVANCED=y
318# CONFIG_ATM is not set 335# CONFIG_ATM is not set
319# CONFIG_BRIDGE is not set 336# CONFIG_BRIDGE is not set
320CONFIG_VLAN_8021Q=y 337CONFIG_VLAN_8021Q=y
338# CONFIG_VLAN_8021Q_GVRP is not set
321# CONFIG_DECNET is not set 339# CONFIG_DECNET is not set
322# CONFIG_LLC2 is not set 340# CONFIG_LLC2 is not set
323# CONFIG_IPX is not set 341# CONFIG_IPX is not set
@@ -368,6 +386,7 @@ CONFIG_MTD_PARTITIONS=y
368# CONFIG_MTD_REDBOOT_PARTS is not set 386# CONFIG_MTD_REDBOOT_PARTS is not set
369# CONFIG_MTD_CMDLINE_PARTS is not set 387# CONFIG_MTD_CMDLINE_PARTS is not set
370CONFIG_MTD_OF_PARTS=y 388CONFIG_MTD_OF_PARTS=y
389# CONFIG_MTD_AR7_PARTS is not set
371 390
372# 391#
373# User Modules And Translation Layers 392# User Modules And Translation Layers
@@ -446,6 +465,7 @@ CONFIG_MTD_NAND_IDS=y
446# 465#
447# CONFIG_MTD_UBI is not set 466# CONFIG_MTD_UBI is not set
448CONFIG_OF_DEVICE=y 467CONFIG_OF_DEVICE=y
468CONFIG_OF_I2C=y
449# CONFIG_PARPORT is not set 469# CONFIG_PARPORT is not set
450CONFIG_BLK_DEV=y 470CONFIG_BLK_DEV=y
451# CONFIG_BLK_DEV_FD is not set 471# CONFIG_BLK_DEV_FD is not set
@@ -460,6 +480,7 @@ CONFIG_BLK_DEV_RAM_SIZE=4096
460# CONFIG_CDROM_PKTCDVD is not set 480# CONFIG_CDROM_PKTCDVD is not set
461# CONFIG_ATA_OVER_ETH is not set 481# CONFIG_ATA_OVER_ETH is not set
462# CONFIG_XILINX_SYSACE is not set 482# CONFIG_XILINX_SYSACE is not set
483# CONFIG_BLK_DEV_HD is not set
463CONFIG_MISC_DEVICES=y 484CONFIG_MISC_DEVICES=y
464# CONFIG_EEPROM_93CX6 is not set 485# CONFIG_EEPROM_93CX6 is not set
465# CONFIG_ENCLOSURE_SERVICES is not set 486# CONFIG_ENCLOSURE_SERVICES is not set
@@ -504,11 +525,11 @@ CONFIG_SCSI_SPI_ATTRS=y
504# CONFIG_SCSI_SAS_LIBSAS is not set 525# CONFIG_SCSI_SAS_LIBSAS is not set
505# CONFIG_SCSI_SRP_ATTRS is not set 526# CONFIG_SCSI_SRP_ATTRS is not set
506# CONFIG_SCSI_LOWLEVEL is not set 527# CONFIG_SCSI_LOWLEVEL is not set
528# CONFIG_SCSI_DH is not set
507# CONFIG_ATA is not set 529# CONFIG_ATA is not set
508# CONFIG_MD is not set 530# CONFIG_MD is not set
509# CONFIG_MACINTOSH_DRIVERS is not set 531# CONFIG_MACINTOSH_DRIVERS is not set
510CONFIG_NETDEVICES=y 532CONFIG_NETDEVICES=y
511# CONFIG_NETDEVICES_MULTIQUEUE is not set
512# CONFIG_DUMMY is not set 533# CONFIG_DUMMY is not set
513# CONFIG_BONDING is not set 534# CONFIG_BONDING is not set
514# CONFIG_MACVLAN is not set 535# CONFIG_MACVLAN is not set
@@ -538,6 +559,7 @@ CONFIG_IBM_NEW_EMAC_ZMII=y
538# 559#
539# CONFIG_WLAN_PRE80211 is not set 560# CONFIG_WLAN_PRE80211 is not set
540# CONFIG_WLAN_80211 is not set 561# CONFIG_WLAN_80211 is not set
562# CONFIG_IWLWIFI_LEDS is not set
541 563
542# 564#
543# USB Network Adapters 565# USB Network Adapters
@@ -571,6 +593,7 @@ CONFIG_IBM_NEW_EMAC_ZMII=y
571# Character devices 593# Character devices
572# 594#
573# CONFIG_VT is not set 595# CONFIG_VT is not set
596CONFIG_DEVKMEM=y
574# CONFIG_SERIAL_NONSTANDARD is not set 597# CONFIG_SERIAL_NONSTANDARD is not set
575 598
576# 599#
@@ -608,44 +631,49 @@ CONFIG_I2C_BOARDINFO=y
608# CONFIG_I2C_CHARDEV is not set 631# CONFIG_I2C_CHARDEV is not set
609 632
610# 633#
611# I2C Algorithms 634# I2C Hardware Bus support
612# 635#
613# CONFIG_I2C_ALGOBIT is not set
614# CONFIG_I2C_ALGOPCF is not set
615# CONFIG_I2C_ALGOPCA is not set
616 636
617# 637#
618# I2C Hardware Bus support 638# I2C system bus drivers (mostly embedded / system-on-chip)
619# 639#
640# CONFIG_I2C_IBM_IIC is not set
620# CONFIG_I2C_MPC is not set 641# CONFIG_I2C_MPC is not set
621# CONFIG_I2C_OCORES is not set 642# CONFIG_I2C_OCORES is not set
622# CONFIG_I2C_PARPORT_LIGHT is not set
623# CONFIG_I2C_SIMTEC is not set 643# CONFIG_I2C_SIMTEC is not set
644
645#
646# External I2C/SMBus adapter drivers
647#
648# CONFIG_I2C_PARPORT_LIGHT is not set
624# CONFIG_I2C_TAOS_EVM is not set 649# CONFIG_I2C_TAOS_EVM is not set
625# CONFIG_I2C_STUB is not set
626# CONFIG_I2C_TINY_USB is not set 650# CONFIG_I2C_TINY_USB is not set
627 651
628# 652#
653# Other I2C/SMBus bus drivers
654#
655# CONFIG_I2C_PCA_PLATFORM is not set
656# CONFIG_I2C_STUB is not set
657
658#
629# Miscellaneous I2C Chip support 659# Miscellaneous I2C Chip support
630# 660#
631# CONFIG_DS1682 is not set 661# CONFIG_DS1682 is not set
662# CONFIG_AT24 is not set
632CONFIG_SENSORS_EEPROM=y 663CONFIG_SENSORS_EEPROM=y
633# CONFIG_SENSORS_PCF8574 is not set 664# CONFIG_SENSORS_PCF8574 is not set
634# CONFIG_PCF8575 is not set 665# CONFIG_PCF8575 is not set
666# CONFIG_SENSORS_PCA9539 is not set
635# CONFIG_SENSORS_PCF8591 is not set 667# CONFIG_SENSORS_PCF8591 is not set
636# CONFIG_TPS65010 is not set
637# CONFIG_SENSORS_MAX6875 is not set 668# CONFIG_SENSORS_MAX6875 is not set
638# CONFIG_SENSORS_TSL2550 is not set 669# CONFIG_SENSORS_TSL2550 is not set
639# CONFIG_I2C_DEBUG_CORE is not set 670# CONFIG_I2C_DEBUG_CORE is not set
640# CONFIG_I2C_DEBUG_ALGO is not set 671# CONFIG_I2C_DEBUG_ALGO is not set
641# CONFIG_I2C_DEBUG_BUS is not set 672# CONFIG_I2C_DEBUG_BUS is not set
642# CONFIG_I2C_DEBUG_CHIP is not set 673# CONFIG_I2C_DEBUG_CHIP is not set
643
644#
645# SPI support
646#
647# CONFIG_SPI is not set 674# CONFIG_SPI is not set
648# CONFIG_SPI_MASTER is not set 675CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
676# CONFIG_GPIOLIB is not set
649# CONFIG_W1 is not set 677# CONFIG_W1 is not set
650# CONFIG_POWER_SUPPLY is not set 678# CONFIG_POWER_SUPPLY is not set
651CONFIG_HWMON=y 679CONFIG_HWMON=y
@@ -658,6 +686,7 @@ CONFIG_HWMON=y
658# CONFIG_SENSORS_ADM1031 is not set 686# CONFIG_SENSORS_ADM1031 is not set
659# CONFIG_SENSORS_ADM9240 is not set 687# CONFIG_SENSORS_ADM9240 is not set
660# CONFIG_SENSORS_ADT7470 is not set 688# CONFIG_SENSORS_ADT7470 is not set
689# CONFIG_SENSORS_ADT7473 is not set
661# CONFIG_SENSORS_ATXP1 is not set 690# CONFIG_SENSORS_ATXP1 is not set
662# CONFIG_SENSORS_DS1621 is not set 691# CONFIG_SENSORS_DS1621 is not set
663# CONFIG_SENSORS_F71805F is not set 692# CONFIG_SENSORS_F71805F is not set
@@ -698,6 +727,7 @@ CONFIG_HWMON=y
698# CONFIG_SENSORS_W83627EHF is not set 727# CONFIG_SENSORS_W83627EHF is not set
699# CONFIG_HWMON_DEBUG_CHIP is not set 728# CONFIG_HWMON_DEBUG_CHIP is not set
700CONFIG_THERMAL=y 729CONFIG_THERMAL=y
730# CONFIG_THERMAL_HWMON is not set
701# CONFIG_WATCHDOG is not set 731# CONFIG_WATCHDOG is not set
702 732
703# 733#
@@ -709,13 +739,24 @@ CONFIG_SSB_POSSIBLE=y
709# 739#
710# Multifunction device drivers 740# Multifunction device drivers
711# 741#
742# CONFIG_MFD_CORE is not set
712# CONFIG_MFD_SM501 is not set 743# CONFIG_MFD_SM501 is not set
744# CONFIG_HTC_PASIC3 is not set
713 745
714# 746#
715# Multimedia devices 747# Multimedia devices
716# 748#
749
750#
751# Multimedia core support
752#
717# CONFIG_VIDEO_DEV is not set 753# CONFIG_VIDEO_DEV is not set
718# CONFIG_DVB_CORE is not set 754# CONFIG_DVB_CORE is not set
755# CONFIG_VIDEO_MEDIA is not set
756
757#
758# Multimedia drivers
759#
719# CONFIG_DAB is not set 760# CONFIG_DAB is not set
720 761
721# 762#
@@ -730,10 +771,6 @@ CONFIG_SSB_POSSIBLE=y
730# Display device support 771# Display device support
731# 772#
732# CONFIG_DISPLAY_SUPPORT is not set 773# CONFIG_DISPLAY_SUPPORT is not set
733
734#
735# Sound
736#
737# CONFIG_SOUND is not set 774# CONFIG_SOUND is not set
738CONFIG_USB_SUPPORT=y 775CONFIG_USB_SUPPORT=y
739CONFIG_USB_ARCH_HAS_HCD=y 776CONFIG_USB_ARCH_HAS_HCD=y
@@ -750,11 +787,15 @@ CONFIG_USB=y
750CONFIG_USB_DEVICE_CLASS=y 787CONFIG_USB_DEVICE_CLASS=y
751# CONFIG_USB_DYNAMIC_MINORS is not set 788# CONFIG_USB_DYNAMIC_MINORS is not set
752# CONFIG_USB_OTG is not set 789# CONFIG_USB_OTG is not set
790# CONFIG_USB_OTG_WHITELIST is not set
791# CONFIG_USB_OTG_BLACKLIST_HUB is not set
753 792
754# 793#
755# USB Host Controller Drivers 794# USB Host Controller Drivers
756# 795#
796# CONFIG_USB_C67X00_HCD is not set
757# CONFIG_USB_ISP116X_HCD is not set 797# CONFIG_USB_ISP116X_HCD is not set
798# CONFIG_USB_ISP1760_HCD is not set
758CONFIG_USB_OHCI_HCD=y 799CONFIG_USB_OHCI_HCD=y
759CONFIG_USB_OHCI_HCD_PPC_OF=y 800CONFIG_USB_OHCI_HCD_PPC_OF=y
760CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 801CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
@@ -770,6 +811,7 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
770# 811#
771# CONFIG_USB_ACM is not set 812# CONFIG_USB_ACM is not set
772# CONFIG_USB_PRINTER is not set 813# CONFIG_USB_PRINTER is not set
814# CONFIG_USB_WDM is not set
773 815
774# 816#
775# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 817# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -790,6 +832,7 @@ CONFIG_USB_STORAGE=y
790# CONFIG_USB_STORAGE_JUMPSHOT is not set 832# CONFIG_USB_STORAGE_JUMPSHOT is not set
791# CONFIG_USB_STORAGE_ALAUDA is not set 833# CONFIG_USB_STORAGE_ALAUDA is not set
792# CONFIG_USB_STORAGE_KARMA is not set 834# CONFIG_USB_STORAGE_KARMA is not set
835# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
793# CONFIG_USB_LIBUSUAL is not set 836# CONFIG_USB_LIBUSUAL is not set
794 837
795# 838#
@@ -825,6 +868,7 @@ CONFIG_USB_MON=y
825# CONFIG_USB_LD is not set 868# CONFIG_USB_LD is not set
826# CONFIG_USB_TRANCEVIBRATOR is not set 869# CONFIG_USB_TRANCEVIBRATOR is not set
827# CONFIG_USB_IOWARRIOR is not set 870# CONFIG_USB_IOWARRIOR is not set
871# CONFIG_USB_ISIGHTFW is not set
828# CONFIG_USB_GADGET is not set 872# CONFIG_USB_GADGET is not set
829CONFIG_MMC=m 873CONFIG_MMC=m
830# CONFIG_MMC_DEBUG is not set 874# CONFIG_MMC_DEBUG is not set
@@ -836,19 +880,19 @@ CONFIG_MMC=m
836CONFIG_MMC_BLOCK=m 880CONFIG_MMC_BLOCK=m
837CONFIG_MMC_BLOCK_BOUNCE=y 881CONFIG_MMC_BLOCK_BOUNCE=y
838# CONFIG_SDIO_UART is not set 882# CONFIG_SDIO_UART is not set
883# CONFIG_MMC_TEST is not set
839 884
840# 885#
841# MMC/SD Host Controller Drivers 886# MMC/SD Host Controller Drivers
842# 887#
888# CONFIG_MMC_SDHCI is not set
843# CONFIG_MMC_WBSD is not set 889# CONFIG_MMC_WBSD is not set
844# CONFIG_MEMSTICK is not set 890# CONFIG_MEMSTICK is not set
845# CONFIG_NEW_LEDS is not set 891# CONFIG_NEW_LEDS is not set
892# CONFIG_ACCESSIBILITY is not set
846# CONFIG_EDAC is not set 893# CONFIG_EDAC is not set
847# CONFIG_RTC_CLASS is not set 894# CONFIG_RTC_CLASS is not set
848 895# CONFIG_DMADEVICES is not set
849#
850# Userspace I/O
851#
852# CONFIG_UIO is not set 896# CONFIG_UIO is not set
853 897
854# 898#
@@ -863,7 +907,6 @@ CONFIG_EXT2_FS=y
863# CONFIG_JFS_FS is not set 907# CONFIG_JFS_FS is not set
864# CONFIG_FS_POSIX_ACL is not set 908# CONFIG_FS_POSIX_ACL is not set
865# CONFIG_XFS_FS is not set 909# CONFIG_XFS_FS is not set
866# CONFIG_GFS2_FS is not set
867# CONFIG_OCFS2_FS is not set 910# CONFIG_OCFS2_FS is not set
868CONFIG_DNOTIFY=y 911CONFIG_DNOTIFY=y
869CONFIG_INOTIFY=y 912CONFIG_INOTIFY=y
@@ -924,6 +967,7 @@ CONFIG_JFFS2_RTIME=y
924CONFIG_CRAMFS=y 967CONFIG_CRAMFS=y
925# CONFIG_VXFS_FS is not set 968# CONFIG_VXFS_FS is not set
926# CONFIG_MINIX_FS is not set 969# CONFIG_MINIX_FS is not set
970# CONFIG_OMFS_FS is not set
927# CONFIG_HPFS_FS is not set 971# CONFIG_HPFS_FS is not set
928# CONFIG_QNX4FS_FS is not set 972# CONFIG_QNX4FS_FS is not set
929# CONFIG_ROMFS_FS is not set 973# CONFIG_ROMFS_FS is not set
@@ -934,14 +978,12 @@ CONFIG_NFS_FS=y
934CONFIG_NFS_V3=y 978CONFIG_NFS_V3=y
935# CONFIG_NFS_V3_ACL is not set 979# CONFIG_NFS_V3_ACL is not set
936# CONFIG_NFS_V4 is not set 980# CONFIG_NFS_V4 is not set
937# CONFIG_NFS_DIRECTIO is not set
938# CONFIG_NFSD is not set
939CONFIG_ROOT_NFS=y 981CONFIG_ROOT_NFS=y
982# CONFIG_NFSD is not set
940CONFIG_LOCKD=y 983CONFIG_LOCKD=y
941CONFIG_LOCKD_V4=y 984CONFIG_LOCKD_V4=y
942CONFIG_NFS_COMMON=y 985CONFIG_NFS_COMMON=y
943CONFIG_SUNRPC=y 986CONFIG_SUNRPC=y
944# CONFIG_SUNRPC_BIND34 is not set
945# CONFIG_RPCSEC_GSS_KRB5 is not set 987# CONFIG_RPCSEC_GSS_KRB5 is not set
946# CONFIG_RPCSEC_GSS_SPKM3 is not set 988# CONFIG_RPCSEC_GSS_SPKM3 is not set
947# CONFIG_SMB_FS is not set 989# CONFIG_SMB_FS is not set
@@ -1001,8 +1043,10 @@ CONFIG_NLS_UTF8=y
1001# Library routines 1043# Library routines
1002# 1044#
1003CONFIG_BITREVERSE=y 1045CONFIG_BITREVERSE=y
1046# CONFIG_GENERIC_FIND_FIRST_BIT is not set
1004CONFIG_CRC_CCITT=y 1047CONFIG_CRC_CCITT=y
1005# CONFIG_CRC16 is not set 1048# CONFIG_CRC16 is not set
1049CONFIG_CRC_T10DIF=y
1006# CONFIG_CRC_ITU_T is not set 1050# CONFIG_CRC_ITU_T is not set
1007CONFIG_CRC32=y 1051CONFIG_CRC32=y
1008# CONFIG_CRC7 is not set 1052# CONFIG_CRC7 is not set
@@ -1013,6 +1057,7 @@ CONFIG_PLIST=y
1013CONFIG_HAS_IOMEM=y 1057CONFIG_HAS_IOMEM=y
1014CONFIG_HAS_IOPORT=y 1058CONFIG_HAS_IOPORT=y
1015CONFIG_HAS_DMA=y 1059CONFIG_HAS_DMA=y
1060CONFIG_HAVE_LMB=y
1016 1061
1017# 1062#
1018# Kernel hacking 1063# Kernel hacking
@@ -1020,6 +1065,7 @@ CONFIG_HAS_DMA=y
1020# CONFIG_PRINTK_TIME is not set 1065# CONFIG_PRINTK_TIME is not set
1021CONFIG_ENABLE_WARN_DEPRECATED=y 1066CONFIG_ENABLE_WARN_DEPRECATED=y
1022CONFIG_ENABLE_MUST_CHECK=y 1067CONFIG_ENABLE_MUST_CHECK=y
1068CONFIG_FRAME_WARN=1024
1023CONFIG_MAGIC_SYSRQ=y 1069CONFIG_MAGIC_SYSRQ=y
1024# CONFIG_UNUSED_SYMBOLS is not set 1070# CONFIG_UNUSED_SYMBOLS is not set
1025CONFIG_DEBUG_FS=y 1071CONFIG_DEBUG_FS=y
@@ -1027,9 +1073,12 @@ CONFIG_DEBUG_FS=y
1027CONFIG_DEBUG_KERNEL=y 1073CONFIG_DEBUG_KERNEL=y
1028# CONFIG_DEBUG_SHIRQ is not set 1074# CONFIG_DEBUG_SHIRQ is not set
1029CONFIG_DETECT_SOFTLOCKUP=y 1075CONFIG_DETECT_SOFTLOCKUP=y
1076# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1077CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1030# CONFIG_SCHED_DEBUG is not set 1078# CONFIG_SCHED_DEBUG is not set
1031# CONFIG_SCHEDSTATS is not set 1079# CONFIG_SCHEDSTATS is not set
1032# CONFIG_TIMER_STATS is not set 1080# CONFIG_TIMER_STATS is not set
1081# CONFIG_DEBUG_OBJECTS is not set
1033# CONFIG_DEBUG_SLAB is not set 1082# CONFIG_DEBUG_SLAB is not set
1034# CONFIG_DEBUG_RT_MUTEXES is not set 1083# CONFIG_DEBUG_RT_MUTEXES is not set
1035# CONFIG_RT_MUTEX_TESTER is not set 1084# CONFIG_RT_MUTEX_TESTER is not set
@@ -1041,17 +1090,30 @@ CONFIG_DETECT_SOFTLOCKUP=y
1041# CONFIG_DEBUG_BUGVERBOSE is not set 1090# CONFIG_DEBUG_BUGVERBOSE is not set
1042CONFIG_DEBUG_INFO=y 1091CONFIG_DEBUG_INFO=y
1043# CONFIG_DEBUG_VM is not set 1092# CONFIG_DEBUG_VM is not set
1093# CONFIG_DEBUG_WRITECOUNT is not set
1094# CONFIG_DEBUG_MEMORY_INIT is not set
1044# CONFIG_DEBUG_LIST is not set 1095# CONFIG_DEBUG_LIST is not set
1045# CONFIG_DEBUG_SG is not set 1096# CONFIG_DEBUG_SG is not set
1046# CONFIG_BOOT_PRINTK_DELAY is not set 1097# CONFIG_BOOT_PRINTK_DELAY is not set
1047# CONFIG_RCU_TORTURE_TEST is not set 1098# CONFIG_RCU_TORTURE_TEST is not set
1048# CONFIG_BACKTRACE_SELF_TEST is not set 1099# CONFIG_BACKTRACE_SELF_TEST is not set
1049# CONFIG_FAULT_INJECTION is not set 1100# CONFIG_FAULT_INJECTION is not set
1101# CONFIG_LATENCYTOP is not set
1102CONFIG_HAVE_FTRACE=y
1103CONFIG_HAVE_DYNAMIC_FTRACE=y
1104# CONFIG_FTRACE is not set
1105# CONFIG_SCHED_TRACER is not set
1106# CONFIG_CONTEXT_SWITCH_TRACER is not set
1050# CONFIG_SAMPLES is not set 1107# CONFIG_SAMPLES is not set
1108CONFIG_HAVE_ARCH_KGDB=y
1109# CONFIG_KGDB is not set
1051# CONFIG_DEBUG_STACKOVERFLOW is not set 1110# CONFIG_DEBUG_STACKOVERFLOW is not set
1052# CONFIG_DEBUG_STACK_USAGE is not set 1111# CONFIG_DEBUG_STACK_USAGE is not set
1053# CONFIG_DEBUG_PAGEALLOC is not set 1112# CONFIG_DEBUG_PAGEALLOC is not set
1054# CONFIG_DEBUGGER is not set 1113# CONFIG_CODE_PATCHING_SELFTEST is not set
1114# CONFIG_FTR_FIXUP_SELFTEST is not set
1115# CONFIG_XMON is not set
1116# CONFIG_IRQSTACKS is not set
1055# CONFIG_VIRQ_DEBUG is not set 1117# CONFIG_VIRQ_DEBUG is not set
1056CONFIG_BDI_SWITCH=y 1118CONFIG_BDI_SWITCH=y
1057# CONFIG_PPC_EARLY_DEBUG is not set 1119# CONFIG_PPC_EARLY_DEBUG is not set
@@ -1063,48 +1125,82 @@ CONFIG_BDI_SWITCH=y
1063# CONFIG_SECURITY is not set 1125# CONFIG_SECURITY is not set
1064# CONFIG_SECURITY_FILE_CAPABILITIES is not set 1126# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1065CONFIG_CRYPTO=y 1127CONFIG_CRYPTO=y
1066# CONFIG_CRYPTO_SEQIV is not set 1128
1129#
1130# Crypto core or helper
1131#
1067# CONFIG_CRYPTO_MANAGER is not set 1132# CONFIG_CRYPTO_MANAGER is not set
1133# CONFIG_CRYPTO_GF128MUL is not set
1134# CONFIG_CRYPTO_NULL is not set
1135# CONFIG_CRYPTO_CRYPTD is not set
1136# CONFIG_CRYPTO_AUTHENC is not set
1137# CONFIG_CRYPTO_TEST is not set
1138
1139#
1140# Authenticated Encryption with Associated Data
1141#
1142# CONFIG_CRYPTO_CCM is not set
1143# CONFIG_CRYPTO_GCM is not set
1144# CONFIG_CRYPTO_SEQIV is not set
1145
1146#
1147# Block modes
1148#
1149# CONFIG_CRYPTO_CBC is not set
1150# CONFIG_CRYPTO_CTR is not set
1151# CONFIG_CRYPTO_CTS is not set
1152# CONFIG_CRYPTO_ECB is not set
1153# CONFIG_CRYPTO_LRW is not set
1154# CONFIG_CRYPTO_PCBC is not set
1155# CONFIG_CRYPTO_XTS is not set
1156
1157#
1158# Hash modes
1159#
1068# CONFIG_CRYPTO_HMAC is not set 1160# CONFIG_CRYPTO_HMAC is not set
1069# CONFIG_CRYPTO_XCBC is not set 1161# CONFIG_CRYPTO_XCBC is not set
1070# CONFIG_CRYPTO_NULL is not set 1162
1163#
1164# Digest
1165#
1166# CONFIG_CRYPTO_CRC32C is not set
1071# CONFIG_CRYPTO_MD4 is not set 1167# CONFIG_CRYPTO_MD4 is not set
1072# CONFIG_CRYPTO_MD5 is not set 1168# CONFIG_CRYPTO_MD5 is not set
1169# CONFIG_CRYPTO_MICHAEL_MIC is not set
1170# CONFIG_CRYPTO_RMD128 is not set
1171# CONFIG_CRYPTO_RMD160 is not set
1172# CONFIG_CRYPTO_RMD256 is not set
1173# CONFIG_CRYPTO_RMD320 is not set
1073# CONFIG_CRYPTO_SHA1 is not set 1174# CONFIG_CRYPTO_SHA1 is not set
1074# CONFIG_CRYPTO_SHA256 is not set 1175# CONFIG_CRYPTO_SHA256 is not set
1075# CONFIG_CRYPTO_SHA512 is not set 1176# CONFIG_CRYPTO_SHA512 is not set
1076# CONFIG_CRYPTO_WP512 is not set
1077# CONFIG_CRYPTO_TGR192 is not set 1177# CONFIG_CRYPTO_TGR192 is not set
1078# CONFIG_CRYPTO_GF128MUL is not set 1178# CONFIG_CRYPTO_WP512 is not set
1079# CONFIG_CRYPTO_ECB is not set 1179
1080# CONFIG_CRYPTO_CBC is not set 1180#
1081# CONFIG_CRYPTO_PCBC is not set 1181# Ciphers
1082# CONFIG_CRYPTO_LRW is not set 1182#
1083# CONFIG_CRYPTO_XTS is not set
1084# CONFIG_CRYPTO_CTR is not set
1085# CONFIG_CRYPTO_GCM is not set
1086# CONFIG_CRYPTO_CCM is not set
1087# CONFIG_CRYPTO_CRYPTD is not set
1088# CONFIG_CRYPTO_DES is not set
1089# CONFIG_CRYPTO_FCRYPT is not set
1090# CONFIG_CRYPTO_BLOWFISH is not set
1091# CONFIG_CRYPTO_TWOFISH is not set
1092# CONFIG_CRYPTO_SERPENT is not set
1093# CONFIG_CRYPTO_AES is not set 1183# CONFIG_CRYPTO_AES is not set
1184# CONFIG_CRYPTO_ANUBIS is not set
1185# CONFIG_CRYPTO_ARC4 is not set
1186# CONFIG_CRYPTO_BLOWFISH is not set
1187# CONFIG_CRYPTO_CAMELLIA is not set
1094# CONFIG_CRYPTO_CAST5 is not set 1188# CONFIG_CRYPTO_CAST5 is not set
1095# CONFIG_CRYPTO_CAST6 is not set 1189# CONFIG_CRYPTO_CAST6 is not set
1096# CONFIG_CRYPTO_TEA is not set 1190# CONFIG_CRYPTO_DES is not set
1097# CONFIG_CRYPTO_ARC4 is not set 1191# CONFIG_CRYPTO_FCRYPT is not set
1098# CONFIG_CRYPTO_KHAZAD is not set 1192# CONFIG_CRYPTO_KHAZAD is not set
1099# CONFIG_CRYPTO_ANUBIS is not set
1100# CONFIG_CRYPTO_SEED is not set
1101# CONFIG_CRYPTO_SALSA20 is not set 1193# CONFIG_CRYPTO_SALSA20 is not set
1194# CONFIG_CRYPTO_SEED is not set
1195# CONFIG_CRYPTO_SERPENT is not set
1196# CONFIG_CRYPTO_TEA is not set
1197# CONFIG_CRYPTO_TWOFISH is not set
1198
1199#
1200# Compression
1201#
1102# CONFIG_CRYPTO_DEFLATE is not set 1202# CONFIG_CRYPTO_DEFLATE is not set
1103# CONFIG_CRYPTO_MICHAEL_MIC is not set
1104# CONFIG_CRYPTO_CRC32C is not set
1105# CONFIG_CRYPTO_CAMELLIA is not set
1106# CONFIG_CRYPTO_TEST is not set
1107# CONFIG_CRYPTO_AUTHENC is not set
1108# CONFIG_CRYPTO_LZO is not set 1203# CONFIG_CRYPTO_LZO is not set
1109CONFIG_CRYPTO_HW=y 1204CONFIG_CRYPTO_HW=y
1110# CONFIG_PPC_CLOCK is not set 1205# CONFIG_PPC_CLOCK is not set
1206# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/ppc40x_defconfig b/arch/powerpc/configs/ppc40x_defconfig
index 9d0140e3838e..6a5b713a07e0 100644
--- a/arch/powerpc/configs/ppc40x_defconfig
+++ b/arch/powerpc/configs/ppc40x_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.25-rc9 3# Linux kernel version: 2.6.27-rc1
4# Tue Apr 15 08:46:44 2008 4# Tue Aug 5 12:34:33 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -26,8 +26,12 @@ CONFIG_GENERIC_TIME=y
26CONFIG_GENERIC_TIME_VSYSCALL=y 26CONFIG_GENERIC_TIME_VSYSCALL=y
27CONFIG_GENERIC_CLOCKEVENTS=y 27CONFIG_GENERIC_CLOCKEVENTS=y
28CONFIG_GENERIC_HARDIRQS=y 28CONFIG_GENERIC_HARDIRQS=y
29# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
29# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 30# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
30CONFIG_IRQ_PER_CPU=y 31CONFIG_IRQ_PER_CPU=y
32CONFIG_STACKTRACE_SUPPORT=y
33CONFIG_HAVE_LATENCYTOP_SUPPORT=y
34CONFIG_LOCKDEP_SUPPORT=y
31CONFIG_RWSEM_XCHGADD_ALGORITHM=y 35CONFIG_RWSEM_XCHGADD_ALGORITHM=y
32CONFIG_ARCH_HAS_ILOG2_U32=y 36CONFIG_ARCH_HAS_ILOG2_U32=y
33CONFIG_GENERIC_HWEIGHT=y 37CONFIG_GENERIC_HWEIGHT=y
@@ -84,6 +88,7 @@ CONFIG_INITRAMFS_SOURCE=""
84CONFIG_SYSCTL=y 88CONFIG_SYSCTL=y
85CONFIG_EMBEDDED=y 89CONFIG_EMBEDDED=y
86CONFIG_SYSCTL_SYSCALL=y 90CONFIG_SYSCTL_SYSCALL=y
91CONFIG_SYSCTL_SYSCALL_CHECK=y
87CONFIG_KALLSYMS=y 92CONFIG_KALLSYMS=y
88CONFIG_KALLSYMS_ALL=y 93CONFIG_KALLSYMS_ALL=y
89CONFIG_KALLSYMS_EXTRA_PASS=y 94CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -109,14 +114,22 @@ CONFIG_SLUB=y
109# CONFIG_MARKERS is not set 114# CONFIG_MARKERS is not set
110CONFIG_HAVE_OPROFILE=y 115CONFIG_HAVE_OPROFILE=y
111# CONFIG_KPROBES is not set 116# CONFIG_KPROBES is not set
117CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
118CONFIG_HAVE_IOREMAP_PROT=y
112CONFIG_HAVE_KPROBES=y 119CONFIG_HAVE_KPROBES=y
113CONFIG_HAVE_KRETPROBES=y 120CONFIG_HAVE_KRETPROBES=y
121CONFIG_HAVE_ARCH_TRACEHOOK=y
122# CONFIG_HAVE_DMA_ATTRS is not set
123# CONFIG_USE_GENERIC_SMP_HELPERS is not set
124# CONFIG_HAVE_CLK is not set
114CONFIG_PROC_PAGE_MONITOR=y 125CONFIG_PROC_PAGE_MONITOR=y
126# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
115CONFIG_SLABINFO=y 127CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y 128CONFIG_RT_MUTEXES=y
117# CONFIG_TINY_SHMEM is not set 129# CONFIG_TINY_SHMEM is not set
118CONFIG_BASE_SMALL=0 130CONFIG_BASE_SMALL=0
119CONFIG_MODULES=y 131CONFIG_MODULES=y
132# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y 133CONFIG_MODULE_UNLOAD=y
121# CONFIG_MODULE_FORCE_UNLOAD is not set 134# CONFIG_MODULE_FORCE_UNLOAD is not set
122# CONFIG_MODVERSIONS is not set 135# CONFIG_MODVERSIONS is not set
@@ -127,6 +140,7 @@ CONFIG_LBD=y
127# CONFIG_BLK_DEV_IO_TRACE is not set 140# CONFIG_BLK_DEV_IO_TRACE is not set
128# CONFIG_LSF is not set 141# CONFIG_LSF is not set
129# CONFIG_BLK_DEV_BSG is not set 142# CONFIG_BLK_DEV_BSG is not set
143# CONFIG_BLK_DEV_INTEGRITY is not set
130 144
131# 145#
132# IO Schedulers 146# IO Schedulers
@@ -146,11 +160,10 @@ CONFIG_PPC4xx_PCI_EXPRESS=y
146# 160#
147# Platform support 161# Platform support
148# 162#
149# CONFIG_PPC_MPC512x is not set
150# CONFIG_PPC_MPC5121 is not set
151# CONFIG_PPC_CELL is not set 163# CONFIG_PPC_CELL is not set
152# CONFIG_PPC_CELL_NATIVE is not set 164# CONFIG_PPC_CELL_NATIVE is not set
153# CONFIG_PQ2ADS is not set 165# CONFIG_PQ2ADS is not set
166CONFIG_XILINX_VIRTEX=y
154CONFIG_EP405=y 167CONFIG_EP405=y
155CONFIG_KILAUEA=y 168CONFIG_KILAUEA=y
156CONFIG_MAKALU=y 169CONFIG_MAKALU=y
@@ -158,7 +171,6 @@ CONFIG_WALNUT=y
158CONFIG_XILINX_VIRTEX_GENERIC_BOARD=y 171CONFIG_XILINX_VIRTEX_GENERIC_BOARD=y
159CONFIG_405GP=y 172CONFIG_405GP=y
160CONFIG_405EX=y 173CONFIG_405EX=y
161CONFIG_XILINX_VIRTEX=y
162CONFIG_XILINX_VIRTEX_II_PRO=y 174CONFIG_XILINX_VIRTEX_II_PRO=y
163CONFIG_XILINX_VIRTEX_4_FX=y 175CONFIG_XILINX_VIRTEX_4_FX=y
164CONFIG_IBM405_ERR77=y 176CONFIG_IBM405_ERR77=y
@@ -211,7 +223,9 @@ CONFIG_FLATMEM=y
211CONFIG_FLAT_NODE_MEM_MAP=y 223CONFIG_FLAT_NODE_MEM_MAP=y
212# CONFIG_SPARSEMEM_STATIC is not set 224# CONFIG_SPARSEMEM_STATIC is not set
213# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 225# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
226CONFIG_PAGEFLAGS_EXTENDED=y
214CONFIG_SPLIT_PTLOCK_CPUS=4 227CONFIG_SPLIT_PTLOCK_CPUS=4
228CONFIG_MIGRATION=y
215CONFIG_RESOURCES_64BIT=y 229CONFIG_RESOURCES_64BIT=y
216CONFIG_ZONE_DMA_FLAG=1 230CONFIG_ZONE_DMA_FLAG=1
217CONFIG_BOUNCE=y 231CONFIG_BOUNCE=y
@@ -219,6 +233,7 @@ CONFIG_VIRT_TO_BUS=y
219CONFIG_FORCE_MAX_ZONEORDER=11 233CONFIG_FORCE_MAX_ZONEORDER=11
220CONFIG_PROC_DEVICETREE=y 234CONFIG_PROC_DEVICETREE=y
221# CONFIG_CMDLINE_BOOL is not set 235# CONFIG_CMDLINE_BOOL is not set
236CONFIG_EXTRA_TARGETS=""
222# CONFIG_PM is not set 237# CONFIG_PM is not set
223CONFIG_SECCOMP=y 238CONFIG_SECCOMP=y
224CONFIG_ISA_DMA_API=y 239CONFIG_ISA_DMA_API=y
@@ -229,6 +244,7 @@ CONFIG_ISA_DMA_API=y
229CONFIG_ZONE_DMA=y 244CONFIG_ZONE_DMA=y
230CONFIG_PPC_INDIRECT_PCI=y 245CONFIG_PPC_INDIRECT_PCI=y
231CONFIG_4xx_SOC=y 246CONFIG_4xx_SOC=y
247CONFIG_PPC_PCI_CHOICE=y
232CONFIG_PCI=y 248CONFIG_PCI=y
233CONFIG_PCI_DOMAINS=y 249CONFIG_PCI_DOMAINS=y
234CONFIG_PCI_SYSCALL=y 250CONFIG_PCI_SYSCALL=y
@@ -239,6 +255,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y
239# CONFIG_PCI_DEBUG is not set 255# CONFIG_PCI_DEBUG is not set
240# CONFIG_PCCARD is not set 256# CONFIG_PCCARD is not set
241# CONFIG_HOTPLUG_PCI is not set 257# CONFIG_HOTPLUG_PCI is not set
258# CONFIG_HAS_RAPIDIO is not set
242 259
243# 260#
244# Advanced setup 261# Advanced setup
@@ -248,17 +265,13 @@ CONFIG_ARCH_SUPPORTS_MSI=y
248# 265#
249# Default settings for advanced configuration options are used 266# Default settings for advanced configuration options are used
250# 267#
251CONFIG_HIGHMEM_START=0xfe000000
252CONFIG_LOWMEM_SIZE=0x30000000 268CONFIG_LOWMEM_SIZE=0x30000000
269CONFIG_PAGE_OFFSET=0xc0000000
253CONFIG_KERNEL_START=0xc0000000 270CONFIG_KERNEL_START=0xc0000000
271CONFIG_PHYSICAL_START=0x00000000
254CONFIG_TASK_SIZE=0xc0000000 272CONFIG_TASK_SIZE=0xc0000000
255CONFIG_CONSISTENT_START=0xff100000 273CONFIG_CONSISTENT_START=0xff100000
256CONFIG_CONSISTENT_SIZE=0x00200000 274CONFIG_CONSISTENT_SIZE=0x00200000
257CONFIG_BOOT_LOAD=0x00400000
258
259#
260# Networking
261#
262CONFIG_NET=y 275CONFIG_NET=y
263 276
264# 277#
@@ -267,6 +280,11 @@ CONFIG_NET=y
267CONFIG_PACKET=y 280CONFIG_PACKET=y
268# CONFIG_PACKET_MMAP is not set 281# CONFIG_PACKET_MMAP is not set
269CONFIG_UNIX=y 282CONFIG_UNIX=y
283CONFIG_XFRM=y
284# CONFIG_XFRM_USER is not set
285# CONFIG_XFRM_SUB_POLICY is not set
286# CONFIG_XFRM_MIGRATE is not set
287# CONFIG_XFRM_STATISTICS is not set
270# CONFIG_NET_KEY is not set 288# CONFIG_NET_KEY is not set
271CONFIG_INET=y 289CONFIG_INET=y
272# CONFIG_IP_MULTICAST is not set 290# CONFIG_IP_MULTICAST is not set
@@ -284,7 +302,7 @@ CONFIG_IP_PNP_BOOTP=y
284# CONFIG_INET_ESP is not set 302# CONFIG_INET_ESP is not set
285# CONFIG_INET_IPCOMP is not set 303# CONFIG_INET_IPCOMP is not set
286# CONFIG_INET_XFRM_TUNNEL is not set 304# CONFIG_INET_XFRM_TUNNEL is not set
287# CONFIG_INET_TUNNEL is not set 305CONFIG_INET_TUNNEL=m
288# CONFIG_INET_XFRM_MODE_TRANSPORT is not set 306# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
289# CONFIG_INET_XFRM_MODE_TUNNEL is not set 307# CONFIG_INET_XFRM_MODE_TUNNEL is not set
290# CONFIG_INET_XFRM_MODE_BEET is not set 308# CONFIG_INET_XFRM_MODE_BEET is not set
@@ -295,9 +313,25 @@ CONFIG_INET_TCP_DIAG=y
295CONFIG_TCP_CONG_CUBIC=y 313CONFIG_TCP_CONG_CUBIC=y
296CONFIG_DEFAULT_TCP_CONG="cubic" 314CONFIG_DEFAULT_TCP_CONG="cubic"
297# CONFIG_TCP_MD5SIG is not set 315# CONFIG_TCP_MD5SIG is not set
298# CONFIG_IPV6 is not set 316CONFIG_IPV6=m
317# CONFIG_IPV6_PRIVACY is not set
318# CONFIG_IPV6_ROUTER_PREF is not set
319# CONFIG_IPV6_OPTIMISTIC_DAD is not set
320# CONFIG_INET6_AH is not set
321# CONFIG_INET6_ESP is not set
322# CONFIG_INET6_IPCOMP is not set
323# CONFIG_IPV6_MIP6 is not set
299# CONFIG_INET6_XFRM_TUNNEL is not set 324# CONFIG_INET6_XFRM_TUNNEL is not set
300# CONFIG_INET6_TUNNEL is not set 325# CONFIG_INET6_TUNNEL is not set
326CONFIG_INET6_XFRM_MODE_TRANSPORT=m
327CONFIG_INET6_XFRM_MODE_TUNNEL=m
328CONFIG_INET6_XFRM_MODE_BEET=m
329# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
330CONFIG_IPV6_SIT=m
331CONFIG_IPV6_NDISC_NODETYPE=y
332# CONFIG_IPV6_TUNNEL is not set
333# CONFIG_IPV6_MULTIPLE_TABLES is not set
334# CONFIG_IPV6_MROUTE is not set
301# CONFIG_NETWORK_SECMARK is not set 335# CONFIG_NETWORK_SECMARK is not set
302# CONFIG_NETFILTER is not set 336# CONFIG_NETFILTER is not set
303# CONFIG_IP_DCCP is not set 337# CONFIG_IP_DCCP is not set
@@ -347,6 +381,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
347CONFIG_STANDALONE=y 381CONFIG_STANDALONE=y
348CONFIG_PREVENT_FIRMWARE_BUILD=y 382CONFIG_PREVENT_FIRMWARE_BUILD=y
349CONFIG_FW_LOADER=y 383CONFIG_FW_LOADER=y
384CONFIG_FIRMWARE_IN_KERNEL=y
385CONFIG_EXTRA_FIRMWARE=""
350# CONFIG_DEBUG_DRIVER is not set 386# CONFIG_DEBUG_DRIVER is not set
351# CONFIG_DEBUG_DEVRES is not set 387# CONFIG_DEBUG_DEVRES is not set
352# CONFIG_SYS_HYPERVISOR is not set 388# CONFIG_SYS_HYPERVISOR is not set
@@ -359,6 +395,7 @@ CONFIG_MTD_PARTITIONS=y
359# CONFIG_MTD_REDBOOT_PARTS is not set 395# CONFIG_MTD_REDBOOT_PARTS is not set
360CONFIG_MTD_CMDLINE_PARTS=y 396CONFIG_MTD_CMDLINE_PARTS=y
361CONFIG_MTD_OF_PARTS=y 397CONFIG_MTD_OF_PARTS=y
398# CONFIG_MTD_AR7_PARTS is not set
362 399
363# 400#
364# User Modules And Translation Layers 401# User Modules And Translation Layers
@@ -429,8 +466,17 @@ CONFIG_MTD_PHYSMAP_OF=y
429# 466#
430# UBI - Unsorted block images 467# UBI - Unsorted block images
431# 468#
432# CONFIG_MTD_UBI is not set 469CONFIG_MTD_UBI=m
470CONFIG_MTD_UBI_WL_THRESHOLD=4096
471CONFIG_MTD_UBI_BEB_RESERVE=1
472CONFIG_MTD_UBI_GLUEBI=y
473
474#
475# UBI debugging options
476#
477# CONFIG_MTD_UBI_DEBUG is not set
433CONFIG_OF_DEVICE=y 478CONFIG_OF_DEVICE=y
479CONFIG_OF_I2C=m
434# CONFIG_PARPORT is not set 480# CONFIG_PARPORT is not set
435CONFIG_BLK_DEV=y 481CONFIG_BLK_DEV=y
436# CONFIG_BLK_DEV_FD is not set 482# CONFIG_BLK_DEV_FD is not set
@@ -449,12 +495,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
449# CONFIG_CDROM_PKTCDVD is not set 495# CONFIG_CDROM_PKTCDVD is not set
450# CONFIG_ATA_OVER_ETH is not set 496# CONFIG_ATA_OVER_ETH is not set
451# CONFIG_XILINX_SYSACE is not set 497# CONFIG_XILINX_SYSACE is not set
498# CONFIG_BLK_DEV_HD is not set
452CONFIG_MISC_DEVICES=y 499CONFIG_MISC_DEVICES=y
453# CONFIG_PHANTOM is not set 500# CONFIG_PHANTOM is not set
454# CONFIG_EEPROM_93CX6 is not set 501# CONFIG_EEPROM_93CX6 is not set
455# CONFIG_SGI_IOC4 is not set 502# CONFIG_SGI_IOC4 is not set
456# CONFIG_TIFM_CORE is not set 503# CONFIG_TIFM_CORE is not set
457# CONFIG_ENCLOSURE_SERVICES is not set 504# CONFIG_ENCLOSURE_SERVICES is not set
505# CONFIG_HP_ILO is not set
458CONFIG_HAVE_IDE=y 506CONFIG_HAVE_IDE=y
459# CONFIG_IDE is not set 507# CONFIG_IDE is not set
460 508
@@ -472,12 +520,15 @@ CONFIG_HAVE_IDE=y
472# 520#
473# IEEE 1394 (FireWire) support 521# IEEE 1394 (FireWire) support
474# 522#
523
524#
525# Enable only one of the two stacks, unless you know what you are doing
526#
475# CONFIG_FIREWIRE is not set 527# CONFIG_FIREWIRE is not set
476# CONFIG_IEEE1394 is not set 528# CONFIG_IEEE1394 is not set
477# CONFIG_I2O is not set 529# CONFIG_I2O is not set
478# CONFIG_MACINTOSH_DRIVERS is not set 530# CONFIG_MACINTOSH_DRIVERS is not set
479CONFIG_NETDEVICES=y 531CONFIG_NETDEVICES=y
480# CONFIG_NETDEVICES_MULTIQUEUE is not set
481# CONFIG_DUMMY is not set 532# CONFIG_DUMMY is not set
482# CONFIG_BONDING is not set 533# CONFIG_BONDING is not set
483# CONFIG_MACVLAN is not set 534# CONFIG_MACVLAN is not set
@@ -512,7 +563,6 @@ CONFIG_NETDEV_1000=y
512# CONFIG_DL2K is not set 563# CONFIG_DL2K is not set
513# CONFIG_E1000 is not set 564# CONFIG_E1000 is not set
514# CONFIG_E1000E is not set 565# CONFIG_E1000E is not set
515# CONFIG_E1000E_ENABLED is not set
516# CONFIG_IP1000 is not set 566# CONFIG_IP1000 is not set
517# CONFIG_IGB is not set 567# CONFIG_IGB is not set
518# CONFIG_NS83820 is not set 568# CONFIG_NS83820 is not set
@@ -522,12 +572,12 @@ CONFIG_NETDEV_1000=y
522# CONFIG_SIS190 is not set 572# CONFIG_SIS190 is not set
523# CONFIG_SKGE is not set 573# CONFIG_SKGE is not set
524# CONFIG_SKY2 is not set 574# CONFIG_SKY2 is not set
525# CONFIG_SK98LIN is not set
526# CONFIG_VIA_VELOCITY is not set 575# CONFIG_VIA_VELOCITY is not set
527# CONFIG_TIGON3 is not set 576# CONFIG_TIGON3 is not set
528# CONFIG_BNX2 is not set 577# CONFIG_BNX2 is not set
529# CONFIG_QLA3XXX is not set 578# CONFIG_QLA3XXX is not set
530# CONFIG_ATL1 is not set 579# CONFIG_ATL1 is not set
580# CONFIG_ATL1E is not set
531CONFIG_NETDEV_10000=y 581CONFIG_NETDEV_10000=y
532# CONFIG_CHELSIO_T1 is not set 582# CONFIG_CHELSIO_T1 is not set
533# CONFIG_CHELSIO_T3 is not set 583# CONFIG_CHELSIO_T3 is not set
@@ -540,6 +590,7 @@ CONFIG_NETDEV_10000=y
540# CONFIG_MLX4_CORE is not set 590# CONFIG_MLX4_CORE is not set
541# CONFIG_TEHUTI is not set 591# CONFIG_TEHUTI is not set
542# CONFIG_BNX2X is not set 592# CONFIG_BNX2X is not set
593# CONFIG_SFC is not set
543# CONFIG_TR is not set 594# CONFIG_TR is not set
544 595
545# 596#
@@ -547,6 +598,7 @@ CONFIG_NETDEV_10000=y
547# 598#
548# CONFIG_WLAN_PRE80211 is not set 599# CONFIG_WLAN_PRE80211 is not set
549# CONFIG_WLAN_80211 is not set 600# CONFIG_WLAN_80211 is not set
601# CONFIG_IWLWIFI_LEDS is not set
550# CONFIG_WAN is not set 602# CONFIG_WAN is not set
551# CONFIG_FDDI is not set 603# CONFIG_FDDI is not set
552# CONFIG_HIPPI is not set 604# CONFIG_HIPPI is not set
@@ -573,6 +625,7 @@ CONFIG_NETDEV_10000=y
573# Character devices 625# Character devices
574# 626#
575# CONFIG_VT is not set 627# CONFIG_VT is not set
628CONFIG_DEVKMEM=y
576# CONFIG_SERIAL_NONSTANDARD is not set 629# CONFIG_SERIAL_NONSTANDARD is not set
577# CONFIG_NOZOMI is not set 630# CONFIG_NOZOMI is not set
578 631
@@ -611,13 +664,76 @@ CONFIG_XILINX_HWICAP=m
611# CONFIG_RAW_DRIVER is not set 664# CONFIG_RAW_DRIVER is not set
612# CONFIG_TCG_TPM is not set 665# CONFIG_TCG_TPM is not set
613CONFIG_DEVPORT=y 666CONFIG_DEVPORT=y
614# CONFIG_I2C is not set 667CONFIG_I2C=m
668CONFIG_I2C_BOARDINFO=y
669CONFIG_I2C_CHARDEV=m
615 670
616# 671#
617# SPI support 672# I2C Hardware Bus support
673#
674
675#
676# PC SMBus host controller drivers
677#
678# CONFIG_I2C_ALI1535 is not set
679# CONFIG_I2C_ALI1563 is not set
680# CONFIG_I2C_ALI15X3 is not set
681# CONFIG_I2C_AMD756 is not set
682# CONFIG_I2C_AMD8111 is not set
683# CONFIG_I2C_I801 is not set
684# CONFIG_I2C_ISCH is not set
685# CONFIG_I2C_PIIX4 is not set
686# CONFIG_I2C_NFORCE2 is not set
687# CONFIG_I2C_SIS5595 is not set
688# CONFIG_I2C_SIS630 is not set
689# CONFIG_I2C_SIS96X is not set
690# CONFIG_I2C_VIA is not set
691# CONFIG_I2C_VIAPRO is not set
692
618# 693#
694# I2C system bus drivers (mostly embedded / system-on-chip)
695#
696CONFIG_I2C_IBM_IIC=m
697# CONFIG_I2C_MPC is not set
698# CONFIG_I2C_OCORES is not set
699# CONFIG_I2C_SIMTEC is not set
700
701#
702# External I2C/SMBus adapter drivers
703#
704# CONFIG_I2C_PARPORT_LIGHT is not set
705# CONFIG_I2C_TAOS_EVM is not set
706
707#
708# Graphics adapter I2C/DDC channel drivers
709#
710# CONFIG_I2C_VOODOO3 is not set
711
712#
713# Other I2C/SMBus bus drivers
714#
715# CONFIG_I2C_PCA_PLATFORM is not set
716# CONFIG_I2C_STUB is not set
717
718#
719# Miscellaneous I2C Chip support
720#
721# CONFIG_DS1682 is not set
722# CONFIG_AT24 is not set
723# CONFIG_SENSORS_EEPROM is not set
724# CONFIG_SENSORS_PCF8574 is not set
725# CONFIG_PCF8575 is not set
726# CONFIG_SENSORS_PCA9539 is not set
727# CONFIG_SENSORS_PCF8591 is not set
728# CONFIG_SENSORS_MAX6875 is not set
729# CONFIG_SENSORS_TSL2550 is not set
730# CONFIG_I2C_DEBUG_CORE is not set
731# CONFIG_I2C_DEBUG_ALGO is not set
732# CONFIG_I2C_DEBUG_BUS is not set
733# CONFIG_I2C_DEBUG_CHIP is not set
619# CONFIG_SPI is not set 734# CONFIG_SPI is not set
620# CONFIG_SPI_MASTER is not set 735CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
736# CONFIG_GPIOLIB is not set
621# CONFIG_W1 is not set 737# CONFIG_W1 is not set
622# CONFIG_POWER_SUPPLY is not set 738# CONFIG_POWER_SUPPLY is not set
623# CONFIG_HWMON is not set 739# CONFIG_HWMON is not set
@@ -633,13 +749,24 @@ CONFIG_SSB_POSSIBLE=y
633# 749#
634# Multifunction device drivers 750# Multifunction device drivers
635# 751#
752# CONFIG_MFD_CORE is not set
636# CONFIG_MFD_SM501 is not set 753# CONFIG_MFD_SM501 is not set
754# CONFIG_HTC_PASIC3 is not set
637 755
638# 756#
639# Multimedia devices 757# Multimedia devices
640# 758#
759
760#
761# Multimedia core support
762#
641# CONFIG_VIDEO_DEV is not set 763# CONFIG_VIDEO_DEV is not set
642# CONFIG_DVB_CORE is not set 764# CONFIG_DVB_CORE is not set
765# CONFIG_VIDEO_MEDIA is not set
766
767#
768# Multimedia drivers
769#
643# CONFIG_DAB is not set 770# CONFIG_DAB is not set
644 771
645# 772#
@@ -656,16 +783,14 @@ CONFIG_VIDEO_OUTPUT_CONTROL=m
656# Display device support 783# Display device support
657# 784#
658# CONFIG_DISPLAY_SUPPORT is not set 785# CONFIG_DISPLAY_SUPPORT is not set
659
660#
661# Sound
662#
663# CONFIG_SOUND is not set 786# CONFIG_SOUND is not set
664CONFIG_USB_SUPPORT=y 787CONFIG_USB_SUPPORT=y
665CONFIG_USB_ARCH_HAS_HCD=y 788CONFIG_USB_ARCH_HAS_HCD=y
666CONFIG_USB_ARCH_HAS_OHCI=y 789CONFIG_USB_ARCH_HAS_OHCI=y
667CONFIG_USB_ARCH_HAS_EHCI=y 790CONFIG_USB_ARCH_HAS_EHCI=y
668# CONFIG_USB is not set 791# CONFIG_USB is not set
792# CONFIG_USB_OTG_WHITELIST is not set
793# CONFIG_USB_OTG_BLACKLIST_HUB is not set
669 794
670# 795#
671# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 796# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -674,14 +799,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
674# CONFIG_MMC is not set 799# CONFIG_MMC is not set
675# CONFIG_MEMSTICK is not set 800# CONFIG_MEMSTICK is not set
676# CONFIG_NEW_LEDS is not set 801# CONFIG_NEW_LEDS is not set
802# CONFIG_ACCESSIBILITY is not set
677# CONFIG_INFINIBAND is not set 803# CONFIG_INFINIBAND is not set
678# CONFIG_EDAC is not set 804# CONFIG_EDAC is not set
679# CONFIG_RTC_CLASS is not set 805# CONFIG_RTC_CLASS is not set
680# CONFIG_DMADEVICES is not set 806# CONFIG_DMADEVICES is not set
681
682#
683# Userspace I/O
684#
685# CONFIG_UIO is not set 807# CONFIG_UIO is not set
686 808
687# 809#
@@ -690,13 +812,18 @@ CONFIG_USB_ARCH_HAS_EHCI=y
690CONFIG_EXT2_FS=y 812CONFIG_EXT2_FS=y
691# CONFIG_EXT2_FS_XATTR is not set 813# CONFIG_EXT2_FS_XATTR is not set
692# CONFIG_EXT2_FS_XIP is not set 814# CONFIG_EXT2_FS_XIP is not set
693# CONFIG_EXT3_FS is not set 815CONFIG_EXT3_FS=m
816CONFIG_EXT3_FS_XATTR=y
817# CONFIG_EXT3_FS_POSIX_ACL is not set
818# CONFIG_EXT3_FS_SECURITY is not set
694# CONFIG_EXT4DEV_FS is not set 819# CONFIG_EXT4DEV_FS is not set
820CONFIG_JBD=m
821# CONFIG_JBD_DEBUG is not set
822CONFIG_FS_MBCACHE=y
695# CONFIG_REISERFS_FS is not set 823# CONFIG_REISERFS_FS is not set
696# CONFIG_JFS_FS is not set 824# CONFIG_JFS_FS is not set
697# CONFIG_FS_POSIX_ACL is not set 825# CONFIG_FS_POSIX_ACL is not set
698# CONFIG_XFS_FS is not set 826# CONFIG_XFS_FS is not set
699# CONFIG_GFS2_FS is not set
700# CONFIG_OCFS2_FS is not set 827# CONFIG_OCFS2_FS is not set
701CONFIG_DNOTIFY=y 828CONFIG_DNOTIFY=y
702CONFIG_INOTIFY=y 829CONFIG_INOTIFY=y
@@ -715,8 +842,11 @@ CONFIG_INOTIFY_USER=y
715# 842#
716# DOS/FAT/NT Filesystems 843# DOS/FAT/NT Filesystems
717# 844#
845CONFIG_FAT_FS=m
718# CONFIG_MSDOS_FS is not set 846# CONFIG_MSDOS_FS is not set
719# CONFIG_VFAT_FS is not set 847CONFIG_VFAT_FS=m
848CONFIG_FAT_DEFAULT_CODEPAGE=437
849CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
720# CONFIG_NTFS_FS is not set 850# CONFIG_NTFS_FS is not set
721 851
722# 852#
@@ -741,10 +871,27 @@ CONFIG_TMPFS=y
741# CONFIG_BEFS_FS is not set 871# CONFIG_BEFS_FS is not set
742# CONFIG_BFS_FS is not set 872# CONFIG_BFS_FS is not set
743# CONFIG_EFS_FS is not set 873# CONFIG_EFS_FS is not set
744# CONFIG_JFFS2_FS is not set 874CONFIG_JFFS2_FS=m
875CONFIG_JFFS2_FS_DEBUG=0
876CONFIG_JFFS2_FS_WRITEBUFFER=y
877# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
878# CONFIG_JFFS2_SUMMARY is not set
879# CONFIG_JFFS2_FS_XATTR is not set
880# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
881CONFIG_JFFS2_ZLIB=y
882# CONFIG_JFFS2_LZO is not set
883CONFIG_JFFS2_RTIME=y
884# CONFIG_JFFS2_RUBIN is not set
885CONFIG_UBIFS_FS=m
886# CONFIG_UBIFS_FS_XATTR is not set
887# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
888CONFIG_UBIFS_FS_LZO=y
889CONFIG_UBIFS_FS_ZLIB=y
890# CONFIG_UBIFS_FS_DEBUG is not set
745CONFIG_CRAMFS=y 891CONFIG_CRAMFS=y
746# CONFIG_VXFS_FS is not set 892# CONFIG_VXFS_FS is not set
747# CONFIG_MINIX_FS is not set 893# CONFIG_MINIX_FS is not set
894# CONFIG_OMFS_FS is not set
748# CONFIG_HPFS_FS is not set 895# CONFIG_HPFS_FS is not set
749# CONFIG_QNX4FS_FS is not set 896# CONFIG_QNX4FS_FS is not set
750# CONFIG_ROMFS_FS is not set 897# CONFIG_ROMFS_FS is not set
@@ -755,14 +902,12 @@ CONFIG_NFS_FS=y
755CONFIG_NFS_V3=y 902CONFIG_NFS_V3=y
756# CONFIG_NFS_V3_ACL is not set 903# CONFIG_NFS_V3_ACL is not set
757# CONFIG_NFS_V4 is not set 904# CONFIG_NFS_V4 is not set
758# CONFIG_NFS_DIRECTIO is not set
759# CONFIG_NFSD is not set
760CONFIG_ROOT_NFS=y 905CONFIG_ROOT_NFS=y
906# CONFIG_NFSD is not set
761CONFIG_LOCKD=y 907CONFIG_LOCKD=y
762CONFIG_LOCKD_V4=y 908CONFIG_LOCKD_V4=y
763CONFIG_NFS_COMMON=y 909CONFIG_NFS_COMMON=y
764CONFIG_SUNRPC=y 910CONFIG_SUNRPC=y
765# CONFIG_SUNRPC_BIND34 is not set
766# CONFIG_RPCSEC_GSS_KRB5 is not set 911# CONFIG_RPCSEC_GSS_KRB5 is not set
767# CONFIG_RPCSEC_GSS_SPKM3 is not set 912# CONFIG_RPCSEC_GSS_SPKM3 is not set
768# CONFIG_SMB_FS is not set 913# CONFIG_SMB_FS is not set
@@ -776,20 +921,64 @@ CONFIG_SUNRPC=y
776# 921#
777# CONFIG_PARTITION_ADVANCED is not set 922# CONFIG_PARTITION_ADVANCED is not set
778CONFIG_MSDOS_PARTITION=y 923CONFIG_MSDOS_PARTITION=y
779# CONFIG_NLS is not set 924CONFIG_NLS=m
925CONFIG_NLS_DEFAULT="iso8859-1"
926CONFIG_NLS_CODEPAGE_437=m
927# CONFIG_NLS_CODEPAGE_737 is not set
928# CONFIG_NLS_CODEPAGE_775 is not set
929# CONFIG_NLS_CODEPAGE_850 is not set
930# CONFIG_NLS_CODEPAGE_852 is not set
931# CONFIG_NLS_CODEPAGE_855 is not set
932# CONFIG_NLS_CODEPAGE_857 is not set
933# CONFIG_NLS_CODEPAGE_860 is not set
934# CONFIG_NLS_CODEPAGE_861 is not set
935# CONFIG_NLS_CODEPAGE_862 is not set
936# CONFIG_NLS_CODEPAGE_863 is not set
937# CONFIG_NLS_CODEPAGE_864 is not set
938# CONFIG_NLS_CODEPAGE_865 is not set
939# CONFIG_NLS_CODEPAGE_866 is not set
940# CONFIG_NLS_CODEPAGE_869 is not set
941# CONFIG_NLS_CODEPAGE_936 is not set
942# CONFIG_NLS_CODEPAGE_950 is not set
943# CONFIG_NLS_CODEPAGE_932 is not set
944# CONFIG_NLS_CODEPAGE_949 is not set
945# CONFIG_NLS_CODEPAGE_874 is not set
946# CONFIG_NLS_ISO8859_8 is not set
947# CONFIG_NLS_CODEPAGE_1250 is not set
948# CONFIG_NLS_CODEPAGE_1251 is not set
949# CONFIG_NLS_ASCII is not set
950CONFIG_NLS_ISO8859_1=m
951# CONFIG_NLS_ISO8859_2 is not set
952# CONFIG_NLS_ISO8859_3 is not set
953# CONFIG_NLS_ISO8859_4 is not set
954# CONFIG_NLS_ISO8859_5 is not set
955# CONFIG_NLS_ISO8859_6 is not set
956# CONFIG_NLS_ISO8859_7 is not set
957# CONFIG_NLS_ISO8859_9 is not set
958# CONFIG_NLS_ISO8859_13 is not set
959# CONFIG_NLS_ISO8859_14 is not set
960# CONFIG_NLS_ISO8859_15 is not set
961# CONFIG_NLS_KOI8_R is not set
962# CONFIG_NLS_KOI8_U is not set
963# CONFIG_NLS_UTF8 is not set
780# CONFIG_DLM is not set 964# CONFIG_DLM is not set
781 965
782# 966#
783# Library routines 967# Library routines
784# 968#
785CONFIG_BITREVERSE=y 969CONFIG_BITREVERSE=y
970# CONFIG_GENERIC_FIND_FIRST_BIT is not set
786# CONFIG_CRC_CCITT is not set 971# CONFIG_CRC_CCITT is not set
787# CONFIG_CRC16 is not set 972CONFIG_CRC16=m
973# CONFIG_CRC_T10DIF is not set
788# CONFIG_CRC_ITU_T is not set 974# CONFIG_CRC_ITU_T is not set
789CONFIG_CRC32=y 975CONFIG_CRC32=y
790# CONFIG_CRC7 is not set 976# CONFIG_CRC7 is not set
791# CONFIG_LIBCRC32C is not set 977# CONFIG_LIBCRC32C is not set
792CONFIG_ZLIB_INFLATE=y 978CONFIG_ZLIB_INFLATE=y
979CONFIG_ZLIB_DEFLATE=m
980CONFIG_LZO_COMPRESS=m
981CONFIG_LZO_DECOMPRESS=m
793CONFIG_PLIST=y 982CONFIG_PLIST=y
794CONFIG_HAS_IOMEM=y 983CONFIG_HAS_IOMEM=y
795CONFIG_HAS_IOPORT=y 984CONFIG_HAS_IOPORT=y
@@ -802,6 +991,7 @@ CONFIG_HAVE_LMB=y
802# CONFIG_PRINTK_TIME is not set 991# CONFIG_PRINTK_TIME is not set
803CONFIG_ENABLE_WARN_DEPRECATED=y 992CONFIG_ENABLE_WARN_DEPRECATED=y
804CONFIG_ENABLE_MUST_CHECK=y 993CONFIG_ENABLE_MUST_CHECK=y
994CONFIG_FRAME_WARN=1024
805CONFIG_MAGIC_SYSRQ=y 995CONFIG_MAGIC_SYSRQ=y
806# CONFIG_UNUSED_SYMBOLS is not set 996# CONFIG_UNUSED_SYMBOLS is not set
807CONFIG_DEBUG_FS=y 997CONFIG_DEBUG_FS=y
@@ -809,9 +999,12 @@ CONFIG_DEBUG_FS=y
809CONFIG_DEBUG_KERNEL=y 999CONFIG_DEBUG_KERNEL=y
810# CONFIG_DEBUG_SHIRQ is not set 1000# CONFIG_DEBUG_SHIRQ is not set
811CONFIG_DETECT_SOFTLOCKUP=y 1001CONFIG_DETECT_SOFTLOCKUP=y
1002# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1003CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
812CONFIG_SCHED_DEBUG=y 1004CONFIG_SCHED_DEBUG=y
813# CONFIG_SCHEDSTATS is not set 1005# CONFIG_SCHEDSTATS is not set
814# CONFIG_TIMER_STATS is not set 1006# CONFIG_TIMER_STATS is not set
1007# CONFIG_DEBUG_OBJECTS is not set
815# CONFIG_SLUB_DEBUG_ON is not set 1008# CONFIG_SLUB_DEBUG_ON is not set
816# CONFIG_SLUB_STATS is not set 1009# CONFIG_SLUB_STATS is not set
817# CONFIG_DEBUG_RT_MUTEXES is not set 1010# CONFIG_DEBUG_RT_MUTEXES is not set
@@ -824,17 +1017,30 @@ CONFIG_SCHED_DEBUG=y
824CONFIG_DEBUG_BUGVERBOSE=y 1017CONFIG_DEBUG_BUGVERBOSE=y
825# CONFIG_DEBUG_INFO is not set 1018# CONFIG_DEBUG_INFO is not set
826# CONFIG_DEBUG_VM is not set 1019# CONFIG_DEBUG_VM is not set
1020# CONFIG_DEBUG_WRITECOUNT is not set
1021# CONFIG_DEBUG_MEMORY_INIT is not set
827# CONFIG_DEBUG_LIST is not set 1022# CONFIG_DEBUG_LIST is not set
828# CONFIG_DEBUG_SG is not set 1023# CONFIG_DEBUG_SG is not set
829# CONFIG_BOOT_PRINTK_DELAY is not set 1024# CONFIG_BOOT_PRINTK_DELAY is not set
830# CONFIG_RCU_TORTURE_TEST is not set 1025# CONFIG_RCU_TORTURE_TEST is not set
831# CONFIG_BACKTRACE_SELF_TEST is not set 1026# CONFIG_BACKTRACE_SELF_TEST is not set
832# CONFIG_FAULT_INJECTION is not set 1027# CONFIG_FAULT_INJECTION is not set
1028# CONFIG_LATENCYTOP is not set
1029CONFIG_HAVE_FTRACE=y
1030CONFIG_HAVE_DYNAMIC_FTRACE=y
1031# CONFIG_FTRACE is not set
1032# CONFIG_SCHED_TRACER is not set
1033# CONFIG_CONTEXT_SWITCH_TRACER is not set
833# CONFIG_SAMPLES is not set 1034# CONFIG_SAMPLES is not set
1035CONFIG_HAVE_ARCH_KGDB=y
1036# CONFIG_KGDB is not set
834# CONFIG_DEBUG_STACKOVERFLOW is not set 1037# CONFIG_DEBUG_STACKOVERFLOW is not set
835# CONFIG_DEBUG_STACK_USAGE is not set 1038# CONFIG_DEBUG_STACK_USAGE is not set
836# CONFIG_DEBUG_PAGEALLOC is not set 1039# CONFIG_DEBUG_PAGEALLOC is not set
837# CONFIG_DEBUGGER is not set 1040# CONFIG_CODE_PATCHING_SELFTEST is not set
1041# CONFIG_FTR_FIXUP_SELFTEST is not set
1042# CONFIG_XMON is not set
1043# CONFIG_IRQSTACKS is not set
838# CONFIG_VIRQ_DEBUG is not set 1044# CONFIG_VIRQ_DEBUG is not set
839# CONFIG_BDI_SWITCH is not set 1045# CONFIG_BDI_SWITCH is not set
840# CONFIG_PPC_EARLY_DEBUG is not set 1046# CONFIG_PPC_EARLY_DEBUG is not set
@@ -846,51 +1052,85 @@ CONFIG_DEBUG_BUGVERBOSE=y
846# CONFIG_SECURITY is not set 1052# CONFIG_SECURITY is not set
847# CONFIG_SECURITY_FILE_CAPABILITIES is not set 1053# CONFIG_SECURITY_FILE_CAPABILITIES is not set
848CONFIG_CRYPTO=y 1054CONFIG_CRYPTO=y
1055
1056#
1057# Crypto core or helper
1058#
849CONFIG_CRYPTO_ALGAPI=y 1059CONFIG_CRYPTO_ALGAPI=y
850CONFIG_CRYPTO_BLKCIPHER=y 1060CONFIG_CRYPTO_BLKCIPHER=y
851# CONFIG_CRYPTO_SEQIV is not set
852CONFIG_CRYPTO_MANAGER=y 1061CONFIG_CRYPTO_MANAGER=y
1062# CONFIG_CRYPTO_GF128MUL is not set
1063# CONFIG_CRYPTO_NULL is not set
1064# CONFIG_CRYPTO_CRYPTD is not set
1065# CONFIG_CRYPTO_AUTHENC is not set
1066# CONFIG_CRYPTO_TEST is not set
1067
1068#
1069# Authenticated Encryption with Associated Data
1070#
1071# CONFIG_CRYPTO_CCM is not set
1072# CONFIG_CRYPTO_GCM is not set
1073# CONFIG_CRYPTO_SEQIV is not set
1074
1075#
1076# Block modes
1077#
1078CONFIG_CRYPTO_CBC=y
1079# CONFIG_CRYPTO_CTR is not set
1080# CONFIG_CRYPTO_CTS is not set
1081CONFIG_CRYPTO_ECB=y
1082# CONFIG_CRYPTO_LRW is not set
1083CONFIG_CRYPTO_PCBC=y
1084# CONFIG_CRYPTO_XTS is not set
1085
1086#
1087# Hash modes
1088#
853# CONFIG_CRYPTO_HMAC is not set 1089# CONFIG_CRYPTO_HMAC is not set
854# CONFIG_CRYPTO_XCBC is not set 1090# CONFIG_CRYPTO_XCBC is not set
855# CONFIG_CRYPTO_NULL is not set 1091
1092#
1093# Digest
1094#
1095# CONFIG_CRYPTO_CRC32C is not set
856# CONFIG_CRYPTO_MD4 is not set 1096# CONFIG_CRYPTO_MD4 is not set
857CONFIG_CRYPTO_MD5=y 1097CONFIG_CRYPTO_MD5=y
1098# CONFIG_CRYPTO_MICHAEL_MIC is not set
1099# CONFIG_CRYPTO_RMD128 is not set
1100# CONFIG_CRYPTO_RMD160 is not set
1101# CONFIG_CRYPTO_RMD256 is not set
1102# CONFIG_CRYPTO_RMD320 is not set
858# CONFIG_CRYPTO_SHA1 is not set 1103# CONFIG_CRYPTO_SHA1 is not set
859# CONFIG_CRYPTO_SHA256 is not set 1104# CONFIG_CRYPTO_SHA256 is not set
860# CONFIG_CRYPTO_SHA512 is not set 1105# CONFIG_CRYPTO_SHA512 is not set
861# CONFIG_CRYPTO_WP512 is not set
862# CONFIG_CRYPTO_TGR192 is not set 1106# CONFIG_CRYPTO_TGR192 is not set
863# CONFIG_CRYPTO_GF128MUL is not set 1107# CONFIG_CRYPTO_WP512 is not set
864CONFIG_CRYPTO_ECB=y 1108
865CONFIG_CRYPTO_CBC=y 1109#
866CONFIG_CRYPTO_PCBC=y 1110# Ciphers
867# CONFIG_CRYPTO_LRW is not set 1111#
868# CONFIG_CRYPTO_XTS is not set
869# CONFIG_CRYPTO_CTR is not set
870# CONFIG_CRYPTO_GCM is not set
871# CONFIG_CRYPTO_CCM is not set
872# CONFIG_CRYPTO_CRYPTD is not set
873CONFIG_CRYPTO_DES=y
874# CONFIG_CRYPTO_FCRYPT is not set
875# CONFIG_CRYPTO_BLOWFISH is not set
876# CONFIG_CRYPTO_TWOFISH is not set
877# CONFIG_CRYPTO_SERPENT is not set
878# CONFIG_CRYPTO_AES is not set 1112# CONFIG_CRYPTO_AES is not set
1113# CONFIG_CRYPTO_ANUBIS is not set
1114# CONFIG_CRYPTO_ARC4 is not set
1115# CONFIG_CRYPTO_BLOWFISH is not set
1116# CONFIG_CRYPTO_CAMELLIA is not set
879# CONFIG_CRYPTO_CAST5 is not set 1117# CONFIG_CRYPTO_CAST5 is not set
880# CONFIG_CRYPTO_CAST6 is not set 1118# CONFIG_CRYPTO_CAST6 is not set
881# CONFIG_CRYPTO_TEA is not set 1119CONFIG_CRYPTO_DES=y
882# CONFIG_CRYPTO_ARC4 is not set 1120# CONFIG_CRYPTO_FCRYPT is not set
883# CONFIG_CRYPTO_KHAZAD is not set 1121# CONFIG_CRYPTO_KHAZAD is not set
884# CONFIG_CRYPTO_ANUBIS is not set
885# CONFIG_CRYPTO_SEED is not set
886# CONFIG_CRYPTO_SALSA20 is not set 1122# CONFIG_CRYPTO_SALSA20 is not set
887# CONFIG_CRYPTO_DEFLATE is not set 1123# CONFIG_CRYPTO_SEED is not set
888# CONFIG_CRYPTO_MICHAEL_MIC is not set 1124# CONFIG_CRYPTO_SERPENT is not set
889# CONFIG_CRYPTO_CRC32C is not set 1125# CONFIG_CRYPTO_TEA is not set
890# CONFIG_CRYPTO_CAMELLIA is not set 1126# CONFIG_CRYPTO_TWOFISH is not set
891# CONFIG_CRYPTO_TEST is not set 1127
892# CONFIG_CRYPTO_AUTHENC is not set 1128#
893# CONFIG_CRYPTO_LZO is not set 1129# Compression
1130#
1131CONFIG_CRYPTO_DEFLATE=m
1132CONFIG_CRYPTO_LZO=m
894CONFIG_CRYPTO_HW=y 1133CONFIG_CRYPTO_HW=y
895# CONFIG_CRYPTO_DEV_HIFN_795X is not set 1134# CONFIG_CRYPTO_DEV_HIFN_795X is not set
896# CONFIG_PPC_CLOCK is not set 1135# CONFIG_PPC_CLOCK is not set
1136# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/configs/ppc44x_defconfig b/arch/powerpc/configs/ppc44x_defconfig
index f9d279bb700b..c7825dcbf415 100644
--- a/arch/powerpc/configs/ppc44x_defconfig
+++ b/arch/powerpc/configs/ppc44x_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.26-rc8 3# Linux kernel version: 2.6.27-rc1
4# Wed Jul 9 13:50:48 2008 4# Tue Aug 5 10:01:31 2008
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -30,9 +30,11 @@ CONFIG_GENERIC_TIME=y
30CONFIG_GENERIC_TIME_VSYSCALL=y 30CONFIG_GENERIC_TIME_VSYSCALL=y
31CONFIG_GENERIC_CLOCKEVENTS=y 31CONFIG_GENERIC_CLOCKEVENTS=y
32CONFIG_GENERIC_HARDIRQS=y 32CONFIG_GENERIC_HARDIRQS=y
33# CONFIG_HAVE_GET_USER_PAGES_FAST is not set
33# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 34# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
34CONFIG_IRQ_PER_CPU=y 35CONFIG_IRQ_PER_CPU=y
35CONFIG_STACKTRACE_SUPPORT=y 36CONFIG_STACKTRACE_SUPPORT=y
37CONFIG_HAVE_LATENCYTOP_SUPPORT=y
36CONFIG_LOCKDEP_SUPPORT=y 38CONFIG_LOCKDEP_SUPPORT=y
37CONFIG_RWSEM_XCHGADD_ALGORITHM=y 39CONFIG_RWSEM_XCHGADD_ALGORITHM=y
38CONFIG_ARCH_HAS_ILOG2_U32=y 40CONFIG_ARCH_HAS_ILOG2_U32=y
@@ -116,10 +118,16 @@ CONFIG_SLUB=y
116# CONFIG_MARKERS is not set 118# CONFIG_MARKERS is not set
117CONFIG_HAVE_OPROFILE=y 119CONFIG_HAVE_OPROFILE=y
118# CONFIG_KPROBES is not set 120# CONFIG_KPROBES is not set
121CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
122CONFIG_HAVE_IOREMAP_PROT=y
119CONFIG_HAVE_KPROBES=y 123CONFIG_HAVE_KPROBES=y
120CONFIG_HAVE_KRETPROBES=y 124CONFIG_HAVE_KRETPROBES=y
125CONFIG_HAVE_ARCH_TRACEHOOK=y
121# CONFIG_HAVE_DMA_ATTRS is not set 126# CONFIG_HAVE_DMA_ATTRS is not set
127# CONFIG_USE_GENERIC_SMP_HELPERS is not set
128# CONFIG_HAVE_CLK is not set
122CONFIG_PROC_PAGE_MONITOR=y 129CONFIG_PROC_PAGE_MONITOR=y
130# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
123CONFIG_SLABINFO=y 131CONFIG_SLABINFO=y
124CONFIG_RT_MUTEXES=y 132CONFIG_RT_MUTEXES=y
125# CONFIG_TINY_SHMEM is not set 133# CONFIG_TINY_SHMEM is not set
@@ -136,6 +144,7 @@ CONFIG_LBD=y
136# CONFIG_BLK_DEV_IO_TRACE is not set 144# CONFIG_BLK_DEV_IO_TRACE is not set
137# CONFIG_LSF is not set 145# CONFIG_LSF is not set
138# CONFIG_BLK_DEV_BSG is not set 146# CONFIG_BLK_DEV_BSG is not set
147# CONFIG_BLK_DEV_INTEGRITY is not set
139 148
140# 149#
141# IO Schedulers 150# IO Schedulers
@@ -155,8 +164,6 @@ CONFIG_PPC4xx_PCI_EXPRESS=y
155# 164#
156# Platform support 165# Platform support
157# 166#
158# CONFIG_PPC_MPC512x is not set
159# CONFIG_PPC_MPC5121 is not set
160# CONFIG_PPC_CELL is not set 167# CONFIG_PPC_CELL is not set
161# CONFIG_PPC_CELL_NATIVE is not set 168# CONFIG_PPC_CELL_NATIVE is not set
162# CONFIG_PQ2ADS is not set 169# CONFIG_PQ2ADS is not set
@@ -231,6 +238,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y
231# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 238# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
232CONFIG_PAGEFLAGS_EXTENDED=y 239CONFIG_PAGEFLAGS_EXTENDED=y
233CONFIG_SPLIT_PTLOCK_CPUS=4 240CONFIG_SPLIT_PTLOCK_CPUS=4
241CONFIG_MIGRATION=y
234CONFIG_RESOURCES_64BIT=y 242CONFIG_RESOURCES_64BIT=y
235CONFIG_ZONE_DMA_FLAG=1 243CONFIG_ZONE_DMA_FLAG=1
236CONFIG_BOUNCE=y 244CONFIG_BOUNCE=y
@@ -248,6 +256,7 @@ CONFIG_ISA_DMA_API=y
248CONFIG_ZONE_DMA=y 256CONFIG_ZONE_DMA=y
249CONFIG_PPC_INDIRECT_PCI=y 257CONFIG_PPC_INDIRECT_PCI=y
250CONFIG_4xx_SOC=y 258CONFIG_4xx_SOC=y
259CONFIG_PPC_PCI_CHOICE=y
251CONFIG_PCI=y 260CONFIG_PCI=y
252CONFIG_PCI_DOMAINS=y 261CONFIG_PCI_DOMAINS=y
253CONFIG_PCI_SYSCALL=y 262CONFIG_PCI_SYSCALL=y
@@ -275,10 +284,6 @@ CONFIG_PHYSICAL_START=0x00000000
275CONFIG_TASK_SIZE=0xc0000000 284CONFIG_TASK_SIZE=0xc0000000
276CONFIG_CONSISTENT_START=0xff100000 285CONFIG_CONSISTENT_START=0xff100000
277CONFIG_CONSISTENT_SIZE=0x00200000 286CONFIG_CONSISTENT_SIZE=0x00200000
278
279#
280# Networking
281#
282CONFIG_NET=y 287CONFIG_NET=y
283 288
284# 289#
@@ -287,6 +292,11 @@ CONFIG_NET=y
287CONFIG_PACKET=y 292CONFIG_PACKET=y
288# CONFIG_PACKET_MMAP is not set 293# CONFIG_PACKET_MMAP is not set
289CONFIG_UNIX=y 294CONFIG_UNIX=y
295CONFIG_XFRM=y
296# CONFIG_XFRM_USER is not set
297# CONFIG_XFRM_SUB_POLICY is not set
298# CONFIG_XFRM_MIGRATE is not set
299# CONFIG_XFRM_STATISTICS is not set
290# CONFIG_NET_KEY is not set 300# CONFIG_NET_KEY is not set
291CONFIG_INET=y 301CONFIG_INET=y
292# CONFIG_IP_MULTICAST is not set 302# CONFIG_IP_MULTICAST is not set
@@ -304,7 +314,7 @@ CONFIG_IP_PNP_BOOTP=y
304# CONFIG_INET_ESP is not set 314# CONFIG_INET_ESP is not set
305# CONFIG_INET_IPCOMP is not set 315# CONFIG_INET_IPCOMP is not set
306# CONFIG_INET_XFRM_TUNNEL is not set 316# CONFIG_INET_XFRM_TUNNEL is not set
307# CONFIG_INET_TUNNEL is not set 317CONFIG_INET_TUNNEL=m
308# CONFIG_INET_XFRM_MODE_TRANSPORT is not set 318# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
309# CONFIG_INET_XFRM_MODE_TUNNEL is not set 319# CONFIG_INET_XFRM_MODE_TUNNEL is not set
310# CONFIG_INET_XFRM_MODE_BEET is not set 320# CONFIG_INET_XFRM_MODE_BEET is not set
@@ -315,7 +325,25 @@ CONFIG_INET_TCP_DIAG=y
315CONFIG_TCP_CONG_CUBIC=y 325CONFIG_TCP_CONG_CUBIC=y
316CONFIG_DEFAULT_TCP_CONG="cubic" 326CONFIG_DEFAULT_TCP_CONG="cubic"
317# CONFIG_TCP_MD5SIG is not set 327# CONFIG_TCP_MD5SIG is not set
318# CONFIG_IPV6 is not set 328CONFIG_IPV6=m
329# CONFIG_IPV6_PRIVACY is not set
330# CONFIG_IPV6_ROUTER_PREF is not set
331# CONFIG_IPV6_OPTIMISTIC_DAD is not set
332# CONFIG_INET6_AH is not set
333# CONFIG_INET6_ESP is not set
334# CONFIG_INET6_IPCOMP is not set
335# CONFIG_IPV6_MIP6 is not set
336# CONFIG_INET6_XFRM_TUNNEL is not set
337# CONFIG_INET6_TUNNEL is not set
338CONFIG_INET6_XFRM_MODE_TRANSPORT=m
339CONFIG_INET6_XFRM_MODE_TUNNEL=m
340CONFIG_INET6_XFRM_MODE_BEET=m
341# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
342CONFIG_IPV6_SIT=m
343CONFIG_IPV6_NDISC_NODETYPE=y
344# CONFIG_IPV6_TUNNEL is not set
345# CONFIG_IPV6_MULTIPLE_TABLES is not set
346# CONFIG_IPV6_MROUTE is not set
319# CONFIG_NETWORK_SECMARK is not set 347# CONFIG_NETWORK_SECMARK is not set
320# CONFIG_NETFILTER is not set 348# CONFIG_NETFILTER is not set
321# CONFIG_IP_DCCP is not set 349# CONFIG_IP_DCCP is not set
@@ -365,6 +393,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
365CONFIG_STANDALONE=y 393CONFIG_STANDALONE=y
366CONFIG_PREVENT_FIRMWARE_BUILD=y 394CONFIG_PREVENT_FIRMWARE_BUILD=y
367CONFIG_FW_LOADER=y 395CONFIG_FW_LOADER=y
396CONFIG_FIRMWARE_IN_KERNEL=y
397CONFIG_EXTRA_FIRMWARE=""
368# CONFIG_DEBUG_DRIVER is not set 398# CONFIG_DEBUG_DRIVER is not set
369# CONFIG_DEBUG_DEVRES is not set 399# CONFIG_DEBUG_DEVRES is not set
370# CONFIG_SYS_HYPERVISOR is not set 400# CONFIG_SYS_HYPERVISOR is not set
@@ -447,8 +477,17 @@ CONFIG_MTD_PHYSMAP_OF=y
447# 477#
448# UBI - Unsorted block images 478# UBI - Unsorted block images
449# 479#
450# CONFIG_MTD_UBI is not set 480CONFIG_MTD_UBI=m
481CONFIG_MTD_UBI_WL_THRESHOLD=4096
482CONFIG_MTD_UBI_BEB_RESERVE=1
483CONFIG_MTD_UBI_GLUEBI=y
484
485#
486# UBI debugging options
487#
488# CONFIG_MTD_UBI_DEBUG is not set
451CONFIG_OF_DEVICE=y 489CONFIG_OF_DEVICE=y
490CONFIG_OF_I2C=m
452# CONFIG_PARPORT is not set 491# CONFIG_PARPORT is not set
453CONFIG_BLK_DEV=y 492CONFIG_BLK_DEV=y
454# CONFIG_BLK_DEV_FD is not set 493# CONFIG_BLK_DEV_FD is not set
@@ -460,6 +499,7 @@ CONFIG_BLK_DEV=y
460# CONFIG_BLK_DEV_LOOP is not set 499# CONFIG_BLK_DEV_LOOP is not set
461# CONFIG_BLK_DEV_NBD is not set 500# CONFIG_BLK_DEV_NBD is not set
462# CONFIG_BLK_DEV_SX8 is not set 501# CONFIG_BLK_DEV_SX8 is not set
502# CONFIG_BLK_DEV_UB is not set
463CONFIG_BLK_DEV_RAM=y 503CONFIG_BLK_DEV_RAM=y
464CONFIG_BLK_DEV_RAM_COUNT=16 504CONFIG_BLK_DEV_RAM_COUNT=16
465CONFIG_BLK_DEV_RAM_SIZE=35000 505CONFIG_BLK_DEV_RAM_SIZE=35000
@@ -467,12 +507,14 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
467# CONFIG_CDROM_PKTCDVD is not set 507# CONFIG_CDROM_PKTCDVD is not set
468# CONFIG_ATA_OVER_ETH is not set 508# CONFIG_ATA_OVER_ETH is not set
469# CONFIG_XILINX_SYSACE is not set 509# CONFIG_XILINX_SYSACE is not set
510# CONFIG_BLK_DEV_HD is not set
470CONFIG_MISC_DEVICES=y 511CONFIG_MISC_DEVICES=y
471# CONFIG_PHANTOM is not set 512# CONFIG_PHANTOM is not set
472# CONFIG_EEPROM_93CX6 is not set 513# CONFIG_EEPROM_93CX6 is not set
473# CONFIG_SGI_IOC4 is not set 514# CONFIG_SGI_IOC4 is not set
474# CONFIG_TIFM_CORE is not set 515# CONFIG_TIFM_CORE is not set
475# CONFIG_ENCLOSURE_SERVICES is not set 516# CONFIG_ENCLOSURE_SERVICES is not set
517# CONFIG_HP_ILO is not set
476CONFIG_HAVE_IDE=y 518CONFIG_HAVE_IDE=y
477# CONFIG_IDE is not set 519# CONFIG_IDE is not set
478 520
@@ -480,9 +522,41 @@ CONFIG_HAVE_IDE=y
480# SCSI device support 522# SCSI device support
481# 523#
482# CONFIG_RAID_ATTRS is not set 524# CONFIG_RAID_ATTRS is not set
483# CONFIG_SCSI is not set 525CONFIG_SCSI=m
484# CONFIG_SCSI_DMA is not set 526CONFIG_SCSI_DMA=y
527# CONFIG_SCSI_TGT is not set
485# CONFIG_SCSI_NETLINK is not set 528# CONFIG_SCSI_NETLINK is not set
529CONFIG_SCSI_PROC_FS=y
530
531#
532# SCSI support type (disk, tape, CD-ROM)
533#
534CONFIG_BLK_DEV_SD=m
535# CONFIG_CHR_DEV_ST is not set
536# CONFIG_CHR_DEV_OSST is not set
537# CONFIG_BLK_DEV_SR is not set
538# CONFIG_CHR_DEV_SG is not set
539# CONFIG_CHR_DEV_SCH is not set
540
541#
542# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
543#
544# CONFIG_SCSI_MULTI_LUN is not set
545# CONFIG_SCSI_CONSTANTS is not set
546# CONFIG_SCSI_LOGGING is not set
547# CONFIG_SCSI_SCAN_ASYNC is not set
548CONFIG_SCSI_WAIT_SCAN=m
549
550#
551# SCSI Transports
552#
553# CONFIG_SCSI_SPI_ATTRS is not set
554# CONFIG_SCSI_FC_ATTRS is not set
555# CONFIG_SCSI_ISCSI_ATTRS is not set
556# CONFIG_SCSI_SAS_LIBSAS is not set
557# CONFIG_SCSI_SRP_ATTRS is not set
558# CONFIG_SCSI_LOWLEVEL is not set
559# CONFIG_SCSI_DH is not set
486# CONFIG_ATA is not set 560# CONFIG_ATA is not set
487# CONFIG_MD is not set 561# CONFIG_MD is not set
488# CONFIG_FUSION is not set 562# CONFIG_FUSION is not set
@@ -499,7 +573,6 @@ CONFIG_HAVE_IDE=y
499# CONFIG_I2O is not set 573# CONFIG_I2O is not set
500# CONFIG_MACINTOSH_DRIVERS is not set 574# CONFIG_MACINTOSH_DRIVERS is not set
501CONFIG_NETDEVICES=y 575CONFIG_NETDEVICES=y
502# CONFIG_NETDEVICES_MULTIQUEUE is not set
503# CONFIG_DUMMY is not set 576# CONFIG_DUMMY is not set
504# CONFIG_BONDING is not set 577# CONFIG_BONDING is not set
505# CONFIG_MACVLAN is not set 578# CONFIG_MACVLAN is not set
@@ -534,7 +607,6 @@ CONFIG_NETDEV_1000=y
534# CONFIG_DL2K is not set 607# CONFIG_DL2K is not set
535# CONFIG_E1000 is not set 608# CONFIG_E1000 is not set
536# CONFIG_E1000E is not set 609# CONFIG_E1000E is not set
537# CONFIG_E1000E_ENABLED is not set
538# CONFIG_IP1000 is not set 610# CONFIG_IP1000 is not set
539# CONFIG_IGB is not set 611# CONFIG_IGB is not set
540# CONFIG_NS83820 is not set 612# CONFIG_NS83820 is not set
@@ -549,6 +621,7 @@ CONFIG_NETDEV_1000=y
549# CONFIG_BNX2 is not set 621# CONFIG_BNX2 is not set
550# CONFIG_QLA3XXX is not set 622# CONFIG_QLA3XXX is not set
551# CONFIG_ATL1 is not set 623# CONFIG_ATL1 is not set
624# CONFIG_ATL1E is not set
552CONFIG_NETDEV_10000=y 625CONFIG_NETDEV_10000=y
553# CONFIG_CHELSIO_T1 is not set 626# CONFIG_CHELSIO_T1 is not set
554# CONFIG_CHELSIO_T3 is not set 627# CONFIG_CHELSIO_T3 is not set
@@ -570,11 +643,21 @@ CONFIG_NETDEV_10000=y
570# CONFIG_WLAN_PRE80211 is not set 643# CONFIG_WLAN_PRE80211 is not set
571# CONFIG_WLAN_80211 is not set 644# CONFIG_WLAN_80211 is not set
572# CONFIG_IWLWIFI_LEDS is not set 645# CONFIG_IWLWIFI_LEDS is not set
646
647#
648# USB Network Adapters
649#
650# CONFIG_USB_CATC is not set
651# CONFIG_USB_KAWETH is not set
652# CONFIG_USB_PEGASUS is not set
653# CONFIG_USB_RTL8150 is not set
654# CONFIG_USB_USBNET is not set
573# CONFIG_WAN is not set 655# CONFIG_WAN is not set
574# CONFIG_FDDI is not set 656# CONFIG_FDDI is not set
575# CONFIG_HIPPI is not set 657# CONFIG_HIPPI is not set
576# CONFIG_PPP is not set 658# CONFIG_PPP is not set
577# CONFIG_SLIP is not set 659# CONFIG_SLIP is not set
660# CONFIG_NET_FC is not set
578# CONFIG_NETCONSOLE is not set 661# CONFIG_NETCONSOLE is not set
579# CONFIG_NETPOLL is not set 662# CONFIG_NETPOLL is not set
580# CONFIG_NET_POLL_CONTROLLER is not set 663# CONFIG_NET_POLL_CONTROLLER is not set
@@ -635,8 +718,77 @@ CONFIG_XILINX_HWICAP=m
635# CONFIG_RAW_DRIVER is not set 718# CONFIG_RAW_DRIVER is not set
636# CONFIG_TCG_TPM is not set 719# CONFIG_TCG_TPM is not set
637CONFIG_DEVPORT=y 720CONFIG_DEVPORT=y
638# CONFIG_I2C is not set 721CONFIG_I2C=m
722CONFIG_I2C_BOARDINFO=y
723CONFIG_I2C_CHARDEV=m
724
725#
726# I2C Hardware Bus support
727#
728
729#
730# PC SMBus host controller drivers
731#
732# CONFIG_I2C_ALI1535 is not set
733# CONFIG_I2C_ALI1563 is not set
734# CONFIG_I2C_ALI15X3 is not set
735# CONFIG_I2C_AMD756 is not set
736# CONFIG_I2C_AMD8111 is not set
737# CONFIG_I2C_I801 is not set
738# CONFIG_I2C_ISCH is not set
739# CONFIG_I2C_PIIX4 is not set
740# CONFIG_I2C_NFORCE2 is not set
741# CONFIG_I2C_SIS5595 is not set
742# CONFIG_I2C_SIS630 is not set
743# CONFIG_I2C_SIS96X is not set
744# CONFIG_I2C_VIA is not set
745# CONFIG_I2C_VIAPRO is not set
746
747#
748# I2C system bus drivers (mostly embedded / system-on-chip)
749#
750CONFIG_I2C_IBM_IIC=m
751# CONFIG_I2C_MPC is not set
752# CONFIG_I2C_OCORES is not set
753# CONFIG_I2C_SIMTEC is not set
754
755#
756# External I2C/SMBus adapter drivers
757#
758# CONFIG_I2C_PARPORT_LIGHT is not set
759# CONFIG_I2C_TAOS_EVM is not set
760# CONFIG_I2C_TINY_USB is not set
761
762#
763# Graphics adapter I2C/DDC channel drivers
764#
765# CONFIG_I2C_VOODOO3 is not set
766
767#
768# Other I2C/SMBus bus drivers
769#
770# CONFIG_I2C_PCA_PLATFORM is not set
771# CONFIG_I2C_STUB is not set
772
773#
774# Miscellaneous I2C Chip support
775#
776# CONFIG_DS1682 is not set
777# CONFIG_AT24 is not set
778# CONFIG_SENSORS_EEPROM is not set
779# CONFIG_SENSORS_PCF8574 is not set
780# CONFIG_PCF8575 is not set
781# CONFIG_SENSORS_PCA9539 is not set
782# CONFIG_SENSORS_PCF8591 is not set
783# CONFIG_SENSORS_MAX6875 is not set
784# CONFIG_SENSORS_TSL2550 is not set
785# CONFIG_I2C_DEBUG_CORE is not set
786# CONFIG_I2C_DEBUG_ALGO is not set
787# CONFIG_I2C_DEBUG_BUS is not set
788# CONFIG_I2C_DEBUG_CHIP is not set
639# CONFIG_SPI is not set 789# CONFIG_SPI is not set
790CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
791# CONFIG_GPIOLIB is not set
640# CONFIG_W1 is not set 792# CONFIG_W1 is not set
641# CONFIG_POWER_SUPPLY is not set 793# CONFIG_POWER_SUPPLY is not set
642# CONFIG_HWMON is not set 794# CONFIG_HWMON is not set
@@ -653,6 +805,7 @@ CONFIG_SSB_POSSIBLE=y
653# 805#
654# Multifunction device drivers 806# Multifunction device drivers
655# 807#
808# CONFIG_MFD_CORE is not set
656# CONFIG_MFD_SM501 is not set 809# CONFIG_MFD_SM501 is not set
657# CONFIG_HTC_PASIC3 is not set 810# CONFIG_HTC_PASIC3 is not set
658 811
@@ -686,22 +839,113 @@ CONFIG_SSB_POSSIBLE=y
686# Display device support 839# Display device support
687# 840#
688# CONFIG_DISPLAY_SUPPORT is not set 841# CONFIG_DISPLAY_SUPPORT is not set
689
690#
691# Sound
692#
693# CONFIG_SOUND is not set 842# CONFIG_SOUND is not set
694CONFIG_USB_SUPPORT=y 843CONFIG_USB_SUPPORT=y
695CONFIG_USB_ARCH_HAS_HCD=y 844CONFIG_USB_ARCH_HAS_HCD=y
696CONFIG_USB_ARCH_HAS_OHCI=y 845CONFIG_USB_ARCH_HAS_OHCI=y
697CONFIG_USB_ARCH_HAS_EHCI=y 846CONFIG_USB_ARCH_HAS_EHCI=y
698# CONFIG_USB is not set 847CONFIG_USB=m
848# CONFIG_USB_DEBUG is not set
849# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
850
851#
852# Miscellaneous USB options
853#
854# CONFIG_USB_DEVICEFS is not set
855CONFIG_USB_DEVICE_CLASS=y
856# CONFIG_USB_DYNAMIC_MINORS is not set
857# CONFIG_USB_OTG is not set
699# CONFIG_USB_OTG_WHITELIST is not set 858# CONFIG_USB_OTG_WHITELIST is not set
700# CONFIG_USB_OTG_BLACKLIST_HUB is not set 859# CONFIG_USB_OTG_BLACKLIST_HUB is not set
701 860
702# 861#
862# USB Host Controller Drivers
863#
864# CONFIG_USB_C67X00_HCD is not set
865CONFIG_USB_EHCI_HCD=m
866# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
867# CONFIG_USB_EHCI_TT_NEWSCHED is not set
868CONFIG_USB_EHCI_BIG_ENDIAN_MMIO=y
869CONFIG_USB_EHCI_BIG_ENDIAN_DESC=y
870CONFIG_USB_EHCI_HCD_PPC_OF=y
871# CONFIG_USB_ISP116X_HCD is not set
872# CONFIG_USB_ISP1760_HCD is not set
873CONFIG_USB_OHCI_HCD=m
874CONFIG_USB_OHCI_HCD_PPC_OF=y
875CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
876# CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set
877# CONFIG_USB_OHCI_HCD_PCI is not set
878CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y
879CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y
880CONFIG_USB_OHCI_LITTLE_ENDIAN=y
881# CONFIG_USB_UHCI_HCD is not set
882# CONFIG_USB_SL811_HCD is not set
883# CONFIG_USB_R8A66597_HCD is not set
884
885#
886# USB Device Class drivers
887#
888# CONFIG_USB_ACM is not set
889# CONFIG_USB_PRINTER is not set
890# CONFIG_USB_WDM is not set
891
892#
703# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 893# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
704# 894#
895
896#
897# may also be needed; see USB_STORAGE Help for more information
898#
899CONFIG_USB_STORAGE=m
900# CONFIG_USB_STORAGE_DEBUG is not set
901# CONFIG_USB_STORAGE_DATAFAB is not set
902# CONFIG_USB_STORAGE_FREECOM is not set
903# CONFIG_USB_STORAGE_ISD200 is not set
904# CONFIG_USB_STORAGE_DPCM is not set
905# CONFIG_USB_STORAGE_USBAT is not set
906# CONFIG_USB_STORAGE_SDDR09 is not set
907# CONFIG_USB_STORAGE_SDDR55 is not set
908# CONFIG_USB_STORAGE_JUMPSHOT is not set
909# CONFIG_USB_STORAGE_ALAUDA is not set
910# CONFIG_USB_STORAGE_KARMA is not set
911# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
912# CONFIG_USB_LIBUSUAL is not set
913
914#
915# USB Imaging devices
916#
917# CONFIG_USB_MDC800 is not set
918# CONFIG_USB_MICROTEK is not set
919# CONFIG_USB_MON is not set
920
921#
922# USB port drivers
923#
924# CONFIG_USB_SERIAL is not set
925
926#
927# USB Miscellaneous drivers
928#
929# CONFIG_USB_EMI62 is not set
930# CONFIG_USB_EMI26 is not set
931# CONFIG_USB_ADUTUX is not set
932# CONFIG_USB_AUERSWALD is not set
933# CONFIG_USB_RIO500 is not set
934# CONFIG_USB_LEGOTOWER is not set
935# CONFIG_USB_LCD is not set
936# CONFIG_USB_BERRY_CHARGE is not set
937# CONFIG_USB_LED is not set
938# CONFIG_USB_CYPRESS_CY7C63 is not set
939# CONFIG_USB_CYTHERM is not set
940# CONFIG_USB_PHIDGET is not set
941# CONFIG_USB_IDMOUSE is not set
942# CONFIG_USB_FTDI_ELAN is not set
943# CONFIG_USB_APPLEDISPLAY is not set
944# CONFIG_USB_SISUSBVGA is not set
945# CONFIG_USB_LD is not set
946# CONFIG_USB_TRANCEVIBRATOR is not set
947# CONFIG_USB_IOWARRIOR is not set
948# CONFIG_USB_ISIGHTFW is not set
705# CONFIG_USB_GADGET is not set 949# CONFIG_USB_GADGET is not set
706# CONFIG_MMC is not set 950# CONFIG_MMC is not set
707# CONFIG_MEMSTICK is not set 951# CONFIG_MEMSTICK is not set
@@ -719,8 +963,13 @@ CONFIG_USB_ARCH_HAS_EHCI=y
719CONFIG_EXT2_FS=y 963CONFIG_EXT2_FS=y
720# CONFIG_EXT2_FS_XATTR is not set 964# CONFIG_EXT2_FS_XATTR is not set
721# CONFIG_EXT2_FS_XIP is not set 965# CONFIG_EXT2_FS_XIP is not set
722# CONFIG_EXT3_FS is not set 966CONFIG_EXT3_FS=m
967CONFIG_EXT3_FS_XATTR=y
968# CONFIG_EXT3_FS_POSIX_ACL is not set
969# CONFIG_EXT3_FS_SECURITY is not set
723# CONFIG_EXT4DEV_FS is not set 970# CONFIG_EXT4DEV_FS is not set
971CONFIG_JBD=m
972CONFIG_FS_MBCACHE=y
724# CONFIG_REISERFS_FS is not set 973# CONFIG_REISERFS_FS is not set
725# CONFIG_JFS_FS is not set 974# CONFIG_JFS_FS is not set
726# CONFIG_FS_POSIX_ACL is not set 975# CONFIG_FS_POSIX_ACL is not set
@@ -743,8 +992,11 @@ CONFIG_INOTIFY_USER=y
743# 992#
744# DOS/FAT/NT Filesystems 993# DOS/FAT/NT Filesystems
745# 994#
995CONFIG_FAT_FS=m
746# CONFIG_MSDOS_FS is not set 996# CONFIG_MSDOS_FS is not set
747# CONFIG_VFAT_FS is not set 997CONFIG_VFAT_FS=m
998CONFIG_FAT_DEFAULT_CODEPAGE=437
999CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
748# CONFIG_NTFS_FS is not set 1000# CONFIG_NTFS_FS is not set
749 1001
750# 1002#
@@ -780,9 +1032,16 @@ CONFIG_JFFS2_ZLIB=y
780# CONFIG_JFFS2_LZO is not set 1032# CONFIG_JFFS2_LZO is not set
781CONFIG_JFFS2_RTIME=y 1033CONFIG_JFFS2_RTIME=y
782# CONFIG_JFFS2_RUBIN is not set 1034# CONFIG_JFFS2_RUBIN is not set
1035CONFIG_UBIFS_FS=m
1036CONFIG_UBIFS_FS_XATTR=y
1037# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
1038CONFIG_UBIFS_FS_LZO=y
1039CONFIG_UBIFS_FS_ZLIB=y
1040# CONFIG_UBIFS_FS_DEBUG is not set
783CONFIG_CRAMFS=y 1041CONFIG_CRAMFS=y
784# CONFIG_VXFS_FS is not set 1042# CONFIG_VXFS_FS is not set
785# CONFIG_MINIX_FS is not set 1043# CONFIG_MINIX_FS is not set
1044# CONFIG_OMFS_FS is not set
786# CONFIG_HPFS_FS is not set 1045# CONFIG_HPFS_FS is not set
787# CONFIG_QNX4FS_FS is not set 1046# CONFIG_QNX4FS_FS is not set
788# CONFIG_ROMFS_FS is not set 1047# CONFIG_ROMFS_FS is not set
@@ -793,13 +1052,12 @@ CONFIG_NFS_FS=y
793CONFIG_NFS_V3=y 1052CONFIG_NFS_V3=y
794# CONFIG_NFS_V3_ACL is not set 1053# CONFIG_NFS_V3_ACL is not set
795# CONFIG_NFS_V4 is not set 1054# CONFIG_NFS_V4 is not set
796# CONFIG_NFSD is not set
797CONFIG_ROOT_NFS=y 1055CONFIG_ROOT_NFS=y
1056# CONFIG_NFSD is not set
798CONFIG_LOCKD=y 1057CONFIG_LOCKD=y
799CONFIG_LOCKD_V4=y 1058CONFIG_LOCKD_V4=y
800CONFIG_NFS_COMMON=y 1059CONFIG_NFS_COMMON=y
801CONFIG_SUNRPC=y 1060CONFIG_SUNRPC=y
802# CONFIG_SUNRPC_BIND34 is not set
803# CONFIG_RPCSEC_GSS_KRB5 is not set 1061# CONFIG_RPCSEC_GSS_KRB5 is not set
804# CONFIG_RPCSEC_GSS_SPKM3 is not set 1062# CONFIG_RPCSEC_GSS_SPKM3 is not set
805# CONFIG_SMB_FS is not set 1063# CONFIG_SMB_FS is not set
@@ -813,7 +1071,46 @@ CONFIG_SUNRPC=y
813# 1071#
814# CONFIG_PARTITION_ADVANCED is not set 1072# CONFIG_PARTITION_ADVANCED is not set
815CONFIG_MSDOS_PARTITION=y 1073CONFIG_MSDOS_PARTITION=y
816# CONFIG_NLS is not set 1074CONFIG_NLS=m
1075CONFIG_NLS_DEFAULT="iso8859-1"
1076CONFIG_NLS_CODEPAGE_437=m
1077# CONFIG_NLS_CODEPAGE_737 is not set
1078# CONFIG_NLS_CODEPAGE_775 is not set
1079# CONFIG_NLS_CODEPAGE_850 is not set
1080# CONFIG_NLS_CODEPAGE_852 is not set
1081# CONFIG_NLS_CODEPAGE_855 is not set
1082# CONFIG_NLS_CODEPAGE_857 is not set
1083# CONFIG_NLS_CODEPAGE_860 is not set
1084# CONFIG_NLS_CODEPAGE_861 is not set
1085# CONFIG_NLS_CODEPAGE_862 is not set
1086# CONFIG_NLS_CODEPAGE_863 is not set
1087# CONFIG_NLS_CODEPAGE_864 is not set
1088# CONFIG_NLS_CODEPAGE_865 is not set
1089# CONFIG_NLS_CODEPAGE_866 is not set
1090# CONFIG_NLS_CODEPAGE_869 is not set
1091# CONFIG_NLS_CODEPAGE_936 is not set
1092# CONFIG_NLS_CODEPAGE_950 is not set
1093# CONFIG_NLS_CODEPAGE_932 is not set
1094# CONFIG_NLS_CODEPAGE_949 is not set
1095# CONFIG_NLS_CODEPAGE_874 is not set
1096# CONFIG_NLS_ISO8859_8 is not set
1097# CONFIG_NLS_CODEPAGE_1250 is not set
1098# CONFIG_NLS_CODEPAGE_1251 is not set
1099# CONFIG_NLS_ASCII is not set
1100CONFIG_NLS_ISO8859_1=m
1101# CONFIG_NLS_ISO8859_2 is not set
1102# CONFIG_NLS_ISO8859_3 is not set
1103# CONFIG_NLS_ISO8859_4 is not set
1104# CONFIG_NLS_ISO8859_5 is not set
1105# CONFIG_NLS_ISO8859_6 is not set
1106# CONFIG_NLS_ISO8859_7 is not set
1107# CONFIG_NLS_ISO8859_9 is not set
1108# CONFIG_NLS_ISO8859_13 is not set
1109# CONFIG_NLS_ISO8859_14 is not set
1110# CONFIG_NLS_ISO8859_15 is not set
1111# CONFIG_NLS_KOI8_R is not set
1112# CONFIG_NLS_KOI8_U is not set
1113# CONFIG_NLS_UTF8 is not set
817# CONFIG_DLM is not set 1114# CONFIG_DLM is not set
818 1115
819# 1116#
@@ -822,13 +1119,16 @@ CONFIG_MSDOS_PARTITION=y
822CONFIG_BITREVERSE=y 1119CONFIG_BITREVERSE=y
823# CONFIG_GENERIC_FIND_FIRST_BIT is not set 1120# CONFIG_GENERIC_FIND_FIRST_BIT is not set
824# CONFIG_CRC_CCITT is not set 1121# CONFIG_CRC_CCITT is not set
825# CONFIG_CRC16 is not set 1122CONFIG_CRC16=m
1123CONFIG_CRC_T10DIF=m
826# CONFIG_CRC_ITU_T is not set 1124# CONFIG_CRC_ITU_T is not set
827CONFIG_CRC32=y 1125CONFIG_CRC32=y
828# CONFIG_CRC7 is not set 1126# CONFIG_CRC7 is not set
829# CONFIG_LIBCRC32C is not set 1127# CONFIG_LIBCRC32C is not set
830CONFIG_ZLIB_INFLATE=y 1128CONFIG_ZLIB_INFLATE=y
831CONFIG_ZLIB_DEFLATE=y 1129CONFIG_ZLIB_DEFLATE=y
1130CONFIG_LZO_COMPRESS=m
1131CONFIG_LZO_DECOMPRESS=m
832CONFIG_PLIST=y 1132CONFIG_PLIST=y
833CONFIG_HAS_IOMEM=y 1133CONFIG_HAS_IOMEM=y
834CONFIG_HAS_IOPORT=y 1134CONFIG_HAS_IOPORT=y
@@ -849,6 +1149,8 @@ CONFIG_MAGIC_SYSRQ=y
849CONFIG_DEBUG_KERNEL=y 1149CONFIG_DEBUG_KERNEL=y
850# CONFIG_DEBUG_SHIRQ is not set 1150# CONFIG_DEBUG_SHIRQ is not set
851CONFIG_DETECT_SOFTLOCKUP=y 1151CONFIG_DETECT_SOFTLOCKUP=y
1152# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1153CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
852CONFIG_SCHED_DEBUG=y 1154CONFIG_SCHED_DEBUG=y
853# CONFIG_SCHEDSTATS is not set 1155# CONFIG_SCHEDSTATS is not set
854# CONFIG_TIMER_STATS is not set 1156# CONFIG_TIMER_STATS is not set
@@ -866,19 +1168,28 @@ CONFIG_DEBUG_BUGVERBOSE=y
866# CONFIG_DEBUG_INFO is not set 1168# CONFIG_DEBUG_INFO is not set
867# CONFIG_DEBUG_VM is not set 1169# CONFIG_DEBUG_VM is not set
868# CONFIG_DEBUG_WRITECOUNT is not set 1170# CONFIG_DEBUG_WRITECOUNT is not set
1171# CONFIG_DEBUG_MEMORY_INIT is not set
869# CONFIG_DEBUG_LIST is not set 1172# CONFIG_DEBUG_LIST is not set
870# CONFIG_DEBUG_SG is not set 1173# CONFIG_DEBUG_SG is not set
871# CONFIG_BOOT_PRINTK_DELAY is not set 1174# CONFIG_BOOT_PRINTK_DELAY is not set
872# CONFIG_RCU_TORTURE_TEST is not set 1175# CONFIG_RCU_TORTURE_TEST is not set
873# CONFIG_BACKTRACE_SELF_TEST is not set 1176# CONFIG_BACKTRACE_SELF_TEST is not set
874# CONFIG_FAULT_INJECTION is not set 1177# CONFIG_FAULT_INJECTION is not set
1178# CONFIG_LATENCYTOP is not set
1179CONFIG_HAVE_FTRACE=y
1180CONFIG_HAVE_DYNAMIC_FTRACE=y
1181# CONFIG_FTRACE is not set
1182# CONFIG_SCHED_TRACER is not set
1183# CONFIG_CONTEXT_SWITCH_TRACER is not set
875# CONFIG_SAMPLES is not set 1184# CONFIG_SAMPLES is not set
1185CONFIG_HAVE_ARCH_KGDB=y
1186# CONFIG_KGDB is not set
876# CONFIG_DEBUG_STACKOVERFLOW is not set 1187# CONFIG_DEBUG_STACKOVERFLOW is not set
877# CONFIG_DEBUG_STACK_USAGE is not set 1188# CONFIG_DEBUG_STACK_USAGE is not set
878# CONFIG_DEBUG_PAGEALLOC is not set 1189# CONFIG_DEBUG_PAGEALLOC is not set
879# CONFIG_DEBUGGER is not set
880# CONFIG_CODE_PATCHING_SELFTEST is not set 1190# CONFIG_CODE_PATCHING_SELFTEST is not set
881# CONFIG_FTR_FIXUP_SELFTEST is not set 1191# CONFIG_FTR_FIXUP_SELFTEST is not set
1192# CONFIG_XMON is not set
882# CONFIG_IRQSTACKS is not set 1193# CONFIG_IRQSTACKS is not set
883# CONFIG_BDI_SWITCH is not set 1194# CONFIG_BDI_SWITCH is not set
884# CONFIG_PPC_EARLY_DEBUG is not set 1195# CONFIG_PPC_EARLY_DEBUG is not set
@@ -934,6 +1245,10 @@ CONFIG_CRYPTO_PCBC=y
934# CONFIG_CRYPTO_MD4 is not set 1245# CONFIG_CRYPTO_MD4 is not set
935CONFIG_CRYPTO_MD5=y 1246CONFIG_CRYPTO_MD5=y
936# CONFIG_CRYPTO_MICHAEL_MIC is not set 1247# CONFIG_CRYPTO_MICHAEL_MIC is not set
1248# CONFIG_CRYPTO_RMD128 is not set
1249# CONFIG_CRYPTO_RMD160 is not set
1250# CONFIG_CRYPTO_RMD256 is not set
1251# CONFIG_CRYPTO_RMD320 is not set
937# CONFIG_CRYPTO_SHA1 is not set 1252# CONFIG_CRYPTO_SHA1 is not set
938# CONFIG_CRYPTO_SHA256 is not set 1253# CONFIG_CRYPTO_SHA256 is not set
939# CONFIG_CRYPTO_SHA512 is not set 1254# CONFIG_CRYPTO_SHA512 is not set
@@ -962,8 +1277,8 @@ CONFIG_CRYPTO_DES=y
962# 1277#
963# Compression 1278# Compression
964# 1279#
965# CONFIG_CRYPTO_DEFLATE is not set 1280CONFIG_CRYPTO_DEFLATE=m
966# CONFIG_CRYPTO_LZO is not set 1281CONFIG_CRYPTO_LZO=m
967# CONFIG_CRYPTO_HW is not set 1282# CONFIG_CRYPTO_HW is not set
968# CONFIG_PPC_CLOCK is not set 1283# CONFIG_PPC_CLOCK is not set
969# CONFIG_VIRTUALIZATION is not set 1284# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h
index 19c7a9403490..c2df53c5ceb9 100644
--- a/arch/powerpc/include/asm/mmu-hash64.h
+++ b/arch/powerpc/include/asm/mmu-hash64.h
@@ -278,7 +278,7 @@ extern int hash_huge_page(struct mm_struct *mm, unsigned long access,
278 unsigned long trap); 278 unsigned long trap);
279 279
280extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend, 280extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend,
281 unsigned long pstart, unsigned long mode, 281 unsigned long pstart, unsigned long prot,
282 int psize, int ssize); 282 int psize, int ssize);
283extern void set_huge_psize(int psize); 283extern void set_huge_psize(int psize);
284extern void add_gpage(unsigned long addr, unsigned long page_size, 284extern void add_gpage(unsigned long addr, unsigned long page_size,
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 224e9a11765c..ea0c61e09b76 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -650,11 +650,18 @@ void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose,
650 } 650 }
651 } 651 }
652 652
653 /* Out of paranoia, let's put the ISA hole last if any */ 653 /* If there's an ISA hole and the pci_mem_offset is -not- matching
654 if (isa_hole >= 0 && memno > 0 && isa_hole != (memno-1)) { 654 * the ISA hole offset, then we need to remove the ISA hole from
655 struct resource tmp = hose->mem_resources[isa_hole]; 655 * the resource list for that brige
656 hose->mem_resources[isa_hole] = hose->mem_resources[memno-1]; 656 */
657 hose->mem_resources[memno-1] = tmp; 657 if (isa_hole >= 0 && hose->pci_mem_offset != isa_mb) {
658 unsigned int next = isa_hole + 1;
659 printk(KERN_INFO " Removing ISA hole at 0x%016llx\n", isa_mb);
660 if (next < memno)
661 memmove(&hose->mem_resources[isa_hole],
662 &hose->mem_resources[next],
663 sizeof(struct resource) * (memno - next));
664 hose->mem_resources[--memno].flags = 0;
658 } 665 }
659} 666}
660 667
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index c680f1bbd387..1f8505c23548 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -792,6 +792,9 @@ asmlinkage int ppc_rtas(struct rtas_args __user *uargs)
792 if (args.token == RTAS_UNKNOWN_SERVICE) 792 if (args.token == RTAS_UNKNOWN_SERVICE)
793 return -EINVAL; 793 return -EINVAL;
794 794
795 args.rets = &args.args[nargs];
796 memset(args.rets, 0, args.nret * sizeof(rtas_arg_t));
797
795 /* Need to handle ibm,suspend_me call specially */ 798 /* Need to handle ibm,suspend_me call specially */
796 if (args.token == ibm_suspend_me_token) { 799 if (args.token == ibm_suspend_me_token) {
797 rc = rtas_ibm_suspend_me(&args); 800 rc = rtas_ibm_suspend_me(&args);
@@ -808,8 +811,6 @@ asmlinkage int ppc_rtas(struct rtas_args __user *uargs)
808 enter_rtas(__pa(&rtas.args)); 811 enter_rtas(__pa(&rtas.args));
809 args = rtas.args; 812 args = rtas.args;
810 813
811 args.rets = &args.args[nargs];
812
813 /* A -1 return code indicates that the last command couldn't 814 /* A -1 return code indicates that the last command couldn't
814 be completed due to a hardware error. */ 815 be completed due to a hardware error. */
815 if (args.rets[0] == -1) 816 if (args.rets[0] == -1)
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 5ce5a4dcd008..14be408dfc9b 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -151,39 +151,53 @@ static struct mmu_psize_def mmu_psize_defaults_gp[] = {
151 }, 151 },
152}; 152};
153 153
154static unsigned long htab_convert_pte_flags(unsigned long pteflags)
155{
156 unsigned long rflags = pteflags & 0x1fa;
157
158 /* _PAGE_EXEC -> NOEXEC */
159 if ((pteflags & _PAGE_EXEC) == 0)
160 rflags |= HPTE_R_N;
161
162 /* PP bits. PAGE_USER is already PP bit 0x2, so we only
163 * need to add in 0x1 if it's a read-only user page
164 */
165 if ((pteflags & _PAGE_USER) && !((pteflags & _PAGE_RW) &&
166 (pteflags & _PAGE_DIRTY)))
167 rflags |= 1;
168
169 /* Always add C */
170 return rflags | HPTE_R_C;
171}
154 172
155int htab_bolt_mapping(unsigned long vstart, unsigned long vend, 173int htab_bolt_mapping(unsigned long vstart, unsigned long vend,
156 unsigned long pstart, unsigned long mode, 174 unsigned long pstart, unsigned long prot,
157 int psize, int ssize) 175 int psize, int ssize)
158{ 176{
159 unsigned long vaddr, paddr; 177 unsigned long vaddr, paddr;
160 unsigned int step, shift; 178 unsigned int step, shift;
161 unsigned long tmp_mode;
162 int ret = 0; 179 int ret = 0;
163 180
164 shift = mmu_psize_defs[psize].shift; 181 shift = mmu_psize_defs[psize].shift;
165 step = 1 << shift; 182 step = 1 << shift;
166 183
184 prot = htab_convert_pte_flags(prot);
185
186 DBG("htab_bolt_mapping(%lx..%lx -> %lx (%lx,%d,%d)\n",
187 vstart, vend, pstart, prot, psize, ssize);
188
167 for (vaddr = vstart, paddr = pstart; vaddr < vend; 189 for (vaddr = vstart, paddr = pstart; vaddr < vend;
168 vaddr += step, paddr += step) { 190 vaddr += step, paddr += step) {
169 unsigned long hash, hpteg; 191 unsigned long hash, hpteg;
170 unsigned long vsid = get_kernel_vsid(vaddr, ssize); 192 unsigned long vsid = get_kernel_vsid(vaddr, ssize);
171 unsigned long va = hpt_va(vaddr, vsid, ssize); 193 unsigned long va = hpt_va(vaddr, vsid, ssize);
172 194
173 tmp_mode = mode;
174
175 /* Make non-kernel text non-executable */
176 if (!in_kernel_text(vaddr))
177 tmp_mode = mode | HPTE_R_N;
178
179 hash = hpt_hash(va, shift, ssize); 195 hash = hpt_hash(va, shift, ssize);
180 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); 196 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP);
181 197
182 DBG("htab_bolt_mapping: calling %p\n", ppc_md.hpte_insert);
183
184 BUG_ON(!ppc_md.hpte_insert); 198 BUG_ON(!ppc_md.hpte_insert);
185 ret = ppc_md.hpte_insert(hpteg, va, paddr, 199 ret = ppc_md.hpte_insert(hpteg, va, paddr, prot,
186 tmp_mode, HPTE_V_BOLTED, psize, ssize); 200 HPTE_V_BOLTED, psize, ssize);
187 201
188 if (ret < 0) 202 if (ret < 0)
189 break; 203 break;
@@ -519,9 +533,9 @@ static unsigned long __init htab_get_table_size(void)
519#ifdef CONFIG_MEMORY_HOTPLUG 533#ifdef CONFIG_MEMORY_HOTPLUG
520void create_section_mapping(unsigned long start, unsigned long end) 534void create_section_mapping(unsigned long start, unsigned long end)
521{ 535{
522 BUG_ON(htab_bolt_mapping(start, end, __pa(start), 536 BUG_ON(htab_bolt_mapping(start, end, __pa(start),
523 _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | PP_RWXX, 537 PAGE_KERNEL, mmu_linear_psize,
524 mmu_linear_psize, mmu_kernel_ssize)); 538 mmu_kernel_ssize));
525} 539}
526 540
527int remove_section_mapping(unsigned long start, unsigned long end) 541int remove_section_mapping(unsigned long start, unsigned long end)
@@ -570,7 +584,7 @@ void __init htab_initialize(void)
570{ 584{
571 unsigned long table; 585 unsigned long table;
572 unsigned long pteg_count; 586 unsigned long pteg_count;
573 unsigned long mode_rw; 587 unsigned long prot, tprot;
574 unsigned long base = 0, size = 0, limit; 588 unsigned long base = 0, size = 0, limit;
575 int i; 589 int i;
576 590
@@ -628,7 +642,7 @@ void __init htab_initialize(void)
628 mtspr(SPRN_SDR1, _SDR1); 642 mtspr(SPRN_SDR1, _SDR1);
629 } 643 }
630 644
631 mode_rw = _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | PP_RWXX; 645 prot = PAGE_KERNEL;
632 646
633#ifdef CONFIG_DEBUG_PAGEALLOC 647#ifdef CONFIG_DEBUG_PAGEALLOC
634 linear_map_hash_count = lmb_end_of_DRAM() >> PAGE_SHIFT; 648 linear_map_hash_count = lmb_end_of_DRAM() >> PAGE_SHIFT;
@@ -646,8 +660,10 @@ void __init htab_initialize(void)
646 for (i=0; i < lmb.memory.cnt; i++) { 660 for (i=0; i < lmb.memory.cnt; i++) {
647 base = (unsigned long)__va(lmb.memory.region[i].base); 661 base = (unsigned long)__va(lmb.memory.region[i].base);
648 size = lmb.memory.region[i].size; 662 size = lmb.memory.region[i].size;
663 tprot = prot | (in_kernel_text(base) ? _PAGE_EXEC : 0);
649 664
650 DBG("creating mapping for region: %lx : %lx\n", base, size); 665 DBG("creating mapping for region: %lx..%lx (prot: %x)\n",
666 base, size, tprot);
651 667
652#ifdef CONFIG_U3_DART 668#ifdef CONFIG_U3_DART
653 /* Do not map the DART space. Fortunately, it will be aligned 669 /* Do not map the DART space. Fortunately, it will be aligned
@@ -664,21 +680,21 @@ void __init htab_initialize(void)
664 unsigned long dart_table_end = dart_tablebase + 16 * MB; 680 unsigned long dart_table_end = dart_tablebase + 16 * MB;
665 if (base != dart_tablebase) 681 if (base != dart_tablebase)
666 BUG_ON(htab_bolt_mapping(base, dart_tablebase, 682 BUG_ON(htab_bolt_mapping(base, dart_tablebase,
667 __pa(base), mode_rw, 683 __pa(base), tprot,
668 mmu_linear_psize, 684 mmu_linear_psize,
669 mmu_kernel_ssize)); 685 mmu_kernel_ssize));
670 if ((base + size) > dart_table_end) 686 if ((base + size) > dart_table_end)
671 BUG_ON(htab_bolt_mapping(dart_tablebase+16*MB, 687 BUG_ON(htab_bolt_mapping(dart_tablebase+16*MB,
672 base + size, 688 base + size,
673 __pa(dart_table_end), 689 __pa(dart_table_end),
674 mode_rw, 690 tprot,
675 mmu_linear_psize, 691 mmu_linear_psize,
676 mmu_kernel_ssize)); 692 mmu_kernel_ssize));
677 continue; 693 continue;
678 } 694 }
679#endif /* CONFIG_U3_DART */ 695#endif /* CONFIG_U3_DART */
680 BUG_ON(htab_bolt_mapping(base, base + size, __pa(base), 696 BUG_ON(htab_bolt_mapping(base, base + size, __pa(base),
681 mode_rw, mmu_linear_psize, mmu_kernel_ssize)); 697 tprot, mmu_linear_psize, mmu_kernel_ssize));
682 } 698 }
683 699
684 /* 700 /*
@@ -696,7 +712,7 @@ void __init htab_initialize(void)
696 tce_alloc_start = base + size + 1; 712 tce_alloc_start = base + size + 1;
697 713
698 BUG_ON(htab_bolt_mapping(tce_alloc_start, tce_alloc_end, 714 BUG_ON(htab_bolt_mapping(tce_alloc_start, tce_alloc_end,
699 __pa(tce_alloc_start), mode_rw, 715 __pa(tce_alloc_start), prot,
700 mmu_linear_psize, mmu_kernel_ssize)); 716 mmu_linear_psize, mmu_kernel_ssize));
701 } 717 }
702 718
@@ -1117,8 +1133,7 @@ static void kernel_map_linear_page(unsigned long vaddr, unsigned long lmi)
1117 unsigned long hash, hpteg; 1133 unsigned long hash, hpteg;
1118 unsigned long vsid = get_kernel_vsid(vaddr, mmu_kernel_ssize); 1134 unsigned long vsid = get_kernel_vsid(vaddr, mmu_kernel_ssize);
1119 unsigned long va = hpt_va(vaddr, vsid, mmu_kernel_ssize); 1135 unsigned long va = hpt_va(vaddr, vsid, mmu_kernel_ssize);
1120 unsigned long mode = _PAGE_ACCESSED | _PAGE_DIRTY | 1136 unsigned long mode = htab_convert_pte_flags(PAGE_KERNEL);
1121 _PAGE_COHERENT | PP_RWXX | HPTE_R_N;
1122 int ret; 1137 int ret;
1123 1138
1124 hash = hpt_hash(va, PAGE_SHIFT, mmu_kernel_ssize); 1139 hash = hpt_hash(va, PAGE_SHIFT, mmu_kernel_ssize);
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index 4f7df85129d8..036fe2f10c77 100644
--- a/arch/powerpc/mm/init_64.c
+++ b/arch/powerpc/mm/init_64.c
@@ -206,13 +206,10 @@ static int __meminit vmemmap_populated(unsigned long start, int page_size)
206int __meminit vmemmap_populate(struct page *start_page, 206int __meminit vmemmap_populate(struct page *start_page,
207 unsigned long nr_pages, int node) 207 unsigned long nr_pages, int node)
208{ 208{
209 unsigned long mode_rw;
210 unsigned long start = (unsigned long)start_page; 209 unsigned long start = (unsigned long)start_page;
211 unsigned long end = (unsigned long)(start_page + nr_pages); 210 unsigned long end = (unsigned long)(start_page + nr_pages);
212 unsigned long page_size = 1 << mmu_psize_defs[mmu_vmemmap_psize].shift; 211 unsigned long page_size = 1 << mmu_psize_defs[mmu_vmemmap_psize].shift;
213 212
214 mode_rw = _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | PP_RWXX;
215
216 /* Align to the page size of the linear mapping. */ 213 /* Align to the page size of the linear mapping. */
217 start = _ALIGN_DOWN(start, page_size); 214 start = _ALIGN_DOWN(start, page_size);
218 215
@@ -230,9 +227,9 @@ int __meminit vmemmap_populate(struct page *start_page,
230 pr_debug("vmemmap %08lx allocated at %p, physical %08lx.\n", 227 pr_debug("vmemmap %08lx allocated at %p, physical %08lx.\n",
231 start, p, __pa(p)); 228 start, p, __pa(p));
232 229
233 mapped = htab_bolt_mapping(start, start + page_size, 230 mapped = htab_bolt_mapping(start, start + page_size, __pa(p),
234 __pa(p), mode_rw, mmu_vmemmap_psize, 231 PAGE_KERNEL, mmu_vmemmap_psize,
235 mmu_kernel_ssize); 232 mmu_kernel_ssize);
236 BUG_ON(mapped < 0); 233 BUG_ON(mapped < 0);
237 } 234 }
238 235
diff --git a/arch/powerpc/platforms/44x/warp-nand.c b/arch/powerpc/platforms/44x/warp-nand.c
index e55746b824b4..89ecd76127d8 100644
--- a/arch/powerpc/platforms/44x/warp-nand.c
+++ b/arch/powerpc/platforms/44x/warp-nand.c
@@ -24,7 +24,7 @@
24 24
25static struct resource warp_ndfc = { 25static struct resource warp_ndfc = {
26 .start = WARP_NAND_FLASH_REG_ADDR, 26 .start = WARP_NAND_FLASH_REG_ADDR,
27 .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE, 27 .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE - 1,
28 .flags = IORESOURCE_MEM, 28 .flags = IORESOURCE_MEM,
29}; 29};
30 30
diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c
index 9565995cba7f..960edf89be51 100644
--- a/arch/powerpc/platforms/44x/warp.c
+++ b/arch/powerpc/platforms/44x/warp.c
@@ -30,18 +30,6 @@ static __initdata struct of_device_id warp_of_bus[] = {
30 {}, 30 {},
31}; 31};
32 32
33static __initdata struct i2c_board_info warp_i2c_info[] = {
34 { I2C_BOARD_INFO("ad7414", 0x4a) }
35};
36
37static int __init warp_arch_init(void)
38{
39 /* This should go away once support is moved to the dts. */
40 i2c_register_board_info(0, warp_i2c_info, ARRAY_SIZE(warp_i2c_info));
41 return 0;
42}
43machine_arch_initcall(warp, warp_arch_init);
44
45static int __init warp_device_probe(void) 33static int __init warp_device_probe(void)
46{ 34{
47 of_platform_bus_probe(NULL, warp_of_bus, NULL); 35 of_platform_bus_probe(NULL, warp_of_bus, NULL);
@@ -223,7 +211,7 @@ static void pika_setup_critical_temp(struct i2c_client *client)
223 211
224 /* These registers are in 1 degree increments. */ 212 /* These registers are in 1 degree increments. */
225 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */ 213 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */
226 i2c_smbus_write_byte_data(client, 3, 55); /* Tlow */ 214 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */
227 215
228 np = of_find_compatible_node(NULL, NULL, "adi,ad7414"); 216 np = of_find_compatible_node(NULL, NULL, "adi,ad7414");
229 if (np == NULL) { 217 if (np == NULL) {
@@ -289,8 +277,15 @@ found_it:
289 printk(KERN_INFO "PIKA DTM thread running.\n"); 277 printk(KERN_INFO "PIKA DTM thread running.\n");
290 278
291 while (!kthread_should_stop()) { 279 while (!kthread_should_stop()) {
292 u16 temp = swab16(i2c_smbus_read_word_data(client, 0)); 280 int val;
293 out_be32(fpga + 0x20, temp); 281
282 val = i2c_smbus_read_word_data(client, 0);
283 if (val < 0)
284 dev_dbg(&client->dev, "DTM read temp failed.\n");
285 else {
286 s16 temp = swab16(val);
287 out_be32(fpga + 0x20, temp);
288 }
294 289
295 pika_dtm_check_fan(fpga); 290 pika_dtm_check_fan(fpga);
296 291
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 3d0f2b6a5a16..ac2fb0641a04 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -22,7 +22,6 @@ config X86
22 select HAVE_IDE 22 select HAVE_IDE
23 select HAVE_OPROFILE 23 select HAVE_OPROFILE
24 select HAVE_IOREMAP_PROT 24 select HAVE_IOREMAP_PROT
25 select HAVE_GET_USER_PAGES_FAST
26 select HAVE_KPROBES 25 select HAVE_KPROBES
27 select ARCH_WANT_OPTIONAL_GPIOLIB 26 select ARCH_WANT_OPTIONAL_GPIOLIB
28 select HAVE_KRETPROBES 27 select HAVE_KRETPROBES
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index d6c898358371..039a8d4aaf62 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1720,15 +1720,19 @@ static int __init parse_lapic_timer_c2_ok(char *arg)
1720} 1720}
1721early_param("lapic_timer_c2_ok", parse_lapic_timer_c2_ok); 1721early_param("lapic_timer_c2_ok", parse_lapic_timer_c2_ok);
1722 1722
1723static int __init apic_set_verbosity(char *str) 1723static int __init apic_set_verbosity(char *arg)
1724{ 1724{
1725 if (strcmp("debug", str) == 0) 1725 if (!arg)
1726 return -EINVAL;
1727
1728 if (strcmp(arg, "debug") == 0)
1726 apic_verbosity = APIC_DEBUG; 1729 apic_verbosity = APIC_DEBUG;
1727 else if (strcmp("verbose", str) == 0) 1730 else if (strcmp(arg, "verbose") == 0)
1728 apic_verbosity = APIC_VERBOSE; 1731 apic_verbosity = APIC_VERBOSE;
1729 return 1; 1732
1733 return 0;
1730} 1734}
1731__setup("apic=", apic_set_verbosity); 1735early_param("apic", apic_set_verbosity);
1732 1736
1733static int __init lapic_insert_resource(void) 1737static int __init lapic_insert_resource(void)
1734{ 1738{
diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index c9b58a806e85..c8e315f1aa83 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -50,6 +50,8 @@ static double __initdata y = 3145727.0;
50 */ 50 */
51static void __init check_fpu(void) 51static void __init check_fpu(void)
52{ 52{
53 s32 fdiv_bug;
54
53 if (!boot_cpu_data.hard_math) { 55 if (!boot_cpu_data.hard_math) {
54#ifndef CONFIG_MATH_EMULATION 56#ifndef CONFIG_MATH_EMULATION
55 printk(KERN_EMERG "No coprocessor found and no math emulation present.\n"); 57 printk(KERN_EMERG "No coprocessor found and no math emulation present.\n");
@@ -74,8 +76,10 @@ static void __init check_fpu(void)
74 "fistpl %0\n\t" 76 "fistpl %0\n\t"
75 "fwait\n\t" 77 "fwait\n\t"
76 "fninit" 78 "fninit"
77 : "=m" (*&boot_cpu_data.fdiv_bug) 79 : "=m" (*&fdiv_bug)
78 : "m" (*&x), "m" (*&y)); 80 : "m" (*&x), "m" (*&y));
81
82 boot_cpu_data.fdiv_bug = fdiv_bug;
79 if (boot_cpu_data.fdiv_bug) 83 if (boot_cpu_data.fdiv_bug)
80 printk("Hmm, FPU with FDIV bug.\n"); 84 printk("Hmm, FPU with FDIV bug.\n");
81} 85}
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index de9aa0e3a9c5..09cddb57bec4 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -57,7 +57,7 @@ atomic_t irq_mis_count;
57static struct { int pin, apic; } ioapic_i8259 = { -1, -1 }; 57static struct { int pin, apic; } ioapic_i8259 = { -1, -1 };
58 58
59static DEFINE_SPINLOCK(ioapic_lock); 59static DEFINE_SPINLOCK(ioapic_lock);
60static DEFINE_SPINLOCK(vector_lock); 60DEFINE_SPINLOCK(vector_lock);
61 61
62int timer_through_8259 __initdata; 62int timer_through_8259 __initdata;
63 63
@@ -1209,10 +1209,6 @@ static int assign_irq_vector(int irq)
1209 return vector; 1209 return vector;
1210} 1210}
1211 1211
1212void setup_vector_irq(int cpu)
1213{
1214}
1215
1216static struct irq_chip ioapic_chip; 1212static struct irq_chip ioapic_chip;
1217 1213
1218#define IOAPIC_AUTO -1 1214#define IOAPIC_AUTO -1
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 8269434d1707..61a83b70c18f 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -101,7 +101,7 @@ int timer_through_8259 __initdata;
101static struct { int pin, apic; } ioapic_i8259 = { -1, -1 }; 101static struct { int pin, apic; } ioapic_i8259 = { -1, -1 };
102 102
103static DEFINE_SPINLOCK(ioapic_lock); 103static DEFINE_SPINLOCK(ioapic_lock);
104DEFINE_SPINLOCK(vector_lock); 104static DEFINE_SPINLOCK(vector_lock);
105 105
106/* 106/*
107 * # of IRQ routing registers 107 * # of IRQ routing registers
@@ -697,6 +697,19 @@ static int pin_2_irq(int idx, int apic, int pin)
697 return irq; 697 return irq;
698} 698}
699 699
700void lock_vector_lock(void)
701{
702 /* Used to the online set of cpus does not change
703 * during assign_irq_vector.
704 */
705 spin_lock(&vector_lock);
706}
707
708void unlock_vector_lock(void)
709{
710 spin_unlock(&vector_lock);
711}
712
700static int __assign_irq_vector(int irq, cpumask_t mask) 713static int __assign_irq_vector(int irq, cpumask_t mask)
701{ 714{
702 /* 715 /*
@@ -802,7 +815,7 @@ static void __clear_irq_vector(int irq)
802 cpus_clear(cfg->domain); 815 cpus_clear(cfg->domain);
803} 816}
804 817
805static void __setup_vector_irq(int cpu) 818void __setup_vector_irq(int cpu)
806{ 819{
807 /* Initialize vector_irq on a new cpu */ 820 /* Initialize vector_irq on a new cpu */
808 /* This function must be called with vector_lock held */ 821 /* This function must be called with vector_lock held */
@@ -825,14 +838,6 @@ static void __setup_vector_irq(int cpu)
825 } 838 }
826} 839}
827 840
828void setup_vector_irq(int cpu)
829{
830 spin_lock(&vector_lock);
831 __setup_vector_irq(smp_processor_id());
832 spin_unlock(&vector_lock);
833}
834
835
836static struct irq_chip ioapic_chip; 841static struct irq_chip ioapic_chip;
837 842
838static void ioapic_register_intr(int irq, unsigned long trigger) 843static void ioapic_register_intr(int irq, unsigned long trigger)
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index 6ae005ccaed8..678090508a62 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -83,7 +83,7 @@ static void __init MP_bus_info(struct mpc_config_bus *m)
83 if (x86_quirks->mpc_oem_bus_info) 83 if (x86_quirks->mpc_oem_bus_info)
84 x86_quirks->mpc_oem_bus_info(m, str); 84 x86_quirks->mpc_oem_bus_info(m, str);
85 else 85 else
86 printk(KERN_INFO "Bus #%d is %s\n", m->mpc_busid, str); 86 apic_printk(APIC_VERBOSE, "Bus #%d is %s\n", m->mpc_busid, str);
87 87
88#if MAX_MP_BUSSES < 256 88#if MAX_MP_BUSSES < 256
89 if (m->mpc_busid >= MAX_MP_BUSSES) { 89 if (m->mpc_busid >= MAX_MP_BUSSES) {
@@ -154,7 +154,7 @@ static void __init MP_ioapic_info(struct mpc_config_ioapic *m)
154 154
155static void print_MP_intsrc_info(struct mpc_config_intsrc *m) 155static void print_MP_intsrc_info(struct mpc_config_intsrc *m)
156{ 156{
157 printk(KERN_CONT "Int: type %d, pol %d, trig %d, bus %02x," 157 apic_printk(APIC_VERBOSE, "Int: type %d, pol %d, trig %d, bus %02x,"
158 " IRQ %02x, APIC ID %x, APIC INT %02x\n", 158 " IRQ %02x, APIC ID %x, APIC INT %02x\n",
159 m->mpc_irqtype, m->mpc_irqflag & 3, 159 m->mpc_irqtype, m->mpc_irqflag & 3,
160 (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus, 160 (m->mpc_irqflag >> 2) & 3, m->mpc_srcbus,
@@ -163,7 +163,7 @@ static void print_MP_intsrc_info(struct mpc_config_intsrc *m)
163 163
164static void __init print_mp_irq_info(struct mp_config_intsrc *mp_irq) 164static void __init print_mp_irq_info(struct mp_config_intsrc *mp_irq)
165{ 165{
166 printk(KERN_CONT "Int: type %d, pol %d, trig %d, bus %02x," 166 apic_printk(APIC_VERBOSE, "Int: type %d, pol %d, trig %d, bus %02x,"
167 " IRQ %02x, APIC ID %x, APIC INT %02x\n", 167 " IRQ %02x, APIC ID %x, APIC INT %02x\n",
168 mp_irq->mp_irqtype, mp_irq->mp_irqflag & 3, 168 mp_irq->mp_irqtype, mp_irq->mp_irqflag & 3,
169 (mp_irq->mp_irqflag >> 2) & 3, mp_irq->mp_srcbus, 169 (mp_irq->mp_irqflag >> 2) & 3, mp_irq->mp_srcbus,
@@ -235,7 +235,7 @@ static void __init MP_intsrc_info(struct mpc_config_intsrc *m)
235 235
236static void __init MP_lintsrc_info(struct mpc_config_lintsrc *m) 236static void __init MP_lintsrc_info(struct mpc_config_lintsrc *m)
237{ 237{
238 printk(KERN_INFO "Lint: type %d, pol %d, trig %d, bus %02x," 238 apic_printk(APIC_VERBOSE, "Lint: type %d, pol %d, trig %d, bus %02x,"
239 " IRQ %02x, APIC ID %x, APIC LINT %02x\n", 239 " IRQ %02x, APIC ID %x, APIC LINT %02x\n",
240 m->mpc_irqtype, m->mpc_irqflag & 3, 240 m->mpc_irqtype, m->mpc_irqflag & 3,
241 (m->mpc_irqflag >> 2) & 3, m->mpc_srcbusid, 241 (m->mpc_irqflag >> 2) & 3, m->mpc_srcbusid,
@@ -695,7 +695,8 @@ static int __init smp_scan_config(unsigned long base, unsigned long length,
695 unsigned int *bp = phys_to_virt(base); 695 unsigned int *bp = phys_to_virt(base);
696 struct intel_mp_floating *mpf; 696 struct intel_mp_floating *mpf;
697 697
698 printk(KERN_DEBUG "Scan SMP from %p for %ld bytes.\n", bp, length); 698 apic_printk(APIC_VERBOSE, "Scan SMP from %p for %ld bytes.\n",
699 bp, length);
699 BUILD_BUG_ON(sizeof(*mpf) != 16); 700 BUILD_BUG_ON(sizeof(*mpf) != 16);
700 701
701 while (length > 0) { 702 while (length > 0) {
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index b67a4b1d4eae..02d19328525d 100644
--- a/arch/x86/kernel/pci-calgary_64.c
+++ b/arch/x86/kernel/pci-calgary_64.c
@@ -1350,7 +1350,7 @@ static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl)
1350 * Function for kdump case. Get the tce tables from first kernel 1350 * Function for kdump case. Get the tce tables from first kernel
1351 * by reading the contents of the base adress register of calgary iommu 1351 * by reading the contents of the base adress register of calgary iommu
1352 */ 1352 */
1353static void get_tce_space_from_tar() 1353static void get_tce_space_from_tar(void)
1354{ 1354{
1355 int bus; 1355 int bus;
1356 void __iomem *target; 1356 void __iomem *target;
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 2d888586385d..68b48e3fbcbd 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -604,6 +604,14 @@ void __init setup_arch(char **cmdline_p)
604 early_cpu_init(); 604 early_cpu_init();
605 early_ioremap_init(); 605 early_ioremap_init();
606 606
607#if defined(CONFIG_VMI) && defined(CONFIG_X86_32)
608 /*
609 * Must be before kernel pagetables are setup
610 * or fixmap area is touched.
611 */
612 vmi_init();
613#endif
614
607 ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev); 615 ROOT_DEV = old_decode_dev(boot_params.hdr.root_dev);
608 screen_info = boot_params.screen_info; 616 screen_info = boot_params.screen_info;
609 edid_info = boot_params.edid_info; 617 edid_info = boot_params.edid_info;
@@ -817,14 +825,6 @@ void __init setup_arch(char **cmdline_p)
817 kvmclock_init(); 825 kvmclock_init();
818#endif 826#endif
819 827
820#if defined(CONFIG_VMI) && defined(CONFIG_X86_32)
821 /*
822 * Must be after max_low_pfn is determined, and before kernel
823 * pagetables are setup.
824 */
825 vmi_init();
826#endif
827
828 paravirt_pagetable_setup_start(swapper_pg_dir); 828 paravirt_pagetable_setup_start(swapper_pg_dir);
829 paging_init(); 829 paging_init();
830 paravirt_pagetable_setup_done(swapper_pg_dir); 830 paravirt_pagetable_setup_done(swapper_pg_dir);
@@ -861,12 +861,6 @@ void __init setup_arch(char **cmdline_p)
861 init_apic_mappings(); 861 init_apic_mappings();
862 ioapic_init_mappings(); 862 ioapic_init_mappings();
863 863
864#if defined(CONFIG_SMP) && defined(CONFIG_X86_PC) && defined(CONFIG_X86_32)
865 if (def_to_bigsmp)
866 printk(KERN_WARNING "More than 8 CPUs detected and "
867 "CONFIG_X86_PC cannot handle it.\nUse "
868 "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n");
869#endif
870 kvm_guest_init(); 864 kvm_guest_init();
871 865
872 e820_reserve_resources(); 866 e820_reserve_resources();
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 332512767f4f..91055d7fc1b0 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -326,12 +326,16 @@ static void __cpuinit start_secondary(void *unused)
326 * for which cpus receive the IPI. Holding this 326 * for which cpus receive the IPI. Holding this
327 * lock helps us to not include this cpu in a currently in progress 327 * lock helps us to not include this cpu in a currently in progress
328 * smp_call_function(). 328 * smp_call_function().
329 *
330 * We need to hold vector_lock so there the set of online cpus
331 * does not change while we are assigning vectors to cpus. Holding
332 * this lock ensures we don't half assign or remove an irq from a cpu.
329 */ 333 */
330 ipi_call_lock_irq(); 334 ipi_call_lock_irq();
331#ifdef CONFIG_X86_IO_APIC 335 lock_vector_lock();
332 setup_vector_irq(smp_processor_id()); 336 __setup_vector_irq(smp_processor_id());
333#endif
334 cpu_set(smp_processor_id(), cpu_online_map); 337 cpu_set(smp_processor_id(), cpu_online_map);
338 unlock_vector_lock();
335 ipi_call_unlock_irq(); 339 ipi_call_unlock_irq();
336 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; 340 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
337 341
@@ -990,7 +994,17 @@ int __cpuinit native_cpu_up(unsigned int cpu)
990 flush_tlb_all(); 994 flush_tlb_all();
991 low_mappings = 1; 995 low_mappings = 1;
992 996
997#ifdef CONFIG_X86_PC
998 if (def_to_bigsmp && apicid > 8) {
999 printk(KERN_WARNING
1000 "More than 8 CPUs detected - skipping them.\n"
1001 "Use CONFIG_X86_GENERICARCH and CONFIG_X86_BIGSMP.\n");
1002 err = -1;
1003 } else
1004 err = do_boot_cpu(apicid, cpu);
1005#else
993 err = do_boot_cpu(apicid, cpu); 1006 err = do_boot_cpu(apicid, cpu);
1007#endif
994 1008
995 zap_low_mappings(); 1009 zap_low_mappings();
996 low_mappings = 0; 1010 low_mappings = 0;
@@ -1336,7 +1350,9 @@ int __cpu_disable(void)
1336 remove_siblinginfo(cpu); 1350 remove_siblinginfo(cpu);
1337 1351
1338 /* It's now safe to remove this processor from the online map */ 1352 /* It's now safe to remove this processor from the online map */
1353 lock_vector_lock();
1339 remove_cpu_from_maps(cpu); 1354 remove_cpu_from_maps(cpu);
1355 unlock_vector_lock();
1340 fixup_irqs(cpu_online_map); 1356 fixup_irqs(cpu_online_map);
1341 return 0; 1357 return 0;
1342} 1358}
diff --git a/arch/x86/kernel/vmi_32.c b/arch/x86/kernel/vmi_32.c
index 0a1b1a9d922d..6ca515d6db54 100644
--- a/arch/x86/kernel/vmi_32.c
+++ b/arch/x86/kernel/vmi_32.c
@@ -37,6 +37,7 @@
37#include <asm/timer.h> 37#include <asm/timer.h>
38#include <asm/vmi_time.h> 38#include <asm/vmi_time.h>
39#include <asm/kmap_types.h> 39#include <asm/kmap_types.h>
40#include <asm/setup.h>
40 41
41/* Convenient for calling VMI functions indirectly in the ROM */ 42/* Convenient for calling VMI functions indirectly in the ROM */
42typedef u32 __attribute__((regparm(1))) (VROMFUNC)(void); 43typedef u32 __attribute__((regparm(1))) (VROMFUNC)(void);
@@ -683,7 +684,7 @@ void vmi_bringup(void)
683{ 684{
684 /* We must establish the lowmem mapping for MMU ops to work */ 685 /* We must establish the lowmem mapping for MMU ops to work */
685 if (vmi_ops.set_linear_mapping) 686 if (vmi_ops.set_linear_mapping)
686 vmi_ops.set_linear_mapping(0, (void *)__PAGE_OFFSET, max_low_pfn, 0); 687 vmi_ops.set_linear_mapping(0, (void *)__PAGE_OFFSET, MAXMEM_PFN, 0);
687} 688}
688 689
689/* 690/*
diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile
index 2977ea37791f..dfb932dcf136 100644
--- a/arch/x86/mm/Makefile
+++ b/arch/x86/mm/Makefile
@@ -1,7 +1,6 @@
1obj-y := init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \ 1obj-y := init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
2 pat.o pgtable.o 2 pat.o pgtable.o gup.o
3 3
4obj-$(CONFIG_HAVE_GET_USER_PAGES_FAST) += gup.o
5obj-$(CONFIG_X86_32) += pgtable_32.o 4obj-$(CONFIG_X86_32) += pgtable_32.o
6 5
7obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 6obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
index 557b2abceef8..d50302774fe2 100644
--- a/arch/x86/mm/pgtable.c
+++ b/arch/x86/mm/pgtable.c
@@ -207,6 +207,9 @@ static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[])
207 unsigned long addr; 207 unsigned long addr;
208 int i; 208 int i;
209 209
210 if (PREALLOCATED_PMDS == 0) /* Work around gcc-3.4.x bug */
211 return;
212
210 pud = pud_offset(pgd, 0); 213 pud = pud_offset(pgd, 0);
211 214
212 for (addr = i = 0; i < PREALLOCATED_PMDS; 215 for (addr = i = 0; i < PREALLOCATED_PMDS;
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h
index 81e14bea54bd..4bada0e8b812 100644
--- a/drivers/char/agp/agp.h
+++ b/drivers/char/agp/agp.h
@@ -148,6 +148,9 @@ struct agp_bridge_data {
148 char minor_version; 148 char minor_version;
149 struct list_head list; 149 struct list_head list;
150 u32 apbase_config; 150 u32 apbase_config;
151 /* list of agp_memory mapped to the aperture */
152 struct list_head mapped_list;
153 spinlock_t mapped_lock;
151}; 154};
152 155
153#define KB(x) ((x) * 1024) 156#define KB(x) ((x) * 1024)
diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c
index 1ffb381130c3..31dcd9142d54 100644
--- a/drivers/char/agp/ali-agp.c
+++ b/drivers/char/agp/ali-agp.c
@@ -110,7 +110,8 @@ static int ali_configure(void)
110 110
111 nlvm_addr+= agp_bridge->gart_bus_addr; 111 nlvm_addr+= agp_bridge->gart_bus_addr;
112 nlvm_addr|=(agp_bridge->gart_bus_addr>>12); 112 nlvm_addr|=(agp_bridge->gart_bus_addr>>12);
113 printk(KERN_INFO PFX "nlvm top &base = %8x\n",nlvm_addr); 113 dev_info(&agp_bridge->dev->dev, "nlvm top &base = %8x\n",
114 nlvm_addr);
114 } 115 }
115#endif 116#endif
116 117
@@ -315,8 +316,8 @@ static int __devinit agp_ali_probe(struct pci_dev *pdev,
315 goto found; 316 goto found;
316 } 317 }
317 318
318 printk(KERN_ERR PFX "Unsupported ALi chipset (device id: %04x)\n", 319 dev_err(&pdev->dev, "unsupported ALi chipset [%04x/%04x])\n",
319 pdev->device); 320 pdev->vendor, pdev->device);
320 return -ENODEV; 321 return -ENODEV;
321 322
322 323
@@ -361,8 +362,7 @@ found:
361 bridge->driver = &ali_generic_bridge; 362 bridge->driver = &ali_generic_bridge;
362 } 363 }
363 364
364 printk(KERN_INFO PFX "Detected ALi %s chipset\n", 365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[j].chipset_name);
365 devs[j].chipset_name);
366 366
367 /* Fill in the mode register */ 367 /* Fill in the mode register */
368 pci_read_config_dword(pdev, 368 pci_read_config_dword(pdev,
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
index 39a0718bc616..e280531843be 100644
--- a/drivers/char/agp/amd-k7-agp.c
+++ b/drivers/char/agp/amd-k7-agp.c
@@ -419,8 +419,8 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
419 return -ENODEV; 419 return -ENODEV;
420 420
421 j = ent - agp_amdk7_pci_table; 421 j = ent - agp_amdk7_pci_table;
422 printk(KERN_INFO PFX "Detected AMD %s chipset\n", 422 dev_info(&pdev->dev, "AMD %s chipset\n",
423 amd_agp_device_ids[j].chipset_name); 423 amd_agp_device_ids[j].chipset_name);
424 424
425 bridge = agp_alloc_bridge(); 425 bridge = agp_alloc_bridge();
426 if (!bridge) 426 if (!bridge)
@@ -442,7 +442,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
442 while (!cap_ptr) { 442 while (!cap_ptr) {
443 gfxcard = pci_get_class(PCI_CLASS_DISPLAY_VGA<<8, gfxcard); 443 gfxcard = pci_get_class(PCI_CLASS_DISPLAY_VGA<<8, gfxcard);
444 if (!gfxcard) { 444 if (!gfxcard) {
445 printk (KERN_INFO PFX "Couldn't find an AGP VGA controller.\n"); 445 dev_info(&pdev->dev, "no AGP VGA controller\n");
446 return -ENODEV; 446 return -ENODEV;
447 } 447 }
448 cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP); 448 cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP);
@@ -453,7 +453,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
453 (if necessary at all). */ 453 (if necessary at all). */
454 if (gfxcard->vendor == PCI_VENDOR_ID_NVIDIA) { 454 if (gfxcard->vendor == PCI_VENDOR_ID_NVIDIA) {
455 agp_bridge->flags |= AGP_ERRATA_1X; 455 agp_bridge->flags |= AGP_ERRATA_1X;
456 printk (KERN_INFO PFX "AMD 751 chipset with NVidia GeForce detected. Forcing to 1X due to errata.\n"); 456 dev_info(&pdev->dev, "AMD 751 chipset with NVidia GeForce; forcing 1X due to errata\n");
457 } 457 }
458 pci_dev_put(gfxcard); 458 pci_dev_put(gfxcard);
459 } 459 }
@@ -469,7 +469,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
469 agp_bridge->flags = AGP_ERRATA_FASTWRITES; 469 agp_bridge->flags = AGP_ERRATA_FASTWRITES;
470 agp_bridge->flags |= AGP_ERRATA_SBA; 470 agp_bridge->flags |= AGP_ERRATA_SBA;
471 agp_bridge->flags |= AGP_ERRATA_1X; 471 agp_bridge->flags |= AGP_ERRATA_1X;
472 printk (KERN_INFO PFX "AMD 761 chipset with errata detected - disabling AGP fast writes & SBA and forcing to 1X.\n"); 472 dev_info(&pdev->dev, "AMD 761 chipset with errata; disabling AGP fast writes & SBA and forcing to 1X\n");
473 } 473 }
474 } 474 }
475 475
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 481ffe87c716..7495c522d8e4 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -34,6 +34,7 @@
34 34
35static struct resource *aperture_resource; 35static struct resource *aperture_resource;
36static int __initdata agp_try_unsupported = 1; 36static int __initdata agp_try_unsupported = 1;
37static int agp_bridges_found;
37 38
38static void amd64_tlbflush(struct agp_memory *temp) 39static void amd64_tlbflush(struct agp_memory *temp)
39{ 40{
@@ -293,12 +294,13 @@ static __devinit int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp,
293 * so let double check that order, and lets trust the AMD NB settings 294 * so let double check that order, and lets trust the AMD NB settings
294 */ 295 */
295 if (order >=0 && aper + (32ULL<<(20 + order)) > 0x100000000ULL) { 296 if (order >=0 && aper + (32ULL<<(20 + order)) > 0x100000000ULL) {
296 printk(KERN_INFO "Aperture size %u MB is not right, using settings from NB\n", 297 dev_info(&agp->dev, "aperture size %u MB is not right, using settings from NB\n",
297 32 << order); 298 32 << order);
298 order = nb_order; 299 order = nb_order;
299 } 300 }
300 301
301 printk(KERN_INFO PFX "Aperture from AGP @ %Lx size %u MB\n", aper, 32 << order); 302 dev_info(&agp->dev, "aperture from AGP @ %Lx size %u MB\n",
303 aper, 32 << order);
302 if (order < 0 || !agp_aperture_valid(aper, (32*1024*1024)<<order)) 304 if (order < 0 || !agp_aperture_valid(aper, (32*1024*1024)<<order))
303 return -1; 305 return -1;
304 306
@@ -319,10 +321,10 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
319 for (i = 0; i < num_k8_northbridges; i++) { 321 for (i = 0; i < num_k8_northbridges; i++) {
320 struct pci_dev *dev = k8_northbridges[i]; 322 struct pci_dev *dev = k8_northbridges[i];
321 if (fix_northbridge(dev, pdev, cap_ptr) < 0) { 323 if (fix_northbridge(dev, pdev, cap_ptr) < 0) {
322 printk(KERN_ERR PFX "No usable aperture found.\n"); 324 dev_err(&dev->dev, "no usable aperture found\n");
323#ifdef __x86_64__ 325#ifdef __x86_64__
324 /* should port this to i386 */ 326 /* should port this to i386 */
325 printk(KERN_ERR PFX "Consider rebooting with iommu=memaper=2 to get a good aperture.\n"); 327 dev_err(&dev->dev, "consider rebooting with iommu=memaper=2 to get a good aperture\n");
326#endif 328#endif
327 return -1; 329 return -1;
328 } 330 }
@@ -345,14 +347,14 @@ static void __devinit amd8151_init(struct pci_dev *pdev, struct agp_bridge_data
345 default: revstring="??"; break; 347 default: revstring="??"; break;
346 } 348 }
347 349
348 printk (KERN_INFO PFX "Detected AMD 8151 AGP Bridge rev %s\n", revstring); 350 dev_info(&pdev->dev, "AMD 8151 AGP Bridge rev %s\n", revstring);
349 351
350 /* 352 /*
351 * Work around errata. 353 * Work around errata.
352 * Chips before B2 stepping incorrectly reporting v3.5 354 * Chips before B2 stepping incorrectly reporting v3.5
353 */ 355 */
354 if (pdev->revision < 0x13) { 356 if (pdev->revision < 0x13) {
355 printk (KERN_INFO PFX "Correcting AGP revision (reports 3.5, is really 3.0)\n"); 357 dev_info(&pdev->dev, "correcting AGP revision (reports 3.5, is really 3.0)\n");
356 bridge->major_version = 3; 358 bridge->major_version = 3;
357 bridge->minor_version = 0; 359 bridge->minor_version = 0;
358 } 360 }
@@ -375,11 +377,11 @@ static int __devinit uli_agp_init(struct pci_dev *pdev)
375 struct pci_dev *dev1; 377 struct pci_dev *dev1;
376 int i; 378 int i;
377 unsigned size = amd64_fetch_size(); 379 unsigned size = amd64_fetch_size();
378 printk(KERN_INFO "Setting up ULi AGP.\n"); 380
381 dev_info(&pdev->dev, "setting up ULi AGP\n");
379 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); 382 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0));
380 if (dev1 == NULL) { 383 if (dev1 == NULL) {
381 printk(KERN_INFO PFX "Detected a ULi chipset, " 384 dev_info(&pdev->dev, "can't find ULi secondary device\n");
382 "but could not fine the secondary device.\n");
383 return -ENODEV; 385 return -ENODEV;
384 } 386 }
385 387
@@ -388,7 +390,7 @@ static int __devinit uli_agp_init(struct pci_dev *pdev)
388 break; 390 break;
389 391
390 if (i == ARRAY_SIZE(uli_sizes)) { 392 if (i == ARRAY_SIZE(uli_sizes)) {
391 printk(KERN_INFO PFX "No ULi size found for %d\n", size); 393 dev_info(&pdev->dev, "no ULi size found for %d\n", size);
392 return -ENODEV; 394 return -ENODEV;
393 } 395 }
394 396
@@ -433,13 +435,11 @@ static int nforce3_agp_init(struct pci_dev *pdev)
433 int i; 435 int i;
434 unsigned size = amd64_fetch_size(); 436 unsigned size = amd64_fetch_size();
435 437
436 printk(KERN_INFO PFX "Setting up Nforce3 AGP.\n"); 438 dev_info(&pdev->dev, "setting up Nforce3 AGP\n");
437 439
438 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); 440 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0));
439 if (dev1 == NULL) { 441 if (dev1 == NULL) {
440 printk(KERN_INFO PFX "agpgart: Detected an NVIDIA " 442 dev_info(&pdev->dev, "can't find Nforce3 secondary device\n");
441 "nForce3 chipset, but could not find "
442 "the secondary device.\n");
443 return -ENODEV; 443 return -ENODEV;
444 } 444 }
445 445
@@ -448,7 +448,7 @@ static int nforce3_agp_init(struct pci_dev *pdev)
448 break; 448 break;
449 449
450 if (i == ARRAY_SIZE(nforce3_sizes)) { 450 if (i == ARRAY_SIZE(nforce3_sizes)) {
451 printk(KERN_INFO PFX "No NForce3 size found for %d\n", size); 451 dev_info(&pdev->dev, "no NForce3 size found for %d\n", size);
452 return -ENODEV; 452 return -ENODEV;
453 } 453 }
454 454
@@ -462,7 +462,7 @@ static int nforce3_agp_init(struct pci_dev *pdev)
462 462
463 /* if x86-64 aperture base is beyond 4G, exit here */ 463 /* if x86-64 aperture base is beyond 4G, exit here */
464 if ( (apbase & 0x7fff) >> (32 - 25) ) { 464 if ( (apbase & 0x7fff) >> (32 - 25) ) {
465 printk(KERN_INFO PFX "aperture base > 4G\n"); 465 dev_info(&pdev->dev, "aperture base > 4G\n");
466 return -ENODEV; 466 return -ENODEV;
467 } 467 }
468 468
@@ -489,6 +489,7 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
489{ 489{
490 struct agp_bridge_data *bridge; 490 struct agp_bridge_data *bridge;
491 u8 cap_ptr; 491 u8 cap_ptr;
492 int err;
492 493
493 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 494 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP);
494 if (!cap_ptr) 495 if (!cap_ptr)
@@ -504,7 +505,8 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
504 pdev->device == PCI_DEVICE_ID_AMD_8151_0) { 505 pdev->device == PCI_DEVICE_ID_AMD_8151_0) {
505 amd8151_init(pdev, bridge); 506 amd8151_init(pdev, bridge);
506 } else { 507 } else {
507 printk(KERN_INFO PFX "Detected AGP bridge %x\n", pdev->devfn); 508 dev_info(&pdev->dev, "AGP bridge [%04x/%04x]\n",
509 pdev->vendor, pdev->device);
508 } 510 }
509 511
510 bridge->driver = &amd_8151_driver; 512 bridge->driver = &amd_8151_driver;
@@ -536,7 +538,12 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
536 } 538 }
537 539
538 pci_set_drvdata(pdev, bridge); 540 pci_set_drvdata(pdev, bridge);
539 return agp_add_bridge(bridge); 541 err = agp_add_bridge(bridge);
542 if (err < 0)
543 return err;
544
545 agp_bridges_found++;
546 return 0;
540} 547}
541 548
542static void __devexit agp_amd64_remove(struct pci_dev *pdev) 549static void __devexit agp_amd64_remove(struct pci_dev *pdev)
@@ -713,7 +720,11 @@ int __init agp_amd64_init(void)
713 720
714 if (agp_off) 721 if (agp_off)
715 return -EINVAL; 722 return -EINVAL;
716 if (pci_register_driver(&agp_amd64_pci_driver) < 0) { 723 err = pci_register_driver(&agp_amd64_pci_driver);
724 if (err < 0)
725 return err;
726
727 if (agp_bridges_found == 0) {
717 struct pci_dev *dev; 728 struct pci_dev *dev;
718 if (!agp_try_unsupported && !agp_try_unsupported_boot) { 729 if (!agp_try_unsupported && !agp_try_unsupported_boot) {
719 printk(KERN_INFO PFX "No supported AGP bridge found.\n"); 730 printk(KERN_INFO PFX "No supported AGP bridge found.\n");
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c
index 3a4566c0d84f..6ecbcafb34b1 100644
--- a/drivers/char/agp/ati-agp.c
+++ b/drivers/char/agp/ati-agp.c
@@ -486,8 +486,8 @@ static int __devinit agp_ati_probe(struct pci_dev *pdev,
486 goto found; 486 goto found;
487 } 487 }
488 488
489 printk(KERN_ERR PFX 489 dev_err(&pdev->dev, "unsupported Ati chipset [%04x/%04x])\n",
490 "Unsupported Ati chipset (device id: %04x)\n", pdev->device); 490 pdev->vendor, pdev->device);
491 return -ENODEV; 491 return -ENODEV;
492 492
493found: 493found:
@@ -500,8 +500,7 @@ found:
500 500
501 bridge->driver = &ati_generic_bridge; 501 bridge->driver = &ati_generic_bridge;
502 502
503 printk(KERN_INFO PFX "Detected Ati %s chipset\n", 503 dev_info(&pdev->dev, "Ati %s chipset\n", devs[j].chipset_name);
504 devs[j].chipset_name);
505 504
506 /* Fill in the mode register */ 505 /* Fill in the mode register */
507 pci_read_config_dword(pdev, 506 pci_read_config_dword(pdev,
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c
index 1ec87104e68c..3a3cc03d401c 100644
--- a/drivers/char/agp/backend.c
+++ b/drivers/char/agp/backend.c
@@ -144,7 +144,8 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge)
144 void *addr = bridge->driver->agp_alloc_page(bridge); 144 void *addr = bridge->driver->agp_alloc_page(bridge);
145 145
146 if (!addr) { 146 if (!addr) {
147 printk(KERN_ERR PFX "unable to get memory for scratch page.\n"); 147 dev_err(&bridge->dev->dev,
148 "can't get memory for scratch page\n");
148 return -ENOMEM; 149 return -ENOMEM;
149 } 150 }
150 151
@@ -155,13 +156,13 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge)
155 156
156 size_value = bridge->driver->fetch_size(); 157 size_value = bridge->driver->fetch_size();
157 if (size_value == 0) { 158 if (size_value == 0) {
158 printk(KERN_ERR PFX "unable to determine aperture size.\n"); 159 dev_err(&bridge->dev->dev, "can't determine aperture size\n");
159 rc = -EINVAL; 160 rc = -EINVAL;
160 goto err_out; 161 goto err_out;
161 } 162 }
162 if (bridge->driver->create_gatt_table(bridge)) { 163 if (bridge->driver->create_gatt_table(bridge)) {
163 printk(KERN_ERR PFX 164 dev_err(&bridge->dev->dev,
164 "unable to get memory for graphics translation table.\n"); 165 "can't get memory for graphics translation table\n");
165 rc = -ENOMEM; 166 rc = -ENOMEM;
166 goto err_out; 167 goto err_out;
167 } 168 }
@@ -169,7 +170,8 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge)
169 170
170 bridge->key_list = vmalloc(PAGE_SIZE * 4); 171 bridge->key_list = vmalloc(PAGE_SIZE * 4);
171 if (bridge->key_list == NULL) { 172 if (bridge->key_list == NULL) {
172 printk(KERN_ERR PFX "error allocating memory for key lists.\n"); 173 dev_err(&bridge->dev->dev,
174 "can't allocate memory for key lists\n");
173 rc = -ENOMEM; 175 rc = -ENOMEM;
174 goto err_out; 176 goto err_out;
175 } 177 }
@@ -179,10 +181,12 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge)
179 memset(bridge->key_list, 0, PAGE_SIZE * 4); 181 memset(bridge->key_list, 0, PAGE_SIZE * 4);
180 182
181 if (bridge->driver->configure()) { 183 if (bridge->driver->configure()) {
182 printk(KERN_ERR PFX "error configuring host chipset.\n"); 184 dev_err(&bridge->dev->dev, "error configuring host chipset\n");
183 rc = -EINVAL; 185 rc = -EINVAL;
184 goto err_out; 186 goto err_out;
185 } 187 }
188 INIT_LIST_HEAD(&bridge->mapped_list);
189 spin_lock_init(&bridge->mapped_lock);
186 190
187 return 0; 191 return 0;
188 192
@@ -269,25 +273,27 @@ int agp_add_bridge(struct agp_bridge_data *bridge)
269 273
270 /* Grab reference on the chipset driver. */ 274 /* Grab reference on the chipset driver. */
271 if (!try_module_get(bridge->driver->owner)) { 275 if (!try_module_get(bridge->driver->owner)) {
272 printk (KERN_INFO PFX "Couldn't lock chipset driver.\n"); 276 dev_info(&bridge->dev->dev, "can't lock chipset driver\n");
273 return -EINVAL; 277 return -EINVAL;
274 } 278 }
275 279
276 error = agp_backend_initialize(bridge); 280 error = agp_backend_initialize(bridge);
277 if (error) { 281 if (error) {
278 printk (KERN_INFO PFX "agp_backend_initialize() failed.\n"); 282 dev_info(&bridge->dev->dev,
283 "agp_backend_initialize() failed\n");
279 goto err_out; 284 goto err_out;
280 } 285 }
281 286
282 if (list_empty(&agp_bridges)) { 287 if (list_empty(&agp_bridges)) {
283 error = agp_frontend_initialize(); 288 error = agp_frontend_initialize();
284 if (error) { 289 if (error) {
285 printk (KERN_INFO PFX "agp_frontend_initialize() failed.\n"); 290 dev_info(&bridge->dev->dev,
291 "agp_frontend_initialize() failed\n");
286 goto frontend_err; 292 goto frontend_err;
287 } 293 }
288 294
289 printk(KERN_INFO PFX "AGP aperture is %dM @ 0x%lx\n", 295 dev_info(&bridge->dev->dev, "AGP aperture is %dM @ 0x%lx\n",
290 bridge->driver->fetch_size(), bridge->gart_bus_addr); 296 bridge->driver->fetch_size(), bridge->gart_bus_addr);
291 297
292 } 298 }
293 299
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index eaa1a355bb32..118dbde25dc7 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -429,6 +429,10 @@ int agp_bind_memory(struct agp_memory *curr, off_t pg_start)
429 429
430 curr->is_bound = true; 430 curr->is_bound = true;
431 curr->pg_start = pg_start; 431 curr->pg_start = pg_start;
432 spin_lock(&agp_bridge->mapped_lock);
433 list_add(&curr->mapped_list, &agp_bridge->mapped_list);
434 spin_unlock(&agp_bridge->mapped_lock);
435
432 return 0; 436 return 0;
433} 437}
434EXPORT_SYMBOL(agp_bind_memory); 438EXPORT_SYMBOL(agp_bind_memory);
@@ -461,10 +465,34 @@ int agp_unbind_memory(struct agp_memory *curr)
461 465
462 curr->is_bound = false; 466 curr->is_bound = false;
463 curr->pg_start = 0; 467 curr->pg_start = 0;
468 spin_lock(&curr->bridge->mapped_lock);
469 list_del(&curr->mapped_list);
470 spin_unlock(&curr->bridge->mapped_lock);
464 return 0; 471 return 0;
465} 472}
466EXPORT_SYMBOL(agp_unbind_memory); 473EXPORT_SYMBOL(agp_unbind_memory);
467 474
475/**
476 * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
477 */
478int agp_rebind_memory(void)
479{
480 struct agp_memory *curr;
481 int ret_val = 0;
482
483 spin_lock(&agp_bridge->mapped_lock);
484 list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
485 ret_val = curr->bridge->driver->insert_memory(curr,
486 curr->pg_start,
487 curr->type);
488 if (ret_val != 0)
489 break;
490 }
491 spin_unlock(&agp_bridge->mapped_lock);
492 return ret_val;
493}
494EXPORT_SYMBOL(agp_rebind_memory);
495
468/* End - Routines for handling swapping of agp_memory into the GATT */ 496/* End - Routines for handling swapping of agp_memory into the GATT */
469 497
470 498
@@ -771,8 +799,8 @@ void agp_device_command(u32 bridge_agpstat, bool agp_v3)
771 if (!agp) 799 if (!agp)
772 continue; 800 continue;
773 801
774 printk(KERN_INFO PFX "Putting AGP V%d device at %s into %dx mode\n", 802 dev_info(&device->dev, "putting AGP V%d device into %dx mode\n",
775 agp_v3 ? 3 : 2, pci_name(device), mode); 803 agp_v3 ? 3 : 2, mode);
776 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, bridge_agpstat); 804 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, bridge_agpstat);
777 } 805 }
778} 806}
@@ -800,10 +828,8 @@ void agp_generic_enable(struct agp_bridge_data *bridge, u32 requested_mode)
800 828
801 get_agp_version(agp_bridge); 829 get_agp_version(agp_bridge);
802 830
803 printk(KERN_INFO PFX "Found an AGP %d.%d compliant device at %s.\n", 831 dev_info(&agp_bridge->dev->dev, "AGP %d.%d bridge\n",
804 agp_bridge->major_version, 832 agp_bridge->major_version, agp_bridge->minor_version);
805 agp_bridge->minor_version,
806 pci_name(agp_bridge->dev));
807 833
808 pci_read_config_dword(agp_bridge->dev, 834 pci_read_config_dword(agp_bridge->dev,
809 agp_bridge->capndx + PCI_AGP_STATUS, &bridge_agpstat); 835 agp_bridge->capndx + PCI_AGP_STATUS, &bridge_agpstat);
@@ -832,8 +858,7 @@ void agp_generic_enable(struct agp_bridge_data *bridge, u32 requested_mode)
832 pci_write_config_dword(bridge->dev, 858 pci_write_config_dword(bridge->dev,
833 bridge->capndx+AGPCTRL, temp); 859 bridge->capndx+AGPCTRL, temp);
834 860
835 printk(KERN_INFO PFX "Device is in legacy mode," 861 dev_info(&bridge->dev->dev, "bridge is in legacy mode, falling back to 2.x\n");
836 " falling back to 2.x\n");
837 } 862 }
838 } 863 }
839 864
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index df702642ab8f..016fdf0623a4 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -32,8 +32,8 @@
32#define PCI_DEVICE_ID_INTEL_Q35_IG 0x29B2 32#define PCI_DEVICE_ID_INTEL_Q35_IG 0x29B2
33#define PCI_DEVICE_ID_INTEL_Q33_HB 0x29D0 33#define PCI_DEVICE_ID_INTEL_Q33_HB 0x29D0
34#define PCI_DEVICE_ID_INTEL_Q33_IG 0x29D2 34#define PCI_DEVICE_ID_INTEL_Q33_IG 0x29D2
35#define PCI_DEVICE_ID_INTEL_IGD_HB 0x2A40 35#define PCI_DEVICE_ID_INTEL_GM45_HB 0x2A40
36#define PCI_DEVICE_ID_INTEL_IGD_IG 0x2A42 36#define PCI_DEVICE_ID_INTEL_GM45_IG 0x2A42
37#define PCI_DEVICE_ID_INTEL_IGD_E_HB 0x2E00 37#define PCI_DEVICE_ID_INTEL_IGD_E_HB 0x2E00
38#define PCI_DEVICE_ID_INTEL_IGD_E_IG 0x2E02 38#define PCI_DEVICE_ID_INTEL_IGD_E_IG 0x2E02
39#define PCI_DEVICE_ID_INTEL_Q45_HB 0x2E10 39#define PCI_DEVICE_ID_INTEL_Q45_HB 0x2E10
@@ -55,7 +55,7 @@
55 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB || \ 55 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB || \
56 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GM_HB || \ 56 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GM_HB || \
57 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB || \ 57 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB || \
58 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGD_HB) 58 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB)
59 59
60#define IS_G33 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G33_HB || \ 60#define IS_G33 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G33_HB || \
61 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \ 61 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \
@@ -161,7 +161,7 @@ static int intel_i810_fetch_size(void)
161 values = A_SIZE_FIX(agp_bridge->driver->aperture_sizes); 161 values = A_SIZE_FIX(agp_bridge->driver->aperture_sizes);
162 162
163 if ((smram_miscc & I810_GMS) == I810_GMS_DISABLE) { 163 if ((smram_miscc & I810_GMS) == I810_GMS_DISABLE) {
164 printk(KERN_WARNING PFX "i810 is disabled\n"); 164 dev_warn(&agp_bridge->dev->dev, "i810 is disabled\n");
165 return 0; 165 return 0;
166 } 166 }
167 if ((smram_miscc & I810_GFX_MEM_WIN_SIZE) == I810_GFX_MEM_WIN_32M) { 167 if ((smram_miscc & I810_GFX_MEM_WIN_SIZE) == I810_GFX_MEM_WIN_32M) {
@@ -193,7 +193,8 @@ static int intel_i810_configure(void)
193 193
194 intel_private.registers = ioremap(temp, 128 * 4096); 194 intel_private.registers = ioremap(temp, 128 * 4096);
195 if (!intel_private.registers) { 195 if (!intel_private.registers) {
196 printk(KERN_ERR PFX "Unable to remap memory.\n"); 196 dev_err(&intel_private.pcidev->dev,
197 "can't remap memory\n");
197 return -ENOMEM; 198 return -ENOMEM;
198 } 199 }
199 } 200 }
@@ -201,7 +202,8 @@ static int intel_i810_configure(void)
201 if ((readl(intel_private.registers+I810_DRAM_CTL) 202 if ((readl(intel_private.registers+I810_DRAM_CTL)
202 & I810_DRAM_ROW_0) == I810_DRAM_ROW_0_SDRAM) { 203 & I810_DRAM_ROW_0) == I810_DRAM_ROW_0_SDRAM) {
203 /* This will need to be dynamically assigned */ 204 /* This will need to be dynamically assigned */
204 printk(KERN_INFO PFX "detected 4MB dedicated video ram.\n"); 205 dev_info(&intel_private.pcidev->dev,
206 "detected 4MB dedicated video ram\n");
205 intel_private.num_dcache_entries = 1024; 207 intel_private.num_dcache_entries = 1024;
206 } 208 }
207 pci_read_config_dword(intel_private.pcidev, I810_GMADDR, &temp); 209 pci_read_config_dword(intel_private.pcidev, I810_GMADDR, &temp);
@@ -500,8 +502,8 @@ static void intel_i830_init_gtt_entries(void)
500 size = 1024 + 512; 502 size = 1024 + 512;
501 break; 503 break;
502 default: 504 default:
503 printk(KERN_INFO PFX "Unknown page table size, " 505 dev_info(&intel_private.pcidev->dev,
504 "assuming 512KB\n"); 506 "unknown page table size, assuming 512KB\n");
505 size = 512; 507 size = 512;
506 } 508 }
507 size += 4; /* add in BIOS popup space */ 509 size += 4; /* add in BIOS popup space */
@@ -515,8 +517,8 @@ static void intel_i830_init_gtt_entries(void)
515 size = 2048; 517 size = 2048;
516 break; 518 break;
517 default: 519 default:
518 printk(KERN_INFO PFX "Unknown page table size 0x%x, " 520 dev_info(&agp_bridge->dev->dev,
519 "assuming 512KB\n", 521 "unknown page table size 0x%x, assuming 512KB\n",
520 (gmch_ctrl & G33_PGETBL_SIZE_MASK)); 522 (gmch_ctrl & G33_PGETBL_SIZE_MASK));
521 size = 512; 523 size = 512;
522 } 524 }
@@ -627,11 +629,11 @@ static void intel_i830_init_gtt_entries(void)
627 } 629 }
628 } 630 }
629 if (gtt_entries > 0) 631 if (gtt_entries > 0)
630 printk(KERN_INFO PFX "Detected %dK %s memory.\n", 632 dev_info(&agp_bridge->dev->dev, "detected %dK %s memory\n",
631 gtt_entries / KB(1), local ? "local" : "stolen"); 633 gtt_entries / KB(1), local ? "local" : "stolen");
632 else 634 else
633 printk(KERN_INFO PFX 635 dev_info(&agp_bridge->dev->dev,
634 "No pre-allocated video memory detected.\n"); 636 "no pre-allocated video memory detected\n");
635 gtt_entries /= KB(4); 637 gtt_entries /= KB(4);
636 638
637 intel_private.gtt_entries = gtt_entries; 639 intel_private.gtt_entries = gtt_entries;
@@ -801,10 +803,12 @@ static int intel_i830_insert_entries(struct agp_memory *mem, off_t pg_start,
801 num_entries = A_SIZE_FIX(temp)->num_entries; 803 num_entries = A_SIZE_FIX(temp)->num_entries;
802 804
803 if (pg_start < intel_private.gtt_entries) { 805 if (pg_start < intel_private.gtt_entries) {
804 printk(KERN_DEBUG PFX "pg_start == 0x%.8lx,intel_private.gtt_entries == 0x%.8x\n", 806 dev_printk(KERN_DEBUG, &intel_private.pcidev->dev,
805 pg_start, intel_private.gtt_entries); 807 "pg_start == 0x%.8lx, intel_private.gtt_entries == 0x%.8x\n",
808 pg_start, intel_private.gtt_entries);
806 809
807 printk(KERN_INFO PFX "Trying to insert into local/stolen memory\n"); 810 dev_info(&intel_private.pcidev->dev,
811 "trying to insert into local/stolen memory\n");
808 goto out_err; 812 goto out_err;
809 } 813 }
810 814
@@ -851,7 +855,8 @@ static int intel_i830_remove_entries(struct agp_memory *mem, off_t pg_start,
851 return 0; 855 return 0;
852 856
853 if (pg_start < intel_private.gtt_entries) { 857 if (pg_start < intel_private.gtt_entries) {
854 printk(KERN_INFO PFX "Trying to disable local/stolen memory\n"); 858 dev_info(&intel_private.pcidev->dev,
859 "trying to disable local/stolen memory\n");
855 return -EINVAL; 860 return -EINVAL;
856 } 861 }
857 862
@@ -957,7 +962,7 @@ static void intel_i9xx_setup_flush(void)
957 if (intel_private.ifp_resource.start) { 962 if (intel_private.ifp_resource.start) {
958 intel_private.i9xx_flush_page = ioremap_nocache(intel_private.ifp_resource.start, PAGE_SIZE); 963 intel_private.i9xx_flush_page = ioremap_nocache(intel_private.ifp_resource.start, PAGE_SIZE);
959 if (!intel_private.i9xx_flush_page) 964 if (!intel_private.i9xx_flush_page)
960 printk(KERN_INFO "unable to ioremap flush page - no chipset flushing"); 965 dev_info(&intel_private.pcidev->dev, "can't ioremap flush page - no chipset flushing");
961 } 966 }
962} 967}
963 968
@@ -1028,10 +1033,12 @@ static int intel_i915_insert_entries(struct agp_memory *mem, off_t pg_start,
1028 num_entries = A_SIZE_FIX(temp)->num_entries; 1033 num_entries = A_SIZE_FIX(temp)->num_entries;
1029 1034
1030 if (pg_start < intel_private.gtt_entries) { 1035 if (pg_start < intel_private.gtt_entries) {
1031 printk(KERN_DEBUG PFX "pg_start == 0x%.8lx,intel_private.gtt_entries == 0x%.8x\n", 1036 dev_printk(KERN_DEBUG, &intel_private.pcidev->dev,
1032 pg_start, intel_private.gtt_entries); 1037 "pg_start == 0x%.8lx, intel_private.gtt_entries == 0x%.8x\n",
1038 pg_start, intel_private.gtt_entries);
1033 1039
1034 printk(KERN_INFO PFX "Trying to insert into local/stolen memory\n"); 1040 dev_info(&intel_private.pcidev->dev,
1041 "trying to insert into local/stolen memory\n");
1035 goto out_err; 1042 goto out_err;
1036 } 1043 }
1037 1044
@@ -1078,7 +1085,8 @@ static int intel_i915_remove_entries(struct agp_memory *mem, off_t pg_start,
1078 return 0; 1085 return 0;
1079 1086
1080 if (pg_start < intel_private.gtt_entries) { 1087 if (pg_start < intel_private.gtt_entries) {
1081 printk(KERN_INFO PFX "Trying to disable local/stolen memory\n"); 1088 dev_info(&intel_private.pcidev->dev,
1089 "trying to disable local/stolen memory\n");
1082 return -EINVAL; 1090 return -EINVAL;
1083 } 1091 }
1084 1092
@@ -1182,7 +1190,7 @@ static unsigned long intel_i965_mask_memory(struct agp_bridge_data *bridge,
1182static void intel_i965_get_gtt_range(int *gtt_offset, int *gtt_size) 1190static void intel_i965_get_gtt_range(int *gtt_offset, int *gtt_size)
1183{ 1191{
1184 switch (agp_bridge->dev->device) { 1192 switch (agp_bridge->dev->device) {
1185 case PCI_DEVICE_ID_INTEL_IGD_HB: 1193 case PCI_DEVICE_ID_INTEL_GM45_HB:
1186 case PCI_DEVICE_ID_INTEL_IGD_E_HB: 1194 case PCI_DEVICE_ID_INTEL_IGD_E_HB:
1187 case PCI_DEVICE_ID_INTEL_Q45_HB: 1195 case PCI_DEVICE_ID_INTEL_Q45_HB:
1188 case PCI_DEVICE_ID_INTEL_G45_HB: 1196 case PCI_DEVICE_ID_INTEL_G45_HB:
@@ -1379,7 +1387,7 @@ static int intel_815_configure(void)
1379 /* the Intel 815 chipset spec. says that bits 29-31 in the 1387 /* the Intel 815 chipset spec. says that bits 29-31 in the
1380 * ATTBASE register are reserved -> try not to write them */ 1388 * ATTBASE register are reserved -> try not to write them */
1381 if (agp_bridge->gatt_bus_addr & INTEL_815_ATTBASE_MASK) { 1389 if (agp_bridge->gatt_bus_addr & INTEL_815_ATTBASE_MASK) {
1382 printk(KERN_EMERG PFX "gatt bus addr too high"); 1390 dev_emerg(&agp_bridge->dev->dev, "gatt bus addr too high");
1383 return -EINVAL; 1391 return -EINVAL;
1384 } 1392 }
1385 1393
@@ -2117,8 +2125,8 @@ static const struct intel_driver_description {
2117 NULL, &intel_g33_driver }, 2125 NULL, &intel_g33_driver },
2118 { PCI_DEVICE_ID_INTEL_Q33_HB, PCI_DEVICE_ID_INTEL_Q33_IG, 0, "Q33", 2126 { PCI_DEVICE_ID_INTEL_Q33_HB, PCI_DEVICE_ID_INTEL_Q33_IG, 0, "Q33",
2119 NULL, &intel_g33_driver }, 2127 NULL, &intel_g33_driver },
2120 { PCI_DEVICE_ID_INTEL_IGD_HB, PCI_DEVICE_ID_INTEL_IGD_IG, 0, 2128 { PCI_DEVICE_ID_INTEL_GM45_HB, PCI_DEVICE_ID_INTEL_GM45_IG, 0,
2121 "Intel Integrated Graphics Device", NULL, &intel_i965_driver }, 2129 "Mobile Intel? GM45 Express", NULL, &intel_i965_driver },
2122 { PCI_DEVICE_ID_INTEL_IGD_E_HB, PCI_DEVICE_ID_INTEL_IGD_E_IG, 0, 2130 { PCI_DEVICE_ID_INTEL_IGD_E_HB, PCI_DEVICE_ID_INTEL_IGD_E_IG, 0,
2123 "Intel Integrated Graphics Device", NULL, &intel_i965_driver }, 2131 "Intel Integrated Graphics Device", NULL, &intel_i965_driver },
2124 { PCI_DEVICE_ID_INTEL_Q45_HB, PCI_DEVICE_ID_INTEL_Q45_IG, 0, 2132 { PCI_DEVICE_ID_INTEL_Q45_HB, PCI_DEVICE_ID_INTEL_Q45_IG, 0,
@@ -2163,8 +2171,8 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
2163 2171
2164 if (intel_agp_chipsets[i].name == NULL) { 2172 if (intel_agp_chipsets[i].name == NULL) {
2165 if (cap_ptr) 2173 if (cap_ptr)
2166 printk(KERN_WARNING PFX "Unsupported Intel chipset" 2174 dev_warn(&pdev->dev, "unsupported Intel chipset [%04x/%04x]\n",
2167 "(device id: %04x)\n", pdev->device); 2175 pdev->vendor, pdev->device);
2168 agp_put_bridge(bridge); 2176 agp_put_bridge(bridge);
2169 return -ENODEV; 2177 return -ENODEV;
2170 } 2178 }
@@ -2172,9 +2180,8 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
2172 if (bridge->driver == NULL) { 2180 if (bridge->driver == NULL) {
2173 /* bridge has no AGP and no IGD detected */ 2181 /* bridge has no AGP and no IGD detected */
2174 if (cap_ptr) 2182 if (cap_ptr)
2175 printk(KERN_WARNING PFX "Failed to find bridge device " 2183 dev_warn(&pdev->dev, "can't find bridge device (chip_id: %04x)\n",
2176 "(chip_id: %04x)\n", 2184 intel_agp_chipsets[i].gmch_chip_id);
2177 intel_agp_chipsets[i].gmch_chip_id);
2178 agp_put_bridge(bridge); 2185 agp_put_bridge(bridge);
2179 return -ENODEV; 2186 return -ENODEV;
2180 } 2187 }
@@ -2183,8 +2190,7 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
2183 bridge->capndx = cap_ptr; 2190 bridge->capndx = cap_ptr;
2184 bridge->dev_private_data = &intel_private; 2191 bridge->dev_private_data = &intel_private;
2185 2192
2186 printk(KERN_INFO PFX "Detected an Intel %s Chipset.\n", 2193 dev_info(&pdev->dev, "Intel %s Chipset\n", intel_agp_chipsets[i].name);
2187 intel_agp_chipsets[i].name);
2188 2194
2189 /* 2195 /*
2190 * The following fixes the case where the BIOS has "forgotten" to 2196 * The following fixes the case where the BIOS has "forgotten" to
@@ -2194,7 +2200,7 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
2194 r = &pdev->resource[0]; 2200 r = &pdev->resource[0];
2195 if (!r->start && r->end) { 2201 if (!r->start && r->end) {
2196 if (pci_assign_resource(pdev, 0)) { 2202 if (pci_assign_resource(pdev, 0)) {
2197 printk(KERN_ERR PFX "could not assign resource 0\n"); 2203 dev_err(&pdev->dev, "can't assign resource 0\n");
2198 agp_put_bridge(bridge); 2204 agp_put_bridge(bridge);
2199 return -ENODEV; 2205 return -ENODEV;
2200 } 2206 }
@@ -2206,7 +2212,7 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
2206 * 20030610 - hamish@zot.org 2212 * 20030610 - hamish@zot.org
2207 */ 2213 */
2208 if (pci_enable_device(pdev)) { 2214 if (pci_enable_device(pdev)) {
2209 printk(KERN_ERR PFX "Unable to Enable PCI device\n"); 2215 dev_err(&pdev->dev, "can't enable PCI device\n");
2210 agp_put_bridge(bridge); 2216 agp_put_bridge(bridge);
2211 return -ENODEV; 2217 return -ENODEV;
2212 } 2218 }
@@ -2238,6 +2244,7 @@ static void __devexit agp_intel_remove(struct pci_dev *pdev)
2238static int agp_intel_resume(struct pci_dev *pdev) 2244static int agp_intel_resume(struct pci_dev *pdev)
2239{ 2245{
2240 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 2246 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
2247 int ret_val;
2241 2248
2242 pci_restore_state(pdev); 2249 pci_restore_state(pdev);
2243 2250
@@ -2265,6 +2272,10 @@ static int agp_intel_resume(struct pci_dev *pdev)
2265 else if (bridge->driver == &intel_i965_driver) 2272 else if (bridge->driver == &intel_i965_driver)
2266 intel_i915_configure(); 2273 intel_i915_configure();
2267 2274
2275 ret_val = agp_rebind_memory();
2276 if (ret_val != 0)
2277 return ret_val;
2278
2268 return 0; 2279 return 0;
2269} 2280}
2270#endif 2281#endif
@@ -2315,7 +2326,7 @@ static struct pci_device_id agp_intel_pci_table[] = {
2315 ID(PCI_DEVICE_ID_INTEL_G33_HB), 2326 ID(PCI_DEVICE_ID_INTEL_G33_HB),
2316 ID(PCI_DEVICE_ID_INTEL_Q35_HB), 2327 ID(PCI_DEVICE_ID_INTEL_Q35_HB),
2317 ID(PCI_DEVICE_ID_INTEL_Q33_HB), 2328 ID(PCI_DEVICE_ID_INTEL_Q33_HB),
2318 ID(PCI_DEVICE_ID_INTEL_IGD_HB), 2329 ID(PCI_DEVICE_ID_INTEL_GM45_HB),
2319 ID(PCI_DEVICE_ID_INTEL_IGD_E_HB), 2330 ID(PCI_DEVICE_ID_INTEL_IGD_E_HB),
2320 ID(PCI_DEVICE_ID_INTEL_Q45_HB), 2331 ID(PCI_DEVICE_ID_INTEL_Q45_HB),
2321 ID(PCI_DEVICE_ID_INTEL_G45_HB), 2332 ID(PCI_DEVICE_ID_INTEL_G45_HB),
diff --git a/drivers/char/agp/isoch.c b/drivers/char/agp/isoch.c
index 3f9ccde62377..c73385cc4b8a 100644
--- a/drivers/char/agp/isoch.c
+++ b/drivers/char/agp/isoch.c
@@ -153,7 +153,7 @@ static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge,
153 153
154 /* Check if this configuration has any chance of working */ 154 /* Check if this configuration has any chance of working */
155 if (tot_bw > target.maxbw) { 155 if (tot_bw > target.maxbw) {
156 printk(KERN_ERR PFX "isochronous bandwidth required " 156 dev_err(&td->dev, "isochronous bandwidth required "
157 "by AGP 3.0 devices exceeds that which is supported by " 157 "by AGP 3.0 devices exceeds that which is supported by "
158 "the AGP 3.0 bridge!\n"); 158 "the AGP 3.0 bridge!\n");
159 ret = -ENODEV; 159 ret = -ENODEV;
@@ -188,7 +188,7 @@ static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge,
188 /* Exit if the minimal ISOCH_N allocation among the masters is more 188 /* Exit if the minimal ISOCH_N allocation among the masters is more
189 * than the target can handle. */ 189 * than the target can handle. */
190 if (tot_n > target.n) { 190 if (tot_n > target.n) {
191 printk(KERN_ERR PFX "number of isochronous " 191 dev_err(&td->dev, "number of isochronous "
192 "transactions per period required by AGP 3.0 devices " 192 "transactions per period required by AGP 3.0 devices "
193 "exceeds that which is supported by the AGP 3.0 " 193 "exceeds that which is supported by the AGP 3.0 "
194 "bridge!\n"); 194 "bridge!\n");
@@ -229,7 +229,7 @@ static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge,
229 /* Exit if the minimal RQ needs of the masters exceeds what the target 229 /* Exit if the minimal RQ needs of the masters exceeds what the target
230 * can provide. */ 230 * can provide. */
231 if (tot_rq > rq_isoch) { 231 if (tot_rq > rq_isoch) {
232 printk(KERN_ERR PFX "number of request queue slots " 232 dev_err(&td->dev, "number of request queue slots "
233 "required by the isochronous bandwidth requested by " 233 "required by the isochronous bandwidth requested by "
234 "AGP 3.0 devices exceeds the number provided by the " 234 "AGP 3.0 devices exceeds the number provided by the "
235 "AGP 3.0 bridge!\n"); 235 "AGP 3.0 bridge!\n");
@@ -359,8 +359,9 @@ int agp_3_5_enable(struct agp_bridge_data *bridge)
359 case 0x0001: /* Unclassified device */ 359 case 0x0001: /* Unclassified device */
360 /* Don't know what this is, but log it for investigation. */ 360 /* Don't know what this is, but log it for investigation. */
361 if (mcapndx != 0) { 361 if (mcapndx != 0) {
362 printk (KERN_INFO PFX "Wacky, found unclassified AGP device. %x:%x\n", 362 dev_info(&td->dev, "wacky, found unclassified AGP device %s [%04x/%04x]\n",
363 dev->vendor, dev->device); 363 pci_name(dev),
364 dev->vendor, dev->device);
364 } 365 }
365 continue; 366 continue;
366 367
@@ -407,17 +408,18 @@ int agp_3_5_enable(struct agp_bridge_data *bridge)
407 } 408 }
408 409
409 if (mcapndx == 0) { 410 if (mcapndx == 0) {
410 printk(KERN_ERR PFX "woah! Non-AGP device " 411 dev_err(&td->dev, "woah! Non-AGP device %s on "
411 "found on the secondary bus of an AGP 3.5 bridge!\n"); 412 "secondary bus of AGP 3.5 bridge!\n",
413 pci_name(dev));
412 ret = -ENODEV; 414 ret = -ENODEV;
413 goto free_and_exit; 415 goto free_and_exit;
414 } 416 }
415 417
416 mmajor = (ncapid >> AGP_MAJOR_VERSION_SHIFT) & 0xf; 418 mmajor = (ncapid >> AGP_MAJOR_VERSION_SHIFT) & 0xf;
417 if (mmajor < 3) { 419 if (mmajor < 3) {
418 printk(KERN_ERR PFX "woah! AGP 2.0 device " 420 dev_err(&td->dev, "woah! AGP 2.0 device %s on "
419 "found on the secondary bus of an AGP 3.5 " 421 "secondary bus of AGP 3.5 bridge operating "
420 "bridge operating with AGP 3.0 electricals!\n"); 422 "with AGP 3.0 electricals!\n", pci_name(dev));
421 ret = -ENODEV; 423 ret = -ENODEV;
422 goto free_and_exit; 424 goto free_and_exit;
423 } 425 }
@@ -427,10 +429,10 @@ int agp_3_5_enable(struct agp_bridge_data *bridge)
427 pci_read_config_dword(dev, cur->capndx+AGPSTAT, &mstatus); 429 pci_read_config_dword(dev, cur->capndx+AGPSTAT, &mstatus);
428 430
429 if (((mstatus >> 3) & 0x1) == 0) { 431 if (((mstatus >> 3) & 0x1) == 0) {
430 printk(KERN_ERR PFX "woah! AGP 3.x device " 432 dev_err(&td->dev, "woah! AGP 3.x device %s not "
431 "not operating in AGP 3.x mode found on the " 433 "operating in AGP 3.x mode on secondary bus "
432 "secondary bus of an AGP 3.5 bridge operating " 434 "of AGP 3.5 bridge operating with AGP 3.0 "
433 "with AGP 3.0 electricals!\n"); 435 "electricals!\n", pci_name(dev));
434 ret = -ENODEV; 436 ret = -ENODEV;
435 goto free_and_exit; 437 goto free_and_exit;
436 } 438 }
@@ -444,9 +446,9 @@ int agp_3_5_enable(struct agp_bridge_data *bridge)
444 if (isoch) { 446 if (isoch) {
445 ret = agp_3_5_isochronous_node_enable(bridge, dev_list, ndevs); 447 ret = agp_3_5_isochronous_node_enable(bridge, dev_list, ndevs);
446 if (ret) { 448 if (ret) {
447 printk(KERN_INFO PFX "Something bad happened setting " 449 dev_info(&td->dev, "something bad happened setting "
448 "up isochronous xfers. Falling back to " 450 "up isochronous xfers; falling back to "
449 "non-isochronous xfer mode.\n"); 451 "non-isochronous xfer mode\n");
450 } else { 452 } else {
451 goto free_and_exit; 453 goto free_and_exit;
452 } 454 }
@@ -466,4 +468,3 @@ free_and_exit:
466get_out: 468get_out:
467 return ret; 469 return ret;
468} 470}
469
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index b6791846809f..2587ef96a960 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -79,10 +79,8 @@ static void sis_delayed_enable(struct agp_bridge_data *bridge, u32 mode)
79 u32 command; 79 u32 command;
80 int rate; 80 int rate;
81 81
82 printk(KERN_INFO PFX "Found an AGP %d.%d compliant device at %s.\n", 82 dev_info(&agp_bridge->dev->dev, "AGP %d.%d bridge\n",
83 agp_bridge->major_version, 83 agp_bridge->major_version, agp_bridge->minor_version);
84 agp_bridge->minor_version,
85 pci_name(agp_bridge->dev));
86 84
87 pci_read_config_dword(agp_bridge->dev, agp_bridge->capndx + PCI_AGP_STATUS, &command); 85 pci_read_config_dword(agp_bridge->dev, agp_bridge->capndx + PCI_AGP_STATUS, &command);
88 command = agp_collect_device_status(bridge, mode, command); 86 command = agp_collect_device_status(bridge, mode, command);
@@ -94,8 +92,8 @@ static void sis_delayed_enable(struct agp_bridge_data *bridge, u32 mode)
94 if (!agp) 92 if (!agp)
95 continue; 93 continue;
96 94
97 printk(KERN_INFO PFX "Putting AGP V3 device at %s into %dx mode\n", 95 dev_info(&agp_bridge->dev->dev, "putting AGP V3 device at %s into %dx mode\n",
98 pci_name(device), rate); 96 pci_name(device), rate);
99 97
100 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command); 98 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command);
101 99
@@ -105,7 +103,7 @@ static void sis_delayed_enable(struct agp_bridge_data *bridge, u32 mode)
105 * cannot be configured 103 * cannot be configured
106 */ 104 */
107 if (device->device == bridge->dev->device) { 105 if (device->device == bridge->dev->device) {
108 printk(KERN_INFO PFX "SiS delay workaround: giving bridge time to recover.\n"); 106 dev_info(&agp_bridge->dev->dev, "SiS delay workaround: giving bridge time to recover\n");
109 msleep(10); 107 msleep(10);
110 } 108 }
111 } 109 }
@@ -190,7 +188,8 @@ static int __devinit agp_sis_probe(struct pci_dev *pdev,
190 return -ENODEV; 188 return -ENODEV;
191 189
192 190
193 printk(KERN_INFO PFX "Detected SiS chipset - id:%i\n", pdev->device); 191 dev_info(&pdev->dev, "SiS chipset [%04x/%04x]\n",
192 pdev->vendor, pdev->device);
194 bridge = agp_alloc_bridge(); 193 bridge = agp_alloc_bridge();
195 if (!bridge) 194 if (!bridge)
196 return -ENOMEM; 195 return -ENOMEM;
@@ -242,7 +241,7 @@ static struct pci_device_id agp_sis_pci_table[] = {
242 .class = (PCI_CLASS_BRIDGE_HOST << 8), 241 .class = (PCI_CLASS_BRIDGE_HOST << 8),
243 .class_mask = ~0, 242 .class_mask = ~0,
244 .vendor = PCI_VENDOR_ID_SI, 243 .vendor = PCI_VENDOR_ID_SI,
245 .device = PCI_DEVICE_ID_SI_5591_AGP, 244 .device = PCI_DEVICE_ID_SI_5591,
246 .subvendor = PCI_ANY_ID, 245 .subvendor = PCI_ANY_ID,
247 .subdevice = PCI_ANY_ID, 246 .subdevice = PCI_ANY_ID,
248 }, 247 },
diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c
index 0e054c134490..2fb27fe4c10c 100644
--- a/drivers/char/agp/sworks-agp.c
+++ b/drivers/char/agp/sworks-agp.c
@@ -241,7 +241,8 @@ static void serverworks_tlbflush(struct agp_memory *temp)
241 while (readb(serverworks_private.registers+SVWRKS_POSTFLUSH) == 1) { 241 while (readb(serverworks_private.registers+SVWRKS_POSTFLUSH) == 1) {
242 cpu_relax(); 242 cpu_relax();
243 if (time_after(jiffies, timeout)) { 243 if (time_after(jiffies, timeout)) {
244 printk(KERN_ERR PFX "TLB post flush took more than 3 seconds\n"); 244 dev_err(&serverworks_private.svrwrks_dev->dev,
245 "TLB post flush took more than 3 seconds\n");
245 break; 246 break;
246 } 247 }
247 } 248 }
@@ -251,7 +252,8 @@ static void serverworks_tlbflush(struct agp_memory *temp)
251 while (readl(serverworks_private.registers+SVWRKS_DIRFLUSH) == 1) { 252 while (readl(serverworks_private.registers+SVWRKS_DIRFLUSH) == 1) {
252 cpu_relax(); 253 cpu_relax();
253 if (time_after(jiffies, timeout)) { 254 if (time_after(jiffies, timeout)) {
254 printk(KERN_ERR PFX "TLB Dir flush took more than 3 seconds\n"); 255 dev_err(&serverworks_private.svrwrks_dev->dev,
256 "TLB Dir flush took more than 3 seconds\n");
255 break; 257 break;
256 } 258 }
257 } 259 }
@@ -271,7 +273,7 @@ static int serverworks_configure(void)
271 temp = (temp & PCI_BASE_ADDRESS_MEM_MASK); 273 temp = (temp & PCI_BASE_ADDRESS_MEM_MASK);
272 serverworks_private.registers = (volatile u8 __iomem *) ioremap(temp, 4096); 274 serverworks_private.registers = (volatile u8 __iomem *) ioremap(temp, 4096);
273 if (!serverworks_private.registers) { 275 if (!serverworks_private.registers) {
274 printk (KERN_ERR PFX "Unable to ioremap() memory.\n"); 276 dev_err(&agp_bridge->dev->dev, "can't ioremap(%#x)\n", temp);
275 return -ENOMEM; 277 return -ENOMEM;
276 } 278 }
277 279
@@ -451,7 +453,7 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
451 453
452 switch (pdev->device) { 454 switch (pdev->device) {
453 case 0x0006: 455 case 0x0006:
454 printk (KERN_ERR PFX "ServerWorks CNB20HE is unsupported due to lack of documentation.\n"); 456 dev_err(&pdev->dev, "ServerWorks CNB20HE is unsupported due to lack of documentation\n");
455 return -ENODEV; 457 return -ENODEV;
456 458
457 case PCI_DEVICE_ID_SERVERWORKS_HE: 459 case PCI_DEVICE_ID_SERVERWORKS_HE:
@@ -461,8 +463,8 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
461 463
462 default: 464 default:
463 if (cap_ptr) 465 if (cap_ptr)
464 printk(KERN_ERR PFX "Unsupported Serverworks chipset " 466 dev_err(&pdev->dev, "unsupported Serverworks chipset "
465 "(device id: %04x)\n", pdev->device); 467 "[%04x/%04x]\n", pdev->vendor, pdev->device);
466 return -ENODEV; 468 return -ENODEV;
467 } 469 }
468 470
@@ -470,8 +472,7 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
470 bridge_dev = pci_get_bus_and_slot((unsigned int)pdev->bus->number, 472 bridge_dev = pci_get_bus_and_slot((unsigned int)pdev->bus->number,
471 PCI_DEVFN(0, 1)); 473 PCI_DEVFN(0, 1));
472 if (!bridge_dev) { 474 if (!bridge_dev) {
473 printk(KERN_INFO PFX "Detected a Serverworks chipset " 475 dev_info(&pdev->dev, "can't find secondary device\n");
474 "but could not find the secondary device.\n");
475 return -ENODEV; 476 return -ENODEV;
476 } 477 }
477 478
@@ -482,8 +483,8 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
482 if (temp & PCI_BASE_ADDRESS_MEM_TYPE_64) { 483 if (temp & PCI_BASE_ADDRESS_MEM_TYPE_64) {
483 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); 484 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2);
484 if (temp2 != 0) { 485 if (temp2 != 0) {
485 printk(KERN_INFO PFX "Detected 64 bit aperture address, " 486 dev_info(&pdev->dev, "64 bit aperture address, "
486 "but top bits are not zero. Disabling agp\n"); 487 "but top bits are not zero; disabling AGP\n");
487 return -ENODEV; 488 return -ENODEV;
488 } 489 }
489 serverworks_private.mm_addr_ofs = 0x18; 490 serverworks_private.mm_addr_ofs = 0x18;
@@ -495,8 +496,8 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
495 pci_read_config_dword(pdev, 496 pci_read_config_dword(pdev,
496 serverworks_private.mm_addr_ofs + 4, &temp2); 497 serverworks_private.mm_addr_ofs + 4, &temp2);
497 if (temp2 != 0) { 498 if (temp2 != 0) {
498 printk(KERN_INFO PFX "Detected 64 bit MMIO address, " 499 dev_info(&pdev->dev, "64 bit MMIO address, but top "
499 "but top bits are not zero. Disabling agp\n"); 500 "bits are not zero; disabling AGP\n");
500 return -ENODEV; 501 return -ENODEV;
501 } 502 }
502 } 503 }
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
index d2fa3cfca02a..eef72709ec53 100644
--- a/drivers/char/agp/uninorth-agp.c
+++ b/drivers/char/agp/uninorth-agp.c
@@ -46,8 +46,8 @@ static int uninorth_fetch_size(void)
46 break; 46 break;
47 47
48 if (i == agp_bridge->driver->num_aperture_sizes) { 48 if (i == agp_bridge->driver->num_aperture_sizes) {
49 printk(KERN_ERR PFX "Invalid aperture size, using" 49 dev_err(&agp_bridge->dev->dev, "invalid aperture size, "
50 " default\n"); 50 "using default\n");
51 size = 0; 51 size = 0;
52 aperture = NULL; 52 aperture = NULL;
53 } 53 }
@@ -108,8 +108,8 @@ static int uninorth_configure(void)
108 108
109 current_size = A_SIZE_32(agp_bridge->current_size); 109 current_size = A_SIZE_32(agp_bridge->current_size);
110 110
111 printk(KERN_INFO PFX "configuring for size idx: %d\n", 111 dev_info(&agp_bridge->dev->dev, "configuring for size idx: %d\n",
112 current_size->size_value); 112 current_size->size_value);
113 113
114 /* aperture size and gatt addr */ 114 /* aperture size and gatt addr */
115 pci_write_config_dword(agp_bridge->dev, 115 pci_write_config_dword(agp_bridge->dev,
@@ -197,8 +197,9 @@ static int u3_insert_memory(struct agp_memory *mem, off_t pg_start, int type)
197 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; 197 gp = (u32 *) &agp_bridge->gatt_table[pg_start];
198 for (i = 0; i < mem->page_count; ++i) { 198 for (i = 0; i < mem->page_count; ++i) {
199 if (gp[i]) { 199 if (gp[i]) {
200 printk("u3_insert_memory: entry 0x%x occupied (%x)\n", 200 dev_info(&agp_bridge->dev->dev,
201 i, gp[i]); 201 "u3_insert_memory: entry 0x%x occupied (%x)\n",
202 i, gp[i]);
202 return -EBUSY; 203 return -EBUSY;
203 } 204 }
204 } 205 }
@@ -276,8 +277,8 @@ static void uninorth_agp_enable(struct agp_bridge_data *bridge, u32 mode)
276 &scratch); 277 &scratch);
277 } while ((scratch & PCI_AGP_COMMAND_AGP) == 0 && ++timeout < 1000); 278 } while ((scratch & PCI_AGP_COMMAND_AGP) == 0 && ++timeout < 1000);
278 if ((scratch & PCI_AGP_COMMAND_AGP) == 0) 279 if ((scratch & PCI_AGP_COMMAND_AGP) == 0)
279 printk(KERN_ERR PFX "failed to write UniNorth AGP" 280 dev_err(&bridge->dev->dev, "can't write UniNorth AGP "
280 " command register\n"); 281 "command register\n");
281 282
282 if (uninorth_rev >= 0x30) { 283 if (uninorth_rev >= 0x30) {
283 /* This is an AGP V3 */ 284 /* This is an AGP V3 */
@@ -330,8 +331,8 @@ static int agp_uninorth_suspend(struct pci_dev *pdev)
330 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd); 331 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd);
331 if (!(cmd & PCI_AGP_COMMAND_AGP)) 332 if (!(cmd & PCI_AGP_COMMAND_AGP))
332 continue; 333 continue;
333 printk("uninorth-agp: disabling AGP on device %s\n", 334 dev_info(&pdev->dev, "disabling AGP on device %s\n",
334 pci_name(device)); 335 pci_name(device));
335 cmd &= ~PCI_AGP_COMMAND_AGP; 336 cmd &= ~PCI_AGP_COMMAND_AGP;
336 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd); 337 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd);
337 } 338 }
@@ -341,8 +342,7 @@ static int agp_uninorth_suspend(struct pci_dev *pdev)
341 pci_read_config_dword(pdev, agp + PCI_AGP_COMMAND, &cmd); 342 pci_read_config_dword(pdev, agp + PCI_AGP_COMMAND, &cmd);
342 bridge->dev_private_data = (void *)(long)cmd; 343 bridge->dev_private_data = (void *)(long)cmd;
343 if (cmd & PCI_AGP_COMMAND_AGP) { 344 if (cmd & PCI_AGP_COMMAND_AGP) {
344 printk("uninorth-agp: disabling AGP on bridge %s\n", 345 dev_info(&pdev->dev, "disabling AGP on bridge\n");
345 pci_name(pdev));
346 cmd &= ~PCI_AGP_COMMAND_AGP; 346 cmd &= ~PCI_AGP_COMMAND_AGP;
347 pci_write_config_dword(pdev, agp + PCI_AGP_COMMAND, cmd); 347 pci_write_config_dword(pdev, agp + PCI_AGP_COMMAND, cmd);
348 } 348 }
@@ -591,14 +591,14 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev,
591 /* probe for known chipsets */ 591 /* probe for known chipsets */
592 for (j = 0; devs[j].chipset_name != NULL; ++j) { 592 for (j = 0; devs[j].chipset_name != NULL; ++j) {
593 if (pdev->device == devs[j].device_id) { 593 if (pdev->device == devs[j].device_id) {
594 printk(KERN_INFO PFX "Detected Apple %s chipset\n", 594 dev_info(&pdev->dev, "Apple %s chipset\n",
595 devs[j].chipset_name); 595 devs[j].chipset_name);
596 goto found; 596 goto found;
597 } 597 }
598 } 598 }
599 599
600 printk(KERN_ERR PFX "Unsupported Apple chipset (device id: %04x).\n", 600 dev_err(&pdev->dev, "unsupported Apple chipset [%04x/%04x]\n",
601 pdev->device); 601 pdev->vendor, pdev->device);
602 return -ENODEV; 602 return -ENODEV;
603 603
604 found: 604 found:
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 02aac104842d..fd64137b1ab9 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -322,11 +322,10 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
322 322
323 hp->tty = tty; 323 hp->tty = tty;
324 324
325 if (hp->ops->notifier_add)
326 rc = hp->ops->notifier_add(hp, hp->data);
327
328 spin_unlock_irqrestore(&hp->lock, flags); 325 spin_unlock_irqrestore(&hp->lock, flags);
329 326
327 if (hp->ops->notifier_add)
328 rc = hp->ops->notifier_add(hp, hp->data);
330 329
331 /* 330 /*
332 * If the notifier fails we return an error. The tty layer 331 * If the notifier fails we return an error. The tty layer
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index d9799e2bcfbf..f53d4d00faf0 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -78,7 +78,6 @@
78#include <linux/wait.h> 78#include <linux/wait.h>
79#include <linux/bcd.h> 79#include <linux/bcd.h>
80#include <linux/delay.h> 80#include <linux/delay.h>
81#include <linux/smp_lock.h>
82#include <linux/uaccess.h> 81#include <linux/uaccess.h>
83 82
84#include <asm/current.h> 83#include <asm/current.h>
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index e1b46bc7e43c..0e6866fe0f96 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1161,8 +1161,8 @@ void disassociate_ctty(int on_exit)
1161 tty = get_current_tty(); 1161 tty = get_current_tty();
1162 if (tty) { 1162 if (tty) {
1163 tty_pgrp = get_pid(tty->pgrp); 1163 tty_pgrp = get_pid(tty->pgrp);
1164 mutex_unlock(&tty_mutex);
1165 lock_kernel(); 1164 lock_kernel();
1165 mutex_unlock(&tty_mutex);
1166 /* XXX: here we race, there is nothing protecting tty */ 1166 /* XXX: here we race, there is nothing protecting tty */
1167 if (on_exit && tty->driver->type != TTY_DRIVER_TYPE_PTY) 1167 if (on_exit && tty->driver->type != TTY_DRIVER_TYPE_PTY)
1168 tty_vhangup(tty); 1168 tty_vhangup(tty);
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
index 31a0e0b455b6..97b003839fb6 100644
--- a/drivers/cpuidle/sysfs.c
+++ b/drivers/cpuidle/sysfs.c
@@ -21,8 +21,8 @@ static int __init cpuidle_sysfs_setup(char *unused)
21} 21}
22__setup("cpuidle_sysfs_switch", cpuidle_sysfs_setup); 22__setup("cpuidle_sysfs_switch", cpuidle_sysfs_setup);
23 23
24static ssize_t show_available_governors(struct sys_device *dev, 24static ssize_t show_available_governors(struct sysdev_class *class,
25 struct sysdev_attribute *attr, char *buf) 25 char *buf)
26{ 26{
27 ssize_t i = 0; 27 ssize_t i = 0;
28 struct cpuidle_governor *tmp; 28 struct cpuidle_governor *tmp;
@@ -40,8 +40,8 @@ out:
40 return i; 40 return i;
41} 41}
42 42
43static ssize_t show_current_driver(struct sys_device *dev, 43static ssize_t show_current_driver(struct sysdev_class *class,
44 struct sysdev_attribute *attr, char *buf) 44 char *buf)
45{ 45{
46 ssize_t ret; 46 ssize_t ret;
47 47
@@ -55,8 +55,8 @@ static ssize_t show_current_driver(struct sys_device *dev,
55 return ret; 55 return ret;
56} 56}
57 57
58static ssize_t show_current_governor(struct sys_device *dev, 58static ssize_t show_current_governor(struct sysdev_class *class,
59 struct sysdev_attribute *attr, char *buf) 59 char *buf)
60{ 60{
61 ssize_t ret; 61 ssize_t ret;
62 62
@@ -70,9 +70,8 @@ static ssize_t show_current_governor(struct sys_device *dev,
70 return ret; 70 return ret;
71} 71}
72 72
73static ssize_t store_current_governor(struct sys_device *dev, 73static ssize_t store_current_governor(struct sysdev_class *class,
74 struct sysdev_attribute *attr, 74 const char *buf, size_t count)
75 const char *buf, size_t count)
76{ 75{
77 char gov_name[CPUIDLE_NAME_LEN]; 76 char gov_name[CPUIDLE_NAME_LEN];
78 int ret = -EINVAL; 77 int ret = -EINVAL;
@@ -104,8 +103,9 @@ static ssize_t store_current_governor(struct sys_device *dev,
104 return count; 103 return count;
105} 104}
106 105
107static SYSDEV_ATTR(current_driver, 0444, show_current_driver, NULL); 106static SYSDEV_CLASS_ATTR(current_driver, 0444, show_current_driver, NULL);
108static SYSDEV_ATTR(current_governor_ro, 0444, show_current_governor, NULL); 107static SYSDEV_CLASS_ATTR(current_governor_ro, 0444, show_current_governor,
108 NULL);
109 109
110static struct attribute *cpuclass_default_attrs[] = { 110static struct attribute *cpuclass_default_attrs[] = {
111 &attr_current_driver.attr, 111 &attr_current_driver.attr,
@@ -113,9 +113,10 @@ static struct attribute *cpuclass_default_attrs[] = {
113 NULL 113 NULL
114}; 114};
115 115
116static SYSDEV_ATTR(available_governors, 0444, show_available_governors, NULL); 116static SYSDEV_CLASS_ATTR(available_governors, 0444, show_available_governors,
117static SYSDEV_ATTR(current_governor, 0644, show_current_governor, 117 NULL);
118 store_current_governor); 118static SYSDEV_CLASS_ATTR(current_governor, 0644, show_current_governor,
119 store_current_governor);
119 120
120static struct attribute *cpuclass_switch_attrs[] = { 121static struct attribute *cpuclass_switch_attrs[] = {
121 &attr_available_governors.attr, 122 &attr_available_governors.attr,
diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c
index 001622eb86f9..3bf8ee120d42 100644
--- a/drivers/firmware/memmap.c
+++ b/drivers/firmware/memmap.c
@@ -84,20 +84,23 @@ static struct kobj_type memmap_ktype = {
84 */ 84 */
85 85
86/* 86/*
87 * Firmware memory map entries 87 * Firmware memory map entries. No locking is needed because the
88 * firmware_map_add() and firmware_map_add_early() functions are called
89 * in firmware initialisation code in one single thread of execution.
88 */ 90 */
89static LIST_HEAD(map_entries); 91static LIST_HEAD(map_entries);
90 92
91/** 93/**
92 * Common implementation of firmware_map_add() and firmware_map_add_early() 94 * firmware_map_add_entry() - Does the real work to add a firmware memmap entry.
93 * which expects a pre-allocated struct firmware_map_entry.
94 *
95 * @start: Start of the memory range. 95 * @start: Start of the memory range.
96 * @end: End of the memory range (inclusive). 96 * @end: End of the memory range (inclusive).
97 * @type: Type of the memory range. 97 * @type: Type of the memory range.
98 * @entry: Pre-allocated (either kmalloc() or bootmem allocator), uninitialised 98 * @entry: Pre-allocated (either kmalloc() or bootmem allocator), uninitialised
99 * entry. 99 * entry.
100 */ 100 *
101 * Common implementation of firmware_map_add() and firmware_map_add_early()
102 * which expects a pre-allocated struct firmware_map_entry.
103 **/
101static int firmware_map_add_entry(resource_size_t start, resource_size_t end, 104static int firmware_map_add_entry(resource_size_t start, resource_size_t end,
102 const char *type, 105 const char *type,
103 struct firmware_map_entry *entry) 106 struct firmware_map_entry *entry)
@@ -115,33 +118,52 @@ static int firmware_map_add_entry(resource_size_t start, resource_size_t end,
115 return 0; 118 return 0;
116} 119}
117 120
118/* 121/**
119 * See <linux/firmware-map.h> for documentation. 122 * firmware_map_add() - Adds a firmware mapping entry.
120 */ 123 * @start: Start of the memory range.
124 * @end: End of the memory range (inclusive).
125 * @type: Type of the memory range.
126 *
127 * This function uses kmalloc() for memory
128 * allocation. Use firmware_map_add_early() if you want to use the bootmem
129 * allocator.
130 *
131 * That function must be called before late_initcall.
132 *
133 * Returns 0 on success, or -ENOMEM if no memory could be allocated.
134 **/
121int firmware_map_add(resource_size_t start, resource_size_t end, 135int firmware_map_add(resource_size_t start, resource_size_t end,
122 const char *type) 136 const char *type)
123{ 137{
124 struct firmware_map_entry *entry; 138 struct firmware_map_entry *entry;
125 139
126 entry = kmalloc(sizeof(struct firmware_map_entry), GFP_ATOMIC); 140 entry = kmalloc(sizeof(struct firmware_map_entry), GFP_ATOMIC);
127 WARN_ON(!entry);
128 if (!entry) 141 if (!entry)
129 return -ENOMEM; 142 return -ENOMEM;
130 143
131 return firmware_map_add_entry(start, end, type, entry); 144 return firmware_map_add_entry(start, end, type, entry);
132} 145}
133 146
134/* 147/**
135 * See <linux/firmware-map.h> for documentation. 148 * firmware_map_add_early() - Adds a firmware mapping entry.
136 */ 149 * @start: Start of the memory range.
150 * @end: End of the memory range (inclusive).
151 * @type: Type of the memory range.
152 *
153 * Adds a firmware mapping entry. This function uses the bootmem allocator
154 * for memory allocation. Use firmware_map_add() if you want to use kmalloc().
155 *
156 * That function must be called before late_initcall.
157 *
158 * Returns 0 on success, or -ENOMEM if no memory could be allocated.
159 **/
137int __init firmware_map_add_early(resource_size_t start, resource_size_t end, 160int __init firmware_map_add_early(resource_size_t start, resource_size_t end,
138 const char *type) 161 const char *type)
139{ 162{
140 struct firmware_map_entry *entry; 163 struct firmware_map_entry *entry;
141 164
142 entry = alloc_bootmem_low(sizeof(struct firmware_map_entry)); 165 entry = alloc_bootmem_low(sizeof(struct firmware_map_entry));
143 WARN_ON(!entry); 166 if (WARN_ON(!entry))
144 if (!entry)
145 return -ENOMEM; 167 return -ENOMEM;
146 168
147 return firmware_map_add_entry(start, end, type, entry); 169 return firmware_map_add_entry(start, end, type, entry);
@@ -183,7 +205,10 @@ static ssize_t memmap_attr_show(struct kobject *kobj,
183/* 205/*
184 * Initialises stuff and adds the entries in the map_entries list to 206 * Initialises stuff and adds the entries in the map_entries list to
185 * sysfs. Important is that firmware_map_add() and firmware_map_add_early() 207 * sysfs. Important is that firmware_map_add() and firmware_map_add_early()
186 * must be called before late_initcall. 208 * must be called before late_initcall. That's just because that function
209 * is called as late_initcall() function, which means that if you call
210 * firmware_map_add() or firmware_map_add_early() afterwards, the entries
211 * are not added to sysfs.
187 */ 212 */
188static int __init memmap_init(void) 213static int __init memmap_init(void)
189{ 214{
@@ -192,13 +217,13 @@ static int __init memmap_init(void)
192 struct kset *memmap_kset; 217 struct kset *memmap_kset;
193 218
194 memmap_kset = kset_create_and_add("memmap", NULL, firmware_kobj); 219 memmap_kset = kset_create_and_add("memmap", NULL, firmware_kobj);
195 WARN_ON(!memmap_kset); 220 if (WARN_ON(!memmap_kset))
196 if (!memmap_kset)
197 return -ENOMEM; 221 return -ENOMEM;
198 222
199 list_for_each_entry(entry, &map_entries, list) { 223 list_for_each_entry(entry, &map_entries, list) {
200 entry->kobj.kset = memmap_kset; 224 entry->kobj.kset = memmap_kset;
201 kobject_add(&entry->kobj, NULL, "%d", i++); 225 if (kobject_add(&entry->kobj, NULL, "%d", i++))
226 kobject_put(&entry->kobj);
202 } 227 }
203 228
204 return 0; 229 return 0;
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 7880c273c2c5..8f9595f2fb53 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -54,11 +54,11 @@ enum lm75_type { /* keep sorted in alphabetical order */
54 tmp75, 54 tmp75,
55}; 55};
56 56
57/* Addresses scanned by legacy style driver binding */ 57/* Addresses scanned */
58static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c, 58static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c,
59 0x4d, 0x4e, 0x4f, I2C_CLIENT_END }; 59 0x4d, 0x4e, 0x4f, I2C_CLIENT_END };
60 60
61/* Insmod parameters (only for legacy style driver binding) */ 61/* Insmod parameters */
62I2C_CLIENT_INSMOD_1(lm75); 62I2C_CLIENT_INSMOD_1(lm75);
63 63
64 64
@@ -72,7 +72,6 @@ static const u8 LM75_REG_TEMP[3] = {
72 72
73/* Each client has this additional data */ 73/* Each client has this additional data */
74struct lm75_data { 74struct lm75_data {
75 struct i2c_client *client;
76 struct device *hwmon_dev; 75 struct device *hwmon_dev;
77 struct mutex update_lock; 76 struct mutex update_lock;
78 u8 orig_conf; 77 u8 orig_conf;
@@ -138,7 +137,7 @@ static const struct attribute_group lm75_group = {
138 137
139/*-----------------------------------------------------------------------*/ 138/*-----------------------------------------------------------------------*/
140 139
141/* "New style" I2C driver binding -- following the driver model */ 140/* device probe and removal */
142 141
143static int 142static int
144lm75_probe(struct i2c_client *client, const struct i2c_device_id *id) 143lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
@@ -157,8 +156,6 @@ lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
157 return -ENOMEM; 156 return -ENOMEM;
158 157
159 i2c_set_clientdata(client, data); 158 i2c_set_clientdata(client, data);
160
161 data->client = client;
162 mutex_init(&data->update_lock); 159 mutex_init(&data->update_lock);
163 160
164 /* Set to LM75 resolution (9 bits, 1/2 degree C) and range. 161 /* Set to LM75 resolution (9 bits, 1/2 degree C) and range.
@@ -236,45 +233,16 @@ static const struct i2c_device_id lm75_ids[] = {
236}; 233};
237MODULE_DEVICE_TABLE(i2c, lm75_ids); 234MODULE_DEVICE_TABLE(i2c, lm75_ids);
238 235
239static struct i2c_driver lm75_driver = { 236/* Return 0 if detection is successful, -ENODEV otherwise */
240 .driver = { 237static int lm75_detect(struct i2c_client *new_client, int kind,
241 .name = "lm75", 238 struct i2c_board_info *info)
242 },
243 .probe = lm75_probe,
244 .remove = lm75_remove,
245 .id_table = lm75_ids,
246};
247
248/*-----------------------------------------------------------------------*/
249
250/* "Legacy" I2C driver binding */
251
252static struct i2c_driver lm75_legacy_driver;
253
254/* This function is called by i2c_probe */
255static int lm75_detect(struct i2c_adapter *adapter, int address, int kind)
256{ 239{
240 struct i2c_adapter *adapter = new_client->adapter;
257 int i; 241 int i;
258 struct i2c_client *new_client;
259 int err = 0;
260 242
261 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA | 243 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA |
262 I2C_FUNC_SMBUS_WORD_DATA)) 244 I2C_FUNC_SMBUS_WORD_DATA))
263 goto exit; 245 return -ENODEV;
264
265 /* OK. For now, we presume we have a valid address. We create the
266 client structure, even though there may be no sensor present.
267 But it allows us to use i2c_smbus_read_*_data() calls. */
268 new_client = kzalloc(sizeof *new_client, GFP_KERNEL);
269 if (!new_client) {
270 err = -ENOMEM;
271 goto exit;
272 }
273
274 new_client->addr = address;
275 new_client->adapter = adapter;
276 new_client->driver = &lm75_legacy_driver;
277 new_client->flags = 0;
278 246
279 /* Now, we do the remaining detection. There is no identification- 247 /* Now, we do the remaining detection. There is no identification-
280 dedicated register so we have to rely on several tricks: 248 dedicated register so we have to rely on several tricks:
@@ -294,71 +262,44 @@ static int lm75_detect(struct i2c_adapter *adapter, int address, int kind)
294 || i2c_smbus_read_word_data(new_client, 5) != hyst 262 || i2c_smbus_read_word_data(new_client, 5) != hyst
295 || i2c_smbus_read_word_data(new_client, 6) != hyst 263 || i2c_smbus_read_word_data(new_client, 6) != hyst
296 || i2c_smbus_read_word_data(new_client, 7) != hyst) 264 || i2c_smbus_read_word_data(new_client, 7) != hyst)
297 goto exit_free; 265 return -ENODEV;
298 os = i2c_smbus_read_word_data(new_client, 3); 266 os = i2c_smbus_read_word_data(new_client, 3);
299 if (i2c_smbus_read_word_data(new_client, 4) != os 267 if (i2c_smbus_read_word_data(new_client, 4) != os
300 || i2c_smbus_read_word_data(new_client, 5) != os 268 || i2c_smbus_read_word_data(new_client, 5) != os
301 || i2c_smbus_read_word_data(new_client, 6) != os 269 || i2c_smbus_read_word_data(new_client, 6) != os
302 || i2c_smbus_read_word_data(new_client, 7) != os) 270 || i2c_smbus_read_word_data(new_client, 7) != os)
303 goto exit_free; 271 return -ENODEV;
304 272
305 /* Unused bits */ 273 /* Unused bits */
306 if (conf & 0xe0) 274 if (conf & 0xe0)
307 goto exit_free; 275 return -ENODEV;
308 276
309 /* Addresses cycling */ 277 /* Addresses cycling */
310 for (i = 8; i < 0xff; i += 8) 278 for (i = 8; i < 0xff; i += 8)
311 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf 279 if (i2c_smbus_read_byte_data(new_client, i + 1) != conf
312 || i2c_smbus_read_word_data(new_client, i + 2) != hyst 280 || i2c_smbus_read_word_data(new_client, i + 2) != hyst
313 || i2c_smbus_read_word_data(new_client, i + 3) != os) 281 || i2c_smbus_read_word_data(new_client, i + 3) != os)
314 goto exit_free; 282 return -ENODEV;
315 } 283 }
316 284
317 /* NOTE: we treat "force=..." and "force_lm75=..." the same. 285 /* NOTE: we treat "force=..." and "force_lm75=..." the same.
318 * Only new-style driver binding distinguishes chip types. 286 * Only new-style driver binding distinguishes chip types.
319 */ 287 */
320 strlcpy(new_client->name, "lm75", I2C_NAME_SIZE); 288 strlcpy(info->type, "lm75", I2C_NAME_SIZE);
321
322 /* Tell the I2C layer a new client has arrived */
323 err = i2c_attach_client(new_client);
324 if (err)
325 goto exit_free;
326
327 err = lm75_probe(new_client, NULL);
328 if (err < 0)
329 goto exit_detach;
330 289
331 return 0; 290 return 0;
332
333exit_detach:
334 i2c_detach_client(new_client);
335exit_free:
336 kfree(new_client);
337exit:
338 return err;
339}
340
341static int lm75_attach_adapter(struct i2c_adapter *adapter)
342{
343 if (!(adapter->class & I2C_CLASS_HWMON))
344 return 0;
345 return i2c_probe(adapter, &addr_data, lm75_detect);
346} 291}
347 292
348static int lm75_detach_client(struct i2c_client *client) 293static struct i2c_driver lm75_driver = {
349{ 294 .class = I2C_CLASS_HWMON,
350 lm75_remove(client);
351 i2c_detach_client(client);
352 kfree(client);
353 return 0;
354}
355
356static struct i2c_driver lm75_legacy_driver = {
357 .driver = { 295 .driver = {
358 .name = "lm75_legacy", 296 .name = "lm75",
359 }, 297 },
360 .attach_adapter = lm75_attach_adapter, 298 .probe = lm75_probe,
361 .detach_client = lm75_detach_client, 299 .remove = lm75_remove,
300 .id_table = lm75_ids,
301 .detect = lm75_detect,
302 .address_data = &addr_data,
362}; 303};
363 304
364/*-----------------------------------------------------------------------*/ 305/*-----------------------------------------------------------------------*/
@@ -424,22 +365,11 @@ static struct lm75_data *lm75_update_device(struct device *dev)
424 365
425static int __init sensors_lm75_init(void) 366static int __init sensors_lm75_init(void)
426{ 367{
427 int status; 368 return i2c_add_driver(&lm75_driver);
428
429 status = i2c_add_driver(&lm75_driver);
430 if (status < 0)
431 return status;
432
433 status = i2c_add_driver(&lm75_legacy_driver);
434 if (status < 0)
435 i2c_del_driver(&lm75_driver);
436
437 return status;
438} 369}
439 370
440static void __exit sensors_lm75_exit(void) 371static void __exit sensors_lm75_exit(void)
441{ 372{
442 i2c_del_driver(&lm75_legacy_driver);
443 i2c_del_driver(&lm75_driver); 373 i2c_del_driver(&lm75_driver);
444} 374}
445 375
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 96867347bcbf..711ca08ab776 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -38,6 +38,20 @@ config I2C_CHARDEV
38 This support is also available as a module. If so, the module 38 This support is also available as a module. If so, the module
39 will be called i2c-dev. 39 will be called i2c-dev.
40 40
41config I2C_HELPER_AUTO
42 bool "Autoselect pertinent helper modules"
43 default y
44 help
45 Some I2C bus drivers require so-called "I2C algorithm" modules
46 to work. These are basically software-only abstractions of generic
47 I2C interfaces. This option will autoselect them so that you don't
48 have to care.
49
50 Unselect this only if you need to enable additional helper
51 modules, for example for use with external I2C bus drivers.
52
53 In doubt, say Y.
54
41source drivers/i2c/algos/Kconfig 55source drivers/i2c/algos/Kconfig
42source drivers/i2c/busses/Kconfig 56source drivers/i2c/busses/Kconfig
43source drivers/i2c/chips/Kconfig 57source drivers/i2c/chips/Kconfig
diff --git a/drivers/i2c/algos/Kconfig b/drivers/i2c/algos/Kconfig
index 7137a17402fe..b788579b8227 100644
--- a/drivers/i2c/algos/Kconfig
+++ b/drivers/i2c/algos/Kconfig
@@ -2,15 +2,20 @@
2# I2C algorithm drivers configuration 2# I2C algorithm drivers configuration
3# 3#
4 4
5menu "I2C Algorithms"
6 depends on !I2C_HELPER_AUTO
7
5config I2C_ALGOBIT 8config I2C_ALGOBIT
6 tristate 9 tristate "I2C bit-banging interfaces"
7 10
8config I2C_ALGOPCF 11config I2C_ALGOPCF
9 tristate 12 tristate "I2C PCF 8584 interfaces"
10 13
11config I2C_ALGOPCA 14config I2C_ALGOPCA
12 tristate 15 tristate "I2C PCA 9564 interfaces"
13 16
14config I2C_ALGO_SGI 17config I2C_ALGO_SGI
15 tristate 18 tristate
16 depends on SGI_IP22 || SGI_IP32 || X86_VISWS 19 depends on SGI_IP22 || SGI_IP32 || X86_VISWS
20
21endmenu
diff --git a/drivers/i2c/busses/i2c-amd756-s4882.c b/drivers/i2c/busses/i2c-amd756-s4882.c
index 72872d1e63ef..8ba2bcf727d3 100644
--- a/drivers/i2c/busses/i2c-amd756-s4882.c
+++ b/drivers/i2c/busses/i2c-amd756-s4882.c
@@ -155,6 +155,9 @@ static int __init amd756_s4882_init(void)
155 int i, error; 155 int i, error;
156 union i2c_smbus_data ioconfig; 156 union i2c_smbus_data ioconfig;
157 157
158 if (!amd756_smbus.dev.parent)
159 return -ENODEV;
160
158 /* Configure the PCA9556 multiplexer */ 161 /* Configure the PCA9556 multiplexer */
159 ioconfig.byte = 0x00; /* All I/O to output mode */ 162 ioconfig.byte = 0x00; /* All I/O to output mode */
160 error = i2c_smbus_xfer(&amd756_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03, 163 error = i2c_smbus_xfer(&amd756_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03,
@@ -168,11 +171,7 @@ static int __init amd756_s4882_init(void)
168 /* Unregister physical bus */ 171 /* Unregister physical bus */
169 error = i2c_del_adapter(&amd756_smbus); 172 error = i2c_del_adapter(&amd756_smbus);
170 if (error) { 173 if (error) {
171 if (error == -EINVAL) 174 dev_err(&amd756_smbus.dev, "Physical bus removal failed\n");
172 error = -ENODEV;
173 else
174 dev_err(&amd756_smbus.dev, "Physical bus removal "
175 "failed\n");
176 goto ERROR0; 175 goto ERROR0;
177 } 176 }
178 177
diff --git a/drivers/i2c/busses/i2c-nforce2-s4985.c b/drivers/i2c/busses/i2c-nforce2-s4985.c
index d1a4cbcf2aa4..29015eb9ca46 100644
--- a/drivers/i2c/busses/i2c-nforce2-s4985.c
+++ b/drivers/i2c/busses/i2c-nforce2-s4985.c
@@ -150,6 +150,9 @@ static int __init nforce2_s4985_init(void)
150 int i, error; 150 int i, error;
151 union i2c_smbus_data ioconfig; 151 union i2c_smbus_data ioconfig;
152 152
153 if (!nforce2_smbus)
154 return -ENODEV;
155
153 /* Configure the PCA9556 multiplexer */ 156 /* Configure the PCA9556 multiplexer */
154 ioconfig.byte = 0x00; /* All I/O to output mode */ 157 ioconfig.byte = 0x00; /* All I/O to output mode */
155 error = i2c_smbus_xfer(nforce2_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03, 158 error = i2c_smbus_xfer(nforce2_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03,
@@ -161,8 +164,6 @@ static int __init nforce2_s4985_init(void)
161 } 164 }
162 165
163 /* Unregister physical bus */ 166 /* Unregister physical bus */
164 if (!nforce2_smbus)
165 return -ENODEV;
166 error = i2c_del_adapter(nforce2_smbus); 167 error = i2c_del_adapter(nforce2_smbus);
167 if (error) { 168 if (error) {
168 dev_err(&nforce2_smbus->dev, "Physical bus removal failed\n"); 169 dev_err(&nforce2_smbus->dev, "Physical bus removal failed\n");
diff --git a/drivers/i2c/chips/at24.c b/drivers/i2c/chips/at24.c
index e764c94f3e3d..2a4acb269569 100644
--- a/drivers/i2c/chips/at24.c
+++ b/drivers/i2c/chips/at24.c
@@ -188,7 +188,7 @@ static ssize_t at24_eeprom_read(struct at24_data *at24, char *buf,
188 count = I2C_SMBUS_BLOCK_MAX; 188 count = I2C_SMBUS_BLOCK_MAX;
189 status = i2c_smbus_read_i2c_block_data(client, offset, 189 status = i2c_smbus_read_i2c_block_data(client, offset,
190 count, buf); 190 count, buf);
191 dev_dbg(&client->dev, "smbus read %zd@%d --> %d\n", 191 dev_dbg(&client->dev, "smbus read %zu@%d --> %d\n",
192 count, offset, status); 192 count, offset, status);
193 return (status < 0) ? -EIO : status; 193 return (status < 0) ? -EIO : status;
194 } 194 }
@@ -214,7 +214,7 @@ static ssize_t at24_eeprom_read(struct at24_data *at24, char *buf,
214 msg[1].len = count; 214 msg[1].len = count;
215 215
216 status = i2c_transfer(client->adapter, msg, 2); 216 status = i2c_transfer(client->adapter, msg, 2);
217 dev_dbg(&client->dev, "i2c read %zd@%d --> %d\n", 217 dev_dbg(&client->dev, "i2c read %zu@%d --> %d\n",
218 count, offset, status); 218 count, offset, status);
219 219
220 if (status == 2) 220 if (status == 2)
@@ -334,7 +334,7 @@ static ssize_t at24_eeprom_write(struct at24_data *at24, char *buf,
334 if (status == 1) 334 if (status == 1)
335 status = count; 335 status = count;
336 } 336 }
337 dev_dbg(&client->dev, "write %zd@%d --> %zd (%ld)\n", 337 dev_dbg(&client->dev, "write %zu@%d --> %zd (%ld)\n",
338 count, offset, status, jiffies); 338 count, offset, status, jiffies);
339 339
340 if (status == count) 340 if (status == count)
@@ -512,7 +512,7 @@ static int at24_probe(struct i2c_client *client, const struct i2c_device_id *id)
512 512
513 i2c_set_clientdata(client, at24); 513 i2c_set_clientdata(client, at24);
514 514
515 dev_info(&client->dev, "%Zd byte %s EEPROM %s\n", 515 dev_info(&client->dev, "%zu byte %s EEPROM %s\n",
516 at24->bin.size, client->name, 516 at24->bin.size, client->name,
517 writable ? "(writable)" : "(read-only)"); 517 writable ? "(writable)" : "(read-only)");
518 dev_dbg(&client->dev, 518 dev_dbg(&client->dev,
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 7bf38c418086..550853f79ae8 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -813,7 +813,12 @@ static int i2c_check_addr(struct i2c_adapter *adapter, int addr)
813int i2c_attach_client(struct i2c_client *client) 813int i2c_attach_client(struct i2c_client *client)
814{ 814{
815 struct i2c_adapter *adapter = client->adapter; 815 struct i2c_adapter *adapter = client->adapter;
816 int res = 0; 816 int res;
817
818 /* Check for address business */
819 res = i2c_check_addr(adapter, client->addr);
820 if (res)
821 return res;
817 822
818 client->dev.parent = &client->adapter->dev; 823 client->dev.parent = &client->adapter->dev;
819 client->dev.bus = &i2c_bus_type; 824 client->dev.bus = &i2c_bus_type;
@@ -1451,9 +1456,11 @@ i2c_new_probed_device(struct i2c_adapter *adap,
1451 if ((addr_list[i] & ~0x07) == 0x30 1456 if ((addr_list[i] & ~0x07) == 0x30
1452 || (addr_list[i] & ~0x0f) == 0x50 1457 || (addr_list[i] & ~0x0f) == 0x50
1453 || !i2c_check_functionality(adap, I2C_FUNC_SMBUS_QUICK)) { 1458 || !i2c_check_functionality(adap, I2C_FUNC_SMBUS_QUICK)) {
1459 union i2c_smbus_data data;
1460
1454 if (i2c_smbus_xfer(adap, addr_list[i], 0, 1461 if (i2c_smbus_xfer(adap, addr_list[i], 0,
1455 I2C_SMBUS_READ, 0, 1462 I2C_SMBUS_READ, 0,
1456 I2C_SMBUS_BYTE, NULL) >= 0) 1463 I2C_SMBUS_BYTE, &data) >= 0)
1457 break; 1464 break;
1458 } else { 1465 } else {
1459 if (i2c_smbus_xfer(adap, addr_list[i], 0, 1466 if (i2c_smbus_xfer(adap, addr_list[i], 0,
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
index 9d55c6383b23..af4491fa7e34 100644
--- a/drivers/i2c/i2c-dev.c
+++ b/drivers/i2c/i2c-dev.c
@@ -147,7 +147,7 @@ static ssize_t i2cdev_read (struct file *file, char __user *buf, size_t count,
147 if (tmp==NULL) 147 if (tmp==NULL)
148 return -ENOMEM; 148 return -ENOMEM;
149 149
150 pr_debug("i2c-dev: i2c-%d reading %zd bytes.\n", 150 pr_debug("i2c-dev: i2c-%d reading %zu bytes.\n",
151 iminor(file->f_path.dentry->d_inode), count); 151 iminor(file->f_path.dentry->d_inode), count);
152 152
153 ret = i2c_master_recv(client,tmp,count); 153 ret = i2c_master_recv(client,tmp,count);
@@ -175,7 +175,7 @@ static ssize_t i2cdev_write (struct file *file, const char __user *buf, size_t c
175 return -EFAULT; 175 return -EFAULT;
176 } 176 }
177 177
178 pr_debug("i2c-dev: i2c-%d writing %zd bytes.\n", 178 pr_debug("i2c-dev: i2c-%d writing %zu bytes.\n",
179 iminor(file->f_path.dentry->d_inode), count); 179 iminor(file->f_path.dentry->d_inode), count);
180 180
181 ret = i2c_master_send(client,tmp,count); 181 ret = i2c_master_send(client,tmp,count);
diff --git a/drivers/infiniband/hw/ehca/ehca_classes.h b/drivers/infiniband/hw/ehca/ehca_classes.h
index 0b0618edd645..1ab919f836a8 100644
--- a/drivers/infiniband/hw/ehca/ehca_classes.h
+++ b/drivers/infiniband/hw/ehca/ehca_classes.h
@@ -156,6 +156,14 @@ struct ehca_mod_qp_parm {
156 156
157#define EHCA_MOD_QP_PARM_MAX 4 157#define EHCA_MOD_QP_PARM_MAX 4
158 158
159#define QMAP_IDX_MASK 0xFFFFULL
160
161/* struct for tracking if cqes have been reported to the application */
162struct ehca_qmap_entry {
163 u16 app_wr_id;
164 u16 reported;
165};
166
159struct ehca_qp { 167struct ehca_qp {
160 union { 168 union {
161 struct ib_qp ib_qp; 169 struct ib_qp ib_qp;
@@ -165,6 +173,7 @@ struct ehca_qp {
165 enum ehca_ext_qp_type ext_type; 173 enum ehca_ext_qp_type ext_type;
166 enum ib_qp_state state; 174 enum ib_qp_state state;
167 struct ipz_queue ipz_squeue; 175 struct ipz_queue ipz_squeue;
176 struct ehca_qmap_entry *sq_map;
168 struct ipz_queue ipz_rqueue; 177 struct ipz_queue ipz_rqueue;
169 struct h_galpas galpas; 178 struct h_galpas galpas;
170 u32 qkey; 179 u32 qkey;
diff --git a/drivers/infiniband/hw/ehca/ehca_qes.h b/drivers/infiniband/hw/ehca/ehca_qes.h
index 818803057ebf..5d28e3e98a20 100644
--- a/drivers/infiniband/hw/ehca/ehca_qes.h
+++ b/drivers/infiniband/hw/ehca/ehca_qes.h
@@ -213,6 +213,7 @@ struct ehca_wqe {
213#define WC_STATUS_ERROR_BIT 0x80000000 213#define WC_STATUS_ERROR_BIT 0x80000000
214#define WC_STATUS_REMOTE_ERROR_FLAGS 0x0000F800 214#define WC_STATUS_REMOTE_ERROR_FLAGS 0x0000F800
215#define WC_STATUS_PURGE_BIT 0x10 215#define WC_STATUS_PURGE_BIT 0x10
216#define WC_SEND_RECEIVE_BIT 0x80
216 217
217struct ehca_cqe { 218struct ehca_cqe {
218 u64 work_request_id; 219 u64 work_request_id;
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c
index ea13efddf175..b6bcee036734 100644
--- a/drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/drivers/infiniband/hw/ehca/ehca_qp.c
@@ -412,6 +412,7 @@ static struct ehca_qp *internal_create_qp(
412 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, 412 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca,
413 ib_device); 413 ib_device);
414 struct ib_ucontext *context = NULL; 414 struct ib_ucontext *context = NULL;
415 u32 nr_qes;
415 u64 h_ret; 416 u64 h_ret;
416 int is_llqp = 0, has_srq = 0; 417 int is_llqp = 0, has_srq = 0;
417 int qp_type, max_send_sge, max_recv_sge, ret; 418 int qp_type, max_send_sge, max_recv_sge, ret;
@@ -715,6 +716,15 @@ static struct ehca_qp *internal_create_qp(
715 "and pages ret=%i", ret); 716 "and pages ret=%i", ret);
716 goto create_qp_exit2; 717 goto create_qp_exit2;
717 } 718 }
719 nr_qes = my_qp->ipz_squeue.queue_length /
720 my_qp->ipz_squeue.qe_size;
721 my_qp->sq_map = vmalloc(nr_qes *
722 sizeof(struct ehca_qmap_entry));
723 if (!my_qp->sq_map) {
724 ehca_err(pd->device, "Couldn't allocate squeue "
725 "map ret=%i", ret);
726 goto create_qp_exit3;
727 }
718 } 728 }
719 729
720 if (HAS_RQ(my_qp)) { 730 if (HAS_RQ(my_qp)) {
@@ -724,7 +734,7 @@ static struct ehca_qp *internal_create_qp(
724 if (ret) { 734 if (ret) {
725 ehca_err(pd->device, "Couldn't initialize rqueue " 735 ehca_err(pd->device, "Couldn't initialize rqueue "
726 "and pages ret=%i", ret); 736 "and pages ret=%i", ret);
727 goto create_qp_exit3; 737 goto create_qp_exit4;
728 } 738 }
729 } 739 }
730 740
@@ -770,7 +780,7 @@ static struct ehca_qp *internal_create_qp(
770 if (!my_qp->mod_qp_parm) { 780 if (!my_qp->mod_qp_parm) {
771 ehca_err(pd->device, 781 ehca_err(pd->device,
772 "Could not alloc mod_qp_parm"); 782 "Could not alloc mod_qp_parm");
773 goto create_qp_exit4; 783 goto create_qp_exit5;
774 } 784 }
775 } 785 }
776 } 786 }
@@ -780,7 +790,7 @@ static struct ehca_qp *internal_create_qp(
780 h_ret = ehca_define_sqp(shca, my_qp, init_attr); 790 h_ret = ehca_define_sqp(shca, my_qp, init_attr);
781 if (h_ret != H_SUCCESS) { 791 if (h_ret != H_SUCCESS) {
782 ret = ehca2ib_return_code(h_ret); 792 ret = ehca2ib_return_code(h_ret);
783 goto create_qp_exit5; 793 goto create_qp_exit6;
784 } 794 }
785 } 795 }
786 796
@@ -789,7 +799,7 @@ static struct ehca_qp *internal_create_qp(
789 if (ret) { 799 if (ret) {
790 ehca_err(pd->device, 800 ehca_err(pd->device,
791 "Couldn't assign qp to send_cq ret=%i", ret); 801 "Couldn't assign qp to send_cq ret=%i", ret);
792 goto create_qp_exit5; 802 goto create_qp_exit6;
793 } 803 }
794 } 804 }
795 805
@@ -815,22 +825,26 @@ static struct ehca_qp *internal_create_qp(
815 if (ib_copy_to_udata(udata, &resp, sizeof resp)) { 825 if (ib_copy_to_udata(udata, &resp, sizeof resp)) {
816 ehca_err(pd->device, "Copy to udata failed"); 826 ehca_err(pd->device, "Copy to udata failed");
817 ret = -EINVAL; 827 ret = -EINVAL;
818 goto create_qp_exit6; 828 goto create_qp_exit7;
819 } 829 }
820 } 830 }
821 831
822 return my_qp; 832 return my_qp;
823 833
824create_qp_exit6: 834create_qp_exit7:
825 ehca_cq_unassign_qp(my_qp->send_cq, my_qp->real_qp_num); 835 ehca_cq_unassign_qp(my_qp->send_cq, my_qp->real_qp_num);
826 836
827create_qp_exit5: 837create_qp_exit6:
828 kfree(my_qp->mod_qp_parm); 838 kfree(my_qp->mod_qp_parm);
829 839
830create_qp_exit4: 840create_qp_exit5:
831 if (HAS_RQ(my_qp)) 841 if (HAS_RQ(my_qp))
832 ipz_queue_dtor(my_pd, &my_qp->ipz_rqueue); 842 ipz_queue_dtor(my_pd, &my_qp->ipz_rqueue);
833 843
844create_qp_exit4:
845 if (HAS_SQ(my_qp))
846 vfree(my_qp->sq_map);
847
834create_qp_exit3: 848create_qp_exit3:
835 if (HAS_SQ(my_qp)) 849 if (HAS_SQ(my_qp))
836 ipz_queue_dtor(my_pd, &my_qp->ipz_squeue); 850 ipz_queue_dtor(my_pd, &my_qp->ipz_squeue);
@@ -1534,8 +1548,6 @@ static int internal_modify_qp(struct ib_qp *ibqp,
1534 if (attr_mask & IB_QP_QKEY) 1548 if (attr_mask & IB_QP_QKEY)
1535 my_qp->qkey = attr->qkey; 1549 my_qp->qkey = attr->qkey;
1536 1550
1537 my_qp->state = qp_new_state;
1538
1539modify_qp_exit2: 1551modify_qp_exit2:
1540 if (squeue_locked) { /* this means: sqe -> rts */ 1552 if (squeue_locked) { /* this means: sqe -> rts */
1541 spin_unlock_irqrestore(&my_qp->spinlock_s, flags); 1553 spin_unlock_irqrestore(&my_qp->spinlock_s, flags);
@@ -1551,6 +1563,8 @@ modify_qp_exit1:
1551int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, 1563int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
1552 struct ib_udata *udata) 1564 struct ib_udata *udata)
1553{ 1565{
1566 int ret = 0;
1567
1554 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca, 1568 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca,
1555 ib_device); 1569 ib_device);
1556 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); 1570 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp);
@@ -1597,12 +1611,18 @@ int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
1597 attr->qp_state, my_qp->init_attr.port_num, 1611 attr->qp_state, my_qp->init_attr.port_num,
1598 ibqp->qp_type); 1612 ibqp->qp_type);
1599 spin_unlock_irqrestore(&sport->mod_sqp_lock, flags); 1613 spin_unlock_irqrestore(&sport->mod_sqp_lock, flags);
1600 return 0; 1614 goto out;
1601 } 1615 }
1602 spin_unlock_irqrestore(&sport->mod_sqp_lock, flags); 1616 spin_unlock_irqrestore(&sport->mod_sqp_lock, flags);
1603 } 1617 }
1604 1618
1605 return internal_modify_qp(ibqp, attr, attr_mask, 0); 1619 ret = internal_modify_qp(ibqp, attr, attr_mask, 0);
1620
1621out:
1622 if ((ret == 0) && (attr_mask & IB_QP_STATE))
1623 my_qp->state = attr->qp_state;
1624
1625 return ret;
1606} 1626}
1607 1627
1608void ehca_recover_sqp(struct ib_qp *sqp) 1628void ehca_recover_sqp(struct ib_qp *sqp)
@@ -1973,8 +1993,10 @@ static int internal_destroy_qp(struct ib_device *dev, struct ehca_qp *my_qp,
1973 1993
1974 if (HAS_RQ(my_qp)) 1994 if (HAS_RQ(my_qp))
1975 ipz_queue_dtor(my_pd, &my_qp->ipz_rqueue); 1995 ipz_queue_dtor(my_pd, &my_qp->ipz_rqueue);
1976 if (HAS_SQ(my_qp)) 1996 if (HAS_SQ(my_qp)) {
1977 ipz_queue_dtor(my_pd, &my_qp->ipz_squeue); 1997 ipz_queue_dtor(my_pd, &my_qp->ipz_squeue);
1998 vfree(my_qp->sq_map);
1999 }
1978 kmem_cache_free(qp_cache, my_qp); 2000 kmem_cache_free(qp_cache, my_qp);
1979 atomic_dec(&shca->num_qps); 2001 atomic_dec(&shca->num_qps);
1980 return 0; 2002 return 0;
diff --git a/drivers/infiniband/hw/ehca/ehca_reqs.c b/drivers/infiniband/hw/ehca/ehca_reqs.c
index 898c8b5c38dd..4426d82fe798 100644
--- a/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ b/drivers/infiniband/hw/ehca/ehca_reqs.c
@@ -139,6 +139,7 @@ static void trace_send_wr_ud(const struct ib_send_wr *send_wr)
139static inline int ehca_write_swqe(struct ehca_qp *qp, 139static inline int ehca_write_swqe(struct ehca_qp *qp,
140 struct ehca_wqe *wqe_p, 140 struct ehca_wqe *wqe_p,
141 const struct ib_send_wr *send_wr, 141 const struct ib_send_wr *send_wr,
142 u32 sq_map_idx,
142 int hidden) 143 int hidden)
143{ 144{
144 u32 idx; 145 u32 idx;
@@ -157,7 +158,11 @@ static inline int ehca_write_swqe(struct ehca_qp *qp,
157 /* clear wqe header until sglist */ 158 /* clear wqe header until sglist */
158 memset(wqe_p, 0, offsetof(struct ehca_wqe, u.ud_av.sg_list)); 159 memset(wqe_p, 0, offsetof(struct ehca_wqe, u.ud_av.sg_list));
159 160
160 wqe_p->work_request_id = send_wr->wr_id; 161 wqe_p->work_request_id = send_wr->wr_id & ~QMAP_IDX_MASK;
162 wqe_p->work_request_id |= sq_map_idx & QMAP_IDX_MASK;
163
164 qp->sq_map[sq_map_idx].app_wr_id = send_wr->wr_id & QMAP_IDX_MASK;
165 qp->sq_map[sq_map_idx].reported = 0;
161 166
162 switch (send_wr->opcode) { 167 switch (send_wr->opcode) {
163 case IB_WR_SEND: 168 case IB_WR_SEND:
@@ -381,6 +386,7 @@ static inline int post_one_send(struct ehca_qp *my_qp,
381{ 386{
382 struct ehca_wqe *wqe_p; 387 struct ehca_wqe *wqe_p;
383 int ret; 388 int ret;
389 u32 sq_map_idx;
384 u64 start_offset = my_qp->ipz_squeue.current_q_offset; 390 u64 start_offset = my_qp->ipz_squeue.current_q_offset;
385 391
386 /* get pointer next to free WQE */ 392 /* get pointer next to free WQE */
@@ -393,8 +399,15 @@ static inline int post_one_send(struct ehca_qp *my_qp,
393 "qp_num=%x", my_qp->ib_qp.qp_num); 399 "qp_num=%x", my_qp->ib_qp.qp_num);
394 return -ENOMEM; 400 return -ENOMEM;
395 } 401 }
402
403 /*
404 * Get the index of the WQE in the send queue. The same index is used
405 * for writing into the sq_map.
406 */
407 sq_map_idx = start_offset / my_qp->ipz_squeue.qe_size;
408
396 /* write a SEND WQE into the QUEUE */ 409 /* write a SEND WQE into the QUEUE */
397 ret = ehca_write_swqe(my_qp, wqe_p, cur_send_wr, hidden); 410 ret = ehca_write_swqe(my_qp, wqe_p, cur_send_wr, sq_map_idx, hidden);
398 /* 411 /*
399 * if something failed, 412 * if something failed,
400 * reset the free entry pointer to the start value 413 * reset the free entry pointer to the start value
@@ -589,7 +602,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc)
589 struct ehca_qp *my_qp; 602 struct ehca_qp *my_qp;
590 int cqe_count = 0, is_error; 603 int cqe_count = 0, is_error;
591 604
592poll_cq_one_read_cqe: 605repoll:
593 cqe = (struct ehca_cqe *) 606 cqe = (struct ehca_cqe *)
594 ipz_qeit_get_inc_valid(&my_cq->ipz_queue); 607 ipz_qeit_get_inc_valid(&my_cq->ipz_queue);
595 if (!cqe) { 608 if (!cqe) {
@@ -617,7 +630,7 @@ poll_cq_one_read_cqe:
617 ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x", 630 ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x",
618 my_cq->cq_number, cqe->local_qp_number); 631 my_cq->cq_number, cqe->local_qp_number);
619 /* ignore this purged cqe */ 632 /* ignore this purged cqe */
620 goto poll_cq_one_read_cqe; 633 goto repoll;
621 } 634 }
622 spin_lock_irqsave(&qp->spinlock_s, flags); 635 spin_lock_irqsave(&qp->spinlock_s, flags);
623 purgeflag = qp->sqerr_purgeflag; 636 purgeflag = qp->sqerr_purgeflag;
@@ -636,7 +649,7 @@ poll_cq_one_read_cqe:
636 * that caused sqe and turn off purge flag 649 * that caused sqe and turn off purge flag
637 */ 650 */
638 qp->sqerr_purgeflag = 0; 651 qp->sqerr_purgeflag = 0;
639 goto poll_cq_one_read_cqe; 652 goto repoll;
640 } 653 }
641 } 654 }
642 655
@@ -654,8 +667,34 @@ poll_cq_one_read_cqe:
654 my_cq, my_cq->cq_number); 667 my_cq, my_cq->cq_number);
655 } 668 }
656 669
657 /* we got a completion! */ 670 read_lock(&ehca_qp_idr_lock);
658 wc->wr_id = cqe->work_request_id; 671 my_qp = idr_find(&ehca_qp_idr, cqe->qp_token);
672 read_unlock(&ehca_qp_idr_lock);
673 if (!my_qp)
674 goto repoll;
675 wc->qp = &my_qp->ib_qp;
676
677 if (!(cqe->w_completion_flags & WC_SEND_RECEIVE_BIT)) {
678 struct ehca_qmap_entry *qmap_entry;
679 /*
680 * We got a send completion and need to restore the original
681 * wr_id.
682 */
683 qmap_entry = &my_qp->sq_map[cqe->work_request_id &
684 QMAP_IDX_MASK];
685
686 if (qmap_entry->reported) {
687 ehca_warn(cq->device, "Double cqe on qp_num=%#x",
688 my_qp->real_qp_num);
689 /* found a double cqe, discard it and read next one */
690 goto repoll;
691 }
692 wc->wr_id = cqe->work_request_id & ~QMAP_IDX_MASK;
693 wc->wr_id |= qmap_entry->app_wr_id;
694 qmap_entry->reported = 1;
695 } else
696 /* We got a receive completion. */
697 wc->wr_id = cqe->work_request_id;
659 698
660 /* eval ib_wc_opcode */ 699 /* eval ib_wc_opcode */
661 wc->opcode = ib_wc_opcode[cqe->optype]-1; 700 wc->opcode = ib_wc_opcode[cqe->optype]-1;
@@ -667,7 +706,7 @@ poll_cq_one_read_cqe:
667 ehca_dmp(cqe, 64, "ehca_cq=%p cq_num=%x", 706 ehca_dmp(cqe, 64, "ehca_cq=%p cq_num=%x",
668 my_cq, my_cq->cq_number); 707 my_cq, my_cq->cq_number);
669 /* update also queue adder to throw away this entry!!! */ 708 /* update also queue adder to throw away this entry!!! */
670 goto poll_cq_one_exit0; 709 goto repoll;
671 } 710 }
672 711
673 /* eval ib_wc_status */ 712 /* eval ib_wc_status */
@@ -678,11 +717,6 @@ poll_cq_one_read_cqe:
678 } else 717 } else
679 wc->status = IB_WC_SUCCESS; 718 wc->status = IB_WC_SUCCESS;
680 719
681 read_lock(&ehca_qp_idr_lock);
682 my_qp = idr_find(&ehca_qp_idr, cqe->qp_token);
683 wc->qp = &my_qp->ib_qp;
684 read_unlock(&ehca_qp_idr_lock);
685
686 wc->byte_len = cqe->nr_bytes_transferred; 720 wc->byte_len = cqe->nr_bytes_transferred;
687 wc->pkey_index = cqe->pkey_index; 721 wc->pkey_index = cqe->pkey_index;
688 wc->slid = cqe->rlid; 722 wc->slid = cqe->rlid;
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 7ebc400a4b3d..341ffedafed6 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -202,7 +202,7 @@ static void ipoib_cm_free_rx_ring(struct net_device *dev,
202 dev_kfree_skb_any(rx_ring[i].skb); 202 dev_kfree_skb_any(rx_ring[i].skb);
203 } 203 }
204 204
205 kfree(rx_ring); 205 vfree(rx_ring);
206} 206}
207 207
208static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv *priv) 208static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv *priv)
@@ -352,9 +352,14 @@ static int ipoib_cm_nonsrq_init_rx(struct net_device *dev, struct ib_cm_id *cm_i
352 int ret; 352 int ret;
353 int i; 353 int i;
354 354
355 rx->rx_ring = kcalloc(ipoib_recvq_size, sizeof *rx->rx_ring, GFP_KERNEL); 355 rx->rx_ring = vmalloc(ipoib_recvq_size * sizeof *rx->rx_ring);
356 if (!rx->rx_ring) 356 if (!rx->rx_ring) {
357 printk(KERN_WARNING "%s: failed to allocate CM non-SRQ ring (%d entries)\n",
358 priv->ca->name, ipoib_recvq_size);
357 return -ENOMEM; 359 return -ENOMEM;
360 }
361
362 memset(rx->rx_ring, 0, ipoib_recvq_size * sizeof *rx->rx_ring);
358 363
359 t = kmalloc(sizeof *t, GFP_KERNEL); 364 t = kmalloc(sizeof *t, GFP_KERNEL);
360 if (!t) { 365 if (!t) {
@@ -1494,14 +1499,16 @@ static void ipoib_cm_create_srq(struct net_device *dev, int max_sge)
1494 return; 1499 return;
1495 } 1500 }
1496 1501
1497 priv->cm.srq_ring = kzalloc(ipoib_recvq_size * sizeof *priv->cm.srq_ring, 1502 priv->cm.srq_ring = vmalloc(ipoib_recvq_size * sizeof *priv->cm.srq_ring);
1498 GFP_KERNEL);
1499 if (!priv->cm.srq_ring) { 1503 if (!priv->cm.srq_ring) {
1500 printk(KERN_WARNING "%s: failed to allocate CM SRQ ring (%d entries)\n", 1504 printk(KERN_WARNING "%s: failed to allocate CM SRQ ring (%d entries)\n",
1501 priv->ca->name, ipoib_recvq_size); 1505 priv->ca->name, ipoib_recvq_size);
1502 ib_destroy_srq(priv->cm.srq); 1506 ib_destroy_srq(priv->cm.srq);
1503 priv->cm.srq = NULL; 1507 priv->cm.srq = NULL;
1508 return;
1504 } 1509 }
1510
1511 memset(priv->cm.srq_ring, 0, ipoib_recvq_size * sizeof *priv->cm.srq_ring);
1505} 1512}
1506 1513
1507int ipoib_cm_dev_init(struct net_device *dev) 1514int ipoib_cm_dev_init(struct net_device *dev)
diff --git a/drivers/lguest/page_tables.c b/drivers/lguest/page_tables.c
index d93500f24fbb..81d0c6053447 100644
--- a/drivers/lguest/page_tables.c
+++ b/drivers/lguest/page_tables.c
@@ -108,9 +108,8 @@ static unsigned long gpte_addr(pgd_t gpgd, unsigned long vaddr)
108} 108}
109/*:*/ 109/*:*/
110 110
111/*M:014 get_pfn is slow; it takes the mmap sem and calls get_user_pages. We 111/*M:014 get_pfn is slow: we could probably try to grab batches of pages here as
112 * could probably try to grab batches of pages here as an optimization 112 * an optimization (ie. pre-faulting). :*/
113 * (ie. pre-faulting). :*/
114 113
115/*H:350 This routine takes a page number given by the Guest and converts it to 114/*H:350 This routine takes a page number given by the Guest and converts it to
116 * an actual, physical page number. It can fail for several reasons: the 115 * an actual, physical page number. It can fail for several reasons: the
@@ -123,19 +122,13 @@ static unsigned long gpte_addr(pgd_t gpgd, unsigned long vaddr)
123static unsigned long get_pfn(unsigned long virtpfn, int write) 122static unsigned long get_pfn(unsigned long virtpfn, int write)
124{ 123{
125 struct page *page; 124 struct page *page;
126 /* This value indicates failure. */
127 unsigned long ret = -1UL;
128 125
129 /* get_user_pages() is a complex interface: it gets the "struct 126 /* gup me one page at this address please! */
130 * vm_area_struct" and "struct page" assocated with a range of pages. 127 if (get_user_pages_fast(virtpfn << PAGE_SHIFT, 1, write, &page) == 1)
131 * It also needs the task's mmap_sem held, and is not very quick. 128 return page_to_pfn(page);
132 * It returns the number of pages it got. */ 129
133 down_read(&current->mm->mmap_sem); 130 /* This value indicates failure. */
134 if (get_user_pages(current, current->mm, virtpfn << PAGE_SHIFT, 131 return -1UL;
135 1, write, 1, &page, NULL) == 1)
136 ret = page_to_pfn(page);
137 up_read(&current->mm->mmap_sem);
138 return ret;
139} 132}
140 133
141/*H:340 Converting a Guest page table entry to a shadow (ie. real) page table 134/*H:340 Converting a Guest page table entry to a shadow (ie. real) page table
@@ -174,7 +167,7 @@ static pte_t gpte_to_spte(struct lg_cpu *cpu, pte_t gpte, int write)
174/*H:460 And to complete the chain, release_pte() looks like this: */ 167/*H:460 And to complete the chain, release_pte() looks like this: */
175static void release_pte(pte_t pte) 168static void release_pte(pte_t pte)
176{ 169{
177 /* Remember that get_user_pages() took a reference to the page, in 170 /* Remember that get_user_pages_fast() took a reference to the page, in
178 * get_pfn()? We have to put it back now. */ 171 * get_pfn()? We have to put it back now. */
179 if (pte_flags(pte) & _PAGE_PRESENT) 172 if (pte_flags(pte) & _PAGE_PRESENT)
180 put_page(pfn_to_page(pte_pfn(pte))); 173 put_page(pfn_to_page(pte_pfn(pte)));
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 883e7ea31de2..10c44d3fe01a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -50,10 +50,31 @@ config HTC_PASIC3
50 HTC Magician devices, respectively. Actual functionality is 50 HTC Magician devices, respectively. Actual functionality is
51 handled by the leds-pasic3 and ds1wm drivers. 51 handled by the leds-pasic3 and ds1wm drivers.
52 52
53config MFD_TMIO
54 bool
55 default n
56
57config MFD_T7L66XB
58 bool "Support Toshiba T7L66XB"
59 depends on ARM
60 select MFD_CORE
61 select MFD_TMIO
62 help
63 Support for Toshiba Mobile IO Controller T7L66XB
64
65config MFD_TC6387XB
66 bool "Support Toshiba TC6387XB"
67 depends on ARM
68 select MFD_CORE
69 select MFD_TMIO
70 help
71 Support for Toshiba Mobile IO Controller TC6387XB
72
53config MFD_TC6393XB 73config MFD_TC6393XB
54 bool "Support Toshiba TC6393XB" 74 bool "Support Toshiba TC6393XB"
55 depends on GPIOLIB && ARM 75 depends on GPIOLIB && ARM
56 select MFD_CORE 76 select MFD_CORE
77 select MFD_TMIO
57 help 78 help
58 Support for Toshiba Mobile IO Controller TC6393XB 79 Support for Toshiba Mobile IO Controller TC6393XB
59 80
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 33daa2f45dd8..03ad239ecef0 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -8,6 +8,8 @@ obj-$(CONFIG_MFD_ASIC3) += asic3.o
8obj-$(CONFIG_HTC_EGPIO) += htc-egpio.o 8obj-$(CONFIG_HTC_EGPIO) += htc-egpio.o
9obj-$(CONFIG_HTC_PASIC3) += htc-pasic3.o 9obj-$(CONFIG_HTC_PASIC3) += htc-pasic3.o
10 10
11obj-$(CONFIG_MFD_T7L66XB) += t7l66xb.o
12obj-$(CONFIG_MFD_TC6387XB) += tc6387xb.o
11obj-$(CONFIG_MFD_TC6393XB) += tc6393xb.o 13obj-$(CONFIG_MFD_TC6393XB) += tc6393xb.o
12 14
13obj-$(CONFIG_MFD_CORE) += mfd-core.o 15obj-$(CONFIG_MFD_CORE) += mfd-core.o
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
new file mode 100644
index 000000000000..49a0fffc02af
--- /dev/null
+++ b/drivers/mfd/t7l66xb.c
@@ -0,0 +1,419 @@
1/*
2 *
3 * Toshiba T7L66XB core mfd support
4 *
5 * Copyright (c) 2005, 2007, 2008 Ian Molton
6 * Copyright (c) 2008 Dmitry Baryshkov
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * T7L66 features:
13 *
14 * Supported in this driver:
15 * SD/MMC
16 * SM/NAND flash controller
17 *
18 * As yet not supported
19 * GPIO interface (on NAND pins)
20 * Serial interface
21 * TFT 'interface converter'
22 * PCMCIA interface logic
23 */
24
25#include <linux/kernel.h>
26#include <linux/module.h>
27#include <linux/io.h>
28#include <linux/irq.h>
29#include <linux/platform_device.h>
30#include <linux/mfd/core.h>
31#include <linux/mfd/tmio.h>
32#include <linux/mfd/t7l66xb.h>
33
34enum {
35 T7L66XB_CELL_NAND,
36 T7L66XB_CELL_MMC,
37};
38
39#define SCR_REVID 0x08 /* b Revision ID */
40#define SCR_IMR 0x42 /* b Interrupt Mask */
41#define SCR_DEV_CTL 0xe0 /* b Device control */
42#define SCR_ISR 0xe1 /* b Interrupt Status */
43#define SCR_GPO_OC 0xf0 /* b GPO output control */
44#define SCR_GPO_OS 0xf1 /* b GPO output enable */
45#define SCR_GPI_S 0xf2 /* w GPI status */
46#define SCR_APDC 0xf8 /* b Active pullup down ctrl */
47
48#define SCR_DEV_CTL_USB BIT(0) /* USB enable */
49#define SCR_DEV_CTL_MMC BIT(1) /* MMC enable */
50
51/*--------------------------------------------------------------------------*/
52
53struct t7l66xb {
54 void __iomem *scr;
55 /* Lock to protect registers requiring read/modify/write ops. */
56 spinlock_t lock;
57
58 struct resource rscr;
59 int irq;
60 int irq_base;
61};
62
63/*--------------------------------------------------------------------------*/
64
65static int t7l66xb_mmc_enable(struct platform_device *mmc)
66{
67 struct platform_device *dev = to_platform_device(mmc->dev.parent);
68 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
69 struct t7l66xb *t7l66xb = platform_get_drvdata(dev);
70 unsigned long flags;
71 u8 dev_ctl;
72
73 if (pdata->enable_clk32k)
74 pdata->enable_clk32k(dev);
75
76 spin_lock_irqsave(&t7l66xb->lock, flags);
77
78 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL);
79 dev_ctl |= SCR_DEV_CTL_MMC;
80 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL);
81
82 spin_unlock_irqrestore(&t7l66xb->lock, flags);
83
84 return 0;
85}
86
87static int t7l66xb_mmc_disable(struct platform_device *mmc)
88{
89 struct platform_device *dev = to_platform_device(mmc->dev.parent);
90 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
91 struct t7l66xb *t7l66xb = platform_get_drvdata(dev);
92 unsigned long flags;
93 u8 dev_ctl;
94
95 spin_lock_irqsave(&t7l66xb->lock, flags);
96
97 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL);
98 dev_ctl &= ~SCR_DEV_CTL_MMC;
99 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL);
100
101 spin_unlock_irqrestore(&t7l66xb->lock, flags);
102
103 if (pdata->disable_clk32k)
104 pdata->disable_clk32k(dev);
105
106 return 0;
107}
108
109/*--------------------------------------------------------------------------*/
110
111const static struct resource t7l66xb_mmc_resources[] = {
112 {
113 .start = 0x800,
114 .end = 0x9ff,
115 .flags = IORESOURCE_MEM,
116 },
117 {
118 .start = 0x200,
119 .end = 0x2ff,
120 .flags = IORESOURCE_MEM,
121 },
122 {
123 .start = IRQ_T7L66XB_MMC,
124 .end = IRQ_T7L66XB_MMC,
125 .flags = IORESOURCE_IRQ,
126 },
127};
128
129const static struct resource t7l66xb_nand_resources[] = {
130 {
131 .start = 0xc00,
132 .end = 0xc07,
133 .flags = IORESOURCE_MEM,
134 },
135 {
136 .start = 0x0100,
137 .end = 0x01ff,
138 .flags = IORESOURCE_MEM,
139 },
140 {
141 .start = IRQ_T7L66XB_NAND,
142 .end = IRQ_T7L66XB_NAND,
143 .flags = IORESOURCE_IRQ,
144 },
145};
146
147static struct mfd_cell t7l66xb_cells[] = {
148 [T7L66XB_CELL_MMC] = {
149 .name = "tmio-mmc",
150 .enable = t7l66xb_mmc_enable,
151 .disable = t7l66xb_mmc_disable,
152 .num_resources = ARRAY_SIZE(t7l66xb_mmc_resources),
153 .resources = t7l66xb_mmc_resources,
154 },
155 [T7L66XB_CELL_NAND] = {
156 .name = "tmio-nand",
157 .num_resources = ARRAY_SIZE(t7l66xb_nand_resources),
158 .resources = t7l66xb_nand_resources,
159 },
160};
161
162/*--------------------------------------------------------------------------*/
163
164/* Handle the T7L66XB interrupt mux */
165static void t7l66xb_irq(unsigned int irq, struct irq_desc *desc)
166{
167 struct t7l66xb *t7l66xb = get_irq_data(irq);
168 unsigned int isr;
169 unsigned int i, irq_base;
170
171 irq_base = t7l66xb->irq_base;
172
173 while ((isr = tmio_ioread8(t7l66xb->scr + SCR_ISR) &
174 ~tmio_ioread8(t7l66xb->scr + SCR_IMR)))
175 for (i = 0; i < T7L66XB_NR_IRQS; i++)
176 if (isr & (1 << i))
177 generic_handle_irq(irq_base + i);
178}
179
180static void t7l66xb_irq_mask(unsigned int irq)
181{
182 struct t7l66xb *t7l66xb = get_irq_chip_data(irq);
183 unsigned long flags;
184 u8 imr;
185
186 spin_lock_irqsave(&t7l66xb->lock, flags);
187 imr = tmio_ioread8(t7l66xb->scr + SCR_IMR);
188 imr |= 1 << (irq - t7l66xb->irq_base);
189 tmio_iowrite8(imr, t7l66xb->scr + SCR_IMR);
190 spin_unlock_irqrestore(&t7l66xb->lock, flags);
191}
192
193static void t7l66xb_irq_unmask(unsigned int irq)
194{
195 struct t7l66xb *t7l66xb = get_irq_chip_data(irq);
196 unsigned long flags;
197 u8 imr;
198
199 spin_lock_irqsave(&t7l66xb->lock, flags);
200 imr = tmio_ioread8(t7l66xb->scr + SCR_IMR);
201 imr &= ~(1 << (irq - t7l66xb->irq_base));
202 tmio_iowrite8(imr, t7l66xb->scr + SCR_IMR);
203 spin_unlock_irqrestore(&t7l66xb->lock, flags);
204}
205
206static struct irq_chip t7l66xb_chip = {
207 .name = "t7l66xb",
208 .ack = t7l66xb_irq_mask,
209 .mask = t7l66xb_irq_mask,
210 .unmask = t7l66xb_irq_unmask,
211};
212
213/*--------------------------------------------------------------------------*/
214
215/* Install the IRQ handler */
216static void t7l66xb_attach_irq(struct platform_device *dev)
217{
218 struct t7l66xb *t7l66xb = platform_get_drvdata(dev);
219 unsigned int irq, irq_base;
220
221 irq_base = t7l66xb->irq_base;
222
223 for (irq = irq_base; irq < irq_base + T7L66XB_NR_IRQS; irq++) {
224 set_irq_chip(irq, &t7l66xb_chip);
225 set_irq_chip_data(irq, t7l66xb);
226 set_irq_handler(irq, handle_level_irq);
227#ifdef CONFIG_ARM
228 set_irq_flags(irq, IRQF_VALID | IRQF_PROBE);
229#endif
230 }
231
232 set_irq_type(t7l66xb->irq, IRQ_TYPE_EDGE_FALLING);
233 set_irq_data(t7l66xb->irq, t7l66xb);
234 set_irq_chained_handler(t7l66xb->irq, t7l66xb_irq);
235}
236
237static void t7l66xb_detach_irq(struct platform_device *dev)
238{
239 struct t7l66xb *t7l66xb = platform_get_drvdata(dev);
240 unsigned int irq, irq_base;
241
242 irq_base = t7l66xb->irq_base;
243
244 set_irq_chained_handler(t7l66xb->irq, NULL);
245 set_irq_data(t7l66xb->irq, NULL);
246
247 for (irq = irq_base; irq < irq_base + T7L66XB_NR_IRQS; irq++) {
248#ifdef CONFIG_ARM
249 set_irq_flags(irq, 0);
250#endif
251 set_irq_chip(irq, NULL);
252 set_irq_chip_data(irq, NULL);
253 }
254}
255
256/*--------------------------------------------------------------------------*/
257
258#ifdef CONFIG_PM
259static int t7l66xb_suspend(struct platform_device *dev, pm_message_t state)
260{
261 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
262
263 if (pdata && pdata->suspend)
264 pdata->suspend(dev);
265
266 return 0;
267}
268
269static int t7l66xb_resume(struct platform_device *dev)
270{
271 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
272
273 if (pdata && pdata->resume)
274 pdata->resume(dev);
275
276 return 0;
277}
278#else
279#define t7l66xb_suspend NULL
280#define t7l66xb_resume NULL
281#endif
282
283/*--------------------------------------------------------------------------*/
284
285static int t7l66xb_probe(struct platform_device *dev)
286{
287 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
288 struct t7l66xb *t7l66xb;
289 struct resource *iomem, *rscr;
290 int ret;
291
292 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0);
293 if (!iomem)
294 return -EINVAL;
295
296 t7l66xb = kzalloc(sizeof *t7l66xb, GFP_KERNEL);
297 if (!t7l66xb)
298 return -ENOMEM;
299
300 spin_lock_init(&t7l66xb->lock);
301
302 platform_set_drvdata(dev, t7l66xb);
303
304 ret = platform_get_irq(dev, 0);
305 if (ret >= 0)
306 t7l66xb->irq = ret;
307 else
308 goto err_noirq;
309
310 t7l66xb->irq_base = pdata->irq_base;
311
312 rscr = &t7l66xb->rscr;
313 rscr->name = "t7l66xb-core";
314 rscr->start = iomem->start;
315 rscr->end = iomem->start + 0xff;
316 rscr->flags = IORESOURCE_MEM;
317
318 ret = request_resource(iomem, rscr);
319 if (ret)
320 goto err_request_scr;
321
322 t7l66xb->scr = ioremap(rscr->start, rscr->end - rscr->start + 1);
323 if (!t7l66xb->scr) {
324 ret = -ENOMEM;
325 goto err_ioremap;
326 }
327
328 if (pdata && pdata->enable)
329 pdata->enable(dev);
330
331 /* Mask all interrupts */
332 tmio_iowrite8(0xbf, t7l66xb->scr + SCR_IMR);
333
334 printk(KERN_INFO "%s rev %d @ 0x%08lx, irq %d\n",
335 dev->name, tmio_ioread8(t7l66xb->scr + SCR_REVID),
336 (unsigned long)iomem->start, t7l66xb->irq);
337
338 t7l66xb_attach_irq(dev);
339
340 t7l66xb_cells[T7L66XB_CELL_NAND].driver_data = pdata->nand_data;
341 t7l66xb_cells[T7L66XB_CELL_NAND].platform_data =
342 &t7l66xb_cells[T7L66XB_CELL_NAND];
343 t7l66xb_cells[T7L66XB_CELL_NAND].data_size =
344 sizeof(t7l66xb_cells[T7L66XB_CELL_NAND]);
345
346 t7l66xb_cells[T7L66XB_CELL_MMC].platform_data =
347 &t7l66xb_cells[T7L66XB_CELL_MMC];
348 t7l66xb_cells[T7L66XB_CELL_MMC].data_size =
349 sizeof(t7l66xb_cells[T7L66XB_CELL_MMC]);
350
351 ret = mfd_add_devices(&dev->dev, dev->id,
352 t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells),
353 iomem, t7l66xb->irq_base);
354
355 if (!ret)
356 return 0;
357
358 t7l66xb_detach_irq(dev);
359 iounmap(t7l66xb->scr);
360err_ioremap:
361 release_resource(&t7l66xb->rscr);
362err_noirq:
363err_request_scr:
364 kfree(t7l66xb);
365 return ret;
366}
367
368static int t7l66xb_remove(struct platform_device *dev)
369{
370 struct t7l66xb_platform_data *pdata = dev->dev.platform_data;
371 struct t7l66xb *t7l66xb = platform_get_drvdata(dev);
372 int ret;
373
374 ret = pdata->disable(dev);
375
376 t7l66xb_detach_irq(dev);
377 iounmap(t7l66xb->scr);
378 release_resource(&t7l66xb->rscr);
379 mfd_remove_devices(&dev->dev);
380 platform_set_drvdata(dev, NULL);
381 kfree(t7l66xb);
382
383 return ret;
384
385}
386
387static struct platform_driver t7l66xb_platform_driver = {
388 .driver = {
389 .name = "t7l66xb",
390 .owner = THIS_MODULE,
391 },
392 .suspend = t7l66xb_suspend,
393 .resume = t7l66xb_resume,
394 .probe = t7l66xb_probe,
395 .remove = t7l66xb_remove,
396};
397
398/*--------------------------------------------------------------------------*/
399
400static int __init t7l66xb_init(void)
401{
402 int retval = 0;
403
404 retval = platform_driver_register(&t7l66xb_platform_driver);
405 return retval;
406}
407
408static void __exit t7l66xb_exit(void)
409{
410 platform_driver_unregister(&t7l66xb_platform_driver);
411}
412
413module_init(t7l66xb_init);
414module_exit(t7l66xb_exit);
415
416MODULE_DESCRIPTION("Toshiba T7L66XB core driver");
417MODULE_LICENSE("GPL v2");
418MODULE_AUTHOR("Ian Molton");
419MODULE_ALIAS("platform:t7l66xb");
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c
new file mode 100644
index 000000000000..a22b21ac6cf8
--- /dev/null
+++ b/drivers/mfd/tc6387xb.c
@@ -0,0 +1,181 @@
1/*
2 * Toshiba TC6387XB support
3 * Copyright (c) 2005 Ian Molton
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 version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This file contains TC6387XB base support.
10 *
11 */
12
13#include <linux/module.h>
14#include <linux/platform_device.h>
15#include <linux/err.h>
16#include <linux/mfd/core.h>
17#include <linux/mfd/tmio.h>
18#include <linux/mfd/tc6387xb.h>
19
20enum {
21 TC6387XB_CELL_MMC,
22};
23
24#ifdef CONFIG_PM
25static int tc6387xb_suspend(struct platform_device *dev, pm_message_t state)
26{
27 struct tc6387xb_platform_data *pdata = platform_get_drvdata(dev);
28
29 if (pdata && pdata->suspend)
30 pdata->suspend(dev);
31
32 return 0;
33}
34
35static int tc6387xb_resume(struct platform_device *dev)
36{
37 struct tc6387xb_platform_data *pdata = platform_get_drvdata(dev);
38
39 if (pdata && pdata->resume)
40 pdata->resume(dev);
41
42 return 0;
43}
44#else
45#define tc6387xb_suspend NULL
46#define tc6387xb_resume NULL
47#endif
48
49/*--------------------------------------------------------------------------*/
50
51static int tc6387xb_mmc_enable(struct platform_device *mmc)
52{
53 struct platform_device *dev = to_platform_device(mmc->dev.parent);
54 struct tc6387xb_platform_data *tc6387xb = dev->dev.platform_data;
55
56 if (tc6387xb->enable_clk32k)
57 tc6387xb->enable_clk32k(dev);
58
59 return 0;
60}
61
62static int tc6387xb_mmc_disable(struct platform_device *mmc)
63{
64 struct platform_device *dev = to_platform_device(mmc->dev.parent);
65 struct tc6387xb_platform_data *tc6387xb = dev->dev.platform_data;
66
67 if (tc6387xb->disable_clk32k)
68 tc6387xb->disable_clk32k(dev);
69
70 return 0;
71}
72
73/*--------------------------------------------------------------------------*/
74
75static struct resource tc6387xb_mmc_resources[] = {
76 {
77 .start = 0x800,
78 .end = 0x9ff,
79 .flags = IORESOURCE_MEM,
80 },
81 {
82 .start = 0x200,
83 .end = 0x2ff,
84 .flags = IORESOURCE_MEM,
85 },
86 {
87 .start = 0,
88 .end = 0,
89 .flags = IORESOURCE_IRQ,
90 },
91};
92
93static struct mfd_cell tc6387xb_cells[] = {
94 [TC6387XB_CELL_MMC] = {
95 .name = "tmio-mmc",
96 .enable = tc6387xb_mmc_enable,
97 .disable = tc6387xb_mmc_disable,
98 .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources),
99 .resources = tc6387xb_mmc_resources,
100 },
101};
102
103static int tc6387xb_probe(struct platform_device *dev)
104{
105 struct tc6387xb_platform_data *data = platform_get_drvdata(dev);
106 struct resource *iomem;
107 int irq, ret;
108
109 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0);
110 if (!iomem) {
111 ret = -EINVAL;
112 goto err_resource;
113 }
114
115 ret = platform_get_irq(dev, 0);
116 if (ret >= 0)
117 irq = ret;
118 else
119 goto err_resource;
120
121 if (data && data->enable)
122 data->enable(dev);
123
124 printk(KERN_INFO "Toshiba tc6387xb initialised\n");
125
126 tc6387xb_cells[TC6387XB_CELL_MMC].platform_data =
127 &tc6387xb_cells[TC6387XB_CELL_MMC];
128 tc6387xb_cells[TC6387XB_CELL_MMC].data_size =
129 sizeof(tc6387xb_cells[TC6387XB_CELL_MMC]);
130
131 ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
132 ARRAY_SIZE(tc6387xb_cells), iomem, irq);
133
134 if (!ret)
135 return 0;
136
137err_resource:
138 return ret;
139}
140
141static int tc6387xb_remove(struct platform_device *dev)
142{
143 struct tc6387xb_platform_data *data = platform_get_drvdata(dev);
144
145 if (data && data->disable)
146 data->disable(dev);
147
148 /* FIXME - free the resources! */
149
150 return 0;
151}
152
153
154static struct platform_driver tc6387xb_platform_driver = {
155 .driver = {
156 .name = "tc6387xb",
157 },
158 .probe = tc6387xb_probe,
159 .remove = tc6387xb_remove,
160 .suspend = tc6387xb_suspend,
161 .resume = tc6387xb_resume,
162};
163
164
165static int __init tc6387xb_init(void)
166{
167 return platform_driver_register(&tc6387xb_platform_driver);
168}
169
170static void __exit tc6387xb_exit(void)
171{
172 platform_driver_unregister(&tc6387xb_platform_driver);
173}
174
175module_init(tc6387xb_init);
176module_exit(tc6387xb_exit);
177
178MODULE_DESCRIPTION("Toshiba TC6387XB core driver");
179MODULE_LICENSE("GPL v2");
180MODULE_AUTHOR("Ian Molton");
181MODULE_ALIAS("platform:tc6387xb");
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
index f4fd797c1590..e4c1c788b5f8 100644
--- a/drivers/mfd/tc6393xb.c
+++ b/drivers/mfd/tc6393xb.c
@@ -19,8 +19,8 @@
19#include <linux/io.h> 19#include <linux/io.h>
20#include <linux/irq.h> 20#include <linux/irq.h>
21#include <linux/platform_device.h> 21#include <linux/platform_device.h>
22#include <linux/fb.h>
23#include <linux/clk.h> 22#include <linux/clk.h>
23#include <linux/err.h>
24#include <linux/mfd/core.h> 24#include <linux/mfd/core.h>
25#include <linux/mfd/tmio.h> 25#include <linux/mfd/tmio.h>
26#include <linux/mfd/tc6393xb.h> 26#include <linux/mfd/tc6393xb.h>
@@ -112,6 +112,7 @@ struct tc6393xb {
112 112
113enum { 113enum {
114 TC6393XB_CELL_NAND, 114 TC6393XB_CELL_NAND,
115 TC6393XB_CELL_MMC,
115}; 116};
116 117
117/*--------------------------------------------------------------------------*/ 118/*--------------------------------------------------------------------------*/
@@ -126,7 +127,7 @@ static int tc6393xb_nand_enable(struct platform_device *nand)
126 127
127 /* SMD buffer on */ 128 /* SMD buffer on */
128 dev_dbg(&dev->dev, "SMD buffer on\n"); 129 dev_dbg(&dev->dev, "SMD buffer on\n");
129 iowrite8(0xff, tc6393xb->scr + SCR_GPI_BCR(1)); 130 tmio_iowrite8(0xff, tc6393xb->scr + SCR_GPI_BCR(1));
130 131
131 spin_unlock_irqrestore(&tc6393xb->lock, flags); 132 spin_unlock_irqrestore(&tc6393xb->lock, flags);
132 133
@@ -135,25 +136,40 @@ static int tc6393xb_nand_enable(struct platform_device *nand)
135 136
136static struct resource __devinitdata tc6393xb_nand_resources[] = { 137static struct resource __devinitdata tc6393xb_nand_resources[] = {
137 { 138 {
138 .name = TMIO_NAND_CONFIG, 139 .start = 0x1000,
139 .start = 0x0100, 140 .end = 0x1007,
140 .end = 0x01ff,
141 .flags = IORESOURCE_MEM, 141 .flags = IORESOURCE_MEM,
142 }, 142 },
143 { 143 {
144 .name = TMIO_NAND_CONTROL, 144 .start = 0x0100,
145 .start = 0x1000, 145 .end = 0x01ff,
146 .end = 0x1007,
147 .flags = IORESOURCE_MEM, 146 .flags = IORESOURCE_MEM,
148 }, 147 },
149 { 148 {
150 .name = TMIO_NAND_IRQ,
151 .start = IRQ_TC6393_NAND, 149 .start = IRQ_TC6393_NAND,
152 .end = IRQ_TC6393_NAND, 150 .end = IRQ_TC6393_NAND,
153 .flags = IORESOURCE_IRQ, 151 .flags = IORESOURCE_IRQ,
154 }, 152 },
155}; 153};
156 154
155static struct resource __devinitdata tc6393xb_mmc_resources[] = {
156 {
157 .start = 0x800,
158 .end = 0x9ff,
159 .flags = IORESOURCE_MEM,
160 },
161 {
162 .start = 0x200,
163 .end = 0x2ff,
164 .flags = IORESOURCE_MEM,
165 },
166 {
167 .start = IRQ_TC6393_MMC,
168 .end = IRQ_TC6393_MMC,
169 .flags = IORESOURCE_IRQ,
170 },
171};
172
157static struct mfd_cell __devinitdata tc6393xb_cells[] = { 173static struct mfd_cell __devinitdata tc6393xb_cells[] = {
158 [TC6393XB_CELL_NAND] = { 174 [TC6393XB_CELL_NAND] = {
159 .name = "tmio-nand", 175 .name = "tmio-nand",
@@ -161,6 +177,11 @@ static struct mfd_cell __devinitdata tc6393xb_cells[] = {
161 .num_resources = ARRAY_SIZE(tc6393xb_nand_resources), 177 .num_resources = ARRAY_SIZE(tc6393xb_nand_resources),
162 .resources = tc6393xb_nand_resources, 178 .resources = tc6393xb_nand_resources,
163 }, 179 },
180 [TC6393XB_CELL_MMC] = {
181 .name = "tmio-mmc",
182 .num_resources = ARRAY_SIZE(tc6393xb_mmc_resources),
183 .resources = tc6393xb_mmc_resources,
184 },
164}; 185};
165 186
166/*--------------------------------------------------------------------------*/ 187/*--------------------------------------------------------------------------*/
@@ -171,7 +192,7 @@ static int tc6393xb_gpio_get(struct gpio_chip *chip,
171 struct tc6393xb *tc6393xb = container_of(chip, struct tc6393xb, gpio); 192 struct tc6393xb *tc6393xb = container_of(chip, struct tc6393xb, gpio);
172 193
173 /* XXX: does dsr also represent inputs? */ 194 /* XXX: does dsr also represent inputs? */
174 return ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8)) 195 return tmio_ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8))
175 & TC_GPIO_BIT(offset); 196 & TC_GPIO_BIT(offset);
176} 197}
177 198
@@ -181,13 +202,13 @@ static void __tc6393xb_gpio_set(struct gpio_chip *chip,
181 struct tc6393xb *tc6393xb = container_of(chip, struct tc6393xb, gpio); 202 struct tc6393xb *tc6393xb = container_of(chip, struct tc6393xb, gpio);
182 u8 dsr; 203 u8 dsr;
183 204
184 dsr = ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8)); 205 dsr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8));
185 if (value) 206 if (value)
186 dsr |= TC_GPIO_BIT(offset); 207 dsr |= TC_GPIO_BIT(offset);
187 else 208 else
188 dsr &= ~TC_GPIO_BIT(offset); 209 dsr &= ~TC_GPIO_BIT(offset);
189 210
190 iowrite8(dsr, tc6393xb->scr + SCR_GPO_DSR(offset / 8)); 211 tmio_iowrite8(dsr, tc6393xb->scr + SCR_GPO_DSR(offset / 8));
191} 212}
192 213
193static void tc6393xb_gpio_set(struct gpio_chip *chip, 214static void tc6393xb_gpio_set(struct gpio_chip *chip,
@@ -212,9 +233,9 @@ static int tc6393xb_gpio_direction_input(struct gpio_chip *chip,
212 233
213 spin_lock_irqsave(&tc6393xb->lock, flags); 234 spin_lock_irqsave(&tc6393xb->lock, flags);
214 235
215 doecr = ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); 236 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8));
216 doecr &= ~TC_GPIO_BIT(offset); 237 doecr &= ~TC_GPIO_BIT(offset);
217 iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); 238 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8));
218 239
219 spin_unlock_irqrestore(&tc6393xb->lock, flags); 240 spin_unlock_irqrestore(&tc6393xb->lock, flags);
220 241
@@ -232,9 +253,9 @@ static int tc6393xb_gpio_direction_output(struct gpio_chip *chip,
232 253
233 __tc6393xb_gpio_set(chip, offset, value); 254 __tc6393xb_gpio_set(chip, offset, value);
234 255
235 doecr = ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); 256 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8));
236 doecr |= TC_GPIO_BIT(offset); 257 doecr |= TC_GPIO_BIT(offset);
237 iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); 258 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8));
238 259
239 spin_unlock_irqrestore(&tc6393xb->lock, flags); 260 spin_unlock_irqrestore(&tc6393xb->lock, flags);
240 261
@@ -265,8 +286,8 @@ tc6393xb_irq(unsigned int irq, struct irq_desc *desc)
265 286
266 irq_base = tc6393xb->irq_base; 287 irq_base = tc6393xb->irq_base;
267 288
268 while ((isr = ioread8(tc6393xb->scr + SCR_ISR) & 289 while ((isr = tmio_ioread8(tc6393xb->scr + SCR_ISR) &
269 ~ioread8(tc6393xb->scr + SCR_IMR))) 290 ~tmio_ioread8(tc6393xb->scr + SCR_IMR)))
270 for (i = 0; i < TC6393XB_NR_IRQS; i++) { 291 for (i = 0; i < TC6393XB_NR_IRQS; i++) {
271 if (isr & (1 << i)) 292 if (isr & (1 << i))
272 generic_handle_irq(irq_base + i); 293 generic_handle_irq(irq_base + i);
@@ -284,9 +305,9 @@ static void tc6393xb_irq_mask(unsigned int irq)
284 u8 imr; 305 u8 imr;
285 306
286 spin_lock_irqsave(&tc6393xb->lock, flags); 307 spin_lock_irqsave(&tc6393xb->lock, flags);
287 imr = ioread8(tc6393xb->scr + SCR_IMR); 308 imr = tmio_ioread8(tc6393xb->scr + SCR_IMR);
288 imr |= 1 << (irq - tc6393xb->irq_base); 309 imr |= 1 << (irq - tc6393xb->irq_base);
289 iowrite8(imr, tc6393xb->scr + SCR_IMR); 310 tmio_iowrite8(imr, tc6393xb->scr + SCR_IMR);
290 spin_unlock_irqrestore(&tc6393xb->lock, flags); 311 spin_unlock_irqrestore(&tc6393xb->lock, flags);
291} 312}
292 313
@@ -297,9 +318,9 @@ static void tc6393xb_irq_unmask(unsigned int irq)
297 u8 imr; 318 u8 imr;
298 319
299 spin_lock_irqsave(&tc6393xb->lock, flags); 320 spin_lock_irqsave(&tc6393xb->lock, flags);
300 imr = ioread8(tc6393xb->scr + SCR_IMR); 321 imr = tmio_ioread8(tc6393xb->scr + SCR_IMR);
301 imr &= ~(1 << (irq - tc6393xb->irq_base)); 322 imr &= ~(1 << (irq - tc6393xb->irq_base));
302 iowrite8(imr, tc6393xb->scr + SCR_IMR); 323 tmio_iowrite8(imr, tc6393xb->scr + SCR_IMR);
303 spin_unlock_irqrestore(&tc6393xb->lock, flags); 324 spin_unlock_irqrestore(&tc6393xb->lock, flags);
304} 325}
305 326
@@ -380,9 +401,8 @@ static int __devinit tc6393xb_probe(struct platform_device *dev)
380{ 401{
381 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; 402 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
382 struct tc6393xb *tc6393xb; 403 struct tc6393xb *tc6393xb;
383 struct resource *iomem; 404 struct resource *iomem, *rscr;
384 struct resource *rscr; 405 int ret, temp;
385 int retval, temp;
386 int i; 406 int i;
387 407
388 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0); 408 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0);
@@ -391,20 +411,26 @@ static int __devinit tc6393xb_probe(struct platform_device *dev)
391 411
392 tc6393xb = kzalloc(sizeof *tc6393xb, GFP_KERNEL); 412 tc6393xb = kzalloc(sizeof *tc6393xb, GFP_KERNEL);
393 if (!tc6393xb) { 413 if (!tc6393xb) {
394 retval = -ENOMEM; 414 ret = -ENOMEM;
395 goto err_kzalloc; 415 goto err_kzalloc;
396 } 416 }
397 417
398 spin_lock_init(&tc6393xb->lock); 418 spin_lock_init(&tc6393xb->lock);
399 419
400 platform_set_drvdata(dev, tc6393xb); 420 platform_set_drvdata(dev, tc6393xb);
421
422 ret = platform_get_irq(dev, 0);
423 if (ret >= 0)
424 tc6393xb->irq = ret;
425 else
426 goto err_noirq;
427
401 tc6393xb->iomem = iomem; 428 tc6393xb->iomem = iomem;
402 tc6393xb->irq = platform_get_irq(dev, 0);
403 tc6393xb->irq_base = tcpd->irq_base; 429 tc6393xb->irq_base = tcpd->irq_base;
404 430
405 tc6393xb->clk = clk_get(&dev->dev, "GPIO27_CLK" /* "CK3P6MI" */); 431 tc6393xb->clk = clk_get(&dev->dev, "CLK_CK3P6MI");
406 if (IS_ERR(tc6393xb->clk)) { 432 if (IS_ERR(tc6393xb->clk)) {
407 retval = PTR_ERR(tc6393xb->clk); 433 ret = PTR_ERR(tc6393xb->clk);
408 goto err_clk_get; 434 goto err_clk_get;
409 } 435 }
410 436
@@ -414,71 +440,73 @@ static int __devinit tc6393xb_probe(struct platform_device *dev)
414 rscr->end = iomem->start + 0xff; 440 rscr->end = iomem->start + 0xff;
415 rscr->flags = IORESOURCE_MEM; 441 rscr->flags = IORESOURCE_MEM;
416 442
417 retval = request_resource(iomem, rscr); 443 ret = request_resource(iomem, rscr);
418 if (retval) 444 if (ret)
419 goto err_request_scr; 445 goto err_request_scr;
420 446
421 tc6393xb->scr = ioremap(rscr->start, rscr->end - rscr->start + 1); 447 tc6393xb->scr = ioremap(rscr->start, rscr->end - rscr->start + 1);
422 if (!tc6393xb->scr) { 448 if (!tc6393xb->scr) {
423 retval = -ENOMEM; 449 ret = -ENOMEM;
424 goto err_ioremap; 450 goto err_ioremap;
425 } 451 }
426 452
427 retval = clk_enable(tc6393xb->clk); 453 ret = clk_enable(tc6393xb->clk);
428 if (retval) 454 if (ret)
429 goto err_clk_enable; 455 goto err_clk_enable;
430 456
431 retval = tcpd->enable(dev); 457 ret = tcpd->enable(dev);
432 if (retval) 458 if (ret)
433 goto err_enable; 459 goto err_enable;
434 460
435 tc6393xb->suspend_state.fer = 0; 461 tc6393xb->suspend_state.fer = 0;
462
436 for (i = 0; i < 3; i++) { 463 for (i = 0; i < 3; i++) {
437 tc6393xb->suspend_state.gpo_dsr[i] = 464 tc6393xb->suspend_state.gpo_dsr[i] =
438 (tcpd->scr_gpo_dsr >> (8 * i)) & 0xff; 465 (tcpd->scr_gpo_dsr >> (8 * i)) & 0xff;
439 tc6393xb->suspend_state.gpo_doecr[i] = 466 tc6393xb->suspend_state.gpo_doecr[i] =
440 (tcpd->scr_gpo_doecr >> (8 * i)) & 0xff; 467 (tcpd->scr_gpo_doecr >> (8 * i)) & 0xff;
441 } 468 }
442 /* 469
443 * It may be necessary to change this back to
444 * platform-dependant code
445 */
446 tc6393xb->suspend_state.ccr = SCR_CCR_UNK1 | 470 tc6393xb->suspend_state.ccr = SCR_CCR_UNK1 |
447 SCR_CCR_HCLK_48; 471 SCR_CCR_HCLK_48;
448 472
449 retval = tc6393xb_hw_init(dev); 473 ret = tc6393xb_hw_init(dev);
450 if (retval) 474 if (ret)
451 goto err_hw_init; 475 goto err_hw_init;
452 476
453 printk(KERN_INFO "Toshiba tc6393xb revision %d at 0x%08lx, irq %d\n", 477 printk(KERN_INFO "Toshiba tc6393xb revision %d at 0x%08lx, irq %d\n",
454 ioread8(tc6393xb->scr + SCR_REVID), 478 tmio_ioread8(tc6393xb->scr + SCR_REVID),
455 (unsigned long) iomem->start, tc6393xb->irq); 479 (unsigned long) iomem->start, tc6393xb->irq);
456 480
457 tc6393xb->gpio.base = -1; 481 tc6393xb->gpio.base = -1;
458 482
459 if (tcpd->gpio_base >= 0) { 483 if (tcpd->gpio_base >= 0) {
460 retval = tc6393xb_register_gpio(tc6393xb, tcpd->gpio_base); 484 ret = tc6393xb_register_gpio(tc6393xb, tcpd->gpio_base);
461 if (retval) 485 if (ret)
462 goto err_gpio_add; 486 goto err_gpio_add;
463 } 487 }
464 488
465 if (tc6393xb->irq) 489 tc6393xb_attach_irq(dev);
466 tc6393xb_attach_irq(dev);
467 490
468 tc6393xb_cells[TC6393XB_CELL_NAND].driver_data = tcpd->nand_data; 491 tc6393xb_cells[TC6393XB_CELL_NAND].driver_data = tcpd->nand_data;
469 tc6393xb_cells[TC6393XB_CELL_NAND].platform_data = 492 tc6393xb_cells[TC6393XB_CELL_NAND].platform_data =
470 &tc6393xb_cells[TC6393XB_CELL_NAND]; 493 &tc6393xb_cells[TC6393XB_CELL_NAND];
471 tc6393xb_cells[TC6393XB_CELL_NAND].data_size = 494 tc6393xb_cells[TC6393XB_CELL_NAND].data_size =
472 sizeof(tc6393xb_cells[TC6393XB_CELL_NAND]); 495 sizeof(tc6393xb_cells[TC6393XB_CELL_NAND]);
496 tc6393xb_cells[TC6393XB_CELL_MMC].platform_data =
497 &tc6393xb_cells[TC6393XB_CELL_MMC];
498 tc6393xb_cells[TC6393XB_CELL_MMC].data_size =
499 sizeof(tc6393xb_cells[TC6393XB_CELL_MMC]);
500
473 501
474 retval = mfd_add_devices(&dev->dev, dev->id, 502 ret = mfd_add_devices(&dev->dev, dev->id,
475 tc6393xb_cells, ARRAY_SIZE(tc6393xb_cells), 503 tc6393xb_cells, ARRAY_SIZE(tc6393xb_cells),
476 iomem, tcpd->irq_base); 504 iomem, tcpd->irq_base);
477 505
478 return 0; 506 if (!ret)
507 return 0;
479 508
480 if (tc6393xb->irq) 509 tc6393xb_detach_irq(dev);
481 tc6393xb_detach_irq(dev);
482 510
483err_gpio_add: 511err_gpio_add:
484 if (tc6393xb->gpio.base != -1) 512 if (tc6393xb->gpio.base != -1)
@@ -493,10 +521,11 @@ err_ioremap:
493 release_resource(&tc6393xb->rscr); 521 release_resource(&tc6393xb->rscr);
494err_request_scr: 522err_request_scr:
495 clk_put(tc6393xb->clk); 523 clk_put(tc6393xb->clk);
524err_noirq:
496err_clk_get: 525err_clk_get:
497 kfree(tc6393xb); 526 kfree(tc6393xb);
498err_kzalloc: 527err_kzalloc:
499 return retval; 528 return ret;
500} 529}
501 530
502static int __devexit tc6393xb_remove(struct platform_device *dev) 531static int __devexit tc6393xb_remove(struct platform_device *dev)
@@ -506,9 +535,7 @@ static int __devexit tc6393xb_remove(struct platform_device *dev)
506 int ret; 535 int ret;
507 536
508 mfd_remove_devices(&dev->dev); 537 mfd_remove_devices(&dev->dev);
509 538 tc6393xb_detach_irq(dev);
510 if (tc6393xb->irq)
511 tc6393xb_detach_irq(dev);
512 539
513 if (tc6393xb->gpio.base != -1) { 540 if (tc6393xb->gpio.base != -1) {
514 ret = gpiochip_remove(&tc6393xb->gpio); 541 ret = gpiochip_remove(&tc6393xb->gpio);
@@ -519,17 +546,11 @@ static int __devexit tc6393xb_remove(struct platform_device *dev)
519 } 546 }
520 547
521 ret = tcpd->disable(dev); 548 ret = tcpd->disable(dev);
522
523 clk_disable(tc6393xb->clk); 549 clk_disable(tc6393xb->clk);
524
525 iounmap(tc6393xb->scr); 550 iounmap(tc6393xb->scr);
526
527 release_resource(&tc6393xb->rscr); 551 release_resource(&tc6393xb->rscr);
528
529 platform_set_drvdata(dev, NULL); 552 platform_set_drvdata(dev, NULL);
530
531 clk_put(tc6393xb->clk); 553 clk_put(tc6393xb->clk);
532
533 kfree(tc6393xb); 554 kfree(tc6393xb);
534 555
535 return ret; 556 return ret;
@@ -540,8 +561,7 @@ static int tc6393xb_suspend(struct platform_device *dev, pm_message_t state)
540{ 561{
541 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; 562 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
542 struct tc6393xb *tc6393xb = platform_get_drvdata(dev); 563 struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
543 int i; 564 int i, ret;
544
545 565
546 tc6393xb->suspend_state.ccr = ioread16(tc6393xb->scr + SCR_CCR); 566 tc6393xb->suspend_state.ccr = ioread16(tc6393xb->scr + SCR_CCR);
547 tc6393xb->suspend_state.fer = ioread8(tc6393xb->scr + SCR_FER); 567 tc6393xb->suspend_state.fer = ioread8(tc6393xb->scr + SCR_FER);
@@ -554,14 +574,21 @@ static int tc6393xb_suspend(struct platform_device *dev, pm_message_t state)
554 tc6393xb->suspend_state.gpi_bcr[i] = 574 tc6393xb->suspend_state.gpi_bcr[i] =
555 ioread8(tc6393xb->scr + SCR_GPI_BCR(i)); 575 ioread8(tc6393xb->scr + SCR_GPI_BCR(i));
556 } 576 }
577 ret = tcpd->suspend(dev);
578 clk_disable(tc6393xb->clk);
557 579
558 return tcpd->suspend(dev); 580 return ret;
559} 581}
560 582
561static int tc6393xb_resume(struct platform_device *dev) 583static int tc6393xb_resume(struct platform_device *dev)
562{ 584{
563 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; 585 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
564 int ret = tcpd->resume(dev); 586 struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
587 int ret;
588
589 clk_enable(tc6393xb->clk);
590
591 ret = tcpd->resume(dev);
565 592
566 if (ret) 593 if (ret)
567 return ret; 594 return ret;
@@ -598,7 +625,7 @@ static void __exit tc6393xb_exit(void)
598subsys_initcall(tc6393xb_init); 625subsys_initcall(tc6393xb_init);
599module_exit(tc6393xb_exit); 626module_exit(tc6393xb_exit);
600 627
601MODULE_LICENSE("GPL"); 628MODULE_LICENSE("GPL v2");
602MODULE_AUTHOR("Ian Molton, Dmitry Baryshkov and Dirk Opfer"); 629MODULE_AUTHOR("Ian Molton, Dmitry Baryshkov and Dirk Opfer");
603MODULE_DESCRIPTION("tc6393xb Toshiba Mobile IO Controller"); 630MODULE_DESCRIPTION("tc6393xb Toshiba Mobile IO Controller");
604MODULE_ALIAS("platform:tc6393xb"); 631MODULE_ALIAS("platform:tc6393xb");
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index 4251018f70ff..a78f70deeb59 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -279,7 +279,7 @@ struct gru_stats_s {
279#if defined CONFIG_IA64 279#if defined CONFIG_IA64
280#define VADDR_HI_BIT 64 280#define VADDR_HI_BIT 64
281#define GRUREGION(addr) ((addr) >> (VADDR_HI_BIT - 3) & 3) 281#define GRUREGION(addr) ((addr) >> (VADDR_HI_BIT - 3) & 3)
282#elif defined __x86_64 282#elif defined CONFIG_X86_64
283#define VADDR_HI_BIT 48 283#define VADDR_HI_BIT 48
284#define GRUREGION(addr) (0) /* ZZZ could do better */ 284#define GRUREGION(addr) (0) /* ZZZ could do better */
285#else 285#else
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index dc6f2579f85c..ea8d7a3490d9 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -174,3 +174,9 @@ config MMC_SDRICOH_CS
174 To compile this driver as a module, choose M here: the 174 To compile this driver as a module, choose M here: the
175 module will be called sdricoh_cs. 175 module will be called sdricoh_cs.
176 176
177config MMC_TMIO
178 tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
179 depends on MFD_TMIO
180 help
181 This provides support for the SD/MMC cell found in TC6393XB,
182 T7L66XB and also ipaq ASIC3
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index db52eebfb50e..c794cc5ce442 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -21,4 +21,5 @@ obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
21obj-$(CONFIG_MMC_SPI) += mmc_spi.o 21obj-$(CONFIG_MMC_SPI) += mmc_spi.o
22obj-$(CONFIG_MMC_S3C) += s3cmci.o 22obj-$(CONFIG_MMC_S3C) += s3cmci.o
23obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o 23obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
24obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
24 25
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
new file mode 100644
index 000000000000..95430b81ec11
--- /dev/null
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -0,0 +1,691 @@
1/*
2 * linux/drivers/mmc/tmio_mmc.c
3 *
4 * Copyright (C) 2004 Ian Molton
5 * Copyright (C) 2007 Ian Molton
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * Driver for the MMC / SD / SDIO cell found in:
12 *
13 * TC6393XB TC6391XB TC6387XB T7L66XB
14 *
15 * This driver draws mainly on scattered spec sheets, Reverse engineering
16 * of the toshiba e800 SD driver and some parts of the 2.4 ASIC3 driver (4 bit
17 * support). (Further 4 bit support from a later datasheet).
18 *
19 * TODO:
20 * Investigate using a workqueue for PIO transfers
21 * Eliminate FIXMEs
22 * SDIO support
23 * Better Power management
24 * Handle MMC errors better
25 * double buffer support
26 *
27 */
28#include <linux/module.h>
29#include <linux/irq.h>
30#include <linux/device.h>
31#include <linux/delay.h>
32#include <linux/mmc/host.h>
33#include <linux/mfd/core.h>
34#include <linux/mfd/tmio.h>
35
36#include "tmio_mmc.h"
37
38/*
39 * Fixme - documentation conflicts on what the clock values are for the
40 * various dividers.
41 * One document I have says that its a divisor of a 24MHz clock, another 33.
42 * This probably depends on HCLK for a given platform, so we may need to
43 * require HCLK be passed to us from the MFD core.
44 *
45 */
46
47static void tmio_mmc_set_clock(struct tmio_mmc_host *host, int new_clock)
48{
49 void __iomem *cnf = host->cnf;
50 void __iomem *ctl = host->ctl;
51 u32 clk = 0, clock;
52
53 if (new_clock) {
54 for (clock = 46875, clk = 0x100; new_clock >= (clock<<1); ) {
55 clock <<= 1;
56 clk >>= 1;
57 }
58 if (clk & 0x1)
59 clk = 0x20000;
60
61 clk >>= 2;
62 tmio_iowrite8((clk & 0x8000) ? 0 : 1, cnf + CNF_SD_CLK_MODE);
63 clk |= 0x100;
64 }
65
66 tmio_iowrite16(clk, ctl + CTL_SD_CARD_CLK_CTL);
67}
68
69static void tmio_mmc_clk_stop(struct tmio_mmc_host *host)
70{
71 void __iomem *ctl = host->ctl;
72
73 tmio_iowrite16(0x0000, ctl + CTL_CLK_AND_WAIT_CTL);
74 msleep(10);
75 tmio_iowrite16(tmio_ioread16(ctl + CTL_SD_CARD_CLK_CTL) & ~0x0100,
76 ctl + CTL_SD_CARD_CLK_CTL);
77 msleep(10);
78}
79
80static void tmio_mmc_clk_start(struct tmio_mmc_host *host)
81{
82 void __iomem *ctl = host->ctl;
83
84 tmio_iowrite16(tmio_ioread16(ctl + CTL_SD_CARD_CLK_CTL) | 0x0100,
85 ctl + CTL_SD_CARD_CLK_CTL);
86 msleep(10);
87 tmio_iowrite16(0x0100, ctl + CTL_CLK_AND_WAIT_CTL);
88 msleep(10);
89}
90
91static void reset(struct tmio_mmc_host *host)
92{
93 void __iomem *ctl = host->ctl;
94
95 /* FIXME - should we set stop clock reg here */
96 tmio_iowrite16(0x0000, ctl + CTL_RESET_SD);
97 tmio_iowrite16(0x0000, ctl + CTL_RESET_SDIO);
98 msleep(10);
99 tmio_iowrite16(0x0001, ctl + CTL_RESET_SD);
100 tmio_iowrite16(0x0001, ctl + CTL_RESET_SDIO);
101 msleep(10);
102}
103
104static void
105tmio_mmc_finish_request(struct tmio_mmc_host *host)
106{
107 struct mmc_request *mrq = host->mrq;
108
109 host->mrq = NULL;
110 host->cmd = NULL;
111 host->data = NULL;
112
113 mmc_request_done(host->mmc, mrq);
114}
115
116/* These are the bitmasks the tmio chip requires to implement the MMC response
117 * types. Note that R1 and R6 are the same in this scheme. */
118#define APP_CMD 0x0040
119#define RESP_NONE 0x0300
120#define RESP_R1 0x0400
121#define RESP_R1B 0x0500
122#define RESP_R2 0x0600
123#define RESP_R3 0x0700
124#define DATA_PRESENT 0x0800
125#define TRANSFER_READ 0x1000
126#define TRANSFER_MULTI 0x2000
127#define SECURITY_CMD 0x4000
128
129static int
130tmio_mmc_start_command(struct tmio_mmc_host *host, struct mmc_command *cmd)
131{
132 void __iomem *ctl = host->ctl;
133 struct mmc_data *data = host->data;
134 int c = cmd->opcode;
135
136 /* Command 12 is handled by hardware */
137 if (cmd->opcode == 12 && !cmd->arg) {
138 tmio_iowrite16(0x001, ctl + CTL_STOP_INTERNAL_ACTION);
139 return 0;
140 }
141
142 switch (mmc_resp_type(cmd)) {
143 case MMC_RSP_NONE: c |= RESP_NONE; break;
144 case MMC_RSP_R1: c |= RESP_R1; break;
145 case MMC_RSP_R1B: c |= RESP_R1B; break;
146 case MMC_RSP_R2: c |= RESP_R2; break;
147 case MMC_RSP_R3: c |= RESP_R3; break;
148 default:
149 pr_debug("Unknown response type %d\n", mmc_resp_type(cmd));
150 return -EINVAL;
151 }
152
153 host->cmd = cmd;
154
155/* FIXME - this seems to be ok comented out but the spec suggest this bit should
156 * be set when issuing app commands.
157 * if(cmd->flags & MMC_FLAG_ACMD)
158 * c |= APP_CMD;
159 */
160 if (data) {
161 c |= DATA_PRESENT;
162 if (data->blocks > 1) {
163 tmio_iowrite16(0x100, ctl + CTL_STOP_INTERNAL_ACTION);
164 c |= TRANSFER_MULTI;
165 }
166 if (data->flags & MMC_DATA_READ)
167 c |= TRANSFER_READ;
168 }
169
170 enable_mmc_irqs(ctl, TMIO_MASK_CMD);
171
172 /* Fire off the command */
173 tmio_iowrite32(cmd->arg, ctl + CTL_ARG_REG);
174 tmio_iowrite16(c, ctl + CTL_SD_CMD);
175
176 return 0;
177}
178
179/* This chip always returns (at least?) as much data as you ask for.
180 * I'm unsure what happens if you ask for less than a block. This should be
181 * looked into to ensure that a funny length read doesnt hose the controller.
182 *
183 */
184static inline void tmio_mmc_pio_irq(struct tmio_mmc_host *host)
185{
186 void __iomem *ctl = host->ctl;
187 struct mmc_data *data = host->data;
188 unsigned short *buf;
189 unsigned int count;
190 unsigned long flags;
191
192 if (!data) {
193 pr_debug("Spurious PIO IRQ\n");
194 return;
195 }
196
197 buf = (unsigned short *)(tmio_mmc_kmap_atomic(host, &flags) +
198 host->sg_off);
199
200 count = host->sg_ptr->length - host->sg_off;
201 if (count > data->blksz)
202 count = data->blksz;
203
204 pr_debug("count: %08x offset: %08x flags %08x\n",
205 count, host->sg_off, data->flags);
206
207 /* Transfer the data */
208 if (data->flags & MMC_DATA_READ)
209 tmio_ioread16_rep(ctl + CTL_SD_DATA_PORT, buf, count >> 1);
210 else
211 tmio_iowrite16_rep(ctl + CTL_SD_DATA_PORT, buf, count >> 1);
212
213 host->sg_off += count;
214
215 tmio_mmc_kunmap_atomic(host, &flags);
216
217 if (host->sg_off == host->sg_ptr->length)
218 tmio_mmc_next_sg(host);
219
220 return;
221}
222
223static inline void tmio_mmc_data_irq(struct tmio_mmc_host *host)
224{
225 void __iomem *ctl = host->ctl;
226 struct mmc_data *data = host->data;
227 struct mmc_command *stop = data->stop;
228
229 host->data = NULL;
230
231 if (!data) {
232 pr_debug("Spurious data end IRQ\n");
233 return;
234 }
235
236 /* FIXME - return correct transfer count on errors */
237 if (!data->error)
238 data->bytes_xfered = data->blocks * data->blksz;
239 else
240 data->bytes_xfered = 0;
241
242 pr_debug("Completed data request\n");
243
244 /*FIXME - other drivers allow an optional stop command of any given type
245 * which we dont do, as the chip can auto generate them.
246 * Perhaps we can be smarter about when to use auto CMD12 and
247 * only issue the auto request when we know this is the desired
248 * stop command, allowing fallback to the stop command the
249 * upper layers expect. For now, we do what works.
250 */
251
252 if (data->flags & MMC_DATA_READ)
253 disable_mmc_irqs(ctl, TMIO_MASK_READOP);
254 else
255 disable_mmc_irqs(ctl, TMIO_MASK_WRITEOP);
256
257 if (stop) {
258 if (stop->opcode == 12 && !stop->arg)
259 tmio_iowrite16(0x000, ctl + CTL_STOP_INTERNAL_ACTION);
260 else
261 BUG();
262 }
263
264 tmio_mmc_finish_request(host);
265}
266
267static inline void tmio_mmc_cmd_irq(struct tmio_mmc_host *host,
268 unsigned int stat)
269{
270 void __iomem *ctl = host->ctl, *addr;
271 struct mmc_command *cmd = host->cmd;
272 int i;
273
274 if (!host->cmd) {
275 pr_debug("Spurious CMD irq\n");
276 return;
277 }
278
279 host->cmd = NULL;
280
281 /* This controller is sicker than the PXA one. Not only do we need to
282 * drop the top 8 bits of the first response word, we also need to
283 * modify the order of the response for short response command types.
284 */
285
286 for (i = 3, addr = ctl + CTL_RESPONSE ; i >= 0 ; i--, addr += 4)
287 cmd->resp[i] = tmio_ioread32(addr);
288
289 if (cmd->flags & MMC_RSP_136) {
290 cmd->resp[0] = (cmd->resp[0] << 8) | (cmd->resp[1] >> 24);
291 cmd->resp[1] = (cmd->resp[1] << 8) | (cmd->resp[2] >> 24);
292 cmd->resp[2] = (cmd->resp[2] << 8) | (cmd->resp[3] >> 24);
293 cmd->resp[3] <<= 8;
294 } else if (cmd->flags & MMC_RSP_R3) {
295 cmd->resp[0] = cmd->resp[3];
296 }
297
298 if (stat & TMIO_STAT_CMDTIMEOUT)
299 cmd->error = -ETIMEDOUT;
300 else if (stat & TMIO_STAT_CRCFAIL && cmd->flags & MMC_RSP_CRC)
301 cmd->error = -EILSEQ;
302
303 /* If there is data to handle we enable data IRQs here, and
304 * we will ultimatley finish the request in the data_end handler.
305 * If theres no data or we encountered an error, finish now.
306 */
307 if (host->data && !cmd->error) {
308 if (host->data->flags & MMC_DATA_READ)
309 enable_mmc_irqs(ctl, TMIO_MASK_READOP);
310 else
311 enable_mmc_irqs(ctl, TMIO_MASK_WRITEOP);
312 } else {
313 tmio_mmc_finish_request(host);
314 }
315
316 return;
317}
318
319
320static irqreturn_t tmio_mmc_irq(int irq, void *devid)
321{
322 struct tmio_mmc_host *host = devid;
323 void __iomem *ctl = host->ctl;
324 unsigned int ireg, irq_mask, status;
325
326 pr_debug("MMC IRQ begin\n");
327
328 status = tmio_ioread32(ctl + CTL_STATUS);
329 irq_mask = tmio_ioread32(ctl + CTL_IRQ_MASK);
330 ireg = status & TMIO_MASK_IRQ & ~irq_mask;
331
332 pr_debug_status(status);
333 pr_debug_status(ireg);
334
335 if (!ireg) {
336 disable_mmc_irqs(ctl, status & ~irq_mask);
337
338 pr_debug("tmio_mmc: Spurious irq, disabling! "
339 "0x%08x 0x%08x 0x%08x\n", status, irq_mask, ireg);
340 pr_debug_status(status);
341
342 goto out;
343 }
344
345 while (ireg) {
346 /* Card insert / remove attempts */
347 if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) {
348 ack_mmc_irqs(ctl, TMIO_STAT_CARD_INSERT |
349 TMIO_STAT_CARD_REMOVE);
350 mmc_detect_change(host->mmc, 0);
351 }
352
353 /* CRC and other errors */
354/* if (ireg & TMIO_STAT_ERR_IRQ)
355 * handled |= tmio_error_irq(host, irq, stat);
356 */
357
358 /* Command completion */
359 if (ireg & TMIO_MASK_CMD) {
360 ack_mmc_irqs(ctl, TMIO_MASK_CMD);
361 tmio_mmc_cmd_irq(host, status);
362 }
363
364 /* Data transfer */
365 if (ireg & (TMIO_STAT_RXRDY | TMIO_STAT_TXRQ)) {
366 ack_mmc_irqs(ctl, TMIO_STAT_RXRDY | TMIO_STAT_TXRQ);
367 tmio_mmc_pio_irq(host);
368 }
369
370 /* Data transfer completion */
371 if (ireg & TMIO_STAT_DATAEND) {
372 ack_mmc_irqs(ctl, TMIO_STAT_DATAEND);
373 tmio_mmc_data_irq(host);
374 }
375
376 /* Check status - keep going until we've handled it all */
377 status = tmio_ioread32(ctl + CTL_STATUS);
378 irq_mask = tmio_ioread32(ctl + CTL_IRQ_MASK);
379 ireg = status & TMIO_MASK_IRQ & ~irq_mask;
380
381 pr_debug("Status at end of loop: %08x\n", status);
382 pr_debug_status(status);
383 }
384 pr_debug("MMC IRQ end\n");
385
386out:
387 return IRQ_HANDLED;
388}
389
390static int tmio_mmc_start_data(struct tmio_mmc_host *host,
391 struct mmc_data *data)
392{
393 void __iomem *ctl = host->ctl;
394
395 pr_debug("setup data transfer: blocksize %08x nr_blocks %d\n",
396 data->blksz, data->blocks);
397
398 /* Hardware cannot perform 1 and 2 byte requests in 4 bit mode */
399 if (data->blksz < 4 && host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) {
400 printk(KERN_ERR "%s: %d byte block unsupported in 4 bit mode\n",
401 mmc_hostname(host->mmc), data->blksz);
402 return -EINVAL;
403 }
404
405 tmio_mmc_init_sg(host, data);
406 host->data = data;
407
408 /* Set transfer length / blocksize */
409 tmio_iowrite16(data->blksz, ctl + CTL_SD_XFER_LEN);
410 tmio_iowrite16(data->blocks, ctl + CTL_XFER_BLK_COUNT);
411
412 return 0;
413}
414
415/* Process requests from the MMC layer */
416static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
417{
418 struct tmio_mmc_host *host = mmc_priv(mmc);
419 int ret;
420
421 if (host->mrq)
422 pr_debug("request not null\n");
423
424 host->mrq = mrq;
425
426 if (mrq->data) {
427 ret = tmio_mmc_start_data(host, mrq->data);
428 if (ret)
429 goto fail;
430 }
431
432 ret = tmio_mmc_start_command(host, mrq->cmd);
433
434 if (!ret)
435 return;
436
437fail:
438 mrq->cmd->error = ret;
439 mmc_request_done(mmc, mrq);
440}
441
442/* Set MMC clock / power.
443 * Note: This controller uses a simple divider scheme therefore it cannot
444 * run a MMC card at full speed (20MHz). The max clock is 24MHz on SD, but as
445 * MMC wont run that fast, it has to be clocked at 12MHz which is the next
446 * slowest setting.
447 */
448static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
449{
450 struct tmio_mmc_host *host = mmc_priv(mmc);
451 void __iomem *cnf = host->cnf;
452 void __iomem *ctl = host->ctl;
453
454 if (ios->clock)
455 tmio_mmc_set_clock(host, ios->clock);
456
457 /* Power sequence - OFF -> ON -> UP */
458 switch (ios->power_mode) {
459 case MMC_POWER_OFF: /* power down SD bus */
460 tmio_iowrite8(0x00, cnf + CNF_PWR_CTL_2);
461 tmio_mmc_clk_stop(host);
462 break;
463 case MMC_POWER_ON: /* power up SD bus */
464
465 tmio_iowrite8(0x02, cnf + CNF_PWR_CTL_2);
466 break;
467 case MMC_POWER_UP: /* start bus clock */
468 tmio_mmc_clk_start(host);
469 break;
470 }
471
472 switch (ios->bus_width) {
473 case MMC_BUS_WIDTH_1:
474 tmio_iowrite16(0x80e0, ctl + CTL_SD_MEM_CARD_OPT);
475 break;
476 case MMC_BUS_WIDTH_4:
477 tmio_iowrite16(0x00e0, ctl + CTL_SD_MEM_CARD_OPT);
478 break;
479 }
480
481 /* Let things settle. delay taken from winCE driver */
482 udelay(140);
483}
484
485static int tmio_mmc_get_ro(struct mmc_host *mmc)
486{
487 struct tmio_mmc_host *host = mmc_priv(mmc);
488 void __iomem *ctl = host->ctl;
489
490 return (tmio_ioread16(ctl + CTL_STATUS) & TMIO_STAT_WRPROTECT) ? 0 : 1;
491}
492
493static struct mmc_host_ops tmio_mmc_ops = {
494 .request = tmio_mmc_request,
495 .set_ios = tmio_mmc_set_ios,
496 .get_ro = tmio_mmc_get_ro,
497};
498
499#ifdef CONFIG_PM
500static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state)
501{
502 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
503 struct mmc_host *mmc = platform_get_drvdata(dev);
504 int ret;
505
506 ret = mmc_suspend_host(mmc, state);
507
508 /* Tell MFD core it can disable us now.*/
509 if (!ret && cell->disable)
510 cell->disable(dev);
511
512 return ret;
513}
514
515static int tmio_mmc_resume(struct platform_device *dev)
516{
517 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
518 struct mmc_host *mmc = platform_get_drvdata(dev);
519 struct tmio_mmc_host *host = mmc_priv(mmc);
520 void __iomem *cnf = host->cnf;
521 int ret = 0;
522
523 /* Enable the MMC/SD Control registers */
524 tmio_iowrite16(SDCREN, cnf + CNF_CMD);
525 tmio_iowrite32(dev->resource[0].start & 0xfffe, cnf + CNF_CTL_BASE);
526
527 /* Tell the MFD core we are ready to be enabled */
528 if (cell->enable) {
529 ret = cell->enable(dev);
530 if (ret)
531 goto out;
532 }
533
534 mmc_resume_host(mmc);
535
536out:
537 return ret;
538}
539#else
540#define tmio_mmc_suspend NULL
541#define tmio_mmc_resume NULL
542#endif
543
544static int __devinit tmio_mmc_probe(struct platform_device *dev)
545{
546 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
547 struct resource *res_ctl, *res_cnf;
548 struct tmio_mmc_host *host;
549 struct mmc_host *mmc;
550 int ret = -ENOMEM;
551
552 if (dev->num_resources != 3)
553 goto out;
554
555 res_ctl = platform_get_resource(dev, IORESOURCE_MEM, 0);
556 res_cnf = platform_get_resource(dev, IORESOURCE_MEM, 1);
557 if (!res_ctl || !res_cnf) {
558 ret = -EINVAL;
559 goto out;
560 }
561
562 mmc = mmc_alloc_host(sizeof(struct tmio_mmc_host), &dev->dev);
563 if (!mmc)
564 goto out;
565
566 host = mmc_priv(mmc);
567 host->mmc = mmc;
568 platform_set_drvdata(dev, mmc);
569
570 host->ctl = ioremap(res_ctl->start, res_ctl->end - res_ctl->start);
571 if (!host->ctl)
572 goto host_free;
573
574 host->cnf = ioremap(res_cnf->start, res_cnf->end - res_cnf->start);
575 if (!host->cnf)
576 goto unmap_ctl;
577
578 mmc->ops = &tmio_mmc_ops;
579 mmc->caps = MMC_CAP_4_BIT_DATA;
580 mmc->f_min = 46875; /* 24000000 / 512 */
581 mmc->f_max = 24000000;
582 mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
583
584 /* Enable the MMC/SD Control registers */
585 tmio_iowrite16(SDCREN, host->cnf + CNF_CMD);
586 tmio_iowrite32(dev->resource[0].start & 0xfffe,
587 host->cnf + CNF_CTL_BASE);
588
589 /* Tell the MFD core we are ready to be enabled */
590 if (cell->enable) {
591 ret = cell->enable(dev);
592 if (ret)
593 goto unmap_cnf;
594 }
595
596 /* Disable SD power during suspend */
597 tmio_iowrite8(0x01, host->cnf + CNF_PWR_CTL_3);
598
599 /* The below is required but why? FIXME */
600 tmio_iowrite8(0x1f, host->cnf + CNF_STOP_CLK_CTL);
601
602 /* Power down SD bus*/
603 tmio_iowrite8(0x0, host->cnf + CNF_PWR_CTL_2);
604
605 tmio_mmc_clk_stop(host);
606 reset(host);
607
608 ret = platform_get_irq(dev, 0);
609 if (ret >= 0)
610 host->irq = ret;
611 else
612 goto unmap_cnf;
613
614 disable_mmc_irqs(host->ctl, TMIO_MASK_ALL);
615
616 ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED, "tmio-mmc",
617 host);
618 if (ret)
619 goto unmap_cnf;
620
621 set_irq_type(host->irq, IRQ_TYPE_EDGE_FALLING);
622
623 mmc_add_host(mmc);
624
625 printk(KERN_INFO "%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc),
626 (unsigned long)host->ctl, host->irq);
627
628 /* Unmask the IRQs we want to know about */
629 enable_mmc_irqs(host->ctl, TMIO_MASK_IRQ);
630
631 return 0;
632
633unmap_cnf:
634 iounmap(host->cnf);
635unmap_ctl:
636 iounmap(host->ctl);
637host_free:
638 mmc_free_host(mmc);
639out:
640 return ret;
641}
642
643static int __devexit tmio_mmc_remove(struct platform_device *dev)
644{
645 struct mmc_host *mmc = platform_get_drvdata(dev);
646
647 platform_set_drvdata(dev, NULL);
648
649 if (mmc) {
650 struct tmio_mmc_host *host = mmc_priv(mmc);
651 mmc_remove_host(mmc);
652 mmc_free_host(mmc);
653 free_irq(host->irq, host);
654 iounmap(host->ctl);
655 iounmap(host->cnf);
656 }
657
658 return 0;
659}
660
661/* ------------------- device registration ----------------------- */
662
663static struct platform_driver tmio_mmc_driver = {
664 .driver = {
665 .name = "tmio-mmc",
666 .owner = THIS_MODULE,
667 },
668 .probe = tmio_mmc_probe,
669 .remove = __devexit_p(tmio_mmc_remove),
670 .suspend = tmio_mmc_suspend,
671 .resume = tmio_mmc_resume,
672};
673
674
675static int __init tmio_mmc_init(void)
676{
677 return platform_driver_register(&tmio_mmc_driver);
678}
679
680static void __exit tmio_mmc_exit(void)
681{
682 platform_driver_unregister(&tmio_mmc_driver);
683}
684
685module_init(tmio_mmc_init);
686module_exit(tmio_mmc_exit);
687
688MODULE_DESCRIPTION("Toshiba TMIO SD/MMC driver");
689MODULE_AUTHOR("Ian Molton <spyro@f2s.com>");
690MODULE_LICENSE("GPL v2");
691MODULE_ALIAS("platform:tmio-mmc");
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
new file mode 100644
index 000000000000..9e647a06054f
--- /dev/null
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -0,0 +1,194 @@
1/* Definitons for use with the tmio_mmc.c
2 *
3 * (c) 2004 Ian Molton <spyro@f2s.com>
4 * (c) 2007 Ian Molton <spyro@f2s.com>
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 version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11#define CNF_CMD 0x04
12#define CNF_CTL_BASE 0x10
13#define CNF_INT_PIN 0x3d
14#define CNF_STOP_CLK_CTL 0x40
15#define CNF_GCLK_CTL 0x41
16#define CNF_SD_CLK_MODE 0x42
17#define CNF_PIN_STATUS 0x44
18#define CNF_PWR_CTL_1 0x48
19#define CNF_PWR_CTL_2 0x49
20#define CNF_PWR_CTL_3 0x4a
21#define CNF_CARD_DETECT_MODE 0x4c
22#define CNF_SD_SLOT 0x50
23#define CNF_EXT_GCLK_CTL_1 0xf0
24#define CNF_EXT_GCLK_CTL_2 0xf1
25#define CNF_EXT_GCLK_CTL_3 0xf9
26#define CNF_SD_LED_EN_1 0xfa
27#define CNF_SD_LED_EN_2 0xfe
28
29#define SDCREN 0x2 /* Enable access to MMC CTL regs. (flag in COMMAND_REG)*/
30
31#define CTL_SD_CMD 0x00
32#define CTL_ARG_REG 0x04
33#define CTL_STOP_INTERNAL_ACTION 0x08
34#define CTL_XFER_BLK_COUNT 0xa
35#define CTL_RESPONSE 0x0c
36#define CTL_STATUS 0x1c
37#define CTL_IRQ_MASK 0x20
38#define CTL_SD_CARD_CLK_CTL 0x24
39#define CTL_SD_XFER_LEN 0x26
40#define CTL_SD_MEM_CARD_OPT 0x28
41#define CTL_SD_ERROR_DETAIL_STATUS 0x2c
42#define CTL_SD_DATA_PORT 0x30
43#define CTL_TRANSACTION_CTL 0x34
44#define CTL_RESET_SD 0xe0
45#define CTL_SDIO_REGS 0x100
46#define CTL_CLK_AND_WAIT_CTL 0x138
47#define CTL_RESET_SDIO 0x1e0
48
49/* Definitions for values the CTRL_STATUS register can take. */
50#define TMIO_STAT_CMDRESPEND 0x00000001
51#define TMIO_STAT_DATAEND 0x00000004
52#define TMIO_STAT_CARD_REMOVE 0x00000008
53#define TMIO_STAT_CARD_INSERT 0x00000010
54#define TMIO_STAT_SIGSTATE 0x00000020
55#define TMIO_STAT_WRPROTECT 0x00000080
56#define TMIO_STAT_CARD_REMOVE_A 0x00000100
57#define TMIO_STAT_CARD_INSERT_A 0x00000200
58#define TMIO_STAT_SIGSTATE_A 0x00000400
59#define TMIO_STAT_CMD_IDX_ERR 0x00010000
60#define TMIO_STAT_CRCFAIL 0x00020000
61#define TMIO_STAT_STOPBIT_ERR 0x00040000
62#define TMIO_STAT_DATATIMEOUT 0x00080000
63#define TMIO_STAT_RXOVERFLOW 0x00100000
64#define TMIO_STAT_TXUNDERRUN 0x00200000
65#define TMIO_STAT_CMDTIMEOUT 0x00400000
66#define TMIO_STAT_RXRDY 0x01000000
67#define TMIO_STAT_TXRQ 0x02000000
68#define TMIO_STAT_ILL_FUNC 0x20000000
69#define TMIO_STAT_CMD_BUSY 0x40000000
70#define TMIO_STAT_ILL_ACCESS 0x80000000
71
72/* Define some IRQ masks */
73/* This is the mask used at reset by the chip */
74#define TMIO_MASK_ALL 0x837f031d
75#define TMIO_MASK_READOP (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND | \
76 TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT)
77#define TMIO_MASK_WRITEOP (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND | \
78 TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT)
79#define TMIO_MASK_CMD (TMIO_STAT_CMDRESPEND | TMIO_STAT_CMDTIMEOUT | \
80 TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT)
81#define TMIO_MASK_IRQ (TMIO_MASK_READOP | TMIO_MASK_WRITEOP | TMIO_MASK_CMD)
82
83#define enable_mmc_irqs(ctl, i) \
84 do { \
85 u32 mask;\
86 mask = tmio_ioread32((ctl) + CTL_IRQ_MASK); \
87 mask &= ~((i) & TMIO_MASK_IRQ); \
88 tmio_iowrite32(mask, (ctl) + CTL_IRQ_MASK); \
89 } while (0)
90
91#define disable_mmc_irqs(ctl, i) \
92 do { \
93 u32 mask;\
94 mask = tmio_ioread32((ctl) + CTL_IRQ_MASK); \
95 mask |= ((i) & TMIO_MASK_IRQ); \
96 tmio_iowrite32(mask, (ctl) + CTL_IRQ_MASK); \
97 } while (0)
98
99#define ack_mmc_irqs(ctl, i) \
100 do { \
101 u32 mask;\
102 mask = tmio_ioread32((ctl) + CTL_STATUS); \
103 mask &= ~((i) & TMIO_MASK_IRQ); \
104 tmio_iowrite32(mask, (ctl) + CTL_STATUS); \
105 } while (0)
106
107
108struct tmio_mmc_host {
109 void __iomem *cnf;
110 void __iomem *ctl;
111 struct mmc_command *cmd;
112 struct mmc_request *mrq;
113 struct mmc_data *data;
114 struct mmc_host *mmc;
115 int irq;
116
117 /* pio related stuff */
118 struct scatterlist *sg_ptr;
119 unsigned int sg_len;
120 unsigned int sg_off;
121};
122
123#include <linux/scatterlist.h>
124#include <linux/blkdev.h>
125
126static inline void tmio_mmc_init_sg(struct tmio_mmc_host *host,
127 struct mmc_data *data)
128{
129 host->sg_len = data->sg_len;
130 host->sg_ptr = data->sg;
131 host->sg_off = 0;
132}
133
134static inline int tmio_mmc_next_sg(struct tmio_mmc_host *host)
135{
136 host->sg_ptr = sg_next(host->sg_ptr);
137 host->sg_off = 0;
138 return --host->sg_len;
139}
140
141static inline char *tmio_mmc_kmap_atomic(struct tmio_mmc_host *host,
142 unsigned long *flags)
143{
144 struct scatterlist *sg = host->sg_ptr;
145
146 local_irq_save(*flags);
147 return kmap_atomic(sg_page(sg), KM_BIO_SRC_IRQ) + sg->offset;
148}
149
150static inline void tmio_mmc_kunmap_atomic(struct tmio_mmc_host *host,
151 unsigned long *flags)
152{
153 kunmap_atomic(sg_page(host->sg_ptr), KM_BIO_SRC_IRQ);
154 local_irq_restore(*flags);
155}
156
157#ifdef CONFIG_MMC_DEBUG
158
159#define STATUS_TO_TEXT(a) \
160 do { \
161 if (status & TMIO_STAT_##a) \
162 printf(#a); \
163 } while (0)
164
165void debug_status(u32 status)
166{
167 printk(KERN_DEBUG "status: %08x = ", status);
168 STATUS_TO_TEXT(CARD_REMOVE);
169 STATUS_TO_TEXT(CARD_INSERT);
170 STATUS_TO_TEXT(SIGSTATE);
171 STATUS_TO_TEXT(WRPROTECT);
172 STATUS_TO_TEXT(CARD_REMOVE_A);
173 STATUS_TO_TEXT(CARD_INSERT_A);
174 STATUS_TO_TEXT(SIGSTATE_A);
175 STATUS_TO_TEXT(CMD_IDX_ERR);
176 STATUS_TO_TEXT(STOPBIT_ERR);
177 STATUS_TO_TEXT(ILL_FUNC);
178 STATUS_TO_TEXT(CMD_BUSY);
179 STATUS_TO_TEXT(CMDRESPEND);
180 STATUS_TO_TEXT(DATAEND);
181 STATUS_TO_TEXT(CRCFAIL);
182 STATUS_TO_TEXT(DATATIMEOUT);
183 STATUS_TO_TEXT(CMDTIMEOUT);
184 STATUS_TO_TEXT(RXOVERFLOW);
185 STATUS_TO_TEXT(TXUNDERRUN);
186 STATUS_TO_TEXT(RXRDY);
187 STATUS_TO_TEXT(TXRQ);
188 STATUS_TO_TEXT(ILL_ACCESS);
189 printk("\n");
190}
191
192#else
193#define pr_debug_status(s) do { } while (0)
194#endif
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 02f9cc30d77b..41f361c49b32 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -351,6 +351,13 @@ config MTD_NAND_PASEMI
351 Enables support for NAND Flash interface on PA Semi PWRficient 351 Enables support for NAND Flash interface on PA Semi PWRficient
352 based boards 352 based boards
353 353
354config MTD_NAND_TMIO
355 tristate "NAND Flash device on Toshiba Mobile IO Controller"
356 depends on MTD_NAND && MFD_TMIO
357 help
358 Support for NAND flash connected to a Toshiba Mobile IO
359 Controller in some PDAs, including the Sharp SL6000x.
360
354config MTD_NAND_NANDSIM 361config MTD_NAND_NANDSIM
355 tristate "Support for NAND Flash Simulator" 362 tristate "Support for NAND Flash Simulator"
356 depends on MTD_PARTITIONS 363 depends on MTD_PARTITIONS
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index d772581de573..b786c5da82da 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -27,6 +27,7 @@ obj-$(CONFIG_MTD_NAND_ATMEL) += atmel_nand.o
27obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o 27obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o
28obj-$(CONFIG_MTD_NAND_BASLER_EXCITE) += excite_nandflash.o 28obj-$(CONFIG_MTD_NAND_BASLER_EXCITE) += excite_nandflash.o
29obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o 29obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o
30obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o
30obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o 31obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o
31obj-$(CONFIG_MTD_ALAUDA) += alauda.o 32obj-$(CONFIG_MTD_ALAUDA) += alauda.o
32obj-$(CONFIG_MTD_NAND_PASEMI) += pasemi_nand.o 33obj-$(CONFIG_MTD_NAND_PASEMI) += pasemi_nand.o
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
new file mode 100644
index 000000000000..cbab654b03c8
--- /dev/null
+++ b/drivers/mtd/nand/tmio_nand.c
@@ -0,0 +1,556 @@
1/*
2 * Toshiba TMIO NAND flash controller driver
3 *
4 * Slightly murky pre-git history of the driver:
5 *
6 * Copyright (c) Ian Molton 2004, 2005, 2008
7 * Original work, independant of sharps code. Included hardware ECC support.
8 * Hard ECC did not work for writes in the early revisions.
9 * Copyright (c) Dirk Opfer 2005.
10 * Modifications developed from sharps code but
11 * NOT containing any, ported onto Ians base.
12 * Copyright (c) Chris Humbert 2005
13 * Copyright (c) Dmitry Baryshkov 2008
14 * Minor fixes
15 *
16 * Parts copyright Sebastian Carlier
17 *
18 * This file is licensed under
19 * the terms of the GNU General Public License version 2. This program
20 * is licensed "as is" without any warranty of any kind, whether express
21 * or implied.
22 *
23 */
24
25
26#include <linux/kernel.h>
27#include <linux/module.h>
28#include <linux/platform_device.h>
29#include <linux/mfd/core.h>
30#include <linux/mfd/tmio.h>
31#include <linux/delay.h>
32#include <linux/io.h>
33#include <linux/irq.h>
34#include <linux/interrupt.h>
35#include <linux/ioport.h>
36#include <linux/mtd/mtd.h>
37#include <linux/mtd/nand.h>
38#include <linux/mtd/nand_ecc.h>
39#include <linux/mtd/partitions.h>
40
41/*--------------------------------------------------------------------------*/
42
43/*
44 * NAND Flash Host Controller Configuration Register
45 */
46#define CCR_COMMAND 0x04 /* w Command */
47#define CCR_BASE 0x10 /* l NAND Flash Control Reg Base Addr */
48#define CCR_INTP 0x3d /* b Interrupt Pin */
49#define CCR_INTE 0x48 /* b Interrupt Enable */
50#define CCR_EC 0x4a /* b Event Control */
51#define CCR_ICC 0x4c /* b Internal Clock Control */
52#define CCR_ECCC 0x5b /* b ECC Control */
53#define CCR_NFTC 0x60 /* b NAND Flash Transaction Control */
54#define CCR_NFM 0x61 /* b NAND Flash Monitor */
55#define CCR_NFPSC 0x62 /* b NAND Flash Power Supply Control */
56#define CCR_NFDC 0x63 /* b NAND Flash Detect Control */
57
58/*
59 * NAND Flash Control Register
60 */
61#define FCR_DATA 0x00 /* bwl Data Register */
62#define FCR_MODE 0x04 /* b Mode Register */
63#define FCR_STATUS 0x05 /* b Status Register */
64#define FCR_ISR 0x06 /* b Interrupt Status Register */
65#define FCR_IMR 0x07 /* b Interrupt Mask Register */
66
67/* FCR_MODE Register Command List */
68#define FCR_MODE_DATA 0x94 /* Data Data_Mode */
69#define FCR_MODE_COMMAND 0x95 /* Data Command_Mode */
70#define FCR_MODE_ADDRESS 0x96 /* Data Address_Mode */
71
72#define FCR_MODE_HWECC_CALC 0xB4 /* HW-ECC Data */
73#define FCR_MODE_HWECC_RESULT 0xD4 /* HW-ECC Calc result Read_Mode */
74#define FCR_MODE_HWECC_RESET 0xF4 /* HW-ECC Reset */
75
76#define FCR_MODE_POWER_ON 0x0C /* Power Supply ON to SSFDC card */
77#define FCR_MODE_POWER_OFF 0x08 /* Power Supply OFF to SSFDC card */
78
79#define FCR_MODE_LED_OFF 0x00 /* LED OFF */
80#define FCR_MODE_LED_ON 0x04 /* LED ON */
81
82#define FCR_MODE_EJECT_ON 0x68 /* Ejection events active */
83#define FCR_MODE_EJECT_OFF 0x08 /* Ejection events ignored */
84
85#define FCR_MODE_LOCK 0x6C /* Lock_Mode. Eject Switch Invalid */
86#define FCR_MODE_UNLOCK 0x0C /* UnLock_Mode. Eject Switch is valid */
87
88#define FCR_MODE_CONTROLLER_ID 0x40 /* Controller ID Read */
89#define FCR_MODE_STANDBY 0x00 /* SSFDC card Changes Standby State */
90
91#define FCR_MODE_WE 0x80
92#define FCR_MODE_ECC1 0x40
93#define FCR_MODE_ECC0 0x20
94#define FCR_MODE_CE 0x10
95#define FCR_MODE_PCNT1 0x08
96#define FCR_MODE_PCNT0 0x04
97#define FCR_MODE_ALE 0x02
98#define FCR_MODE_CLE 0x01
99
100#define FCR_STATUS_BUSY 0x80
101
102/*--------------------------------------------------------------------------*/
103
104struct tmio_nand {
105 struct mtd_info mtd;
106 struct nand_chip chip;
107
108 struct platform_device *dev;
109
110 void __iomem *ccr;
111 void __iomem *fcr;
112 unsigned long fcr_phys;
113
114 unsigned int irq;
115
116 /* for tmio_nand_read_byte */
117 u8 read;
118 unsigned read_good:1;
119};
120
121#define mtd_to_tmio(m) container_of(m, struct tmio_nand, mtd)
122
123#ifdef CONFIG_MTD_CMDLINE_PARTS
124static const char *part_probes[] = { "cmdlinepart", NULL };
125#endif
126
127/*--------------------------------------------------------------------------*/
128
129static void tmio_nand_hwcontrol(struct mtd_info *mtd, int cmd,
130 unsigned int ctrl)
131{
132 struct tmio_nand *tmio = mtd_to_tmio(mtd);
133 struct nand_chip *chip = mtd->priv;
134
135 if (ctrl & NAND_CTRL_CHANGE) {
136 u8 mode;
137
138 if (ctrl & NAND_NCE) {
139 mode = FCR_MODE_DATA;
140
141 if (ctrl & NAND_CLE)
142 mode |= FCR_MODE_CLE;
143 else
144 mode &= ~FCR_MODE_CLE;
145
146 if (ctrl & NAND_ALE)
147 mode |= FCR_MODE_ALE;
148 else
149 mode &= ~FCR_MODE_ALE;
150 } else {
151 mode = FCR_MODE_STANDBY;
152 }
153
154 tmio_iowrite8(mode, tmio->fcr + FCR_MODE);
155 tmio->read_good = 0;
156 }
157
158 if (cmd != NAND_CMD_NONE)
159 tmio_iowrite8(cmd, chip->IO_ADDR_W);
160}
161
162static int tmio_nand_dev_ready(struct mtd_info *mtd)
163{
164 struct tmio_nand *tmio = mtd_to_tmio(mtd);
165
166 return !(tmio_ioread8(tmio->fcr + FCR_STATUS) & FCR_STATUS_BUSY);
167}
168
169static irqreturn_t tmio_irq(int irq, void *__tmio)
170{
171 struct tmio_nand *tmio = __tmio;
172 struct nand_chip *nand_chip = &tmio->chip;
173
174 /* disable RDYREQ interrupt */
175 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR);
176
177 if (unlikely(!waitqueue_active(&nand_chip->controller->wq)))
178 dev_warn(&tmio->dev->dev, "spurious interrupt\n");
179
180 wake_up(&nand_chip->controller->wq);
181 return IRQ_HANDLED;
182}
183
184/*
185 *The TMIO core has a RDYREQ interrupt on the posedge of #SMRB.
186 *This interrupt is normally disabled, but for long operations like
187 *erase and write, we enable it to wake us up. The irq handler
188 *disables the interrupt.
189 */
190static int
191tmio_nand_wait(struct mtd_info *mtd, struct nand_chip *nand_chip)
192{
193 struct tmio_nand *tmio = mtd_to_tmio(mtd);
194 long timeout;
195
196 /* enable RDYREQ interrupt */
197 tmio_iowrite8(0x0f, tmio->fcr + FCR_ISR);
198 tmio_iowrite8(0x81, tmio->fcr + FCR_IMR);
199
200 timeout = wait_event_timeout(nand_chip->controller->wq,
201 tmio_nand_dev_ready(mtd),
202 msecs_to_jiffies(nand_chip->state == FL_ERASING ? 400 : 20));
203
204 if (unlikely(!tmio_nand_dev_ready(mtd))) {
205 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR);
206 dev_warn(&tmio->dev->dev, "still busy with %s after %d ms\n",
207 nand_chip->state == FL_ERASING ? "erase" : "program",
208 nand_chip->state == FL_ERASING ? 400 : 20);
209
210 } else if (unlikely(!timeout)) {
211 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR);
212 dev_warn(&tmio->dev->dev, "timeout waiting for interrupt\n");
213 }
214
215 nand_chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1);
216 return nand_chip->read_byte(mtd);
217}
218
219/*
220 *The TMIO controller combines two 8-bit data bytes into one 16-bit
221 *word. This function separates them so nand_base.c works as expected,
222 *especially its NAND_CMD_READID routines.
223 *
224 *To prevent stale data from being read, tmio_nand_hwcontrol() clears
225 *tmio->read_good.
226 */
227static u_char tmio_nand_read_byte(struct mtd_info *mtd)
228{
229 struct tmio_nand *tmio = mtd_to_tmio(mtd);
230 unsigned int data;
231
232 if (tmio->read_good--)
233 return tmio->read;
234
235 data = tmio_ioread16(tmio->fcr + FCR_DATA);
236 tmio->read = data >> 8;
237 return data;
238}
239
240/*
241 *The TMIO controller converts an 8-bit NAND interface to a 16-bit
242 *bus interface, so all data reads and writes must be 16-bit wide.
243 *Thus, we implement 16-bit versions of the read, write, and verify
244 *buffer functions.
245 */
246static void
247tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
248{
249 struct tmio_nand *tmio = mtd_to_tmio(mtd);
250
251 tmio_iowrite16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
252}
253
254static void tmio_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
255{
256 struct tmio_nand *tmio = mtd_to_tmio(mtd);
257
258 tmio_ioread16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
259}
260
261static int
262tmio_nand_verify_buf(struct mtd_info *mtd, const u_char *buf, int len)
263{
264 struct tmio_nand *tmio = mtd_to_tmio(mtd);
265 u16 *p = (u16 *) buf;
266
267 for (len >>= 1; len; len--)
268 if (*(p++) != tmio_ioread16(tmio->fcr + FCR_DATA))
269 return -EFAULT;
270 return 0;
271}
272
273static void tmio_nand_enable_hwecc(struct mtd_info *mtd, int mode)
274{
275 struct tmio_nand *tmio = mtd_to_tmio(mtd);
276
277 tmio_iowrite8(FCR_MODE_HWECC_RESET, tmio->fcr + FCR_MODE);
278 tmio_ioread8(tmio->fcr + FCR_DATA); /* dummy read */
279 tmio_iowrite8(FCR_MODE_HWECC_CALC, tmio->fcr + FCR_MODE);
280}
281
282static int tmio_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
283 u_char *ecc_code)
284{
285 struct tmio_nand *tmio = mtd_to_tmio(mtd);
286 unsigned int ecc;
287
288 tmio_iowrite8(FCR_MODE_HWECC_RESULT, tmio->fcr + FCR_MODE);
289
290 ecc = tmio_ioread16(tmio->fcr + FCR_DATA);
291 ecc_code[1] = ecc; /* 000-255 LP7-0 */
292 ecc_code[0] = ecc >> 8; /* 000-255 LP15-8 */
293 ecc = tmio_ioread16(tmio->fcr + FCR_DATA);
294 ecc_code[2] = ecc; /* 000-255 CP5-0,11b */
295 ecc_code[4] = ecc >> 8; /* 256-511 LP7-0 */
296 ecc = tmio_ioread16(tmio->fcr + FCR_DATA);
297 ecc_code[3] = ecc; /* 256-511 LP15-8 */
298 ecc_code[5] = ecc >> 8; /* 256-511 CP5-0,11b */
299
300 tmio_iowrite8(FCR_MODE_DATA, tmio->fcr + FCR_MODE);
301 return 0;
302}
303
304static int tmio_hw_init(struct platform_device *dev, struct tmio_nand *tmio)
305{
306 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
307 int ret;
308
309 if (cell->enable) {
310 ret = cell->enable(dev);
311 if (ret)
312 return ret;
313 }
314
315 /* (4Ch) CLKRUN Enable 1st spcrunc */
316 tmio_iowrite8(0x81, tmio->ccr + CCR_ICC);
317
318 /* (10h)BaseAddress 0x1000 spba.spba2 */
319 tmio_iowrite16(tmio->fcr_phys, tmio->ccr + CCR_BASE);
320 tmio_iowrite16(tmio->fcr_phys >> 16, tmio->ccr + CCR_BASE + 16);
321
322 /* (04h)Command Register I/O spcmd */
323 tmio_iowrite8(0x02, tmio->ccr + CCR_COMMAND);
324
325 /* (62h) Power Supply Control ssmpwc */
326 /* HardPowerOFF - SuspendOFF - PowerSupplyWait_4MS */
327 tmio_iowrite8(0x02, tmio->ccr + CCR_NFPSC);
328
329 /* (63h) Detect Control ssmdtc */
330 tmio_iowrite8(0x02, tmio->ccr + CCR_NFDC);
331
332 /* Interrupt status register clear sintst */
333 tmio_iowrite8(0x0f, tmio->fcr + FCR_ISR);
334
335 /* After power supply, Media are reset smode */
336 tmio_iowrite8(FCR_MODE_POWER_ON, tmio->fcr + FCR_MODE);
337 tmio_iowrite8(FCR_MODE_COMMAND, tmio->fcr + FCR_MODE);
338 tmio_iowrite8(NAND_CMD_RESET, tmio->fcr + FCR_DATA);
339
340 /* Standby Mode smode */
341 tmio_iowrite8(FCR_MODE_STANDBY, tmio->fcr + FCR_MODE);
342
343 mdelay(5);
344
345 return 0;
346}
347
348static void tmio_hw_stop(struct platform_device *dev, struct tmio_nand *tmio)
349{
350 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
351
352 tmio_iowrite8(FCR_MODE_POWER_OFF, tmio->fcr + FCR_MODE);
353 if (cell->disable)
354 cell->disable(dev);
355}
356
357static int tmio_probe(struct platform_device *dev)
358{
359 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
360 struct tmio_nand_data *data = cell->driver_data;
361 struct resource *fcr = platform_get_resource(dev,
362 IORESOURCE_MEM, 0);
363 struct resource *ccr = platform_get_resource(dev,
364 IORESOURCE_MEM, 1);
365 int irq = platform_get_irq(dev, 0);
366 struct tmio_nand *tmio;
367 struct mtd_info *mtd;
368 struct nand_chip *nand_chip;
369#ifdef CONFIG_MTD_PARTITIONS
370 struct mtd_partition *parts;
371 int nbparts = 0;
372#endif
373 int retval;
374
375 if (data == NULL)
376 dev_warn(&dev->dev, "NULL platform data!\n");
377
378 tmio = kzalloc(sizeof *tmio, GFP_KERNEL);
379 if (!tmio) {
380 retval = -ENOMEM;
381 goto err_kzalloc;
382 }
383
384 tmio->dev = dev;
385
386 platform_set_drvdata(dev, tmio);
387 mtd = &tmio->mtd;
388 nand_chip = &tmio->chip;
389 mtd->priv = nand_chip;
390 mtd->name = "tmio-nand";
391
392 tmio->ccr = ioremap(ccr->start, ccr->end - ccr->start + 1);
393 if (!tmio->ccr) {
394 retval = -EIO;
395 goto err_iomap_ccr;
396 }
397
398 tmio->fcr_phys = (unsigned long)fcr->start;
399 tmio->fcr = ioremap(fcr->start, fcr->end - fcr->start + 1);
400 if (!tmio->fcr) {
401 retval = -EIO;
402 goto err_iomap_fcr;
403 }
404
405 retval = tmio_hw_init(dev, tmio);
406 if (retval)
407 goto err_hwinit;
408
409 /* Set address of NAND IO lines */
410 nand_chip->IO_ADDR_R = tmio->fcr;
411 nand_chip->IO_ADDR_W = tmio->fcr;
412
413 /* Set address of hardware control function */
414 nand_chip->cmd_ctrl = tmio_nand_hwcontrol;
415 nand_chip->dev_ready = tmio_nand_dev_ready;
416 nand_chip->read_byte = tmio_nand_read_byte;
417 nand_chip->write_buf = tmio_nand_write_buf;
418 nand_chip->read_buf = tmio_nand_read_buf;
419 nand_chip->verify_buf = tmio_nand_verify_buf;
420
421 /* set eccmode using hardware ECC */
422 nand_chip->ecc.mode = NAND_ECC_HW;
423 nand_chip->ecc.size = 512;
424 nand_chip->ecc.bytes = 6;
425 nand_chip->ecc.hwctl = tmio_nand_enable_hwecc;
426 nand_chip->ecc.calculate = tmio_nand_calculate_ecc;
427 nand_chip->ecc.correct = nand_correct_data;
428
429 if (data)
430 nand_chip->badblock_pattern = data->badblock_pattern;
431
432 /* 15 us command delay time */
433 nand_chip->chip_delay = 15;
434
435 retval = request_irq(irq, &tmio_irq,
436 IRQF_DISABLED, dev->dev.bus_id, tmio);
437 if (retval) {
438 dev_err(&dev->dev, "request_irq error %d\n", retval);
439 goto err_irq;
440 }
441
442 tmio->irq = irq;
443 nand_chip->waitfunc = tmio_nand_wait;
444
445 /* Scan to find existence of the device */
446 if (nand_scan(mtd, 1)) {
447 retval = -ENODEV;
448 goto err_scan;
449 }
450 /* Register the partitions */
451#ifdef CONFIG_MTD_PARTITIONS
452#ifdef CONFIG_MTD_CMDLINE_PARTS
453 nbparts = parse_mtd_partitions(mtd, part_probes, &parts, 0);
454#endif
455 if (nbparts <= 0 && data) {
456 parts = data->partition;
457 nbparts = data->num_partitions;
458 }
459
460 if (nbparts)
461 retval = add_mtd_partitions(mtd, parts, nbparts);
462 else
463#endif
464 retval = add_mtd_device(mtd);
465
466 if (!retval)
467 return retval;
468
469 nand_release(mtd);
470
471err_scan:
472 if (tmio->irq)
473 free_irq(tmio->irq, tmio);
474err_irq:
475 tmio_hw_stop(dev, tmio);
476err_hwinit:
477 iounmap(tmio->fcr);
478err_iomap_fcr:
479 iounmap(tmio->ccr);
480err_iomap_ccr:
481 kfree(tmio);
482err_kzalloc:
483 return retval;
484}
485
486static int tmio_remove(struct platform_device *dev)
487{
488 struct tmio_nand *tmio = platform_get_drvdata(dev);
489
490 nand_release(&tmio->mtd);
491 if (tmio->irq)
492 free_irq(tmio->irq, tmio);
493 tmio_hw_stop(dev, tmio);
494 iounmap(tmio->fcr);
495 iounmap(tmio->ccr);
496 kfree(tmio);
497 return 0;
498}
499
500#ifdef CONFIG_PM
501static int tmio_suspend(struct platform_device *dev, pm_message_t state)
502{
503 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
504
505 if (cell->suspend)
506 cell->suspend(dev);
507
508 tmio_hw_stop(dev, platform_get_drvdata(dev));
509 return 0;
510}
511
512static int tmio_resume(struct platform_device *dev)
513{
514 struct mfd_cell *cell = (struct mfd_cell *)dev->dev.platform_data;
515
516 /* FIXME - is this required or merely another attack of the broken
517 * SHARP platform? Looks suspicious.
518 */
519 tmio_hw_init(dev, platform_get_drvdata(dev));
520
521 if (cell->resume)
522 cell->resume(dev);
523
524 return 0;
525}
526#else
527#define tmio_suspend NULL
528#define tmio_resume NULL
529#endif
530
531static struct platform_driver tmio_driver = {
532 .driver.name = "tmio-nand",
533 .driver.owner = THIS_MODULE,
534 .probe = tmio_probe,
535 .remove = tmio_remove,
536 .suspend = tmio_suspend,
537 .resume = tmio_resume,
538};
539
540static int __init tmio_init(void)
541{
542 return platform_driver_register(&tmio_driver);
543}
544
545static void __exit tmio_exit(void)
546{
547 platform_driver_unregister(&tmio_driver);
548}
549
550module_init(tmio_init);
551module_exit(tmio_exit);
552
553MODULE_LICENSE("GPL v2");
554MODULE_AUTHOR("Ian Molton, Dirk Opfer, Chris Humbert, Dmitry Baryshkov");
555MODULE_DESCRIPTION("NAND flash driver on Toshiba Mobile IO controller");
556MODULE_ALIAS("platform:tmio-nand");
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c
index 35264c244cfd..82d7be1655d3 100644
--- a/drivers/net/atl1e/atl1e_main.c
+++ b/drivers/net/atl1e/atl1e_main.c
@@ -47,7 +47,7 @@ MODULE_DESCRIPTION("Atheros 1000M Ethernet Network Driver");
47MODULE_LICENSE("GPL"); 47MODULE_LICENSE("GPL");
48MODULE_VERSION(DRV_VERSION); 48MODULE_VERSION(DRV_VERSION);
49 49
50static inline void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter); 50static void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter);
51 51
52static const u16 52static const u16
53atl1e_rx_page_vld_regs[AT_MAX_RECEIVE_QUEUE][AT_PAGE_NUM_PER_QUEUE] = 53atl1e_rx_page_vld_regs[AT_MAX_RECEIVE_QUEUE][AT_PAGE_NUM_PER_QUEUE] =
@@ -1037,7 +1037,7 @@ static inline void atl1e_configure_dma(struct atl1e_adapter *adapter)
1037 return; 1037 return;
1038} 1038}
1039 1039
1040static inline void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter) 1040static void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter)
1041{ 1041{
1042 u32 value; 1042 u32 value;
1043 struct atl1e_hw *hw = &adapter->hw; 1043 struct atl1e_hw *hw = &adapter->hw;
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 18354817173c..4a10b5624f72 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -308,9 +308,8 @@ static void __pci_restore_msi_state(struct pci_dev *dev)
308 entry->msi_attrib.masked); 308 entry->msi_attrib.masked);
309 309
310 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &control); 310 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &control);
311 control &= ~(PCI_MSI_FLAGS_QSIZE | PCI_MSI_FLAGS_ENABLE); 311 control &= ~PCI_MSI_FLAGS_QSIZE;
312 if (entry->msi_attrib.maskbit || !entry->msi_attrib.masked) 312 control |= PCI_MSI_FLAGS_ENABLE;
313 control |= PCI_MSI_FLAGS_ENABLE;
314 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, control); 313 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, control);
315} 314}
316 315
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 0a3d856833fc..c9884bba22de 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1060,7 +1060,7 @@ bool pci_pme_capable(struct pci_dev *dev, pci_power_t state)
1060 * The caller must verify that the device is capable of generating PME# before 1060 * The caller must verify that the device is capable of generating PME# before
1061 * calling this function with @enable equal to 'true'. 1061 * calling this function with @enable equal to 'true'.
1062 */ 1062 */
1063static void pci_pme_active(struct pci_dev *dev, bool enable) 1063void pci_pme_active(struct pci_dev *dev, bool enable)
1064{ 1064{
1065 u16 pmcsr; 1065 u16 pmcsr;
1066 1066
@@ -1941,6 +1941,7 @@ EXPORT_SYMBOL(pci_set_power_state);
1941EXPORT_SYMBOL(pci_save_state); 1941EXPORT_SYMBOL(pci_save_state);
1942EXPORT_SYMBOL(pci_restore_state); 1942EXPORT_SYMBOL(pci_restore_state);
1943EXPORT_SYMBOL(pci_pme_capable); 1943EXPORT_SYMBOL(pci_pme_capable);
1944EXPORT_SYMBOL(pci_pme_active);
1944EXPORT_SYMBOL(pci_enable_wake); 1945EXPORT_SYMBOL(pci_enable_wake);
1945EXPORT_SYMBOL(pci_target_state); 1946EXPORT_SYMBOL(pci_target_state);
1946EXPORT_SYMBOL(pci_prepare_to_sleep); 1947EXPORT_SYMBOL(pci_prepare_to_sleep);
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 7098dfb07449..a04498d390c8 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -52,27 +52,49 @@ EXPORT_SYMBOL(no_pci_devices);
52 * Some platforms allow access to legacy I/O port and ISA memory space on 52 * Some platforms allow access to legacy I/O port and ISA memory space on
53 * a per-bus basis. This routine creates the files and ties them into 53 * a per-bus basis. This routine creates the files and ties them into
54 * their associated read, write and mmap files from pci-sysfs.c 54 * their associated read, write and mmap files from pci-sysfs.c
55 *
56 * On error unwind, but don't propogate the error to the caller
57 * as it is ok to set up the PCI bus without these files.
55 */ 58 */
56static void pci_create_legacy_files(struct pci_bus *b) 59static void pci_create_legacy_files(struct pci_bus *b)
57{ 60{
61 int error;
62
58 b->legacy_io = kzalloc(sizeof(struct bin_attribute) * 2, 63 b->legacy_io = kzalloc(sizeof(struct bin_attribute) * 2,
59 GFP_ATOMIC); 64 GFP_ATOMIC);
60 if (b->legacy_io) { 65 if (!b->legacy_io)
61 b->legacy_io->attr.name = "legacy_io"; 66 goto kzalloc_err;
62 b->legacy_io->size = 0xffff; 67
63 b->legacy_io->attr.mode = S_IRUSR | S_IWUSR; 68 b->legacy_io->attr.name = "legacy_io";
64 b->legacy_io->read = pci_read_legacy_io; 69 b->legacy_io->size = 0xffff;
65 b->legacy_io->write = pci_write_legacy_io; 70 b->legacy_io->attr.mode = S_IRUSR | S_IWUSR;
66 device_create_bin_file(&b->dev, b->legacy_io); 71 b->legacy_io->read = pci_read_legacy_io;
67 72 b->legacy_io->write = pci_write_legacy_io;
68 /* Allocated above after the legacy_io struct */ 73 error = device_create_bin_file(&b->dev, b->legacy_io);
69 b->legacy_mem = b->legacy_io + 1; 74 if (error)
70 b->legacy_mem->attr.name = "legacy_mem"; 75 goto legacy_io_err;
71 b->legacy_mem->size = 1024*1024; 76
72 b->legacy_mem->attr.mode = S_IRUSR | S_IWUSR; 77 /* Allocated above after the legacy_io struct */
73 b->legacy_mem->mmap = pci_mmap_legacy_mem; 78 b->legacy_mem = b->legacy_io + 1;
74 device_create_bin_file(&b->dev, b->legacy_mem); 79 b->legacy_mem->attr.name = "legacy_mem";
75 } 80 b->legacy_mem->size = 1024*1024;
81 b->legacy_mem->attr.mode = S_IRUSR | S_IWUSR;
82 b->legacy_mem->mmap = pci_mmap_legacy_mem;
83 error = device_create_bin_file(&b->dev, b->legacy_mem);
84 if (error)
85 goto legacy_mem_err;
86
87 return;
88
89legacy_mem_err:
90 device_remove_bin_file(&b->dev, b->legacy_io);
91legacy_io_err:
92 kfree(b->legacy_io);
93 b->legacy_io = NULL;
94kzalloc_err:
95 printk(KERN_WARNING "pci: warning: could not create legacy I/O port "
96 "and ISA memory resources to sysfs\n");
97 return;
76} 98}
77 99
78void pci_remove_legacy_files(struct pci_bus *b) 100void pci_remove_legacy_files(struct pci_bus *b)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 0fb365074288..9236e7f869c8 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1756,9 +1756,14 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_VIA, 0x324e, quirk_via_cx700_pci_parking_c
1756 */ 1756 */
1757static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev) 1757static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev)
1758{ 1758{
1759 /* Only disable the VPD capability for 5706, 5708, and 5709 rev. A */ 1759 /*
1760 * Only disable the VPD capability for 5706, 5706S, 5708,
1761 * 5708S and 5709 rev. A
1762 */
1760 if ((dev->device == PCI_DEVICE_ID_NX2_5706) || 1763 if ((dev->device == PCI_DEVICE_ID_NX2_5706) ||
1764 (dev->device == PCI_DEVICE_ID_NX2_5706S) ||
1761 (dev->device == PCI_DEVICE_ID_NX2_5708) || 1765 (dev->device == PCI_DEVICE_ID_NX2_5708) ||
1766 (dev->device == PCI_DEVICE_ID_NX2_5708S) ||
1762 ((dev->device == PCI_DEVICE_ID_NX2_5709) && 1767 ((dev->device == PCI_DEVICE_ID_NX2_5709) &&
1763 (dev->revision & 0xf0) == 0x0)) { 1768 (dev->revision & 0xf0) == 0x0)) {
1764 if (dev->vpd) 1769 if (dev->vpd)
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c
index 856cc1af40df..35dcc06eb3e2 100644
--- a/drivers/rtc/rtc-dev.c
+++ b/drivers/rtc/rtc-dev.c
@@ -13,7 +13,6 @@
13 13
14#include <linux/module.h> 14#include <linux/module.h>
15#include <linux/rtc.h> 15#include <linux/rtc.h>
16#include <linux/smp_lock.h>
17#include "rtc-core.h" 16#include "rtc-core.h"
18 17
19static dev_t rtc_devt; 18static dev_t rtc_devt;
@@ -27,11 +26,8 @@ static int rtc_dev_open(struct inode *inode, struct file *file)
27 struct rtc_device, char_dev); 26 struct rtc_device, char_dev);
28 const struct rtc_class_ops *ops = rtc->ops; 27 const struct rtc_class_ops *ops = rtc->ops;
29 28
30 lock_kernel(); 29 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags))
31 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) { 30 return -EBUSY;
32 err = -EBUSY;
33 goto out;
34 }
35 31
36 file->private_data = rtc; 32 file->private_data = rtc;
37 33
@@ -41,13 +37,11 @@ static int rtc_dev_open(struct inode *inode, struct file *file)
41 rtc->irq_data = 0; 37 rtc->irq_data = 0;
42 spin_unlock_irq(&rtc->irq_lock); 38 spin_unlock_irq(&rtc->irq_lock);
43 39
44 goto out; 40 return 0;
45 } 41 }
46 42
47 /* something has gone wrong */ 43 /* something has gone wrong */
48 clear_bit_unlock(RTC_DEV_BUSY, &rtc->flags); 44 clear_bit_unlock(RTC_DEV_BUSY, &rtc->flags);
49out:
50 unlock_kernel();
51 return err; 45 return err;
52} 46}
53 47
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c
index fbb90b1e4098..a81adab6e515 100644
--- a/drivers/rtc/rtc-isl1208.c
+++ b/drivers/rtc/rtc-isl1208.c
@@ -482,7 +482,7 @@ isl1208_sysfs_register(struct device *dev)
482static int 482static int
483isl1208_sysfs_unregister(struct device *dev) 483isl1208_sysfs_unregister(struct device *dev)
484{ 484{
485 device_remove_file(dev, &dev_attr_atrim); 485 device_remove_file(dev, &dev_attr_dtrim);
486 device_remove_file(dev, &dev_attr_atrim); 486 device_remove_file(dev, &dev_attr_atrim);
487 device_remove_file(dev, &dev_attr_usr); 487 device_remove_file(dev, &dev_attr_usr);
488 488
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c
index fcdd73f25625..994da56fffed 100644
--- a/drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/drivers/scsi/device_handler/scsi_dh_alua.c
@@ -680,7 +680,7 @@ static int alua_prep_fn(struct scsi_device *sdev, struct request *req)
680 680
681} 681}
682 682
683const struct scsi_dh_devlist alua_dev_list[] = { 683static const struct scsi_dh_devlist alua_dev_list[] = {
684 {"HP", "MSA VOLUME" }, 684 {"HP", "MSA VOLUME" },
685 {"HP", "HSV101" }, 685 {"HP", "HSV101" },
686 {"HP", "HSV111" }, 686 {"HP", "HSV111" },
diff --git a/drivers/scsi/device_handler/scsi_dh_emc.c b/drivers/scsi/device_handler/scsi_dh_emc.c
index aa46b131b20e..b9d23e9e9a44 100644
--- a/drivers/scsi/device_handler/scsi_dh_emc.c
+++ b/drivers/scsi/device_handler/scsi_dh_emc.c
@@ -562,7 +562,7 @@ done:
562 return result; 562 return result;
563} 563}
564 564
565const struct scsi_dh_devlist clariion_dev_list[] = { 565static const struct scsi_dh_devlist clariion_dev_list[] = {
566 {"DGC", "RAID"}, 566 {"DGC", "RAID"},
567 {"DGC", "DISK"}, 567 {"DGC", "DISK"},
568 {"DGC", "VRAID"}, 568 {"DGC", "VRAID"},
diff --git a/drivers/scsi/device_handler/scsi_dh_hp_sw.c b/drivers/scsi/device_handler/scsi_dh_hp_sw.c
index 9c7a1f8ebb72..a6a4ef3ad51c 100644
--- a/drivers/scsi/device_handler/scsi_dh_hp_sw.c
+++ b/drivers/scsi/device_handler/scsi_dh_hp_sw.c
@@ -282,7 +282,7 @@ static int hp_sw_activate(struct scsi_device *sdev)
282 return ret; 282 return ret;
283} 283}
284 284
285const struct scsi_dh_devlist hp_sw_dh_data_list[] = { 285static const struct scsi_dh_devlist hp_sw_dh_data_list[] = {
286 {"COMPAQ", "MSA1000 VOLUME"}, 286 {"COMPAQ", "MSA1000 VOLUME"},
287 {"COMPAQ", "HSV110"}, 287 {"COMPAQ", "HSV110"},
288 {"HP", "HSV100"}, 288 {"HP", "HSV100"},
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c
index b093a501f8ae..e7c7b4ebc1fe 100644
--- a/drivers/scsi/device_handler/scsi_dh_rdac.c
+++ b/drivers/scsi/device_handler/scsi_dh_rdac.c
@@ -574,7 +574,7 @@ static int rdac_check_sense(struct scsi_device *sdev,
574 return SCSI_RETURN_NOT_HANDLED; 574 return SCSI_RETURN_NOT_HANDLED;
575} 575}
576 576
577const struct scsi_dh_devlist rdac_dev_list[] = { 577static const struct scsi_dh_devlist rdac_dev_list[] = {
578 {"IBM", "1722"}, 578 {"IBM", "1722"},
579 {"IBM", "1724"}, 579 {"IBM", "1724"},
580 {"IBM", "1726"}, 580 {"IBM", "1726"},
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c
index d94aa7387608..b897f6554ecd 100644
--- a/drivers/usb/misc/isight_firmware.c
+++ b/drivers/usb/misc/isight_firmware.c
@@ -48,7 +48,8 @@ static int isight_firmware_load(struct usb_interface *intf,
48 48
49 if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) { 49 if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) {
50 printk(KERN_ERR "Unable to load isight firmware\n"); 50 printk(KERN_ERR "Unable to load isight firmware\n");
51 return -ENODEV; 51 ret = -ENODEV;
52 goto out;
52 } 53 }
53 54
54 ptr = firmware->data; 55 ptr = firmware->data;
@@ -91,7 +92,6 @@ static int isight_firmware_load(struct usb_interface *intf,
91 buf, llen, 300) != llen) { 92 buf, llen, 300) != llen) {
92 printk(KERN_ERR 93 printk(KERN_ERR
93 "Failed to load isight firmware\n"); 94 "Failed to load isight firmware\n");
94 kfree(buf);
95 ret = -ENODEV; 95 ret = -ENODEV;
96 goto out; 96 goto out;
97 } 97 }
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index e7018a2f56af..9c5925927ece 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -39,7 +39,9 @@
39#endif 39#endif
40 40
41#if defined(CONFIG_ARCH_AT91) 41#if defined(CONFIG_ARCH_AT91)
42#define ATMEL_LCDFB_FBINFO_DEFAULT FBINFO_DEFAULT 42#define ATMEL_LCDFB_FBINFO_DEFAULT (FBINFO_DEFAULT \
43 | FBINFO_PARTIAL_PAN_OK \
44 | FBINFO_HWACCEL_YPAN)
43 45
44static inline void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, 46static inline void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo,
45 struct fb_var_screeninfo *var) 47 struct fb_var_screeninfo *var)
@@ -177,7 +179,7 @@ static struct fb_fix_screeninfo atmel_lcdfb_fix __initdata = {
177 .type = FB_TYPE_PACKED_PIXELS, 179 .type = FB_TYPE_PACKED_PIXELS,
178 .visual = FB_VISUAL_TRUECOLOR, 180 .visual = FB_VISUAL_TRUECOLOR,
179 .xpanstep = 0, 181 .xpanstep = 0,
180 .ypanstep = 0, 182 .ypanstep = 1,
181 .ywrapstep = 0, 183 .ywrapstep = 0,
182 .accel = FB_ACCEL_NONE, 184 .accel = FB_ACCEL_NONE,
183}; 185};
@@ -240,9 +242,11 @@ static int atmel_lcdfb_alloc_video_memory(struct atmel_lcdfb_info *sinfo)
240{ 242{
241 struct fb_info *info = sinfo->info; 243 struct fb_info *info = sinfo->info;
242 struct fb_var_screeninfo *var = &info->var; 244 struct fb_var_screeninfo *var = &info->var;
245 unsigned int smem_len;
243 246
244 info->fix.smem_len = (var->xres_virtual * var->yres_virtual 247 smem_len = (var->xres_virtual * var->yres_virtual
245 * ((var->bits_per_pixel + 7) / 8)); 248 * ((var->bits_per_pixel + 7) / 8));
249 info->fix.smem_len = max(smem_len, sinfo->smem_len);
246 250
247 info->screen_base = dma_alloc_writecombine(info->device, info->fix.smem_len, 251 info->screen_base = dma_alloc_writecombine(info->device, info->fix.smem_len,
248 (dma_addr_t *)&info->fix.smem_start, GFP_KERNEL); 252 (dma_addr_t *)&info->fix.smem_start, GFP_KERNEL);
@@ -794,6 +798,7 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev)
794 sinfo->default_monspecs = pdata_sinfo->default_monspecs; 798 sinfo->default_monspecs = pdata_sinfo->default_monspecs;
795 sinfo->atmel_lcdfb_power_control = pdata_sinfo->atmel_lcdfb_power_control; 799 sinfo->atmel_lcdfb_power_control = pdata_sinfo->atmel_lcdfb_power_control;
796 sinfo->guard_time = pdata_sinfo->guard_time; 800 sinfo->guard_time = pdata_sinfo->guard_time;
801 sinfo->smem_len = pdata_sinfo->smem_len;
797 sinfo->lcdcon_is_backlight = pdata_sinfo->lcdcon_is_backlight; 802 sinfo->lcdcon_is_backlight = pdata_sinfo->lcdcon_is_backlight;
798 sinfo->lcd_wiring_mode = pdata_sinfo->lcd_wiring_mode; 803 sinfo->lcd_wiring_mode = pdata_sinfo->lcd_wiring_mode;
799 } else { 804 } else {
diff --git a/drivers/video/aty/radeon_accel.c b/drivers/video/aty/radeon_accel.c
index 4d13f68436e6..aa95f8350242 100644
--- a/drivers/video/aty/radeon_accel.c
+++ b/drivers/video/aty/radeon_accel.c
@@ -55,6 +55,10 @@ static void radeonfb_prim_fillrect(struct radeonfb_info *rinfo,
55 OUTREG(DP_WRITE_MSK, 0xffffffff); 55 OUTREG(DP_WRITE_MSK, 0xffffffff);
56 OUTREG(DP_CNTL, (DST_X_LEFT_TO_RIGHT | DST_Y_TOP_TO_BOTTOM)); 56 OUTREG(DP_CNTL, (DST_X_LEFT_TO_RIGHT | DST_Y_TOP_TO_BOTTOM));
57 57
58 radeon_fifo_wait(2);
59 OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL);
60 OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE));
61
58 radeon_fifo_wait(2); 62 radeon_fifo_wait(2);
59 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); 63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx);
60 OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height); 64 OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height);
@@ -116,6 +120,10 @@ static void radeonfb_prim_copyarea(struct radeonfb_info *rinfo,
116 OUTREG(DP_CNTL, (xdir>=0 ? DST_X_LEFT_TO_RIGHT : 0) 120 OUTREG(DP_CNTL, (xdir>=0 ? DST_X_LEFT_TO_RIGHT : 0)
117 | (ydir>=0 ? DST_Y_TOP_TO_BOTTOM : 0)); 121 | (ydir>=0 ? DST_Y_TOP_TO_BOTTOM : 0));
118 122
123 radeon_fifo_wait(2);
124 OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL);
125 OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE));
126
119 radeon_fifo_wait(3); 127 radeon_fifo_wait(3);
120 OUTREG(SRC_Y_X, (sy << 16) | sx); 128 OUTREG(SRC_Y_X, (sy << 16) | sx);
121 OUTREG(DST_Y_X, (dy << 16) | dx); 129 OUTREG(DST_Y_X, (dy << 16) | dx);
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 33859934a8e4..c6299e8a041d 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2518,7 +2518,7 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h,
2518 c = vc->vc_video_erase_char; 2518 c = vc->vc_video_erase_char;
2519 vc->vc_video_erase_char = 2519 vc->vc_video_erase_char =
2520 ((c & 0xfe00) >> 1) | (c & 0xff); 2520 ((c & 0xfe00) >> 1) | (c & 0xff);
2521 c = vc->vc_def_color; 2521 c = vc->vc_scrl_erase_char;
2522 vc->vc_scrl_erase_char = 2522 vc->vc_scrl_erase_char =
2523 ((c & 0xFE00) >> 1) | (c & 0xFF); 2523 ((c & 0xFE00) >> 1) | (c & 0xFF);
2524 vc->vc_attr >>= 1; 2524 vc->vc_attr >>= 1;
@@ -2551,7 +2551,7 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h,
2551 if (vc->vc_can_do_color) { 2551 if (vc->vc_can_do_color) {
2552 vc->vc_video_erase_char = 2552 vc->vc_video_erase_char =
2553 ((c & 0xff00) << 1) | (c & 0xff); 2553 ((c & 0xff00) << 1) | (c & 0xff);
2554 c = vc->vc_def_color; 2554 c = vc->vc_scrl_erase_char;
2555 vc->vc_scrl_erase_char = 2555 vc->vc_scrl_erase_char =
2556 ((c & 0xFF00) << 1) | (c & 0xFF); 2556 ((c & 0xFF00) << 1) | (c & 0xFF);
2557 vc->vc_attr <<= 1; 2557 vc->vc_attr <<= 1;
diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h
index de1b1365279b..a6e38e9ea73f 100644
--- a/drivers/video/console/fbcon.h
+++ b/drivers/video/console/fbcon.h
@@ -92,7 +92,7 @@ struct fbcon_ops {
92#define attr_fgcol(fgshift,s) \ 92#define attr_fgcol(fgshift,s) \
93 (((s) >> (fgshift)) & 0x0f) 93 (((s) >> (fgshift)) & 0x0f)
94#define attr_bgcol(bgshift,s) \ 94#define attr_bgcol(bgshift,s) \
95 (((s) >> (bgshift)) & 0x07) 95 (((s) >> (bgshift)) & 0x0f)
96 96
97/* Monochrome */ 97/* Monochrome */
98#define attr_bold(s) \ 98#define attr_bold(s) \
diff --git a/drivers/video/matrox/i2c-matroxfb.c b/drivers/video/matrox/i2c-matroxfb.c
index 75ee5a12e549..c14e3e2212b3 100644
--- a/drivers/video/matrox/i2c-matroxfb.c
+++ b/drivers/video/matrox/i2c-matroxfb.c
@@ -87,13 +87,7 @@ static int matroxfb_gpio_getscl(void* data) {
87 return (matroxfb_read_gpio(b->minfo) & b->mask.clock) ? 1 : 0; 87 return (matroxfb_read_gpio(b->minfo) & b->mask.clock) ? 1 : 0;
88} 88}
89 89
90static struct i2c_adapter matrox_i2c_adapter_template = 90static const struct i2c_algo_bit_data matrox_i2c_algo_template =
91{
92 .owner = THIS_MODULE,
93 .id = I2C_HW_B_G400,
94};
95
96static struct i2c_algo_bit_data matrox_i2c_algo_template =
97{ 91{
98 .setsda = matroxfb_gpio_setsda, 92 .setsda = matroxfb_gpio_setsda,
99 .setscl = matroxfb_gpio_setscl, 93 .setscl = matroxfb_gpio_setscl,
@@ -112,7 +106,7 @@ static int i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo,
112 b->minfo = minfo; 106 b->minfo = minfo;
113 b->mask.data = data; 107 b->mask.data = data;
114 b->mask.clock = clock; 108 b->mask.clock = clock;
115 b->adapter = matrox_i2c_adapter_template; 109 b->adapter.owner = THIS_MODULE;
116 snprintf(b->adapter.name, sizeof(b->adapter.name), name, 110 snprintf(b->adapter.name, sizeof(b->adapter.name), name,
117 minfo->fbcon.node); 111 minfo->fbcon.node);
118 i2c_set_adapdata(&b->adapter, b); 112 i2c_set_adapdata(&b->adapter, b);
@@ -187,6 +181,17 @@ static void* i2c_matroxfb_probe(struct matrox_fb_info* minfo) {
187 MAT_DATA, MAT_CLK, "MAVEN:fb%u", 0); 181 MAT_DATA, MAT_CLK, "MAVEN:fb%u", 0);
188 if (err) 182 if (err)
189 printk(KERN_INFO "i2c-matroxfb: Could not register Maven i2c bus. Continuing anyway.\n"); 183 printk(KERN_INFO "i2c-matroxfb: Could not register Maven i2c bus. Continuing anyway.\n");
184 else {
185 struct i2c_board_info maven_info = {
186 I2C_BOARD_INFO("maven", 0x1b),
187 };
188 unsigned short const addr_list[2] = {
189 0x1b, I2C_CLIENT_END
190 };
191
192 i2c_new_probed_device(&m2info->maven.adapter,
193 &maven_info, addr_list);
194 }
190 } 195 }
191 return m2info; 196 return m2info;
192fail_ddc1:; 197fail_ddc1:;
diff --git a/drivers/video/matrox/matroxfb_maven.c b/drivers/video/matrox/matroxfb_maven.c
index 89da27bd5c49..042408a8c631 100644
--- a/drivers/video/matrox/matroxfb_maven.c
+++ b/drivers/video/matrox/matroxfb_maven.c
@@ -19,8 +19,6 @@
19#include <linux/matroxfb.h> 19#include <linux/matroxfb.h>
20#include <asm/div64.h> 20#include <asm/div64.h>
21 21
22#define MAVEN_I2CID (0x1B)
23
24#define MGATVO_B 1 22#define MGATVO_B 1
25#define MGATVO_C 2 23#define MGATVO_C 2
26 24
@@ -128,7 +126,7 @@ static int get_ctrl_id(__u32 v4l2_id) {
128 126
129struct maven_data { 127struct maven_data {
130 struct matrox_fb_info* primary_head; 128 struct matrox_fb_info* primary_head;
131 struct i2c_client client; 129 struct i2c_client *client;
132 int version; 130 int version;
133}; 131};
134 132
@@ -974,7 +972,7 @@ static inline int maven_compute_timming(struct maven_data* md,
974 972
975static int maven_program_timming(struct maven_data* md, 973static int maven_program_timming(struct maven_data* md,
976 const struct mavenregs* m) { 974 const struct mavenregs* m) {
977 struct i2c_client* c = &md->client; 975 struct i2c_client *c = md->client;
978 976
979 if (m->mode == MATROXFB_OUTPUT_MODE_MONITOR) { 977 if (m->mode == MATROXFB_OUTPUT_MODE_MONITOR) {
980 LR(0x80); 978 LR(0x80);
@@ -1011,7 +1009,7 @@ static int maven_program_timming(struct maven_data* md,
1011} 1009}
1012 1010
1013static inline int maven_resync(struct maven_data* md) { 1011static inline int maven_resync(struct maven_data* md) {
1014 struct i2c_client* c = &md->client; 1012 struct i2c_client *c = md->client;
1015 maven_set_reg(c, 0x95, 0x20); /* start whole thing */ 1013 maven_set_reg(c, 0x95, 0x20); /* start whole thing */
1016 return 0; 1014 return 0;
1017} 1015}
@@ -1069,48 +1067,48 @@ static int maven_set_control (struct maven_data* md,
1069 maven_compute_bwlevel(md, &blacklevel, &whitelevel); 1067 maven_compute_bwlevel(md, &blacklevel, &whitelevel);
1070 blacklevel = (blacklevel >> 2) | ((blacklevel & 3) << 8); 1068 blacklevel = (blacklevel >> 2) | ((blacklevel & 3) << 8);
1071 whitelevel = (whitelevel >> 2) | ((whitelevel & 3) << 8); 1069 whitelevel = (whitelevel >> 2) | ((whitelevel & 3) << 8);
1072 maven_set_reg_pair(&md->client, 0x0e, blacklevel); 1070 maven_set_reg_pair(md->client, 0x0e, blacklevel);
1073 maven_set_reg_pair(&md->client, 0x1e, whitelevel); 1071 maven_set_reg_pair(md->client, 0x1e, whitelevel);
1074 } 1072 }
1075 break; 1073 break;
1076 case V4L2_CID_SATURATION: 1074 case V4L2_CID_SATURATION:
1077 { 1075 {
1078 maven_set_reg(&md->client, 0x20, p->value); 1076 maven_set_reg(md->client, 0x20, p->value);
1079 maven_set_reg(&md->client, 0x22, p->value); 1077 maven_set_reg(md->client, 0x22, p->value);
1080 } 1078 }
1081 break; 1079 break;
1082 case V4L2_CID_HUE: 1080 case V4L2_CID_HUE:
1083 { 1081 {
1084 maven_set_reg(&md->client, 0x25, p->value); 1082 maven_set_reg(md->client, 0x25, p->value);
1085 } 1083 }
1086 break; 1084 break;
1087 case V4L2_CID_GAMMA: 1085 case V4L2_CID_GAMMA:
1088 { 1086 {
1089 const struct maven_gamma* g; 1087 const struct maven_gamma* g;
1090 g = maven_compute_gamma(md); 1088 g = maven_compute_gamma(md);
1091 maven_set_reg(&md->client, 0x83, g->reg83); 1089 maven_set_reg(md->client, 0x83, g->reg83);
1092 maven_set_reg(&md->client, 0x84, g->reg84); 1090 maven_set_reg(md->client, 0x84, g->reg84);
1093 maven_set_reg(&md->client, 0x85, g->reg85); 1091 maven_set_reg(md->client, 0x85, g->reg85);
1094 maven_set_reg(&md->client, 0x86, g->reg86); 1092 maven_set_reg(md->client, 0x86, g->reg86);
1095 maven_set_reg(&md->client, 0x87, g->reg87); 1093 maven_set_reg(md->client, 0x87, g->reg87);
1096 maven_set_reg(&md->client, 0x88, g->reg88); 1094 maven_set_reg(md->client, 0x88, g->reg88);
1097 maven_set_reg(&md->client, 0x89, g->reg89); 1095 maven_set_reg(md->client, 0x89, g->reg89);
1098 maven_set_reg(&md->client, 0x8a, g->reg8a); 1096 maven_set_reg(md->client, 0x8a, g->reg8a);
1099 maven_set_reg(&md->client, 0x8b, g->reg8b); 1097 maven_set_reg(md->client, 0x8b, g->reg8b);
1100 } 1098 }
1101 break; 1099 break;
1102 case MATROXFB_CID_TESTOUT: 1100 case MATROXFB_CID_TESTOUT:
1103 { 1101 {
1104 unsigned char val 1102 unsigned char val
1105 = maven_get_reg(&md->client,0x8d); 1103 = maven_get_reg(md->client, 0x8d);
1106 if (p->value) val |= 0x10; 1104 if (p->value) val |= 0x10;
1107 else val &= ~0x10; 1105 else val &= ~0x10;
1108 maven_set_reg(&md->client, 0x8d, val); 1106 maven_set_reg(md->client, 0x8d, val);
1109 } 1107 }
1110 break; 1108 break;
1111 case MATROXFB_CID_DEFLICKER: 1109 case MATROXFB_CID_DEFLICKER:
1112 { 1110 {
1113 maven_set_reg(&md->client, 0x93, maven_compute_deflicker(md)); 1111 maven_set_reg(md->client, 0x93, maven_compute_deflicker(md));
1114 } 1112 }
1115 break; 1113 break;
1116 } 1114 }
@@ -1189,6 +1187,7 @@ static int maven_init_client(struct i2c_client* clnt) {
1189 MINFO_FROM(container_of(clnt->adapter, struct i2c_bit_adapter, adapter)->minfo); 1187 MINFO_FROM(container_of(clnt->adapter, struct i2c_bit_adapter, adapter)->minfo);
1190 1188
1191 md->primary_head = MINFO; 1189 md->primary_head = MINFO;
1190 md->client = clnt;
1192 down_write(&ACCESS_FBINFO(altout.lock)); 1191 down_write(&ACCESS_FBINFO(altout.lock));
1193 ACCESS_FBINFO(outputs[1]).output = &maven_altout; 1192 ACCESS_FBINFO(outputs[1]).output = &maven_altout;
1194 ACCESS_FBINFO(outputs[1]).src = ACCESS_FBINFO(outputs[1]).default_src; 1193 ACCESS_FBINFO(outputs[1]).src = ACCESS_FBINFO(outputs[1]).default_src;
@@ -1232,14 +1231,11 @@ static int maven_shutdown_client(struct i2c_client* clnt) {
1232 return 0; 1231 return 0;
1233} 1232}
1234 1233
1235static const unsigned short normal_i2c[] = { MAVEN_I2CID, I2C_CLIENT_END }; 1234static int maven_probe(struct i2c_client *client,
1236I2C_CLIENT_INSMOD; 1235 const struct i2c_device_id *id)
1237 1236{
1238static struct i2c_driver maven_driver; 1237 struct i2c_adapter *adapter = client->adapter;
1239 1238 int err = -ENODEV;
1240static int maven_detect_client(struct i2c_adapter* adapter, int address, int kind) {
1241 int err = 0;
1242 struct i2c_client* new_client;
1243 struct maven_data* data; 1239 struct maven_data* data;
1244 1240
1245 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WRITE_WORD_DATA | 1241 if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WRITE_WORD_DATA |
@@ -1250,50 +1246,37 @@ static int maven_detect_client(struct i2c_adapter* adapter, int address, int kin
1250 err = -ENOMEM; 1246 err = -ENOMEM;
1251 goto ERROR0; 1247 goto ERROR0;
1252 } 1248 }
1253 new_client = &data->client; 1249 i2c_set_clientdata(client, data);
1254 i2c_set_clientdata(new_client, data); 1250 err = maven_init_client(client);
1255 new_client->addr = address;
1256 new_client->adapter = adapter;
1257 new_client->driver = &maven_driver;
1258 new_client->flags = 0;
1259 strlcpy(new_client->name, "maven", I2C_NAME_SIZE);
1260 if ((err = i2c_attach_client(new_client)))
1261 goto ERROR3;
1262 err = maven_init_client(new_client);
1263 if (err) 1251 if (err)
1264 goto ERROR4; 1252 goto ERROR4;
1265 return 0; 1253 return 0;
1266ERROR4:; 1254ERROR4:;
1267 i2c_detach_client(new_client); 1255 kfree(data);
1268ERROR3:;
1269 kfree(new_client);
1270ERROR0:; 1256ERROR0:;
1271 return err; 1257 return err;
1272} 1258}
1273 1259
1274static int maven_attach_adapter(struct i2c_adapter* adapter) { 1260static int maven_remove(struct i2c_client *client)
1275 if (adapter->id == I2C_HW_B_G400) 1261{
1276 return i2c_probe(adapter, &addr_data, &maven_detect_client);
1277 return 0;
1278}
1279
1280static int maven_detach_client(struct i2c_client* client) {
1281 int err;
1282
1283 if ((err = i2c_detach_client(client)))
1284 return err;
1285 maven_shutdown_client(client); 1262 maven_shutdown_client(client);
1286 kfree(i2c_get_clientdata(client)); 1263 kfree(i2c_get_clientdata(client));
1287 return 0; 1264 return 0;
1288} 1265}
1289 1266
1267static const struct i2c_device_id maven_id[] = {
1268 { "maven", 0 },
1269 { }
1270};
1271MODULE_DEVICE_TABLE(i2c, maven_id);
1272
1290static struct i2c_driver maven_driver={ 1273static struct i2c_driver maven_driver={
1291 .driver = { 1274 .driver = {
1292 .name = "maven", 1275 .name = "maven",
1293 }, 1276 },
1294 .id = I2C_DRIVERID_MGATVO, 1277 .probe = maven_probe,
1295 .attach_adapter = maven_attach_adapter, 1278 .remove = maven_remove,
1296 .detach_client = maven_detach_client, 1279 .id_table = maven_id,
1297}; 1280};
1298 1281
1299static int __init matroxfb_maven_init(void) 1282static int __init matroxfb_maven_init(void)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 32b9fe153641..db20542796bf 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -285,10 +285,11 @@ config ALIM1535_WDT
285 285
286config ALIM7101_WDT 286config ALIM7101_WDT
287 tristate "ALi M7101 PMU Computer Watchdog" 287 tristate "ALi M7101 PMU Computer Watchdog"
288 depends on X86 && PCI 288 depends on PCI
289 help 289 help
290 This is the driver for the hardware watchdog on the ALi M7101 PMU 290 This is the driver for the hardware watchdog on the ALi M7101 PMU
291 as used in the x86 Cobalt servers. 291 as used in the x86 Cobalt servers and also found in some
292 SPARC Netra servers too.
292 293
293 To compile this driver as a module, choose M here: the 294 To compile this driver as a module, choose M here: the
294 module will be called alim7101_wdt. 295 module will be called alim7101_wdt.
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 049c91895699..ca3dc043d786 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -66,7 +66,10 @@ obj-$(CONFIG_IB700_WDT) += ib700wdt.o
66obj-$(CONFIG_IBMASR) += ibmasr.o 66obj-$(CONFIG_IBMASR) += ibmasr.o
67obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o 67obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
68obj-$(CONFIG_I6300ESB_WDT) += i6300esb.o 68obj-$(CONFIG_I6300ESB_WDT) += i6300esb.o
69obj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o iTCO_vendor_support.o 69obj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o
70ifeq ($(CONFIG_ITCO_VENDOR_SUPPORT),y)
71obj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o
72endif
70obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o 73obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o
71obj-$(CONFIG_HP_WATCHDOG) += hpwdt.o 74obj-$(CONFIG_HP_WATCHDOG) += hpwdt.o
72obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o 75obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c
index bacd867dd22e..d061f0ad2d20 100644
--- a/drivers/watchdog/at91rm9200_wdt.c
+++ b/drivers/watchdog/at91rm9200_wdt.c
@@ -128,7 +128,7 @@ static struct watchdog_info at91_wdt_info = {
128/* 128/*
129 * Handle commands from user-space. 129 * Handle commands from user-space.
130 */ 130 */
131static long at91_wdt_ioct(struct file *file, 131static long at91_wdt_ioctl(struct file *file,
132 unsigned int cmd, unsigned long arg) 132 unsigned int cmd, unsigned long arg)
133{ 133{
134 void __user *argp = (void __user *)arg; 134 void __user *argp = (void __user *)arg;
diff --git a/drivers/watchdog/ixp4xx_wdt.c b/drivers/watchdog/ixp4xx_wdt.c
index 41264a5f1731..8302ef005be7 100644
--- a/drivers/watchdog/ixp4xx_wdt.c
+++ b/drivers/watchdog/ixp4xx_wdt.c
@@ -29,7 +29,7 @@ static int nowayout = WATCHDOG_NOWAYOUT;
29static int heartbeat = 60; /* (secs) Default is 1 minute */ 29static int heartbeat = 60; /* (secs) Default is 1 minute */
30static unsigned long wdt_status; 30static unsigned long wdt_status;
31static unsigned long boot_status; 31static unsigned long boot_status;
32static spin_lock_t wdt_lock; 32static DEFINE_SPINLOCK(wdt_lock);
33 33
34#define WDT_TICK_RATE (IXP4XX_PERIPHERAL_BUS_CLOCK * 1000000UL) 34#define WDT_TICK_RATE (IXP4XX_PERIPHERAL_BUS_CLOCK * 1000000UL)
35 35
diff --git a/drivers/watchdog/pcwd.c b/drivers/watchdog/pcwd.c
index 3b0ddc7fcf3f..9e1331a3b215 100644
--- a/drivers/watchdog/pcwd.c
+++ b/drivers/watchdog/pcwd.c
@@ -168,7 +168,7 @@ static const int heartbeat_tbl[] = {
168static int cards_found; 168static int cards_found;
169 169
170/* internal variables */ 170/* internal variables */
171static atomic_t open_allowed = ATOMIC_INIT(1); 171static unsigned long open_allowed;
172static char expect_close; 172static char expect_close;
173static int temp_panic; 173static int temp_panic;
174 174
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c
index 824125adf90a..cdc7138be301 100644
--- a/drivers/watchdog/shwdt.c
+++ b/drivers/watchdog/shwdt.c
@@ -30,7 +30,7 @@
30#include <linux/mm.h> 30#include <linux/mm.h>
31#include <linux/io.h> 31#include <linux/io.h>
32#include <linux/uaccess.h> 32#include <linux/uaccess.h>
33#include <linux/watchdog.h> 33#include <asm/watchdog.h>
34 34
35#define PFX "shwdt: " 35#define PFX "shwdt: "
36 36
@@ -68,7 +68,7 @@ static int clock_division_ratio = WTCSR_CKS_4096;
68static void sh_wdt_ping(unsigned long data); 68static void sh_wdt_ping(unsigned long data);
69 69
70static unsigned long shwdt_is_open; 70static unsigned long shwdt_is_open;
71static struct watchdog_info sh_wdt_info; 71static const struct watchdog_info sh_wdt_info;
72static char shwdt_expect_close; 72static char shwdt_expect_close;
73static DEFINE_TIMER(timer, sh_wdt_ping, 0, 0); 73static DEFINE_TIMER(timer, sh_wdt_ping, 0, 0);
74static unsigned long next_heartbeat; 74static unsigned long next_heartbeat;
@@ -89,7 +89,7 @@ static void sh_wdt_start(void)
89 __u8 csr; 89 __u8 csr;
90 unsigned long flags; 90 unsigned long flags;
91 91
92 spin_lock_irqsave(&wdt_lock, flags); 92 spin_lock_irqsave(&shwdt_lock, flags);
93 93
94 next_heartbeat = jiffies + (heartbeat * HZ); 94 next_heartbeat = jiffies + (heartbeat * HZ);
95 mod_timer(&timer, next_ping_period(clock_division_ratio)); 95 mod_timer(&timer, next_ping_period(clock_division_ratio));
@@ -127,7 +127,7 @@ static void sh_wdt_start(void)
127 csr &= ~RSTCSR_RSTS; 127 csr &= ~RSTCSR_RSTS;
128 sh_wdt_write_rstcsr(csr); 128 sh_wdt_write_rstcsr(csr);
129#endif 129#endif
130 spin_unlock_irqrestore(&wdt_lock, flags); 130 spin_unlock_irqrestore(&shwdt_lock, flags);
131} 131}
132 132
133/** 133/**
@@ -139,14 +139,14 @@ static void sh_wdt_stop(void)
139 __u8 csr; 139 __u8 csr;
140 unsigned long flags; 140 unsigned long flags;
141 141
142 spin_lock_irqsave(&wdt_lock, flags); 142 spin_lock_irqsave(&shwdt_lock, flags);
143 143
144 del_timer(&timer); 144 del_timer(&timer);
145 145
146 csr = sh_wdt_read_csr(); 146 csr = sh_wdt_read_csr();
147 csr &= ~WTCSR_TME; 147 csr &= ~WTCSR_TME;
148 sh_wdt_write_csr(csr); 148 sh_wdt_write_csr(csr);
149 spin_unlock_irqrestore(&wdt_lock, flags); 149 spin_unlock_irqrestore(&shwdt_lock, flags);
150} 150}
151 151
152/** 152/**
@@ -157,9 +157,9 @@ static inline void sh_wdt_keepalive(void)
157{ 157{
158 unsigned long flags; 158 unsigned long flags;
159 159
160 spin_lock_irqsave(&wdt_lock, flags); 160 spin_lock_irqsave(&shwdt_lock, flags);
161 next_heartbeat = jiffies + (heartbeat * HZ); 161 next_heartbeat = jiffies + (heartbeat * HZ);
162 spin_unlock_irqrestore(&wdt_lock, flags); 162 spin_unlock_irqrestore(&shwdt_lock, flags);
163} 163}
164 164
165/** 165/**
@@ -173,9 +173,9 @@ static int sh_wdt_set_heartbeat(int t)
173 if (unlikely(t < 1 || t > 3600)) /* arbitrary upper limit */ 173 if (unlikely(t < 1 || t > 3600)) /* arbitrary upper limit */
174 return -EINVAL; 174 return -EINVAL;
175 175
176 spin_lock_irqsave(&wdt_lock, flags); 176 spin_lock_irqsave(&shwdt_lock, flags);
177 heartbeat = t; 177 heartbeat = t;
178 spin_unlock_irqrestore(&wdt_lock, flags); 178 spin_unlock_irqrestore(&shwdt_lock, flags);
179 return 0; 179 return 0;
180} 180}
181 181
@@ -189,7 +189,7 @@ static void sh_wdt_ping(unsigned long data)
189{ 189{
190 unsigned long flags; 190 unsigned long flags;
191 191
192 spin_lock_irqsave(&wdt_lock, flags); 192 spin_lock_irqsave(&shwdt_lock, flags);
193 if (time_before(jiffies, next_heartbeat)) { 193 if (time_before(jiffies, next_heartbeat)) {
194 __u8 csr; 194 __u8 csr;
195 195
@@ -203,7 +203,7 @@ static void sh_wdt_ping(unsigned long data)
203 } else 203 } else
204 printk(KERN_WARNING PFX "Heartbeat lost! Will not ping " 204 printk(KERN_WARNING PFX "Heartbeat lost! Will not ping "
205 "the watchdog\n"); 205 "the watchdog\n");
206 spin_unlock_irqrestore(&wdt_lock, flags); 206 spin_unlock_irqrestore(&shwdt_lock, flags);
207} 207}
208 208
209/** 209/**
diff --git a/drivers/watchdog/txx9wdt.c b/drivers/watchdog/txx9wdt.c
index dbbc018a5f46..6adab77fbbb0 100644
--- a/drivers/watchdog/txx9wdt.c
+++ b/drivers/watchdog/txx9wdt.c
@@ -45,7 +45,7 @@ static unsigned long txx9wdt_alive;
45static int expect_close; 45static int expect_close;
46static struct txx9_tmr_reg __iomem *txx9wdt_reg; 46static struct txx9_tmr_reg __iomem *txx9wdt_reg;
47static struct clk *txx9_imclk; 47static struct clk *txx9_imclk;
48static DECLARE_LOCK(txx9_lock); 48static DEFINE_SPINLOCK(txx9_lock);
49 49
50static void txx9wdt_ping(void) 50static void txx9wdt_ping(void)
51{ 51{
diff --git a/drivers/watchdog/wdt285.c b/drivers/watchdog/wdt285.c
index c8d7f1b2df02..db362c34958b 100644
--- a/drivers/watchdog/wdt285.c
+++ b/drivers/watchdog/wdt285.c
@@ -208,7 +208,7 @@ static int __init footbridge_watchdog_init(void)
208 soft_margin); 208 soft_margin);
209 209
210 if (machine_is_cats()) 210 if (machine_is_cats())
211 printk(KERN_WARN 211 printk(KERN_WARNING
212 "Warning: Watchdog reset may not work on this machine.\n"); 212 "Warning: Watchdog reset may not work on this machine.\n");
213 return 0; 213 return 0;
214} 214}
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 0c87474f7917..7cc0eb756b55 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1041,10 +1041,7 @@ retry:
1041} 1041}
1042 1042
1043/* 1043/*
1044 * It opens an eventpoll file descriptor. The "size" parameter is there 1044 * Open an eventpoll file descriptor.
1045 * for historical reasons, when epoll was using an hash instead of an
1046 * RB tree. With the current implementation, the "size" parameter is ignored
1047 * (besides sanity checks).
1048 */ 1045 */
1049asmlinkage long sys_epoll_create1(int flags) 1046asmlinkage long sys_epoll_create1(int flags)
1050{ 1047{
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
index 399444639337..4a714f64515b 100644
--- a/fs/lockd/svc4proc.c
+++ b/fs/lockd/svc4proc.c
@@ -83,7 +83,7 @@ nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
83{ 83{
84 struct nlm_host *host; 84 struct nlm_host *host;
85 struct nlm_file *file; 85 struct nlm_file *file;
86 int rc = rpc_success; 86 __be32 rc = rpc_success;
87 87
88 dprintk("lockd: TEST4 called\n"); 88 dprintk("lockd: TEST4 called\n");
89 resp->cookie = argp->cookie; 89 resp->cookie = argp->cookie;
@@ -116,7 +116,7 @@ nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
116{ 116{
117 struct nlm_host *host; 117 struct nlm_host *host;
118 struct nlm_file *file; 118 struct nlm_file *file;
119 int rc = rpc_success; 119 __be32 rc = rpc_success;
120 120
121 dprintk("lockd: LOCK called\n"); 121 dprintk("lockd: LOCK called\n");
122 122
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
index 76019d2ff72d..76262c1986f2 100644
--- a/fs/lockd/svcproc.c
+++ b/fs/lockd/svcproc.c
@@ -112,7 +112,7 @@ nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
112{ 112{
113 struct nlm_host *host; 113 struct nlm_host *host;
114 struct nlm_file *file; 114 struct nlm_file *file;
115 int rc = rpc_success; 115 __be32 rc = rpc_success;
116 116
117 dprintk("lockd: TEST called\n"); 117 dprintk("lockd: TEST called\n");
118 resp->cookie = argp->cookie; 118 resp->cookie = argp->cookie;
@@ -146,7 +146,7 @@ nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
146{ 146{
147 struct nlm_host *host; 147 struct nlm_host *host;
148 struct nlm_file *file; 148 struct nlm_file *file;
149 int rc = rpc_success; 149 __be32 rc = rpc_success;
150 150
151 dprintk("lockd: LOCK called\n"); 151 dprintk("lockd: LOCK called\n");
152 152
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 33bfcf09db46..9dc036f18356 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1023,7 +1023,7 @@ exp_export(struct nfsctl_export *nxp)
1023 /* Look up the dentry */ 1023 /* Look up the dentry */
1024 err = path_lookup(nxp->ex_path, 0, &nd); 1024 err = path_lookup(nxp->ex_path, 0, &nd);
1025 if (err) 1025 if (err)
1026 goto out_unlock; 1026 goto out_put_clp;
1027 err = -EINVAL; 1027 err = -EINVAL;
1028 1028
1029 exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL); 1029 exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL);
@@ -1090,9 +1090,9 @@ finish:
1090 exp_put(exp); 1090 exp_put(exp);
1091 if (fsid_key && !IS_ERR(fsid_key)) 1091 if (fsid_key && !IS_ERR(fsid_key))
1092 cache_put(&fsid_key->h, &svc_expkey_cache); 1092 cache_put(&fsid_key->h, &svc_expkey_cache);
1093 if (clp)
1094 auth_domain_put(clp);
1095 path_put(&nd.path); 1093 path_put(&nd.path);
1094out_put_clp:
1095 auth_domain_put(clp);
1096out_unlock: 1096out_unlock:
1097 exp_writeunlock(); 1097 exp_writeunlock();
1098out: 1098out:
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 282a13596c70..d318c7e663fa 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -27,7 +27,6 @@
27#include <linux/mnt_namespace.h> 27#include <linux/mnt_namespace.h>
28#include <linux/mount.h> 28#include <linux/mount.h>
29#include <linux/namei.h> 29#include <linux/namei.h>
30#include <linux/quotaops.h>
31 30
32struct file_system_type reiserfs_fs_type; 31struct file_system_type reiserfs_fs_type;
33 32
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 3f54dbd6c49b..5d54205e486b 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -443,6 +443,20 @@ int seq_dentry(struct seq_file *m, struct dentry *dentry, char *esc)
443 return -1; 443 return -1;
444} 444}
445 445
446int seq_bitmap(struct seq_file *m, unsigned long *bits, unsigned int nr_bits)
447{
448 size_t len = bitmap_scnprintf_len(nr_bits);
449
450 if (m->count + len < m->size) {
451 bitmap_scnprintf(m->buf + m->count, m->size - m->count,
452 bits, nr_bits);
453 m->count += len;
454 return 0;
455 }
456 m->count = m->size;
457 return -1;
458}
459
446static void *single_start(struct seq_file *p, loff_t *pos) 460static void *single_start(struct seq_file *p, loff_t *pos)
447{ 461{
448 return NULL + (*pos == 0); 462 return NULL + (*pos == 0);
diff --git a/include/asm-avr32/arch-at32ap/at32ap700x.h b/include/asm-avr32/arch-at32ap/at32ap700x.h
deleted file mode 100644
index d18a3053be0d..000000000000
--- a/include/asm-avr32/arch-at32ap/at32ap700x.h
+++ /dev/null
@@ -1,49 +0,0 @@
1/*
2 * Pin definitions for AT32AP7000.
3 *
4 * Copyright (C) 2006 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARCH_AT32AP700X_H__
11#define __ASM_ARCH_AT32AP700X_H__
12
13#define GPIO_PERIPH_A 0
14#define GPIO_PERIPH_B 1
15
16/*
17 * Pin numbers identifying specific GPIO pins on the chip. They can
18 * also be converted to IRQ numbers by passing them through
19 * gpio_to_irq().
20 */
21#define GPIO_PIOA_BASE (0)
22#define GPIO_PIOB_BASE (GPIO_PIOA_BASE + 32)
23#define GPIO_PIOC_BASE (GPIO_PIOB_BASE + 32)
24#define GPIO_PIOD_BASE (GPIO_PIOC_BASE + 32)
25#define GPIO_PIOE_BASE (GPIO_PIOD_BASE + 32)
26
27#define GPIO_PIN_PA(N) (GPIO_PIOA_BASE + (N))
28#define GPIO_PIN_PB(N) (GPIO_PIOB_BASE + (N))
29#define GPIO_PIN_PC(N) (GPIO_PIOC_BASE + (N))
30#define GPIO_PIN_PD(N) (GPIO_PIOD_BASE + (N))
31#define GPIO_PIN_PE(N) (GPIO_PIOE_BASE + (N))
32
33
34/*
35 * DMAC peripheral hardware handshaking interfaces, used with dw_dmac
36 */
37#define DMAC_MCI_RX 0
38#define DMAC_MCI_TX 1
39#define DMAC_DAC_TX 2
40#define DMAC_AC97_A_RX 3
41#define DMAC_AC97_A_TX 4
42#define DMAC_AC97_B_RX 5
43#define DMAC_AC97_B_TX 6
44#define DMAC_DMAREQ_0 7
45#define DMAC_DMAREQ_1 8
46#define DMAC_DMAREQ_2 9
47#define DMAC_DMAREQ_3 10
48
49#endif /* __ASM_ARCH_AT32AP700X_H__ */
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h
deleted file mode 100644
index e60e9076544d..000000000000
--- a/include/asm-avr32/arch-at32ap/board.h
+++ /dev/null
@@ -1,121 +0,0 @@
1/*
2 * Platform data definitions.
3 */
4#ifndef __ASM_ARCH_BOARD_H
5#define __ASM_ARCH_BOARD_H
6
7#include <linux/types.h>
8
9#define GPIO_PIN_NONE (-1)
10
11/*
12 * Clock rates for various on-board oscillators. The number of entries
13 * in this array is chip-dependent.
14 */
15extern unsigned long at32_board_osc_rates[];
16
17/* Add basic devices: system manager, interrupt controller, portmuxes, etc. */
18void at32_add_system_devices(void);
19
20#define ATMEL_MAX_UART 4
21extern struct platform_device *atmel_default_console_device;
22
23struct atmel_uart_data {
24 short use_dma_tx; /* use transmit DMA? */
25 short use_dma_rx; /* use receive DMA? */
26 void __iomem *regs; /* virtual base address, if any */
27};
28void at32_map_usart(unsigned int hw_id, unsigned int line);
29struct platform_device *at32_add_device_usart(unsigned int id);
30
31struct eth_platform_data {
32 u32 phy_mask;
33 u8 is_rmii;
34};
35struct platform_device *
36at32_add_device_eth(unsigned int id, struct eth_platform_data *data);
37
38struct spi_board_info;
39struct platform_device *
40at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n);
41
42struct atmel_lcdfb_info;
43struct platform_device *
44at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data,
45 unsigned long fbmem_start, unsigned long fbmem_len,
46 unsigned int pin_config);
47
48struct usba_platform_data;
49struct platform_device *
50at32_add_device_usba(unsigned int id, struct usba_platform_data *data);
51
52struct ide_platform_data {
53 u8 cs;
54};
55struct platform_device *
56at32_add_device_ide(unsigned int id, unsigned int extint,
57 struct ide_platform_data *data);
58
59/* mask says which PWM channels to mux */
60struct platform_device *at32_add_device_pwm(u32 mask);
61
62/* depending on what's hooked up, not all SSC pins will be used */
63#define ATMEL_SSC_TK 0x01
64#define ATMEL_SSC_TF 0x02
65#define ATMEL_SSC_TD 0x04
66#define ATMEL_SSC_TX (ATMEL_SSC_TK | ATMEL_SSC_TF | ATMEL_SSC_TD)
67
68#define ATMEL_SSC_RK 0x10
69#define ATMEL_SSC_RF 0x20
70#define ATMEL_SSC_RD 0x40
71#define ATMEL_SSC_RX (ATMEL_SSC_RK | ATMEL_SSC_RF | ATMEL_SSC_RD)
72
73struct platform_device *
74at32_add_device_ssc(unsigned int id, unsigned int flags);
75
76struct i2c_board_info;
77struct platform_device *at32_add_device_twi(unsigned int id,
78 struct i2c_board_info *b,
79 unsigned int n);
80
81struct mci_platform_data;
82struct platform_device *
83at32_add_device_mci(unsigned int id, struct mci_platform_data *data);
84
85struct ac97c_platform_data {
86 unsigned short dma_rx_periph_id;
87 unsigned short dma_tx_periph_id;
88 unsigned short dma_controller_id;
89 int reset_pin;
90};
91struct platform_device *
92at32_add_device_ac97c(unsigned int id, struct ac97c_platform_data *data);
93
94struct platform_device *at32_add_device_abdac(unsigned int id);
95struct platform_device *at32_add_device_psif(unsigned int id);
96
97struct cf_platform_data {
98 int detect_pin;
99 int reset_pin;
100 int vcc_pin;
101 int ready_pin;
102 u8 cs;
103};
104struct platform_device *
105at32_add_device_cf(unsigned int id, unsigned int extint,
106 struct cf_platform_data *data);
107
108/* NAND / SmartMedia */
109struct atmel_nand_data {
110 int enable_pin; /* chip enable */
111 int det_pin; /* card detect */
112 int rdy_pin; /* ready/busy */
113 u8 ale; /* address line number connected to ALE */
114 u8 cle; /* address line number connected to CLE */
115 u8 bus_width_16; /* buswidth is 16 bit */
116 struct mtd_partition *(*partition_info)(int size, int *num_partitions);
117};
118struct platform_device *
119at32_add_device_nand(unsigned int id, struct atmel_nand_data *data);
120
121#endif /* __ASM_ARCH_BOARD_H */
diff --git a/include/asm-avr32/arch-at32ap/cpu.h b/include/asm-avr32/arch-at32ap/cpu.h
deleted file mode 100644
index 44d0bfa1f409..000000000000
--- a/include/asm-avr32/arch-at32ap/cpu.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2 * AVR32 and (fake) AT91 CPU identification
3 *
4 * Copyright (C) 2007 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARCH_CPU_H
11#define __ASM_ARCH_CPU_H
12
13/*
14 * Only AT32AP7000 is defined for now. We can identify the specific
15 * chip at runtime, but I'm not sure if it's really worth it.
16 */
17#ifdef CONFIG_CPU_AT32AP700X
18# define cpu_is_at32ap7000() (1)
19#else
20# define cpu_is_at32ap7000() (0)
21#endif
22
23/*
24 * Since this is AVR32, we will never run on any AT91 CPU. But these
25 * definitions may reduce clutter in common drivers.
26 */
27#define cpu_is_at91rm9200() (0)
28#define cpu_is_at91sam9xe() (0)
29#define cpu_is_at91sam9260() (0)
30#define cpu_is_at91sam9261() (0)
31#define cpu_is_at91sam9263() (0)
32#define cpu_is_at91sam9rl() (0)
33#define cpu_is_at91cap9() (0)
34
35#endif /* __ASM_ARCH_CPU_H */
diff --git a/include/asm-avr32/arch-at32ap/gpio.h b/include/asm-avr32/arch-at32ap/gpio.h
deleted file mode 100644
index 0180f584ef03..000000000000
--- a/include/asm-avr32/arch-at32ap/gpio.h
+++ /dev/null
@@ -1,45 +0,0 @@
1#ifndef __ASM_AVR32_ARCH_GPIO_H
2#define __ASM_AVR32_ARCH_GPIO_H
3
4#include <linux/compiler.h>
5#include <asm/irq.h>
6
7
8/* Some GPIO chips can manage IRQs; some can't. The exact numbers can
9 * be changed if needed, but for the moment they're not configurable.
10 */
11#define ARCH_NR_GPIOS (NR_GPIO_IRQS + 2 * 32)
12
13
14/* Arch-neutral GPIO API, supporting both "native" and external GPIOs. */
15#include <asm-generic/gpio.h>
16
17static inline int gpio_get_value(unsigned int gpio)
18{
19 return __gpio_get_value(gpio);
20}
21
22static inline void gpio_set_value(unsigned int gpio, int value)
23{
24 __gpio_set_value(gpio, value);
25}
26
27static inline int gpio_cansleep(unsigned int gpio)
28{
29 return __gpio_cansleep(gpio);
30}
31
32
33static inline int gpio_to_irq(unsigned int gpio)
34{
35 if (gpio < NR_GPIO_IRQS)
36 return gpio + GPIO_IRQ_BASE;
37 return -EINVAL;
38}
39
40static inline int irq_to_gpio(unsigned int irq)
41{
42 return irq - GPIO_IRQ_BASE;
43}
44
45#endif /* __ASM_AVR32_ARCH_GPIO_H */
diff --git a/include/asm-avr32/arch-at32ap/init.h b/include/asm-avr32/arch-at32ap/init.h
deleted file mode 100644
index bc40e3d46150..000000000000
--- a/include/asm-avr32/arch-at32ap/init.h
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2 * AT32AP platform initialization calls.
3 *
4 * Copyright (C) 2006 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_AVR32_AT32AP_INIT_H__
11#define __ASM_AVR32_AT32AP_INIT_H__
12
13void setup_platform(void);
14void setup_board(void);
15
16void at32_setup_serial_console(unsigned int usart_id);
17
18#endif /* __ASM_AVR32_AT32AP_INIT_H__ */
diff --git a/include/asm-avr32/arch-at32ap/io.h b/include/asm-avr32/arch-at32ap/io.h
deleted file mode 100644
index 4ec6abc68ea3..000000000000
--- a/include/asm-avr32/arch-at32ap/io.h
+++ /dev/null
@@ -1,39 +0,0 @@
1#ifndef __ASM_AVR32_ARCH_AT32AP_IO_H
2#define __ASM_AVR32_ARCH_AT32AP_IO_H
3
4/* For "bizarre" halfword swapping */
5#include <linux/byteorder/swabb.h>
6
7#if defined(CONFIG_AP700X_32_BIT_SMC)
8# define __swizzle_addr_b(addr) (addr ^ 3UL)
9# define __swizzle_addr_w(addr) (addr ^ 2UL)
10# define __swizzle_addr_l(addr) (addr)
11# define ioswabb(a, x) (x)
12# define ioswabw(a, x) (x)
13# define ioswabl(a, x) (x)
14# define __mem_ioswabb(a, x) (x)
15# define __mem_ioswabw(a, x) swab16(x)
16# define __mem_ioswabl(a, x) swab32(x)
17#elif defined(CONFIG_AP700X_16_BIT_SMC)
18# define __swizzle_addr_b(addr) (addr ^ 1UL)
19# define __swizzle_addr_w(addr) (addr)
20# define __swizzle_addr_l(addr) (addr)
21# define ioswabb(a, x) (x)
22# define ioswabw(a, x) (x)
23# define ioswabl(a, x) swahw32(x)
24# define __mem_ioswabb(a, x) (x)
25# define __mem_ioswabw(a, x) swab16(x)
26# define __mem_ioswabl(a, x) swahb32(x)
27#else
28# define __swizzle_addr_b(addr) (addr)
29# define __swizzle_addr_w(addr) (addr)
30# define __swizzle_addr_l(addr) (addr)
31# define ioswabb(a, x) (x)
32# define ioswabw(a, x) swab16(x)
33# define ioswabl(a, x) swab32(x)
34# define __mem_ioswabb(a, x) (x)
35# define __mem_ioswabw(a, x) (x)
36# define __mem_ioswabl(a, x) (x)
37#endif
38
39#endif /* __ASM_AVR32_ARCH_AT32AP_IO_H */
diff --git a/include/asm-avr32/arch-at32ap/irq.h b/include/asm-avr32/arch-at32ap/irq.h
deleted file mode 100644
index 608e350368c7..000000000000
--- a/include/asm-avr32/arch-at32ap/irq.h
+++ /dev/null
@@ -1,14 +0,0 @@
1#ifndef __ASM_AVR32_ARCH_IRQ_H
2#define __ASM_AVR32_ARCH_IRQ_H
3
4#define EIM_IRQ_BASE NR_INTERNAL_IRQS
5#define NR_EIM_IRQS 32
6#define AT32_EXTINT(n) (EIM_IRQ_BASE + (n))
7
8#define GPIO_IRQ_BASE (EIM_IRQ_BASE + NR_EIM_IRQS)
9#define NR_GPIO_CTLR (5 /*internal*/ + 1 /*external*/)
10#define NR_GPIO_IRQS (NR_GPIO_CTLR * 32)
11
12#define NR_IRQS (GPIO_IRQ_BASE + NR_GPIO_IRQS)
13
14#endif /* __ASM_AVR32_ARCH_IRQ_H */
diff --git a/include/asm-avr32/arch-at32ap/pm.h b/include/asm-avr32/arch-at32ap/pm.h
deleted file mode 100644
index 979b355b77b6..000000000000
--- a/include/asm-avr32/arch-at32ap/pm.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2 * AVR32 AP Power Management.
3 *
4 * Copyright (C) 2008 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_AVR32_ARCH_PM_H
11#define __ASM_AVR32_ARCH_PM_H
12
13/* Possible arguments to the "sleep" instruction */
14#define CPU_SLEEP_IDLE 0
15#define CPU_SLEEP_FROZEN 1
16#define CPU_SLEEP_STANDBY 2
17#define CPU_SLEEP_STOP 3
18#define CPU_SLEEP_STATIC 5
19
20#ifndef __ASSEMBLY__
21extern void cpu_enter_idle(void);
22extern void cpu_enter_standby(unsigned long sdramc_base);
23
24extern bool disable_idle_sleep;
25
26static inline void cpu_disable_idle_sleep(void)
27{
28 disable_idle_sleep = true;
29}
30
31static inline void cpu_enable_idle_sleep(void)
32{
33 disable_idle_sleep = false;
34}
35
36static inline void cpu_idle_sleep(void)
37{
38 /*
39 * If we're using the COUNT and COMPARE registers for
40 * timekeeping, we can't use the IDLE state.
41 */
42 if (disable_idle_sleep)
43 cpu_relax();
44 else
45 cpu_enter_idle();
46}
47
48void intc_set_suspend_handler(unsigned long offset);
49#endif
50
51#endif /* __ASM_AVR32_ARCH_PM_H */
diff --git a/include/asm-avr32/arch-at32ap/portmux.h b/include/asm-avr32/arch-at32ap/portmux.h
deleted file mode 100644
index b1abe6b4e4ef..000000000000
--- a/include/asm-avr32/arch-at32ap/portmux.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * AT32 portmux interface.
3 *
4 * Copyright (C) 2006 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARCH_PORTMUX_H__
11#define __ASM_ARCH_PORTMUX_H__
12
13/*
14 * Set up pin multiplexing, called from board init only.
15 *
16 * The following flags determine the initial state of the pin.
17 */
18#define AT32_GPIOF_PULLUP 0x00000001 /* (not-OUT) Enable pull-up */
19#define AT32_GPIOF_OUTPUT 0x00000002 /* (OUT) Enable output driver */
20#define AT32_GPIOF_HIGH 0x00000004 /* (OUT) Set output high */
21#define AT32_GPIOF_DEGLITCH 0x00000008 /* (IN) Filter glitches */
22#define AT32_GPIOF_MULTIDRV 0x00000010 /* Enable multidriver option */
23
24void at32_select_periph(unsigned int pin, unsigned int periph,
25 unsigned long flags);
26void at32_select_gpio(unsigned int pin, unsigned long flags);
27void at32_reserve_pin(unsigned int pin);
28
29#endif /* __ASM_ARCH_PORTMUX_H__ */
diff --git a/include/asm-avr32/arch-at32ap/smc.h b/include/asm-avr32/arch-at32ap/smc.h
deleted file mode 100644
index c98eea44a70a..000000000000
--- a/include/asm-avr32/arch-at32ap/smc.h
+++ /dev/null
@@ -1,113 +0,0 @@
1/*
2 * Static Memory Controller for AT32 chips
3 *
4 * Copyright (C) 2006 Atmel Corporation
5 *
6 * Inspired by the OMAP2 General-Purpose Memory Controller interface
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12#ifndef __ARCH_AT32AP_SMC_H
13#define __ARCH_AT32AP_SMC_H
14
15/*
16 * All timing parameters are in nanoseconds.
17 */
18struct smc_timing {
19 /* Delay from address valid to assertion of given strobe */
20 int ncs_read_setup;
21 int nrd_setup;
22 int ncs_write_setup;
23 int nwe_setup;
24
25 /* Pulse length of given strobe */
26 int ncs_read_pulse;
27 int nrd_pulse;
28 int ncs_write_pulse;
29 int nwe_pulse;
30
31 /* Total cycle length of given operation */
32 int read_cycle;
33 int write_cycle;
34
35 /* Minimal recovery times, will extend cycle if needed */
36 int ncs_read_recover;
37 int nrd_recover;
38 int ncs_write_recover;
39 int nwe_recover;
40};
41
42/*
43 * All timing parameters are in clock cycles.
44 */
45struct smc_config {
46
47 /* Delay from address valid to assertion of given strobe */
48 u8 ncs_read_setup;
49 u8 nrd_setup;
50 u8 ncs_write_setup;
51 u8 nwe_setup;
52
53 /* Pulse length of given strobe */
54 u8 ncs_read_pulse;
55 u8 nrd_pulse;
56 u8 ncs_write_pulse;
57 u8 nwe_pulse;
58
59 /* Total cycle length of given operation */
60 u8 read_cycle;
61 u8 write_cycle;
62
63 /* Bus width in bytes */
64 u8 bus_width;
65
66 /*
67 * 0: Data is sampled on rising edge of NCS
68 * 1: Data is sampled on rising edge of NRD
69 */
70 unsigned int nrd_controlled:1;
71
72 /*
73 * 0: Data is driven on falling edge of NCS
74 * 1: Data is driven on falling edge of NWR
75 */
76 unsigned int nwe_controlled:1;
77
78 /*
79 * 0: NWAIT is disabled
80 * 1: Reserved
81 * 2: NWAIT is frozen mode
82 * 3: NWAIT in ready mode
83 */
84 unsigned int nwait_mode:2;
85
86 /*
87 * 0: Byte select access type
88 * 1: Byte write access type
89 */
90 unsigned int byte_write:1;
91
92 /*
93 * Number of clock cycles before data is released after
94 * the rising edge of the read controlling signal
95 *
96 * Total cycles from SMC is tdf_cycles + 1
97 */
98 unsigned int tdf_cycles:4;
99
100 /*
101 * 0: TDF optimization disabled
102 * 1: TDF optimization enabled
103 */
104 unsigned int tdf_mode:1;
105};
106
107extern void smc_set_timing(struct smc_config *config,
108 const struct smc_timing *timing);
109
110extern int smc_set_configuration(int cs, const struct smc_config *config);
111extern struct smc_config *smc_get_configuration(int cs);
112
113#endif /* __ARCH_AT32AP_SMC_H */
diff --git a/include/asm-avr32/arch-at32ap/sram.h b/include/asm-avr32/arch-at32ap/sram.h
deleted file mode 100644
index 4838dae7601a..000000000000
--- a/include/asm-avr32/arch-at32ap/sram.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/*
2 * Simple SRAM allocator
3 *
4 * Copyright (C) 2008 Atmel Corporation
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 version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_AVR32_ARCH_SRAM_H
11#define __ASM_AVR32_ARCH_SRAM_H
12
13#include <linux/genalloc.h>
14
15extern struct gen_pool *sram_pool;
16
17static inline unsigned long sram_alloc(size_t len)
18{
19 if (!sram_pool)
20 return 0UL;
21
22 return gen_pool_alloc(sram_pool, len);
23}
24
25static inline void sram_free(unsigned long addr, size_t len)
26{
27 return gen_pool_free(sram_pool, addr, len);
28}
29
30#endif /* __ASM_AVR32_ARCH_SRAM_H */
diff --git a/include/asm-generic/ioctl.h b/include/asm-generic/ioctl.h
index 864181385579..15828b2d663c 100644
--- a/include/asm-generic/ioctl.h
+++ b/include/asm-generic/ioctl.h
@@ -68,12 +68,16 @@
68 ((nr) << _IOC_NRSHIFT) | \ 68 ((nr) << _IOC_NRSHIFT) | \
69 ((size) << _IOC_SIZESHIFT)) 69 ((size) << _IOC_SIZESHIFT))
70 70
71#ifdef __KERNEL__
71/* provoke compile error for invalid uses of size argument */ 72/* provoke compile error for invalid uses of size argument */
72extern unsigned int __invalid_size_argument_for_IOC; 73extern unsigned int __invalid_size_argument_for_IOC;
73#define _IOC_TYPECHECK(t) \ 74#define _IOC_TYPECHECK(t) \
74 ((sizeof(t) == sizeof(t[1]) && \ 75 ((sizeof(t) == sizeof(t[1]) && \
75 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \ 76 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
76 sizeof(t) : __invalid_size_argument_for_IOC) 77 sizeof(t) : __invalid_size_argument_for_IOC)
78#else
79#define _IOC_TYPECHECK(t) (sizeof(t))
80#endif
77 81
78/* used to create numbers */ 82/* used to create numbers */
79#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 83#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
diff --git a/include/asm-m68k/unistd.h b/include/asm-m68k/unistd.h
index e72ba563f102..965abb8bc7ff 100644
--- a/include/asm-m68k/unistd.h
+++ b/include/asm-m68k/unistd.h
@@ -325,10 +325,16 @@
325#define __NR_fallocate 320 325#define __NR_fallocate 320
326#define __NR_timerfd_settime 321 326#define __NR_timerfd_settime 321
327#define __NR_timerfd_gettime 322 327#define __NR_timerfd_gettime 322
328#define __NR_signalfd4 323
329#define __NR_eventfd2 324
330#define __NR_epoll_create1 325
331#define __NR_dup3 326
332#define __NR_pipe2 327
333#define __NR_inotify_init1 328
328 334
329#ifdef __KERNEL__ 335#ifdef __KERNEL__
330 336
331#define NR_syscalls 323 337#define NR_syscalls 329
332 338
333#define __ARCH_WANT_IPC_PARSE_VERSION 339#define __ARCH_WANT_IPC_PARSE_VERSION
334#define __ARCH_WANT_OLD_READDIR 340#define __ARCH_WANT_OLD_READDIR
diff --git a/include/asm-x86/efi.h b/include/asm-x86/efi.h
index 7ed2bd7a7f51..d4f2b0abe929 100644
--- a/include/asm-x86/efi.h
+++ b/include/asm-x86/efi.h
@@ -86,7 +86,7 @@ extern u64 efi_call6(void *fp, u64 arg1, u64 arg2, u64 arg3,
86 efi_call6((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \ 86 efi_call6((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
87 (u64)(a3), (u64)(a4), (u64)(a5), (u64)(a6)) 87 (u64)(a3), (u64)(a4), (u64)(a5), (u64)(a6))
88 88
89extern void *efi_ioremap(unsigned long addr, unsigned long size); 89extern void __iomem *efi_ioremap(unsigned long addr, unsigned long size);
90 90
91#endif /* CONFIG_X86_32 */ 91#endif /* CONFIG_X86_32 */
92 92
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index 77ba51df5668..edd0b95f14d0 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -98,9 +98,17 @@ extern void (*const interrupt[NR_IRQS])(void);
98#else 98#else
99typedef int vector_irq_t[NR_VECTORS]; 99typedef int vector_irq_t[NR_VECTORS];
100DECLARE_PER_CPU(vector_irq_t, vector_irq); 100DECLARE_PER_CPU(vector_irq_t, vector_irq);
101extern spinlock_t vector_lock;
102#endif 101#endif
103extern void setup_vector_irq(int cpu); 102
103#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_X86_64)
104extern void lock_vector_lock(void);
105extern void unlock_vector_lock(void);
106extern void __setup_vector_irq(int cpu);
107#else
108static inline void lock_vector_lock(void) {}
109static inline void unlock_vector_lock(void) {}
110static inline void __setup_vector_irq(int cpu) {}
111#endif
104 112
105#endif /* !ASSEMBLY_ */ 113#endif /* !ASSEMBLY_ */
106 114
diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h
index 90b1d1f12f08..b95d167b7fb2 100644
--- a/include/asm-x86/irq_vectors.h
+++ b/include/asm-x86/irq_vectors.h
@@ -109,7 +109,15 @@
109#define LAST_VM86_IRQ 15 109#define LAST_VM86_IRQ 15
110#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) 110#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15)
111 111
112#if !defined(CONFIG_X86_VOYAGER) 112#ifdef CONFIG_X86_64
113# if NR_CPUS < MAX_IO_APICS
114# define NR_IRQS (NR_VECTORS + (32 * NR_CPUS))
115# else
116# define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS))
117# endif
118# define NR_IRQ_VECTORS NR_IRQS
119
120#elif !defined(CONFIG_X86_VOYAGER)
113 121
114# if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS) 122# if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS)
115 123
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index a26f565e8189..327f60658d94 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -356,6 +356,7 @@ unifdef-y += virtio_balloon.h
356unifdef-y += virtio_console.h 356unifdef-y += virtio_console.h
357unifdef-y += virtio_pci.h 357unifdef-y += virtio_pci.h
358unifdef-y += virtio_ring.h 358unifdef-y += virtio_ring.h
359unifdef-y += virtio_rng.h
359unifdef-y += vt.h 360unifdef-y += vt.h
360unifdef-y += wait.h 361unifdef-y += wait.h
361unifdef-y += wanrouter.h 362unifdef-y += wanrouter.h
diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h
index 972b12bcfb36..2b8df8b420fd 100644
--- a/include/linux/agp_backend.h
+++ b/include/linux/agp_backend.h
@@ -30,6 +30,8 @@
30#ifndef _AGP_BACKEND_H 30#ifndef _AGP_BACKEND_H
31#define _AGP_BACKEND_H 1 31#define _AGP_BACKEND_H 1
32 32
33#include <linux/list.h>
34
33enum chipset_type { 35enum chipset_type {
34 NOT_SUPPORTED, 36 NOT_SUPPORTED,
35 SUPPORTED, 37 SUPPORTED,
@@ -78,6 +80,8 @@ struct agp_memory {
78 bool is_bound; 80 bool is_bound;
79 bool is_flushed; 81 bool is_flushed;
80 bool vmalloc_flag; 82 bool vmalloc_flag;
83 /* list of agp_memory mapped to the aperture */
84 struct list_head mapped_list;
81}; 85};
82 86
83#define AGP_NORMAL_MEMORY 0 87#define AGP_NORMAL_MEMORY 0
@@ -96,6 +100,7 @@ extern struct agp_memory *agp_allocate_memory(struct agp_bridge_data *, size_t,
96extern int agp_copy_info(struct agp_bridge_data *, struct agp_kern_info *); 100extern int agp_copy_info(struct agp_bridge_data *, struct agp_kern_info *);
97extern int agp_bind_memory(struct agp_memory *, off_t); 101extern int agp_bind_memory(struct agp_memory *, off_t);
98extern int agp_unbind_memory(struct agp_memory *); 102extern int agp_unbind_memory(struct agp_memory *);
103extern int agp_rebind_memory(void);
99extern void agp_enable(struct agp_bridge_data *, u32); 104extern void agp_enable(struct agp_bridge_data *, u32);
100extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *); 105extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
101extern void agp_backend_release(struct agp_bridge_data *); 106extern void agp_backend_release(struct agp_bridge_data *);
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 1abfe664c444..89781fd48859 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -110,6 +110,7 @@ extern int __bitmap_weight(const unsigned long *bitmap, int bits);
110 110
111extern int bitmap_scnprintf(char *buf, unsigned int len, 111extern int bitmap_scnprintf(char *buf, unsigned int len,
112 const unsigned long *src, int nbits); 112 const unsigned long *src, int nbits);
113extern int bitmap_scnprintf_len(unsigned int nr_bits);
113extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user, 114extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user,
114 unsigned long *dst, int nbits); 115 unsigned long *dst, int nbits);
115extern int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, 116extern int bitmap_parse_user(const char __user *ubuf, unsigned int ulen,
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h
index 652470b687c9..95837bfb5256 100644
--- a/include/linux/bootmem.h
+++ b/include/linux/bootmem.h
@@ -97,10 +97,14 @@ extern void *__alloc_bootmem_low_node(pg_data_t *pgdat,
97#ifndef CONFIG_HAVE_ARCH_BOOTMEM_NODE 97#ifndef CONFIG_HAVE_ARCH_BOOTMEM_NODE
98#define alloc_bootmem(x) \ 98#define alloc_bootmem(x) \
99 __alloc_bootmem(x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) 99 __alloc_bootmem(x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))
100#define alloc_bootmem_nopanic(x) \
101 __alloc_bootmem_nopanic(x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))
100#define alloc_bootmem_low(x) \ 102#define alloc_bootmem_low(x) \
101 __alloc_bootmem_low(x, SMP_CACHE_BYTES, 0) 103 __alloc_bootmem_low(x, SMP_CACHE_BYTES, 0)
102#define alloc_bootmem_pages(x) \ 104#define alloc_bootmem_pages(x) \
103 __alloc_bootmem(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)) 105 __alloc_bootmem(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))
106#define alloc_bootmem_pages_nopanic(x) \
107 __alloc_bootmem_nopanic(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))
104#define alloc_bootmem_low_pages(x) \ 108#define alloc_bootmem_low_pages(x) \
105 __alloc_bootmem_low(x, PAGE_SIZE, 0) 109 __alloc_bootmem_low(x, PAGE_SIZE, 0)
106#define alloc_bootmem_node(pgdat, x) \ 110#define alloc_bootmem_node(pgdat, x) \
diff --git a/include/linux/byteorder.h b/include/linux/byteorder.h
new file mode 100644
index 000000000000..29f002d73d98
--- /dev/null
+++ b/include/linux/byteorder.h
@@ -0,0 +1,372 @@
1#ifndef _LINUX_BYTEORDER_H
2#define _LINUX_BYTEORDER_H
3
4#include <linux/types.h>
5#include <linux/swab.h>
6
7#if defined(__LITTLE_ENDIAN) && defined(__BIG_ENDIAN)
8# error Fix asm/byteorder.h to define one endianness
9#endif
10
11#if !defined(__LITTLE_ENDIAN) && !defined(__BIG_ENDIAN)
12# error Fix asm/byteorder.h to define arch endianness
13#endif
14
15#ifdef __LITTLE_ENDIAN
16# undef __LITTLE_ENDIAN
17# define __LITTLE_ENDIAN 1234
18#endif
19
20#ifdef __BIG_ENDIAN
21# undef __BIG_ENDIAN
22# define __BIG_ENDIAN 4321
23#endif
24
25#if defined(__LITTLE_ENDIAN) && !defined(__LITTLE_ENDIAN_BITFIELD)
26# define __LITTLE_ENDIAN_BITFIELD
27#endif
28
29#if defined(__BIG_ENDIAN) && !defined(__BIG_ENDIAN_BITFIELD)
30# define __BIG_ENDIAN_BITFIELD
31#endif
32
33#ifdef __LITTLE_ENDIAN
34# define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
35# define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
36# define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
37# define __cpu_to_le16(x) ((__force __le16)(__u16)(x))
38# define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
39# define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
40
41# define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
42# define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x))
43# define __be64_to_cpu(x) __swab64((__force __u64)(__be64)(x))
44# define __cpu_to_be16(x) ((__force __be16)__swab16(x))
45# define __cpu_to_be32(x) ((__force __be32)__swab32(x))
46# define __cpu_to_be64(x) ((__force __be64)__swab64(x))
47#endif
48
49#ifdef __BIG_ENDIAN
50# define __be16_to_cpu(x) ((__force __u16)(__be16)(x))
51# define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
52# define __be64_to_cpu(x) ((__force __u64)(__be64)(x))
53# define __cpu_to_be16(x) ((__force __be16)(__u16)(x))
54# define __cpu_to_be32(x) ((__force __be32)(__u32)(x))
55# define __cpu_to_be64(x) ((__force __be64)(__u64)(x))
56
57# define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
58# define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
59# define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x))
60# define __cpu_to_le16(x) ((__force __le16)__swab16(x))
61# define __cpu_to_le32(x) ((__force __le32)__swab32(x))
62# define __cpu_to_le64(x) ((__force __le64)__swab64(x))
63#endif
64
65/*
66 * These helpers could be phased out over time as the base version
67 * handles constant folding.
68 */
69#define __constant_htonl(x) __cpu_to_be32(x)
70#define __constant_ntohl(x) __be32_to_cpu(x)
71#define __constant_htons(x) __cpu_to_be16(x)
72#define __constant_ntohs(x) __be16_to_cpu(x)
73
74#define __constant_le16_to_cpu(x) __le16_to_cpu(x)
75#define __constant_le32_to_cpu(x) __le32_to_cpu(x)
76#define __constant_le64_to_cpu(x) __le64_to_cpu(x)
77#define __constant_be16_to_cpu(x) __be16_to_cpu(x)
78#define __constant_be32_to_cpu(x) __be32_to_cpu(x)
79#define __constant_be64_to_cpu(x) __be64_to_cpu(x)
80
81#define __constant_cpu_to_le16(x) __cpu_to_le16(x)
82#define __constant_cpu_to_le32(x) __cpu_to_le32(x)
83#define __constant_cpu_to_le64(x) __cpu_to_le64(x)
84#define __constant_cpu_to_be16(x) __cpu_to_be16(x)
85#define __constant_cpu_to_be32(x) __cpu_to_be32(x)
86#define __constant_cpu_to_be64(x) __cpu_to_be64(x)
87
88static inline void __le16_to_cpus(__u16 *p)
89{
90#ifdef __BIG_ENDIAN
91 __swab16s(p);
92#endif
93}
94
95static inline void __cpu_to_le16s(__u16 *p)
96{
97#ifdef __BIG_ENDIAN
98 __swab16s(p);
99#endif
100}
101
102static inline void __le32_to_cpus(__u32 *p)
103{
104#ifdef __BIG_ENDIAN
105 __swab32s(p);
106#endif
107}
108
109static inline void __cpu_to_le32s(__u32 *p)
110{
111#ifdef __BIG_ENDIAN
112 __swab32s(p);
113#endif
114}
115
116static inline void __le64_to_cpus(__u64 *p)
117{
118#ifdef __BIG_ENDIAN
119 __swab64s(p);
120#endif
121}
122
123static inline void __cpu_to_le64s(__u64 *p)
124{
125#ifdef __BIG_ENDIAN
126 __swab64s(p);
127#endif
128}
129
130static inline void __be16_to_cpus(__u16 *p)
131{
132#ifdef __LITTLE_ENDIAN
133 __swab16s(p);
134#endif
135}
136
137static inline void __cpu_to_be16s(__u16 *p)
138{
139#ifdef __LITTLE_ENDIAN
140 __swab16s(p);
141#endif
142}
143
144static inline void __be32_to_cpus(__u32 *p)
145{
146#ifdef __LITTLE_ENDIAN
147 __swab32s(p);
148#endif
149}
150
151static inline void __cpu_to_be32s(__u32 *p)
152{
153#ifdef __LITTLE_ENDIAN
154 __swab32s(p);
155#endif
156}
157
158static inline void __be64_to_cpus(__u64 *p)
159{
160#ifdef __LITTLE_ENDIAN
161 __swab64s(p);
162#endif
163}
164
165static inline void __cpu_to_be64s(__u64 *p)
166{
167#ifdef __LITTLE_ENDIAN
168 __swab64s(p);
169#endif
170}
171
172static inline __u16 __le16_to_cpup(const __le16 *p)
173{
174#ifdef __LITTLE_ENDIAN
175 return (__force __u16)*p;
176#else
177 return __swab16p((__force __u16 *)p);
178#endif
179}
180
181static inline __u32 __le32_to_cpup(const __le32 *p)
182{
183#ifdef __LITTLE_ENDIAN
184 return (__force __u32)*p;
185#else
186 return __swab32p((__force __u32 *)p);
187#endif
188}
189
190static inline __u64 __le64_to_cpup(const __le64 *p)
191{
192#ifdef __LITTLE_ENDIAN
193 return (__force __u64)*p;
194#else
195 return __swab64p((__force __u64 *)p);
196#endif
197}
198
199static inline __le16 __cpu_to_le16p(const __u16 *p)
200{
201#ifdef __LITTLE_ENDIAN
202 return (__force __le16)*p;
203#else
204 return (__force __le16)__swab16p(p);
205#endif
206}
207
208static inline __le32 __cpu_to_le32p(const __u32 *p)
209{
210#ifdef __LITTLE_ENDIAN
211 return (__force __le32)*p;
212#else
213 return (__force __le32)__swab32p(p);
214#endif
215}
216
217static inline __le64 __cpu_to_le64p(const __u64 *p)
218{
219#ifdef __LITTLE_ENDIAN
220 return (__force __le64)*p;
221#else
222 return (__force __le64)__swab64p(p);
223#endif
224}
225
226static inline __u16 __be16_to_cpup(const __be16 *p)
227{
228#ifdef __BIG_ENDIAN
229 return (__force __u16)*p;
230#else
231 return __swab16p((__force __u16 *)p);
232#endif
233}
234
235static inline __u32 __be32_to_cpup(const __be32 *p)
236{
237#ifdef __BIG_ENDIAN
238 return (__force __u32)*p;
239#else
240 return __swab32p((__force __u32 *)p);
241#endif
242}
243
244static inline __u64 __be64_to_cpup(const __be64 *p)
245{
246#ifdef __BIG_ENDIAN
247 return (__force __u64)*p;
248#else
249 return __swab64p((__force __u64 *)p);
250#endif
251}
252
253static inline __be16 __cpu_to_be16p(const __u16 *p)
254{
255#ifdef __BIG_ENDIAN
256 return (__force __be16)*p;
257#else
258 return (__force __be16)__swab16p(p);
259#endif
260}
261
262static inline __be32 __cpu_to_be32p(const __u32 *p)
263{
264#ifdef __BIG_ENDIAN
265 return (__force __be32)*p;
266#else
267 return (__force __be32)__swab32p(p);
268#endif
269}
270
271static inline __be64 __cpu_to_be64p(const __u64 *p)
272{
273#ifdef __BIG_ENDIAN
274 return (__force __be64)*p;
275#else
276 return (__force __be64)__swab64p(p);
277#endif
278}
279
280#ifdef __KERNEL__
281
282# define le16_to_cpu __le16_to_cpu
283# define le32_to_cpu __le32_to_cpu
284# define le64_to_cpu __le64_to_cpu
285# define be16_to_cpu __be16_to_cpu
286# define be32_to_cpu __be32_to_cpu
287# define be64_to_cpu __be64_to_cpu
288# define cpu_to_le16 __cpu_to_le16
289# define cpu_to_le32 __cpu_to_le32
290# define cpu_to_le64 __cpu_to_le64
291# define cpu_to_be16 __cpu_to_be16
292# define cpu_to_be32 __cpu_to_be32
293# define cpu_to_be64 __cpu_to_be64
294
295# define le16_to_cpup __le16_to_cpup
296# define le32_to_cpup __le32_to_cpup
297# define le64_to_cpup __le64_to_cpup
298# define be16_to_cpup __be16_to_cpup
299# define be32_to_cpup __be32_to_cpup
300# define be64_to_cpup __be64_to_cpup
301# define cpu_to_le16p __cpu_to_le16p
302# define cpu_to_le32p __cpu_to_le32p
303# define cpu_to_le64p __cpu_to_le64p
304# define cpu_to_be16p __cpu_to_be16p
305# define cpu_to_be32p __cpu_to_be32p
306# define cpu_to_be64p __cpu_to_be64p
307
308# define le16_to_cpus __le16_to_cpus
309# define le32_to_cpus __le32_to_cpus
310# define le64_to_cpus __le64_to_cpus
311# define be16_to_cpus __be16_to_cpus
312# define be32_to_cpus __be32_to_cpus
313# define be64_to_cpus __be64_to_cpus
314# define cpu_to_le16s __cpu_to_le16s
315# define cpu_to_le32s __cpu_to_le32s
316# define cpu_to_le64s __cpu_to_le64s
317# define cpu_to_be16s __cpu_to_be16s
318# define cpu_to_be32s __cpu_to_be32s
319# define cpu_to_be64s __cpu_to_be64s
320
321/*
322 * They have to be macros in order to do the constant folding
323 * correctly - if the argument passed into a inline function
324 * it is no longer constant according to gcc..
325 */
326# undef ntohl
327# undef ntohs
328# undef htonl
329# undef htons
330
331# define ___htonl(x) __cpu_to_be32(x)
332# define ___htons(x) __cpu_to_be16(x)
333# define ___ntohl(x) __be32_to_cpu(x)
334# define ___ntohs(x) __be16_to_cpu(x)
335
336# define htonl(x) ___htonl(x)
337# define ntohl(x) ___ntohl(x)
338# define htons(x) ___htons(x)
339# define ntohs(x) ___ntohs(x)
340
341static inline void le16_add_cpu(__le16 *var, u16 val)
342{
343 *var = cpu_to_le16(le16_to_cpup(var) + val);
344}
345
346static inline void le32_add_cpu(__le32 *var, u32 val)
347{
348 *var = cpu_to_le32(le32_to_cpup(var) + val);
349}
350
351static inline void le64_add_cpu(__le64 *var, u64 val)
352{
353 *var = cpu_to_le64(le64_to_cpup(var) + val);
354}
355
356static inline void be16_add_cpu(__be16 *var, u16 val)
357{
358 *var = cpu_to_be16(be16_to_cpup(var) + val);
359}
360
361static inline void be32_add_cpu(__be32 *var, u32 val)
362{
363 *var = cpu_to_be32(be32_to_cpup(var) + val);
364}
365
366static inline void be64_add_cpu(__be64 *var, u64 val)
367{
368 *var = cpu_to_be64(be64_to_cpup(var) + val);
369}
370
371#endif /* __KERNEL__ */
372#endif /* _LINUX_BYTEORDER_H */
diff --git a/include/linux/firmware-map.h b/include/linux/firmware-map.h
index acbdbcc16051..6e199c8dfacc 100644
--- a/include/linux/firmware-map.h
+++ b/include/linux/firmware-map.h
@@ -24,34 +24,8 @@
24 */ 24 */
25#ifdef CONFIG_FIRMWARE_MEMMAP 25#ifdef CONFIG_FIRMWARE_MEMMAP
26 26
27/**
28 * Adds a firmware mapping entry. This function uses kmalloc() for memory
29 * allocation. Use firmware_map_add_early() if you want to use the bootmem
30 * allocator.
31 *
32 * That function must be called before late_initcall.
33 *
34 * @start: Start of the memory range.
35 * @end: End of the memory range (inclusive).
36 * @type: Type of the memory range.
37 *
38 * Returns 0 on success, or -ENOMEM if no memory could be allocated.
39 */
40int firmware_map_add(resource_size_t start, resource_size_t end, 27int firmware_map_add(resource_size_t start, resource_size_t end,
41 const char *type); 28 const char *type);
42
43/**
44 * Adds a firmware mapping entry. This function uses the bootmem allocator
45 * for memory allocation. Use firmware_map_add() if you want to use kmalloc().
46 *
47 * That function must be called before late_initcall.
48 *
49 * @start: Start of the memory range.
50 * @end: End of the memory range (inclusive).
51 * @type: Type of the memory range.
52 *
53 * Returns 0 on success, or -ENOMEM if no memory could be allocated.
54 */
55int firmware_map_add_early(resource_size_t start, resource_size_t end, 29int firmware_map_add_early(resource_size_t start, resource_size_t end,
56 const char *type); 30 const char *type);
57 31
diff --git a/include/linux/harrier_defs.h b/include/linux/harrier_defs.h
deleted file mode 100644
index efef11db790f..000000000000
--- a/include/linux/harrier_defs.h
+++ /dev/null
@@ -1,212 +0,0 @@
1/*
2 * include/linux/harrier_defs.h
3 *
4 * Definitions for Motorola MCG Harrier North Bridge & Memory controller
5 *
6 * Author: Dale Farnsworth
7 * dale.farnsworth@mvista.com
8 *
9 * Extracted from asm-ppc/harrier.h by:
10 * Randy Vinson
11 * rvinson@mvista.com
12 *
13 * Copyright 2001-2002 MontaVista Software Inc.
14 *
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU General Public License as published by the
17 * Free Software Foundation; either version 2 of the License, or (at your
18 * option) any later version.
19 */
20
21#ifndef __ASMPPC_HARRIER_DEFS_H
22#define __ASMPPC_HARRIER_DEFS_H
23
24#define HARRIER_DEFAULT_XCSR_BASE 0xfeff0000
25
26#define HARRIER_VEND_DEV_ID 0x1057480b
27
28#define HARRIER_VENI_OFF 0x00
29
30#define HARRIER_REVI_OFF 0x05
31#define HARRIER_UCTL_OFF 0xd0
32#define HARRIER_XTAL64_MASK 0x02
33
34#define HARRIER_MISC_CSR_OFF 0x1c
35#define HARRIER_RSTOUT 0x01000000
36#define HARRIER_SYSCON 0x08000000
37#define HARRIER_EREADY 0x10000000
38#define HARRIER_ERDYS 0x20000000
39
40/* Function exception registers */
41#define HARRIER_FEEN_OFF 0x40 /* enable */
42#define HARRIER_FEST_OFF 0x44 /* status */
43#define HARRIER_FEMA_OFF 0x48 /* mask */
44#define HARRIER_FECL_OFF 0x4c /* clear */
45
46#define HARRIER_FE_DMA 0x80
47#define HARRIER_FE_MIDB 0x40
48#define HARRIER_FE_MIM0 0x20
49#define HARRIER_FE_MIM1 0x10
50#define HARRIER_FE_MIP 0x08
51#define HARRIER_FE_UA0 0x04
52#define HARRIER_FE_UA1 0x02
53#define HARRIER_FE_ABT 0x01
54
55#define HARRIER_SERIAL_0_OFF 0xc0
56
57#define HARRIER_MBAR_OFF 0xe0
58#define HARRIER_MBAR_MSK 0xfffc0000
59#define HARRIER_MPIC_CSR_OFF 0xe4
60#define HARRIER_MPIC_OPI_ENABLE 0x40
61#define HARRIER_MPIC_IFEVP_OFF 0x10200
62#define HARRIER_MPIC_IFEVP_VECT_MSK 0xff
63#define HARRIER_MPIC_IFEDE_OFF 0x10210
64
65/*
66 * Define the Memory Controller register offsets.
67 */
68#define HARRIER_SDBA_OFF 0x110
69#define HARRIER_SDBB_OFF 0x114
70#define HARRIER_SDBC_OFF 0x118
71#define HARRIER_SDBD_OFF 0x11c
72#define HARRIER_SDBE_OFF 0x120
73#define HARRIER_SDBF_OFF 0x124
74#define HARRIER_SDBG_OFF 0x128
75#define HARRIER_SDBH_OFF 0x12c
76
77#define HARRIER_SDB_ENABLE 0x00000100
78#define HARRIER_SDB_SIZE_MASK 0xf
79#define HARRIER_SDB_SIZE_SHIFT 16
80#define HARRIER_SDB_BASE_MASK 0xff
81#define HARRIER_SDB_BASE_SHIFT 24
82
83/*
84 * Define outbound register offsets.
85 */
86#define HARRIER_OTAD0_OFF 0x220
87#define HARRIER_OTOF0_OFF 0x224
88#define HARRIER_OTAD1_OFF 0x228
89#define HARRIER_OTOF1_OFF 0x22c
90#define HARRIER_OTAD2_OFF 0x230
91#define HARRIER_OTOF2_OFF 0x234
92#define HARRIER_OTAD3_OFF 0x238
93#define HARRIER_OTOF3_OFF 0x23c
94
95#define HARRIER_OTADX_START_MSK 0xffff0000UL
96#define HARRIER_OTADX_END_MSK 0x0000ffffUL
97
98#define HARRIER_OTOFX_OFF_MSK 0xffff0000UL
99#define HARRIER_OTOFX_ENA 0x80UL
100#define HARRIER_OTOFX_WPE 0x10UL
101#define HARRIER_OTOFX_SGE 0x08UL
102#define HARRIER_OTOFX_RAE 0x04UL
103#define HARRIER_OTOFX_MEM 0x02UL
104#define HARRIER_OTOFX_IOM 0x01UL
105
106/*
107 * Define generic message passing register offsets
108 */
109/* Mirrored registers (visible from both PowerPC and PCI space) */
110#define HARRIER_XCSR_MP_BASE_OFF 0x290 /* base offset in XCSR space */
111#define HARRIER_PMEP_MP_BASE_OFF 0x100 /* base offset in PMEM space */
112#define HARRIER_MGOM0_OFF 0x00 /* outbound msg 0 */
113#define HARRIER_MGOM1_OFF 0x04 /* outbound msg 1 */
114#define HARRIER_MGOD_OFF 0x08 /* outbound doorbells */
115
116#define HARRIER_MGIM0_OFF 0x10 /* inbound msg 0 */
117#define HARRIER_MGIM1_OFF 0x14 /* inbound msg 1 */
118#define HARRIER_MGID_OFF 0x18 /* inbound doorbells */
119
120/* PowerPC-only registers */
121#define HARRIER_MGIDM_OFF 0x20 /* inbound doorbell mask */
122
123/* PCI-only registers */
124#define HARRIER_PMEP_MGST_OFF 0x20 /* (outbound) interrupt status */
125#define HARRIER_PMEP_MGMS_OFF 0x24 /* (outbound) interrupt mask */
126#define HARRIER_MG_OMI0 (1<<4)
127#define HARRIER_MG_OMI1 (1<<5)
128
129#define HARRIER_PMEP_MGODM_OFF 0x28 /* outbound doorbell mask */
130
131/*
132 * Define PCI configuration space register offsets
133 */
134#define HARRIER_XCSR_TO_PCFS_OFF 0x300
135
136/*
137 * Define message passing attribute register offset
138 */
139#define HARRIER_MPAT_OFF 0x44
140
141/*
142 * Define inbound attribute register offsets.
143 */
144#define HARRIER_ITSZ0_OFF 0x48
145#define HARRIER_ITAT0_OFF 0x4c
146
147#define HARRIER_ITSZ1_OFF 0x50
148#define HARRIER_ITAT1_OFF 0x54
149
150#define HARRIER_ITSZ2_OFF 0x58
151#define HARRIER_ITAT2_OFF 0x5c
152
153#define HARRIER_ITSZ3_OFF 0x60
154#define HARRIER_ITAT3_OFF 0x64
155
156/* inbound translation size constants */
157#define HARRIER_ITSZ_MSK 0xff
158#define HARRIER_ITSZ_4KB 0x00
159#define HARRIER_ITSZ_8KB 0x01
160#define HARRIER_ITSZ_16KB 0x02
161#define HARRIER_ITSZ_32KB 0x03
162#define HARRIER_ITSZ_64KB 0x04
163#define HARRIER_ITSZ_128KB 0x05
164#define HARRIER_ITSZ_256KB 0x06
165#define HARRIER_ITSZ_512KB 0x07
166#define HARRIER_ITSZ_1MB 0x08
167#define HARRIER_ITSZ_2MB 0x09
168#define HARRIER_ITSZ_4MB 0x0A
169#define HARRIER_ITSZ_8MB 0x0B
170#define HARRIER_ITSZ_16MB 0x0C
171#define HARRIER_ITSZ_32MB 0x0D
172#define HARRIER_ITSZ_64MB 0x0E
173#define HARRIER_ITSZ_128MB 0x0F
174#define HARRIER_ITSZ_256MB 0x10
175#define HARRIER_ITSZ_512MB 0x11
176#define HARRIER_ITSZ_1GB 0x12
177#define HARRIER_ITSZ_2GB 0x13
178
179/* inbound translation offset */
180#define HARRIER_ITOF_SHIFT 0x10
181#define HARRIER_ITOF_MSK 0xffff
182
183/* inbound translation atttributes */
184#define HARRIER_ITAT_PRE (1<<3)
185#define HARRIER_ITAT_RAE (1<<4)
186#define HARRIER_ITAT_WPE (1<<5)
187#define HARRIER_ITAT_MEM (1<<6)
188#define HARRIER_ITAT_ENA (1<<7)
189#define HARRIER_ITAT_GBL (1<<16)
190
191#define HARRIER_LBA_OFF 0x80
192#define HARRIER_LBA_MSK (1<<31)
193
194#define HARRIER_XCSR_SIZE 1024
195
196/* macros to calculate message passing register offsets */
197#define HARRIER_MP_XCSR(x) ((u32)HARRIER_XCSR_MP_BASE_OFF + (u32)x)
198
199#define HARRIER_MP_PMEP(x) ((u32)HARRIER_PMEP_MP_BASE_OFF + (u32)x)
200
201/*
202 * Define PCI configuration space register offsets
203 */
204#define HARRIER_MPBAR_OFF PCI_BASE_ADDRESS_0
205#define HARRIER_ITBAR0_OFF PCI_BASE_ADDRESS_1
206#define HARRIER_ITBAR1_OFF PCI_BASE_ADDRESS_2
207#define HARRIER_ITBAR2_OFF PCI_BASE_ADDRESS_3
208#define HARRIER_ITBAR3_OFF PCI_BASE_ADDRESS_4
209
210#define HARRIER_XCSR_CONFIG(x) ((u32)HARRIER_XCSR_TO_PCFS_OFF + (u32)x)
211
212#endif /* __ASMPPC_HARRIER_DEFS_H */
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h
index 4862398e05bf..bf34c5f4c051 100644
--- a/include/linux/i2c-id.h
+++ b/include/linux/i2c-id.h
@@ -39,7 +39,6 @@
39#define I2C_DRIVERID_SAA7111A 8 /* video input processor */ 39#define I2C_DRIVERID_SAA7111A 8 /* video input processor */
40#define I2C_DRIVERID_SAA7185B 13 /* video encoder */ 40#define I2C_DRIVERID_SAA7185B 13 /* video encoder */
41#define I2C_DRIVERID_SAA7110 22 /* video decoder */ 41#define I2C_DRIVERID_SAA7110 22 /* video decoder */
42#define I2C_DRIVERID_MGATVO 23 /* Matrox TVOut */
43#define I2C_DRIVERID_SAA5249 24 /* SAA5249 and compatibles */ 42#define I2C_DRIVERID_SAA5249 24 /* SAA5249 and compatibles */
44#define I2C_DRIVERID_PCF8583 25 /* real time clock */ 43#define I2C_DRIVERID_PCF8583 25 /* real time clock */
45#define I2C_DRIVERID_SAB3036 26 /* SAB3036 tuner */ 44#define I2C_DRIVERID_SAB3036 26 /* SAB3036 tuner */
@@ -95,7 +94,6 @@
95#define I2C_HW_B_BT848 0x010005 /* BT848 video boards */ 94#define I2C_HW_B_BT848 0x010005 /* BT848 video boards */
96#define I2C_HW_B_VIA 0x010007 /* Via vt82c586b */ 95#define I2C_HW_B_VIA 0x010007 /* Via vt82c586b */
97#define I2C_HW_B_HYDRA 0x010008 /* Apple Hydra Mac I/O */ 96#define I2C_HW_B_HYDRA 0x010008 /* Apple Hydra Mac I/O */
98#define I2C_HW_B_G400 0x010009 /* Matrox G400 */
99#define I2C_HW_B_I810 0x01000a /* Intel I810 */ 97#define I2C_HW_B_I810 0x01000a /* Intel I810 */
100#define I2C_HW_B_VOO 0x01000b /* 3dfx Voodoo 3 / Banshee */ 98#define I2C_HW_B_VOO 0x01000b /* 3dfx Voodoo 3 / Banshee */
101#define I2C_HW_B_SCX200 0x01000e /* Nat'l Semi SCx200 I2C */ 99#define I2C_HW_B_SCX200 0x01000e /* Nat'l Semi SCx200 I2C */
diff --git a/include/linux/init.h b/include/linux/init.h
index 11b84e106053..93538b696e3d 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -139,6 +139,7 @@ extern initcall_t __con_initcall_start[], __con_initcall_end[];
139extern initcall_t __security_initcall_start[], __security_initcall_end[]; 139extern initcall_t __security_initcall_start[], __security_initcall_end[];
140 140
141/* Defined in init/main.c */ 141/* Defined in init/main.c */
142extern int do_one_initcall(initcall_t fn);
142extern char __initdata boot_command_line[]; 143extern char __initdata boot_command_line[];
143extern char *saved_command_line; 144extern char *saved_command_line;
144extern unsigned int reset_devices; 145extern unsigned int reset_devices;
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index aaa998f65c7a..2651f805ba6d 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -108,6 +108,13 @@ struct completion;
108struct pt_regs; 108struct pt_regs;
109struct user; 109struct user;
110 110
111#ifdef CONFIG_PREEMPT_VOLUNTARY
112extern int _cond_resched(void);
113# define might_resched() _cond_resched()
114#else
115# define might_resched() do { } while (0)
116#endif
117
111/** 118/**
112 * might_sleep - annotation for functions that can sleep 119 * might_sleep - annotation for functions that can sleep
113 * 120 *
@@ -118,13 +125,6 @@ struct user;
118 * be bitten later when the calling function happens to sleep when it is not 125 * be bitten later when the calling function happens to sleep when it is not
119 * supposed to. 126 * supposed to.
120 */ 127 */
121#ifdef CONFIG_PREEMPT_VOLUNTARY
122extern int _cond_resched(void);
123# define might_resched() _cond_resched()
124#else
125# define might_resched() do { } while (0)
126#endif
127
128#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP 128#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
129 void __might_sleep(char *file, int line); 129 void __might_sleep(char *file, int line);
130# define might_sleep() \ 130# define might_sleep() \
diff --git a/include/linux/mfd/t7l66xb.h b/include/linux/mfd/t7l66xb.h
new file mode 100644
index 000000000000..e83c7f2036f9
--- /dev/null
+++ b/include/linux/mfd/t7l66xb.h
@@ -0,0 +1,36 @@
1/*
2 * This file contains the definitions for the T7L66XB
3 *
4 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
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 version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11#ifndef MFD_T7L66XB_H
12#define MFD_T7L66XB_H
13
14#include <linux/mfd/core.h>
15#include <linux/mfd/tmio.h>
16
17struct t7l66xb_platform_data {
18 int (*enable_clk32k)(struct platform_device *dev);
19 void (*disable_clk32k)(struct platform_device *dev);
20 int (*enable)(struct platform_device *dev);
21 int (*disable)(struct platform_device *dev);
22 int (*suspend)(struct platform_device *dev);
23 int (*resume)(struct platform_device *dev);
24
25 int irq_base; /* The base for subdevice irqs */
26
27 struct tmio_nand_data *nand_data;
28};
29
30
31#define IRQ_T7L66XB_MMC (1)
32#define IRQ_T7L66XB_NAND (3)
33
34#define T7L66XB_NR_IRQS 8
35
36#endif
diff --git a/include/linux/mfd/tc6387xb.h b/include/linux/mfd/tc6387xb.h
new file mode 100644
index 000000000000..fa06e0610b8e
--- /dev/null
+++ b/include/linux/mfd/tc6387xb.h
@@ -0,0 +1,23 @@
1/*
2 * This file contains the definitions for the TC6387XB
3 *
4 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
5 *
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
8 *
9 */
10#ifndef MFD_TC6387XB_H
11#define MFD_TC6387XB_H
12
13struct tc6387xb_platform_data {
14 int (*enable_clk32k)(struct platform_device *dev);
15 void (*disable_clk32k)(struct platform_device *dev);
16
17 int (*enable)(struct platform_device *dev);
18 int (*disable)(struct platform_device *dev);
19 int (*suspend)(struct platform_device *dev);
20 int (*resume)(struct platform_device *dev);
21};
22
23#endif
diff --git a/include/linux/mfd/tc6393xb.h b/include/linux/mfd/tc6393xb.h
index 7cc824a58f7c..fec7b3f7a81f 100644
--- a/include/linux/mfd/tc6393xb.h
+++ b/include/linux/mfd/tc6393xb.h
@@ -14,8 +14,8 @@
14 * published by the Free Software Foundation. 14 * published by the Free Software Foundation.
15 */ 15 */
16 16
17#ifndef TC6393XB_H 17#ifndef MFD_TC6393XB_H
18#define TC6393XB_H 18#define MFD_TC6393XB_H
19 19
20/* Also one should provide the CK3P6MI clock */ 20/* Also one should provide the CK3P6MI clock */
21struct tc6393xb_platform_data { 21struct tc6393xb_platform_data {
@@ -29,7 +29,7 @@ struct tc6393xb_platform_data {
29 int (*suspend)(struct platform_device *dev); 29 int (*suspend)(struct platform_device *dev);
30 int (*resume)(struct platform_device *dev); 30 int (*resume)(struct platform_device *dev);
31 31
32 int irq_base; /* a base for cascaded irq */ 32 int irq_base; /* base for subdevice irqs */
33 int gpio_base; 33 int gpio_base;
34 34
35 struct tmio_nand_data *nand_data; 35 struct tmio_nand_data *nand_data;
@@ -40,9 +40,6 @@ struct tc6393xb_platform_data {
40 */ 40 */
41#define IRQ_TC6393_NAND 0 41#define IRQ_TC6393_NAND 0
42#define IRQ_TC6393_MMC 1 42#define IRQ_TC6393_MMC 1
43#define IRQ_TC6393_OHCI 2
44#define IRQ_TC6393_SERIAL 3
45#define IRQ_TC6393_FB 4
46 43
47#define TC6393XB_NR_IRQS 8 44#define TC6393XB_NR_IRQS 8
48 45
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 9438d8c9ac1c..ec612e66391c 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -1,6 +1,21 @@
1#ifndef MFD_TMIO_H 1#ifndef MFD_TMIO_H
2#define MFD_TMIO_H 2#define MFD_TMIO_H
3 3
4#define tmio_ioread8(addr) readb(addr)
5#define tmio_ioread16(addr) readw(addr)
6#define tmio_ioread16_rep(r, b, l) readsw(r, b, l)
7#define tmio_ioread32(addr) \
8 (((u32) readw((addr))) | (((u32) readw((addr) + 2)) << 16))
9
10#define tmio_iowrite8(val, addr) writeb((val), (addr))
11#define tmio_iowrite16(val, addr) writew((val), (addr))
12#define tmio_iowrite16_rep(r, b, l) writesw(r, b, l)
13#define tmio_iowrite32(val, addr) \
14 do { \
15 writew((val), (addr)); \
16 writew((val) >> 16, (addr) + 2); \
17 } while (0)
18
4/* 19/*
5 * data for the NAND controller 20 * data for the NAND controller
6 */ 21 */
@@ -10,8 +25,4 @@ struct tmio_nand_data {
10 unsigned int num_partitions; 25 unsigned int num_partitions;
11}; 26};
12 27
13#define TMIO_NAND_CONFIG "tmio-nand-config"
14#define TMIO_NAND_CONTROL "tmio-nand-control"
15#define TMIO_NAND_IRQ "tmio-nand"
16
17#endif 28#endif
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 335288bff1b7..fa651609b65d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -834,7 +834,6 @@ extern int mprotect_fixup(struct vm_area_struct *vma,
834 struct vm_area_struct **pprev, unsigned long start, 834 struct vm_area_struct **pprev, unsigned long start,
835 unsigned long end, unsigned long newflags); 835 unsigned long end, unsigned long newflags);
836 836
837#ifdef CONFIG_HAVE_GET_USER_PAGES_FAST
838/* 837/*
839 * get_user_pages_fast provides equivalent functionality to get_user_pages, 838 * get_user_pages_fast provides equivalent functionality to get_user_pages,
840 * operating on current and current->mm (force=0 and doesn't return any vmas). 839 * operating on current and current->mm (force=0 and doesn't return any vmas).
@@ -848,25 +847,6 @@ extern int mprotect_fixup(struct vm_area_struct *vma,
848int get_user_pages_fast(unsigned long start, int nr_pages, int write, 847int get_user_pages_fast(unsigned long start, int nr_pages, int write,
849 struct page **pages); 848 struct page **pages);
850 849
851#else
852/*
853 * Should probably be moved to asm-generic, and architectures can include it if
854 * they don't implement their own get_user_pages_fast.
855 */
856#define get_user_pages_fast(start, nr_pages, write, pages) \
857({ \
858 struct mm_struct *mm = current->mm; \
859 int ret; \
860 \
861 down_read(&mm->mmap_sem); \
862 ret = get_user_pages(current, mm, start, nr_pages, \
863 write, 0, pages, NULL); \
864 up_read(&mm->mmap_sem); \
865 \
866 ret; \
867})
868#endif
869
870/* 850/*
871 * A callback you can register to apply pressure to ageable caches. 851 * A callback you can register to apply pressure to ageable caches.
872 * 852 *
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 825be3878f68..c0e14008a3c2 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -641,6 +641,7 @@ int pci_restore_state(struct pci_dev *dev);
641int pci_set_power_state(struct pci_dev *dev, pci_power_t state); 641int pci_set_power_state(struct pci_dev *dev, pci_power_t state);
642pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state); 642pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state);
643bool pci_pme_capable(struct pci_dev *dev, pci_power_t state); 643bool pci_pme_capable(struct pci_dev *dev, pci_power_t state);
644void pci_pme_active(struct pci_dev *dev, bool enable);
644int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable); 645int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable);
645pci_power_t pci_target_state(struct pci_dev *dev); 646pci_power_t pci_target_state(struct pci_dev *dev);
646int pci_prepare_to_sleep(struct pci_dev *dev); 647int pci_prepare_to_sleep(struct pci_dev *dev);
@@ -680,10 +681,12 @@ void pci_enable_bridges(struct pci_bus *bus);
680/* Proper probing supporting hot-pluggable devices */ 681/* Proper probing supporting hot-pluggable devices */
681int __must_check __pci_register_driver(struct pci_driver *, struct module *, 682int __must_check __pci_register_driver(struct pci_driver *, struct module *,
682 const char *mod_name); 683 const char *mod_name);
683static inline int __must_check pci_register_driver(struct pci_driver *driver) 684
684{ 685/*
685 return __pci_register_driver(driver, THIS_MODULE, KBUILD_MODNAME); 686 * pci_register_driver must be a macro so that KBUILD_MODNAME can be expanded
686} 687 */
688#define pci_register_driver(driver) \
689 __pci_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
687 690
688void pci_unregister_driver(struct pci_driver *dev); 691void pci_unregister_driver(struct pci_driver *dev);
689void pci_remove_behind_bridge(struct pci_dev *dev); 692void pci_remove_behind_bridge(struct pci_dev *dev);
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 35a78415accc..9ec2bcce8e83 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2177,8 +2177,6 @@
2177#define PCI_DEVICE_ID_HERC_WIN 0x5732 2177#define PCI_DEVICE_ID_HERC_WIN 0x5732
2178#define PCI_DEVICE_ID_HERC_UNI 0x5832 2178#define PCI_DEVICE_ID_HERC_UNI 0x5832
2179 2179
2180#define PCI_VENDOR_ID_RDC 0x17f3
2181
2182#define PCI_VENDOR_ID_SITECOM 0x182d 2180#define PCI_VENDOR_ID_SITECOM 0x182d
2183#define PCI_DEVICE_ID_SITECOM_DC105V2 0x3069 2181#define PCI_DEVICE_ID_SITECOM_DC105V2 0x3069
2184 2182
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5270d449ff9d..5850bfb968a8 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1551,16 +1551,10 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
1551 1551
1552extern unsigned long long sched_clock(void); 1552extern unsigned long long sched_clock(void);
1553 1553
1554#ifndef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK 1554extern void sched_clock_init(void);
1555static inline void sched_clock_init(void) 1555extern u64 sched_clock_cpu(int cpu);
1556{
1557}
1558
1559static inline u64 sched_clock_cpu(int cpu)
1560{
1561 return sched_clock();
1562}
1563 1556
1557#ifndef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
1564static inline void sched_clock_tick(void) 1558static inline void sched_clock_tick(void)
1565{ 1559{
1566} 1560}
@@ -1572,28 +1566,11 @@ static inline void sched_clock_idle_sleep_event(void)
1572static inline void sched_clock_idle_wakeup_event(u64 delta_ns) 1566static inline void sched_clock_idle_wakeup_event(u64 delta_ns)
1573{ 1567{
1574} 1568}
1575 1569#else
1576#ifdef CONFIG_NO_HZ
1577static inline void sched_clock_tick_stop(int cpu)
1578{
1579}
1580
1581static inline void sched_clock_tick_start(int cpu)
1582{
1583}
1584#endif
1585
1586#else /* CONFIG_HAVE_UNSTABLE_SCHED_CLOCK */
1587extern void sched_clock_init(void);
1588extern u64 sched_clock_cpu(int cpu);
1589extern void sched_clock_tick(void); 1570extern void sched_clock_tick(void);
1590extern void sched_clock_idle_sleep_event(void); 1571extern void sched_clock_idle_sleep_event(void);
1591extern void sched_clock_idle_wakeup_event(u64 delta_ns); 1572extern void sched_clock_idle_wakeup_event(u64 delta_ns);
1592#ifdef CONFIG_NO_HZ
1593extern void sched_clock_tick_stop(int cpu);
1594extern void sched_clock_tick_start(int cpu);
1595#endif 1573#endif
1596#endif /* CONFIG_HAVE_UNSTABLE_SCHED_CLOCK */
1597 1574
1598/* 1575/*
1599 * For kernel-internal use: high-speed (but slightly incorrect) per-cpu 1576 * For kernel-internal use: high-speed (but slightly incorrect) per-cpu
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h
index a66304a09955..a1783b229ef4 100644
--- a/include/linux/seq_file.h
+++ b/include/linux/seq_file.h
@@ -4,6 +4,8 @@
4#include <linux/types.h> 4#include <linux/types.h>
5#include <linux/string.h> 5#include <linux/string.h>
6#include <linux/mutex.h> 6#include <linux/mutex.h>
7#include <linux/cpumask.h>
8#include <linux/nodemask.h>
7 9
8struct seq_operations; 10struct seq_operations;
9struct file; 11struct file;
@@ -47,6 +49,16 @@ int seq_path(struct seq_file *, struct path *, char *);
47int seq_dentry(struct seq_file *, struct dentry *, char *); 49int seq_dentry(struct seq_file *, struct dentry *, char *);
48int seq_path_root(struct seq_file *m, struct path *path, struct path *root, 50int seq_path_root(struct seq_file *m, struct path *path, struct path *root,
49 char *esc); 51 char *esc);
52int seq_bitmap(struct seq_file *m, unsigned long *bits, unsigned int nr_bits);
53static inline int seq_cpumask(struct seq_file *m, cpumask_t *mask)
54{
55 return seq_bitmap(m, mask->bits, NR_CPUS);
56}
57
58static inline int seq_nodemask(struct seq_file *m, nodemask_t *mask)
59{
60 return seq_bitmap(m, mask->bits, MAX_NUMNODES);
61}
50 62
51int single_open(struct file *, int (*)(struct seq_file *, void *), void *); 63int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
52int single_release(struct inode *, struct file *); 64int single_release(struct inode *, struct file *);
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index 5bad61a93f65..2f5c16b1aacd 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -46,6 +46,7 @@ struct kmem_cache_cpu {
46struct kmem_cache_node { 46struct kmem_cache_node {
47 spinlock_t list_lock; /* Protect partial list and nr_partial */ 47 spinlock_t list_lock; /* Protect partial list and nr_partial */
48 unsigned long nr_partial; 48 unsigned long nr_partial;
49 unsigned long min_partial;
49 struct list_head partial; 50 struct list_head partial;
50#ifdef CONFIG_SLUB_DEBUG 51#ifdef CONFIG_SLUB_DEBUG
51 atomic_long_t nr_slabs; 52 atomic_long_t nr_slabs;
diff --git a/include/linux/swab.h b/include/linux/swab.h
new file mode 100644
index 000000000000..270d5c208a89
--- /dev/null
+++ b/include/linux/swab.h
@@ -0,0 +1,309 @@
1#ifndef _LINUX_SWAB_H
2#define _LINUX_SWAB_H
3
4#include <linux/types.h>
5#include <linux/compiler.h>
6#include <asm/byteorder.h>
7
8/*
9 * casts are necessary for constants, because we never know how for sure
10 * how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.
11 */
12#define __const_swab16(x) ((__u16)( \
13 (((__u16)(x) & (__u16)0x00ffU) << 8) | \
14 (((__u16)(x) & (__u16)0xff00U) >> 8)))
15
16#define __const_swab32(x) ((__u32)( \
17 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
18 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
19 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
20 (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
21
22#define __const_swab64(x) ((__u64)( \
23 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
24 (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
25 (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
26 (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
27 (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
28 (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
29 (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
30 (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
31
32#define __const_swahw32(x) ((__u32)( \
33 (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
34 (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
35
36#define __const_swahb32(x) ((__u32)( \
37 (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
38 (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
39
40/*
41 * Implement the following as inlines, but define the interface using
42 * macros to allow constant folding when possible:
43 * ___swab16, ___swab32, ___swab64, ___swahw32, ___swahb32
44 */
45
46static inline __attribute_const__ __u16 ___swab16(__u16 val)
47{
48#ifdef __arch_swab16
49 return __arch_swab16(val);
50#elif defined(__arch_swab16p)
51 return __arch_swab16p(&val);
52#else
53 return __const_swab16(val);
54#endif
55}
56
57static inline __attribute_const__ __u32 ___swab32(__u32 val)
58{
59#ifdef __arch_swab32
60 return __arch_swab32(val);
61#elif defined(__arch_swab32p)
62 return __arch_swab32p(&val);
63#else
64 return __const_swab32(val);
65#endif
66}
67
68static inline __attribute_const__ __u64 ___swab64(__u64 val)
69{
70#ifdef __arch_swab64
71 return __arch_swab64(val);
72#elif defined(__arch_swab64p)
73 return __arch_swab64p(&val);
74#elif defined(__SWAB_64_THRU_32__)
75 __u32 h = val >> 32;
76 __u32 l = val & ((1ULL << 32) - 1);
77 return (((__u64)___swab32(l)) << 32) | ((__u64)(___swab32(h)));
78#else
79 return __const_swab64(val);
80#endif
81}
82
83static inline __attribute_const__ __u32 ___swahw32(__u32 val)
84{
85#ifdef __arch_swahw32
86 return __arch_swahw32(val);
87#elif defined(__arch_swahw32p)
88 return __arch_swahw32p(&val);
89#else
90 return __const_swahw32(val);
91#endif
92}
93
94static inline __attribute_const__ __u32 ___swahb32(__u32 val)
95{
96#ifdef __arch_swahb32
97 return __arch_swahb32(val);
98#elif defined(__arch_swahb32p)
99 return __arch_swahb32p(&val);
100#else
101 return __const_swahb32(val);
102#endif
103}
104
105/**
106 * __swab16 - return a byteswapped 16-bit value
107 * @x: value to byteswap
108 */
109#define __swab16(x) \
110 (__builtin_constant_p((__u16)(x)) ? \
111 __const_swab16((x)) : \
112 ___swab16((x)))
113
114/**
115 * __swab32 - return a byteswapped 32-bit value
116 * @x: value to byteswap
117 */
118#define __swab32(x) \
119 (__builtin_constant_p((__u32)(x)) ? \
120 __const_swab32((x)) : \
121 ___swab32((x)))
122
123/**
124 * __swab64 - return a byteswapped 64-bit value
125 * @x: value to byteswap
126 */
127#define __swab64(x) \
128 (__builtin_constant_p((__u64)(x)) ? \
129 __const_swab64((x)) : \
130 ___swab64((x)))
131
132/**
133 * __swahw32 - return a word-swapped 32-bit value
134 * @x: value to wordswap
135 *
136 * __swahw32(0x12340000) is 0x00001234
137 */
138#define __swahw32(x) \
139 (__builtin_constant_p((__u32)(x)) ? \
140 __const_swahw32((x)) : \
141 ___swahw32((x)))
142
143/**
144 * __swahb32 - return a high and low byte-swapped 32-bit value
145 * @x: value to byteswap
146 *
147 * __swahb32(0x12345678) is 0x34127856
148 */
149#define __swahb32(x) \
150 (__builtin_constant_p((__u32)(x)) ? \
151 __const_swahb32((x)) : \
152 ___swahb32((x)))
153
154/**
155 * __swab16p - return a byteswapped 16-bit value from a pointer
156 * @p: pointer to a naturally-aligned 16-bit value
157 */
158static inline __u16 __swab16p(const __u16 *p)
159{
160#ifdef __arch_swab16p
161 return __arch_swab16p(p);
162#else
163 return __swab16(*p);
164#endif
165}
166
167/**
168 * __swab32p - return a byteswapped 32-bit value from a pointer
169 * @p: pointer to a naturally-aligned 32-bit value
170 */
171static inline __u32 __swab32p(const __u32 *p)
172{
173#ifdef __arch_swab32p
174 return __arch_swab32p(p);
175#else
176 return __swab32(*p);
177#endif
178}
179
180/**
181 * __swab64p - return a byteswapped 64-bit value from a pointer
182 * @p: pointer to a naturally-aligned 64-bit value
183 */
184static inline __u64 __swab64p(const __u64 *p)
185{
186#ifdef __arch_swab64p
187 return __arch_swab64p(p);
188#else
189 return __swab64(*p);
190#endif
191}
192
193/**
194 * __swahw32p - return a wordswapped 32-bit value from a pointer
195 * @p: pointer to a naturally-aligned 32-bit value
196 *
197 * See __swahw32() for details of wordswapping.
198 */
199static inline __u32 __swahw32p(const __u32 *p)
200{
201#ifdef __arch_swahw32p
202 return __arch_swahw32p(p);
203#else
204 return __swahw32(*p);
205#endif
206}
207
208/**
209 * __swahb32p - return a high and low byteswapped 32-bit value from a pointer
210 * @p: pointer to a naturally-aligned 32-bit value
211 *
212 * See __swahb32() for details of high/low byteswapping.
213 */
214static inline __u32 __swahb32p(const __u32 *p)
215{
216#ifdef __arch_swahb32p
217 return __arch_swahb32p(p);
218#else
219 return __swahb32(*p);
220#endif
221}
222
223/**
224 * __swab16s - byteswap a 16-bit value in-place
225 * @p: pointer to a naturally-aligned 16-bit value
226 */
227static inline void __swab16s(__u16 *p)
228{
229#ifdef __arch_swab16s
230 __arch_swab16s(p);
231#else
232 *p = __swab16p(p);
233#endif
234}
235/**
236 * __swab32s - byteswap a 32-bit value in-place
237 * @p: pointer to a naturally-aligned 32-bit value
238 */
239static inline void __swab32s(__u32 *p)
240{
241#ifdef __arch_swab32s
242 __arch_swab32s(p);
243#else
244 *p = __swab32p(p);
245#endif
246}
247
248/**
249 * __swab64s - byteswap a 64-bit value in-place
250 * @p: pointer to a naturally-aligned 64-bit value
251 */
252static inline void __swab64s(__u64 *p)
253{
254#ifdef __arch_swab64s
255 __arch_swab64s(p);
256#else
257 *p = __swab64p(p);
258#endif
259}
260
261/**
262 * __swahw32s - wordswap a 32-bit value in-place
263 * @p: pointer to a naturally-aligned 32-bit value
264 *
265 * See __swahw32() for details of wordswapping
266 */
267static inline void __swahw32s(__u32 *p)
268{
269#ifdef __arch_swahw32s
270 __arch_swahw32s(p);
271#else
272 *p = __swahw32p(p);
273#endif
274}
275
276/**
277 * __swahb32s - high and low byteswap a 32-bit value in-place
278 * @p: pointer to a naturally-aligned 32-bit value
279 *
280 * See __swahb32() for details of high and low byte swapping
281 */
282static inline void __swahb32s(__u32 *p)
283{
284#ifdef __arch_swahb32s
285 __arch_swahb32s(p);
286#else
287 *p = __swahb32p(p);
288#endif
289}
290
291#ifdef __KERNEL__
292# define swab16 __swab16
293# define swab32 __swab32
294# define swab64 __swab64
295# define swahw32 __swahw32
296# define swahb32 __swahb32
297# define swab16p __swab16p
298# define swab32p __swab32p
299# define swab64p __swab64p
300# define swahw32p __swahw32p
301# define swahb32p __swahb32p
302# define swab16s __swab16s
303# define swab32s __swab32s
304# define swab64s __swab64s
305# define swahw32s __swahw32s
306# define swahb32s __swahb32s
307#endif /* __KERNEL__ */
308
309#endif /* _LINUX_SWAB_H */
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index 613173b5db69..920c4e9cb93d 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -41,6 +41,7 @@ struct atmel_lcdfb_info {
41 struct work_struct task; 41 struct work_struct task;
42 42
43 unsigned int guard_time; 43 unsigned int guard_time;
44 unsigned int smem_len;
44 struct platform_device *pdev; 45 struct platform_device *pdev;
45 struct clk *bus_clk; 46 struct clk *bus_clk;
46 struct clk *lcdc_clk; 47 struct clk *lcdc_clk;
diff --git a/include/video/radeon.h b/include/video/radeon.h
index 95a1f2038b1d..099ffa5e5bee 100644
--- a/include/video/radeon.h
+++ b/include/video/radeon.h
@@ -742,6 +742,10 @@
742#define SOFT_RESET_RB (1 << 6) 742#define SOFT_RESET_RB (1 << 6)
743#define SOFT_RESET_HDP (1 << 7) 743#define SOFT_RESET_HDP (1 << 7)
744 744
745/* WAIT_UNTIL bit constants */
746#define WAIT_DMA_GUI_IDLE (1 << 9)
747#define WAIT_2D_IDLECLEAN (1 << 16)
748
745/* SURFACE_CNTL bit consants */ 749/* SURFACE_CNTL bit consants */
746#define SURF_TRANSLATION_DIS (1 << 8) 750#define SURF_TRANSLATION_DIS (1 << 8)
747#define NONSURF_AP0_SWP_16BPP (1 << 20) 751#define NONSURF_AP0_SWP_16BPP (1 << 20)
diff --git a/init/main.c b/init/main.c
index 0bc7e167bf45..f6f7042331dc 100644
--- a/init/main.c
+++ b/init/main.c
@@ -691,7 +691,7 @@ asmlinkage void __init start_kernel(void)
691 rest_init(); 691 rest_init();
692} 692}
693 693
694static int __initdata initcall_debug; 694static int initcall_debug;
695 695
696static int __init initcall_debug_setup(char *str) 696static int __init initcall_debug_setup(char *str)
697{ 697{
@@ -700,7 +700,7 @@ static int __init initcall_debug_setup(char *str)
700} 700}
701__setup("initcall_debug", initcall_debug_setup); 701__setup("initcall_debug", initcall_debug_setup);
702 702
703static void __init do_one_initcall(initcall_t fn) 703int do_one_initcall(initcall_t fn)
704{ 704{
705 int count = preempt_count(); 705 int count = preempt_count();
706 ktime_t t0, t1, delta; 706 ktime_t t0, t1, delta;
@@ -740,6 +740,8 @@ static void __init do_one_initcall(initcall_t fn)
740 print_fn_descriptor_symbol(KERN_WARNING "initcall %s", fn); 740 print_fn_descriptor_symbol(KERN_WARNING "initcall %s", fn);
741 printk(" returned with %s\n", msgbuf); 741 printk(" returned with %s\n", msgbuf);
742 } 742 }
743
744 return result;
743} 745}
744 746
745 747
diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz
index 382dd5a8b2d7..94fabd534b03 100644
--- a/kernel/Kconfig.hz
+++ b/kernel/Kconfig.hz
@@ -55,4 +55,4 @@ config HZ
55 default 1000 if HZ_1000 55 default 1000 if HZ_1000
56 56
57config SCHED_HRTICK 57config SCHED_HRTICK
58 def_bool HIGH_RES_TIMERS && USE_GENERIC_SMP_HELPERS 58 def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)
diff --git a/kernel/cpu.c b/kernel/cpu.c
index e202a68d1cc1..f17e9854c246 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -349,6 +349,8 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
349 goto out_notify; 349 goto out_notify;
350 BUG_ON(!cpu_online(cpu)); 350 BUG_ON(!cpu_online(cpu));
351 351
352 cpu_set(cpu, cpu_active_map);
353
352 /* Now call notifier in preparation. */ 354 /* Now call notifier in preparation. */
353 raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu); 355 raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu);
354 356
@@ -367,7 +369,7 @@ int __cpuinit cpu_up(unsigned int cpu)
367 if (!cpu_isset(cpu, cpu_possible_map)) { 369 if (!cpu_isset(cpu, cpu_possible_map)) {
368 printk(KERN_ERR "can't online cpu %d because it is not " 370 printk(KERN_ERR "can't online cpu %d because it is not "
369 "configured as may-hotadd at boot time\n", cpu); 371 "configured as may-hotadd at boot time\n", cpu);
370#if defined(CONFIG_IA64) || defined(CONFIG_X86_64) || defined(CONFIG_S390) 372#if defined(CONFIG_IA64) || defined(CONFIG_X86_64)
371 printk(KERN_ERR "please check additional_cpus= boot " 373 printk(KERN_ERR "please check additional_cpus= boot "
372 "parameter\n"); 374 "parameter\n");
373#endif 375#endif
@@ -383,9 +385,6 @@ int __cpuinit cpu_up(unsigned int cpu)
383 385
384 err = _cpu_up(cpu, 0); 386 err = _cpu_up(cpu, 0);
385 387
386 if (cpu_online(cpu))
387 cpu_set(cpu, cpu_active_map);
388
389out: 388out:
390 cpu_maps_update_done(); 389 cpu_maps_update_done();
391 return err; 390 return err;
diff --git a/kernel/dma-coherent.c b/kernel/dma-coherent.c
index 91e96950cd52..c1d4d5b4c61c 100644
--- a/kernel/dma-coherent.c
+++ b/kernel/dma-coherent.c
@@ -92,7 +92,7 @@ void *dma_mark_declared_memory_occupied(struct device *dev,
92EXPORT_SYMBOL(dma_mark_declared_memory_occupied); 92EXPORT_SYMBOL(dma_mark_declared_memory_occupied);
93 93
94/** 94/**
95 * Try to allocate memory from the per-device coherent area. 95 * dma_alloc_from_coherent() - try to allocate memory from the per-device coherent area
96 * 96 *
97 * @dev: device from which we allocate memory 97 * @dev: device from which we allocate memory
98 * @size: size of requested memory area 98 * @size: size of requested memory area
@@ -100,11 +100,11 @@ EXPORT_SYMBOL(dma_mark_declared_memory_occupied);
100 * @ret: This pointer will be filled with the virtual address 100 * @ret: This pointer will be filled with the virtual address
101 * to allocated area. 101 * to allocated area.
102 * 102 *
103 * This function should be only called from per-arch %dma_alloc_coherent() 103 * This function should be only called from per-arch dma_alloc_coherent()
104 * to support allocation from per-device coherent memory pools. 104 * to support allocation from per-device coherent memory pools.
105 * 105 *
106 * Returns 0 if dma_alloc_coherent should continue with allocating from 106 * Returns 0 if dma_alloc_coherent should continue with allocating from
107 * generic memory areas, or !0 if dma_alloc_coherent should return %ret. 107 * generic memory areas, or !0 if dma_alloc_coherent should return @ret.
108 */ 108 */
109int dma_alloc_from_coherent(struct device *dev, ssize_t size, 109int dma_alloc_from_coherent(struct device *dev, ssize_t size,
110 dma_addr_t *dma_handle, void **ret) 110 dma_addr_t *dma_handle, void **ret)
@@ -126,7 +126,7 @@ int dma_alloc_from_coherent(struct device *dev, ssize_t size,
126} 126}
127 127
128/** 128/**
129 * Try to free the memory allocated from per-device coherent memory pool. 129 * dma_release_from_coherent() - try to free the memory allocated from per-device coherent memory pool
130 * @dev: device from which the memory was allocated 130 * @dev: device from which the memory was allocated
131 * @order: the order of pages allocated 131 * @order: the order of pages allocated
132 * @vaddr: virtual address of allocated pages 132 * @vaddr: virtual address of allocated pages
@@ -135,7 +135,7 @@ int dma_alloc_from_coherent(struct device *dev, ssize_t size,
135 * coherent memory pool and if so, releases that memory. 135 * coherent memory pool and if so, releases that memory.
136 * 136 *
137 * Returns 1 if we correctly released the memory, or 0 if 137 * Returns 1 if we correctly released the memory, or 0 if
138 * %dma_release_coherent() should proceed with releasing memory from 138 * dma_release_coherent() should proceed with releasing memory from
139 * generic pools. 139 * generic pools.
140 */ 140 */
141int dma_release_from_coherent(struct device *dev, int order, void *vaddr) 141int dma_release_from_coherent(struct device *dev, int order, void *vaddr)
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c
index 6c6d35d68ee9..a09dd29c2fd7 100644
--- a/kernel/irq/proc.c
+++ b/kernel/irq/proc.c
@@ -8,6 +8,7 @@
8 8
9#include <linux/irq.h> 9#include <linux/irq.h>
10#include <linux/proc_fs.h> 10#include <linux/proc_fs.h>
11#include <linux/seq_file.h>
11#include <linux/interrupt.h> 12#include <linux/interrupt.h>
12 13
13#include "internals.h" 14#include "internals.h"
@@ -16,23 +17,18 @@ static struct proc_dir_entry *root_irq_dir;
16 17
17#ifdef CONFIG_SMP 18#ifdef CONFIG_SMP
18 19
19static int irq_affinity_read_proc(char *page, char **start, off_t off, 20static int irq_affinity_proc_show(struct seq_file *m, void *v)
20 int count, int *eof, void *data)
21{ 21{
22 struct irq_desc *desc = irq_desc + (long)data; 22 struct irq_desc *desc = irq_desc + (long)m->private;
23 cpumask_t *mask = &desc->affinity; 23 cpumask_t *mask = &desc->affinity;
24 int len;
25 24
26#ifdef CONFIG_GENERIC_PENDING_IRQ 25#ifdef CONFIG_GENERIC_PENDING_IRQ
27 if (desc->status & IRQ_MOVE_PENDING) 26 if (desc->status & IRQ_MOVE_PENDING)
28 mask = &desc->pending_mask; 27 mask = &desc->pending_mask;
29#endif 28#endif
30 len = cpumask_scnprintf(page, count, *mask); 29 seq_cpumask(m, mask);
31 30 seq_putc(m, '\n');
32 if (count - len < 2) 31 return 0;
33 return -EINVAL;
34 len += sprintf(page + len, "\n");
35 return len;
36} 32}
37 33
38#ifndef is_affinity_mask_valid 34#ifndef is_affinity_mask_valid
@@ -40,11 +36,12 @@ static int irq_affinity_read_proc(char *page, char **start, off_t off,
40#endif 36#endif
41 37
42int no_irq_affinity; 38int no_irq_affinity;
43static int irq_affinity_write_proc(struct file *file, const char __user *buffer, 39static ssize_t irq_affinity_proc_write(struct file *file,
44 unsigned long count, void *data) 40 const char __user *buffer, size_t count, loff_t *pos)
45{ 41{
46 unsigned int irq = (int)(long)data, full_count = count, err; 42 unsigned int irq = (int)(long)PDE(file->f_path.dentry->d_inode)->data;
47 cpumask_t new_value; 43 cpumask_t new_value;
44 int err;
48 45
49 if (!irq_desc[irq].chip->set_affinity || no_irq_affinity || 46 if (!irq_desc[irq].chip->set_affinity || no_irq_affinity ||
50 irq_balancing_disabled(irq)) 47 irq_balancing_disabled(irq))
@@ -65,28 +62,38 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer,
65 if (!cpus_intersects(new_value, cpu_online_map)) 62 if (!cpus_intersects(new_value, cpu_online_map))
66 /* Special case for empty set - allow the architecture 63 /* Special case for empty set - allow the architecture
67 code to set default SMP affinity. */ 64 code to set default SMP affinity. */
68 return irq_select_affinity(irq) ? -EINVAL : full_count; 65 return irq_select_affinity(irq) ? -EINVAL : count;
69 66
70 irq_set_affinity(irq, new_value); 67 irq_set_affinity(irq, new_value);
71 68
72 return full_count; 69 return count;
73} 70}
74 71
75static int default_affinity_read(char *page, char **start, off_t off, 72static int irq_affinity_proc_open(struct inode *inode, struct file *file)
76 int count, int *eof, void *data)
77{ 73{
78 int len = cpumask_scnprintf(page, count, irq_default_affinity); 74 return single_open(file, irq_affinity_proc_show, PDE(inode)->data);
79 if (count - len < 2)
80 return -EINVAL;
81 len += sprintf(page + len, "\n");
82 return len;
83} 75}
84 76
85static int default_affinity_write(struct file *file, const char __user *buffer, 77static const struct file_operations irq_affinity_proc_fops = {
86 unsigned long count, void *data) 78 .open = irq_affinity_proc_open,
79 .read = seq_read,
80 .llseek = seq_lseek,
81 .release = single_release,
82 .write = irq_affinity_proc_write,
83};
84
85static int default_affinity_show(struct seq_file *m, void *v)
86{
87 seq_cpumask(m, &irq_default_affinity);
88 seq_putc(m, '\n');
89 return 0;
90}
91
92static ssize_t default_affinity_write(struct file *file,
93 const char __user *buffer, size_t count, loff_t *ppos)
87{ 94{
88 unsigned int full_count = count, err;
89 cpumask_t new_value; 95 cpumask_t new_value;
96 int err;
90 97
91 err = cpumask_parse_user(buffer, count, new_value); 98 err = cpumask_parse_user(buffer, count, new_value);
92 if (err) 99 if (err)
@@ -105,8 +112,21 @@ static int default_affinity_write(struct file *file, const char __user *buffer,
105 112
106 irq_default_affinity = new_value; 113 irq_default_affinity = new_value;
107 114
108 return full_count; 115 return count;
109} 116}
117
118static int default_affinity_open(struct inode *inode, struct file *file)
119{
120 return single_open(file, default_affinity_show, NULL);
121}
122
123static const struct file_operations default_affinity_proc_fops = {
124 .open = default_affinity_open,
125 .read = seq_read,
126 .llseek = seq_lseek,
127 .release = single_release,
128 .write = default_affinity_write,
129};
110#endif 130#endif
111 131
112static int irq_spurious_read(char *page, char **start, off_t off, 132static int irq_spurious_read(char *page, char **start, off_t off,
@@ -178,16 +198,9 @@ void register_irq_proc(unsigned int irq)
178 irq_desc[irq].dir = proc_mkdir(name, root_irq_dir); 198 irq_desc[irq].dir = proc_mkdir(name, root_irq_dir);
179 199
180#ifdef CONFIG_SMP 200#ifdef CONFIG_SMP
181 { 201 /* create /proc/irq/<irq>/smp_affinity */
182 /* create /proc/irq/<irq>/smp_affinity */ 202 proc_create_data("smp_affinity", 0600, irq_desc[irq].dir,
183 entry = create_proc_entry("smp_affinity", 0600, irq_desc[irq].dir); 203 &irq_affinity_proc_fops, (void *)(long)irq);
184
185 if (entry) {
186 entry->data = (void *)(long)irq;
187 entry->read_proc = irq_affinity_read_proc;
188 entry->write_proc = irq_affinity_write_proc;
189 }
190 }
191#endif 204#endif
192 205
193 entry = create_proc_entry("spurious", 0444, irq_desc[irq].dir); 206 entry = create_proc_entry("spurious", 0444, irq_desc[irq].dir);
@@ -208,15 +221,8 @@ void unregister_handler_proc(unsigned int irq, struct irqaction *action)
208void register_default_affinity_proc(void) 221void register_default_affinity_proc(void)
209{ 222{
210#ifdef CONFIG_SMP 223#ifdef CONFIG_SMP
211 struct proc_dir_entry *entry; 224 proc_create("irq/default_smp_affinity", 0600, NULL,
212 225 &default_affinity_proc_fops);
213 /* create /proc/irq/default_smp_affinity */
214 entry = create_proc_entry("default_smp_affinity", 0600, root_irq_dir);
215 if (entry) {
216 entry->data = NULL;
217 entry->read_proc = default_affinity_read;
218 entry->write_proc = default_affinity_write;
219 }
220#endif 226#endif
221} 227}
222 228
diff --git a/kernel/module.c b/kernel/module.c
index 61d212120df4..08864d257eb0 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -2288,7 +2288,7 @@ sys_init_module(void __user *umod,
2288 2288
2289 /* Start the module */ 2289 /* Start the module */
2290 if (mod->init != NULL) 2290 if (mod->init != NULL)
2291 ret = mod->init(); 2291 ret = do_one_initcall(mod->init);
2292 if (ret < 0) { 2292 if (ret < 0) {
2293 /* Init routine failed: abort. Try to protect us from 2293 /* Init routine failed: abort. Try to protect us from
2294 buggy refcounters. */ 2294 buggy refcounters. */
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 9a21681aa80f..e36d5798cbff 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -289,21 +289,29 @@ void do_schedule_next_timer(struct siginfo *info)
289 else 289 else
290 schedule_next_timer(timr); 290 schedule_next_timer(timr);
291 291
292 info->si_overrun = timr->it_overrun_last; 292 info->si_overrun += timr->it_overrun_last;
293 } 293 }
294 294
295 if (timr) 295 if (timr)
296 unlock_timer(timr, flags); 296 unlock_timer(timr, flags);
297} 297}
298 298
299int posix_timer_event(struct k_itimer *timr,int si_private) 299int posix_timer_event(struct k_itimer *timr, int si_private)
300{ 300{
301 memset(&timr->sigq->info, 0, sizeof(siginfo_t)); 301 /*
302 * FIXME: if ->sigq is queued we can race with
303 * dequeue_signal()->do_schedule_next_timer().
304 *
305 * If dequeue_signal() sees the "right" value of
306 * si_sys_private it calls do_schedule_next_timer().
307 * We re-queue ->sigq and drop ->it_lock().
308 * do_schedule_next_timer() locks the timer
309 * and re-schedules it while ->sigq is pending.
310 * Not really bad, but not that we want.
311 */
302 timr->sigq->info.si_sys_private = si_private; 312 timr->sigq->info.si_sys_private = si_private;
303 /* Send signal to the process that owns this timer.*/
304 313
305 timr->sigq->info.si_signo = timr->it_sigev_signo; 314 timr->sigq->info.si_signo = timr->it_sigev_signo;
306 timr->sigq->info.si_errno = 0;
307 timr->sigq->info.si_code = SI_TIMER; 315 timr->sigq->info.si_code = SI_TIMER;
308 timr->sigq->info.si_tid = timr->it_id; 316 timr->sigq->info.si_tid = timr->it_id;
309 timr->sigq->info.si_value = timr->it_sigev_value; 317 timr->sigq->info.si_value = timr->it_sigev_value;
@@ -435,6 +443,7 @@ static struct k_itimer * alloc_posix_timer(void)
435 kmem_cache_free(posix_timers_cache, tmr); 443 kmem_cache_free(posix_timers_cache, tmr);
436 tmr = NULL; 444 tmr = NULL;
437 } 445 }
446 memset(&tmr->sigq->info, 0, sizeof(siginfo_t));
438 return tmr; 447 return tmr;
439} 448}
440 449
diff --git a/kernel/sched.c b/kernel/sched.c
index ace566bdfc68..d601fb0406ca 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -833,7 +833,7 @@ static inline u64 global_rt_period(void)
833 833
834static inline u64 global_rt_runtime(void) 834static inline u64 global_rt_runtime(void)
835{ 835{
836 if (sysctl_sched_rt_period < 0) 836 if (sysctl_sched_rt_runtime < 0)
837 return RUNTIME_INF; 837 return RUNTIME_INF;
838 838
839 return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; 839 return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;
diff --git a/kernel/sched_clock.c b/kernel/sched_clock.c
index 22ed55d1167f..204991a0bfa7 100644
--- a/kernel/sched_clock.c
+++ b/kernel/sched_clock.c
@@ -32,13 +32,19 @@
32#include <linux/ktime.h> 32#include <linux/ktime.h>
33#include <linux/module.h> 33#include <linux/module.h>
34 34
35/*
36 * Scheduler clock - returns current time in nanosec units.
37 * This is default implementation.
38 * Architectures and sub-architectures can override this.
39 */
40unsigned long long __attribute__((weak)) sched_clock(void)
41{
42 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ);
43}
35 44
36#ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK 45static __read_mostly int sched_clock_running;
37 46
38#define MULTI_SHIFT 15 47#ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
39/* Max is double, Min is 1/2 */
40#define MAX_MULTI (2LL << MULTI_SHIFT)
41#define MIN_MULTI (1LL << (MULTI_SHIFT-1))
42 48
43struct sched_clock_data { 49struct sched_clock_data {
44 /* 50 /*
@@ -49,14 +55,9 @@ struct sched_clock_data {
49 raw_spinlock_t lock; 55 raw_spinlock_t lock;
50 56
51 unsigned long tick_jiffies; 57 unsigned long tick_jiffies;
52 u64 prev_raw;
53 u64 tick_raw; 58 u64 tick_raw;
54 u64 tick_gtod; 59 u64 tick_gtod;
55 u64 clock; 60 u64 clock;
56 s64 multi;
57#ifdef CONFIG_NO_HZ
58 int check_max;
59#endif
60}; 61};
61 62
62static DEFINE_PER_CPU_SHARED_ALIGNED(struct sched_clock_data, sched_clock_data); 63static DEFINE_PER_CPU_SHARED_ALIGNED(struct sched_clock_data, sched_clock_data);
@@ -71,8 +72,6 @@ static inline struct sched_clock_data *cpu_sdc(int cpu)
71 return &per_cpu(sched_clock_data, cpu); 72 return &per_cpu(sched_clock_data, cpu);
72} 73}
73 74
74static __read_mostly int sched_clock_running;
75
76void sched_clock_init(void) 75void sched_clock_init(void)
77{ 76{
78 u64 ktime_now = ktime_to_ns(ktime_get()); 77 u64 ktime_now = ktime_to_ns(ktime_get());
@@ -84,90 +83,39 @@ void sched_clock_init(void)
84 83
85 scd->lock = (raw_spinlock_t)__RAW_SPIN_LOCK_UNLOCKED; 84 scd->lock = (raw_spinlock_t)__RAW_SPIN_LOCK_UNLOCKED;
86 scd->tick_jiffies = now_jiffies; 85 scd->tick_jiffies = now_jiffies;
87 scd->prev_raw = 0;
88 scd->tick_raw = 0; 86 scd->tick_raw = 0;
89 scd->tick_gtod = ktime_now; 87 scd->tick_gtod = ktime_now;
90 scd->clock = ktime_now; 88 scd->clock = ktime_now;
91 scd->multi = 1 << MULTI_SHIFT;
92#ifdef CONFIG_NO_HZ
93 scd->check_max = 1;
94#endif
95 } 89 }
96 90
97 sched_clock_running = 1; 91 sched_clock_running = 1;
98} 92}
99 93
100#ifdef CONFIG_NO_HZ
101/*
102 * The dynamic ticks makes the delta jiffies inaccurate. This
103 * prevents us from checking the maximum time update.
104 * Disable the maximum check during stopped ticks.
105 */
106void sched_clock_tick_stop(int cpu)
107{
108 struct sched_clock_data *scd = cpu_sdc(cpu);
109
110 scd->check_max = 0;
111}
112
113void sched_clock_tick_start(int cpu)
114{
115 struct sched_clock_data *scd = cpu_sdc(cpu);
116
117 scd->check_max = 1;
118}
119
120static int check_max(struct sched_clock_data *scd)
121{
122 return scd->check_max;
123}
124#else
125static int check_max(struct sched_clock_data *scd)
126{
127 return 1;
128}
129#endif /* CONFIG_NO_HZ */
130
131/* 94/*
132 * update the percpu scd from the raw @now value 95 * update the percpu scd from the raw @now value
133 * 96 *
134 * - filter out backward motion 97 * - filter out backward motion
135 * - use jiffies to generate a min,max window to clip the raw values 98 * - use jiffies to generate a min,max window to clip the raw values
136 */ 99 */
137static void __update_sched_clock(struct sched_clock_data *scd, u64 now, u64 *time) 100static u64 __update_sched_clock(struct sched_clock_data *scd, u64 now)
138{ 101{
139 unsigned long now_jiffies = jiffies; 102 unsigned long now_jiffies = jiffies;
140 long delta_jiffies = now_jiffies - scd->tick_jiffies; 103 long delta_jiffies = now_jiffies - scd->tick_jiffies;
141 u64 clock = scd->clock; 104 u64 clock = scd->clock;
142 u64 min_clock, max_clock; 105 u64 min_clock, max_clock;
143 s64 delta = now - scd->prev_raw; 106 s64 delta = now - scd->tick_raw;
144 107
145 WARN_ON_ONCE(!irqs_disabled()); 108 WARN_ON_ONCE(!irqs_disabled());
146 109 min_clock = scd->tick_gtod + delta_jiffies * TICK_NSEC;
147 /*
148 * At schedule tick the clock can be just under the gtod. We don't
149 * want to push it too prematurely.
150 */
151 min_clock = scd->tick_gtod + (delta_jiffies * TICK_NSEC);
152 if (min_clock > TICK_NSEC)
153 min_clock -= TICK_NSEC / 2;
154 110
155 if (unlikely(delta < 0)) { 111 if (unlikely(delta < 0)) {
156 clock++; 112 clock++;
157 goto out; 113 goto out;
158 } 114 }
159 115
160 /* 116 max_clock = min_clock + TICK_NSEC;
161 * The clock must stay within a jiffie of the gtod.
162 * But since we may be at the start of a jiffy or the end of one
163 * we add another jiffy buffer.
164 */
165 max_clock = scd->tick_gtod + (2 + delta_jiffies) * TICK_NSEC;
166
167 delta *= scd->multi;
168 delta >>= MULTI_SHIFT;
169 117
170 if (unlikely(clock + delta > max_clock) && check_max(scd)) { 118 if (unlikely(clock + delta > max_clock)) {
171 if (clock < max_clock) 119 if (clock < max_clock)
172 clock = max_clock; 120 clock = max_clock;
173 else 121 else
@@ -180,12 +128,10 @@ static void __update_sched_clock(struct sched_clock_data *scd, u64 now, u64 *tim
180 if (unlikely(clock < min_clock)) 128 if (unlikely(clock < min_clock))
181 clock = min_clock; 129 clock = min_clock;
182 130
183 if (time) 131 scd->tick_jiffies = now_jiffies;
184 *time = clock; 132 scd->clock = clock;
185 else { 133
186 scd->prev_raw = now; 134 return clock;
187 scd->clock = clock;
188 }
189} 135}
190 136
191static void lock_double_clock(struct sched_clock_data *data1, 137static void lock_double_clock(struct sched_clock_data *data1,
@@ -203,7 +149,7 @@ static void lock_double_clock(struct sched_clock_data *data1,
203u64 sched_clock_cpu(int cpu) 149u64 sched_clock_cpu(int cpu)
204{ 150{
205 struct sched_clock_data *scd = cpu_sdc(cpu); 151 struct sched_clock_data *scd = cpu_sdc(cpu);
206 u64 now, clock; 152 u64 now, clock, this_clock, remote_clock;
207 153
208 if (unlikely(!sched_clock_running)) 154 if (unlikely(!sched_clock_running))
209 return 0ull; 155 return 0ull;
@@ -212,43 +158,44 @@ u64 sched_clock_cpu(int cpu)
212 now = sched_clock(); 158 now = sched_clock();
213 159
214 if (cpu != raw_smp_processor_id()) { 160 if (cpu != raw_smp_processor_id()) {
215 /*
216 * in order to update a remote cpu's clock based on our
217 * unstable raw time rebase it against:
218 * tick_raw (offset between raw counters)
219 * tick_gotd (tick offset between cpus)
220 */
221 struct sched_clock_data *my_scd = this_scd(); 161 struct sched_clock_data *my_scd = this_scd();
222 162
223 lock_double_clock(scd, my_scd); 163 lock_double_clock(scd, my_scd);
224 164
225 now -= my_scd->tick_raw; 165 this_clock = __update_sched_clock(my_scd, now);
226 now += scd->tick_raw; 166 remote_clock = scd->clock;
227 167
228 now += my_scd->tick_gtod; 168 /*
229 now -= scd->tick_gtod; 169 * Use the opportunity that we have both locks
170 * taken to couple the two clocks: we take the
171 * larger time as the latest time for both
172 * runqueues. (this creates monotonic movement)
173 */
174 if (likely(remote_clock < this_clock)) {
175 clock = this_clock;
176 scd->clock = clock;
177 } else {
178 /*
179 * Should be rare, but possible:
180 */
181 clock = remote_clock;
182 my_scd->clock = remote_clock;
183 }
230 184
231 __raw_spin_unlock(&my_scd->lock); 185 __raw_spin_unlock(&my_scd->lock);
232
233 __update_sched_clock(scd, now, &clock);
234
235 __raw_spin_unlock(&scd->lock);
236
237 } else { 186 } else {
238 __raw_spin_lock(&scd->lock); 187 __raw_spin_lock(&scd->lock);
239 __update_sched_clock(scd, now, NULL); 188 clock = __update_sched_clock(scd, now);
240 clock = scd->clock;
241 __raw_spin_unlock(&scd->lock);
242 } 189 }
243 190
191 __raw_spin_unlock(&scd->lock);
192
244 return clock; 193 return clock;
245} 194}
246 195
247void sched_clock_tick(void) 196void sched_clock_tick(void)
248{ 197{
249 struct sched_clock_data *scd = this_scd(); 198 struct sched_clock_data *scd = this_scd();
250 unsigned long now_jiffies = jiffies;
251 s64 mult, delta_gtod, delta_raw;
252 u64 now, now_gtod; 199 u64 now, now_gtod;
253 200
254 if (unlikely(!sched_clock_running)) 201 if (unlikely(!sched_clock_running))
@@ -260,29 +207,14 @@ void sched_clock_tick(void)
260 now = sched_clock(); 207 now = sched_clock();
261 208
262 __raw_spin_lock(&scd->lock); 209 __raw_spin_lock(&scd->lock);
263 __update_sched_clock(scd, now, NULL); 210 __update_sched_clock(scd, now);
264 /* 211 /*
265 * update tick_gtod after __update_sched_clock() because that will 212 * update tick_gtod after __update_sched_clock() because that will
266 * already observe 1 new jiffy; adding a new tick_gtod to that would 213 * already observe 1 new jiffy; adding a new tick_gtod to that would
267 * increase the clock 2 jiffies. 214 * increase the clock 2 jiffies.
268 */ 215 */
269 delta_gtod = now_gtod - scd->tick_gtod;
270 delta_raw = now - scd->tick_raw;
271
272 if ((long)delta_raw > 0) {
273 mult = delta_gtod << MULTI_SHIFT;
274 do_div(mult, delta_raw);
275 scd->multi = mult;
276 if (scd->multi > MAX_MULTI)
277 scd->multi = MAX_MULTI;
278 else if (scd->multi < MIN_MULTI)
279 scd->multi = MIN_MULTI;
280 } else
281 scd->multi = 1 << MULTI_SHIFT;
282
283 scd->tick_raw = now; 216 scd->tick_raw = now;
284 scd->tick_gtod = now_gtod; 217 scd->tick_gtod = now_gtod;
285 scd->tick_jiffies = now_jiffies;
286 __raw_spin_unlock(&scd->lock); 218 __raw_spin_unlock(&scd->lock);
287} 219}
288 220
@@ -301,7 +233,6 @@ EXPORT_SYMBOL_GPL(sched_clock_idle_sleep_event);
301void sched_clock_idle_wakeup_event(u64 delta_ns) 233void sched_clock_idle_wakeup_event(u64 delta_ns)
302{ 234{
303 struct sched_clock_data *scd = this_scd(); 235 struct sched_clock_data *scd = this_scd();
304 u64 now = sched_clock();
305 236
306 /* 237 /*
307 * Override the previous timestamp and ignore all 238 * Override the previous timestamp and ignore all
@@ -310,27 +241,30 @@ void sched_clock_idle_wakeup_event(u64 delta_ns)
310 * rq clock: 241 * rq clock:
311 */ 242 */
312 __raw_spin_lock(&scd->lock); 243 __raw_spin_lock(&scd->lock);
313 scd->prev_raw = now;
314 scd->clock += delta_ns; 244 scd->clock += delta_ns;
315 scd->multi = 1 << MULTI_SHIFT;
316 __raw_spin_unlock(&scd->lock); 245 __raw_spin_unlock(&scd->lock);
317 246
318 touch_softlockup_watchdog(); 247 touch_softlockup_watchdog();
319} 248}
320EXPORT_SYMBOL_GPL(sched_clock_idle_wakeup_event); 249EXPORT_SYMBOL_GPL(sched_clock_idle_wakeup_event);
321 250
322#endif 251#else /* CONFIG_HAVE_UNSTABLE_SCHED_CLOCK */
323 252
324/* 253void sched_clock_init(void)
325 * Scheduler clock - returns current time in nanosec units.
326 * This is default implementation.
327 * Architectures and sub-architectures can override this.
328 */
329unsigned long long __attribute__((weak)) sched_clock(void)
330{ 254{
331 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ); 255 sched_clock_running = 1;
332} 256}
333 257
258u64 sched_clock_cpu(int cpu)
259{
260 if (unlikely(!sched_clock_running))
261 return 0;
262
263 return sched_clock();
264}
265
266#endif
267
334unsigned long long cpu_clock(int cpu) 268unsigned long long cpu_clock(int cpu)
335{ 269{
336 unsigned long long clock; 270 unsigned long long clock;
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index cf2cd6ce4cb2..fb8994c6d4bb 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -899,7 +899,7 @@ static void hrtick_start_fair(struct rq *rq, struct task_struct *p)
899 * doesn't make sense. Rely on vruntime for fairness. 899 * doesn't make sense. Rely on vruntime for fairness.
900 */ 900 */
901 if (rq->curr != p) 901 if (rq->curr != p)
902 delta = max(10000LL, delta); 902 delta = max_t(s64, 10000LL, delta);
903 903
904 hrtick_start(rq, delta); 904 hrtick_start(rq, delta);
905 } 905 }
@@ -1442,18 +1442,23 @@ __load_balance_iterator(struct cfs_rq *cfs_rq, struct list_head *next)
1442 struct task_struct *p = NULL; 1442 struct task_struct *p = NULL;
1443 struct sched_entity *se; 1443 struct sched_entity *se;
1444 1444
1445 while (next != &cfs_rq->tasks) { 1445 if (next == &cfs_rq->tasks)
1446 return NULL;
1447
1448 /* Skip over entities that are not tasks */
1449 do {
1446 se = list_entry(next, struct sched_entity, group_node); 1450 se = list_entry(next, struct sched_entity, group_node);
1447 next = next->next; 1451 next = next->next;
1452 } while (next != &cfs_rq->tasks && !entity_is_task(se));
1448 1453
1449 /* Skip over entities that are not tasks */ 1454 if (next == &cfs_rq->tasks)
1450 if (entity_is_task(se)) { 1455 return NULL;
1451 p = task_of(se);
1452 break;
1453 }
1454 }
1455 1456
1456 cfs_rq->balance_iterator = next; 1457 cfs_rq->balance_iterator = next;
1458
1459 if (entity_is_task(se))
1460 p = task_of(se);
1461
1457 return p; 1462 return p;
1458} 1463}
1459 1464
diff --git a/kernel/signal.c b/kernel/signal.c
index 954f77d7e3bc..c539f60c6f41 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1304,6 +1304,7 @@ int send_sigqueue(struct sigqueue *q, struct task_struct *t, int group)
1304 q->info.si_overrun++; 1304 q->info.si_overrun++;
1305 goto out; 1305 goto out;
1306 } 1306 }
1307 q->info.si_overrun = 0;
1307 1308
1308 signalfd_notify(t, sig); 1309 signalfd_notify(t, sig);
1309 pending = group ? &t->signal->shared_pending : &t->pending; 1310 pending = group ? &t->signal->shared_pending : &t->pending;
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index e446c7c7d6a9..af3c7cea258b 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -65,7 +65,6 @@ static void ack_state(void)
65static int stop_cpu(struct stop_machine_data *smdata) 65static int stop_cpu(struct stop_machine_data *smdata)
66{ 66{
67 enum stopmachine_state curstate = STOPMACHINE_NONE; 67 enum stopmachine_state curstate = STOPMACHINE_NONE;
68 int uninitialized_var(ret);
69 68
70 /* Simple state machine */ 69 /* Simple state machine */
71 do { 70 do {
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 825b4c00fe44..f5da526424a9 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -289,7 +289,6 @@ void tick_nohz_stop_sched_tick(int inidle)
289 ts->tick_stopped = 1; 289 ts->tick_stopped = 1;
290 ts->idle_jiffies = last_jiffies; 290 ts->idle_jiffies = last_jiffies;
291 rcu_enter_nohz(); 291 rcu_enter_nohz();
292 sched_clock_tick_stop(cpu);
293 } 292 }
294 293
295 /* 294 /*
@@ -392,7 +391,6 @@ void tick_nohz_restart_sched_tick(void)
392 select_nohz_load_balancer(0); 391 select_nohz_load_balancer(0);
393 now = ktime_get(); 392 now = ktime_get();
394 tick_do_update_jiffies64(now); 393 tick_do_update_jiffies64(now);
395 sched_clock_tick_start(cpu);
396 cpu_clear(cpu, nohz_cpu_mask); 394 cpu_clear(cpu, nohz_cpu_mask);
397 395
398 /* 396 /*
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e1d4764435ed..800ac8485544 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -735,6 +735,15 @@ config FIREWIRE_OHCI_REMOTE_DMA
735 735
736 If unsure, say N. 736 If unsure, say N.
737 737
738menuconfig BUILD_DOCSRC
739 bool "Build targets in Documentation/ tree"
740 depends on HEADERS_CHECK
741 help
742 This option attempts to build objects from the source files in the
743 kernel Documentation/ tree.
744
745 Say N if you are unsure.
746
738source "samples/Kconfig" 747source "samples/Kconfig"
739 748
740source "lib/Kconfig.kgdb" 749source "lib/Kconfig.kgdb"
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 482df94ea21e..06fb57c86de0 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -316,6 +316,17 @@ int bitmap_scnprintf(char *buf, unsigned int buflen,
316EXPORT_SYMBOL(bitmap_scnprintf); 316EXPORT_SYMBOL(bitmap_scnprintf);
317 317
318/** 318/**
319 * bitmap_scnprintf_len - return buffer length needed to convert
320 * bitmap to an ASCII hex string
321 * @nr_bits: number of bits to be converted
322 */
323int bitmap_scnprintf_len(unsigned int nr_bits)
324{
325 unsigned int nr_nibbles = ALIGN(nr_bits, 4) / 4;
326 return nr_nibbles + ALIGN(nr_nibbles, CHUNKSZ / 4) / (CHUNKSZ / 4) - 1;
327}
328
329/**
319 * __bitmap_parse - convert an ASCII hex string into a bitmap. 330 * __bitmap_parse - convert an ASCII hex string into a bitmap.
320 * @buf: pointer to buffer containing string. 331 * @buf: pointer to buffer containing string.
321 * @buflen: buffer size in bytes. If string is smaller than this 332 * @buflen: buffer size in bytes. If string is smaller than this
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 1dc2d1d18fa8..d8d1d1142248 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -220,7 +220,7 @@ int strict_strtou##type(const char *cp, unsigned int base, valtype *res)\
220 if (len == 0) \ 220 if (len == 0) \
221 return -EINVAL; \ 221 return -EINVAL; \
222 \ 222 \
223 val = simple_strtoul(cp, &tail, base); \ 223 val = simple_strtou##type(cp, &tail, base); \
224 if ((*tail == '\0') || \ 224 if ((*tail == '\0') || \
225 ((len == (size_t)(tail - cp) + 1) && (*tail == '\n'))) {\ 225 ((len == (size_t)(tail - cp) + 1) && (*tail == '\n'))) {\
226 *res = val; \ 226 *res = val; \
diff --git a/mm/Kconfig b/mm/Kconfig
index 446c6588c753..0bd9c2dbb2a0 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -77,9 +77,6 @@ config FLAT_NODE_MEM_MAP
77 def_bool y 77 def_bool y
78 depends on !SPARSEMEM 78 depends on !SPARSEMEM
79 79
80config HAVE_GET_USER_PAGES_FAST
81 bool
82
83# 80#
84# Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's 81# Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
85# to represent different areas of memory. This variable allows 82# to represent different areas of memory. This variable allows
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 757ca983fd99..67a71191136e 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -565,7 +565,7 @@ static struct page *alloc_fresh_huge_page_node(struct hstate *h, int nid)
565 huge_page_order(h)); 565 huge_page_order(h));
566 if (page) { 566 if (page) {
567 if (arch_prepare_hugepage(page)) { 567 if (arch_prepare_hugepage(page)) {
568 __free_pages(page, HUGETLB_PAGE_ORDER); 568 __free_pages(page, huge_page_order(h));
569 return NULL; 569 return NULL;
570 } 570 }
571 prep_new_huge_page(h, page, nid); 571 prep_new_huge_page(h, page, nid);
@@ -665,6 +665,11 @@ static struct page *alloc_buddy_huge_page(struct hstate *h,
665 __GFP_REPEAT|__GFP_NOWARN, 665 __GFP_REPEAT|__GFP_NOWARN,
666 huge_page_order(h)); 666 huge_page_order(h));
667 667
668 if (page && arch_prepare_hugepage(page)) {
669 __free_pages(page, huge_page_order(h));
670 return NULL;
671 }
672
668 spin_lock(&hugetlb_lock); 673 spin_lock(&hugetlb_lock);
669 if (page) { 674 if (page) {
670 /* 675 /*
@@ -1937,6 +1942,18 @@ retry:
1937 lock_page(page); 1942 lock_page(page);
1938 } 1943 }
1939 1944
1945 /*
1946 * If we are going to COW a private mapping later, we examine the
1947 * pending reservations for this page now. This will ensure that
1948 * any allocations necessary to record that reservation occur outside
1949 * the spinlock.
1950 */
1951 if (write_access && !(vma->vm_flags & VM_SHARED))
1952 if (vma_needs_reservation(h, vma, address) < 0) {
1953 ret = VM_FAULT_OOM;
1954 goto backout_unlocked;
1955 }
1956
1940 spin_lock(&mm->page_table_lock); 1957 spin_lock(&mm->page_table_lock);
1941 size = i_size_read(mapping->host) >> huge_page_shift(h); 1958 size = i_size_read(mapping->host) >> huge_page_shift(h);
1942 if (idx >= size) 1959 if (idx >= size)
@@ -1962,6 +1979,7 @@ out:
1962 1979
1963backout: 1980backout:
1964 spin_unlock(&mm->page_table_lock); 1981 spin_unlock(&mm->page_table_lock);
1982backout_unlocked:
1965 unlock_page(page); 1983 unlock_page(page);
1966 put_page(page); 1984 put_page(page);
1967 goto out; 1985 goto out;
@@ -1973,6 +1991,7 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
1973 pte_t *ptep; 1991 pte_t *ptep;
1974 pte_t entry; 1992 pte_t entry;
1975 int ret; 1993 int ret;
1994 struct page *pagecache_page = NULL;
1976 static DEFINE_MUTEX(hugetlb_instantiation_mutex); 1995 static DEFINE_MUTEX(hugetlb_instantiation_mutex);
1977 struct hstate *h = hstate_vma(vma); 1996 struct hstate *h = hstate_vma(vma);
1978 1997
@@ -1989,25 +2008,44 @@ int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
1989 entry = huge_ptep_get(ptep); 2008 entry = huge_ptep_get(ptep);
1990 if (huge_pte_none(entry)) { 2009 if (huge_pte_none(entry)) {
1991 ret = hugetlb_no_page(mm, vma, address, ptep, write_access); 2010 ret = hugetlb_no_page(mm, vma, address, ptep, write_access);
1992 mutex_unlock(&hugetlb_instantiation_mutex); 2011 goto out_unlock;
1993 return ret;
1994 } 2012 }
1995 2013
1996 ret = 0; 2014 ret = 0;
1997 2015
2016 /*
2017 * If we are going to COW the mapping later, we examine the pending
2018 * reservations for this page now. This will ensure that any
2019 * allocations necessary to record that reservation occur outside the
2020 * spinlock. For private mappings, we also lookup the pagecache
2021 * page now as it is used to determine if a reservation has been
2022 * consumed.
2023 */
2024 if (write_access && !pte_write(entry)) {
2025 if (vma_needs_reservation(h, vma, address) < 0) {
2026 ret = VM_FAULT_OOM;
2027 goto out_unlock;
2028 }
2029
2030 if (!(vma->vm_flags & VM_SHARED))
2031 pagecache_page = hugetlbfs_pagecache_page(h,
2032 vma, address);
2033 }
2034
1998 spin_lock(&mm->page_table_lock); 2035 spin_lock(&mm->page_table_lock);
1999 /* Check for a racing update before calling hugetlb_cow */ 2036 /* Check for a racing update before calling hugetlb_cow */
2000 if (likely(pte_same(entry, huge_ptep_get(ptep)))) 2037 if (likely(pte_same(entry, huge_ptep_get(ptep))))
2001 if (write_access && !pte_write(entry)) { 2038 if (write_access && !pte_write(entry))
2002 struct page *page; 2039 ret = hugetlb_cow(mm, vma, address, ptep, entry,
2003 page = hugetlbfs_pagecache_page(h, vma, address); 2040 pagecache_page);
2004 ret = hugetlb_cow(mm, vma, address, ptep, entry, page);
2005 if (page) {
2006 unlock_page(page);
2007 put_page(page);
2008 }
2009 }
2010 spin_unlock(&mm->page_table_lock); 2041 spin_unlock(&mm->page_table_lock);
2042
2043 if (pagecache_page) {
2044 unlock_page(pagecache_page);
2045 put_page(pagecache_page);
2046 }
2047
2048out_unlock:
2011 mutex_unlock(&hugetlb_instantiation_mutex); 2049 mutex_unlock(&hugetlb_instantiation_mutex);
2012 2050
2013 return ret; 2051 return ret;
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 7056c3bdb478..0f1f7a7374ba 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -796,6 +796,8 @@ int mem_cgroup_shrink_usage(struct mm_struct *mm, gfp_t gfp_mask)
796 796
797 if (mem_cgroup_subsys.disabled) 797 if (mem_cgroup_subsys.disabled)
798 return 0; 798 return 0;
799 if (!mm)
800 return 0;
799 801
800 rcu_read_lock(); 802 rcu_read_lock();
801 mem = mem_cgroup_from_task(rcu_dereference(mm->owner)); 803 mem = mem_cgroup_from_task(rcu_dereference(mm->owner));
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index e550bec20582..83369058ec13 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -803,7 +803,6 @@ static int migrate_to_node(struct mm_struct *mm, int source, int dest,
803int do_migrate_pages(struct mm_struct *mm, 803int do_migrate_pages(struct mm_struct *mm,
804 const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags) 804 const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags)
805{ 805{
806 LIST_HEAD(pagelist);
807 int busy = 0; 806 int busy = 0;
808 int err = 0; 807 int err = 0;
809 nodemask_t tmp; 808 nodemask_t tmp;
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 401d104d2bb6..af982f7cdb2a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4437,7 +4437,7 @@ void *__init alloc_large_system_hash(const char *tablename,
4437 do { 4437 do {
4438 size = bucketsize << log2qty; 4438 size = bucketsize << log2qty;
4439 if (flags & HASH_EARLY) 4439 if (flags & HASH_EARLY)
4440 table = alloc_bootmem(size); 4440 table = alloc_bootmem_nopanic(size);
4441 else if (hashdist) 4441 else if (hashdist)
4442 table = __vmalloc(size, GFP_ATOMIC, PAGE_KERNEL); 4442 table = __vmalloc(size, GFP_ATOMIC, PAGE_KERNEL);
4443 else { 4443 else {
diff --git a/mm/slab.c b/mm/slab.c
index 918f04f7fef1..e76eee466886 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4472,4 +4472,3 @@ size_t ksize(const void *objp)
4472 4472
4473 return obj_size(virt_to_cache(objp)); 4473 return obj_size(virt_to_cache(objp));
4474} 4474}
4475EXPORT_SYMBOL(ksize);
diff --git a/mm/slob.c b/mm/slob.c
index d8fbd4d1bfa7..4c82dd41f32e 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -519,7 +519,6 @@ size_t ksize(const void *block)
519 else 519 else
520 return sp->page.private; 520 return sp->page.private;
521} 521}
522EXPORT_SYMBOL(ksize);
523 522
524struct kmem_cache { 523struct kmem_cache {
525 unsigned int size, align; 524 unsigned int size, align;
diff --git a/mm/slub.c b/mm/slub.c
index b7e2cd5d82db..4f5b96149458 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1329,7 +1329,7 @@ static struct page *get_any_partial(struct kmem_cache *s, gfp_t flags)
1329 n = get_node(s, zone_to_nid(zone)); 1329 n = get_node(s, zone_to_nid(zone));
1330 1330
1331 if (n && cpuset_zone_allowed_hardwall(zone, flags) && 1331 if (n && cpuset_zone_allowed_hardwall(zone, flags) &&
1332 n->nr_partial > MIN_PARTIAL) { 1332 n->nr_partial > n->min_partial) {
1333 page = get_partial_node(n); 1333 page = get_partial_node(n);
1334 if (page) 1334 if (page)
1335 return page; 1335 return page;
@@ -1381,7 +1381,7 @@ static void unfreeze_slab(struct kmem_cache *s, struct page *page, int tail)
1381 slab_unlock(page); 1381 slab_unlock(page);
1382 } else { 1382 } else {
1383 stat(c, DEACTIVATE_EMPTY); 1383 stat(c, DEACTIVATE_EMPTY);
1384 if (n->nr_partial < MIN_PARTIAL) { 1384 if (n->nr_partial < n->min_partial) {
1385 /* 1385 /*
1386 * Adding an empty slab to the partial slabs in order 1386 * Adding an empty slab to the partial slabs in order
1387 * to avoid page allocator overhead. This slab needs 1387 * to avoid page allocator overhead. This slab needs
@@ -1913,9 +1913,21 @@ static void init_kmem_cache_cpu(struct kmem_cache *s,
1913#endif 1913#endif
1914} 1914}
1915 1915
1916static void init_kmem_cache_node(struct kmem_cache_node *n) 1916static void
1917init_kmem_cache_node(struct kmem_cache_node *n, struct kmem_cache *s)
1917{ 1918{
1918 n->nr_partial = 0; 1919 n->nr_partial = 0;
1920
1921 /*
1922 * The larger the object size is, the more pages we want on the partial
1923 * list to avoid pounding the page allocator excessively.
1924 */
1925 n->min_partial = ilog2(s->size);
1926 if (n->min_partial < MIN_PARTIAL)
1927 n->min_partial = MIN_PARTIAL;
1928 else if (n->min_partial > MAX_PARTIAL)
1929 n->min_partial = MAX_PARTIAL;
1930
1919 spin_lock_init(&n->list_lock); 1931 spin_lock_init(&n->list_lock);
1920 INIT_LIST_HEAD(&n->partial); 1932 INIT_LIST_HEAD(&n->partial);
1921#ifdef CONFIG_SLUB_DEBUG 1933#ifdef CONFIG_SLUB_DEBUG
@@ -2087,7 +2099,7 @@ static struct kmem_cache_node *early_kmem_cache_node_alloc(gfp_t gfpflags,
2087 init_object(kmalloc_caches, n, 1); 2099 init_object(kmalloc_caches, n, 1);
2088 init_tracking(kmalloc_caches, n); 2100 init_tracking(kmalloc_caches, n);
2089#endif 2101#endif
2090 init_kmem_cache_node(n); 2102 init_kmem_cache_node(n, kmalloc_caches);
2091 inc_slabs_node(kmalloc_caches, node, page->objects); 2103 inc_slabs_node(kmalloc_caches, node, page->objects);
2092 2104
2093 /* 2105 /*
@@ -2144,7 +2156,7 @@ static int init_kmem_cache_nodes(struct kmem_cache *s, gfp_t gfpflags)
2144 2156
2145 } 2157 }
2146 s->node[node] = n; 2158 s->node[node] = n;
2147 init_kmem_cache_node(n); 2159 init_kmem_cache_node(n, s);
2148 } 2160 }
2149 return 1; 2161 return 1;
2150} 2162}
@@ -2155,7 +2167,7 @@ static void free_kmem_cache_nodes(struct kmem_cache *s)
2155 2167
2156static int init_kmem_cache_nodes(struct kmem_cache *s, gfp_t gfpflags) 2168static int init_kmem_cache_nodes(struct kmem_cache *s, gfp_t gfpflags)
2157{ 2169{
2158 init_kmem_cache_node(&s->local_node); 2170 init_kmem_cache_node(&s->local_node, s);
2159 return 1; 2171 return 1;
2160} 2172}
2161#endif 2173#endif
@@ -2715,7 +2727,6 @@ size_t ksize(const void *object)
2715 */ 2727 */
2716 return s->size; 2728 return s->size;
2717} 2729}
2718EXPORT_SYMBOL(ksize);
2719 2730
2720void kfree(const void *x) 2731void kfree(const void *x)
2721{ 2732{
@@ -2890,7 +2901,7 @@ static int slab_mem_going_online_callback(void *arg)
2890 ret = -ENOMEM; 2901 ret = -ENOMEM;
2891 goto out; 2902 goto out;
2892 } 2903 }
2893 init_kmem_cache_node(n); 2904 init_kmem_cache_node(n, s);
2894 s->node[nid] = n; 2905 s->node[nid] = n;
2895 } 2906 }
2896out: 2907out:
diff --git a/mm/sparse.c b/mm/sparse.c
index 5d9dbbb9d39e..39db301b920d 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -12,7 +12,6 @@
12#include <asm/dma.h> 12#include <asm/dma.h>
13#include <asm/pgalloc.h> 13#include <asm/pgalloc.h>
14#include <asm/pgtable.h> 14#include <asm/pgtable.h>
15#include "internal.h"
16 15
17/* 16/*
18 * Permanent SPARSEMEM data: 17 * Permanent SPARSEMEM data:
diff --git a/mm/util.c b/mm/util.c
index 9341ca77bd88..cb00b748ce47 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -171,3 +171,18 @@ void arch_pick_mmap_layout(struct mm_struct *mm)
171 mm->unmap_area = arch_unmap_area; 171 mm->unmap_area = arch_unmap_area;
172} 172}
173#endif 173#endif
174
175int __attribute__((weak)) get_user_pages_fast(unsigned long start,
176 int nr_pages, int write, struct page **pages)
177{
178 struct mm_struct *mm = current->mm;
179 int ret;
180
181 down_read(&mm->mmap_sem);
182 ret = get_user_pages(current, mm, start, nr_pages,
183 write, 0, pages, NULL);
184 up_read(&mm->mmap_sem);
185
186 return ret;
187}
188EXPORT_SYMBOL_GPL(get_user_pages_fast);
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index ef9f072b47fc..a73d6ca0a906 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -101,6 +101,7 @@ MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
101 "{Intel, ICH8}," 101 "{Intel, ICH8},"
102 "{Intel, ICH9}," 102 "{Intel, ICH9},"
103 "{Intel, ICH10}," 103 "{Intel, ICH10},"
104 "{Intel, PCH},"
104 "{Intel, SCH}," 105 "{Intel, SCH},"
105 "{ATI, SB450}," 106 "{ATI, SB450},"
106 "{ATI, SB600}," 107 "{ATI, SB600},"
@@ -2263,6 +2264,8 @@ static struct pci_device_id azx_ids[] = {
2263 { PCI_DEVICE(0x8086, 0x293f), .driver_data = AZX_DRIVER_ICH }, 2264 { PCI_DEVICE(0x8086, 0x293f), .driver_data = AZX_DRIVER_ICH },
2264 { PCI_DEVICE(0x8086, 0x3a3e), .driver_data = AZX_DRIVER_ICH }, 2265 { PCI_DEVICE(0x8086, 0x3a3e), .driver_data = AZX_DRIVER_ICH },
2265 { PCI_DEVICE(0x8086, 0x3a6e), .driver_data = AZX_DRIVER_ICH }, 2266 { PCI_DEVICE(0x8086, 0x3a6e), .driver_data = AZX_DRIVER_ICH },
2267 /* PCH */
2268 { PCI_DEVICE(0x8086, 0x3b56), .driver_data = AZX_DRIVER_ICH },
2266 /* SCH */ 2269 /* SCH */
2267 { PCI_DEVICE(0x8086, 0x811b), .driver_data = AZX_DRIVER_SCH }, 2270 { PCI_DEVICE(0x8086, 0x811b), .driver_data = AZX_DRIVER_SCH },
2268 /* ATI SB 450/600 */ 2271 /* ATI SB 450/600 */
@@ -2272,6 +2275,7 @@ static struct pci_device_id azx_ids[] = {
2272 { PCI_DEVICE(0x1002, 0x793b), .driver_data = AZX_DRIVER_ATIHDMI }, 2275 { PCI_DEVICE(0x1002, 0x793b), .driver_data = AZX_DRIVER_ATIHDMI },
2273 { PCI_DEVICE(0x1002, 0x7919), .driver_data = AZX_DRIVER_ATIHDMI }, 2276 { PCI_DEVICE(0x1002, 0x7919), .driver_data = AZX_DRIVER_ATIHDMI },
2274 { PCI_DEVICE(0x1002, 0x960f), .driver_data = AZX_DRIVER_ATIHDMI }, 2277 { PCI_DEVICE(0x1002, 0x960f), .driver_data = AZX_DRIVER_ATIHDMI },
2278 { PCI_DEVICE(0x1002, 0x970f), .driver_data = AZX_DRIVER_ATIHDMI },
2275 { PCI_DEVICE(0x1002, 0xaa00), .driver_data = AZX_DRIVER_ATIHDMI }, 2279 { PCI_DEVICE(0x1002, 0xaa00), .driver_data = AZX_DRIVER_ATIHDMI },
2276 { PCI_DEVICE(0x1002, 0xaa08), .driver_data = AZX_DRIVER_ATIHDMI }, 2280 { PCI_DEVICE(0x1002, 0xaa08), .driver_data = AZX_DRIVER_ATIHDMI },
2277 { PCI_DEVICE(0x1002, 0xaa10), .driver_data = AZX_DRIVER_ATIHDMI }, 2281 { PCI_DEVICE(0x1002, 0xaa10), .driver_data = AZX_DRIVER_ATIHDMI },
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c
index e23cb09f0d14..c6a8edf302ad 100644
--- a/sound/soc/codecs/wm8750.c
+++ b/sound/soc/codecs/wm8750.c
@@ -348,8 +348,9 @@ static const struct snd_soc_dapm_widget wm8750_dapm_widgets[] = {
348 SND_SOC_DAPM_OUTPUT("ROUT1"), 348 SND_SOC_DAPM_OUTPUT("ROUT1"),
349 SND_SOC_DAPM_OUTPUT("LOUT2"), 349 SND_SOC_DAPM_OUTPUT("LOUT2"),
350 SND_SOC_DAPM_OUTPUT("ROUT2"), 350 SND_SOC_DAPM_OUTPUT("ROUT2"),
351 SND_SOC_DAPM_OUTPUT("MONO"), 351 SND_SOC_DAPM_OUTPUT("MONO1"),
352 SND_SOC_DAPM_OUTPUT("OUT3"), 352 SND_SOC_DAPM_OUTPUT("OUT3"),
353 SND_SOC_DAPM_OUTPUT("VREF"),
353 354
354 SND_SOC_DAPM_INPUT("LINPUT1"), 355 SND_SOC_DAPM_INPUT("LINPUT1"),
355 SND_SOC_DAPM_INPUT("LINPUT2"), 356 SND_SOC_DAPM_INPUT("LINPUT2"),
diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c
index eefc25b83514..37cb768fc933 100644
--- a/sound/soc/pxa/spitz.c
+++ b/sound/soc/pxa/spitz.c
@@ -297,7 +297,7 @@ static int spitz_wm8750_init(struct snd_soc_codec *codec)
297 snd_soc_dapm_disable_pin(codec, "LINPUT3"); 297 snd_soc_dapm_disable_pin(codec, "LINPUT3");
298 snd_soc_dapm_disable_pin(codec, "RINPUT3"); 298 snd_soc_dapm_disable_pin(codec, "RINPUT3");
299 snd_soc_dapm_disable_pin(codec, "OUT3"); 299 snd_soc_dapm_disable_pin(codec, "OUT3");
300 snd_soc_dapm_disable_pin(codec, "MONO"); 300 snd_soc_dapm_disable_pin(codec, "MONO1");
301 301
302 /* Add spitz specific controls */ 302 /* Add spitz specific controls */
303 for (i = 0; i < ARRAY_SIZE(wm8750_spitz_controls); i++) { 303 for (i = 0; i < ARRAY_SIZE(wm8750_spitz_controls); i++) {