diff options
author | Tony Luck <tony.luck@intel.com> | 2005-07-06 18:35:18 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-07-06 18:35:18 -0400 |
commit | 67d340f440f389e9d56201fb7c7aaa92f262feb1 (patch) | |
tree | a96c26a370beb23282a561ddd936e5d0aa93adde /arch | |
parent | 2ba3e3e65cf182436757ba13ea8d564e2950fb56 (diff) | |
parent | 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 (diff) |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'arch')
110 files changed, 2569 insertions, 1798 deletions
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c index e6ded33c6e22..9d34ce26e5ef 100644 --- a/arch/alpha/kernel/irq_alpha.c +++ b/arch/alpha/kernel/irq_alpha.c | |||
@@ -55,6 +55,8 @@ do_entInt(unsigned long type, unsigned long vector, | |||
55 | #ifdef CONFIG_SMP | 55 | #ifdef CONFIG_SMP |
56 | { | 56 | { |
57 | long cpu; | 57 | long cpu; |
58 | |||
59 | local_irq_disable(); | ||
58 | smp_percpu_timer_interrupt(regs); | 60 | smp_percpu_timer_interrupt(regs); |
59 | cpu = smp_processor_id(); | 61 | cpu = smp_processor_id(); |
60 | if (cpu != boot_cpuid) { | 62 | if (cpu != boot_cpuid) { |
diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index fd7bd17cc960..6f509a644bdd 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c | |||
@@ -240,7 +240,7 @@ do_entIF(unsigned long type, struct pt_regs *regs) | |||
240 | siginfo_t info; | 240 | siginfo_t info; |
241 | int signo, code; | 241 | int signo, code; |
242 | 242 | ||
243 | if (regs->ps == 0) { | 243 | if ((regs->ps & ~IPL_MAX) == 0) { |
244 | if (type == 1) { | 244 | if (type == 1) { |
245 | const unsigned int *data | 245 | const unsigned int *data |
246 | = (const unsigned int *) regs->pc; | 246 | = (const unsigned int *) regs->pc; |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 8330495e2448..eb933dcafba0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -56,7 +56,7 @@ tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) | |||
56 | tune-$(CONFIG_CPU_V6) :=-mtune=strongarm | 56 | tune-$(CONFIG_CPU_V6) :=-mtune=strongarm |
57 | 57 | ||
58 | # Need -Uarm for gcc < 3.x | 58 | # Need -Uarm for gcc < 3.x |
59 | CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) | 59 | CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,) |
60 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm | 60 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm |
61 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float | 61 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |
62 | 62 | ||
diff --git a/arch/arm/configs/omnimeter_defconfig b/arch/arm/configs/omnimeter_defconfig deleted file mode 100644 index 78fdb4a428b1..000000000000 --- a/arch/arm/configs/omnimeter_defconfig +++ /dev/null | |||
@@ -1,803 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc1-bk2 | ||
4 | # Sun Mar 27 21:31:45 2005 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_MMU=y | ||
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
11 | CONFIG_GENERIC_IOMAP=y | ||
12 | |||
13 | # | ||
14 | # Code maturity level options | ||
15 | # | ||
16 | CONFIG_EXPERIMENTAL=y | ||
17 | CONFIG_CLEAN_COMPILE=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | |||
20 | # | ||
21 | # General setup | ||
22 | # | ||
23 | CONFIG_LOCALVERSION="" | ||
24 | CONFIG_SWAP=y | ||
25 | CONFIG_SYSVIPC=y | ||
26 | # CONFIG_POSIX_MQUEUE is not set | ||
27 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
28 | CONFIG_SYSCTL=y | ||
29 | # CONFIG_AUDIT is not set | ||
30 | CONFIG_HOTPLUG=y | ||
31 | CONFIG_KOBJECT_UEVENT=y | ||
32 | # CONFIG_IKCONFIG is not set | ||
33 | # CONFIG_EMBEDDED is not set | ||
34 | CONFIG_KALLSYMS=y | ||
35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
36 | CONFIG_BASE_FULL=y | ||
37 | CONFIG_FUTEX=y | ||
38 | CONFIG_EPOLL=y | ||
39 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
40 | CONFIG_SHMEM=y | ||
41 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
42 | CONFIG_CC_ALIGN_LABELS=0 | ||
43 | CONFIG_CC_ALIGN_LOOPS=0 | ||
44 | CONFIG_CC_ALIGN_JUMPS=0 | ||
45 | # CONFIG_TINY_SHMEM is not set | ||
46 | CONFIG_BASE_SMALL=0 | ||
47 | |||
48 | # | ||
49 | # Loadable module support | ||
50 | # | ||
51 | CONFIG_MODULES=y | ||
52 | # CONFIG_MODULE_UNLOAD is not set | ||
53 | CONFIG_OBSOLETE_MODPARM=y | ||
54 | # CONFIG_MODVERSIONS is not set | ||
55 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
56 | CONFIG_KMOD=y | ||
57 | |||
58 | # | ||
59 | # System Type | ||
60 | # | ||
61 | # CONFIG_ARCH_CLPS7500 is not set | ||
62 | # CONFIG_ARCH_CLPS711X is not set | ||
63 | # CONFIG_ARCH_CO285 is not set | ||
64 | # CONFIG_ARCH_EBSA110 is not set | ||
65 | # CONFIG_ARCH_CAMELOT is not set | ||
66 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
67 | # CONFIG_ARCH_INTEGRATOR is not set | ||
68 | # CONFIG_ARCH_IOP3XX is not set | ||
69 | # CONFIG_ARCH_IXP4XX is not set | ||
70 | # CONFIG_ARCH_IXP2000 is not set | ||
71 | # CONFIG_ARCH_L7200 is not set | ||
72 | # CONFIG_ARCH_PXA is not set | ||
73 | # CONFIG_ARCH_RPC is not set | ||
74 | CONFIG_ARCH_SA1100=y | ||
75 | # CONFIG_ARCH_S3C2410 is not set | ||
76 | # CONFIG_ARCH_SHARK is not set | ||
77 | # CONFIG_ARCH_LH7A40X is not set | ||
78 | # CONFIG_ARCH_OMAP is not set | ||
79 | # CONFIG_ARCH_VERSATILE is not set | ||
80 | # CONFIG_ARCH_IMX is not set | ||
81 | # CONFIG_ARCH_H720X is not set | ||
82 | |||
83 | # | ||
84 | # SA11x0 Implementations | ||
85 | # | ||
86 | # CONFIG_SA1100_ASSABET is not set | ||
87 | # CONFIG_SA1100_CERF is not set | ||
88 | # CONFIG_SA1100_COLLIE is not set | ||
89 | # CONFIG_SA1100_H3100 is not set | ||
90 | # CONFIG_SA1100_H3600 is not set | ||
91 | # CONFIG_SA1100_H3800 is not set | ||
92 | # CONFIG_SA1100_BADGE4 is not set | ||
93 | # CONFIG_SA1100_JORNADA720 is not set | ||
94 | # CONFIG_SA1100_HACKKIT is not set | ||
95 | # CONFIG_SA1100_LART is not set | ||
96 | # CONFIG_SA1100_PLEB is not set | ||
97 | # CONFIG_SA1100_SHANNON is not set | ||
98 | # CONFIG_SA1100_SIMPAD is not set | ||
99 | # CONFIG_SA1100_SSP is not set | ||
100 | |||
101 | # | ||
102 | # Processor Type | ||
103 | # | ||
104 | CONFIG_CPU_32=y | ||
105 | CONFIG_CPU_SA1100=y | ||
106 | CONFIG_CPU_32v4=y | ||
107 | CONFIG_CPU_ABRT_EV4=y | ||
108 | CONFIG_CPU_CACHE_V4WB=y | ||
109 | CONFIG_CPU_CACHE_VIVT=y | ||
110 | CONFIG_CPU_TLB_V4WB=y | ||
111 | CONFIG_CPU_MINICACHE=y | ||
112 | |||
113 | # | ||
114 | # Processor Features | ||
115 | # | ||
116 | |||
117 | # | ||
118 | # Bus support | ||
119 | # | ||
120 | CONFIG_ISA=y | ||
121 | |||
122 | # | ||
123 | # PCCARD (PCMCIA/CardBus) support | ||
124 | # | ||
125 | CONFIG_PCCARD=y | ||
126 | # CONFIG_PCMCIA_DEBUG is not set | ||
127 | CONFIG_PCMCIA=y | ||
128 | |||
129 | # | ||
130 | # PC-card bridges | ||
131 | # | ||
132 | CONFIG_I82365=y | ||
133 | # CONFIG_TCIC is not set | ||
134 | CONFIG_PCMCIA_SA1100=y | ||
135 | CONFIG_PCCARD_NONSTATIC=y | ||
136 | |||
137 | # | ||
138 | # Kernel Features | ||
139 | # | ||
140 | # CONFIG_PREEMPT is not set | ||
141 | CONFIG_DISCONTIGMEM=y | ||
142 | # CONFIG_LEDS is not set | ||
143 | CONFIG_ALIGNMENT_TRAP=y | ||
144 | |||
145 | # | ||
146 | # Boot options | ||
147 | # | ||
148 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
149 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
150 | CONFIG_CMDLINE="keepinitrd mem=16M root=/dev/ram ramdisk=8192 initrd=0xd0000000,4M" | ||
151 | # CONFIG_XIP_KERNEL is not set | ||
152 | |||
153 | # | ||
154 | # CPU Frequency scaling | ||
155 | # | ||
156 | # CONFIG_CPU_FREQ is not set | ||
157 | |||
158 | # | ||
159 | # Floating point emulation | ||
160 | # | ||
161 | |||
162 | # | ||
163 | # At least one emulation must be selected | ||
164 | # | ||
165 | # CONFIG_FPE_NWFPE is not set | ||
166 | # CONFIG_FPE_FASTFPE is not set | ||
167 | |||
168 | # | ||
169 | # Userspace binary formats | ||
170 | # | ||
171 | CONFIG_BINFMT_ELF=y | ||
172 | CONFIG_BINFMT_AOUT=y | ||
173 | # CONFIG_BINFMT_MISC is not set | ||
174 | # CONFIG_ARTHUR is not set | ||
175 | |||
176 | # | ||
177 | # Power management options | ||
178 | # | ||
179 | # CONFIG_PM is not set | ||
180 | |||
181 | # | ||
182 | # Device Drivers | ||
183 | # | ||
184 | |||
185 | # | ||
186 | # Generic Driver Options | ||
187 | # | ||
188 | CONFIG_STANDALONE=y | ||
189 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
190 | # CONFIG_FW_LOADER is not set | ||
191 | |||
192 | # | ||
193 | # Memory Technology Devices (MTD) | ||
194 | # | ||
195 | # CONFIG_MTD is not set | ||
196 | |||
197 | # | ||
198 | # Parallel port support | ||
199 | # | ||
200 | # CONFIG_PARPORT is not set | ||
201 | |||
202 | # | ||
203 | # Plug and Play support | ||
204 | # | ||
205 | # CONFIG_PNP is not set | ||
206 | |||
207 | # | ||
208 | # Block devices | ||
209 | # | ||
210 | # CONFIG_BLK_DEV_FD is not set | ||
211 | # CONFIG_BLK_DEV_XD is not set | ||
212 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
213 | CONFIG_BLK_DEV_LOOP=m | ||
214 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
215 | CONFIG_BLK_DEV_NBD=m | ||
216 | # CONFIG_BLK_DEV_RAM is not set | ||
217 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
218 | CONFIG_INITRAMFS_SOURCE="" | ||
219 | # CONFIG_CDROM_PKTCDVD is not set | ||
220 | |||
221 | # | ||
222 | # IO Schedulers | ||
223 | # | ||
224 | CONFIG_IOSCHED_NOOP=y | ||
225 | CONFIG_IOSCHED_AS=y | ||
226 | CONFIG_IOSCHED_DEADLINE=y | ||
227 | CONFIG_IOSCHED_CFQ=y | ||
228 | # CONFIG_ATA_OVER_ETH is not set | ||
229 | |||
230 | # | ||
231 | # ATA/ATAPI/MFM/RLL support | ||
232 | # | ||
233 | CONFIG_IDE=y | ||
234 | CONFIG_BLK_DEV_IDE=y | ||
235 | |||
236 | # | ||
237 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
238 | # | ||
239 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
240 | CONFIG_BLK_DEV_IDEDISK=y | ||
241 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
242 | # CONFIG_BLK_DEV_IDECS is not set | ||
243 | # CONFIG_BLK_DEV_IDECD is not set | ||
244 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
245 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
246 | # CONFIG_IDE_TASK_IOCTL is not set | ||
247 | |||
248 | # | ||
249 | # IDE chipset support/bugfixes | ||
250 | # | ||
251 | CONFIG_IDE_GENERIC=y | ||
252 | # CONFIG_IDE_ARM is not set | ||
253 | # CONFIG_IDE_CHIPSETS is not set | ||
254 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
255 | # CONFIG_IDEDMA_AUTO is not set | ||
256 | # CONFIG_BLK_DEV_HD is not set | ||
257 | |||
258 | # | ||
259 | # SCSI device support | ||
260 | # | ||
261 | # CONFIG_SCSI is not set | ||
262 | |||
263 | # | ||
264 | # Multi-device support (RAID and LVM) | ||
265 | # | ||
266 | # CONFIG_MD is not set | ||
267 | |||
268 | # | ||
269 | # Fusion MPT device support | ||
270 | # | ||
271 | |||
272 | # | ||
273 | # IEEE 1394 (FireWire) support | ||
274 | # | ||
275 | |||
276 | # | ||
277 | # I2O device support | ||
278 | # | ||
279 | |||
280 | # | ||
281 | # Networking support | ||
282 | # | ||
283 | CONFIG_NET=y | ||
284 | |||
285 | # | ||
286 | # Networking options | ||
287 | # | ||
288 | CONFIG_PACKET=y | ||
289 | CONFIG_PACKET_MMAP=y | ||
290 | # CONFIG_NETLINK_DEV is not set | ||
291 | CONFIG_UNIX=y | ||
292 | # CONFIG_NET_KEY is not set | ||
293 | CONFIG_INET=y | ||
294 | CONFIG_IP_MULTICAST=y | ||
295 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
296 | # CONFIG_IP_PNP is not set | ||
297 | # CONFIG_NET_IPIP is not set | ||
298 | # CONFIG_NET_IPGRE is not set | ||
299 | # CONFIG_IP_MROUTE is not set | ||
300 | # CONFIG_ARPD is not set | ||
301 | # CONFIG_SYN_COOKIES is not set | ||
302 | # CONFIG_INET_AH is not set | ||
303 | # CONFIG_INET_ESP is not set | ||
304 | # CONFIG_INET_IPCOMP is not set | ||
305 | # CONFIG_INET_TUNNEL is not set | ||
306 | CONFIG_IP_TCPDIAG=y | ||
307 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
308 | |||
309 | # | ||
310 | # IP: Virtual Server Configuration | ||
311 | # | ||
312 | # CONFIG_IP_VS is not set | ||
313 | # CONFIG_IPV6 is not set | ||
314 | CONFIG_NETFILTER=y | ||
315 | # CONFIG_NETFILTER_DEBUG is not set | ||
316 | |||
317 | # | ||
318 | # IP: Netfilter Configuration | ||
319 | # | ||
320 | # CONFIG_IP_NF_CONNTRACK is not set | ||
321 | # CONFIG_IP_NF_CONNTRACK_MARK is not set | ||
322 | # CONFIG_IP_NF_QUEUE is not set | ||
323 | # CONFIG_IP_NF_IPTABLES is not set | ||
324 | # CONFIG_IP_NF_ARPTABLES is not set | ||
325 | |||
326 | # | ||
327 | # SCTP Configuration (EXPERIMENTAL) | ||
328 | # | ||
329 | # CONFIG_IP_SCTP is not set | ||
330 | # CONFIG_ATM is not set | ||
331 | # CONFIG_BRIDGE is not set | ||
332 | # CONFIG_VLAN_8021Q is not set | ||
333 | # CONFIG_DECNET is not set | ||
334 | # CONFIG_LLC2 is not set | ||
335 | # CONFIG_IPX is not set | ||
336 | # CONFIG_ATALK is not set | ||
337 | # CONFIG_X25 is not set | ||
338 | # CONFIG_LAPB is not set | ||
339 | # CONFIG_NET_DIVERT is not set | ||
340 | # CONFIG_ECONET is not set | ||
341 | # CONFIG_WAN_ROUTER is not set | ||
342 | |||
343 | # | ||
344 | # QoS and/or fair queueing | ||
345 | # | ||
346 | # CONFIG_NET_SCHED is not set | ||
347 | # CONFIG_NET_CLS_ROUTE is not set | ||
348 | |||
349 | # | ||
350 | # Network testing | ||
351 | # | ||
352 | # CONFIG_NET_PKTGEN is not set | ||
353 | # CONFIG_NETPOLL is not set | ||
354 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
355 | # CONFIG_HAMRADIO is not set | ||
356 | # CONFIG_IRDA is not set | ||
357 | # CONFIG_BT is not set | ||
358 | CONFIG_NETDEVICES=y | ||
359 | # CONFIG_DUMMY is not set | ||
360 | # CONFIG_BONDING is not set | ||
361 | # CONFIG_EQUALIZER is not set | ||
362 | # CONFIG_TUN is not set | ||
363 | |||
364 | # | ||
365 | # ARCnet devices | ||
366 | # | ||
367 | # CONFIG_ARCNET is not set | ||
368 | |||
369 | # | ||
370 | # Ethernet (10 or 100Mbit) | ||
371 | # | ||
372 | CONFIG_NET_ETHERNET=y | ||
373 | # CONFIG_MII is not set | ||
374 | # CONFIG_NET_VENDOR_3COM is not set | ||
375 | # CONFIG_LANCE is not set | ||
376 | # CONFIG_NET_VENDOR_SMC is not set | ||
377 | # CONFIG_SMC91X is not set | ||
378 | # CONFIG_NET_VENDOR_RACAL is not set | ||
379 | # CONFIG_AT1700 is not set | ||
380 | # CONFIG_DEPCA is not set | ||
381 | # CONFIG_HP100 is not set | ||
382 | # CONFIG_NET_ISA is not set | ||
383 | # CONFIG_NET_PCI is not set | ||
384 | # CONFIG_NET_POCKET is not set | ||
385 | |||
386 | # | ||
387 | # Ethernet (1000 Mbit) | ||
388 | # | ||
389 | |||
390 | # | ||
391 | # Ethernet (10000 Mbit) | ||
392 | # | ||
393 | |||
394 | # | ||
395 | # Token Ring devices | ||
396 | # | ||
397 | # CONFIG_TR is not set | ||
398 | |||
399 | # | ||
400 | # Wireless LAN (non-hamradio) | ||
401 | # | ||
402 | CONFIG_NET_RADIO=y | ||
403 | |||
404 | # | ||
405 | # Obsolete Wireless cards support (pre-802.11) | ||
406 | # | ||
407 | # CONFIG_STRIP is not set | ||
408 | # CONFIG_ARLAN is not set | ||
409 | # CONFIG_WAVELAN is not set | ||
410 | CONFIG_PCMCIA_WAVELAN=y | ||
411 | # CONFIG_PCMCIA_NETWAVE is not set | ||
412 | |||
413 | # | ||
414 | # Wireless 802.11 Frequency Hopping cards support | ||
415 | # | ||
416 | # CONFIG_PCMCIA_RAYCS is not set | ||
417 | |||
418 | # | ||
419 | # Wireless 802.11b ISA/PCI cards support | ||
420 | # | ||
421 | # CONFIG_HERMES is not set | ||
422 | # CONFIG_ATMEL is not set | ||
423 | |||
424 | # | ||
425 | # Wireless 802.11b Pcmcia/Cardbus cards support | ||
426 | # | ||
427 | CONFIG_AIRO_CS=y | ||
428 | CONFIG_PCMCIA_WL3501=y | ||
429 | CONFIG_NET_WIRELESS=y | ||
430 | |||
431 | # | ||
432 | # PCMCIA network device support | ||
433 | # | ||
434 | CONFIG_NET_PCMCIA=y | ||
435 | CONFIG_PCMCIA_3C589=y | ||
436 | # CONFIG_PCMCIA_3C574 is not set | ||
437 | # CONFIG_PCMCIA_FMVJ18X is not set | ||
438 | CONFIG_PCMCIA_PCNET=y | ||
439 | # CONFIG_PCMCIA_NMCLAN is not set | ||
440 | # CONFIG_PCMCIA_SMC91C92 is not set | ||
441 | # CONFIG_PCMCIA_XIRC2PS is not set | ||
442 | # CONFIG_PCMCIA_AXNET is not set | ||
443 | |||
444 | # | ||
445 | # Wan interfaces | ||
446 | # | ||
447 | # CONFIG_WAN is not set | ||
448 | # CONFIG_PPP is not set | ||
449 | # CONFIG_SLIP is not set | ||
450 | # CONFIG_SHAPER is not set | ||
451 | # CONFIG_NETCONSOLE is not set | ||
452 | |||
453 | # | ||
454 | # ISDN subsystem | ||
455 | # | ||
456 | # CONFIG_ISDN is not set | ||
457 | |||
458 | # | ||
459 | # Input device support | ||
460 | # | ||
461 | CONFIG_INPUT=y | ||
462 | |||
463 | # | ||
464 | # Userland interfaces | ||
465 | # | ||
466 | CONFIG_INPUT_MOUSEDEV=y | ||
467 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
468 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
469 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
470 | # CONFIG_INPUT_JOYDEV is not set | ||
471 | # CONFIG_INPUT_TSDEV is not set | ||
472 | # CONFIG_INPUT_EVDEV is not set | ||
473 | # CONFIG_INPUT_EVBUG is not set | ||
474 | |||
475 | # | ||
476 | # Input Device Drivers | ||
477 | # | ||
478 | CONFIG_INPUT_KEYBOARD=y | ||
479 | CONFIG_KEYBOARD_ATKBD=y | ||
480 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
481 | # CONFIG_KEYBOARD_LKKBD is not set | ||
482 | # CONFIG_KEYBOARD_XTKBD is not set | ||
483 | # CONFIG_KEYBOARD_NEWTON is not set | ||
484 | CONFIG_INPUT_MOUSE=y | ||
485 | CONFIG_MOUSE_PS2=y | ||
486 | # CONFIG_MOUSE_SERIAL is not set | ||
487 | # CONFIG_MOUSE_INPORT is not set | ||
488 | # CONFIG_MOUSE_LOGIBM is not set | ||
489 | # CONFIG_MOUSE_PC110PAD is not set | ||
490 | # CONFIG_MOUSE_VSXXXAA is not set | ||
491 | # CONFIG_INPUT_JOYSTICK is not set | ||
492 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
493 | # CONFIG_INPUT_MISC is not set | ||
494 | |||
495 | # | ||
496 | # Hardware I/O ports | ||
497 | # | ||
498 | CONFIG_SERIO=y | ||
499 | CONFIG_SERIO_SERPORT=y | ||
500 | CONFIG_SERIO_LIBPS2=y | ||
501 | # CONFIG_SERIO_RAW is not set | ||
502 | # CONFIG_GAMEPORT is not set | ||
503 | CONFIG_SOUND_GAMEPORT=y | ||
504 | |||
505 | # | ||
506 | # Character devices | ||
507 | # | ||
508 | CONFIG_VT=y | ||
509 | CONFIG_VT_CONSOLE=y | ||
510 | CONFIG_HW_CONSOLE=y | ||
511 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
512 | |||
513 | # | ||
514 | # Serial drivers | ||
515 | # | ||
516 | # CONFIG_SERIAL_8250 is not set | ||
517 | |||
518 | # | ||
519 | # Non-8250 serial port support | ||
520 | # | ||
521 | CONFIG_SERIAL_SA1100=y | ||
522 | CONFIG_SERIAL_SA1100_CONSOLE=y | ||
523 | CONFIG_SERIAL_CORE=y | ||
524 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
525 | CONFIG_UNIX98_PTYS=y | ||
526 | CONFIG_LEGACY_PTYS=y | ||
527 | CONFIG_LEGACY_PTY_COUNT=256 | ||
528 | |||
529 | # | ||
530 | # IPMI | ||
531 | # | ||
532 | # CONFIG_IPMI_HANDLER is not set | ||
533 | |||
534 | # | ||
535 | # Watchdog Cards | ||
536 | # | ||
537 | # CONFIG_WATCHDOG is not set | ||
538 | # CONFIG_NVRAM is not set | ||
539 | # CONFIG_RTC is not set | ||
540 | # CONFIG_DTLK is not set | ||
541 | # CONFIG_R3964 is not set | ||
542 | |||
543 | # | ||
544 | # Ftape, the floppy tape device driver | ||
545 | # | ||
546 | # CONFIG_DRM is not set | ||
547 | |||
548 | # | ||
549 | # PCMCIA character devices | ||
550 | # | ||
551 | # CONFIG_SYNCLINK_CS is not set | ||
552 | # CONFIG_RAW_DRIVER is not set | ||
553 | |||
554 | # | ||
555 | # TPM devices | ||
556 | # | ||
557 | # CONFIG_TCG_TPM is not set | ||
558 | |||
559 | # | ||
560 | # I2C support | ||
561 | # | ||
562 | # CONFIG_I2C is not set | ||
563 | |||
564 | # | ||
565 | # Misc devices | ||
566 | # | ||
567 | |||
568 | # | ||
569 | # Multimedia devices | ||
570 | # | ||
571 | # CONFIG_VIDEO_DEV is not set | ||
572 | |||
573 | # | ||
574 | # Digital Video Broadcasting Devices | ||
575 | # | ||
576 | # CONFIG_DVB is not set | ||
577 | |||
578 | # | ||
579 | # Graphics support | ||
580 | # | ||
581 | CONFIG_FB=y | ||
582 | CONFIG_FB_CFB_FILLRECT=y | ||
583 | CONFIG_FB_CFB_COPYAREA=y | ||
584 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
585 | CONFIG_FB_SOFT_CURSOR=y | ||
586 | # CONFIG_FB_MODE_HELPERS is not set | ||
587 | # CONFIG_FB_TILEBLITTING is not set | ||
588 | CONFIG_FB_SA1100=y | ||
589 | # CONFIG_FB_VIRTUAL is not set | ||
590 | |||
591 | # | ||
592 | # Console display driver support | ||
593 | # | ||
594 | # CONFIG_VGA_CONSOLE is not set | ||
595 | # CONFIG_MDA_CONSOLE is not set | ||
596 | CONFIG_DUMMY_CONSOLE=y | ||
597 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
598 | CONFIG_FONTS=y | ||
599 | CONFIG_FONT_8x8=y | ||
600 | # CONFIG_FONT_8x16 is not set | ||
601 | # CONFIG_FONT_6x11 is not set | ||
602 | # CONFIG_FONT_PEARL_8x8 is not set | ||
603 | # CONFIG_FONT_ACORN_8x8 is not set | ||
604 | # CONFIG_FONT_MINI_4x6 is not set | ||
605 | # CONFIG_FONT_SUN8x16 is not set | ||
606 | # CONFIG_FONT_SUN12x22 is not set | ||
607 | |||
608 | # | ||
609 | # Logo configuration | ||
610 | # | ||
611 | # CONFIG_LOGO is not set | ||
612 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
613 | |||
614 | # | ||
615 | # Sound | ||
616 | # | ||
617 | # CONFIG_SOUND is not set | ||
618 | |||
619 | # | ||
620 | # USB support | ||
621 | # | ||
622 | CONFIG_USB_ARCH_HAS_HCD=y | ||
623 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
624 | # CONFIG_USB is not set | ||
625 | |||
626 | # | ||
627 | # USB Gadget Support | ||
628 | # | ||
629 | # CONFIG_USB_GADGET is not set | ||
630 | |||
631 | # | ||
632 | # MMC/SD Card support | ||
633 | # | ||
634 | # CONFIG_MMC is not set | ||
635 | |||
636 | # | ||
637 | # File systems | ||
638 | # | ||
639 | CONFIG_EXT2_FS=y | ||
640 | # CONFIG_EXT2_FS_XATTR is not set | ||
641 | # CONFIG_EXT3_FS is not set | ||
642 | # CONFIG_JBD is not set | ||
643 | # CONFIG_REISERFS_FS is not set | ||
644 | # CONFIG_JFS_FS is not set | ||
645 | |||
646 | # | ||
647 | # XFS support | ||
648 | # | ||
649 | # CONFIG_XFS_FS is not set | ||
650 | # CONFIG_MINIX_FS is not set | ||
651 | # CONFIG_ROMFS_FS is not set | ||
652 | # CONFIG_QUOTA is not set | ||
653 | CONFIG_DNOTIFY=y | ||
654 | # CONFIG_AUTOFS_FS is not set | ||
655 | # CONFIG_AUTOFS4_FS is not set | ||
656 | |||
657 | # | ||
658 | # CD-ROM/DVD Filesystems | ||
659 | # | ||
660 | # CONFIG_ISO9660_FS is not set | ||
661 | # CONFIG_UDF_FS is not set | ||
662 | |||
663 | # | ||
664 | # DOS/FAT/NT Filesystems | ||
665 | # | ||
666 | CONFIG_FAT_FS=y | ||
667 | CONFIG_MSDOS_FS=y | ||
668 | # CONFIG_VFAT_FS is not set | ||
669 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
670 | # CONFIG_NTFS_FS is not set | ||
671 | |||
672 | # | ||
673 | # Pseudo filesystems | ||
674 | # | ||
675 | CONFIG_PROC_FS=y | ||
676 | CONFIG_SYSFS=y | ||
677 | # CONFIG_DEVFS_FS is not set | ||
678 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
679 | # CONFIG_TMPFS is not set | ||
680 | # CONFIG_HUGETLB_PAGE is not set | ||
681 | CONFIG_RAMFS=y | ||
682 | |||
683 | # | ||
684 | # Miscellaneous filesystems | ||
685 | # | ||
686 | # CONFIG_ADFS_FS is not set | ||
687 | # CONFIG_AFFS_FS is not set | ||
688 | # CONFIG_HFS_FS is not set | ||
689 | # CONFIG_HFSPLUS_FS is not set | ||
690 | # CONFIG_BEFS_FS is not set | ||
691 | # CONFIG_BFS_FS is not set | ||
692 | # CONFIG_EFS_FS is not set | ||
693 | # CONFIG_CRAMFS is not set | ||
694 | # CONFIG_VXFS_FS is not set | ||
695 | # CONFIG_HPFS_FS is not set | ||
696 | # CONFIG_QNX4FS_FS is not set | ||
697 | # CONFIG_SYSV_FS is not set | ||
698 | # CONFIG_UFS_FS is not set | ||
699 | |||
700 | # | ||
701 | # Network File Systems | ||
702 | # | ||
703 | CONFIG_NFS_FS=y | ||
704 | # CONFIG_NFS_V3 is not set | ||
705 | # CONFIG_NFS_V4 is not set | ||
706 | # CONFIG_NFS_DIRECTIO is not set | ||
707 | # CONFIG_NFSD is not set | ||
708 | CONFIG_LOCKD=y | ||
709 | CONFIG_SUNRPC=y | ||
710 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
711 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
712 | # CONFIG_SMB_FS is not set | ||
713 | # CONFIG_CIFS is not set | ||
714 | # CONFIG_NCP_FS is not set | ||
715 | # CONFIG_CODA_FS is not set | ||
716 | # CONFIG_AFS_FS is not set | ||
717 | |||
718 | # | ||
719 | # Partition Types | ||
720 | # | ||
721 | # CONFIG_PARTITION_ADVANCED is not set | ||
722 | CONFIG_MSDOS_PARTITION=y | ||
723 | |||
724 | # | ||
725 | # Native Language Support | ||
726 | # | ||
727 | CONFIG_NLS=y | ||
728 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
729 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
730 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
731 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
732 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
733 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
734 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
735 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
736 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
737 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
738 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
739 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
740 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
741 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
742 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
743 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
744 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
745 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
746 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
747 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
748 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
749 | # CONFIG_NLS_ISO8859_8 is not set | ||
750 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
751 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
752 | # CONFIG_NLS_ASCII is not set | ||
753 | # CONFIG_NLS_ISO8859_1 is not set | ||
754 | # CONFIG_NLS_ISO8859_2 is not set | ||
755 | # CONFIG_NLS_ISO8859_3 is not set | ||
756 | # CONFIG_NLS_ISO8859_4 is not set | ||
757 | # CONFIG_NLS_ISO8859_5 is not set | ||
758 | # CONFIG_NLS_ISO8859_6 is not set | ||
759 | # CONFIG_NLS_ISO8859_7 is not set | ||
760 | # CONFIG_NLS_ISO8859_9 is not set | ||
761 | # CONFIG_NLS_ISO8859_13 is not set | ||
762 | # CONFIG_NLS_ISO8859_14 is not set | ||
763 | # CONFIG_NLS_ISO8859_15 is not set | ||
764 | # CONFIG_NLS_KOI8_R is not set | ||
765 | # CONFIG_NLS_KOI8_U is not set | ||
766 | # CONFIG_NLS_UTF8 is not set | ||
767 | |||
768 | # | ||
769 | # Profiling support | ||
770 | # | ||
771 | # CONFIG_PROFILING is not set | ||
772 | |||
773 | # | ||
774 | # Kernel hacking | ||
775 | # | ||
776 | # CONFIG_PRINTK_TIME is not set | ||
777 | # CONFIG_DEBUG_KERNEL is not set | ||
778 | CONFIG_LOG_BUF_SHIFT=14 | ||
779 | CONFIG_DEBUG_BUGVERBOSE=y | ||
780 | CONFIG_FRAME_POINTER=y | ||
781 | # CONFIG_DEBUG_USER is not set | ||
782 | |||
783 | # | ||
784 | # Security options | ||
785 | # | ||
786 | # CONFIG_KEYS is not set | ||
787 | # CONFIG_SECURITY is not set | ||
788 | |||
789 | # | ||
790 | # Cryptographic options | ||
791 | # | ||
792 | # CONFIG_CRYPTO is not set | ||
793 | |||
794 | # | ||
795 | # Hardware crypto devices | ||
796 | # | ||
797 | |||
798 | # | ||
799 | # Library routines | ||
800 | # | ||
801 | # CONFIG_CRC_CCITT is not set | ||
802 | CONFIG_CRC32=y | ||
803 | # CONFIG_LIBCRC32C is not set | ||
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index bd4823c74645..1155cf07c871 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -344,9 +344,9 @@ __create_page_tables: | |||
344 | str r6, [r0] | 344 | str r6, [r0] |
345 | #endif | 345 | #endif |
346 | 346 | ||
347 | #ifdef CONFIG_DEBUG_LL | ||
347 | bic r7, r7, #0x0c @ turn off cacheable | 348 | bic r7, r7, #0x0c @ turn off cacheable |
348 | @ and bufferable bits | 349 | @ and bufferable bits |
349 | #ifdef CONFIG_DEBUG_LL | ||
350 | /* | 350 | /* |
351 | * Map in IO space for serial debugging. | 351 | * Map in IO space for serial debugging. |
352 | * This allows debug messages to be output | 352 | * This allows debug messages to be output |
@@ -372,28 +372,24 @@ __create_page_tables: | |||
372 | teq r1, #MACH_TYPE_NETWINDER | 372 | teq r1, #MACH_TYPE_NETWINDER |
373 | teqne r1, #MACH_TYPE_CATS | 373 | teqne r1, #MACH_TYPE_CATS |
374 | bne 1f | 374 | bne 1f |
375 | add r0, r4, #0x3fc0 @ ff000000 | 375 | add r0, r4, #0xff000000 >> 18 |
376 | mov r3, #0x7c000000 | 376 | orr r3, r7, #0x7c000000 |
377 | orr r3, r3, r7 | 377 | str r3, [r0] |
378 | str r3, [r0], #4 | ||
379 | add r3, r3, #1 << 20 | ||
380 | str r3, [r0], #4 | ||
381 | 1: | 378 | 1: |
382 | #endif | 379 | #endif |
383 | #endif | ||
384 | #ifdef CONFIG_ARCH_RPC | 380 | #ifdef CONFIG_ARCH_RPC |
385 | /* | 381 | /* |
386 | * Map in screen at 0x02000000 & SCREEN2_BASE | 382 | * Map in screen at 0x02000000 & SCREEN2_BASE |
387 | * Similar reasons here - for debug. This is | 383 | * Similar reasons here - for debug. This is |
388 | * only for Acorn RiscPC architectures. | 384 | * only for Acorn RiscPC architectures. |
389 | */ | 385 | */ |
390 | add r0, r4, #0x80 @ 02000000 | 386 | add r0, r4, #0x02000000 >> 18 |
391 | mov r3, #0x02000000 | 387 | orr r3, r7, #0x02000000 |
392 | orr r3, r3, r7 | ||
393 | str r3, [r0] | 388 | str r3, [r0] |
394 | add r0, r4, #0x3600 @ d8000000 | 389 | add r0, r4, #0xd8000000 >> 18 |
395 | str r3, [r0] | 390 | str r3, [r0] |
396 | #endif | 391 | #endif |
392 | #endif | ||
397 | mov pc, lr | 393 | mov pc, lr |
398 | .ltorg | 394 | .ltorg |
399 | 395 | ||
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 35b7273cfdb4..c9b69771f92e 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -737,8 +737,8 @@ void __init setup_arch(char **cmdline_p) | |||
737 | if (mdesc->soft_reboot) | 737 | if (mdesc->soft_reboot) |
738 | reboot_setup("s"); | 738 | reboot_setup("s"); |
739 | 739 | ||
740 | if (mdesc->param_offset) | 740 | if (mdesc->boot_params) |
741 | tags = phys_to_virt(mdesc->param_offset); | 741 | tags = phys_to_virt(mdesc->boot_params); |
742 | 742 | ||
743 | /* | 743 | /* |
744 | * If we have the old style parameters, convert them to | 744 | * If we have the old style parameters, convert them to |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 2fb0a4cfb37a..df2cb06ce424 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -230,16 +230,8 @@ NORET_TYPE void die(const char *str, struct pt_regs *regs, int err) | |||
230 | do_exit(SIGSEGV); | 230 | do_exit(SIGSEGV); |
231 | } | 231 | } |
232 | 232 | ||
233 | void die_if_kernel(const char *str, struct pt_regs *regs, int err) | 233 | void notify_die(const char *str, struct pt_regs *regs, struct siginfo *info, |
234 | { | 234 | unsigned long err, unsigned long trap) |
235 | if (user_mode(regs)) | ||
236 | return; | ||
237 | |||
238 | die(str, regs, err); | ||
239 | } | ||
240 | |||
241 | static void notify_die(const char *str, struct pt_regs *regs, siginfo_t *info, | ||
242 | unsigned long err, unsigned long trap) | ||
243 | { | 235 | { |
244 | if (user_mode(regs)) { | 236 | if (user_mode(regs)) { |
245 | current->thread.error_code = err; | 237 | current->thread.error_code = err; |
diff --git a/arch/arm/mach-aaec2000/aaed2000.c b/arch/arm/mach-aaec2000/aaed2000.c index 5417ca3f4621..c9d899886648 100644 --- a/arch/arm/mach-aaec2000/aaed2000.c +++ b/arch/arm/mach-aaec2000/aaed2000.c | |||
@@ -40,9 +40,11 @@ static void __init aaed2000_map_io(void) | |||
40 | } | 40 | } |
41 | 41 | ||
42 | MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform") | 42 | MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform") |
43 | MAINTAINER("Nicolas Bellido Y Ortega") | 43 | /* Maintainer: Nicolas Bellido Y Ortega */ |
44 | BOOT_MEM(0xf0000000, PIO_BASE, VIO_BASE) | 44 | .phys_ram = 0xf0000000, |
45 | MAPIO(aaed2000_map_io) | 45 | .phys_io = PIO_BASE, |
46 | INITIRQ(aaed2000_init_irq) | 46 | .io_pg_offst = ((VIO_BASE) >> 18) & 0xfffc, |
47 | .map_io = aaed2000_map_io, | ||
48 | .init_irq = aaed2000_init_irq, | ||
47 | .timer = &aaec2000_timer, | 49 | .timer = &aaec2000_timer, |
48 | MACHINE_END | 50 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/autcpu12.c b/arch/arm/mach-clps711x/autcpu12.c index c106704a2c34..dc73feb1ffb0 100644 --- a/arch/arm/mach-clps711x/autcpu12.c +++ b/arch/arm/mach-clps711x/autcpu12.c | |||
@@ -59,11 +59,13 @@ void __init autcpu12_map_io(void) | |||
59 | } | 59 | } |
60 | 60 | ||
61 | MACHINE_START(AUTCPU12, "autronix autcpu12") | 61 | MACHINE_START(AUTCPU12, "autronix autcpu12") |
62 | MAINTAINER("Thomas Gleixner") | 62 | /* Maintainer: Thomas Gleixner */ |
63 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 63 | .phys_ram = 0xc0000000, |
64 | BOOT_PARAMS(0xc0020000) | 64 | .phys_io = 0x80000000, |
65 | MAPIO(autcpu12_map_io) | 65 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
66 | INITIRQ(clps711x_init_irq) | 66 | .boot_params = 0xc0020000, |
67 | .map_io = autcpu12_map_io, | ||
68 | .init_irq = clps711x_init_irq, | ||
67 | .timer = &clps711x_timer, | 69 | .timer = &clps711x_timer, |
68 | MACHINE_END | 70 | MACHINE_END |
69 | 71 | ||
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c index 7664f9cf83b8..a46c82cd2711 100644 --- a/arch/arm/mach-clps711x/cdb89712.c +++ b/arch/arm/mach-clps711x/cdb89712.c | |||
@@ -49,10 +49,12 @@ static void __init cdb89712_map_io(void) | |||
49 | } | 49 | } |
50 | 50 | ||
51 | MACHINE_START(CDB89712, "Cirrus-CDB89712") | 51 | MACHINE_START(CDB89712, "Cirrus-CDB89712") |
52 | MAINTAINER("Ray Lehtiniemi") | 52 | /* Maintainer: Ray Lehtiniemi */ |
53 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 53 | .phys_ram = 0xc0000000, |
54 | BOOT_PARAMS(0xc0000100) | 54 | .phys_io = 0x80000000, |
55 | MAPIO(cdb89712_map_io) | 55 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
56 | INITIRQ(clps711x_init_irq) | 56 | .boot_params = 0xc0000100, |
57 | .map_io = cdb89712_map_io, | ||
58 | .init_irq = clps711x_init_irq, | ||
57 | .timer = &clps711x_timer, | 59 | .timer = &clps711x_timer, |
58 | MACHINE_END | 60 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/ceiva.c b/arch/arm/mach-clps711x/ceiva.c index e4093be3c4cb..780d91805984 100644 --- a/arch/arm/mach-clps711x/ceiva.c +++ b/arch/arm/mach-clps711x/ceiva.c | |||
@@ -53,10 +53,12 @@ static void __init ceiva_map_io(void) | |||
53 | 53 | ||
54 | 54 | ||
55 | MACHINE_START(CEIVA, "CEIVA/Polaroid Photo MAX Digital Picture Frame") | 55 | MACHINE_START(CEIVA, "CEIVA/Polaroid Photo MAX Digital Picture Frame") |
56 | MAINTAINER("Rob Scott") | 56 | /* Maintainer: Rob Scott */ |
57 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 57 | .phys_ram = 0xc0000000, |
58 | BOOT_PARAMS(0xc0000100) | 58 | .phys_io = 0x80000000, |
59 | MAPIO(ceiva_map_io) | 59 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
60 | INITIRQ(clps711x_init_irq) | 60 | .boot_params = 0xc0000100, |
61 | .map_io = ceiva_map_io, | ||
62 | .init_irq = clps711x_init_irq, | ||
61 | .timer = &clps711x_timer, | 63 | .timer = &clps711x_timer, |
62 | MACHINE_END | 64 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/clep7312.c b/arch/arm/mach-clps711x/clep7312.c index 9ca21cb481ba..c83f3fd68fcd 100644 --- a/arch/arm/mach-clps711x/clep7312.c +++ b/arch/arm/mach-clps711x/clep7312.c | |||
@@ -37,12 +37,14 @@ fixup_clep7312(struct machine_desc *desc, struct tag *tags, | |||
37 | 37 | ||
38 | 38 | ||
39 | MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") | 39 | MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") |
40 | MAINTAINER("Nobody") | 40 | /* Maintainer: Nobody */ |
41 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 41 | .phys_ram = 0xc0000000, |
42 | BOOT_PARAMS(0xc0000100) | 42 | .phys_io = 0x80000000, |
43 | FIXUP(fixup_clep7312) | 43 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
44 | MAPIO(clps711x_map_io) | 44 | .boot_params = 0xc0000100, |
45 | INITIRQ(clps711x_init_irq) | 45 | .fixup = fixup_clep7312, |
46 | .map_io = clps711x_map_io, | ||
47 | .init_irq = clps711x_init_irq, | ||
46 | .timer = &clps711x_timer, | 48 | .timer = &clps711x_timer, |
47 | MACHINE_END | 49 | MACHINE_END |
48 | 50 | ||
diff --git a/arch/arm/mach-clps711x/edb7211-arch.c b/arch/arm/mach-clps711x/edb7211-arch.c index c6c46324a2e3..255c98b63e15 100644 --- a/arch/arm/mach-clps711x/edb7211-arch.c +++ b/arch/arm/mach-clps711x/edb7211-arch.c | |||
@@ -51,11 +51,13 @@ fixup_edb7211(struct machine_desc *desc, struct tag *tags, | |||
51 | } | 51 | } |
52 | 52 | ||
53 | MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)") | 53 | MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)") |
54 | MAINTAINER("Jon McClintock") | 54 | /* Maintainer: Jon McClintock */ |
55 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 55 | .phys_ram = 0xc0000000, |
56 | BOOT_PARAMS(0xc0020100) /* 0xc0000000 - 0xc001ffff can be video RAM */ | 56 | .phys_io = 0x80000000, |
57 | FIXUP(fixup_edb7211) | 57 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
58 | MAPIO(edb7211_map_io) | 58 | .boot_params = 0xc0020100, /* 0xc0000000 - 0xc001ffff can be video RAM */ |
59 | INITIRQ(clps711x_init_irq) | 59 | .fixup = fixup_edb7211, |
60 | .map_io = edb7211_map_io, | ||
61 | .init_irq = clps711x_init_irq, | ||
60 | .timer = &clps711x_timer, | 62 | .timer = &clps711x_timer, |
61 | MACHINE_END | 63 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/fortunet.c b/arch/arm/mach-clps711x/fortunet.c index c1c5b8e01549..f83a59761e02 100644 --- a/arch/arm/mach-clps711x/fortunet.c +++ b/arch/arm/mach-clps711x/fortunet.c | |||
@@ -75,11 +75,13 @@ fortunet_fixup(struct machine_desc *desc, struct tag *tags, | |||
75 | } | 75 | } |
76 | 76 | ||
77 | MACHINE_START(FORTUNET, "ARM-FortuNet") | 77 | MACHINE_START(FORTUNET, "ARM-FortuNet") |
78 | MAINTAINER("FortuNet Inc.") | 78 | /* Maintainer: FortuNet Inc. */ |
79 | BOOT_MEM(0xc0000000, 0x80000000, 0xf0000000) | 79 | .phys_ram = 0xc0000000, |
80 | BOOT_PARAMS(0x00000000) | 80 | .phys_io = 0x80000000, |
81 | FIXUP(fortunet_fixup) | 81 | .io_pg_offst = ((0xf0000000) >> 18) & 0xfffc, |
82 | MAPIO(clps711x_map_io) | 82 | .boot_params = 0x00000000, |
83 | INITIRQ(clps711x_init_irq) | 83 | .fixup = fortunet_fixup, |
84 | .map_io = clps711x_map_io, | ||
85 | .init_irq = clps711x_init_irq, | ||
84 | .timer = &clps711x_timer, | 86 | .timer = &clps711x_timer, |
85 | MACHINE_END | 87 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/p720t.c b/arch/arm/mach-clps711x/p720t.c index 29269df054f5..5bdb90edf992 100644 --- a/arch/arm/mach-clps711x/p720t.c +++ b/arch/arm/mach-clps711x/p720t.c | |||
@@ -79,12 +79,14 @@ static void __init p720t_map_io(void) | |||
79 | } | 79 | } |
80 | 80 | ||
81 | MACHINE_START(P720T, "ARM-Prospector720T") | 81 | MACHINE_START(P720T, "ARM-Prospector720T") |
82 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 82 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
83 | BOOT_MEM(0xc0000000, 0x80000000, 0xff000000) | 83 | .phys_ram = 0xc0000000, |
84 | BOOT_PARAMS(0xc0000100) | 84 | .phys_io = 0x80000000, |
85 | FIXUP(fixup_p720t) | 85 | .io_pg_offst = ((0xff000000) >> 18) & 0xfffc, |
86 | MAPIO(p720t_map_io) | 86 | .boot_params = 0xc0000100, |
87 | INITIRQ(clps711x_init_irq) | 87 | .fixup = fixup_p720t, |
88 | .map_io = p720t_map_io, | ||
89 | .init_irq = clps711x_init_irq, | ||
88 | .timer = &clps711x_timer, | 90 | .timer = &clps711x_timer, |
89 | MACHINE_END | 91 | MACHINE_END |
90 | 92 | ||
diff --git a/arch/arm/mach-clps7500/core.c b/arch/arm/mach-clps7500/core.c index 90e85f434f6f..112f1d68fb2b 100644 --- a/arch/arm/mach-clps7500/core.c +++ b/arch/arm/mach-clps7500/core.c | |||
@@ -366,11 +366,13 @@ static void __init clps7500_init(void) | |||
366 | } | 366 | } |
367 | 367 | ||
368 | MACHINE_START(CLPS7500, "CL-PS7500") | 368 | MACHINE_START(CLPS7500, "CL-PS7500") |
369 | MAINTAINER("Philip Blundell") | 369 | /* Maintainer: Philip Blundell */ |
370 | BOOT_MEM(0x10000000, 0x03000000, 0xe0000000) | 370 | .phys_ram = 0x10000000, |
371 | MAPIO(clps7500_map_io) | 371 | .phys_io = 0x03000000, |
372 | INITIRQ(clps7500_init_irq) | 372 | .io_pg_offst = ((0xe0000000) >> 18) & 0xfffc, |
373 | .init_machine = clps7500_init, | 373 | .map_io = clps7500_map_io, |
374 | .timer = &clps7500_timer, | 374 | .init_irq = clps7500_init_irq, |
375 | .init_machine = clps7500_init, | ||
376 | .timer = &clps7500_timer, | ||
375 | MACHINE_END | 377 | MACHINE_END |
376 | 378 | ||
diff --git a/arch/arm/mach-ebsa110/core.c b/arch/arm/mach-ebsa110/core.c index 86ffdbb5626e..23c4da10101b 100644 --- a/arch/arm/mach-ebsa110/core.c +++ b/arch/arm/mach-ebsa110/core.c | |||
@@ -233,13 +233,15 @@ static int __init ebsa110_init(void) | |||
233 | arch_initcall(ebsa110_init); | 233 | arch_initcall(ebsa110_init); |
234 | 234 | ||
235 | MACHINE_START(EBSA110, "EBSA110") | 235 | MACHINE_START(EBSA110, "EBSA110") |
236 | MAINTAINER("Russell King") | 236 | /* Maintainer: Russell King */ |
237 | BOOT_MEM(0x00000000, 0xe0000000, 0xe0000000) | 237 | .phys_ram = 0x00000000, |
238 | BOOT_PARAMS(0x00000400) | 238 | .phys_io = 0xe0000000, |
239 | DISABLE_PARPORT(0) | 239 | .io_pg_offst = ((0xe0000000) >> 18) & 0xfffc, |
240 | DISABLE_PARPORT(2) | 240 | .boot_params = 0x00000400, |
241 | SOFT_REBOOT | 241 | .reserve_lp0 = 1, |
242 | MAPIO(ebsa110_map_io) | 242 | .reserve_lp2 = 1, |
243 | INITIRQ(ebsa110_init_irq) | 243 | .soft_reboot = 1, |
244 | .map_io = ebsa110_map_io, | ||
245 | .init_irq = ebsa110_init_irq, | ||
244 | .timer = &ebsa110_timer, | 246 | .timer = &ebsa110_timer, |
245 | MACHINE_END | 247 | MACHINE_END |
diff --git a/arch/arm/mach-epxa10db/arch.c b/arch/arm/mach-epxa10db/arch.c index 1b40340e8a21..7daa021676d0 100644 --- a/arch/arm/mach-epxa10db/arch.c +++ b/arch/arm/mach-epxa10db/arch.c | |||
@@ -63,10 +63,12 @@ extern void epxa10db_init_irq(void); | |||
63 | extern struct sys_timer epxa10db_timer; | 63 | extern struct sys_timer epxa10db_timer; |
64 | 64 | ||
65 | MACHINE_START(CAMELOT, "Altera Epxa10db") | 65 | MACHINE_START(CAMELOT, "Altera Epxa10db") |
66 | MAINTAINER("Altera Corporation") | 66 | /* Maintainer: Altera Corporation */ |
67 | BOOT_MEM(0x00000000, 0x7fffc000, 0xffffc000) | 67 | .phys_ram = 0x00000000, |
68 | MAPIO(epxa10db_map_io) | 68 | .phys_io = 0x7fffc000, |
69 | INITIRQ(epxa10db_init_irq) | 69 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, |
70 | .map_io = epxa10db_map_io, | ||
71 | .init_irq = epxa10db_init_irq, | ||
70 | .timer = &epxa10db_timer, | 72 | .timer = &epxa10db_timer, |
71 | MACHINE_END | 73 | MACHINE_END |
72 | 74 | ||
diff --git a/arch/arm/mach-footbridge/cats-hw.c b/arch/arm/mach-footbridge/cats-hw.c index d1ced86c379c..49b898af0032 100644 --- a/arch/arm/mach-footbridge/cats-hw.c +++ b/arch/arm/mach-footbridge/cats-hw.c | |||
@@ -84,12 +84,14 @@ fixup_cats(struct machine_desc *desc, struct tag *tags, | |||
84 | } | 84 | } |
85 | 85 | ||
86 | MACHINE_START(CATS, "Chalice-CATS") | 86 | MACHINE_START(CATS, "Chalice-CATS") |
87 | MAINTAINER("Philip Blundell") | 87 | /* Maintainer: Philip Blundell */ |
88 | BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0xfe000000) | 88 | .phys_ram = 0x00000000, |
89 | BOOT_PARAMS(0x00000100) | 89 | .phys_io = DC21285_ARMCSR_BASE, |
90 | SOFT_REBOOT | 90 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, |
91 | FIXUP(fixup_cats) | 91 | .boot_params = 0x00000100, |
92 | MAPIO(footbridge_map_io) | 92 | .soft_reboot = 1, |
93 | INITIRQ(footbridge_init_irq) | 93 | .fixup = fixup_cats, |
94 | .map_io = footbridge_map_io, | ||
95 | .init_irq = footbridge_init_irq, | ||
94 | .timer = &isa_timer, | 96 | .timer = &isa_timer, |
95 | MACHINE_END | 97 | MACHINE_END |
diff --git a/arch/arm/mach-footbridge/co285.c b/arch/arm/mach-footbridge/co285.c index e1541914fdcd..548a79081688 100644 --- a/arch/arm/mach-footbridge/co285.c +++ b/arch/arm/mach-footbridge/co285.c | |||
@@ -28,11 +28,13 @@ fixup_coebsa285(struct machine_desc *desc, struct tag *tags, | |||
28 | } | 28 | } |
29 | 29 | ||
30 | MACHINE_START(CO285, "co-EBSA285") | 30 | MACHINE_START(CO285, "co-EBSA285") |
31 | MAINTAINER("Mark van Doesburg") | 31 | /* Maintainer: Mark van Doesburg */ |
32 | BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0x7cf00000) | 32 | .phys_ram = 0x00000000, |
33 | FIXUP(fixup_coebsa285) | 33 | .phys_io = DC21285_ARMCSR_BASE, |
34 | MAPIO(footbridge_map_io) | 34 | .io_pg_offst = ((0x7cf00000) >> 18) & 0xfffc, |
35 | INITIRQ(footbridge_init_irq) | 35 | .fixup = fixup_coebsa285, |
36 | .map_io = footbridge_map_io, | ||
37 | .init_irq = footbridge_init_irq, | ||
36 | .timer = &footbridge_timer, | 38 | .timer = &footbridge_timer, |
37 | MACHINE_END | 39 | MACHINE_END |
38 | 40 | ||
diff --git a/arch/arm/mach-footbridge/ebsa285.c b/arch/arm/mach-footbridge/ebsa285.c index d0931f5a63c8..1c37605268d5 100644 --- a/arch/arm/mach-footbridge/ebsa285.c +++ b/arch/arm/mach-footbridge/ebsa285.c | |||
@@ -13,12 +13,15 @@ | |||
13 | #include "common.h" | 13 | #include "common.h" |
14 | 14 | ||
15 | MACHINE_START(EBSA285, "EBSA285") | 15 | MACHINE_START(EBSA285, "EBSA285") |
16 | MAINTAINER("Russell King") | 16 | /* Maintainer: Russell King */ |
17 | BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0xfe000000) | 17 | .phys_ram = 0x00000000, |
18 | BOOT_PARAMS(0x00000100) | 18 | .phys_io = DC21285_ARMCSR_BASE, |
19 | VIDEO(0x000a0000, 0x000bffff) | 19 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, |
20 | MAPIO(footbridge_map_io) | 20 | .boot_params = 0x00000100, |
21 | INITIRQ(footbridge_init_irq) | 21 | .video_start = 0x000a0000, |
22 | .video_end = 0x000bffff, | ||
23 | .map_io = footbridge_map_io, | ||
24 | .init_irq = footbridge_init_irq, | ||
22 | .timer = &footbridge_timer, | 25 | .timer = &footbridge_timer, |
23 | MACHINE_END | 26 | MACHINE_END |
24 | 27 | ||
diff --git a/arch/arm/mach-footbridge/netwinder-hw.c b/arch/arm/mach-footbridge/netwinder-hw.c index 1e1dfd79f4fe..775f85fc8513 100644 --- a/arch/arm/mach-footbridge/netwinder-hw.c +++ b/arch/arm/mach-footbridge/netwinder-hw.c | |||
@@ -647,14 +647,17 @@ fixup_netwinder(struct machine_desc *desc, struct tag *tags, | |||
647 | } | 647 | } |
648 | 648 | ||
649 | MACHINE_START(NETWINDER, "Rebel-NetWinder") | 649 | MACHINE_START(NETWINDER, "Rebel-NetWinder") |
650 | MAINTAINER("Russell King/Rebel.com") | 650 | /* Maintainer: Russell King/Rebel.com */ |
651 | BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0xfe000000) | 651 | .phys_ram = 0x00000000, |
652 | BOOT_PARAMS(0x00000100) | 652 | .phys_io = DC21285_ARMCSR_BASE, |
653 | VIDEO(0x000a0000, 0x000bffff) | 653 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, |
654 | DISABLE_PARPORT(0) | 654 | .boot_params = 0x00000100, |
655 | DISABLE_PARPORT(2) | 655 | .video_start = 0x000a0000, |
656 | FIXUP(fixup_netwinder) | 656 | .video_end = 0x000bffff, |
657 | MAPIO(footbridge_map_io) | 657 | .reserve_lp0 = 1, |
658 | INITIRQ(footbridge_init_irq) | 658 | .reserve_lp2 = 1, |
659 | .fixup = fixup_netwinder, | ||
660 | .map_io = footbridge_map_io, | ||
661 | .init_irq = footbridge_init_irq, | ||
659 | .timer = &isa_timer, | 662 | .timer = &isa_timer, |
660 | MACHINE_END | 663 | MACHINE_END |
diff --git a/arch/arm/mach-footbridge/personal.c b/arch/arm/mach-footbridge/personal.c index 415086d7bbee..0146b8bb59da 100644 --- a/arch/arm/mach-footbridge/personal.c +++ b/arch/arm/mach-footbridge/personal.c | |||
@@ -13,11 +13,13 @@ | |||
13 | #include "common.h" | 13 | #include "common.h" |
14 | 14 | ||
15 | MACHINE_START(PERSONAL_SERVER, "Compaq-PersonalServer") | 15 | MACHINE_START(PERSONAL_SERVER, "Compaq-PersonalServer") |
16 | MAINTAINER("Jamey Hicks / George France") | 16 | /* Maintainer: Jamey Hicks / George France */ |
17 | BOOT_MEM(0x00000000, DC21285_ARMCSR_BASE, 0xfe000000) | 17 | .phys_ram = 0x00000000, |
18 | BOOT_PARAMS(0x00000100) | 18 | .phys_io = DC21285_ARMCSR_BASE, |
19 | MAPIO(footbridge_map_io) | 19 | .io_pg_offst = ((0xfe000000) >> 18) & 0xfffc, |
20 | INITIRQ(footbridge_init_irq) | 20 | .boot_params = 0x00000100, |
21 | .map_io = footbridge_map_io, | ||
22 | .init_irq = footbridge_init_irq, | ||
21 | .timer = &footbridge_timer, | 23 | .timer = &footbridge_timer, |
22 | MACHINE_END | 24 | MACHINE_END |
23 | 25 | ||
diff --git a/arch/arm/mach-h720x/h7201-eval.c b/arch/arm/mach-h720x/h7201-eval.c index 9b24b9b0db15..fa59e9e2a5c8 100644 --- a/arch/arm/mach-h720x/h7201-eval.c +++ b/arch/arm/mach-h720x/h7201-eval.c | |||
@@ -30,10 +30,12 @@ | |||
30 | #include "common.h" | 30 | #include "common.h" |
31 | 31 | ||
32 | MACHINE_START(H7201, "Hynix GMS30C7201") | 32 | MACHINE_START(H7201, "Hynix GMS30C7201") |
33 | MAINTAINER("Robert Schwebel, Pengutronix") | 33 | /* Maintainer: Robert Schwebel, Pengutronix */ |
34 | BOOT_MEM(0x40000000, 0x80000000, 0xf0000000) | 34 | .phys_ram = 0x40000000, |
35 | BOOT_PARAMS(0xc0001000) | 35 | .phys_io = 0x80000000, |
36 | MAPIO(h720x_map_io) | 36 | .io_pg_offst = ((0xf0000000) >> 18) & 0xfffc, |
37 | INITIRQ(h720x_init_irq) | 37 | .boot_params = 0xc0001000, |
38 | .timer = &h7201_timer, | 38 | .map_io = h720x_map_io, |
39 | .init_irq = h720x_init_irq, | ||
40 | .timer = &h7201_timer, | ||
39 | MACHINE_END | 41 | MACHINE_END |
diff --git a/arch/arm/mach-h720x/h7202-eval.c b/arch/arm/mach-h720x/h7202-eval.c index 3456a00d5f5c..db9078ad008c 100644 --- a/arch/arm/mach-h720x/h7202-eval.c +++ b/arch/arm/mach-h720x/h7202-eval.c | |||
@@ -71,11 +71,13 @@ static void __init init_eval_h7202(void) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | MACHINE_START(H7202, "Hynix HMS30C7202") | 73 | MACHINE_START(H7202, "Hynix HMS30C7202") |
74 | MAINTAINER("Robert Schwebel, Pengutronix") | 74 | /* Maintainer: Robert Schwebel, Pengutronix */ |
75 | BOOT_MEM(0x40000000, 0x80000000, 0xf0000000) | 75 | .phys_ram = 0x40000000, |
76 | BOOT_PARAMS(0x40000100) | 76 | .phys_io = 0x80000000, |
77 | MAPIO(h720x_map_io) | 77 | .io_pg_offst = ((0xf0000000) >> 18) & 0xfffc, |
78 | INITIRQ(h7202_init_irq) | 78 | .boot_params = 0x40000100, |
79 | .timer = &h7202_timer, | 79 | .map_io = h720x_map_io, |
80 | INIT_MACHINE(init_eval_h7202) | 80 | .init_irq = h7202_init_irq, |
81 | .timer = &h7202_timer, | ||
82 | .init_machine = init_eval_h7202, | ||
81 | MACHINE_END | 83 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mx1ads.c b/arch/arm/mach-imx/mx1ads.c index 625dd01c2578..5d25434d332c 100644 --- a/arch/arm/mach-imx/mx1ads.c +++ b/arch/arm/mach-imx/mx1ads.c | |||
@@ -78,11 +78,13 @@ mx1ads_map_io(void) | |||
78 | } | 78 | } |
79 | 79 | ||
80 | MACHINE_START(MX1ADS, "Motorola MX1ADS") | 80 | MACHINE_START(MX1ADS, "Motorola MX1ADS") |
81 | MAINTAINER("Sascha Hauer, Pengutronix") | 81 | /* Maintainer: Sascha Hauer, Pengutronix */ |
82 | BOOT_MEM(0x08000000, 0x00200000, 0xe0200000) | 82 | .phys_ram = 0x08000000, |
83 | BOOT_PARAMS(0x08000100) | 83 | .phys_io = 0x00200000, |
84 | MAPIO(mx1ads_map_io) | 84 | .io_pg_offst = ((0xe0200000) >> 18) & 0xfffc, |
85 | INITIRQ(imx_init_irq) | 85 | .boot_params = 0x08000100, |
86 | .map_io = mx1ads_map_io, | ||
87 | .init_irq = imx_init_irq, | ||
86 | .timer = &imx_timer, | 88 | .timer = &imx_timer, |
87 | INIT_MACHINE(mx1ads_init) | 89 | .init_machine = mx1ads_init, |
88 | MACHINE_END | 90 | MACHINE_END |
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 91ba9fd79c87..36e2b6eb67b7 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -292,11 +292,13 @@ static struct sys_timer ap_timer = { | |||
292 | }; | 292 | }; |
293 | 293 | ||
294 | MACHINE_START(INTEGRATOR, "ARM-Integrator") | 294 | MACHINE_START(INTEGRATOR, "ARM-Integrator") |
295 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 295 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
296 | BOOT_MEM(0x00000000, 0x16000000, 0xf1600000) | 296 | .phys_ram = 0x00000000, |
297 | BOOT_PARAMS(0x00000100) | 297 | .phys_io = 0x16000000, |
298 | MAPIO(ap_map_io) | 298 | .io_pg_offst = ((0xf1600000) >> 18) & 0xfffc, |
299 | INITIRQ(ap_init_irq) | 299 | .boot_params = 0x00000100, |
300 | .map_io = ap_map_io, | ||
301 | .init_irq = ap_init_irq, | ||
300 | .timer = &ap_timer, | 302 | .timer = &ap_timer, |
301 | INIT_MACHINE(ap_init) | 303 | .init_machine = ap_init, |
302 | MACHINE_END | 304 | MACHINE_END |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index e0a01eef0993..569f328c479d 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -532,11 +532,13 @@ static struct sys_timer cp_timer = { | |||
532 | }; | 532 | }; |
533 | 533 | ||
534 | MACHINE_START(CINTEGRATOR, "ARM-IntegratorCP") | 534 | MACHINE_START(CINTEGRATOR, "ARM-IntegratorCP") |
535 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 535 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
536 | BOOT_MEM(0x00000000, 0x16000000, 0xf1600000) | 536 | .phys_ram = 0x00000000, |
537 | BOOT_PARAMS(0x00000100) | 537 | .phys_io = 0x16000000, |
538 | MAPIO(intcp_map_io) | 538 | .io_pg_offst = ((0xf1600000) >> 18) & 0xfffc, |
539 | INITIRQ(intcp_init_irq) | 539 | .boot_params = 0x00000100, |
540 | .map_io = intcp_map_io, | ||
541 | .init_irq = intcp_init_irq, | ||
540 | .timer = &cp_timer, | 542 | .timer = &cp_timer, |
541 | INIT_MACHINE(intcp_init) | 543 | .init_machine = intcp_init, |
542 | MACHINE_END | 544 | MACHINE_END |
diff --git a/arch/arm/mach-iop3xx/iop321-setup.c b/arch/arm/mach-iop3xx/iop321-setup.c index bf23e0fd2843..0f921ba2750c 100644 --- a/arch/arm/mach-iop3xx/iop321-setup.c +++ b/arch/arm/mach-iop3xx/iop321-setup.c | |||
@@ -146,23 +146,27 @@ extern void iop321_init_time(void); | |||
146 | 146 | ||
147 | #if defined(CONFIG_ARCH_IQ80321) | 147 | #if defined(CONFIG_ARCH_IQ80321) |
148 | MACHINE_START(IQ80321, "Intel IQ80321") | 148 | MACHINE_START(IQ80321, "Intel IQ80321") |
149 | MAINTAINER("Intel Corporation") | 149 | /* Maintainer: Intel Corporation */ |
150 | BOOT_MEM(PHYS_OFFSET, IQ80321_UART, IQ80321_UART) | 150 | .phys_ram = PHYS_OFFSET, |
151 | MAPIO(iq80321_map_io) | 151 | .phys_io = IQ80321_UART, |
152 | INITIRQ(iop321_init_irq) | 152 | .io_pg_offst = ((IQ80321_UART) >> 18) & 0xfffc, |
153 | .map_io = iq80321_map_io, | ||
154 | .init_irq = iop321_init_irq, | ||
153 | .timer = &iop321_timer, | 155 | .timer = &iop321_timer, |
154 | BOOT_PARAMS(0xa0000100) | 156 | .boot_params = 0xa0000100, |
155 | INIT_MACHINE(iop32x_init) | 157 | .init_machine = iop32x_init, |
156 | MACHINE_END | 158 | MACHINE_END |
157 | #elif defined(CONFIG_ARCH_IQ31244) | 159 | #elif defined(CONFIG_ARCH_IQ31244) |
158 | MACHINE_START(IQ31244, "Intel IQ31244") | 160 | MACHINE_START(IQ31244, "Intel IQ31244") |
159 | MAINTAINER("Intel Corp.") | 161 | /* Maintainer: Intel Corp. */ |
160 | BOOT_MEM(PHYS_OFFSET, IQ31244_UART, IQ31244_UART) | 162 | .phys_ram = PHYS_OFFSET, |
161 | MAPIO(iq31244_map_io) | 163 | .phys_io = IQ31244_UART, |
162 | INITIRQ(iop321_init_irq) | 164 | .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc, |
165 | .map_io = iq31244_map_io, | ||
166 | .init_irq = iop321_init_irq, | ||
163 | .timer = &iop321_timer, | 167 | .timer = &iop321_timer, |
164 | BOOT_PARAMS(0xa0000100) | 168 | .boot_params = 0xa0000100, |
165 | INIT_MACHINE(iop32x_init) | 169 | .init_machine = iop32x_init, |
166 | MACHINE_END | 170 | MACHINE_END |
167 | #else | 171 | #else |
168 | #error No machine descriptor defined for this IOP3XX implementation | 172 | #error No machine descriptor defined for this IOP3XX implementation |
diff --git a/arch/arm/mach-iop3xx/iop331-setup.c b/arch/arm/mach-iop3xx/iop331-setup.c index 622e7914819a..fc74b722f72f 100644 --- a/arch/arm/mach-iop3xx/iop331-setup.c +++ b/arch/arm/mach-iop3xx/iop331-setup.c | |||
@@ -148,26 +148,28 @@ extern void iq80332_map_io(void); | |||
148 | 148 | ||
149 | #if defined(CONFIG_ARCH_IQ80331) | 149 | #if defined(CONFIG_ARCH_IQ80331) |
150 | MACHINE_START(IQ80331, "Intel IQ80331") | 150 | MACHINE_START(IQ80331, "Intel IQ80331") |
151 | MAINTAINER("Intel Corp.") | 151 | /* Maintainer: Intel Corp. */ |
152 | BOOT_MEM(PHYS_OFFSET, 0xfefff000, 0xfffff000) // virtual, physical | 152 | .phys_ram = PHYS_OFFSET, |
153 | //BOOT_MEM(PHYS_OFFSET, IOP331_UART0_VIRT, IOP331_UART0_PHYS) | 153 | .phys_io = 0xfefff000, |
154 | MAPIO(iq80331_map_io) | 154 | .io_pg_offst = ((0xfffff000) >> 18) & 0xfffc, // virtual, physical |
155 | INITIRQ(iop331_init_irq) | 155 | .map_io = iq80331_map_io, |
156 | .init_irq = iop331_init_irq, | ||
156 | .timer = &iop331_timer, | 157 | .timer = &iop331_timer, |
157 | BOOT_PARAMS(0x0100) | 158 | .boot_params = 0x0100, |
158 | INIT_MACHINE(iop33x_init) | 159 | .init_machine = iop33x_init, |
159 | MACHINE_END | 160 | MACHINE_END |
160 | 161 | ||
161 | #elif defined(CONFIG_MACH_IQ80332) | 162 | #elif defined(CONFIG_MACH_IQ80332) |
162 | MACHINE_START(IQ80332, "Intel IQ80332") | 163 | MACHINE_START(IQ80332, "Intel IQ80332") |
163 | MAINTAINER("Intel Corp.") | 164 | /* Maintainer: Intel Corp. */ |
164 | BOOT_MEM(PHYS_OFFSET, 0xfefff000, 0xfffff000) // virtual, physical | 165 | .phys_ram = PHYS_OFFSET, |
165 | //BOOT_MEM(PHYS_OFFSET, IOP331_UART0_VIRT, IOP331_UART0_PHYS) | 166 | .phys_io = 0xfefff000, |
166 | MAPIO(iq80332_map_io) | 167 | .io_pg_offst = ((0xfffff000) >> 18) & 0xfffc, // virtual, physical |
167 | INITIRQ(iop331_init_irq) | 168 | .map_io = iq80332_map_io, |
169 | .init_irq = iop331_init_irq, | ||
168 | .timer = &iop331_timer, | 170 | .timer = &iop331_timer, |
169 | BOOT_PARAMS(0x0100) | 171 | .boot_params = 0x0100, |
170 | INIT_MACHINE(iop33x_init) | 172 | .init_machine = iop33x_init, |
171 | MACHINE_END | 173 | MACHINE_END |
172 | 174 | ||
173 | #else | 175 | #else |
diff --git a/arch/arm/mach-ixp2000/enp2611.c b/arch/arm/mach-ixp2000/enp2611.c index f3a291b6a9fb..b7ebf3898fc5 100644 --- a/arch/arm/mach-ixp2000/enp2611.c +++ b/arch/arm/mach-ixp2000/enp2611.c | |||
@@ -223,13 +223,15 @@ static void __init enp2611_init_machine(void) | |||
223 | 223 | ||
224 | 224 | ||
225 | MACHINE_START(ENP2611, "Radisys ENP-2611 PCI network processor board") | 225 | MACHINE_START(ENP2611, "Radisys ENP-2611 PCI network processor board") |
226 | MAINTAINER("Lennert Buytenhek <buytenh@wantstofly.org>") | 226 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
227 | BOOT_MEM(0x00000000, IXP2000_UART_PHYS_BASE, IXP2000_UART_VIRT_BASE) | 227 | .phys_ram = 0x00000000, |
228 | BOOT_PARAMS(0x00000100) | 228 | .phys_io = IXP2000_UART_PHYS_BASE, |
229 | MAPIO(ixp2000_map_io) | 229 | .io_pg_offst = ((IXP2000_UART_VIRT_BASE) >> 18) & 0xfffc, |
230 | INITIRQ(ixp2000_init_irq) | 230 | .boot_params = 0x00000100, |
231 | .map_io = ixp2000_map_io, | ||
232 | .init_irq = ixp2000_init_irq, | ||
231 | .timer = &enp2611_timer, | 233 | .timer = &enp2611_timer, |
232 | INIT_MACHINE(enp2611_init_machine) | 234 | .init_machine = enp2611_init_machine, |
233 | MACHINE_END | 235 | MACHINE_END |
234 | 236 | ||
235 | 237 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2400.c b/arch/arm/mach-ixp2000/ixdp2400.c index df3ff26c8cdd..fd280a93637e 100644 --- a/arch/arm/mach-ixp2000/ixdp2400.c +++ b/arch/arm/mach-ixp2000/ixdp2400.c | |||
@@ -168,12 +168,14 @@ void ixdp2400_init_irq(void) | |||
168 | } | 168 | } |
169 | 169 | ||
170 | MACHINE_START(IXDP2400, "Intel IXDP2400 Development Platform") | 170 | MACHINE_START(IXDP2400, "Intel IXDP2400 Development Platform") |
171 | MAINTAINER("MontaVista Software, Inc.") | 171 | /* Maintainer: MontaVista Software, Inc. */ |
172 | BOOT_MEM(0x00000000, IXP2000_UART_PHYS_BASE, IXP2000_UART_VIRT_BASE) | 172 | .phys_ram = 0x00000000, |
173 | BOOT_PARAMS(0x00000100) | 173 | .phys_io = IXP2000_UART_PHYS_BASE, |
174 | MAPIO(ixdp2x00_map_io) | 174 | .io_pg_offst = ((IXP2000_UART_VIRT_BASE) >> 18) & 0xfffc, |
175 | INITIRQ(ixdp2400_init_irq) | 175 | .boot_params = 0x00000100, |
176 | .map_io = ixdp2x00_map_io, | ||
177 | .init_irq = ixdp2400_init_irq, | ||
176 | .timer = &ixdp2400_timer, | 178 | .timer = &ixdp2400_timer, |
177 | INIT_MACHINE(ixdp2x00_init_machine) | 179 | .init_machine = ixdp2x00_init_machine, |
178 | MACHINE_END | 180 | MACHINE_END |
179 | 181 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2800.c b/arch/arm/mach-ixp2000/ixdp2800.c index 468a4bbfb724..f9073aa28615 100644 --- a/arch/arm/mach-ixp2000/ixdp2800.c +++ b/arch/arm/mach-ixp2000/ixdp2800.c | |||
@@ -284,12 +284,14 @@ void ixdp2800_init_irq(void) | |||
284 | } | 284 | } |
285 | 285 | ||
286 | MACHINE_START(IXDP2800, "Intel IXDP2800 Development Platform") | 286 | MACHINE_START(IXDP2800, "Intel IXDP2800 Development Platform") |
287 | MAINTAINER("MontaVista Software, Inc.") | 287 | /* Maintainer: MontaVista Software, Inc. */ |
288 | BOOT_MEM(0x00000000, IXP2000_UART_PHYS_BASE, IXP2000_UART_VIRT_BASE) | 288 | .phys_ram = 0x00000000, |
289 | BOOT_PARAMS(0x00000100) | 289 | .phys_io = IXP2000_UART_PHYS_BASE, |
290 | MAPIO(ixdp2x00_map_io) | 290 | .io_pg_offst = ((IXP2000_UART_VIRT_BASE) >> 18) & 0xfffc, |
291 | INITIRQ(ixdp2800_init_irq) | 291 | .boot_params = 0x00000100, |
292 | .map_io = ixdp2x00_map_io, | ||
293 | .init_irq = ixdp2800_init_irq, | ||
292 | .timer = &ixdp2800_timer, | 294 | .timer = &ixdp2800_timer, |
293 | INIT_MACHINE(ixdp2x00_init_machine) | 295 | .init_machine = ixdp2x00_init_machine, |
294 | MACHINE_END | 296 | MACHINE_END |
295 | 297 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2x01.c b/arch/arm/mach-ixp2000/ixdp2x01.c index e94dace3d412..c73588743ee1 100644 --- a/arch/arm/mach-ixp2000/ixdp2x01.c +++ b/arch/arm/mach-ixp2000/ixdp2x01.c | |||
@@ -375,25 +375,29 @@ static void __init ixdp2x01_init_machine(void) | |||
375 | 375 | ||
376 | #ifdef CONFIG_ARCH_IXDP2401 | 376 | #ifdef CONFIG_ARCH_IXDP2401 |
377 | MACHINE_START(IXDP2401, "Intel IXDP2401 Development Platform") | 377 | MACHINE_START(IXDP2401, "Intel IXDP2401 Development Platform") |
378 | MAINTAINER("MontaVista Software, Inc.") | 378 | /* Maintainer: MontaVista Software, Inc. */ |
379 | BOOT_MEM(0x00000000, IXP2000_UART_PHYS_BASE, IXP2000_UART_VIRT_BASE) | 379 | .phys_ram = 0x00000000, |
380 | BOOT_PARAMS(0x00000100) | 380 | .phys_io = IXP2000_UART_PHYS_BASE, |
381 | MAPIO(ixdp2x01_map_io) | 381 | .io_pg_offst = ((IXP2000_UART_VIRT_BASE) >> 18) & 0xfffc, |
382 | INITIRQ(ixdp2x01_init_irq) | 382 | .boot_params = 0x00000100, |
383 | .map_io = ixdp2x01_map_io, | ||
384 | .init_irq = ixdp2x01_init_irq, | ||
383 | .timer = &ixdp2x01_timer, | 385 | .timer = &ixdp2x01_timer, |
384 | INIT_MACHINE(ixdp2x01_init_machine) | 386 | .init_machine = ixdp2x01_init_machine, |
385 | MACHINE_END | 387 | MACHINE_END |
386 | #endif | 388 | #endif |
387 | 389 | ||
388 | #ifdef CONFIG_ARCH_IXDP2801 | 390 | #ifdef CONFIG_ARCH_IXDP2801 |
389 | MACHINE_START(IXDP2801, "Intel IXDP2801 Development Platform") | 391 | MACHINE_START(IXDP2801, "Intel IXDP2801 Development Platform") |
390 | MAINTAINER("MontaVista Software, Inc.") | 392 | /* Maintainer: MontaVista Software, Inc. */ |
391 | BOOT_MEM(0x00000000, IXP2000_UART_PHYS_BASE, IXP2000_UART_VIRT_BASE) | 393 | .phys_ram = 0x00000000, |
392 | BOOT_PARAMS(0x00000100) | 394 | .phys_io = IXP2000_UART_PHYS_BASE, |
393 | MAPIO(ixdp2x01_map_io) | 395 | .io_pg_offst = ((IXP2000_UART_VIRT_BASE) >> 18) & 0xfffc, |
394 | INITIRQ(ixdp2x01_init_irq) | 396 | .boot_params = 0x00000100, |
397 | .map_io = ixdp2x01_map_io, | ||
398 | .init_irq = ixdp2x01_init_irq, | ||
395 | .timer = &ixdp2x01_timer, | 399 | .timer = &ixdp2x01_timer, |
396 | INIT_MACHINE(ixdp2x01_init_machine) | 400 | .init_machine = ixdp2x01_init_machine, |
397 | MACHINE_END | 401 | MACHINE_END |
398 | #endif | 402 | #endif |
399 | 403 | ||
diff --git a/arch/arm/mach-ixp4xx/coyote-setup.c b/arch/arm/mach-ixp4xx/coyote-setup.c index 8a05a1227e5f..c6335f51907d 100644 --- a/arch/arm/mach-ixp4xx/coyote-setup.c +++ b/arch/arm/mach-ixp4xx/coyote-setup.c | |||
@@ -100,14 +100,15 @@ static void __init coyote_init(void) | |||
100 | 100 | ||
101 | #ifdef CONFIG_ARCH_ADI_COYOTE | 101 | #ifdef CONFIG_ARCH_ADI_COYOTE |
102 | MACHINE_START(ADI_COYOTE, "ADI Engineering Coyote") | 102 | MACHINE_START(ADI_COYOTE, "ADI Engineering Coyote") |
103 | MAINTAINER("MontaVista Software, Inc.") | 103 | /* Maintainer: MontaVista Software, Inc. */ |
104 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 104 | .phys_ram = PHYS_OFFSET, |
105 | IXP4XX_PERIPHERAL_BASE_VIRT) | 105 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
106 | MAPIO(coyote_map_io) | 106 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
107 | INITIRQ(ixp4xx_init_irq) | 107 | .map_io = coyote_map_io, |
108 | .init_irq = ixp4xx_init_irq, | ||
108 | .timer = &ixp4xx_timer, | 109 | .timer = &ixp4xx_timer, |
109 | BOOT_PARAMS(0x0100) | 110 | .boot_params = 0x0100, |
110 | INIT_MACHINE(coyote_init) | 111 | .init_machine = coyote_init, |
111 | MACHINE_END | 112 | MACHINE_END |
112 | #endif | 113 | #endif |
113 | 114 | ||
@@ -117,14 +118,15 @@ MACHINE_END | |||
117 | */ | 118 | */ |
118 | #ifdef CONFIG_MACH_IXDPG425 | 119 | #ifdef CONFIG_MACH_IXDPG425 |
119 | MACHINE_START(IXDPG425, "Intel IXDPG425") | 120 | MACHINE_START(IXDPG425, "Intel IXDPG425") |
120 | MAINTAINER("MontaVista Software, Inc.") | 121 | /* Maintainer: MontaVista Software, Inc. */ |
121 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 122 | .phys_ram = PHYS_OFFSET, |
122 | IXP4XX_PERIPHERAL_BASE_VIRT) | 123 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
123 | MAPIO(coyote_map_io) | 124 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
124 | INITIRQ(ixp4xx_init_irq) | 125 | .map_io = coyote_map_io, |
126 | .init_irq = ixp4xx_init_irq, | ||
125 | .timer = &ixp4xx_timer, | 127 | .timer = &ixp4xx_timer, |
126 | BOOT_PARAMS(0x0100) | 128 | .boot_params = 0x0100, |
127 | INIT_MACHINE(coyote_init) | 129 | .init_machine = coyote_init, |
128 | MACHINE_END | 130 | MACHINE_END |
129 | #endif | 131 | #endif |
130 | 132 | ||
diff --git a/arch/arm/mach-ixp4xx/gtwx5715-setup.c b/arch/arm/mach-ixp4xx/gtwx5715-setup.c index e77c86efd21d..8ba1cd9406e7 100644 --- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c +++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c | |||
@@ -140,14 +140,15 @@ static void __init gtwx5715_init(void) | |||
140 | 140 | ||
141 | 141 | ||
142 | MACHINE_START(GTWX5715, "Gemtek GTWX5715 (Linksys WRV54G)") | 142 | MACHINE_START(GTWX5715, "Gemtek GTWX5715 (Linksys WRV54G)") |
143 | MAINTAINER("George Joseph") | 143 | /* Maintainer: George Joseph */ |
144 | BOOT_MEM(PHYS_OFFSET, IXP4XX_UART2_BASE_PHYS, | 144 | .phys_ram = PHYS_OFFSET, |
145 | IXP4XX_UART2_BASE_VIRT) | 145 | .phys_io = IXP4XX_UART2_BASE_PHYS, |
146 | MAPIO(gtwx5715_map_io) | 146 | .io_pg_offst = ((IXP4XX_UART2_BASE_VIRT) >> 18) & 0xfffc, |
147 | INITIRQ(ixp4xx_init_irq) | 147 | .map_io = gtwx5715_map_io, |
148 | .timer = &ixp4xx_timer, | 148 | .init_irq = ixp4xx_init_irq, |
149 | BOOT_PARAMS(0x0100) | 149 | .timer = &ixp4xx_timer, |
150 | INIT_MACHINE(gtwx5715_init) | 150 | .boot_params = 0x0100, |
151 | .init_machine = gtwx5715_init, | ||
151 | MACHINE_END | 152 | MACHINE_END |
152 | 153 | ||
153 | 154 | ||
diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index 77346c1f676b..f2e9c0ea0501 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c | |||
@@ -128,36 +128,39 @@ static void __init ixdp425_init(void) | |||
128 | } | 128 | } |
129 | 129 | ||
130 | MACHINE_START(IXDP425, "Intel IXDP425 Development Platform") | 130 | MACHINE_START(IXDP425, "Intel IXDP425 Development Platform") |
131 | MAINTAINER("MontaVista Software, Inc.") | 131 | /* Maintainer: MontaVista Software, Inc. */ |
132 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 132 | .phys_ram = PHYS_OFFSET, |
133 | IXP4XX_PERIPHERAL_BASE_VIRT) | 133 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
134 | MAPIO(ixdp425_map_io) | 134 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
135 | INITIRQ(ixp4xx_init_irq) | 135 | .map_io = ixdp425_map_io, |
136 | .init_irq = ixp4xx_init_irq, | ||
136 | .timer = &ixp4xx_timer, | 137 | .timer = &ixp4xx_timer, |
137 | BOOT_PARAMS(0x0100) | 138 | .boot_params = 0x0100, |
138 | INIT_MACHINE(ixdp425_init) | 139 | .init_machine = ixdp425_init, |
139 | MACHINE_END | 140 | MACHINE_END |
140 | 141 | ||
141 | MACHINE_START(IXDP465, "Intel IXDP465 Development Platform") | 142 | MACHINE_START(IXDP465, "Intel IXDP465 Development Platform") |
142 | MAINTAINER("MontaVista Software, Inc.") | 143 | /* Maintainer: MontaVista Software, Inc. */ |
143 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 144 | .phys_ram = PHYS_OFFSET, |
144 | IXP4XX_PERIPHERAL_BASE_VIRT) | 145 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
145 | MAPIO(ixdp425_map_io) | 146 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
146 | INITIRQ(ixp4xx_init_irq) | 147 | .map_io = ixdp425_map_io, |
148 | .init_irq = ixp4xx_init_irq, | ||
147 | .timer = &ixp4xx_timer, | 149 | .timer = &ixp4xx_timer, |
148 | BOOT_PARAMS(0x0100) | 150 | .boot_params = 0x0100, |
149 | INIT_MACHINE(ixdp425_init) | 151 | .init_machine = ixdp425_init, |
150 | MACHINE_END | 152 | MACHINE_END |
151 | 153 | ||
152 | MACHINE_START(IXCDP1100, "Intel IXCDP1100 Development Platform") | 154 | MACHINE_START(IXCDP1100, "Intel IXCDP1100 Development Platform") |
153 | MAINTAINER("MontaVista Software, Inc.") | 155 | /* Maintainer: MontaVista Software, Inc. */ |
154 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 156 | .phys_ram = PHYS_OFFSET, |
155 | IXP4XX_PERIPHERAL_BASE_VIRT) | 157 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
156 | MAPIO(ixdp425_map_io) | 158 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
157 | INITIRQ(ixp4xx_init_irq) | 159 | .map_io = ixdp425_map_io, |
160 | .init_irq = ixp4xx_init_irq, | ||
158 | .timer = &ixp4xx_timer, | 161 | .timer = &ixp4xx_timer, |
159 | BOOT_PARAMS(0x0100) | 162 | .boot_params = 0x0100, |
160 | INIT_MACHINE(ixdp425_init) | 163 | .init_machine = ixdp425_init, |
161 | MACHINE_END | 164 | MACHINE_END |
162 | 165 | ||
163 | /* | 166 | /* |
@@ -168,14 +171,15 @@ MACHINE_END | |||
168 | */ | 171 | */ |
169 | #ifdef CONFIG_ARCH_AVILA | 172 | #ifdef CONFIG_ARCH_AVILA |
170 | MACHINE_START(AVILA, "Gateworks Avila Network Platform") | 173 | MACHINE_START(AVILA, "Gateworks Avila Network Platform") |
171 | MAINTAINER("Deepak Saxena <dsaxena@plexity.net>") | 174 | /* Maintainer: Deepak Saxena <dsaxena@plexity.net> */ |
172 | BOOT_MEM(PHYS_OFFSET, IXP4XX_PERIPHERAL_BASE_PHYS, | 175 | .phys_ram = PHYS_OFFSET, |
173 | IXP4XX_PERIPHERAL_BASE_VIRT) | 176 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, |
174 | MAPIO(ixdp425_map_io) | 177 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, |
175 | INITIRQ(ixp4xx_init_irq) | 178 | .map_io = ixdp425_map_io, |
179 | .init_irq = ixp4xx_init_irq, | ||
176 | .timer = &ixp4xx_timer, | 180 | .timer = &ixp4xx_timer, |
177 | BOOT_PARAMS(0x0100) | 181 | .boot_params = 0x0100, |
178 | INIT_MACHINE(ixdp425_init) | 182 | .init_machine = ixdp425_init, |
179 | MACHINE_END | 183 | MACHINE_END |
180 | #endif | 184 | #endif |
181 | 185 | ||
diff --git a/arch/arm/mach-l7200/core.c b/arch/arm/mach-l7200/core.c index 606ca95f8217..2a7fee2a7635 100644 --- a/arch/arm/mach-l7200/core.c +++ b/arch/arm/mach-l7200/core.c | |||
@@ -81,9 +81,11 @@ static void __init l7200_map_io(void) | |||
81 | } | 81 | } |
82 | 82 | ||
83 | MACHINE_START(L7200, "LinkUp Systems L7200") | 83 | MACHINE_START(L7200, "LinkUp Systems L7200") |
84 | MAINTAINER("Steve Hill / Scott McConnell") | 84 | /* Maintainer: Steve Hill / Scott McConnell */ |
85 | BOOT_MEM(0xf0000000, 0x80040000, 0xd0000000) | 85 | .phys_ram = 0xf0000000, |
86 | MAPIO(l7200_map_io) | 86 | .phys_io = 0x80040000, |
87 | INITIRQ(l7200_init_irq) | 87 | .io_pg_offst = ((0xd0000000) >> 18) & 0xfffc, |
88 | .map_io = l7200_map_io, | ||
89 | .init_irq = l7200_init_irq, | ||
88 | MACHINE_END | 90 | MACHINE_END |
89 | 91 | ||
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c index be5d17fe9dcb..cb3dcd3bd00a 100644 --- a/arch/arm/mach-lh7a40x/arch-kev7a400.c +++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c | |||
@@ -102,10 +102,12 @@ void __init lh7a40x_init_board_irq (void) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | MACHINE_START (KEV7A400, "Sharp KEV7a400") | 104 | MACHINE_START (KEV7A400, "Sharp KEV7a400") |
105 | MAINTAINER ("Marc Singer") | 105 | /* Maintainer: Marc Singer */ |
106 | BOOT_MEM (0xc0000000, 0x80000000, io_p2v (0x80000000)) | 106 | .phys_ram = 0xc0000000, |
107 | BOOT_PARAMS (0xc0000100) | 107 | .phys_io = 0x80000000, |
108 | MAPIO (kev7a400_map_io) | 108 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, |
109 | INITIRQ (lh7a400_init_irq) | 109 | .boot_params = 0xc0000100, |
110 | .map_io = kev7a400_map_io, | ||
111 | .init_irq = lh7a400_init_irq, | ||
110 | .timer = &lh7a40x_timer, | 112 | .timer = &lh7a40x_timer, |
111 | MACHINE_END | 113 | MACHINE_END |
diff --git a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c index c823447a150f..6eb61a17c63b 100644 --- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c +++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c | |||
@@ -260,13 +260,15 @@ lpd7a400_map_io(void) | |||
260 | #ifdef CONFIG_MACH_LPD7A400 | 260 | #ifdef CONFIG_MACH_LPD7A400 |
261 | 261 | ||
262 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") | 262 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") |
263 | MAINTAINER ("Marc Singer") | 263 | /* Maintainer: Marc Singer */ |
264 | BOOT_MEM (0xc0000000, 0x80000000, io_p2v (0x80000000)) | 264 | .phys_ram = 0xc0000000, |
265 | BOOT_PARAMS (0xc0000100) | 265 | .phys_io = 0x80000000, |
266 | MAPIO (lpd7a400_map_io) | 266 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, |
267 | INITIRQ (lh7a400_init_irq) | 267 | .boot_params = 0xc0000100, |
268 | .map_io = lpd7a400_map_io, | ||
269 | .init_irq = lh7a400_init_irq, | ||
268 | .timer = &lh7a40x_timer, | 270 | .timer = &lh7a40x_timer, |
269 | INIT_MACHINE (lpd7a40x_init) | 271 | .init_machine = lpd7a40x_init, |
270 | MACHINE_END | 272 | MACHINE_END |
271 | 273 | ||
272 | #endif | 274 | #endif |
@@ -274,13 +276,15 @@ MACHINE_END | |||
274 | #ifdef CONFIG_MACH_LPD7A404 | 276 | #ifdef CONFIG_MACH_LPD7A404 |
275 | 277 | ||
276 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") | 278 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") |
277 | MAINTAINER ("Marc Singer") | 279 | /* Maintainer: Marc Singer */ |
278 | BOOT_MEM (0xc0000000, 0x80000000, io_p2v (0x80000000)) | 280 | .phys_ram = 0xc0000000, |
279 | BOOT_PARAMS (0xc0000100) | 281 | .phys_io = 0x80000000, |
280 | MAPIO (lpd7a400_map_io) | 282 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, |
281 | INITIRQ (lh7a404_init_irq) | 283 | .boot_params = 0xc0000100, |
284 | .map_io = lpd7a400_map_io, | ||
285 | .init_irq = lh7a404_init_irq, | ||
282 | .timer = &lh7a40x_timer, | 286 | .timer = &lh7a40x_timer, |
283 | INIT_MACHINE (lpd7a40x_init) | 287 | .init_machine = lpd7a40x_init, |
284 | MACHINE_END | 288 | MACHINE_END |
285 | 289 | ||
286 | #endif | 290 | #endif |
diff --git a/arch/arm/mach-omap/board-generic.c b/arch/arm/mach-omap/board-generic.c index 2102a2cd1013..384bc7cec1db 100644 --- a/arch/arm/mach-omap/board-generic.c +++ b/arch/arm/mach-omap/board-generic.c | |||
@@ -88,11 +88,13 @@ static void __init omap_generic_map_io(void) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") | 90 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") |
91 | MAINTAINER("Tony Lindgren <tony@atomide.com>") | 91 | /* Maintainer: Tony Lindgren <tony@atomide.com> */ |
92 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 92 | .phys_ram = 0x10000000, |
93 | BOOT_PARAMS(0x10000100) | 93 | .phys_io = 0xfff00000, |
94 | MAPIO(omap_generic_map_io) | 94 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
95 | INITIRQ(omap_generic_init_irq) | 95 | .boot_params = 0x10000100, |
96 | INIT_MACHINE(omap_generic_init) | 96 | .map_io = omap_generic_map_io, |
97 | .init_irq = omap_generic_init_irq, | ||
98 | .init_machine = omap_generic_init, | ||
97 | .timer = &omap_timer, | 99 | .timer = &omap_timer, |
98 | MACHINE_END | 100 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-h2.c b/arch/arm/mach-omap/board-h2.c index 1f067830d1fc..f37c76a9b163 100644 --- a/arch/arm/mach-omap/board-h2.c +++ b/arch/arm/mach-omap/board-h2.c | |||
@@ -177,11 +177,13 @@ static void __init h2_map_io(void) | |||
177 | } | 177 | } |
178 | 178 | ||
179 | MACHINE_START(OMAP_H2, "TI-H2") | 179 | MACHINE_START(OMAP_H2, "TI-H2") |
180 | MAINTAINER("Imre Deak <imre.deak@nokia.com>") | 180 | /* Maintainer: Imre Deak <imre.deak@nokia.com> */ |
181 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 181 | .phys_ram = 0x10000000, |
182 | BOOT_PARAMS(0x10000100) | 182 | .phys_io = 0xfff00000, |
183 | MAPIO(h2_map_io) | 183 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
184 | INITIRQ(h2_init_irq) | 184 | .boot_params = 0x10000100, |
185 | INIT_MACHINE(h2_init) | 185 | .map_io = h2_map_io, |
186 | .init_irq = h2_init_irq, | ||
187 | .init_machine = h2_init, | ||
186 | .timer = &omap_timer, | 188 | .timer = &omap_timer, |
187 | MACHINE_END | 189 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-h3.c b/arch/arm/mach-omap/board-h3.c index 486a5a006c9a..705e48594e9a 100644 --- a/arch/arm/mach-omap/board-h3.c +++ b/arch/arm/mach-omap/board-h3.c | |||
@@ -195,11 +195,13 @@ static void __init h3_map_io(void) | |||
195 | } | 195 | } |
196 | 196 | ||
197 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") | 197 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") |
198 | MAINTAINER("Texas Instruments, Inc.") | 198 | /* Maintainer: Texas Instruments, Inc. */ |
199 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 199 | .phys_ram = 0x10000000, |
200 | BOOT_PARAMS(0x10000100) | 200 | .phys_io = 0xfff00000, |
201 | MAPIO(h3_map_io) | 201 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
202 | INITIRQ(h3_init_irq) | 202 | .boot_params = 0x10000100, |
203 | INIT_MACHINE(h3_init) | 203 | .map_io = h3_map_io, |
204 | .init_irq = h3_init_irq, | ||
205 | .init_machine = h3_init, | ||
204 | .timer = &omap_timer, | 206 | .timer = &omap_timer, |
205 | MACHINE_END | 207 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-innovator.c b/arch/arm/mach-omap/board-innovator.c index 57cf4da88d55..523363f18cc0 100644 --- a/arch/arm/mach-omap/board-innovator.c +++ b/arch/arm/mach-omap/board-innovator.c | |||
@@ -270,11 +270,13 @@ static void __init innovator_map_io(void) | |||
270 | } | 270 | } |
271 | 271 | ||
272 | MACHINE_START(OMAP_INNOVATOR, "TI-Innovator") | 272 | MACHINE_START(OMAP_INNOVATOR, "TI-Innovator") |
273 | MAINTAINER("MontaVista Software, Inc.") | 273 | /* Maintainer: MontaVista Software, Inc. */ |
274 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 274 | .phys_ram = 0x10000000, |
275 | BOOT_PARAMS(0x10000100) | 275 | .phys_io = 0xfff00000, |
276 | MAPIO(innovator_map_io) | 276 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
277 | INITIRQ(innovator_init_irq) | 277 | .boot_params = 0x10000100, |
278 | INIT_MACHINE(innovator_init) | 278 | .map_io = innovator_map_io, |
279 | .init_irq = innovator_init_irq, | ||
280 | .init_machine = innovator_init, | ||
279 | .timer = &omap_timer, | 281 | .timer = &omap_timer, |
280 | MACHINE_END | 282 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-netstar.c b/arch/arm/mach-omap/board-netstar.c index 54acbd215c4b..8c653734d5a3 100644 --- a/arch/arm/mach-omap/board-netstar.c +++ b/arch/arm/mach-omap/board-netstar.c | |||
@@ -141,11 +141,13 @@ static int __init netstar_late_init(void) | |||
141 | postcore_initcall(netstar_late_init); | 141 | postcore_initcall(netstar_late_init); |
142 | 142 | ||
143 | MACHINE_START(NETSTAR, "NetStar OMAP5910") | 143 | MACHINE_START(NETSTAR, "NetStar OMAP5910") |
144 | MAINTAINER("Ladislav Michl <michl@2n.cz>") | 144 | /* Maintainer: Ladislav Michl <michl@2n.cz> */ |
145 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 145 | .phys_ram = 0x10000000, |
146 | BOOT_PARAMS(0x10000100) | 146 | .phys_io = 0xfff00000, |
147 | MAPIO(netstar_map_io) | 147 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
148 | INITIRQ(netstar_init_irq) | 148 | .boot_params = 0x10000100, |
149 | INIT_MACHINE(netstar_init) | 149 | .map_io = netstar_map_io, |
150 | .timer = &omap_timer, | 150 | .init_irq = netstar_init_irq, |
151 | .init_machine = netstar_init, | ||
152 | .timer = &omap_timer, | ||
151 | MACHINE_END | 153 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-osk.c b/arch/arm/mach-omap/board-osk.c index a951fc82459b..cb433436aa08 100644 --- a/arch/arm/mach-omap/board-osk.c +++ b/arch/arm/mach-omap/board-osk.c | |||
@@ -159,11 +159,13 @@ static void __init osk_map_io(void) | |||
159 | } | 159 | } |
160 | 160 | ||
161 | MACHINE_START(OMAP_OSK, "TI-OSK") | 161 | MACHINE_START(OMAP_OSK, "TI-OSK") |
162 | MAINTAINER("Dirk Behme <dirk.behme@de.bosch.com>") | 162 | /* Maintainer: Dirk Behme <dirk.behme@de.bosch.com> */ |
163 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 163 | .phys_ram = 0x10000000, |
164 | BOOT_PARAMS(0x10000100) | 164 | .phys_io = 0xfff00000, |
165 | MAPIO(osk_map_io) | 165 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
166 | INITIRQ(osk_init_irq) | 166 | .boot_params = 0x10000100, |
167 | INIT_MACHINE(osk_init) | 167 | .map_io = osk_map_io, |
168 | .init_irq = osk_init_irq, | ||
169 | .init_machine = osk_init, | ||
168 | .timer = &omap_timer, | 170 | .timer = &omap_timer, |
169 | MACHINE_END | 171 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-perseus2.c b/arch/arm/mach-omap/board-perseus2.c index 64515aeb49cf..d5342043d48f 100644 --- a/arch/arm/mach-omap/board-perseus2.c +++ b/arch/arm/mach-omap/board-perseus2.c | |||
@@ -179,11 +179,13 @@ static void __init omap_perseus2_map_io(void) | |||
179 | } | 179 | } |
180 | 180 | ||
181 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") | 181 | MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2") |
182 | MAINTAINER("Kevin Hilman <kjh@hilman.org>") | 182 | /* Maintainer: Kevin Hilman <kjh@hilman.org> */ |
183 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 183 | .phys_ram = 0x10000000, |
184 | BOOT_PARAMS(0x10000100) | 184 | .phys_io = 0xfff00000, |
185 | MAPIO(omap_perseus2_map_io) | 185 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
186 | INITIRQ(omap_perseus2_init_irq) | 186 | .boot_params = 0x10000100, |
187 | INIT_MACHINE(omap_perseus2_init) | 187 | .map_io = omap_perseus2_map_io, |
188 | .init_irq = omap_perseus2_init_irq, | ||
189 | .init_machine = omap_perseus2_init, | ||
188 | .timer = &omap_timer, | 190 | .timer = &omap_timer, |
189 | MACHINE_END | 191 | MACHINE_END |
diff --git a/arch/arm/mach-omap/board-voiceblue.c b/arch/arm/mach-omap/board-voiceblue.c index f1a5bffac666..6b0c5003d719 100644 --- a/arch/arm/mach-omap/board-voiceblue.c +++ b/arch/arm/mach-omap/board-voiceblue.c | |||
@@ -246,11 +246,13 @@ EXPORT_SYMBOL(voiceblue_wdt_disable); | |||
246 | EXPORT_SYMBOL(voiceblue_wdt_ping); | 246 | EXPORT_SYMBOL(voiceblue_wdt_ping); |
247 | 247 | ||
248 | MACHINE_START(VOICEBLUE, "VoiceBlue OMAP5910") | 248 | MACHINE_START(VOICEBLUE, "VoiceBlue OMAP5910") |
249 | MAINTAINER("Ladislav Michl <michl@2n.cz>") | 249 | /* Maintainer: Ladislav Michl <michl@2n.cz> */ |
250 | BOOT_MEM(0x10000000, 0xfff00000, 0xfef00000) | 250 | .phys_ram = 0x10000000, |
251 | BOOT_PARAMS(0x10000100) | 251 | .phys_io = 0xfff00000, |
252 | MAPIO(voiceblue_map_io) | 252 | .io_pg_offst = ((0xfef00000) >> 18) & 0xfffc, |
253 | INITIRQ(voiceblue_init_irq) | 253 | .boot_params = 0x10000100, |
254 | INIT_MACHINE(voiceblue_init) | 254 | .map_io = voiceblue_map_io, |
255 | .timer = &omap_timer, | 255 | .init_irq = voiceblue_init_irq, |
256 | .init_machine = voiceblue_init, | ||
257 | .timer = &omap_timer, | ||
256 | MACHINE_END | 258 | MACHINE_END |
diff --git a/arch/arm/mach-omap/usb.c b/arch/arm/mach-omap/usb.c index 7f37857b1a28..fd483ff9f8fe 100644 --- a/arch/arm/mach-omap/usb.c +++ b/arch/arm/mach-omap/usb.c | |||
@@ -41,7 +41,6 @@ | |||
41 | 41 | ||
42 | /* These routines should handle the standard chip-specific modes | 42 | /* These routines should handle the standard chip-specific modes |
43 | * for usb0/1/2 ports, covering basic mux and transceiver setup. | 43 | * for usb0/1/2 ports, covering basic mux and transceiver setup. |
44 | * Call omap_usb_init() once, from INIT_MACHINE(). | ||
45 | * | 44 | * |
46 | * Some board-*.c files will need to set up additional mux options, | 45 | * Some board-*.c files will need to set up additional mux options, |
47 | * like for suspend handling, vbus sensing, GPIOs, and the D+ pullup. | 46 | * like for suspend handling, vbus sensing, GPIOs, and the D+ pullup. |
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index c4e6d2523585..efc2f657184e 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile | |||
@@ -24,3 +24,7 @@ obj-$(CONFIG_LEDS) += $(led-y) | |||
24 | 24 | ||
25 | # Misc features | 25 | # Misc features |
26 | obj-$(CONFIG_PM) += pm.o sleep.o | 26 | obj-$(CONFIG_PM) += pm.o sleep.o |
27 | |||
28 | ifeq ($(CONFIG_PXA27x),y) | ||
29 | obj-$(CONFIG_PM) += standby.o | ||
30 | endif | ||
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index f691cf77d390..86b862f56e7e 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c | |||
@@ -287,34 +287,40 @@ static void __init corgi_map_io(void) | |||
287 | 287 | ||
288 | #ifdef CONFIG_MACH_CORGI | 288 | #ifdef CONFIG_MACH_CORGI |
289 | MACHINE_START(CORGI, "SHARP Corgi") | 289 | MACHINE_START(CORGI, "SHARP Corgi") |
290 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 290 | .phys_ram = 0xa0000000, |
291 | FIXUP(fixup_corgi) | 291 | .phys_io = 0x40000000, |
292 | MAPIO(corgi_map_io) | 292 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
293 | INITIRQ(corgi_init_irq) | 293 | .fixup = fixup_corgi, |
294 | .init_machine = corgi_init, | 294 | .map_io = corgi_map_io, |
295 | .timer = &pxa_timer, | 295 | .init_irq = corgi_init_irq, |
296 | .init_machine = corgi_init, | ||
297 | .timer = &pxa_timer, | ||
296 | MACHINE_END | 298 | MACHINE_END |
297 | #endif | 299 | #endif |
298 | 300 | ||
299 | #ifdef CONFIG_MACH_SHEPHERD | 301 | #ifdef CONFIG_MACH_SHEPHERD |
300 | MACHINE_START(SHEPHERD, "SHARP Shepherd") | 302 | MACHINE_START(SHEPHERD, "SHARP Shepherd") |
301 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 303 | .phys_ram = 0xa0000000, |
302 | FIXUP(fixup_corgi) | 304 | .phys_io = 0x40000000, |
303 | MAPIO(corgi_map_io) | 305 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
304 | INITIRQ(corgi_init_irq) | 306 | .fixup = fixup_corgi, |
305 | .init_machine = corgi_init, | 307 | .map_io = corgi_map_io, |
306 | .timer = &pxa_timer, | 308 | .init_irq = corgi_init_irq, |
309 | .init_machine = corgi_init, | ||
310 | .timer = &pxa_timer, | ||
307 | MACHINE_END | 311 | MACHINE_END |
308 | #endif | 312 | #endif |
309 | 313 | ||
310 | #ifdef CONFIG_MACH_HUSKY | 314 | #ifdef CONFIG_MACH_HUSKY |
311 | MACHINE_START(HUSKY, "SHARP Husky") | 315 | MACHINE_START(HUSKY, "SHARP Husky") |
312 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 316 | .phys_ram = 0xa0000000, |
313 | FIXUP(fixup_corgi) | 317 | .phys_io = 0x40000000, |
314 | MAPIO(corgi_map_io) | 318 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
315 | INITIRQ(corgi_init_irq) | 319 | .fixup = fixup_corgi, |
316 | .init_machine = corgi_init, | 320 | .map_io = corgi_map_io, |
317 | .timer = &pxa_timer, | 321 | .init_irq = corgi_init_irq, |
322 | .init_machine = corgi_init, | ||
323 | .timer = &pxa_timer, | ||
318 | MACHINE_END | 324 | MACHINE_END |
319 | #endif | 325 | #endif |
320 | 326 | ||
diff --git a/arch/arm/mach-pxa/idp.c b/arch/arm/mach-pxa/idp.c index c5a66bf4d3d5..386e107b53cc 100644 --- a/arch/arm/mach-pxa/idp.c +++ b/arch/arm/mach-pxa/idp.c | |||
@@ -181,10 +181,12 @@ static void __init idp_map_io(void) | |||
181 | 181 | ||
182 | 182 | ||
183 | MACHINE_START(PXA_IDP, "Vibren PXA255 IDP") | 183 | MACHINE_START(PXA_IDP, "Vibren PXA255 IDP") |
184 | MAINTAINER("Vibren Technologies") | 184 | /* Maintainer: Vibren Technologies */ |
185 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 185 | .phys_ram = 0xa0000000, |
186 | MAPIO(idp_map_io) | 186 | .phys_io = 0x40000000, |
187 | INITIRQ(idp_init_irq) | 187 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
188 | .map_io = idp_map_io, | ||
189 | .init_irq = idp_init_irq, | ||
188 | .timer = &pxa_timer, | 190 | .timer = &pxa_timer, |
189 | INIT_MACHINE(idp_init) | 191 | .init_machine = idp_init, |
190 | MACHINE_END | 192 | MACHINE_END |
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index f2c9e0d2b24b..6309853b59be 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -268,10 +268,12 @@ static void __init lubbock_map_io(void) | |||
268 | } | 268 | } |
269 | 269 | ||
270 | MACHINE_START(LUBBOCK, "Intel DBPXA250 Development Platform (aka Lubbock)") | 270 | MACHINE_START(LUBBOCK, "Intel DBPXA250 Development Platform (aka Lubbock)") |
271 | MAINTAINER("MontaVista Software Inc.") | 271 | /* Maintainer: MontaVista Software Inc. */ |
272 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 272 | .phys_ram = 0xa0000000, |
273 | MAPIO(lubbock_map_io) | 273 | .phys_io = 0x40000000, |
274 | INITIRQ(lubbock_init_irq) | 274 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
275 | .map_io = lubbock_map_io, | ||
276 | .init_irq = lubbock_init_irq, | ||
275 | .timer = &pxa_timer, | 277 | .timer = &pxa_timer, |
276 | INIT_MACHINE(lubbock_init) | 278 | .init_machine = lubbock_init, |
277 | MACHINE_END | 279 | MACHINE_END |
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index 9896afca751f..827b7b5a5be8 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -345,10 +345,12 @@ static void __init mainstone_map_io(void) | |||
345 | } | 345 | } |
346 | 346 | ||
347 | MACHINE_START(MAINSTONE, "Intel HCDDBBVA0 Development Platform (aka Mainstone)") | 347 | MACHINE_START(MAINSTONE, "Intel HCDDBBVA0 Development Platform (aka Mainstone)") |
348 | MAINTAINER("MontaVista Software Inc.") | 348 | /* Maintainer: MontaVista Software Inc. */ |
349 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 349 | .phys_ram = 0xa0000000, |
350 | MAPIO(mainstone_map_io) | 350 | .phys_io = 0x40000000, |
351 | INITIRQ(mainstone_init_irq) | 351 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
352 | .map_io = mainstone_map_io, | ||
353 | .init_irq = mainstone_init_irq, | ||
352 | .timer = &pxa_timer, | 354 | .timer = &pxa_timer, |
353 | INIT_MACHINE(mainstone_init) | 355 | .init_machine = mainstone_init, |
354 | MACHINE_END | 356 | MACHINE_END |
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index b6c746ea3830..0e4f6fab100a 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c | |||
@@ -180,10 +180,12 @@ static void __init poodle_map_io(void) | |||
180 | } | 180 | } |
181 | 181 | ||
182 | MACHINE_START(POODLE, "SHARP Poodle") | 182 | MACHINE_START(POODLE, "SHARP Poodle") |
183 | BOOT_MEM(0xa0000000, 0x40000000, io_p2v(0x40000000)) | 183 | .phys_ram = 0xa0000000, |
184 | FIXUP(fixup_poodle) | 184 | .phys_io = 0x40000000, |
185 | MAPIO(poodle_map_io) | 185 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
186 | INITIRQ(pxa_init_irq) | 186 | .fixup = fixup_poodle, |
187 | .timer = &pxa_timer, | 187 | .map_io = poodle_map_io, |
188 | .init_machine = poodle_init, | 188 | .init_irq = pxa_init_irq, |
189 | .timer = &pxa_timer, | ||
190 | .init_machine = poodle_init, | ||
189 | MACHINE_END | 191 | MACHINE_END |
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 893964fb9659..9a791b07118d 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -126,6 +126,7 @@ int pxa_cpu_pm_prepare(suspend_state_t state) | |||
126 | { | 126 | { |
127 | switch (state) { | 127 | switch (state) { |
128 | case PM_SUSPEND_MEM: | 128 | case PM_SUSPEND_MEM: |
129 | case PM_SUSPEND_STANDBY: | ||
129 | return 0; | 130 | return 0; |
130 | default: | 131 | default: |
131 | return -EINVAL; | 132 | return -EINVAL; |
@@ -138,7 +139,10 @@ void pxa_cpu_pm_enter(suspend_state_t state) | |||
138 | extern void pxa_cpu_suspend(unsigned int); | 139 | extern void pxa_cpu_suspend(unsigned int); |
139 | extern void pxa_cpu_resume(void); | 140 | extern void pxa_cpu_resume(void); |
140 | 141 | ||
141 | CKEN = CKEN22_MEMC | CKEN9_OSTIMER; | 142 | if (state == PM_SUSPEND_STANDBY) |
143 | CKEN = CKEN22_MEMC | CKEN9_OSTIMER | CKEN16_LCD |CKEN0_PWM0; | ||
144 | else | ||
145 | CKEN = CKEN22_MEMC | CKEN9_OSTIMER; | ||
142 | 146 | ||
143 | /* ensure voltage-change sequencer not initiated, which hangs */ | 147 | /* ensure voltage-change sequencer not initiated, which hangs */ |
144 | PCFR &= ~PCFR_FVC; | 148 | PCFR &= ~PCFR_FVC; |
@@ -147,6 +151,9 @@ void pxa_cpu_pm_enter(suspend_state_t state) | |||
147 | PEDR = 0xDF12FE1B; | 151 | PEDR = 0xDF12FE1B; |
148 | 152 | ||
149 | switch (state) { | 153 | switch (state) { |
154 | case PM_SUSPEND_STANDBY: | ||
155 | pxa_cpu_standby(); | ||
156 | break; | ||
150 | case PM_SUSPEND_MEM: | 157 | case PM_SUSPEND_MEM: |
151 | /* set resume return address */ | 158 | /* set resume return address */ |
152 | PSPR = virt_to_phys(pxa_cpu_resume); | 159 | PSPR = virt_to_phys(pxa_cpu_resume); |
diff --git a/arch/arm/mach-pxa/standby.S b/arch/arm/mach-pxa/standby.S new file mode 100644 index 000000000000..8a3f27b76784 --- /dev/null +++ b/arch/arm/mach-pxa/standby.S | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * PXA27x standby mode | ||
3 | * | ||
4 | * Author: David Burrage | ||
5 | * | ||
6 | * 2005 (c) MontaVista Software, Inc. This file is licensed under | ||
7 | * the terms of the GNU General Public License version 2. This program | ||
8 | * is licensed "as is" without any warranty of any kind, whether express | ||
9 | * or implied. | ||
10 | */ | ||
11 | |||
12 | #include <linux/config.h> | ||
13 | #include <linux/linkage.h> | ||
14 | #include <asm/assembler.h> | ||
15 | #include <asm/hardware.h> | ||
16 | |||
17 | #include <asm/arch/pxa-regs.h> | ||
18 | |||
19 | .text | ||
20 | |||
21 | ENTRY(pxa_cpu_standby) | ||
22 | ldr r0, =PSSR | ||
23 | mov r1, #(PSSR_PH | PSSR_STS) | ||
24 | mov r2, #2 | ||
25 | mov r3, #UNCACHED_PHYS_0 @ Read mem context in. | ||
26 | ldr ip, [r3] | ||
27 | b 1f | ||
28 | |||
29 | .align 5 | ||
30 | 1: mcr p14, 0, r2, c7, c0, 0 @ put the system into Standby | ||
31 | str r1, [r0] @ make sure PSSR_PH/STS are clear | ||
32 | mov pc, lr | ||
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c index 437106881436..a10268618f74 100644 --- a/arch/arm/mach-rpc/riscpc.c +++ b/arch/arm/mach-rpc/riscpc.c | |||
@@ -163,12 +163,14 @@ arch_initcall(rpc_init); | |||
163 | extern struct sys_timer ioc_timer; | 163 | extern struct sys_timer ioc_timer; |
164 | 164 | ||
165 | MACHINE_START(RISCPC, "Acorn-RiscPC") | 165 | MACHINE_START(RISCPC, "Acorn-RiscPC") |
166 | MAINTAINER("Russell King") | 166 | /* Maintainer: Russell King */ |
167 | BOOT_MEM(0x10000000, 0x03000000, 0xe0000000) | 167 | .phys_ram = 0x10000000, |
168 | BOOT_PARAMS(0x10000100) | 168 | .phys_io = 0x03000000, |
169 | DISABLE_PARPORT(0) | 169 | .io_pg_offst = ((0xe0000000) >> 18) & 0xfffc, |
170 | DISABLE_PARPORT(1) | 170 | .boot_params = 0x10000100, |
171 | MAPIO(rpc_map_io) | 171 | .reserve_lp0 = 1, |
172 | INITIRQ(rpc_init_irq) | 172 | .reserve_lp1 = 1, |
173 | .map_io = rpc_map_io, | ||
174 | .init_irq = rpc_init_irq, | ||
173 | .timer = &ioc_timer, | 175 | .timer = &ioc_timer, |
174 | MACHINE_END | 176 | MACHINE_END |
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 549bcb1f32c0..ccb6bcefa46c 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -407,10 +407,11 @@ void __init bast_map_io(void) | |||
407 | 407 | ||
408 | 408 | ||
409 | MACHINE_START(BAST, "Simtec-BAST") | 409 | MACHINE_START(BAST, "Simtec-BAST") |
410 | MAINTAINER("Ben Dooks <ben@simtec.co.uk>") | 410 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
411 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 411 | .phys_ram = S3C2410_SDRAM_PA, |
412 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 412 | .phys_io = S3C2410_PA_UART, |
413 | 413 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | |
414 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
414 | .map_io = bast_map_io, | 415 | .map_io = bast_map_io, |
415 | .init_irq = s3c24xx_init_irq, | 416 | .init_irq = s3c24xx_init_irq, |
416 | .timer = &s3c24xx_timer, | 417 | .timer = &s3c24xx_timer, |
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 2924afc068a4..ea4fb1a97a50 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -117,10 +117,12 @@ void __init h1940_init_irq(void) | |||
117 | } | 117 | } |
118 | 118 | ||
119 | MACHINE_START(H1940, "IPAQ-H1940") | 119 | MACHINE_START(H1940, "IPAQ-H1940") |
120 | MAINTAINER("Ben Dooks <ben@fluff.org>") | 120 | /* Maintainer: Ben Dooks <ben@fluff.org> */ |
121 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 121 | .phys_ram = S3C2410_SDRAM_PA, |
122 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 122 | .phys_io = S3C2410_PA_UART, |
123 | MAPIO(h1940_map_io) | 123 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |
124 | INITIRQ(h1940_init_irq) | 124 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
125 | .map_io = h1940_map_io, | ||
126 | .init_irq = h1940_init_irq, | ||
125 | .timer = &s3c24xx_timer, | 127 | .timer = &s3c24xx_timer, |
126 | MACHINE_END | 128 | MACHINE_END |
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index bd15998c129b..79044d9bce38 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c | |||
@@ -137,10 +137,11 @@ void __init n30_init(void) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | MACHINE_START(N30, "Acer-N30") | 139 | MACHINE_START(N30, "Acer-N30") |
140 | MAINTAINER("Christer Weinigel <christer@weinigel.se>, Ben Dooks <ben-linux@fluff.org>") | 140 | /* Maintainer: Christer Weinigel <christer@weinigel.se>, Ben Dooks <ben-linux@fluff.org> */ |
141 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 141 | .phys_ram = S3C2410_SDRAM_PA, |
142 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 142 | .phys_io = S3C2410_PA_UART, |
143 | 143 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | |
144 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
144 | .timer = &s3c24xx_timer, | 145 | .timer = &s3c24xx_timer, |
145 | .init_machine = n30_init, | 146 | .init_machine = n30_init, |
146 | .init_irq = n30_init_irq, | 147 | .init_irq = n30_init_irq, |
diff --git a/arch/arm/mach-s3c2410/mach-nexcoder.c b/arch/arm/mach-s3c2410/mach-nexcoder.c index 70487bf4b71e..d24c242414ca 100644 --- a/arch/arm/mach-s3c2410/mach-nexcoder.c +++ b/arch/arm/mach-s3c2410/mach-nexcoder.c | |||
@@ -147,9 +147,11 @@ void __init nexcoder_map_io(void) | |||
147 | 147 | ||
148 | 148 | ||
149 | MACHINE_START(NEXCODER_2440, "NexVision - Nexcoder 2440") | 149 | MACHINE_START(NEXCODER_2440, "NexVision - Nexcoder 2440") |
150 | MAINTAINER("Guillaume GOURAT <guillaume.gourat@nexvision.tv>") | 150 | /* Maintainer: Guillaume GOURAT <guillaume.gourat@nexvision.tv> */ |
151 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 151 | .phys_ram = S3C2410_SDRAM_PA, |
152 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 152 | .phys_io = S3C2410_PA_UART, |
153 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
154 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
153 | .map_io = nexcoder_map_io, | 155 | .map_io = nexcoder_map_io, |
154 | .init_irq = s3c24xx_init_irq, | 156 | .init_irq = s3c24xx_init_irq, |
155 | .timer = &s3c24xx_timer, | 157 | .timer = &s3c24xx_timer, |
diff --git a/arch/arm/mach-s3c2410/mach-otom.c b/arch/arm/mach-s3c2410/mach-otom.c index 67d8ce8fb00f..d901ed492ff5 100644 --- a/arch/arm/mach-s3c2410/mach-otom.c +++ b/arch/arm/mach-s3c2410/mach-otom.c | |||
@@ -115,9 +115,11 @@ void __init otom11_map_io(void) | |||
115 | 115 | ||
116 | 116 | ||
117 | MACHINE_START(OTOM, "Nex Vision - Otom 1.1") | 117 | MACHINE_START(OTOM, "Nex Vision - Otom 1.1") |
118 | MAINTAINER("Guillaume GOURAT <guillaume.gourat@nexvision.tv>") | 118 | /* Maintainer: Guillaume GOURAT <guillaume.gourat@nexvision.tv> */ |
119 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 119 | .phys_ram = S3C2410_SDRAM_PA, |
120 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 120 | .phys_io = S3C2410_PA_UART, |
121 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
122 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
121 | .map_io = otom11_map_io, | 123 | .map_io = otom11_map_io, |
122 | .init_irq = s3c24xx_init_irq, | 124 | .init_irq = s3c24xx_init_irq, |
123 | .timer = &s3c24xx_timer, | 125 | .timer = &s3c24xx_timer, |
diff --git a/arch/arm/mach-s3c2410/mach-rx3715.c b/arch/arm/mach-s3c2410/mach-rx3715.c index f8d3a9784e71..a73d61c1de46 100644 --- a/arch/arm/mach-s3c2410/mach-rx3715.c +++ b/arch/arm/mach-s3c2410/mach-rx3715.c | |||
@@ -131,11 +131,13 @@ static void __init rx3715_init_machine(void) | |||
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | MACHINE_START(RX3715, "IPAQ-RX3715") | 133 | MACHINE_START(RX3715, "IPAQ-RX3715") |
134 | MAINTAINER("Ben Dooks <ben@fluff.org>") | 134 | /* Maintainer: Ben Dooks <ben@fluff.org> */ |
135 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 135 | .phys_ram = S3C2410_SDRAM_PA, |
136 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 136 | .phys_io = S3C2410_PA_UART, |
137 | MAPIO(rx3715_map_io) | 137 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |
138 | INITIRQ(rx3715_init_irq) | 138 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
139 | INIT_MACHINE(rx3715_init_machine) | 139 | .map_io = rx3715_map_io, |
140 | .init_irq = rx3715_init_irq, | ||
141 | .init_machine = rx3715_init_machine, | ||
140 | .timer = &s3c24xx_timer, | 142 | .timer = &s3c24xx_timer, |
141 | MACHINE_END | 143 | MACHINE_END |
diff --git a/arch/arm/mach-s3c2410/mach-smdk2410.c b/arch/arm/mach-s3c2410/mach-smdk2410.c index c1a4a1420ea0..67e903a700d3 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2410.c +++ b/arch/arm/mach-s3c2410/mach-smdk2410.c | |||
@@ -112,11 +112,13 @@ void __init smdk2410_init_irq(void) | |||
112 | 112 | ||
113 | MACHINE_START(SMDK2410, "SMDK2410") /* @TODO: request a new identifier and switch | 113 | MACHINE_START(SMDK2410, "SMDK2410") /* @TODO: request a new identifier and switch |
114 | * to SMDK2410 */ | 114 | * to SMDK2410 */ |
115 | MAINTAINER("Jonas Dietsche") | 115 | /* Maintainer: Jonas Dietsche */ |
116 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 116 | .phys_ram = S3C2410_SDRAM_PA, |
117 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 117 | .phys_io = S3C2410_PA_UART, |
118 | MAPIO(smdk2410_map_io) | 118 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |
119 | INITIRQ(smdk2410_init_irq) | 119 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
120 | .map_io = smdk2410_map_io, | ||
121 | .init_irq = smdk2410_init_irq, | ||
120 | .timer = &s3c24xx_timer, | 122 | .timer = &s3c24xx_timer, |
121 | MACHINE_END | 123 | MACHINE_END |
122 | 124 | ||
diff --git a/arch/arm/mach-s3c2410/mach-smdk2440.c b/arch/arm/mach-s3c2410/mach-smdk2440.c index 7857176d9bcb..357522106f68 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2440.c +++ b/arch/arm/mach-s3c2410/mach-smdk2440.c | |||
@@ -124,9 +124,11 @@ void __init smdk2440_machine_init(void) | |||
124 | } | 124 | } |
125 | 125 | ||
126 | MACHINE_START(S3C2440, "SMDK2440") | 126 | MACHINE_START(S3C2440, "SMDK2440") |
127 | MAINTAINER("Ben Dooks <ben@fluff.org>") | 127 | /* Maintainer: Ben Dooks <ben@fluff.org> */ |
128 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 128 | .phys_ram = S3C2410_SDRAM_PA, |
129 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 129 | .phys_io = S3C2410_PA_UART, |
130 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
131 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
130 | 132 | ||
131 | .init_irq = s3c24xx_init_irq, | 133 | .init_irq = s3c24xx_init_irq, |
132 | .map_io = smdk2440_map_io, | 134 | .map_io = smdk2440_map_io, |
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index 1db2855e3e56..924e8464c212 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c | |||
@@ -373,9 +373,11 @@ void __init vr1000_map_io(void) | |||
373 | 373 | ||
374 | 374 | ||
375 | MACHINE_START(VR1000, "Thorcom-VR1000") | 375 | MACHINE_START(VR1000, "Thorcom-VR1000") |
376 | MAINTAINER("Ben Dooks <ben@simtec.co.uk>") | 376 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
377 | BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) | 377 | .phys_ram = S3C2410_SDRAM_PA, |
378 | BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) | 378 | .phys_io = S3C2410_PA_UART, |
379 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | ||
380 | .boot_params = S3C2410_SDRAM_PA + 0x100, | ||
379 | .map_io = vr1000_map_io, | 381 | .map_io = vr1000_map_io, |
380 | .init_irq = s3c24xx_init_irq, | 382 | .init_irq = s3c24xx_init_irq, |
381 | .timer = &s3c24xx_timer, | 383 | .timer = &s3c24xx_timer, |
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index bedf88fafe08..4d4d303ee3a8 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -431,11 +431,13 @@ static void __init assabet_map_io(void) | |||
431 | 431 | ||
432 | 432 | ||
433 | MACHINE_START(ASSABET, "Intel-Assabet") | 433 | MACHINE_START(ASSABET, "Intel-Assabet") |
434 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 434 | .phys_ram = 0xc0000000, |
435 | BOOT_PARAMS(0xc0000100) | 435 | .phys_io = 0x80000000, |
436 | FIXUP(fixup_assabet) | 436 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
437 | MAPIO(assabet_map_io) | 437 | .boot_params = 0xc0000100, |
438 | INITIRQ(sa1100_init_irq) | 438 | .fixup = fixup_assabet, |
439 | .map_io = assabet_map_io, | ||
440 | .init_irq = sa1100_init_irq, | ||
439 | .timer = &sa1100_timer, | 441 | .timer = &sa1100_timer, |
440 | .init_machine = assabet_init, | 442 | .init_machine = assabet_init, |
441 | MACHINE_END | 443 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c index 6a60b497ab42..b6169cb09196 100644 --- a/arch/arm/mach-sa1100/badge4.c +++ b/arch/arm/mach-sa1100/badge4.c | |||
@@ -285,9 +285,11 @@ static void __init badge4_map_io(void) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | MACHINE_START(BADGE4, "Hewlett-Packard Laboratories BadgePAD 4") | 287 | MACHINE_START(BADGE4, "Hewlett-Packard Laboratories BadgePAD 4") |
288 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 288 | .phys_ram = 0xc0000000, |
289 | BOOT_PARAMS(0xc0000100) | 289 | .phys_io = 0x80000000, |
290 | MAPIO(badge4_map_io) | 290 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
291 | INITIRQ(sa1100_init_irq) | 291 | .boot_params = 0xc0000100, |
292 | .map_io = badge4_map_io, | ||
293 | .init_irq = sa1100_init_irq, | ||
292 | .timer = &sa1100_timer, | 294 | .timer = &sa1100_timer, |
293 | MACHINE_END | 295 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/cerf.c b/arch/arm/mach-sa1100/cerf.c index f8edde5e7cbf..0aa918e24c31 100644 --- a/arch/arm/mach-sa1100/cerf.c +++ b/arch/arm/mach-sa1100/cerf.c | |||
@@ -123,10 +123,12 @@ static void __init cerf_init(void) | |||
123 | } | 123 | } |
124 | 124 | ||
125 | MACHINE_START(CERF, "Intrinsyc CerfBoard/CerfCube") | 125 | MACHINE_START(CERF, "Intrinsyc CerfBoard/CerfCube") |
126 | MAINTAINER("support@intrinsyc.com") | 126 | /* Maintainer: support@intrinsyc.com */ |
127 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 127 | .phys_ram = 0xc0000000, |
128 | MAPIO(cerf_map_io) | 128 | .phys_io = 0x80000000, |
129 | INITIRQ(cerf_init_irq) | 129 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
130 | .map_io = cerf_map_io, | ||
131 | .init_irq = cerf_init_irq, | ||
130 | .timer = &sa1100_timer, | 132 | .timer = &sa1100_timer, |
131 | .init_machine = cerf_init, | 133 | .init_machine = cerf_init, |
132 | MACHINE_END | 134 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 99287890d396..8cb69113a57c 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c | |||
@@ -184,9 +184,11 @@ static void __init collie_map_io(void) | |||
184 | } | 184 | } |
185 | 185 | ||
186 | MACHINE_START(COLLIE, "Sharp-Collie") | 186 | MACHINE_START(COLLIE, "Sharp-Collie") |
187 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 187 | .phys_ram = 0xc0000000, |
188 | MAPIO(collie_map_io) | 188 | .phys_io = 0x80000000, |
189 | INITIRQ(sa1100_init_irq) | 189 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
190 | .map_io = collie_map_io, | ||
191 | .init_irq = sa1100_init_irq, | ||
190 | .timer = &sa1100_timer, | 192 | .timer = &sa1100_timer, |
191 | .init_machine = collie_init, | 193 | .init_machine = collie_init, |
192 | MACHINE_END | 194 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/cpu-sa1110.c b/arch/arm/mach-sa1100/cpu-sa1110.c index 8d2a89a2ea01..04c94ab6c18b 100644 --- a/arch/arm/mach-sa1100/cpu-sa1110.c +++ b/arch/arm/mach-sa1100/cpu-sa1110.c | |||
@@ -271,8 +271,7 @@ static int sa1110_target(struct cpufreq_policy *policy, | |||
271 | */ | 271 | */ |
272 | sdram_set_refresh(2); | 272 | sdram_set_refresh(2); |
273 | if (!irqs_disabled()) { | 273 | if (!irqs_disabled()) { |
274 | set_current_state(TASK_UNINTERRUPTIBLE); | 274 | msleep(20); |
275 | schedule_timeout(20 * HZ / 1000); | ||
276 | } else { | 275 | } else { |
277 | mdelay(20); | 276 | mdelay(20); |
278 | } | 277 | } |
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index 65dbe991426d..e7aa2681ca64 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c | |||
@@ -380,10 +380,12 @@ static void __init h3100_map_io(void) | |||
380 | } | 380 | } |
381 | 381 | ||
382 | MACHINE_START(H3100, "Compaq iPAQ H3100") | 382 | MACHINE_START(H3100, "Compaq iPAQ H3100") |
383 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 383 | .phys_ram = 0xc0000000, |
384 | BOOT_PARAMS(0xc0000100) | 384 | .phys_io = 0x80000000, |
385 | MAPIO(h3100_map_io) | 385 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
386 | INITIRQ(sa1100_init_irq) | 386 | .boot_params = 0xc0000100, |
387 | .map_io = h3100_map_io, | ||
388 | .init_irq = sa1100_init_irq, | ||
387 | .timer = &sa1100_timer, | 389 | .timer = &sa1100_timer, |
388 | .init_machine = h3xxx_mach_init, | 390 | .init_machine = h3xxx_mach_init, |
389 | MACHINE_END | 391 | MACHINE_END |
@@ -496,10 +498,12 @@ static void __init h3600_map_io(void) | |||
496 | } | 498 | } |
497 | 499 | ||
498 | MACHINE_START(H3600, "Compaq iPAQ H3600") | 500 | MACHINE_START(H3600, "Compaq iPAQ H3600") |
499 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 501 | .phys_ram = 0xc0000000, |
500 | BOOT_PARAMS(0xc0000100) | 502 | .phys_io = 0x80000000, |
501 | MAPIO(h3600_map_io) | 503 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
502 | INITIRQ(sa1100_init_irq) | 504 | .boot_params = 0xc0000100, |
505 | .map_io = h3600_map_io, | ||
506 | .init_irq = sa1100_init_irq, | ||
503 | .timer = &sa1100_timer, | 507 | .timer = &sa1100_timer, |
504 | .init_machine = h3xxx_mach_init, | 508 | .init_machine = h3xxx_mach_init, |
505 | MACHINE_END | 509 | MACHINE_END |
@@ -881,10 +885,12 @@ static void __init h3800_map_io(void) | |||
881 | } | 885 | } |
882 | 886 | ||
883 | MACHINE_START(H3800, "Compaq iPAQ H3800") | 887 | MACHINE_START(H3800, "Compaq iPAQ H3800") |
884 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 888 | .phys_ram = 0xc0000000, |
885 | BOOT_PARAMS(0xc0000100) | 889 | .phys_io = 0x80000000, |
886 | MAPIO(h3800_map_io) | 890 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
887 | INITIRQ(h3800_init_irq) | 891 | .boot_params = 0xc0000100, |
892 | .map_io = h3800_map_io, | ||
893 | .init_irq = h3800_init_irq, | ||
888 | .timer = &sa1100_timer, | 894 | .timer = &sa1100_timer, |
889 | .init_machine = h3xxx_mach_init, | 895 | .init_machine = h3xxx_mach_init, |
890 | MACHINE_END | 896 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index 570841779714..502d65cfe654 100644 --- a/arch/arm/mach-sa1100/hackkit.c +++ b/arch/arm/mach-sa1100/hackkit.c | |||
@@ -191,10 +191,12 @@ static void __init hackkit_init(void) | |||
191 | */ | 191 | */ |
192 | 192 | ||
193 | MACHINE_START(HACKKIT, "HackKit Cpu Board") | 193 | MACHINE_START(HACKKIT, "HackKit Cpu Board") |
194 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 194 | .phys_ram = 0xc0000000, |
195 | BOOT_PARAMS(0xc0000100) | 195 | .phys_io = 0x80000000, |
196 | MAPIO(hackkit_map_io) | 196 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
197 | INITIRQ(sa1100_init_irq) | 197 | .boot_params = 0xc0000100, |
198 | .map_io = hackkit_map_io, | ||
199 | .init_irq = sa1100_init_irq, | ||
198 | .timer = &sa1100_timer, | 200 | .timer = &sa1100_timer, |
199 | .init_machine = hackkit_init, | 201 | .init_machine = hackkit_init, |
200 | MACHINE_END | 202 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index 6be78291a878..eee3cbc5ec4f 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -97,9 +97,11 @@ static void __init jornada720_map_io(void) | |||
97 | } | 97 | } |
98 | 98 | ||
99 | MACHINE_START(JORNADA720, "HP Jornada 720") | 99 | MACHINE_START(JORNADA720, "HP Jornada 720") |
100 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 100 | .phys_ram = 0xc0000000, |
101 | BOOT_PARAMS(0xc0000100) | 101 | .phys_io = 0x80000000, |
102 | MAPIO(jornada720_map_io) | 102 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
103 | INITIRQ(sa1100_init_irq) | 103 | .boot_params = 0xc0000100, |
104 | .map_io = jornada720_map_io, | ||
105 | .init_irq = sa1100_init_irq, | ||
104 | .timer = &sa1100_timer, | 106 | .timer = &sa1100_timer, |
105 | MACHINE_END | 107 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/lart.c b/arch/arm/mach-sa1100/lart.c index 51c08ccfb8db..870b488aeda4 100644 --- a/arch/arm/mach-sa1100/lart.c +++ b/arch/arm/mach-sa1100/lart.c | |||
@@ -41,9 +41,11 @@ static void __init lart_map_io(void) | |||
41 | } | 41 | } |
42 | 42 | ||
43 | MACHINE_START(LART, "LART") | 43 | MACHINE_START(LART, "LART") |
44 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 44 | .phys_ram = 0xc0000000, |
45 | BOOT_PARAMS(0xc0000100) | 45 | .phys_io = 0x80000000, |
46 | MAPIO(lart_map_io) | 46 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
47 | INITIRQ(sa1100_init_irq) | 47 | .boot_params = 0xc0000100, |
48 | .map_io = lart_map_io, | ||
49 | .init_irq = sa1100_init_irq, | ||
48 | .timer = &sa1100_timer, | 50 | .timer = &sa1100_timer, |
49 | MACHINE_END | 51 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/pleb.c b/arch/arm/mach-sa1100/pleb.c index 5606bd71b024..e17b58fb9c9c 100644 --- a/arch/arm/mach-sa1100/pleb.c +++ b/arch/arm/mach-sa1100/pleb.c | |||
@@ -146,9 +146,11 @@ static void __init pleb_map_io(void) | |||
146 | } | 146 | } |
147 | 147 | ||
148 | MACHINE_START(PLEB, "PLEB") | 148 | MACHINE_START(PLEB, "PLEB") |
149 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 149 | .phys_ram = 0xc0000000, |
150 | MAPIO(pleb_map_io) | 150 | .phys_io = 0x80000000, |
151 | INITIRQ(sa1100_init_irq) | 151 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
152 | .map_io = pleb_map_io, | ||
153 | .init_irq = sa1100_init_irq, | ||
152 | .timer = &sa1100_timer, | 154 | .timer = &sa1100_timer, |
153 | .init_machine = pleb_init, | 155 | .init_machine = pleb_init, |
154 | MACHINE_END | 156 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/shannon.c b/arch/arm/mach-sa1100/shannon.c index edddd559be02..43a00359fcdd 100644 --- a/arch/arm/mach-sa1100/shannon.c +++ b/arch/arm/mach-sa1100/shannon.c | |||
@@ -76,10 +76,12 @@ static void __init shannon_map_io(void) | |||
76 | } | 76 | } |
77 | 77 | ||
78 | MACHINE_START(SHANNON, "Shannon (AKA: Tuxscreen)") | 78 | MACHINE_START(SHANNON, "Shannon (AKA: Tuxscreen)") |
79 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 79 | .phys_ram = 0xc0000000, |
80 | BOOT_PARAMS(0xc0000100) | 80 | .phys_io = 0x80000000, |
81 | MAPIO(shannon_map_io) | 81 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
82 | INITIRQ(sa1100_init_irq) | 82 | .boot_params = 0xc0000100, |
83 | .map_io = shannon_map_io, | ||
84 | .init_irq = sa1100_init_irq, | ||
83 | .timer = &sa1100_timer, | 85 | .timer = &sa1100_timer, |
84 | .init_machine = shannon_init, | 86 | .init_machine = shannon_init, |
85 | MACHINE_END | 87 | MACHINE_END |
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 8d113d629867..77978586b126 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c | |||
@@ -215,10 +215,12 @@ arch_initcall(simpad_init); | |||
215 | 215 | ||
216 | 216 | ||
217 | MACHINE_START(SIMPAD, "Simpad") | 217 | MACHINE_START(SIMPAD, "Simpad") |
218 | MAINTAINER("Holger Freyther") | 218 | /* Maintainer: Holger Freyther */ |
219 | BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) | 219 | .phys_ram = 0xc0000000, |
220 | BOOT_PARAMS(0xc0000100) | 220 | .phys_io = 0x80000000, |
221 | MAPIO(simpad_map_io) | 221 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
222 | INITIRQ(sa1100_init_irq) | 222 | .boot_params = 0xc0000100, |
223 | .map_io = simpad_map_io, | ||
224 | .init_irq = sa1100_init_irq, | ||
223 | .timer = &sa1100_timer, | 225 | .timer = &sa1100_timer, |
224 | MACHINE_END | 226 | MACHINE_END |
diff --git a/arch/arm/mach-shark/core.c b/arch/arm/mach-shark/core.c index aa0e2f6e02f6..726445895b5c 100644 --- a/arch/arm/mach-shark/core.c +++ b/arch/arm/mach-shark/core.c | |||
@@ -105,10 +105,12 @@ static struct sys_timer shark_timer = { | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | MACHINE_START(SHARK, "Shark") | 107 | MACHINE_START(SHARK, "Shark") |
108 | MAINTAINER("Alexander Schulz") | 108 | /* Maintainer: Alexander Schulz */ |
109 | BOOT_MEM(0x08000000, 0x40000000, 0xe0000000) | 109 | .phys_ram = 0x08000000, |
110 | BOOT_PARAMS(0x08003000) | 110 | .phys_io = 0x40000000, |
111 | MAPIO(shark_map_io) | 111 | .io_pg_offst = ((0xe0000000) >> 18) & 0xfffc, |
112 | INITIRQ(shark_init_irq) | 112 | .boot_params = 0x08003000, |
113 | .map_io = shark_map_io, | ||
114 | .init_irq = shark_init_irq, | ||
113 | .timer = &shark_timer, | 115 | .timer = &shark_timer, |
114 | MACHINE_END | 116 | MACHINE_END |
diff --git a/arch/arm/mach-versatile/versatile_ab.c b/arch/arm/mach-versatile/versatile_ab.c index d332084586cf..8b0b3bef24ae 100644 --- a/arch/arm/mach-versatile/versatile_ab.c +++ b/arch/arm/mach-versatile/versatile_ab.c | |||
@@ -35,11 +35,13 @@ | |||
35 | #include "core.h" | 35 | #include "core.h" |
36 | 36 | ||
37 | MACHINE_START(VERSATILE_AB, "ARM-Versatile AB") | 37 | MACHINE_START(VERSATILE_AB, "ARM-Versatile AB") |
38 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 38 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
39 | BOOT_MEM(0x00000000, 0x101f1000, 0xf11f1000) | 39 | .phys_ram = 0x00000000, |
40 | BOOT_PARAMS(0x00000100) | 40 | .phys_io = 0x101f1000, |
41 | MAPIO(versatile_map_io) | 41 | .io_pg_offst = ((0xf11f1000) >> 18) & 0xfffc, |
42 | INITIRQ(versatile_init_irq) | 42 | .boot_params = 0x00000100, |
43 | .map_io = versatile_map_io, | ||
44 | .init_irq = versatile_init_irq, | ||
43 | .timer = &versatile_timer, | 45 | .timer = &versatile_timer, |
44 | INIT_MACHINE(versatile_init) | 46 | .init_machine = versatile_init, |
45 | MACHINE_END | 47 | MACHINE_END |
diff --git a/arch/arm/mach-versatile/versatile_pb.c b/arch/arm/mach-versatile/versatile_pb.c index 2702099a68f3..7c3078c38916 100644 --- a/arch/arm/mach-versatile/versatile_pb.c +++ b/arch/arm/mach-versatile/versatile_pb.c | |||
@@ -99,11 +99,13 @@ static int __init versatile_pb_init(void) | |||
99 | arch_initcall(versatile_pb_init); | 99 | arch_initcall(versatile_pb_init); |
100 | 100 | ||
101 | MACHINE_START(VERSATILE_PB, "ARM-Versatile PB") | 101 | MACHINE_START(VERSATILE_PB, "ARM-Versatile PB") |
102 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 102 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
103 | BOOT_MEM(0x00000000, 0x101f1000, 0xf11f1000) | 103 | .phys_ram = 0x00000000, |
104 | BOOT_PARAMS(0x00000100) | 104 | .phys_io = 0x101f1000, |
105 | MAPIO(versatile_map_io) | 105 | .io_pg_offst = ((0xf11f1000) >> 18) & 0xfffc, |
106 | INITIRQ(versatile_init_irq) | 106 | .boot_params = 0x00000100, |
107 | .map_io = versatile_map_io, | ||
108 | .init_irq = versatile_init_irq, | ||
107 | .timer = &versatile_timer, | 109 | .timer = &versatile_timer, |
108 | INIT_MACHINE(versatile_init) | 110 | .init_machine = versatile_init, |
109 | MACHINE_END | 111 | MACHINE_END |
diff --git a/arch/arm/mm/blockops.c b/arch/arm/mm/blockops.c index 806c6eeb1b0c..4f5ee2d08996 100644 --- a/arch/arm/mm/blockops.c +++ b/arch/arm/mm/blockops.c | |||
@@ -25,13 +25,14 @@ blk_flush_kern_dcache_page(void *kaddr) | |||
25 | { | 25 | { |
26 | asm( | 26 | asm( |
27 | "add r1, r0, %0 \n\ | 27 | "add r1, r0, %0 \n\ |
28 | sub r1, r1, %1 \n\ | ||
28 | 1: .word 0xec401f0e @ mcrr p15, 0, r0, r1, c14, 0 @ blocking \n\ | 29 | 1: .word 0xec401f0e @ mcrr p15, 0, r0, r1, c14, 0 @ blocking \n\ |
29 | mov r0, #0 \n\ | 30 | mov r0, #0 \n\ |
30 | mcr p15, 0, r0, c7, c5, 0 \n\ | 31 | mcr p15, 0, r0, c7, c5, 0 \n\ |
31 | mcr p15, 0, r0, c7, c10, 4 \n\ | 32 | mcr p15, 0, r0, c7, c10, 4 \n\ |
32 | mov pc, lr" | 33 | mov pc, lr" |
33 | : | 34 | : |
34 | : "I" (PAGE_SIZE)); | 35 | : "I" (PAGE_SIZE), "I" (L1_CACHE_BYTES)); |
35 | } | 36 | } |
36 | 37 | ||
37 | /* | 38 | /* |
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index e25b4fd8412c..65bfe84b6d67 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -372,49 +372,50 @@ do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
372 | static struct fsr_info { | 372 | static struct fsr_info { |
373 | int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); | 373 | int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); |
374 | int sig; | 374 | int sig; |
375 | int code; | ||
375 | const char *name; | 376 | const char *name; |
376 | } fsr_info[] = { | 377 | } fsr_info[] = { |
377 | /* | 378 | /* |
378 | * The following are the standard ARMv3 and ARMv4 aborts. ARMv5 | 379 | * The following are the standard ARMv3 and ARMv4 aborts. ARMv5 |
379 | * defines these to be "precise" aborts. | 380 | * defines these to be "precise" aborts. |
380 | */ | 381 | */ |
381 | { do_bad, SIGSEGV, "vector exception" }, | 382 | { do_bad, SIGSEGV, 0, "vector exception" }, |
382 | { do_bad, SIGILL, "alignment exception" }, | 383 | { do_bad, SIGILL, BUS_ADRALN, "alignment exception" }, |
383 | { do_bad, SIGKILL, "terminal exception" }, | 384 | { do_bad, SIGKILL, 0, "terminal exception" }, |
384 | { do_bad, SIGILL, "alignment exception" }, | 385 | { do_bad, SIGILL, BUS_ADRALN, "alignment exception" }, |
385 | { do_bad, SIGBUS, "external abort on linefetch" }, | 386 | { do_bad, SIGBUS, 0, "external abort on linefetch" }, |
386 | { do_translation_fault, SIGSEGV, "section translation fault" }, | 387 | { do_translation_fault, SIGSEGV, SEGV_MAPERR, "section translation fault" }, |
387 | { do_bad, SIGBUS, "external abort on linefetch" }, | 388 | { do_bad, SIGBUS, 0, "external abort on linefetch" }, |
388 | { do_page_fault, SIGSEGV, "page translation fault" }, | 389 | { do_page_fault, SIGSEGV, SEGV_MAPERR, "page translation fault" }, |
389 | { do_bad, SIGBUS, "external abort on non-linefetch" }, | 390 | { do_bad, SIGBUS, 0, "external abort on non-linefetch" }, |
390 | { do_bad, SIGSEGV, "section domain fault" }, | 391 | { do_bad, SIGSEGV, SEGV_ACCERR, "section domain fault" }, |
391 | { do_bad, SIGBUS, "external abort on non-linefetch" }, | 392 | { do_bad, SIGBUS, 0, "external abort on non-linefetch" }, |
392 | { do_bad, SIGSEGV, "page domain fault" }, | 393 | { do_bad, SIGSEGV, SEGV_ACCERR, "page domain fault" }, |
393 | { do_bad, SIGBUS, "external abort on translation" }, | 394 | { do_bad, SIGBUS, 0, "external abort on translation" }, |
394 | { do_sect_fault, SIGSEGV, "section permission fault" }, | 395 | { do_sect_fault, SIGSEGV, SEGV_ACCERR, "section permission fault" }, |
395 | { do_bad, SIGBUS, "external abort on translation" }, | 396 | { do_bad, SIGBUS, 0, "external abort on translation" }, |
396 | { do_page_fault, SIGSEGV, "page permission fault" }, | 397 | { do_page_fault, SIGSEGV, SEGV_ACCERR, "page permission fault" }, |
397 | /* | 398 | /* |
398 | * The following are "imprecise" aborts, which are signalled by bit | 399 | * The following are "imprecise" aborts, which are signalled by bit |
399 | * 10 of the FSR, and may not be recoverable. These are only | 400 | * 10 of the FSR, and may not be recoverable. These are only |
400 | * supported if the CPU abort handler supports bit 10. | 401 | * supported if the CPU abort handler supports bit 10. |
401 | */ | 402 | */ |
402 | { do_bad, SIGBUS, "unknown 16" }, | 403 | { do_bad, SIGBUS, 0, "unknown 16" }, |
403 | { do_bad, SIGBUS, "unknown 17" }, | 404 | { do_bad, SIGBUS, 0, "unknown 17" }, |
404 | { do_bad, SIGBUS, "unknown 18" }, | 405 | { do_bad, SIGBUS, 0, "unknown 18" }, |
405 | { do_bad, SIGBUS, "unknown 19" }, | 406 | { do_bad, SIGBUS, 0, "unknown 19" }, |
406 | { do_bad, SIGBUS, "lock abort" }, /* xscale */ | 407 | { do_bad, SIGBUS, 0, "lock abort" }, /* xscale */ |
407 | { do_bad, SIGBUS, "unknown 21" }, | 408 | { do_bad, SIGBUS, 0, "unknown 21" }, |
408 | { do_bad, SIGBUS, "imprecise external abort" }, /* xscale */ | 409 | { do_bad, SIGBUS, BUS_OBJERR, "imprecise external abort" }, /* xscale */ |
409 | { do_bad, SIGBUS, "unknown 23" }, | 410 | { do_bad, SIGBUS, 0, "unknown 23" }, |
410 | { do_bad, SIGBUS, "dcache parity error" }, /* xscale */ | 411 | { do_bad, SIGBUS, 0, "dcache parity error" }, /* xscale */ |
411 | { do_bad, SIGBUS, "unknown 25" }, | 412 | { do_bad, SIGBUS, 0, "unknown 25" }, |
412 | { do_bad, SIGBUS, "unknown 26" }, | 413 | { do_bad, SIGBUS, 0, "unknown 26" }, |
413 | { do_bad, SIGBUS, "unknown 27" }, | 414 | { do_bad, SIGBUS, 0, "unknown 27" }, |
414 | { do_bad, SIGBUS, "unknown 28" }, | 415 | { do_bad, SIGBUS, 0, "unknown 28" }, |
415 | { do_bad, SIGBUS, "unknown 29" }, | 416 | { do_bad, SIGBUS, 0, "unknown 29" }, |
416 | { do_bad, SIGBUS, "unknown 30" }, | 417 | { do_bad, SIGBUS, 0, "unknown 30" }, |
417 | { do_bad, SIGBUS, "unknown 31" } | 418 | { do_bad, SIGBUS, 0, "unknown 31" } |
418 | }; | 419 | }; |
419 | 420 | ||
420 | void __init | 421 | void __init |
@@ -435,15 +436,19 @@ asmlinkage void | |||
435 | do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | 436 | do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
436 | { | 437 | { |
437 | const struct fsr_info *inf = fsr_info + (fsr & 15) + ((fsr & (1 << 10)) >> 6); | 438 | const struct fsr_info *inf = fsr_info + (fsr & 15) + ((fsr & (1 << 10)) >> 6); |
439 | struct siginfo info; | ||
438 | 440 | ||
439 | if (!inf->fn(addr, fsr, regs)) | 441 | if (!inf->fn(addr, fsr, regs)) |
440 | return; | 442 | return; |
441 | 443 | ||
442 | printk(KERN_ALERT "Unhandled fault: %s (0x%03x) at 0x%08lx\n", | 444 | printk(KERN_ALERT "Unhandled fault: %s (0x%03x) at 0x%08lx\n", |
443 | inf->name, fsr, addr); | 445 | inf->name, fsr, addr); |
444 | force_sig(inf->sig, current); | 446 | |
445 | show_pte(current->mm, addr); | 447 | info.si_signo = inf->sig; |
446 | die_if_kernel("Oops", regs, 0); | 448 | info.si_errno = 0; |
449 | info.si_code = inf->code; | ||
450 | info.si_addr = (void __user *)addr; | ||
451 | notify_die("", regs, &info, fsr, 0); | ||
447 | } | 452 | } |
448 | 453 | ||
449 | asmlinkage void | 454 | asmlinkage void |
diff --git a/arch/arm/mm/proc-arm1020.S b/arch/arm/mm/proc-arm1020.S index 1f325231b9e4..5c0ae5260d1c 100644 --- a/arch/arm/mm/proc-arm1020.S +++ b/arch/arm/mm/proc-arm1020.S | |||
@@ -445,14 +445,14 @@ __arm1020_setup: | |||
445 | /* | 445 | /* |
446 | * R | 446 | * R |
447 | * .RVI ZFRS BLDP WCAM | 447 | * .RVI ZFRS BLDP WCAM |
448 | * .0.1 1001 ..11 0101 /* FIXME: why no V bit? */ | 448 | * .011 1001 ..11 0101 |
449 | */ | 449 | */ |
450 | .type arm1020_cr1_clear, #object | 450 | .type arm1020_cr1_clear, #object |
451 | .type arm1020_cr1_set, #object | 451 | .type arm1020_cr1_set, #object |
452 | arm1020_cr1_clear: | 452 | arm1020_cr1_clear: |
453 | .word 0x593f | 453 | .word 0x593f |
454 | arm1020_cr1_set: | 454 | arm1020_cr1_set: |
455 | .word 0x1935 | 455 | .word 0x3935 |
456 | 456 | ||
457 | __INITDATA | 457 | __INITDATA |
458 | 458 | ||
diff --git a/arch/arm/mm/proc-arm1020e.S b/arch/arm/mm/proc-arm1020e.S index 142a2c2d6f0b..d69389c4d4ba 100644 --- a/arch/arm/mm/proc-arm1020e.S +++ b/arch/arm/mm/proc-arm1020e.S | |||
@@ -427,14 +427,14 @@ __arm1020e_setup: | |||
427 | /* | 427 | /* |
428 | * R | 428 | * R |
429 | * .RVI ZFRS BLDP WCAM | 429 | * .RVI ZFRS BLDP WCAM |
430 | * .0.1 1001 ..11 0101 /* FIXME: why no V bit? */ | 430 | * .011 1001 ..11 0101 |
431 | */ | 431 | */ |
432 | .type arm1020e_cr1_clear, #object | 432 | .type arm1020e_cr1_clear, #object |
433 | .type arm1020e_cr1_set, #object | 433 | .type arm1020e_cr1_set, #object |
434 | arm1020e_cr1_clear: | 434 | arm1020e_cr1_clear: |
435 | .word 0x5f3f | 435 | .word 0x5f3f |
436 | arm1020e_cr1_set: | 436 | arm1020e_cr1_set: |
437 | .word 0x1935 | 437 | .word 0x3935 |
438 | 438 | ||
439 | __INITDATA | 439 | __INITDATA |
440 | 440 | ||
diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c index 1a49adb1f4a6..e86ea486c311 100644 --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c | |||
@@ -190,7 +190,7 @@ static __init struct pci_dev *gx_detect_chipset(void) | |||
190 | 190 | ||
191 | /* detect which companion chip is used */ | 191 | /* detect which companion chip is used */ |
192 | while ((gx_pci = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, gx_pci)) != NULL) { | 192 | while ((gx_pci = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, gx_pci)) != NULL) { |
193 | if ((pci_match_device (gx_chipset_tbl, gx_pci)) != NULL) { | 193 | if ((pci_match_id(gx_chipset_tbl, gx_pci)) != NULL) { |
194 | return gx_pci; | 194 | return gx_pci; |
195 | } | 195 | } |
196 | } | 196 | } |
diff --git a/arch/i386/kernel/kprobes.c b/arch/i386/kernel/kprobes.c index fc8b17521761..a6d8c45961d3 100644 --- a/arch/i386/kernel/kprobes.c +++ b/arch/i386/kernel/kprobes.c | |||
@@ -537,7 +537,7 @@ static struct kprobe trampoline_p = { | |||
537 | .pre_handler = trampoline_probe_handler | 537 | .pre_handler = trampoline_probe_handler |
538 | }; | 538 | }; |
539 | 539 | ||
540 | int __init arch_init(void) | 540 | int __init arch_init_kprobes(void) |
541 | { | 541 | { |
542 | return register_kprobe(&trampoline_p); | 542 | return register_kprobe(&trampoline_p); |
543 | } | 543 | } |
diff --git a/arch/i386/pci/common.c b/arch/i386/pci/common.c index 87325263cd4f..70bcd53451f6 100644 --- a/arch/i386/pci/common.c +++ b/arch/i386/pci/common.c | |||
@@ -165,6 +165,7 @@ static int __init pcibios_init(void) | |||
165 | if ((pci_probe & PCI_BIOS_SORT) && !(pci_probe & PCI_NO_SORT)) | 165 | if ((pci_probe & PCI_BIOS_SORT) && !(pci_probe & PCI_NO_SORT)) |
166 | pcibios_sort(); | 166 | pcibios_sort(); |
167 | #endif | 167 | #endif |
168 | pci_assign_unassigned_resources(); | ||
168 | return 0; | 169 | return 0; |
169 | } | 170 | } |
170 | 171 | ||
diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c index c205ea7e233b..93a364c82150 100644 --- a/arch/i386/pci/i386.c +++ b/arch/i386/pci/i386.c | |||
@@ -106,11 +106,16 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list) | |||
106 | if ((dev = bus->self)) { | 106 | if ((dev = bus->self)) { |
107 | for (idx = PCI_BRIDGE_RESOURCES; idx < PCI_NUM_RESOURCES; idx++) { | 107 | for (idx = PCI_BRIDGE_RESOURCES; idx < PCI_NUM_RESOURCES; idx++) { |
108 | r = &dev->resource[idx]; | 108 | r = &dev->resource[idx]; |
109 | if (!r->start) | 109 | if (!r->flags) |
110 | continue; | 110 | continue; |
111 | pr = pci_find_parent_resource(dev, r); | 111 | pr = pci_find_parent_resource(dev, r); |
112 | if (!pr || request_resource(pr, r) < 0) | 112 | if (!r->start || !pr || request_resource(pr, r) < 0) { |
113 | printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev)); | 113 | printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev)); |
114 | /* Something is wrong with the region. | ||
115 | Invalidate the resource to prevent child | ||
116 | resource allocations in this range. */ | ||
117 | r->flags = 0; | ||
118 | } | ||
114 | } | 119 | } |
115 | } | 120 | } |
116 | pcibios_allocate_bus_resources(&bus->children); | 121 | pcibios_allocate_bus_resources(&bus->children); |
@@ -227,7 +232,7 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask) | |||
227 | 232 | ||
228 | pci_read_config_word(dev, PCI_COMMAND, &cmd); | 233 | pci_read_config_word(dev, PCI_COMMAND, &cmd); |
229 | old_cmd = cmd; | 234 | old_cmd = cmd; |
230 | for(idx=0; idx<6; idx++) { | 235 | for(idx = 0; idx < PCI_NUM_RESOURCES; idx++) { |
231 | /* Only set up the requested stuff */ | 236 | /* Only set up the requested stuff */ |
232 | if (!(mask & (1<<idx))) | 237 | if (!(mask & (1<<idx))) |
233 | continue; | 238 | continue; |
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index 3aa3167edbec..884f5cd27d8a 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c | |||
@@ -713,7 +713,7 @@ static struct kprobe trampoline_p = { | |||
713 | .pre_handler = trampoline_probe_handler | 713 | .pre_handler = trampoline_probe_handler |
714 | }; | 714 | }; |
715 | 715 | ||
716 | int __init arch_init(void) | 716 | int __init arch_init_kprobes(void) |
717 | { | 717 | { |
718 | trampoline_p.addr = | 718 | trampoline_p.addr = |
719 | (kprobe_opcode_t *)((struct fnptr *)kretprobe_trampoline)->ip; | 719 | (kprobe_opcode_t *)((struct fnptr *)kretprobe_trampoline)->ip; |
diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index 4ea7158e5062..ece6a9fbe09b 100644 --- a/arch/ppc/8xx_io/enet.c +++ b/arch/ppc/8xx_io/enet.c | |||
@@ -714,16 +714,24 @@ static int __init scc_enet_init(void) | |||
714 | immap->im_ioport.iop_pcdat &= ~PC_ENET_LBK; /* Disable Loopback */ | 714 | immap->im_ioport.iop_pcdat &= ~PC_ENET_LBK; /* Disable Loopback */ |
715 | #endif /* PC_ENET_LBK */ | 715 | #endif /* PC_ENET_LBK */ |
716 | 716 | ||
717 | /* Configure port C pins to enable CLSN and RENA. | 717 | #ifdef PE_ENET_TCLK |
718 | /* Configure port E for TCLK and RCLK. | ||
718 | */ | 719 | */ |
719 | immap->im_ioport.iop_pcpar &= ~(PC_ENET_CLSN | PC_ENET_RENA); | 720 | cp->cp_pepar |= (PE_ENET_TCLK | PE_ENET_RCLK); |
720 | immap->im_ioport.iop_pcdir &= ~(PC_ENET_CLSN | PC_ENET_RENA); | 721 | cp->cp_pedir &= ~(PE_ENET_TCLK | PE_ENET_RCLK); |
721 | immap->im_ioport.iop_pcso |= (PC_ENET_CLSN | PC_ENET_RENA); | 722 | cp->cp_peso &= ~(PE_ENET_TCLK | PE_ENET_RCLK); |
722 | 723 | #else | |
723 | /* Configure port A for TCLK and RCLK. | 724 | /* Configure port A for TCLK and RCLK. |
724 | */ | 725 | */ |
725 | immap->im_ioport.iop_papar |= (PA_ENET_TCLK | PA_ENET_RCLK); | 726 | immap->im_ioport.iop_papar |= (PA_ENET_TCLK | PA_ENET_RCLK); |
726 | immap->im_ioport.iop_padir &= ~(PA_ENET_TCLK | PA_ENET_RCLK); | 727 | immap->im_ioport.iop_padir &= ~(PA_ENET_TCLK | PA_ENET_RCLK); |
728 | #endif | ||
729 | |||
730 | /* Configure port C pins to enable CLSN and RENA. | ||
731 | */ | ||
732 | immap->im_ioport.iop_pcpar &= ~(PC_ENET_CLSN | PC_ENET_RENA); | ||
733 | immap->im_ioport.iop_pcdir &= ~(PC_ENET_CLSN | PC_ENET_RENA); | ||
734 | immap->im_ioport.iop_pcso |= (PC_ENET_CLSN | PC_ENET_RENA); | ||
727 | 735 | ||
728 | /* Configure Serial Interface clock routing. | 736 | /* Configure Serial Interface clock routing. |
729 | * First, clear all SCC bits to zero, then set the ones we want. | 737 | * First, clear all SCC bits to zero, then set the ones we want. |
@@ -896,14 +904,18 @@ static int __init scc_enet_init(void) | |||
896 | /* It is now OK to enable the Ethernet transmitter. | 904 | /* It is now OK to enable the Ethernet transmitter. |
897 | * Unfortunately, there are board implementation differences here. | 905 | * Unfortunately, there are board implementation differences here. |
898 | */ | 906 | */ |
899 | #if (!defined (PB_ENET_TENA) && defined (PC_ENET_TENA)) | 907 | #if (!defined (PB_ENET_TENA) && defined (PC_ENET_TENA) && !defined (PE_ENET_TENA)) |
900 | immap->im_ioport.iop_pcpar |= PC_ENET_TENA; | 908 | immap->im_ioport.iop_pcpar |= PC_ENET_TENA; |
901 | immap->im_ioport.iop_pcdir &= ~PC_ENET_TENA; | 909 | immap->im_ioport.iop_pcdir &= ~PC_ENET_TENA; |
902 | #elif ( defined (PB_ENET_TENA) && !defined (PC_ENET_TENA)) | 910 | #elif ( defined (PB_ENET_TENA) && !defined (PC_ENET_TENA) && !defined (PE_ENET_TENA)) |
903 | cp->cp_pbpar |= PB_ENET_TENA; | 911 | cp->cp_pbpar |= PB_ENET_TENA; |
904 | cp->cp_pbdir |= PB_ENET_TENA; | 912 | cp->cp_pbdir |= PB_ENET_TENA; |
913 | #elif ( !defined (PB_ENET_TENA) && !defined (PC_ENET_TENA) && defined (PE_ENET_TENA)) | ||
914 | cp->cp_pepar |= PE_ENET_TENA; | ||
915 | cp->cp_pedir &= ~PE_ENET_TENA; | ||
916 | cp->cp_peso |= PE_ENET_TENA; | ||
905 | #else | 917 | #else |
906 | #error Configuration Error: define exactly ONE of PB_ENET_TENA, PC_ENET_TENA | 918 | #error Configuration Error: define exactly ONE of PB_ENET_TENA, PC_ENET_TENA, PE_ENET_TENA |
907 | #endif | 919 | #endif |
908 | 920 | ||
909 | #if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) | 921 | #if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC) |
@@ -936,6 +948,29 @@ static int __init scc_enet_init(void) | |||
936 | *((volatile uint *)BCSR1) &= ~BCSR1_ETHEN; | 948 | *((volatile uint *)BCSR1) &= ~BCSR1_ETHEN; |
937 | #endif | 949 | #endif |
938 | 950 | ||
951 | #ifdef CONFIG_MPC885ADS | ||
952 | |||
953 | /* Deassert PHY reset and enable the PHY. | ||
954 | */ | ||
955 | { | ||
956 | volatile uint __iomem *bcsr = ioremap(BCSR_ADDR, BCSR_SIZE); | ||
957 | uint tmp; | ||
958 | |||
959 | tmp = in_be32(bcsr + 1 /* BCSR1 */); | ||
960 | tmp |= BCSR1_ETHEN; | ||
961 | out_be32(bcsr + 1, tmp); | ||
962 | tmp = in_be32(bcsr + 4 /* BCSR4 */); | ||
963 | tmp |= BCSR4_ETH10_RST; | ||
964 | out_be32(bcsr + 4, tmp); | ||
965 | iounmap(bcsr); | ||
966 | } | ||
967 | |||
968 | /* On MPC885ADS SCC ethernet PHY defaults to the full duplex mode | ||
969 | * upon reset. SCC is set to half duplex by default. So this | ||
970 | * inconsistency should be better fixed by the software. | ||
971 | */ | ||
972 | #endif | ||
973 | |||
939 | dev->base_addr = (unsigned long)ep; | 974 | dev->base_addr = (unsigned long)ep; |
940 | #if 0 | 975 | #if 0 |
941 | dev->name = "CPM_ENET"; | 976 | dev->name = "CPM_ENET"; |
@@ -969,3 +1004,4 @@ static int __init scc_enet_init(void) | |||
969 | } | 1004 | } |
970 | 1005 | ||
971 | module_init(scc_enet_init); | 1006 | module_init(scc_enet_init); |
1007 | |||
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index a7835cd3f51f..23b0d2f662c5 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -284,6 +284,9 @@ endmenu | |||
284 | 284 | ||
285 | menu "Platform options" | 285 | menu "Platform options" |
286 | 286 | ||
287 | config FADS | ||
288 | bool | ||
289 | |||
287 | choice | 290 | choice |
288 | prompt "8xx Machine Type" | 291 | prompt "8xx Machine Type" |
289 | depends on 8xx | 292 | depends on 8xx |
@@ -399,8 +402,25 @@ config BSEIP | |||
399 | 26MB DRAM, 4MB flash, Ethernet, a 16K-gate FPGA, USB, an LCD/video | 402 | 26MB DRAM, 4MB flash, Ethernet, a 16K-gate FPGA, USB, an LCD/video |
400 | controller, and two RS232 ports. | 403 | controller, and two RS232 ports. |
401 | 404 | ||
402 | config FADS | 405 | config MPC8XXFADS |
403 | bool "FADS" | 406 | bool "FADS" |
407 | select FADS | ||
408 | |||
409 | config MPC86XADS | ||
410 | bool "MPC86XADS" | ||
411 | help | ||
412 | MPC86x Application Development System by Freescale Semiconductor. | ||
413 | The MPC86xADS is meant to serve as a platform for s/w and h/w | ||
414 | development around the MPC86X processor families. | ||
415 | select FADS | ||
416 | |||
417 | config MPC885ADS | ||
418 | bool "MPC885ADS" | ||
419 | help | ||
420 | Freescale Semiconductor MPC885 Application Development System (ADS). | ||
421 | Also known as DUET. | ||
422 | The MPC885ADS is meant to serve as a platform for s/w and h/w | ||
423 | development around the MPC885 processor family. | ||
404 | 424 | ||
405 | config TQM823L | 425 | config TQM823L |
406 | bool "TQM823L" | 426 | bool "TQM823L" |
diff --git a/arch/ppc/configs/mpc86x_ads_defconfig b/arch/ppc/configs/mpc86x_ads_defconfig new file mode 100644 index 000000000000..f63c6f59d68a --- /dev/null +++ b/arch/ppc/configs/mpc86x_ads_defconfig | |||
@@ -0,0 +1,633 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc4 | ||
4 | # Tue Jun 14 13:36:35 2005 | ||
5 | # | ||
6 | CONFIG_MMU=y | ||
7 | CONFIG_GENERIC_HARDIRQS=y | ||
8 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
9 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
10 | CONFIG_HAVE_DEC_LOCK=y | ||
11 | CONFIG_PPC=y | ||
12 | CONFIG_PPC32=y | ||
13 | CONFIG_GENERIC_NVRAM=y | ||
14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
15 | |||
16 | # | ||
17 | # Code maturity level options | ||
18 | # | ||
19 | CONFIG_EXPERIMENTAL=y | ||
20 | # CONFIG_CLEAN_COMPILE is not set | ||
21 | CONFIG_BROKEN=y | ||
22 | CONFIG_BROKEN_ON_SMP=y | ||
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
24 | |||
25 | # | ||
26 | # General setup | ||
27 | # | ||
28 | CONFIG_LOCALVERSION="" | ||
29 | # CONFIG_SWAP is not set | ||
30 | CONFIG_SYSVIPC=y | ||
31 | # CONFIG_POSIX_MQUEUE is not set | ||
32 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
33 | CONFIG_SYSCTL=y | ||
34 | # CONFIG_AUDIT is not set | ||
35 | # CONFIG_HOTPLUG is not set | ||
36 | CONFIG_KOBJECT_UEVENT=y | ||
37 | # CONFIG_IKCONFIG is not set | ||
38 | CONFIG_EMBEDDED=y | ||
39 | # CONFIG_KALLSYMS is not set | ||
40 | CONFIG_PRINTK=y | ||
41 | CONFIG_BUG=y | ||
42 | # CONFIG_BASE_FULL is not set | ||
43 | CONFIG_FUTEX=y | ||
44 | # CONFIG_EPOLL is not set | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
46 | # CONFIG_SHMEM is not set | ||
47 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
48 | CONFIG_CC_ALIGN_LABELS=0 | ||
49 | CONFIG_CC_ALIGN_LOOPS=0 | ||
50 | CONFIG_CC_ALIGN_JUMPS=0 | ||
51 | CONFIG_TINY_SHMEM=y | ||
52 | CONFIG_BASE_SMALL=1 | ||
53 | |||
54 | # | ||
55 | # Loadable module support | ||
56 | # | ||
57 | CONFIG_MODULES=y | ||
58 | # CONFIG_MODULE_UNLOAD is not set | ||
59 | CONFIG_OBSOLETE_MODPARM=y | ||
60 | # CONFIG_MODVERSIONS is not set | ||
61 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
62 | # CONFIG_KMOD is not set | ||
63 | |||
64 | # | ||
65 | # Processor | ||
66 | # | ||
67 | # CONFIG_6xx is not set | ||
68 | # CONFIG_40x is not set | ||
69 | # CONFIG_44x is not set | ||
70 | # CONFIG_POWER3 is not set | ||
71 | # CONFIG_POWER4 is not set | ||
72 | CONFIG_8xx=y | ||
73 | # CONFIG_E500 is not set | ||
74 | # CONFIG_MATH_EMULATION is not set | ||
75 | # CONFIG_CPU_FREQ is not set | ||
76 | CONFIG_EMBEDDEDBOOT=y | ||
77 | # CONFIG_PM is not set | ||
78 | CONFIG_NOT_COHERENT_CACHE=y | ||
79 | |||
80 | # | ||
81 | # Platform options | ||
82 | # | ||
83 | CONFIG_FADS=y | ||
84 | # CONFIG_RPXLITE is not set | ||
85 | # CONFIG_RPXCLASSIC is not set | ||
86 | # CONFIG_BSEIP is not set | ||
87 | # CONFIG_MPC8XXFADS is not set | ||
88 | CONFIG_MPC86XADS=y | ||
89 | # CONFIG_TQM823L is not set | ||
90 | # CONFIG_TQM850L is not set | ||
91 | # CONFIG_TQM855L is not set | ||
92 | # CONFIG_TQM860L is not set | ||
93 | # CONFIG_FPS850L is not set | ||
94 | # CONFIG_SPD823TS is not set | ||
95 | # CONFIG_IVMS8 is not set | ||
96 | # CONFIG_IVML24 is not set | ||
97 | # CONFIG_SM850 is not set | ||
98 | # CONFIG_HERMES_PRO is not set | ||
99 | # CONFIG_IP860 is not set | ||
100 | # CONFIG_LWMON is not set | ||
101 | # CONFIG_PCU_E is not set | ||
102 | # CONFIG_CCM is not set | ||
103 | # CONFIG_LANTEC is not set | ||
104 | # CONFIG_MBX is not set | ||
105 | # CONFIG_WINCEPT is not set | ||
106 | # CONFIG_SMP is not set | ||
107 | # CONFIG_PREEMPT is not set | ||
108 | # CONFIG_HIGHMEM is not set | ||
109 | CONFIG_BINFMT_ELF=y | ||
110 | # CONFIG_BINFMT_MISC is not set | ||
111 | # CONFIG_CMDLINE_BOOL is not set | ||
112 | CONFIG_ISA_DMA_API=y | ||
113 | |||
114 | # | ||
115 | # Bus options | ||
116 | # | ||
117 | # CONFIG_PCI is not set | ||
118 | # CONFIG_PCI_DOMAINS is not set | ||
119 | # CONFIG_PCI_QSPAN is not set | ||
120 | |||
121 | # | ||
122 | # PCCARD (PCMCIA/CardBus) support | ||
123 | # | ||
124 | # CONFIG_PCCARD is not set | ||
125 | |||
126 | # | ||
127 | # Advanced setup | ||
128 | # | ||
129 | # CONFIG_ADVANCED_OPTIONS is not set | ||
130 | |||
131 | # | ||
132 | # Default settings for advanced configuration options are used | ||
133 | # | ||
134 | CONFIG_HIGHMEM_START=0xfe000000 | ||
135 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
136 | CONFIG_KERNEL_START=0xc0000000 | ||
137 | CONFIG_TASK_SIZE=0x80000000 | ||
138 | CONFIG_CONSISTENT_START=0xff100000 | ||
139 | CONFIG_CONSISTENT_SIZE=0x00200000 | ||
140 | CONFIG_BOOT_LOAD=0x00400000 | ||
141 | |||
142 | # | ||
143 | # Device Drivers | ||
144 | # | ||
145 | |||
146 | # | ||
147 | # Generic Driver Options | ||
148 | # | ||
149 | # CONFIG_STANDALONE is not set | ||
150 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
151 | # CONFIG_FW_LOADER is not set | ||
152 | |||
153 | # | ||
154 | # Memory Technology Devices (MTD) | ||
155 | # | ||
156 | # CONFIG_MTD is not set | ||
157 | |||
158 | # | ||
159 | # Parallel port support | ||
160 | # | ||
161 | # CONFIG_PARPORT is not set | ||
162 | |||
163 | # | ||
164 | # Plug and Play support | ||
165 | # | ||
166 | |||
167 | # | ||
168 | # Block devices | ||
169 | # | ||
170 | # CONFIG_BLK_DEV_FD is not set | ||
171 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
172 | CONFIG_BLK_DEV_LOOP=y | ||
173 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
174 | # CONFIG_BLK_DEV_NBD is not set | ||
175 | # CONFIG_BLK_DEV_RAM is not set | ||
176 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
177 | CONFIG_INITRAMFS_SOURCE="" | ||
178 | # CONFIG_LBD is not set | ||
179 | # CONFIG_CDROM_PKTCDVD is not set | ||
180 | |||
181 | # | ||
182 | # IO Schedulers | ||
183 | # | ||
184 | CONFIG_IOSCHED_NOOP=y | ||
185 | CONFIG_IOSCHED_AS=y | ||
186 | CONFIG_IOSCHED_DEADLINE=y | ||
187 | CONFIG_IOSCHED_CFQ=y | ||
188 | # CONFIG_ATA_OVER_ETH is not set | ||
189 | |||
190 | # | ||
191 | # ATA/ATAPI/MFM/RLL support | ||
192 | # | ||
193 | # CONFIG_IDE is not set | ||
194 | |||
195 | # | ||
196 | # SCSI device support | ||
197 | # | ||
198 | # CONFIG_SCSI is not set | ||
199 | |||
200 | # | ||
201 | # Multi-device support (RAID and LVM) | ||
202 | # | ||
203 | # CONFIG_MD is not set | ||
204 | |||
205 | # | ||
206 | # Fusion MPT device support | ||
207 | # | ||
208 | |||
209 | # | ||
210 | # IEEE 1394 (FireWire) support | ||
211 | # | ||
212 | # CONFIG_IEEE1394 is not set | ||
213 | |||
214 | # | ||
215 | # I2O device support | ||
216 | # | ||
217 | |||
218 | # | ||
219 | # Macintosh device drivers | ||
220 | # | ||
221 | |||
222 | # | ||
223 | # Networking support | ||
224 | # | ||
225 | CONFIG_NET=y | ||
226 | |||
227 | # | ||
228 | # Networking options | ||
229 | # | ||
230 | CONFIG_PACKET=y | ||
231 | # CONFIG_PACKET_MMAP is not set | ||
232 | CONFIG_UNIX=y | ||
233 | # CONFIG_NET_KEY is not set | ||
234 | CONFIG_INET=y | ||
235 | # CONFIG_IP_MULTICAST is not set | ||
236 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
237 | CONFIG_IP_PNP=y | ||
238 | CONFIG_IP_PNP_DHCP=y | ||
239 | # CONFIG_IP_PNP_BOOTP is not set | ||
240 | # CONFIG_IP_PNP_RARP is not set | ||
241 | # CONFIG_NET_IPIP is not set | ||
242 | # CONFIG_NET_IPGRE is not set | ||
243 | # CONFIG_ARPD is not set | ||
244 | # CONFIG_SYN_COOKIES is not set | ||
245 | # CONFIG_INET_AH is not set | ||
246 | # CONFIG_INET_ESP is not set | ||
247 | # CONFIG_INET_IPCOMP is not set | ||
248 | # CONFIG_INET_TUNNEL is not set | ||
249 | CONFIG_IP_TCPDIAG=y | ||
250 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
251 | CONFIG_IPV6=m | ||
252 | # CONFIG_IPV6_PRIVACY is not set | ||
253 | # CONFIG_INET6_AH is not set | ||
254 | # CONFIG_INET6_ESP is not set | ||
255 | # CONFIG_INET6_IPCOMP is not set | ||
256 | # CONFIG_INET6_TUNNEL is not set | ||
257 | # CONFIG_IPV6_TUNNEL is not set | ||
258 | # CONFIG_NETFILTER is not set | ||
259 | |||
260 | # | ||
261 | # SCTP Configuration (EXPERIMENTAL) | ||
262 | # | ||
263 | # CONFIG_IP_SCTP is not set | ||
264 | # CONFIG_ATM is not set | ||
265 | # CONFIG_BRIDGE is not set | ||
266 | # CONFIG_VLAN_8021Q is not set | ||
267 | # CONFIG_DECNET is not set | ||
268 | # CONFIG_LLC2 is not set | ||
269 | # CONFIG_IPX is not set | ||
270 | # CONFIG_ATALK is not set | ||
271 | # CONFIG_X25 is not set | ||
272 | # CONFIG_LAPB is not set | ||
273 | # CONFIG_NET_DIVERT is not set | ||
274 | # CONFIG_ECONET is not set | ||
275 | # CONFIG_WAN_ROUTER is not set | ||
276 | |||
277 | # | ||
278 | # QoS and/or fair queueing | ||
279 | # | ||
280 | # CONFIG_NET_SCHED is not set | ||
281 | # CONFIG_NET_CLS_ROUTE is not set | ||
282 | |||
283 | # | ||
284 | # Network testing | ||
285 | # | ||
286 | # CONFIG_NET_PKTGEN is not set | ||
287 | # CONFIG_NETPOLL is not set | ||
288 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
289 | # CONFIG_HAMRADIO is not set | ||
290 | # CONFIG_IRDA is not set | ||
291 | # CONFIG_BT is not set | ||
292 | CONFIG_NETDEVICES=y | ||
293 | # CONFIG_DUMMY is not set | ||
294 | # CONFIG_BONDING is not set | ||
295 | # CONFIG_EQUALIZER is not set | ||
296 | # CONFIG_TUN is not set | ||
297 | |||
298 | # | ||
299 | # Ethernet (10 or 100Mbit) | ||
300 | # | ||
301 | CONFIG_NET_ETHERNET=y | ||
302 | # CONFIG_MII is not set | ||
303 | # CONFIG_OAKNET is not set | ||
304 | |||
305 | # | ||
306 | # Ethernet (1000 Mbit) | ||
307 | # | ||
308 | |||
309 | # | ||
310 | # Ethernet (10000 Mbit) | ||
311 | # | ||
312 | |||
313 | # | ||
314 | # Token Ring devices | ||
315 | # | ||
316 | |||
317 | # | ||
318 | # Wireless LAN (non-hamradio) | ||
319 | # | ||
320 | # CONFIG_NET_RADIO is not set | ||
321 | |||
322 | # | ||
323 | # Wan interfaces | ||
324 | # | ||
325 | # CONFIG_WAN is not set | ||
326 | # CONFIG_PPP is not set | ||
327 | # CONFIG_SLIP is not set | ||
328 | # CONFIG_SHAPER is not set | ||
329 | # CONFIG_NETCONSOLE is not set | ||
330 | |||
331 | # | ||
332 | # ISDN subsystem | ||
333 | # | ||
334 | # CONFIG_ISDN is not set | ||
335 | |||
336 | # | ||
337 | # Telephony Support | ||
338 | # | ||
339 | # CONFIG_PHONE is not set | ||
340 | |||
341 | # | ||
342 | # Input device support | ||
343 | # | ||
344 | # CONFIG_INPUT is not set | ||
345 | |||
346 | # | ||
347 | # Hardware I/O ports | ||
348 | # | ||
349 | # CONFIG_SERIO is not set | ||
350 | # CONFIG_GAMEPORT is not set | ||
351 | CONFIG_SOUND_GAMEPORT=y | ||
352 | |||
353 | # | ||
354 | # Character devices | ||
355 | # | ||
356 | # CONFIG_VT is not set | ||
357 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
358 | |||
359 | # | ||
360 | # Serial drivers | ||
361 | # | ||
362 | # CONFIG_SERIAL_8250 is not set | ||
363 | |||
364 | # | ||
365 | # Non-8250 serial port support | ||
366 | # | ||
367 | CONFIG_SERIAL_CORE=y | ||
368 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
369 | CONFIG_SERIAL_CPM=y | ||
370 | CONFIG_SERIAL_CPM_CONSOLE=y | ||
371 | # CONFIG_SERIAL_CPM_SCC1 is not set | ||
372 | # CONFIG_SERIAL_CPM_SCC2 is not set | ||
373 | # CONFIG_SERIAL_CPM_SCC3 is not set | ||
374 | # CONFIG_SERIAL_CPM_SCC4 is not set | ||
375 | CONFIG_SERIAL_CPM_SMC1=y | ||
376 | # CONFIG_SERIAL_CPM_SMC2 is not set | ||
377 | CONFIG_UNIX98_PTYS=y | ||
378 | # CONFIG_LEGACY_PTYS is not set | ||
379 | |||
380 | # | ||
381 | # IPMI | ||
382 | # | ||
383 | # CONFIG_IPMI_HANDLER is not set | ||
384 | |||
385 | # | ||
386 | # Watchdog Cards | ||
387 | # | ||
388 | # CONFIG_WATCHDOG is not set | ||
389 | # CONFIG_NVRAM is not set | ||
390 | # CONFIG_GEN_RTC is not set | ||
391 | # CONFIG_DTLK is not set | ||
392 | # CONFIG_R3964 is not set | ||
393 | |||
394 | # | ||
395 | # Ftape, the floppy tape device driver | ||
396 | # | ||
397 | # CONFIG_AGP is not set | ||
398 | # CONFIG_DRM is not set | ||
399 | # CONFIG_RAW_DRIVER is not set | ||
400 | |||
401 | # | ||
402 | # TPM devices | ||
403 | # | ||
404 | |||
405 | # | ||
406 | # I2C support | ||
407 | # | ||
408 | # CONFIG_I2C is not set | ||
409 | |||
410 | # | ||
411 | # Dallas's 1-wire bus | ||
412 | # | ||
413 | # CONFIG_W1 is not set | ||
414 | |||
415 | # | ||
416 | # Misc devices | ||
417 | # | ||
418 | |||
419 | # | ||
420 | # Multimedia devices | ||
421 | # | ||
422 | # CONFIG_VIDEO_DEV is not set | ||
423 | |||
424 | # | ||
425 | # Digital Video Broadcasting Devices | ||
426 | # | ||
427 | # CONFIG_DVB is not set | ||
428 | |||
429 | # | ||
430 | # Graphics support | ||
431 | # | ||
432 | # CONFIG_FB is not set | ||
433 | |||
434 | # | ||
435 | # Sound | ||
436 | # | ||
437 | # CONFIG_SOUND is not set | ||
438 | |||
439 | # | ||
440 | # USB support | ||
441 | # | ||
442 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
443 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
444 | |||
445 | # | ||
446 | # USB Gadget Support | ||
447 | # | ||
448 | # CONFIG_USB_GADGET is not set | ||
449 | |||
450 | # | ||
451 | # MMC/SD Card support | ||
452 | # | ||
453 | # CONFIG_MMC is not set | ||
454 | |||
455 | # | ||
456 | # InfiniBand support | ||
457 | # | ||
458 | # CONFIG_INFINIBAND is not set | ||
459 | |||
460 | # | ||
461 | # File systems | ||
462 | # | ||
463 | # CONFIG_EXT2_FS is not set | ||
464 | CONFIG_EXT3_FS=y | ||
465 | # CONFIG_EXT3_FS_XATTR is not set | ||
466 | CONFIG_JBD=y | ||
467 | # CONFIG_JBD_DEBUG is not set | ||
468 | # CONFIG_REISERFS_FS is not set | ||
469 | # CONFIG_JFS_FS is not set | ||
470 | |||
471 | # | ||
472 | # XFS support | ||
473 | # | ||
474 | # CONFIG_XFS_FS is not set | ||
475 | # CONFIG_MINIX_FS is not set | ||
476 | # CONFIG_ROMFS_FS is not set | ||
477 | # CONFIG_QUOTA is not set | ||
478 | # CONFIG_DNOTIFY is not set | ||
479 | # CONFIG_AUTOFS_FS is not set | ||
480 | # CONFIG_AUTOFS4_FS is not set | ||
481 | |||
482 | # | ||
483 | # CD-ROM/DVD Filesystems | ||
484 | # | ||
485 | # CONFIG_ISO9660_FS is not set | ||
486 | # CONFIG_UDF_FS is not set | ||
487 | |||
488 | # | ||
489 | # DOS/FAT/NT Filesystems | ||
490 | # | ||
491 | # CONFIG_MSDOS_FS is not set | ||
492 | # CONFIG_VFAT_FS is not set | ||
493 | # CONFIG_NTFS_FS is not set | ||
494 | |||
495 | # | ||
496 | # Pseudo filesystems | ||
497 | # | ||
498 | CONFIG_PROC_FS=y | ||
499 | CONFIG_PROC_KCORE=y | ||
500 | CONFIG_SYSFS=y | ||
501 | # CONFIG_DEVFS_FS is not set | ||
502 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
503 | # CONFIG_TMPFS is not set | ||
504 | # CONFIG_HUGETLBFS is not set | ||
505 | # CONFIG_HUGETLB_PAGE is not set | ||
506 | CONFIG_RAMFS=y | ||
507 | |||
508 | # | ||
509 | # Miscellaneous filesystems | ||
510 | # | ||
511 | # CONFIG_ADFS_FS is not set | ||
512 | # CONFIG_AFFS_FS is not set | ||
513 | # CONFIG_HFS_FS is not set | ||
514 | # CONFIG_HFSPLUS_FS is not set | ||
515 | # CONFIG_BEFS_FS is not set | ||
516 | # CONFIG_BFS_FS is not set | ||
517 | # CONFIG_EFS_FS is not set | ||
518 | # CONFIG_CRAMFS is not set | ||
519 | # CONFIG_VXFS_FS is not set | ||
520 | # CONFIG_HPFS_FS is not set | ||
521 | # CONFIG_QNX4FS_FS is not set | ||
522 | # CONFIG_SYSV_FS is not set | ||
523 | # CONFIG_UFS_FS is not set | ||
524 | |||
525 | # | ||
526 | # Network File Systems | ||
527 | # | ||
528 | CONFIG_NFS_FS=y | ||
529 | CONFIG_NFS_V3=y | ||
530 | CONFIG_NFS_V4=y | ||
531 | # CONFIG_NFS_DIRECTIO is not set | ||
532 | # CONFIG_NFSD is not set | ||
533 | CONFIG_ROOT_NFS=y | ||
534 | CONFIG_LOCKD=y | ||
535 | CONFIG_LOCKD_V4=y | ||
536 | CONFIG_SUNRPC=y | ||
537 | CONFIG_SUNRPC_GSS=y | ||
538 | CONFIG_RPCSEC_GSS_KRB5=y | ||
539 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
540 | # CONFIG_SMB_FS is not set | ||
541 | # CONFIG_CIFS is not set | ||
542 | # CONFIG_NCP_FS is not set | ||
543 | # CONFIG_CODA_FS is not set | ||
544 | # CONFIG_AFS_FS is not set | ||
545 | |||
546 | # | ||
547 | # Partition Types | ||
548 | # | ||
549 | # CONFIG_PARTITION_ADVANCED is not set | ||
550 | CONFIG_MSDOS_PARTITION=y | ||
551 | |||
552 | # | ||
553 | # Native Language Support | ||
554 | # | ||
555 | # CONFIG_NLS is not set | ||
556 | |||
557 | # | ||
558 | # MPC8xx CPM Options | ||
559 | # | ||
560 | CONFIG_SCC_ENET=y | ||
561 | CONFIG_SCC1_ENET=y | ||
562 | # CONFIG_SCC2_ENET is not set | ||
563 | # CONFIG_SCC3_ENET is not set | ||
564 | # CONFIG_FEC_ENET is not set | ||
565 | # CONFIG_ENET_BIG_BUFFERS is not set | ||
566 | |||
567 | # | ||
568 | # Generic MPC8xx Options | ||
569 | # | ||
570 | # CONFIG_8xx_COPYBACK is not set | ||
571 | # CONFIG_8xx_CPU6 is not set | ||
572 | CONFIG_NO_UCODE_PATCH=y | ||
573 | # CONFIG_USB_SOF_UCODE_PATCH is not set | ||
574 | # CONFIG_I2C_SPI_UCODE_PATCH is not set | ||
575 | # CONFIG_I2C_SPI_SMC1_UCODE_PATCH is not set | ||
576 | |||
577 | # | ||
578 | # Library routines | ||
579 | # | ||
580 | # CONFIG_CRC_CCITT is not set | ||
581 | # CONFIG_CRC32 is not set | ||
582 | # CONFIG_LIBCRC32C is not set | ||
583 | |||
584 | # | ||
585 | # Profiling support | ||
586 | # | ||
587 | # CONFIG_PROFILING is not set | ||
588 | |||
589 | # | ||
590 | # Kernel hacking | ||
591 | # | ||
592 | # CONFIG_PRINTK_TIME is not set | ||
593 | # CONFIG_DEBUG_KERNEL is not set | ||
594 | CONFIG_LOG_BUF_SHIFT=14 | ||
595 | |||
596 | # | ||
597 | # Security options | ||
598 | # | ||
599 | # CONFIG_KEYS is not set | ||
600 | # CONFIG_SECURITY is not set | ||
601 | |||
602 | # | ||
603 | # Cryptographic options | ||
604 | # | ||
605 | CONFIG_CRYPTO=y | ||
606 | # CONFIG_CRYPTO_HMAC is not set | ||
607 | # CONFIG_CRYPTO_NULL is not set | ||
608 | # CONFIG_CRYPTO_MD4 is not set | ||
609 | CONFIG_CRYPTO_MD5=y | ||
610 | # CONFIG_CRYPTO_SHA1 is not set | ||
611 | # CONFIG_CRYPTO_SHA256 is not set | ||
612 | # CONFIG_CRYPTO_SHA512 is not set | ||
613 | # CONFIG_CRYPTO_WP512 is not set | ||
614 | # CONFIG_CRYPTO_TGR192 is not set | ||
615 | CONFIG_CRYPTO_DES=y | ||
616 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
617 | # CONFIG_CRYPTO_TWOFISH is not set | ||
618 | # CONFIG_CRYPTO_SERPENT is not set | ||
619 | # CONFIG_CRYPTO_AES is not set | ||
620 | # CONFIG_CRYPTO_CAST5 is not set | ||
621 | # CONFIG_CRYPTO_CAST6 is not set | ||
622 | # CONFIG_CRYPTO_TEA is not set | ||
623 | # CONFIG_CRYPTO_ARC4 is not set | ||
624 | # CONFIG_CRYPTO_KHAZAD is not set | ||
625 | # CONFIG_CRYPTO_ANUBIS is not set | ||
626 | # CONFIG_CRYPTO_DEFLATE is not set | ||
627 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
628 | # CONFIG_CRYPTO_CRC32C is not set | ||
629 | # CONFIG_CRYPTO_TEST is not set | ||
630 | |||
631 | # | ||
632 | # Hardware crypto devices | ||
633 | # | ||
diff --git a/arch/ppc/configs/mpc885ads_defconfig b/arch/ppc/configs/mpc885ads_defconfig new file mode 100644 index 000000000000..016f94d9325f --- /dev/null +++ b/arch/ppc/configs/mpc885ads_defconfig | |||
@@ -0,0 +1,622 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc6 | ||
4 | # Thu Jun 9 21:17:29 2005 | ||
5 | # | ||
6 | CONFIG_MMU=y | ||
7 | CONFIG_GENERIC_HARDIRQS=y | ||
8 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
9 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
10 | CONFIG_HAVE_DEC_LOCK=y | ||
11 | CONFIG_PPC=y | ||
12 | CONFIG_PPC32=y | ||
13 | CONFIG_GENERIC_NVRAM=y | ||
14 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
15 | |||
16 | # | ||
17 | # Code maturity level options | ||
18 | # | ||
19 | CONFIG_EXPERIMENTAL=y | ||
20 | # CONFIG_CLEAN_COMPILE is not set | ||
21 | CONFIG_BROKEN=y | ||
22 | CONFIG_BROKEN_ON_SMP=y | ||
23 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
24 | |||
25 | # | ||
26 | # General setup | ||
27 | # | ||
28 | CONFIG_LOCALVERSION="" | ||
29 | # CONFIG_SWAP is not set | ||
30 | CONFIG_SYSVIPC=y | ||
31 | # CONFIG_POSIX_MQUEUE is not set | ||
32 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
33 | CONFIG_SYSCTL=y | ||
34 | # CONFIG_AUDIT is not set | ||
35 | CONFIG_HOTPLUG=y | ||
36 | CONFIG_KOBJECT_UEVENT=y | ||
37 | # CONFIG_IKCONFIG is not set | ||
38 | CONFIG_EMBEDDED=y | ||
39 | # CONFIG_KALLSYMS is not set | ||
40 | CONFIG_PRINTK=y | ||
41 | CONFIG_BUG=y | ||
42 | CONFIG_BASE_FULL=y | ||
43 | CONFIG_FUTEX=y | ||
44 | # CONFIG_EPOLL is not set | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
46 | CONFIG_SHMEM=y | ||
47 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
48 | CONFIG_CC_ALIGN_LABELS=0 | ||
49 | CONFIG_CC_ALIGN_LOOPS=0 | ||
50 | CONFIG_CC_ALIGN_JUMPS=0 | ||
51 | # CONFIG_TINY_SHMEM is not set | ||
52 | CONFIG_BASE_SMALL=0 | ||
53 | |||
54 | # | ||
55 | # Loadable module support | ||
56 | # | ||
57 | # CONFIG_MODULES is not set | ||
58 | |||
59 | # | ||
60 | # Processor | ||
61 | # | ||
62 | # CONFIG_6xx is not set | ||
63 | # CONFIG_40x is not set | ||
64 | # CONFIG_44x is not set | ||
65 | # CONFIG_POWER3 is not set | ||
66 | # CONFIG_POWER4 is not set | ||
67 | CONFIG_8xx=y | ||
68 | # CONFIG_E500 is not set | ||
69 | # CONFIG_MATH_EMULATION is not set | ||
70 | # CONFIG_CPU_FREQ is not set | ||
71 | CONFIG_EMBEDDEDBOOT=y | ||
72 | # CONFIG_PM is not set | ||
73 | CONFIG_NOT_COHERENT_CACHE=y | ||
74 | |||
75 | # | ||
76 | # Platform options | ||
77 | # | ||
78 | # CONFIG_RPXLITE is not set | ||
79 | # CONFIG_RPXCLASSIC is not set | ||
80 | # CONFIG_BSEIP is not set | ||
81 | # CONFIG_FADS is not set | ||
82 | CONFIG_MPC885ADS=y | ||
83 | # CONFIG_TQM823L is not set | ||
84 | # CONFIG_TQM850L is not set | ||
85 | # CONFIG_TQM855L is not set | ||
86 | # CONFIG_TQM860L is not set | ||
87 | # CONFIG_FPS850L is not set | ||
88 | # CONFIG_SPD823TS is not set | ||
89 | # CONFIG_IVMS8 is not set | ||
90 | # CONFIG_IVML24 is not set | ||
91 | # CONFIG_SM850 is not set | ||
92 | # CONFIG_HERMES_PRO is not set | ||
93 | # CONFIG_IP860 is not set | ||
94 | # CONFIG_LWMON is not set | ||
95 | # CONFIG_PCU_E is not set | ||
96 | # CONFIG_CCM is not set | ||
97 | # CONFIG_LANTEC is not set | ||
98 | # CONFIG_MBX is not set | ||
99 | # CONFIG_WINCEPT is not set | ||
100 | # CONFIG_SMP is not set | ||
101 | # CONFIG_PREEMPT is not set | ||
102 | # CONFIG_HIGHMEM is not set | ||
103 | CONFIG_BINFMT_ELF=y | ||
104 | # CONFIG_BINFMT_MISC is not set | ||
105 | # CONFIG_CMDLINE_BOOL is not set | ||
106 | CONFIG_ISA_DMA_API=y | ||
107 | |||
108 | # | ||
109 | # Bus options | ||
110 | # | ||
111 | # CONFIG_PCI is not set | ||
112 | # CONFIG_PCI_DOMAINS is not set | ||
113 | # CONFIG_PCI_QSPAN is not set | ||
114 | |||
115 | # | ||
116 | # PCCARD (PCMCIA/CardBus) support | ||
117 | # | ||
118 | # CONFIG_PCCARD is not set | ||
119 | |||
120 | # | ||
121 | # Advanced setup | ||
122 | # | ||
123 | # CONFIG_ADVANCED_OPTIONS is not set | ||
124 | |||
125 | # | ||
126 | # Default settings for advanced configuration options are used | ||
127 | # | ||
128 | CONFIG_HIGHMEM_START=0xfe000000 | ||
129 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
130 | CONFIG_KERNEL_START=0xc0000000 | ||
131 | CONFIG_TASK_SIZE=0x80000000 | ||
132 | CONFIG_CONSISTENT_START=0xff100000 | ||
133 | CONFIG_CONSISTENT_SIZE=0x00200000 | ||
134 | CONFIG_BOOT_LOAD=0x00400000 | ||
135 | |||
136 | # | ||
137 | # Device Drivers | ||
138 | # | ||
139 | |||
140 | # | ||
141 | # Generic Driver Options | ||
142 | # | ||
143 | CONFIG_STANDALONE=y | ||
144 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
145 | # CONFIG_FW_LOADER is not set | ||
146 | |||
147 | # | ||
148 | # Memory Technology Devices (MTD) | ||
149 | # | ||
150 | # CONFIG_MTD is not set | ||
151 | |||
152 | # | ||
153 | # Parallel port support | ||
154 | # | ||
155 | # CONFIG_PARPORT is not set | ||
156 | |||
157 | # | ||
158 | # Plug and Play support | ||
159 | # | ||
160 | |||
161 | # | ||
162 | # Block devices | ||
163 | # | ||
164 | # CONFIG_BLK_DEV_FD is not set | ||
165 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
166 | # CONFIG_BLK_DEV_LOOP is not set | ||
167 | # CONFIG_BLK_DEV_NBD is not set | ||
168 | # CONFIG_BLK_DEV_RAM is not set | ||
169 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
170 | CONFIG_INITRAMFS_SOURCE="" | ||
171 | # CONFIG_LBD is not set | ||
172 | # CONFIG_CDROM_PKTCDVD is not set | ||
173 | |||
174 | # | ||
175 | # IO Schedulers | ||
176 | # | ||
177 | CONFIG_IOSCHED_NOOP=y | ||
178 | # CONFIG_IOSCHED_AS is not set | ||
179 | # CONFIG_IOSCHED_DEADLINE is not set | ||
180 | # CONFIG_IOSCHED_CFQ is not set | ||
181 | # CONFIG_ATA_OVER_ETH is not set | ||
182 | |||
183 | # | ||
184 | # ATA/ATAPI/MFM/RLL support | ||
185 | # | ||
186 | # CONFIG_IDE is not set | ||
187 | |||
188 | # | ||
189 | # SCSI device support | ||
190 | # | ||
191 | # CONFIG_SCSI is not set | ||
192 | |||
193 | # | ||
194 | # Multi-device support (RAID and LVM) | ||
195 | # | ||
196 | # CONFIG_MD is not set | ||
197 | |||
198 | # | ||
199 | # Fusion MPT device support | ||
200 | # | ||
201 | |||
202 | # | ||
203 | # IEEE 1394 (FireWire) support | ||
204 | # | ||
205 | # CONFIG_IEEE1394 is not set | ||
206 | |||
207 | # | ||
208 | # I2O device support | ||
209 | # | ||
210 | |||
211 | # | ||
212 | # Macintosh device drivers | ||
213 | # | ||
214 | |||
215 | # | ||
216 | # Networking support | ||
217 | # | ||
218 | CONFIG_NET=y | ||
219 | |||
220 | # | ||
221 | # Networking options | ||
222 | # | ||
223 | CONFIG_PACKET=y | ||
224 | # CONFIG_PACKET_MMAP is not set | ||
225 | CONFIG_UNIX=y | ||
226 | # CONFIG_NET_KEY is not set | ||
227 | CONFIG_INET=y | ||
228 | # CONFIG_IP_MULTICAST is not set | ||
229 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
230 | CONFIG_IP_PNP=y | ||
231 | CONFIG_IP_PNP_DHCP=y | ||
232 | CONFIG_IP_PNP_BOOTP=y | ||
233 | # CONFIG_IP_PNP_RARP is not set | ||
234 | # CONFIG_NET_IPIP is not set | ||
235 | # CONFIG_NET_IPGRE is not set | ||
236 | # CONFIG_ARPD is not set | ||
237 | # CONFIG_SYN_COOKIES is not set | ||
238 | # CONFIG_INET_AH is not set | ||
239 | # CONFIG_INET_ESP is not set | ||
240 | # CONFIG_INET_IPCOMP is not set | ||
241 | # CONFIG_INET_TUNNEL is not set | ||
242 | CONFIG_IP_TCPDIAG=y | ||
243 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
244 | # CONFIG_IPV6 is not set | ||
245 | # CONFIG_NETFILTER is not set | ||
246 | |||
247 | # | ||
248 | # SCTP Configuration (EXPERIMENTAL) | ||
249 | # | ||
250 | # CONFIG_IP_SCTP is not set | ||
251 | # CONFIG_ATM is not set | ||
252 | # CONFIG_BRIDGE is not set | ||
253 | # CONFIG_VLAN_8021Q is not set | ||
254 | # CONFIG_DECNET is not set | ||
255 | # CONFIG_LLC2 is not set | ||
256 | # CONFIG_IPX is not set | ||
257 | # CONFIG_ATALK is not set | ||
258 | # CONFIG_X25 is not set | ||
259 | # CONFIG_LAPB is not set | ||
260 | # CONFIG_NET_DIVERT is not set | ||
261 | # CONFIG_ECONET is not set | ||
262 | # CONFIG_WAN_ROUTER is not set | ||
263 | |||
264 | # | ||
265 | # QoS and/or fair queueing | ||
266 | # | ||
267 | # CONFIG_NET_SCHED is not set | ||
268 | # CONFIG_NET_CLS_ROUTE is not set | ||
269 | |||
270 | # | ||
271 | # Network testing | ||
272 | # | ||
273 | # CONFIG_NET_PKTGEN is not set | ||
274 | # CONFIG_NETPOLL is not set | ||
275 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
276 | # CONFIG_HAMRADIO is not set | ||
277 | # CONFIG_IRDA is not set | ||
278 | # CONFIG_BT is not set | ||
279 | CONFIG_NETDEVICES=y | ||
280 | # CONFIG_DUMMY is not set | ||
281 | # CONFIG_BONDING is not set | ||
282 | # CONFIG_EQUALIZER is not set | ||
283 | # CONFIG_TUN is not set | ||
284 | |||
285 | # | ||
286 | # Ethernet (10 or 100Mbit) | ||
287 | # | ||
288 | CONFIG_NET_ETHERNET=y | ||
289 | CONFIG_MII=y | ||
290 | # CONFIG_OAKNET is not set | ||
291 | |||
292 | # | ||
293 | # Ethernet (1000 Mbit) | ||
294 | # | ||
295 | |||
296 | # | ||
297 | # Ethernet (10000 Mbit) | ||
298 | # | ||
299 | |||
300 | # | ||
301 | # Token Ring devices | ||
302 | # | ||
303 | |||
304 | # | ||
305 | # Wireless LAN (non-hamradio) | ||
306 | # | ||
307 | # CONFIG_NET_RADIO is not set | ||
308 | |||
309 | # | ||
310 | # Wan interfaces | ||
311 | # | ||
312 | # CONFIG_WAN is not set | ||
313 | CONFIG_PPP=y | ||
314 | # CONFIG_PPP_MULTILINK is not set | ||
315 | # CONFIG_PPP_FILTER is not set | ||
316 | CONFIG_PPP_ASYNC=y | ||
317 | CONFIG_PPP_SYNC_TTY=y | ||
318 | CONFIG_PPP_DEFLATE=y | ||
319 | # CONFIG_PPP_BSDCOMP is not set | ||
320 | # CONFIG_PPPOE is not set | ||
321 | # CONFIG_SLIP is not set | ||
322 | # CONFIG_SHAPER is not set | ||
323 | # CONFIG_NETCONSOLE is not set | ||
324 | |||
325 | # | ||
326 | # ISDN subsystem | ||
327 | # | ||
328 | # CONFIG_ISDN is not set | ||
329 | |||
330 | # | ||
331 | # Telephony Support | ||
332 | # | ||
333 | # CONFIG_PHONE is not set | ||
334 | |||
335 | # | ||
336 | # Input device support | ||
337 | # | ||
338 | # CONFIG_INPUT is not set | ||
339 | |||
340 | # | ||
341 | # Hardware I/O ports | ||
342 | # | ||
343 | # CONFIG_SERIO is not set | ||
344 | # CONFIG_GAMEPORT is not set | ||
345 | |||
346 | # | ||
347 | # Character devices | ||
348 | # | ||
349 | # CONFIG_VT is not set | ||
350 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
351 | |||
352 | # | ||
353 | # Serial drivers | ||
354 | # | ||
355 | # CONFIG_SERIAL_8250 is not set | ||
356 | |||
357 | # | ||
358 | # Non-8250 serial port support | ||
359 | # | ||
360 | CONFIG_SERIAL_CORE=y | ||
361 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
362 | CONFIG_SERIAL_CPM=y | ||
363 | CONFIG_SERIAL_CPM_CONSOLE=y | ||
364 | # CONFIG_SERIAL_CPM_SCC1 is not set | ||
365 | # CONFIG_SERIAL_CPM_SCC2 is not set | ||
366 | # CONFIG_SERIAL_CPM_SCC3 is not set | ||
367 | # CONFIG_SERIAL_CPM_SCC4 is not set | ||
368 | CONFIG_SERIAL_CPM_SMC1=y | ||
369 | CONFIG_SERIAL_CPM_SMC2=y | ||
370 | CONFIG_UNIX98_PTYS=y | ||
371 | # CONFIG_LEGACY_PTYS is not set | ||
372 | |||
373 | # | ||
374 | # IPMI | ||
375 | # | ||
376 | # CONFIG_IPMI_HANDLER is not set | ||
377 | |||
378 | # | ||
379 | # Watchdog Cards | ||
380 | # | ||
381 | # CONFIG_WATCHDOG is not set | ||
382 | # CONFIG_NVRAM is not set | ||
383 | # CONFIG_GEN_RTC is not set | ||
384 | # CONFIG_DTLK is not set | ||
385 | # CONFIG_R3964 is not set | ||
386 | |||
387 | # | ||
388 | # Ftape, the floppy tape device driver | ||
389 | # | ||
390 | # CONFIG_AGP is not set | ||
391 | # CONFIG_DRM is not set | ||
392 | # CONFIG_RAW_DRIVER is not set | ||
393 | |||
394 | # | ||
395 | # TPM devices | ||
396 | # | ||
397 | |||
398 | # | ||
399 | # I2C support | ||
400 | # | ||
401 | # CONFIG_I2C is not set | ||
402 | |||
403 | # | ||
404 | # Dallas's 1-wire bus | ||
405 | # | ||
406 | # CONFIG_W1 is not set | ||
407 | |||
408 | # | ||
409 | # Misc devices | ||
410 | # | ||
411 | |||
412 | # | ||
413 | # Multimedia devices | ||
414 | # | ||
415 | # CONFIG_VIDEO_DEV is not set | ||
416 | |||
417 | # | ||
418 | # Digital Video Broadcasting Devices | ||
419 | # | ||
420 | # CONFIG_DVB is not set | ||
421 | |||
422 | # | ||
423 | # Graphics support | ||
424 | # | ||
425 | # CONFIG_FB is not set | ||
426 | |||
427 | # | ||
428 | # Sound | ||
429 | # | ||
430 | # CONFIG_SOUND is not set | ||
431 | |||
432 | # | ||
433 | # USB support | ||
434 | # | ||
435 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
436 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
437 | |||
438 | # | ||
439 | # USB Gadget Support | ||
440 | # | ||
441 | # CONFIG_USB_GADGET is not set | ||
442 | |||
443 | # | ||
444 | # MMC/SD Card support | ||
445 | # | ||
446 | # CONFIG_MMC is not set | ||
447 | |||
448 | # | ||
449 | # InfiniBand support | ||
450 | # | ||
451 | # CONFIG_INFINIBAND is not set | ||
452 | |||
453 | # | ||
454 | # File systems | ||
455 | # | ||
456 | CONFIG_EXT2_FS=y | ||
457 | CONFIG_EXT2_FS_XATTR=y | ||
458 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
459 | # CONFIG_EXT2_FS_SECURITY is not set | ||
460 | CONFIG_EXT3_FS=y | ||
461 | CONFIG_EXT3_FS_XATTR=y | ||
462 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
463 | # CONFIG_EXT3_FS_SECURITY is not set | ||
464 | CONFIG_JBD=y | ||
465 | # CONFIG_JBD_DEBUG is not set | ||
466 | CONFIG_FS_MBCACHE=y | ||
467 | # CONFIG_REISERFS_FS is not set | ||
468 | # CONFIG_JFS_FS is not set | ||
469 | |||
470 | # | ||
471 | # XFS support | ||
472 | # | ||
473 | # CONFIG_XFS_FS is not set | ||
474 | # CONFIG_MINIX_FS is not set | ||
475 | # CONFIG_ROMFS_FS is not set | ||
476 | # CONFIG_QUOTA is not set | ||
477 | # CONFIG_DNOTIFY is not set | ||
478 | # CONFIG_AUTOFS_FS is not set | ||
479 | # CONFIG_AUTOFS4_FS is not set | ||
480 | |||
481 | # | ||
482 | # CD-ROM/DVD Filesystems | ||
483 | # | ||
484 | # CONFIG_ISO9660_FS is not set | ||
485 | # CONFIG_UDF_FS is not set | ||
486 | |||
487 | # | ||
488 | # DOS/FAT/NT Filesystems | ||
489 | # | ||
490 | # CONFIG_MSDOS_FS is not set | ||
491 | # CONFIG_VFAT_FS is not set | ||
492 | # CONFIG_NTFS_FS is not set | ||
493 | |||
494 | # | ||
495 | # Pseudo filesystems | ||
496 | # | ||
497 | CONFIG_PROC_FS=y | ||
498 | # CONFIG_PROC_KCORE is not set | ||
499 | CONFIG_SYSFS=y | ||
500 | # CONFIG_DEVFS_FS is not set | ||
501 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
502 | # CONFIG_TMPFS is not set | ||
503 | # CONFIG_HUGETLBFS is not set | ||
504 | # CONFIG_HUGETLB_PAGE is not set | ||
505 | CONFIG_RAMFS=y | ||
506 | |||
507 | # | ||
508 | # Miscellaneous filesystems | ||
509 | # | ||
510 | # CONFIG_ADFS_FS is not set | ||
511 | # CONFIG_AFFS_FS is not set | ||
512 | # CONFIG_HFS_FS is not set | ||
513 | # CONFIG_HFSPLUS_FS is not set | ||
514 | # CONFIG_BEFS_FS is not set | ||
515 | # CONFIG_BFS_FS is not set | ||
516 | # CONFIG_EFS_FS is not set | ||
517 | # CONFIG_CRAMFS is not set | ||
518 | # CONFIG_VXFS_FS is not set | ||
519 | # CONFIG_HPFS_FS is not set | ||
520 | # CONFIG_QNX4FS_FS is not set | ||
521 | # CONFIG_SYSV_FS is not set | ||
522 | # CONFIG_UFS_FS is not set | ||
523 | |||
524 | # | ||
525 | # Network File Systems | ||
526 | # | ||
527 | CONFIG_NFS_FS=y | ||
528 | # CONFIG_NFS_V3 is not set | ||
529 | # CONFIG_NFS_V4 is not set | ||
530 | # CONFIG_NFS_DIRECTIO is not set | ||
531 | # CONFIG_NFSD is not set | ||
532 | CONFIG_ROOT_NFS=y | ||
533 | CONFIG_LOCKD=y | ||
534 | CONFIG_SUNRPC=y | ||
535 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
536 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
537 | # CONFIG_SMB_FS is not set | ||
538 | # CONFIG_CIFS is not set | ||
539 | # CONFIG_NCP_FS is not set | ||
540 | # CONFIG_CODA_FS is not set | ||
541 | # CONFIG_AFS_FS is not set | ||
542 | |||
543 | # | ||
544 | # Partition Types | ||
545 | # | ||
546 | CONFIG_PARTITION_ADVANCED=y | ||
547 | # CONFIG_ACORN_PARTITION is not set | ||
548 | # CONFIG_OSF_PARTITION is not set | ||
549 | # CONFIG_AMIGA_PARTITION is not set | ||
550 | # CONFIG_ATARI_PARTITION is not set | ||
551 | # CONFIG_MAC_PARTITION is not set | ||
552 | CONFIG_MSDOS_PARTITION=y | ||
553 | # CONFIG_BSD_DISKLABEL is not set | ||
554 | # CONFIG_MINIX_SUBPARTITION is not set | ||
555 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
556 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
557 | # CONFIG_LDM_PARTITION is not set | ||
558 | # CONFIG_SGI_PARTITION is not set | ||
559 | # CONFIG_ULTRIX_PARTITION is not set | ||
560 | # CONFIG_SUN_PARTITION is not set | ||
561 | # CONFIG_EFI_PARTITION is not set | ||
562 | |||
563 | # | ||
564 | # Native Language Support | ||
565 | # | ||
566 | # CONFIG_NLS is not set | ||
567 | |||
568 | # | ||
569 | # MPC8xx CPM Options | ||
570 | # | ||
571 | CONFIG_SCC_ENET=y | ||
572 | # CONFIG_SCC1_ENET is not set | ||
573 | # CONFIG_SCC2_ENET is not set | ||
574 | CONFIG_SCC3_ENET=y | ||
575 | # CONFIG_FEC_ENET is not set | ||
576 | # CONFIG_ENET_BIG_BUFFERS is not set | ||
577 | |||
578 | # | ||
579 | # Generic MPC8xx Options | ||
580 | # | ||
581 | CONFIG_8xx_COPYBACK=y | ||
582 | CONFIG_8xx_CPU6=y | ||
583 | CONFIG_NO_UCODE_PATCH=y | ||
584 | # CONFIG_USB_SOF_UCODE_PATCH is not set | ||
585 | # CONFIG_I2C_SPI_UCODE_PATCH is not set | ||
586 | # CONFIG_I2C_SPI_SMC1_UCODE_PATCH is not set | ||
587 | |||
588 | # | ||
589 | # Library routines | ||
590 | # | ||
591 | CONFIG_CRC_CCITT=y | ||
592 | # CONFIG_CRC32 is not set | ||
593 | # CONFIG_LIBCRC32C is not set | ||
594 | CONFIG_ZLIB_INFLATE=y | ||
595 | CONFIG_ZLIB_DEFLATE=y | ||
596 | |||
597 | # | ||
598 | # Profiling support | ||
599 | # | ||
600 | # CONFIG_PROFILING is not set | ||
601 | |||
602 | # | ||
603 | # Kernel hacking | ||
604 | # | ||
605 | # CONFIG_PRINTK_TIME is not set | ||
606 | # CONFIG_DEBUG_KERNEL is not set | ||
607 | CONFIG_LOG_BUF_SHIFT=14 | ||
608 | |||
609 | # | ||
610 | # Security options | ||
611 | # | ||
612 | # CONFIG_KEYS is not set | ||
613 | # CONFIG_SECURITY is not set | ||
614 | |||
615 | # | ||
616 | # Cryptographic options | ||
617 | # | ||
618 | # CONFIG_CRYPTO is not set | ||
619 | |||
620 | # | ||
621 | # Hardware crypto devices | ||
622 | # | ||
diff --git a/arch/ppc/kernel/time.c b/arch/ppc/kernel/time.c index 735866559199..bf4ddca5e853 100644 --- a/arch/ppc/kernel/time.c +++ b/arch/ppc/kernel/time.c | |||
@@ -89,6 +89,9 @@ unsigned long tb_to_ns_scale; | |||
89 | 89 | ||
90 | extern unsigned long wall_jiffies; | 90 | extern unsigned long wall_jiffies; |
91 | 91 | ||
92 | /* used for timezone offset */ | ||
93 | static long timezone_offset; | ||
94 | |||
92 | DEFINE_SPINLOCK(rtc_lock); | 95 | DEFINE_SPINLOCK(rtc_lock); |
93 | 96 | ||
94 | EXPORT_SYMBOL(rtc_lock); | 97 | EXPORT_SYMBOL(rtc_lock); |
@@ -170,7 +173,7 @@ void timer_interrupt(struct pt_regs * regs) | |||
170 | xtime.tv_sec - last_rtc_update >= 659 && | 173 | xtime.tv_sec - last_rtc_update >= 659 && |
171 | abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ && | 174 | abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ && |
172 | jiffies - wall_jiffies == 1) { | 175 | jiffies - wall_jiffies == 1) { |
173 | if (ppc_md.set_rtc_time(xtime.tv_sec+1 + time_offset) == 0) | 176 | if (ppc_md.set_rtc_time(xtime.tv_sec+1 + timezone_offset) == 0) |
174 | last_rtc_update = xtime.tv_sec+1; | 177 | last_rtc_update = xtime.tv_sec+1; |
175 | else | 178 | else |
176 | /* Try again one minute later */ | 179 | /* Try again one minute later */ |
@@ -286,7 +289,7 @@ void __init time_init(void) | |||
286 | unsigned old_stamp, stamp, elapsed; | 289 | unsigned old_stamp, stamp, elapsed; |
287 | 290 | ||
288 | if (ppc_md.time_init != NULL) | 291 | if (ppc_md.time_init != NULL) |
289 | time_offset = ppc_md.time_init(); | 292 | timezone_offset = ppc_md.time_init(); |
290 | 293 | ||
291 | if (__USE_RTC()) { | 294 | if (__USE_RTC()) { |
292 | /* 601 processor: dec counts down by 128 every 128ns */ | 295 | /* 601 processor: dec counts down by 128 every 128ns */ |
@@ -331,10 +334,10 @@ void __init time_init(void) | |||
331 | set_dec(tb_ticks_per_jiffy); | 334 | set_dec(tb_ticks_per_jiffy); |
332 | 335 | ||
333 | /* If platform provided a timezone (pmac), we correct the time */ | 336 | /* If platform provided a timezone (pmac), we correct the time */ |
334 | if (time_offset) { | 337 | if (timezone_offset) { |
335 | sys_tz.tz_minuteswest = -time_offset / 60; | 338 | sys_tz.tz_minuteswest = -timezone_offset / 60; |
336 | sys_tz.tz_dsttime = 0; | 339 | sys_tz.tz_dsttime = 0; |
337 | xtime.tv_sec -= time_offset; | 340 | xtime.tv_sec -= timezone_offset; |
338 | } | 341 | } |
339 | set_normalized_timespec(&wall_to_monotonic, | 342 | set_normalized_timespec(&wall_to_monotonic, |
340 | -xtime.tv_sec, -xtime.tv_nsec); | 343 | -xtime.tv_sec, -xtime.tv_nsec); |
diff --git a/arch/ppc/platforms/fads.h b/arch/ppc/platforms/fads.h index 632b8178ce66..b60c56450b67 100644 --- a/arch/ppc/platforms/fads.h +++ b/arch/ppc/platforms/fads.h | |||
@@ -3,7 +3,18 @@ | |||
3 | * the Motorola 860T FADS board. Copied from the MBX stuff. | 3 | * the Motorola 860T FADS board. Copied from the MBX stuff. |
4 | * | 4 | * |
5 | * Copyright (c) 1998 Dan Malek (dmalek@jlc.net) | 5 | * Copyright (c) 1998 Dan Malek (dmalek@jlc.net) |
6 | * | ||
7 | * Added MPC86XADS support. | ||
8 | * The MPC86xADS manual says the board "is compatible with the MPC8xxFADS | ||
9 | * for SW point of view". This is 99% correct. | ||
10 | * | ||
11 | * Author: MontaVista Software, Inc. | ||
12 | * source@mvista.com | ||
13 | * 2005 (c) MontaVista Software, Inc. This file is licensed under the | ||
14 | * terms of the GNU General Public License version 2. This program is licensed | ||
15 | * "as is" without any warranty of any kind, whether express or implied. | ||
6 | */ | 16 | */ |
17 | |||
7 | #ifdef __KERNEL__ | 18 | #ifdef __KERNEL__ |
8 | #ifndef __ASM_FADS_H__ | 19 | #ifndef __ASM_FADS_H__ |
9 | #define __ASM_FADS_H__ | 20 | #define __ASM_FADS_H__ |
@@ -12,18 +23,45 @@ | |||
12 | 23 | ||
13 | #include <asm/ppcboot.h> | 24 | #include <asm/ppcboot.h> |
14 | 25 | ||
26 | #if defined(CONFIG_MPC86XADS) | ||
27 | |||
28 | /* U-Boot maps BCSR to 0xff080000 */ | ||
29 | #define BCSR_ADDR ((uint)0xff080000) | ||
30 | |||
31 | /* MPC86XADS has one more CPLD and an additional BCSR. | ||
32 | */ | ||
33 | #define CFG_PHYDEV_ADDR ((uint)0xff0a0000) | ||
34 | #define BCSR5 ((uint)(CFG_PHYDEV_ADDR + 0x300)) | ||
35 | |||
36 | #define BCSR5_T1_RST 0x10 | ||
37 | #define BCSR5_ATM155_RST 0x08 | ||
38 | #define BCSR5_ATM25_RST 0x04 | ||
39 | #define BCSR5_MII1_EN 0x02 | ||
40 | #define BCSR5_MII1_RST 0x01 | ||
41 | |||
42 | /* There is no PHY link change interrupt */ | ||
43 | #define PHY_INTERRUPT (-1) | ||
44 | |||
45 | #else /* FADS */ | ||
46 | |||
15 | /* Memory map is configured by the PROM startup. | 47 | /* Memory map is configured by the PROM startup. |
16 | * I tried to follow the FADS manual, although the startup PROM | 48 | * I tried to follow the FADS manual, although the startup PROM |
17 | * dictates this and we simply have to move some of the physical | 49 | * dictates this and we simply have to move some of the physical |
18 | * addresses for Linux. | 50 | * addresses for Linux. |
19 | */ | 51 | */ |
20 | #define BCSR_ADDR ((uint)0xff010000) | 52 | #define BCSR_ADDR ((uint)0xff010000) |
53 | |||
54 | /* PHY link change interrupt */ | ||
55 | #define PHY_INTERRUPT SIU_IRQ2 | ||
56 | |||
57 | #endif /* CONFIG_MPC86XADS */ | ||
58 | |||
21 | #define BCSR_SIZE ((uint)(64 * 1024)) | 59 | #define BCSR_SIZE ((uint)(64 * 1024)) |
22 | #define BCSR0 ((uint)0xff010000) | 60 | #define BCSR0 ((uint)(BCSR_ADDR + 0x00)) |
23 | #define BCSR1 ((uint)0xff010004) | 61 | #define BCSR1 ((uint)(BCSR_ADDR + 0x04)) |
24 | #define BCSR2 ((uint)0xff010008) | 62 | #define BCSR2 ((uint)(BCSR_ADDR + 0x08)) |
25 | #define BCSR3 ((uint)0xff01000c) | 63 | #define BCSR3 ((uint)(BCSR_ADDR + 0x0c)) |
26 | #define BCSR4 ((uint)0xff010010) | 64 | #define BCSR4 ((uint)(BCSR_ADDR + 0x10)) |
27 | 65 | ||
28 | #define IMAP_ADDR ((uint)0xff000000) | 66 | #define IMAP_ADDR ((uint)0xff000000) |
29 | #define IMAP_SIZE ((uint)(64 * 1024)) | 67 | #define IMAP_SIZE ((uint)(64 * 1024)) |
@@ -34,8 +72,17 @@ | |||
34 | /* Bits of interest in the BCSRs. | 72 | /* Bits of interest in the BCSRs. |
35 | */ | 73 | */ |
36 | #define BCSR1_ETHEN ((uint)0x20000000) | 74 | #define BCSR1_ETHEN ((uint)0x20000000) |
75 | #define BCSR1_IRDAEN ((uint)0x10000000) | ||
37 | #define BCSR1_RS232EN_1 ((uint)0x01000000) | 76 | #define BCSR1_RS232EN_1 ((uint)0x01000000) |
77 | #define BCSR1_PCCEN ((uint)0x00800000) | ||
78 | #define BCSR1_PCCVCC0 ((uint)0x00400000) | ||
79 | #define BCSR1_PCCVPP0 ((uint)0x00200000) | ||
80 | #define BCSR1_PCCVPP1 ((uint)0x00100000) | ||
81 | #define BCSR1_PCCVPP_MASK (BCSR1_PCCVPP0 | BCSR1_PCCVPP1) | ||
38 | #define BCSR1_RS232EN_2 ((uint)0x00040000) | 82 | #define BCSR1_RS232EN_2 ((uint)0x00040000) |
83 | #define BCSR1_PCCVCC1 ((uint)0x00010000) | ||
84 | #define BCSR1_PCCVCC_MASK (BCSR1_PCCVCC0 | BCSR1_PCCVCC1) | ||
85 | |||
39 | #define BCSR4_ETHLOOP ((uint)0x80000000) /* EEST Loopback */ | 86 | #define BCSR4_ETHLOOP ((uint)0x80000000) /* EEST Loopback */ |
40 | #define BCSR4_EEFDX ((uint)0x40000000) /* EEST FDX enable */ | 87 | #define BCSR4_EEFDX ((uint)0x40000000) /* EEST FDX enable */ |
41 | #define BCSR4_FETH_EN ((uint)0x08000000) /* PHY enable */ | 88 | #define BCSR4_FETH_EN ((uint)0x08000000) /* PHY enable */ |
@@ -44,14 +91,64 @@ | |||
44 | #define BCSR4_FETHFDE ((uint)0x02000000) /* PHY FDX advertise */ | 91 | #define BCSR4_FETHFDE ((uint)0x02000000) /* PHY FDX advertise */ |
45 | #define BCSR4_FETHRST ((uint)0x00200000) /* PHY Reset */ | 92 | #define BCSR4_FETHRST ((uint)0x00200000) /* PHY Reset */ |
46 | 93 | ||
94 | /* IO_BASE definition for pcmcia. | ||
95 | */ | ||
96 | #define _IO_BASE 0x80000000 | ||
97 | #define _IO_BASE_SIZE 0x1000 | ||
98 | |||
99 | #ifdef CONFIG_IDE | ||
100 | #define MAX_HWIFS 1 | ||
101 | #endif | ||
102 | |||
47 | /* Interrupt level assignments. | 103 | /* Interrupt level assignments. |
48 | */ | 104 | */ |
49 | #define FEC_INTERRUPT SIU_LEVEL1 /* FEC interrupt */ | 105 | #define FEC_INTERRUPT SIU_LEVEL1 /* FEC interrupt */ |
50 | #define PHY_INTERRUPT SIU_IRQ2 /* PHY link change interrupt */ | ||
51 | 106 | ||
52 | /* We don't use the 8259. | 107 | /* We don't use the 8259. |
53 | */ | 108 | */ |
54 | #define NR_8259_INTS 0 | 109 | #define NR_8259_INTS 0 |
55 | 110 | ||
111 | /* CPM Ethernet through SCC1 or SCC2 */ | ||
112 | |||
113 | #ifdef CONFIG_SCC1_ENET /* Probably 860 variant */ | ||
114 | /* Bits in parallel I/O port registers that have to be set/cleared | ||
115 | * to configure the pins for SCC1 use. | ||
116 | * TCLK - CLK1, RCLK - CLK2. | ||
117 | */ | ||
118 | #define PA_ENET_RXD ((ushort)0x0001) | ||
119 | #define PA_ENET_TXD ((ushort)0x0002) | ||
120 | #define PA_ENET_TCLK ((ushort)0x0100) | ||
121 | #define PA_ENET_RCLK ((ushort)0x0200) | ||
122 | #define PB_ENET_TENA ((uint)0x00001000) | ||
123 | #define PC_ENET_CLSN ((ushort)0x0010) | ||
124 | #define PC_ENET_RENA ((ushort)0x0020) | ||
125 | |||
126 | /* Control bits in the SICR to route TCLK (CLK1) and RCLK (CLK2) to | ||
127 | * SCC1. Also, make sure GR1 (bit 24) and SC1 (bit 25) are zero. | ||
128 | */ | ||
129 | #define SICR_ENET_MASK ((uint)0x000000ff) | ||
130 | #define SICR_ENET_CLKRT ((uint)0x0000002c) | ||
131 | #endif /* CONFIG_SCC1_ENET */ | ||
132 | |||
133 | #ifdef CONFIG_SCC2_ENET /* Probably 823/850 variant */ | ||
134 | /* Bits in parallel I/O port registers that have to be set/cleared | ||
135 | * to configure the pins for SCC1 use. | ||
136 | * TCLK - CLK1, RCLK - CLK2. | ||
137 | */ | ||
138 | #define PA_ENET_RXD ((ushort)0x0004) | ||
139 | #define PA_ENET_TXD ((ushort)0x0008) | ||
140 | #define PA_ENET_TCLK ((ushort)0x0400) | ||
141 | #define PA_ENET_RCLK ((ushort)0x0200) | ||
142 | #define PB_ENET_TENA ((uint)0x00002000) | ||
143 | #define PC_ENET_CLSN ((ushort)0x0040) | ||
144 | #define PC_ENET_RENA ((ushort)0x0080) | ||
145 | |||
146 | /* Control bits in the SICR to route TCLK and RCLK to | ||
147 | * SCC2. Also, make sure GR1 (bit 24) and SC1 (bit 25) are zero. | ||
148 | */ | ||
149 | #define SICR_ENET_MASK ((uint)0x0000ff00) | ||
150 | #define SICR_ENET_CLKRT ((uint)0x00002e00) | ||
151 | #endif /* CONFIG_SCC2_ENET */ | ||
152 | |||
56 | #endif /* __ASM_FADS_H__ */ | 153 | #endif /* __ASM_FADS_H__ */ |
57 | #endif /* __KERNEL__ */ | 154 | #endif /* __KERNEL__ */ |
diff --git a/arch/ppc/platforms/mpc885ads.h b/arch/ppc/platforms/mpc885ads.h new file mode 100644 index 000000000000..eb386635b0fd --- /dev/null +++ b/arch/ppc/platforms/mpc885ads.h | |||
@@ -0,0 +1,92 @@ | |||
1 | /* | ||
2 | * A collection of structures, addresses, and values associated with | ||
3 | * the Freescale MPC885ADS board. | ||
4 | * Copied from the FADS stuff. | ||
5 | * | ||
6 | * Author: MontaVista Software, Inc. | ||
7 | * source@mvista.com | ||
8 | * | ||
9 | * 2005 (c) MontaVista Software, Inc. This file is licensed under the | ||
10 | * terms of the GNU General Public License version 2. This program is licensed | ||
11 | * "as is" without any warranty of any kind, whether express or implied. | ||
12 | */ | ||
13 | |||
14 | #ifdef __KERNEL__ | ||
15 | #ifndef __ASM_MPC885ADS_H__ | ||
16 | #define __ASM_MPC885ADS_H__ | ||
17 | |||
18 | #include <linux/config.h> | ||
19 | |||
20 | #include <asm/ppcboot.h> | ||
21 | |||
22 | /* U-Boot maps BCSR to 0xff080000 */ | ||
23 | #define BCSR_ADDR ((uint)0xff080000) | ||
24 | #define BCSR_SIZE ((uint)32) | ||
25 | #define BCSR0 ((uint)(BCSR_ADDR + 0x00)) | ||
26 | #define BCSR1 ((uint)(BCSR_ADDR + 0x04)) | ||
27 | #define BCSR2 ((uint)(BCSR_ADDR + 0x08)) | ||
28 | #define BCSR3 ((uint)(BCSR_ADDR + 0x0c)) | ||
29 | #define BCSR4 ((uint)(BCSR_ADDR + 0x10)) | ||
30 | |||
31 | #define CFG_PHYDEV_ADDR ((uint)0xff0a0000) | ||
32 | #define BCSR5 ((uint)(CFG_PHYDEV_ADDR + 0x300)) | ||
33 | |||
34 | #define IMAP_ADDR ((uint)0xff000000) | ||
35 | #define IMAP_SIZE ((uint)(64 * 1024)) | ||
36 | |||
37 | #define PCMCIA_MEM_ADDR ((uint)0xff020000) | ||
38 | #define PCMCIA_MEM_SIZE ((uint)(64 * 1024)) | ||
39 | |||
40 | /* Bits of interest in the BCSRs. | ||
41 | */ | ||
42 | #define BCSR1_ETHEN ((uint)0x20000000) | ||
43 | #define BCSR1_IRDAEN ((uint)0x10000000) | ||
44 | #define BCSR1_RS232EN_1 ((uint)0x01000000) | ||
45 | #define BCSR1_PCCEN ((uint)0x00800000) | ||
46 | #define BCSR1_PCCVCC0 ((uint)0x00400000) | ||
47 | #define BCSR1_PCCVPP0 ((uint)0x00200000) | ||
48 | #define BCSR1_PCCVPP1 ((uint)0x00100000) | ||
49 | #define BCSR1_PCCVPP_MASK (BCSR1_PCCVPP0 | BCSR1_PCCVPP1) | ||
50 | #define BCSR1_RS232EN_2 ((uint)0x00040000) | ||
51 | #define BCSR1_PCCVCC1 ((uint)0x00010000) | ||
52 | #define BCSR1_PCCVCC_MASK (BCSR1_PCCVCC0 | BCSR1_PCCVCC1) | ||
53 | |||
54 | #define BCSR4_ETH10_RST ((uint)0x80000000) /* 10Base-T PHY reset*/ | ||
55 | #define BCSR4_USB_LO_SPD ((uint)0x04000000) | ||
56 | #define BCSR4_USB_VCC ((uint)0x02000000) | ||
57 | #define BCSR4_USB_FULL_SPD ((uint)0x00040000) | ||
58 | #define BCSR4_USB_EN ((uint)0x00020000) | ||
59 | |||
60 | #define BCSR5_MII2_EN 0x40 | ||
61 | #define BCSR5_MII2_RST 0x20 | ||
62 | #define BCSR5_T1_RST 0x10 | ||
63 | #define BCSR5_ATM155_RST 0x08 | ||
64 | #define BCSR5_ATM25_RST 0x04 | ||
65 | #define BCSR5_MII1_EN 0x02 | ||
66 | #define BCSR5_MII1_RST 0x01 | ||
67 | |||
68 | /* Interrupt level assignments */ | ||
69 | #define PHY_INTERRUPT SIU_IRQ7 /* PHY link change interrupt */ | ||
70 | #define SIU_INT_FEC1 SIU_LEVEL1 /* FEC1 interrupt */ | ||
71 | #define SIU_INT_FEC2 SIU_LEVEL3 /* FEC2 interrupt */ | ||
72 | #define FEC_INTERRUPT SIU_INT_FEC1 /* FEC interrupt */ | ||
73 | |||
74 | /* We don't use the 8259 */ | ||
75 | #define NR_8259_INTS 0 | ||
76 | |||
77 | /* CPM Ethernet through SCC3 */ | ||
78 | #define PA_ENET_RXD ((ushort)0x0040) | ||
79 | #define PA_ENET_TXD ((ushort)0x0080) | ||
80 | #define PE_ENET_TCLK ((uint)0x00004000) | ||
81 | #define PE_ENET_RCLK ((uint)0x00008000) | ||
82 | #define PE_ENET_TENA ((uint)0x00000010) | ||
83 | #define PC_ENET_CLSN ((ushort)0x0400) | ||
84 | #define PC_ENET_RENA ((ushort)0x0800) | ||
85 | |||
86 | /* Control bits in the SICR to route TCLK (CLK5) and RCLK (CLK6) to | ||
87 | * SCC3. Also, make sure GR3 (bit 8) and SC3 (bit 9) are zero */ | ||
88 | #define SICR_ENET_MASK ((uint)0x00ff0000) | ||
89 | #define SICR_ENET_CLKRT ((uint)0x002c0000) | ||
90 | |||
91 | #endif /* __ASM_MPC885ADS_H__ */ | ||
92 | #endif /* __KERNEL__ */ | ||
diff --git a/arch/ppc/syslib/ppc4xx_pic.c b/arch/ppc/syslib/ppc4xx_pic.c index 05686fa73545..40086212b9c3 100644 --- a/arch/ppc/syslib/ppc4xx_pic.c +++ b/arch/ppc/syslib/ppc4xx_pic.c | |||
@@ -110,6 +110,10 @@ static int ppc4xx_pic_get_irq(struct pt_regs *regs) | |||
110 | 110 | ||
111 | static void __init ppc4xx_pic_impl_init(void) | 111 | static void __init ppc4xx_pic_impl_init(void) |
112 | { | 112 | { |
113 | #if defined(CONFIG_440GX) | ||
114 | /* Disable 440GP compatibility mode if it was enabled in firmware */ | ||
115 | SDR_WRITE(DCRN_SDR_MFR, SDR_READ(DCRN_SDR_MFR) & ~DCRN_SDR_MFR_PCM); | ||
116 | #endif | ||
113 | /* Configure Base UIC */ | 117 | /* Configure Base UIC */ |
114 | mtdcr(DCRN_UIC_CR(UICB), 0); | 118 | mtdcr(DCRN_UIC_CR(UICB), 0); |
115 | mtdcr(DCRN_UIC_TR(UICB), 0); | 119 | mtdcr(DCRN_UIC_TR(UICB), 0); |
diff --git a/arch/ppc64/kernel/kprobes.c b/arch/ppc64/kernel/kprobes.c index 1d2ff6d6b0b3..a3d519518fb8 100644 --- a/arch/ppc64/kernel/kprobes.c +++ b/arch/ppc64/kernel/kprobes.c | |||
@@ -444,7 +444,7 @@ static struct kprobe trampoline_p = { | |||
444 | .pre_handler = trampoline_probe_handler | 444 | .pre_handler = trampoline_probe_handler |
445 | }; | 445 | }; |
446 | 446 | ||
447 | int __init arch_init(void) | 447 | int __init arch_init_kprobes(void) |
448 | { | 448 | { |
449 | return register_kprobe(&trampoline_p); | 449 | return register_kprobe(&trampoline_p); |
450 | } | 450 | } |
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index e2b050eb3b96..d78bc13ebbb9 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig | |||
@@ -444,6 +444,24 @@ config PRINTER | |||
444 | If you have more than 8 printers, you need to increase the LP_NO | 444 | If you have more than 8 printers, you need to increase the LP_NO |
445 | macro in lp.c and the PARPORT_MAX macro in parport.h. | 445 | macro in lp.c and the PARPORT_MAX macro in parport.h. |
446 | 446 | ||
447 | config PPDEV | ||
448 | tristate "Support for user-space parallel port device drivers" | ||
449 | depends on PARPORT | ||
450 | ---help--- | ||
451 | Saying Y to this adds support for /dev/parport device nodes. This | ||
452 | is needed for programs that want portable access to the parallel | ||
453 | port, for instance deviceid (which displays Plug-and-Play device | ||
454 | IDs). | ||
455 | |||
456 | This is the parallel port equivalent of SCSI generic support (sg). | ||
457 | It is safe to say N to this -- it is not needed for normal printing | ||
458 | or parallel port CD-ROM/disk support. | ||
459 | |||
460 | To compile this driver as a module, choose M here: the | ||
461 | module will be called ppdev. | ||
462 | |||
463 | If unsure, say N. | ||
464 | |||
447 | config ENVCTRL | 465 | config ENVCTRL |
448 | tristate "SUNW, envctrl support" | 466 | tristate "SUNW, envctrl support" |
449 | depends on PCI | 467 | depends on PCI |
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index eee516a71c14..d3973d8a7195 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -553,13 +553,11 @@ do_ivec: | |||
553 | sllx %g3, 5, %g3 | 553 | sllx %g3, 5, %g3 |
554 | or %g2, %lo(ivector_table), %g2 | 554 | or %g2, %lo(ivector_table), %g2 |
555 | add %g2, %g3, %g3 | 555 | add %g2, %g3, %g3 |
556 | ldx [%g3 + 0x08], %g2 /* irq_info */ | ||
557 | ldub [%g3 + 0x04], %g4 /* pil */ | 556 | ldub [%g3 + 0x04], %g4 /* pil */ |
558 | brz,pn %g2, do_ivec_spurious | 557 | mov 1, %g2 |
559 | mov 1, %g2 | ||
560 | |||
561 | sllx %g2, %g4, %g2 | 558 | sllx %g2, %g4, %g2 |
562 | sllx %g4, 2, %g4 | 559 | sllx %g4, 2, %g4 |
560 | |||
563 | lduw [%g6 + %g4], %g5 /* g5 = irq_work(cpu, pil) */ | 561 | lduw [%g6 + %g4], %g5 /* g5 = irq_work(cpu, pil) */ |
564 | stw %g5, [%g3 + 0x00] /* bucket->irq_chain = g5 */ | 562 | stw %g5, [%g3 + 0x00] /* bucket->irq_chain = g5 */ |
565 | stw %g3, [%g6 + %g4] /* irq_work(cpu, pil) = bucket */ | 563 | stw %g3, [%g6 + %g4] /* irq_work(cpu, pil) = bucket */ |
@@ -567,9 +565,9 @@ do_ivec: | |||
567 | retry | 565 | retry |
568 | do_ivec_xcall: | 566 | do_ivec_xcall: |
569 | mov 0x50, %g1 | 567 | mov 0x50, %g1 |
570 | |||
571 | ldxa [%g1 + %g0] ASI_INTR_R, %g1 | 568 | ldxa [%g1 + %g0] ASI_INTR_R, %g1 |
572 | srl %g3, 0, %g3 | 569 | srl %g3, 0, %g3 |
570 | |||
573 | mov 0x60, %g7 | 571 | mov 0x60, %g7 |
574 | ldxa [%g7 + %g0] ASI_INTR_R, %g7 | 572 | ldxa [%g7 + %g0] ASI_INTR_R, %g7 |
575 | stxa %g0, [%g0] ASI_INTR_RECEIVE | 573 | stxa %g0, [%g0] ASI_INTR_RECEIVE |
@@ -581,19 +579,6 @@ do_ivec_xcall: | |||
581 | 1: jmpl %g3, %g0 | 579 | 1: jmpl %g3, %g0 |
582 | nop | 580 | nop |
583 | 581 | ||
584 | do_ivec_spurious: | ||
585 | stw %g3, [%g6 + 0x00] /* irq_work(cpu, 0) = bucket */ | ||
586 | rdpr %pstate, %g5 | ||
587 | |||
588 | wrpr %g5, PSTATE_IG | PSTATE_AG, %pstate | ||
589 | sethi %hi(109f), %g7 | ||
590 | ba,pt %xcc, etrap | ||
591 | 109: or %g7, %lo(109b), %g7 | ||
592 | call catch_disabled_ivec | ||
593 | add %sp, PTREGS_OFF, %o0 | ||
594 | ba,pt %xcc, rtrap | ||
595 | clr %l6 | ||
596 | |||
597 | .globl save_alternate_globals | 582 | .globl save_alternate_globals |
598 | save_alternate_globals: /* %o0 = save_area */ | 583 | save_alternate_globals: /* %o0 = save_area */ |
599 | rdpr %pstate, %o5 | 584 | rdpr %pstate, %o5 |
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 424712577307..74a2e0808cbc 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
@@ -71,31 +71,7 @@ struct irq_work_struct { | |||
71 | struct irq_work_struct __irq_work[NR_CPUS]; | 71 | struct irq_work_struct __irq_work[NR_CPUS]; |
72 | #define irq_work(__cpu, __pil) &(__irq_work[(__cpu)].irq_worklists[(__pil)]) | 72 | #define irq_work(__cpu, __pil) &(__irq_work[(__cpu)].irq_worklists[(__pil)]) |
73 | 73 | ||
74 | #ifdef CONFIG_PCI | 74 | static struct irqaction *irq_action[NR_IRQS+1]; |
75 | /* This is a table of physical addresses used to deal with IBF_DMA_SYNC. | ||
76 | * It is used for PCI only to synchronize DMA transfers with IRQ delivery | ||
77 | * for devices behind busses other than APB on Sabre systems. | ||
78 | * | ||
79 | * Currently these physical addresses are just config space accesses | ||
80 | * to the command register for that device. | ||
81 | */ | ||
82 | unsigned long pci_dma_wsync; | ||
83 | unsigned long dma_sync_reg_table[256]; | ||
84 | unsigned char dma_sync_reg_table_entry = 0; | ||
85 | #endif | ||
86 | |||
87 | /* This is based upon code in the 32-bit Sparc kernel written mostly by | ||
88 | * David Redman (djhr@tadpole.co.uk). | ||
89 | */ | ||
90 | #define MAX_STATIC_ALLOC 4 | ||
91 | static struct irqaction static_irqaction[MAX_STATIC_ALLOC]; | ||
92 | static int static_irq_count; | ||
93 | |||
94 | /* This is exported so that fast IRQ handlers can get at it... -DaveM */ | ||
95 | struct irqaction *irq_action[NR_IRQS+1] = { | ||
96 | NULL, NULL, NULL, NULL, NULL, NULL , NULL, NULL, | ||
97 | NULL, NULL, NULL, NULL, NULL, NULL , NULL, NULL | ||
98 | }; | ||
99 | 75 | ||
100 | /* This only synchronizes entities which modify IRQ handler | 76 | /* This only synchronizes entities which modify IRQ handler |
101 | * state and some selected user-level spots that want to | 77 | * state and some selected user-level spots that want to |
@@ -241,17 +217,22 @@ void disable_irq(unsigned int irq) | |||
241 | * the CPU %tick register and not by some normal vectored interrupt | 217 | * the CPU %tick register and not by some normal vectored interrupt |
242 | * source. To handle this special case, we use this dummy INO bucket. | 218 | * source. To handle this special case, we use this dummy INO bucket. |
243 | */ | 219 | */ |
220 | static struct irq_desc pil0_dummy_desc; | ||
244 | static struct ino_bucket pil0_dummy_bucket = { | 221 | static struct ino_bucket pil0_dummy_bucket = { |
245 | 0, /* irq_chain */ | 222 | .irq_info = &pil0_dummy_desc, |
246 | 0, /* pil */ | ||
247 | 0, /* pending */ | ||
248 | 0, /* flags */ | ||
249 | 0, /* __unused */ | ||
250 | NULL, /* irq_info */ | ||
251 | 0UL, /* iclr */ | ||
252 | 0UL, /* imap */ | ||
253 | }; | 223 | }; |
254 | 224 | ||
225 | static void build_irq_error(const char *msg, unsigned int ino, int pil, int inofixup, | ||
226 | unsigned long iclr, unsigned long imap, | ||
227 | struct ino_bucket *bucket) | ||
228 | { | ||
229 | prom_printf("IRQ: INO %04x (%d:%016lx:%016lx) --> " | ||
230 | "(%d:%d:%016lx:%016lx), halting...\n", | ||
231 | ino, bucket->pil, bucket->iclr, bucket->imap, | ||
232 | pil, inofixup, iclr, imap); | ||
233 | prom_halt(); | ||
234 | } | ||
235 | |||
255 | unsigned int build_irq(int pil, int inofixup, unsigned long iclr, unsigned long imap) | 236 | unsigned int build_irq(int pil, int inofixup, unsigned long iclr, unsigned long imap) |
256 | { | 237 | { |
257 | struct ino_bucket *bucket; | 238 | struct ino_bucket *bucket; |
@@ -280,28 +261,35 @@ unsigned int build_irq(int pil, int inofixup, unsigned long iclr, unsigned long | |||
280 | prom_halt(); | 261 | prom_halt(); |
281 | } | 262 | } |
282 | 263 | ||
283 | /* Ok, looks good, set it up. Don't touch the irq_chain or | ||
284 | * the pending flag. | ||
285 | */ | ||
286 | bucket = &ivector_table[ino]; | 264 | bucket = &ivector_table[ino]; |
287 | if ((bucket->flags & IBF_ACTIVE) || | 265 | if (bucket->flags & IBF_ACTIVE) |
288 | (bucket->irq_info != NULL)) { | 266 | build_irq_error("IRQ: Trying to build active INO bucket.\n", |
289 | /* This is a gross fatal error if it happens here. */ | 267 | ino, pil, inofixup, iclr, imap, bucket); |
290 | prom_printf("IRQ: Trying to reinit INO bucket, fatal error.\n"); | 268 | |
291 | prom_printf("IRQ: Request INO %04x (%d:%d:%016lx:%016lx)\n", | 269 | if (bucket->irq_info) { |
292 | ino, pil, inofixup, iclr, imap); | 270 | if (bucket->imap != imap || bucket->iclr != iclr) |
293 | prom_printf("IRQ: Existing (%d:%016lx:%016lx)\n", | 271 | build_irq_error("IRQ: Trying to reinit INO bucket.\n", |
294 | bucket->pil, bucket->iclr, bucket->imap); | 272 | ino, pil, inofixup, iclr, imap, bucket); |
295 | prom_printf("IRQ: Cannot continue, halting...\n"); | 273 | |
274 | goto out; | ||
275 | } | ||
276 | |||
277 | bucket->irq_info = kmalloc(sizeof(struct irq_desc), GFP_ATOMIC); | ||
278 | if (!bucket->irq_info) { | ||
279 | prom_printf("IRQ: Error, kmalloc(irq_desc) failed.\n"); | ||
296 | prom_halt(); | 280 | prom_halt(); |
297 | } | 281 | } |
282 | memset(bucket->irq_info, 0, sizeof(struct irq_desc)); | ||
283 | |||
284 | /* Ok, looks good, set it up. Don't touch the irq_chain or | ||
285 | * the pending flag. | ||
286 | */ | ||
298 | bucket->imap = imap; | 287 | bucket->imap = imap; |
299 | bucket->iclr = iclr; | 288 | bucket->iclr = iclr; |
300 | bucket->pil = pil; | 289 | bucket->pil = pil; |
301 | bucket->flags = 0; | 290 | bucket->flags = 0; |
302 | 291 | ||
303 | bucket->irq_info = NULL; | 292 | out: |
304 | |||
305 | return __irq(bucket); | 293 | return __irq(bucket); |
306 | } | 294 | } |
307 | 295 | ||
@@ -319,26 +307,65 @@ static void atomic_bucket_insert(struct ino_bucket *bucket) | |||
319 | __asm__ __volatile__("wrpr %0, 0x0, %%pstate" : : "r" (pstate)); | 307 | __asm__ __volatile__("wrpr %0, 0x0, %%pstate" : : "r" (pstate)); |
320 | } | 308 | } |
321 | 309 | ||
310 | static int check_irq_sharing(int pil, unsigned long irqflags) | ||
311 | { | ||
312 | struct irqaction *action, *tmp; | ||
313 | |||
314 | action = *(irq_action + pil); | ||
315 | if (action) { | ||
316 | if ((action->flags & SA_SHIRQ) && (irqflags & SA_SHIRQ)) { | ||
317 | for (tmp = action; tmp->next; tmp = tmp->next) | ||
318 | ; | ||
319 | } else { | ||
320 | return -EBUSY; | ||
321 | } | ||
322 | } | ||
323 | return 0; | ||
324 | } | ||
325 | |||
326 | static void append_irq_action(int pil, struct irqaction *action) | ||
327 | { | ||
328 | struct irqaction **pp = irq_action + pil; | ||
329 | |||
330 | while (*pp) | ||
331 | pp = &((*pp)->next); | ||
332 | *pp = action; | ||
333 | } | ||
334 | |||
335 | static struct irqaction *get_action_slot(struct ino_bucket *bucket) | ||
336 | { | ||
337 | struct irq_desc *desc = bucket->irq_info; | ||
338 | int max_irq, i; | ||
339 | |||
340 | max_irq = 1; | ||
341 | if (bucket->flags & IBF_PCI) | ||
342 | max_irq = MAX_IRQ_DESC_ACTION; | ||
343 | for (i = 0; i < max_irq; i++) { | ||
344 | struct irqaction *p = &desc->action[i]; | ||
345 | u32 mask = (1 << i); | ||
346 | |||
347 | if (desc->action_active_mask & mask) | ||
348 | continue; | ||
349 | |||
350 | desc->action_active_mask |= mask; | ||
351 | return p; | ||
352 | } | ||
353 | return NULL; | ||
354 | } | ||
355 | |||
322 | int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), | 356 | int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), |
323 | unsigned long irqflags, const char *name, void *dev_id) | 357 | unsigned long irqflags, const char *name, void *dev_id) |
324 | { | 358 | { |
325 | struct irqaction *action, *tmp = NULL; | 359 | struct irqaction *action; |
326 | struct ino_bucket *bucket = __bucket(irq); | 360 | struct ino_bucket *bucket = __bucket(irq); |
327 | unsigned long flags; | 361 | unsigned long flags; |
328 | int pending = 0; | 362 | int pending = 0; |
329 | 363 | ||
330 | if ((bucket != &pil0_dummy_bucket) && | 364 | if (unlikely(!handler)) |
331 | (bucket < &ivector_table[0] || | ||
332 | bucket >= &ivector_table[NUM_IVECS])) { | ||
333 | unsigned int *caller; | ||
334 | |||
335 | __asm__ __volatile__("mov %%i7, %0" : "=r" (caller)); | ||
336 | printk(KERN_CRIT "request_irq: Old style IRQ registry attempt " | ||
337 | "from %p, irq %08x.\n", caller, irq); | ||
338 | return -EINVAL; | 365 | return -EINVAL; |
339 | } | 366 | |
340 | if (!handler) | 367 | if (unlikely(!bucket->irq_info)) |
341 | return -EINVAL; | 368 | return -ENODEV; |
342 | 369 | ||
343 | if ((bucket != &pil0_dummy_bucket) && (irqflags & SA_SAMPLE_RANDOM)) { | 370 | if ((bucket != &pil0_dummy_bucket) && (irqflags & SA_SAMPLE_RANDOM)) { |
344 | /* | 371 | /* |
@@ -356,93 +383,20 @@ int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_ | |||
356 | 383 | ||
357 | spin_lock_irqsave(&irq_action_lock, flags); | 384 | spin_lock_irqsave(&irq_action_lock, flags); |
358 | 385 | ||
359 | action = *(bucket->pil + irq_action); | 386 | if (check_irq_sharing(bucket->pil, irqflags)) { |
360 | if (action) { | 387 | spin_unlock_irqrestore(&irq_action_lock, flags); |
361 | if ((action->flags & SA_SHIRQ) && (irqflags & SA_SHIRQ)) | 388 | return -EBUSY; |
362 | for (tmp = action; tmp->next; tmp = tmp->next) | ||
363 | ; | ||
364 | else { | ||
365 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
366 | return -EBUSY; | ||
367 | } | ||
368 | action = NULL; /* Or else! */ | ||
369 | } | 389 | } |
370 | 390 | ||
371 | /* If this is flagged as statically allocated then we use our | 391 | action = get_action_slot(bucket); |
372 | * private struct which is never freed. | ||
373 | */ | ||
374 | if (irqflags & SA_STATIC_ALLOC) { | ||
375 | if (static_irq_count < MAX_STATIC_ALLOC) | ||
376 | action = &static_irqaction[static_irq_count++]; | ||
377 | else | ||
378 | printk("Request for IRQ%d (%s) SA_STATIC_ALLOC failed " | ||
379 | "using kmalloc\n", irq, name); | ||
380 | } | ||
381 | if (action == NULL) | ||
382 | action = (struct irqaction *)kmalloc(sizeof(struct irqaction), | ||
383 | GFP_ATOMIC); | ||
384 | |||
385 | if (!action) { | 392 | if (!action) { |
386 | spin_unlock_irqrestore(&irq_action_lock, flags); | 393 | spin_unlock_irqrestore(&irq_action_lock, flags); |
387 | return -ENOMEM; | 394 | return -ENOMEM; |
388 | } | 395 | } |
389 | 396 | ||
390 | if (bucket == &pil0_dummy_bucket) { | 397 | bucket->flags |= IBF_ACTIVE; |
391 | bucket->irq_info = action; | 398 | pending = 0; |
392 | bucket->flags |= IBF_ACTIVE; | 399 | if (bucket != &pil0_dummy_bucket) { |
393 | } else { | ||
394 | if ((bucket->flags & IBF_ACTIVE) != 0) { | ||
395 | void *orig = bucket->irq_info; | ||
396 | void **vector = NULL; | ||
397 | |||
398 | if ((bucket->flags & IBF_PCI) == 0) { | ||
399 | printk("IRQ: Trying to share non-PCI bucket.\n"); | ||
400 | goto free_and_ebusy; | ||
401 | } | ||
402 | if ((bucket->flags & IBF_MULTI) == 0) { | ||
403 | vector = kmalloc(sizeof(void *) * 4, GFP_ATOMIC); | ||
404 | if (vector == NULL) | ||
405 | goto free_and_enomem; | ||
406 | |||
407 | /* We might have slept. */ | ||
408 | if ((bucket->flags & IBF_MULTI) != 0) { | ||
409 | int ent; | ||
410 | |||
411 | kfree(vector); | ||
412 | vector = (void **)bucket->irq_info; | ||
413 | for(ent = 0; ent < 4; ent++) { | ||
414 | if (vector[ent] == NULL) { | ||
415 | vector[ent] = action; | ||
416 | break; | ||
417 | } | ||
418 | } | ||
419 | if (ent == 4) | ||
420 | goto free_and_ebusy; | ||
421 | } else { | ||
422 | vector[0] = orig; | ||
423 | vector[1] = action; | ||
424 | vector[2] = NULL; | ||
425 | vector[3] = NULL; | ||
426 | bucket->irq_info = vector; | ||
427 | bucket->flags |= IBF_MULTI; | ||
428 | } | ||
429 | } else { | ||
430 | int ent; | ||
431 | |||
432 | vector = (void **)orig; | ||
433 | for (ent = 0; ent < 4; ent++) { | ||
434 | if (vector[ent] == NULL) { | ||
435 | vector[ent] = action; | ||
436 | break; | ||
437 | } | ||
438 | } | ||
439 | if (ent == 4) | ||
440 | goto free_and_ebusy; | ||
441 | } | ||
442 | } else { | ||
443 | bucket->irq_info = action; | ||
444 | bucket->flags |= IBF_ACTIVE; | ||
445 | } | ||
446 | pending = bucket->pending; | 400 | pending = bucket->pending; |
447 | if (pending) | 401 | if (pending) |
448 | bucket->pending = 0; | 402 | bucket->pending = 0; |
@@ -456,10 +410,7 @@ int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_ | |||
456 | put_ino_in_irqaction(action, irq); | 410 | put_ino_in_irqaction(action, irq); |
457 | put_smpaff_in_irqaction(action, CPU_MASK_NONE); | 411 | put_smpaff_in_irqaction(action, CPU_MASK_NONE); |
458 | 412 | ||
459 | if (tmp) | 413 | append_irq_action(bucket->pil, action); |
460 | tmp->next = action; | ||
461 | else | ||
462 | *(bucket->pil + irq_action) = action; | ||
463 | 414 | ||
464 | enable_irq(irq); | 415 | enable_irq(irq); |
465 | 416 | ||
@@ -468,147 +419,103 @@ int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_ | |||
468 | atomic_bucket_insert(bucket); | 419 | atomic_bucket_insert(bucket); |
469 | set_softint(1 << bucket->pil); | 420 | set_softint(1 << bucket->pil); |
470 | } | 421 | } |
422 | |||
471 | spin_unlock_irqrestore(&irq_action_lock, flags); | 423 | spin_unlock_irqrestore(&irq_action_lock, flags); |
472 | if ((bucket != &pil0_dummy_bucket) && (!(irqflags & SA_STATIC_ALLOC))) | 424 | |
425 | if (bucket != &pil0_dummy_bucket) | ||
473 | register_irq_proc(__irq_ino(irq)); | 426 | register_irq_proc(__irq_ino(irq)); |
474 | 427 | ||
475 | #ifdef CONFIG_SMP | 428 | #ifdef CONFIG_SMP |
476 | distribute_irqs(); | 429 | distribute_irqs(); |
477 | #endif | 430 | #endif |
478 | return 0; | 431 | return 0; |
479 | |||
480 | free_and_ebusy: | ||
481 | kfree(action); | ||
482 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
483 | return -EBUSY; | ||
484 | |||
485 | free_and_enomem: | ||
486 | kfree(action); | ||
487 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
488 | return -ENOMEM; | ||
489 | } | 432 | } |
490 | 433 | ||
491 | EXPORT_SYMBOL(request_irq); | 434 | EXPORT_SYMBOL(request_irq); |
492 | 435 | ||
493 | void free_irq(unsigned int irq, void *dev_id) | 436 | static struct irqaction *unlink_irq_action(unsigned int irq, void *dev_id) |
494 | { | 437 | { |
495 | struct irqaction *action; | 438 | struct ino_bucket *bucket = __bucket(irq); |
496 | struct irqaction *tmp = NULL; | 439 | struct irqaction *action, **pp; |
497 | unsigned long flags; | ||
498 | struct ino_bucket *bucket = __bucket(irq), *bp; | ||
499 | |||
500 | if ((bucket != &pil0_dummy_bucket) && | ||
501 | (bucket < &ivector_table[0] || | ||
502 | bucket >= &ivector_table[NUM_IVECS])) { | ||
503 | unsigned int *caller; | ||
504 | 440 | ||
505 | __asm__ __volatile__("mov %%i7, %0" : "=r" (caller)); | 441 | pp = irq_action + bucket->pil; |
506 | printk(KERN_CRIT "free_irq: Old style IRQ removal attempt " | 442 | action = *pp; |
507 | "from %p, irq %08x.\n", caller, irq); | 443 | if (unlikely(!action)) |
508 | return; | 444 | return NULL; |
509 | } | ||
510 | |||
511 | spin_lock_irqsave(&irq_action_lock, flags); | ||
512 | 445 | ||
513 | action = *(bucket->pil + irq_action); | 446 | if (unlikely(!action->handler)) { |
514 | if (!action->handler) { | ||
515 | printk("Freeing free IRQ %d\n", bucket->pil); | 447 | printk("Freeing free IRQ %d\n", bucket->pil); |
516 | return; | 448 | return NULL; |
517 | } | ||
518 | if (dev_id) { | ||
519 | for ( ; action; action = action->next) { | ||
520 | if (action->dev_id == dev_id) | ||
521 | break; | ||
522 | tmp = action; | ||
523 | } | ||
524 | if (!action) { | ||
525 | printk("Trying to free free shared IRQ %d\n", bucket->pil); | ||
526 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
527 | return; | ||
528 | } | ||
529 | } else if (action->flags & SA_SHIRQ) { | ||
530 | printk("Trying to free shared IRQ %d with NULL device ID\n", bucket->pil); | ||
531 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
532 | return; | ||
533 | } | 449 | } |
534 | 450 | ||
535 | if (action->flags & SA_STATIC_ALLOC) { | 451 | while (action && action->dev_id != dev_id) { |
536 | printk("Attempt to free statically allocated IRQ %d (%s)\n", | 452 | pp = &action->next; |
537 | bucket->pil, action->name); | 453 | action = *pp; |
538 | spin_unlock_irqrestore(&irq_action_lock, flags); | ||
539 | return; | ||
540 | } | 454 | } |
541 | 455 | ||
542 | if (action && tmp) | 456 | if (likely(action)) |
543 | tmp->next = action->next; | 457 | *pp = action->next; |
544 | else | 458 | |
545 | *(bucket->pil + irq_action) = action->next; | 459 | return action; |
460 | } | ||
461 | |||
462 | void free_irq(unsigned int irq, void *dev_id) | ||
463 | { | ||
464 | struct irqaction *action; | ||
465 | struct ino_bucket *bucket; | ||
466 | unsigned long flags; | ||
467 | |||
468 | spin_lock_irqsave(&irq_action_lock, flags); | ||
469 | |||
470 | action = unlink_irq_action(irq, dev_id); | ||
546 | 471 | ||
547 | spin_unlock_irqrestore(&irq_action_lock, flags); | 472 | spin_unlock_irqrestore(&irq_action_lock, flags); |
548 | 473 | ||
474 | if (unlikely(!action)) | ||
475 | return; | ||
476 | |||
549 | synchronize_irq(irq); | 477 | synchronize_irq(irq); |
550 | 478 | ||
551 | spin_lock_irqsave(&irq_action_lock, flags); | 479 | spin_lock_irqsave(&irq_action_lock, flags); |
552 | 480 | ||
481 | bucket = __bucket(irq); | ||
553 | if (bucket != &pil0_dummy_bucket) { | 482 | if (bucket != &pil0_dummy_bucket) { |
483 | struct irq_desc *desc = bucket->irq_info; | ||
554 | unsigned long imap = bucket->imap; | 484 | unsigned long imap = bucket->imap; |
555 | void **vector, *orig; | 485 | int ent, i; |
556 | int ent; | ||
557 | |||
558 | orig = bucket->irq_info; | ||
559 | vector = (void **)orig; | ||
560 | |||
561 | if ((bucket->flags & IBF_MULTI) != 0) { | ||
562 | int other = 0; | ||
563 | void *orphan = NULL; | ||
564 | for (ent = 0; ent < 4; ent++) { | ||
565 | if (vector[ent] == action) | ||
566 | vector[ent] = NULL; | ||
567 | else if (vector[ent] != NULL) { | ||
568 | orphan = vector[ent]; | ||
569 | other++; | ||
570 | } | ||
571 | } | ||
572 | 486 | ||
573 | /* Only free when no other shared irq | 487 | for (i = 0; i < MAX_IRQ_DESC_ACTION; i++) { |
574 | * uses this bucket. | 488 | struct irqaction *p = &desc->action[i]; |
575 | */ | 489 | |
576 | if (other) { | 490 | if (p == action) { |
577 | if (other == 1) { | 491 | desc->action_active_mask &= ~(1 << i); |
578 | /* Convert back to non-shared bucket. */ | 492 | break; |
579 | bucket->irq_info = orphan; | ||
580 | bucket->flags &= ~(IBF_MULTI); | ||
581 | kfree(vector); | ||
582 | } | ||
583 | goto out; | ||
584 | } | 493 | } |
585 | } else { | ||
586 | bucket->irq_info = NULL; | ||
587 | } | 494 | } |
588 | 495 | ||
589 | /* This unique interrupt source is now inactive. */ | 496 | if (!desc->action_active_mask) { |
590 | bucket->flags &= ~IBF_ACTIVE; | 497 | /* This unique interrupt source is now inactive. */ |
498 | bucket->flags &= ~IBF_ACTIVE; | ||
591 | 499 | ||
592 | /* See if any other buckets share this bucket's IMAP | 500 | /* See if any other buckets share this bucket's IMAP |
593 | * and are still active. | 501 | * and are still active. |
594 | */ | 502 | */ |
595 | for (ent = 0; ent < NUM_IVECS; ent++) { | 503 | for (ent = 0; ent < NUM_IVECS; ent++) { |
596 | bp = &ivector_table[ent]; | 504 | struct ino_bucket *bp = &ivector_table[ent]; |
597 | if (bp != bucket && | 505 | if (bp != bucket && |
598 | bp->imap == imap && | 506 | bp->imap == imap && |
599 | (bp->flags & IBF_ACTIVE) != 0) | 507 | (bp->flags & IBF_ACTIVE) != 0) |
600 | break; | 508 | break; |
601 | } | 509 | } |
602 | 510 | ||
603 | /* Only disable when no other sub-irq levels of | 511 | /* Only disable when no other sub-irq levels of |
604 | * the same IMAP are active. | 512 | * the same IMAP are active. |
605 | */ | 513 | */ |
606 | if (ent == NUM_IVECS) | 514 | if (ent == NUM_IVECS) |
607 | disable_irq(irq); | 515 | disable_irq(irq); |
516 | } | ||
608 | } | 517 | } |
609 | 518 | ||
610 | out: | ||
611 | kfree(action); | ||
612 | spin_unlock_irqrestore(&irq_action_lock, flags); | 519 | spin_unlock_irqrestore(&irq_action_lock, flags); |
613 | } | 520 | } |
614 | 521 | ||
@@ -647,99 +554,55 @@ void synchronize_irq(unsigned int irq) | |||
647 | } | 554 | } |
648 | #endif /* CONFIG_SMP */ | 555 | #endif /* CONFIG_SMP */ |
649 | 556 | ||
650 | void catch_disabled_ivec(struct pt_regs *regs) | 557 | static void process_bucket(int irq, struct ino_bucket *bp, struct pt_regs *regs) |
651 | { | ||
652 | int cpu = smp_processor_id(); | ||
653 | struct ino_bucket *bucket = __bucket(*irq_work(cpu, 0)); | ||
654 | |||
655 | /* We can actually see this on Ultra/PCI PCI cards, which are bridges | ||
656 | * to other devices. Here a single IMAP enabled potentially multiple | ||
657 | * unique interrupt sources (which each do have a unique ICLR register. | ||
658 | * | ||
659 | * So what we do is just register that the IVEC arrived, when registered | ||
660 | * for real the request_irq() code will check the bit and signal | ||
661 | * a local CPU interrupt for it. | ||
662 | */ | ||
663 | #if 0 | ||
664 | printk("IVEC: Spurious interrupt vector (%x) received at (%016lx)\n", | ||
665 | bucket - &ivector_table[0], regs->tpc); | ||
666 | #endif | ||
667 | *irq_work(cpu, 0) = 0; | ||
668 | bucket->pending = 1; | ||
669 | } | ||
670 | |||
671 | /* Tune this... */ | ||
672 | #define FORWARD_VOLUME 12 | ||
673 | |||
674 | #ifdef CONFIG_SMP | ||
675 | |||
676 | static inline void redirect_intr(int cpu, struct ino_bucket *bp) | ||
677 | { | 558 | { |
678 | /* Ok, here is what is going on: | 559 | struct irq_desc *desc = bp->irq_info; |
679 | * 1) Retargeting IRQs on Starfire is very | 560 | unsigned char flags = bp->flags; |
680 | * expensive so just forget about it on them. | 561 | u32 action_mask, i; |
681 | * 2) Moving around very high priority interrupts | 562 | int random; |
682 | * is a losing game. | ||
683 | * 3) If the current cpu is idle, interrupts are | ||
684 | * useful work, so keep them here. But do not | ||
685 | * pass to our neighbour if he is not very idle. | ||
686 | * 4) If sysadmin explicitly asks for directed intrs, | ||
687 | * Just Do It. | ||
688 | */ | ||
689 | struct irqaction *ap = bp->irq_info; | ||
690 | cpumask_t cpu_mask; | ||
691 | unsigned int buddy, ticks; | ||
692 | 563 | ||
693 | cpu_mask = get_smpaff_in_irqaction(ap); | 564 | bp->flags |= IBF_INPROGRESS; |
694 | cpus_and(cpu_mask, cpu_mask, cpu_online_map); | ||
695 | if (cpus_empty(cpu_mask)) | ||
696 | cpu_mask = cpu_online_map; | ||
697 | 565 | ||
698 | if (this_is_starfire != 0 || | 566 | if (unlikely(!(flags & IBF_ACTIVE))) { |
699 | bp->pil >= 10 || current->pid == 0) | 567 | bp->pending = 1; |
700 | goto out; | 568 | goto out; |
701 | |||
702 | /* 'cpu' is the MID (ie. UPAID), calculate the MID | ||
703 | * of our buddy. | ||
704 | */ | ||
705 | buddy = cpu + 1; | ||
706 | if (buddy >= NR_CPUS) | ||
707 | buddy = 0; | ||
708 | |||
709 | ticks = 0; | ||
710 | while (!cpu_isset(buddy, cpu_mask)) { | ||
711 | if (++buddy >= NR_CPUS) | ||
712 | buddy = 0; | ||
713 | if (++ticks > NR_CPUS) { | ||
714 | put_smpaff_in_irqaction(ap, CPU_MASK_NONE); | ||
715 | goto out; | ||
716 | } | ||
717 | } | 569 | } |
718 | 570 | ||
719 | if (buddy == cpu) | 571 | if (desc->pre_handler) |
720 | goto out; | 572 | desc->pre_handler(bp, |
573 | desc->pre_handler_arg1, | ||
574 | desc->pre_handler_arg2); | ||
721 | 575 | ||
722 | /* Voo-doo programming. */ | 576 | action_mask = desc->action_active_mask; |
723 | if (cpu_data(buddy).idle_volume < FORWARD_VOLUME) | 577 | random = 0; |
724 | goto out; | 578 | for (i = 0; i < MAX_IRQ_DESC_ACTION; i++) { |
579 | struct irqaction *p = &desc->action[i]; | ||
580 | u32 mask = (1 << i); | ||
725 | 581 | ||
726 | /* This just so happens to be correct on Cheetah | 582 | if (!(action_mask & mask)) |
727 | * at the moment. | 583 | continue; |
728 | */ | 584 | |
729 | buddy <<= 26; | 585 | action_mask &= ~mask; |
730 | 586 | ||
731 | /* Push it to our buddy. */ | 587 | if (p->handler(__irq(bp), p->dev_id, regs) == IRQ_HANDLED) |
732 | upa_writel(buddy | IMAP_VALID, bp->imap); | 588 | random |= p->flags; |
733 | 589 | ||
590 | if (!action_mask) | ||
591 | break; | ||
592 | } | ||
593 | if (bp->pil != 0) { | ||
594 | upa_writel(ICLR_IDLE, bp->iclr); | ||
595 | /* Test and add entropy */ | ||
596 | if (random & SA_SAMPLE_RANDOM) | ||
597 | add_interrupt_randomness(irq); | ||
598 | } | ||
734 | out: | 599 | out: |
735 | return; | 600 | bp->flags &= ~IBF_INPROGRESS; |
736 | } | 601 | } |
737 | 602 | ||
738 | #endif | ||
739 | |||
740 | void handler_irq(int irq, struct pt_regs *regs) | 603 | void handler_irq(int irq, struct pt_regs *regs) |
741 | { | 604 | { |
742 | struct ino_bucket *bp, *nbp; | 605 | struct ino_bucket *bp; |
743 | int cpu = smp_processor_id(); | 606 | int cpu = smp_processor_id(); |
744 | 607 | ||
745 | #ifndef CONFIG_SMP | 608 | #ifndef CONFIG_SMP |
@@ -757,8 +620,6 @@ void handler_irq(int irq, struct pt_regs *regs) | |||
757 | clear_softint(clr_mask); | 620 | clear_softint(clr_mask); |
758 | } | 621 | } |
759 | #else | 622 | #else |
760 | int should_forward = 0; | ||
761 | |||
762 | clear_softint(1 << irq); | 623 | clear_softint(1 << irq); |
763 | #endif | 624 | #endif |
764 | 625 | ||
@@ -773,63 +634,12 @@ void handler_irq(int irq, struct pt_regs *regs) | |||
773 | #else | 634 | #else |
774 | bp = __bucket(xchg32(irq_work(cpu, irq), 0)); | 635 | bp = __bucket(xchg32(irq_work(cpu, irq), 0)); |
775 | #endif | 636 | #endif |
776 | for ( ; bp != NULL; bp = nbp) { | 637 | while (bp) { |
777 | unsigned char flags = bp->flags; | 638 | struct ino_bucket *nbp = __bucket(bp->irq_chain); |
778 | unsigned char random = 0; | ||
779 | 639 | ||
780 | nbp = __bucket(bp->irq_chain); | ||
781 | bp->irq_chain = 0; | 640 | bp->irq_chain = 0; |
782 | 641 | process_bucket(irq, bp, regs); | |
783 | bp->flags |= IBF_INPROGRESS; | 642 | bp = nbp; |
784 | |||
785 | if ((flags & IBF_ACTIVE) != 0) { | ||
786 | #ifdef CONFIG_PCI | ||
787 | if ((flags & IBF_DMA_SYNC) != 0) { | ||
788 | upa_readl(dma_sync_reg_table[bp->synctab_ent]); | ||
789 | upa_readq(pci_dma_wsync); | ||
790 | } | ||
791 | #endif | ||
792 | if ((flags & IBF_MULTI) == 0) { | ||
793 | struct irqaction *ap = bp->irq_info; | ||
794 | int ret; | ||
795 | |||
796 | ret = ap->handler(__irq(bp), ap->dev_id, regs); | ||
797 | if (ret == IRQ_HANDLED) | ||
798 | random |= ap->flags; | ||
799 | } else { | ||
800 | void **vector = (void **)bp->irq_info; | ||
801 | int ent; | ||
802 | for (ent = 0; ent < 4; ent++) { | ||
803 | struct irqaction *ap = vector[ent]; | ||
804 | if (ap != NULL) { | ||
805 | int ret; | ||
806 | |||
807 | ret = ap->handler(__irq(bp), | ||
808 | ap->dev_id, | ||
809 | regs); | ||
810 | if (ret == IRQ_HANDLED) | ||
811 | random |= ap->flags; | ||
812 | } | ||
813 | } | ||
814 | } | ||
815 | /* Only the dummy bucket lacks IMAP/ICLR. */ | ||
816 | if (bp->pil != 0) { | ||
817 | #ifdef CONFIG_SMP | ||
818 | if (should_forward) { | ||
819 | redirect_intr(cpu, bp); | ||
820 | should_forward = 0; | ||
821 | } | ||
822 | #endif | ||
823 | upa_writel(ICLR_IDLE, bp->iclr); | ||
824 | |||
825 | /* Test and add entropy */ | ||
826 | if (random & SA_SAMPLE_RANDOM) | ||
827 | add_interrupt_randomness(irq); | ||
828 | } | ||
829 | } else | ||
830 | bp->pending = 1; | ||
831 | |||
832 | bp->flags &= ~IBF_INPROGRESS; | ||
833 | } | 643 | } |
834 | irq_exit(); | 644 | irq_exit(); |
835 | } | 645 | } |
@@ -959,7 +769,10 @@ static void distribute_irqs(void) | |||
959 | */ | 769 | */ |
960 | for (level = 1; level < NR_IRQS; level++) { | 770 | for (level = 1; level < NR_IRQS; level++) { |
961 | struct irqaction *p = irq_action[level]; | 771 | struct irqaction *p = irq_action[level]; |
962 | if (level == 12) continue; | 772 | |
773 | if (level == 12) | ||
774 | continue; | ||
775 | |||
963 | while(p) { | 776 | while(p) { |
964 | cpu = retarget_one_irq(p, cpu); | 777 | cpu = retarget_one_irq(p, cpu); |
965 | p = p->next; | 778 | p = p->next; |
diff --git a/arch/sparc64/kernel/kprobes.c b/arch/sparc64/kernel/kprobes.c index bdac631cf011..bbf11f85dab1 100644 --- a/arch/sparc64/kernel/kprobes.c +++ b/arch/sparc64/kernel/kprobes.c | |||
@@ -433,3 +433,8 @@ int longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) | |||
433 | return 0; | 433 | return 0; |
434 | } | 434 | } |
435 | 435 | ||
436 | /* architecture specific initialization */ | ||
437 | int arch_init_kprobes(void) | ||
438 | { | ||
439 | return 0; | ||
440 | } | ||
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c index 534320ef0db2..91ab466d6c66 100644 --- a/arch/sparc64/kernel/pci_psycho.c +++ b/arch/sparc64/kernel/pci_psycho.c | |||
@@ -1303,8 +1303,7 @@ static void psycho_controller_hwinit(struct pci_controller_info *p) | |||
1303 | { | 1303 | { |
1304 | u64 tmp; | 1304 | u64 tmp; |
1305 | 1305 | ||
1306 | /* PROM sets the IRQ retry value too low, increase it. */ | 1306 | psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 5); |
1307 | psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 0xff); | ||
1308 | 1307 | ||
1309 | /* Enable arbiter for all PCI slots. */ | 1308 | /* Enable arbiter for all PCI slots. */ |
1310 | tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIA_CTRL); | 1309 | tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIA_CTRL); |
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c index 53d333b4a4e8..52bf3431a422 100644 --- a/arch/sparc64/kernel/pci_sabre.c +++ b/arch/sparc64/kernel/pci_sabre.c | |||
@@ -595,6 +595,23 @@ static int __init sabre_ino_to_pil(struct pci_dev *pdev, unsigned int ino) | |||
595 | return ret; | 595 | return ret; |
596 | } | 596 | } |
597 | 597 | ||
598 | /* When a device lives behind a bridge deeper in the PCI bus topology | ||
599 | * than APB, a special sequence must run to make sure all pending DMA | ||
600 | * transfers at the time of IRQ delivery are visible in the coherency | ||
601 | * domain by the cpu. This sequence is to perform a read on the far | ||
602 | * side of the non-APB bridge, then perform a read of Sabre's DMA | ||
603 | * write-sync register. | ||
604 | */ | ||
605 | static void sabre_wsync_handler(struct ino_bucket *bucket, void *_arg1, void *_arg2) | ||
606 | { | ||
607 | struct pci_dev *pdev = _arg1; | ||
608 | unsigned long sync_reg = (unsigned long) _arg2; | ||
609 | u16 _unused; | ||
610 | |||
611 | pci_read_config_word(pdev, PCI_VENDOR_ID, &_unused); | ||
612 | sabre_read(sync_reg); | ||
613 | } | ||
614 | |||
598 | static unsigned int __init sabre_irq_build(struct pci_pbm_info *pbm, | 615 | static unsigned int __init sabre_irq_build(struct pci_pbm_info *pbm, |
599 | struct pci_dev *pdev, | 616 | struct pci_dev *pdev, |
600 | unsigned int ino) | 617 | unsigned int ino) |
@@ -639,24 +656,14 @@ static unsigned int __init sabre_irq_build(struct pci_pbm_info *pbm, | |||
639 | if (pdev) { | 656 | if (pdev) { |
640 | struct pcidev_cookie *pcp = pdev->sysdata; | 657 | struct pcidev_cookie *pcp = pdev->sysdata; |
641 | 658 | ||
642 | /* When a device lives behind a bridge deeper in the | ||
643 | * PCI bus topology than APB, a special sequence must | ||
644 | * run to make sure all pending DMA transfers at the | ||
645 | * time of IRQ delivery are visible in the coherency | ||
646 | * domain by the cpu. This sequence is to perform | ||
647 | * a read on the far side of the non-APB bridge, then | ||
648 | * perform a read of Sabre's DMA write-sync register. | ||
649 | * | ||
650 | * Currently, the PCI_CONFIG register for the device | ||
651 | * is used for this read from the far side of the bridge. | ||
652 | */ | ||
653 | if (pdev->bus->number != pcp->pbm->pci_first_busno) { | 659 | if (pdev->bus->number != pcp->pbm->pci_first_busno) { |
654 | bucket->flags |= IBF_DMA_SYNC; | 660 | struct pci_controller_info *p = pcp->pbm->parent; |
655 | bucket->synctab_ent = dma_sync_reg_table_entry++; | 661 | struct irq_desc *d = bucket->irq_info; |
656 | dma_sync_reg_table[bucket->synctab_ent] = | 662 | |
657 | (unsigned long) sabre_pci_config_mkaddr( | 663 | d->pre_handler = sabre_wsync_handler; |
658 | pcp->pbm, | 664 | d->pre_handler_arg1 = pdev; |
659 | pdev->bus->number, pdev->devfn, PCI_COMMAND); | 665 | d->pre_handler_arg2 = (void *) |
666 | p->pbm_A.controller_regs + SABRE_WRSYNC; | ||
660 | } | 667 | } |
661 | } | 668 | } |
662 | return __irq(bucket); | 669 | return __irq(bucket); |
@@ -1626,10 +1633,9 @@ void __init sabre_init(int pnode, char *model_name) | |||
1626 | */ | 1633 | */ |
1627 | p->pbm_A.controller_regs = pr_regs[0].phys_addr; | 1634 | p->pbm_A.controller_regs = pr_regs[0].phys_addr; |
1628 | p->pbm_B.controller_regs = pr_regs[0].phys_addr; | 1635 | p->pbm_B.controller_regs = pr_regs[0].phys_addr; |
1629 | pci_dma_wsync = p->pbm_A.controller_regs + SABRE_WRSYNC; | ||
1630 | 1636 | ||
1631 | printk("PCI: Found SABRE, main regs at %016lx, wsync at %016lx\n", | 1637 | printk("PCI: Found SABRE, main regs at %016lx\n", |
1632 | p->pbm_A.controller_regs, pci_dma_wsync); | 1638 | p->pbm_A.controller_regs); |
1633 | 1639 | ||
1634 | /* Clear interrupts */ | 1640 | /* Clear interrupts */ |
1635 | 1641 | ||
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index 5753175b94e6..6a182bb66281 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <asm/iommu.h> | 15 | #include <asm/iommu.h> |
16 | #include <asm/irq.h> | 16 | #include <asm/irq.h> |
17 | #include <asm/upa.h> | 17 | #include <asm/upa.h> |
18 | #include <asm/pstate.h> | ||
18 | 19 | ||
19 | #include "pci_impl.h" | 20 | #include "pci_impl.h" |
20 | #include "iommu_common.h" | 21 | #include "iommu_common.h" |
@@ -326,6 +327,44 @@ static int __init schizo_ino_to_pil(struct pci_dev *pdev, unsigned int ino) | |||
326 | return ret; | 327 | return ret; |
327 | } | 328 | } |
328 | 329 | ||
330 | static void tomatillo_wsync_handler(struct ino_bucket *bucket, void *_arg1, void *_arg2) | ||
331 | { | ||
332 | unsigned long sync_reg = (unsigned long) _arg2; | ||
333 | u64 mask = 1 << (__irq_ino(__irq(bucket)) & IMAP_INO); | ||
334 | u64 val; | ||
335 | int limit; | ||
336 | |||
337 | schizo_write(sync_reg, mask); | ||
338 | |||
339 | limit = 100000; | ||
340 | val = 0; | ||
341 | while (--limit) { | ||
342 | val = schizo_read(sync_reg); | ||
343 | if (!(val & mask)) | ||
344 | break; | ||
345 | } | ||
346 | if (limit <= 0) { | ||
347 | printk("tomatillo_wsync_handler: DMA won't sync [%lx:%lx]\n", | ||
348 | val, mask); | ||
349 | } | ||
350 | |||
351 | if (_arg1) { | ||
352 | static unsigned char cacheline[64] | ||
353 | __attribute__ ((aligned (64))); | ||
354 | |||
355 | __asm__ __volatile__("rd %%fprs, %0\n\t" | ||
356 | "or %0, %4, %1\n\t" | ||
357 | "wr %1, 0x0, %%fprs\n\t" | ||
358 | "stda %%f0, [%5] %6\n\t" | ||
359 | "wr %0, 0x0, %%fprs\n\t" | ||
360 | "membar #Sync" | ||
361 | : "=&r" (mask), "=&r" (val) | ||
362 | : "0" (mask), "1" (val), | ||
363 | "i" (FPRS_FEF), "r" (&cacheline[0]), | ||
364 | "i" (ASI_BLK_COMMIT_P)); | ||
365 | } | ||
366 | } | ||
367 | |||
329 | static unsigned int schizo_irq_build(struct pci_pbm_info *pbm, | 368 | static unsigned int schizo_irq_build(struct pci_pbm_info *pbm, |
330 | struct pci_dev *pdev, | 369 | struct pci_dev *pdev, |
331 | unsigned int ino) | 370 | unsigned int ino) |
@@ -369,6 +408,15 @@ static unsigned int schizo_irq_build(struct pci_pbm_info *pbm, | |||
369 | bucket = __bucket(build_irq(pil, ign_fixup, iclr, imap)); | 408 | bucket = __bucket(build_irq(pil, ign_fixup, iclr, imap)); |
370 | bucket->flags |= IBF_PCI; | 409 | bucket->flags |= IBF_PCI; |
371 | 410 | ||
411 | if (pdev && pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { | ||
412 | struct irq_desc *p = bucket->irq_info; | ||
413 | |||
414 | p->pre_handler = tomatillo_wsync_handler; | ||
415 | p->pre_handler_arg1 = ((pbm->chip_version <= 4) ? | ||
416 | (void *) 1 : (void *) 0); | ||
417 | p->pre_handler_arg2 = (void *) pbm->sync_reg; | ||
418 | } | ||
419 | |||
372 | return __irq(bucket); | 420 | return __irq(bucket); |
373 | } | 421 | } |
374 | 422 | ||
@@ -885,6 +933,7 @@ static irqreturn_t schizo_ce_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
885 | 933 | ||
886 | #define SCHIZO_PCI_CTRL (0x2000UL) | 934 | #define SCHIZO_PCI_CTRL (0x2000UL) |
887 | #define SCHIZO_PCICTRL_BUS_UNUS (1UL << 63UL) /* Safari */ | 935 | #define SCHIZO_PCICTRL_BUS_UNUS (1UL << 63UL) /* Safari */ |
936 | #define SCHIZO_PCICTRL_DTO_INT (1UL << 61UL) /* Tomatillo */ | ||
888 | #define SCHIZO_PCICTRL_ARB_PRIO (0x1ff << 52UL) /* Tomatillo */ | 937 | #define SCHIZO_PCICTRL_ARB_PRIO (0x1ff << 52UL) /* Tomatillo */ |
889 | #define SCHIZO_PCICTRL_ESLCK (1UL << 51UL) /* Safari */ | 938 | #define SCHIZO_PCICTRL_ESLCK (1UL << 51UL) /* Safari */ |
890 | #define SCHIZO_PCICTRL_ERRSLOT (7UL << 48UL) /* Safari */ | 939 | #define SCHIZO_PCICTRL_ERRSLOT (7UL << 48UL) /* Safari */ |
@@ -1887,37 +1936,27 @@ static void __init schizo_pbm_hw_init(struct pci_pbm_info *pbm) | |||
1887 | { | 1936 | { |
1888 | u64 tmp; | 1937 | u64 tmp; |
1889 | 1938 | ||
1890 | /* Set IRQ retry to infinity. */ | 1939 | schizo_write(pbm->pbm_regs + SCHIZO_PCI_IRQ_RETRY, 5); |
1891 | schizo_write(pbm->pbm_regs + SCHIZO_PCI_IRQ_RETRY, | ||
1892 | SCHIZO_IRQ_RETRY_INF); | ||
1893 | 1940 | ||
1894 | /* Enable arbiter for all PCI slots. Also, disable PCI interval | ||
1895 | * timer so that DTO (Discard TimeOuts) are not reported because | ||
1896 | * some Schizo revisions report them erroneously. | ||
1897 | */ | ||
1898 | tmp = schizo_read(pbm->pbm_regs + SCHIZO_PCI_CTRL); | 1941 | tmp = schizo_read(pbm->pbm_regs + SCHIZO_PCI_CTRL); |
1899 | if (pbm->chip_type == PBM_CHIP_TYPE_SCHIZO_PLUS && | ||
1900 | pbm->chip_version == 0x5 && | ||
1901 | pbm->chip_revision == 0x1) | ||
1902 | tmp |= 0x0f; | ||
1903 | else | ||
1904 | tmp |= 0xff; | ||
1905 | 1942 | ||
1906 | tmp &= ~SCHIZO_PCICTRL_PTO; | 1943 | /* Enable arbiter for all PCI slots. */ |
1944 | tmp |= 0xff; | ||
1945 | |||
1907 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && | 1946 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && |
1908 | pbm->chip_version >= 0x2) | 1947 | pbm->chip_version >= 0x2) |
1909 | tmp |= 0x3UL << SCHIZO_PCICTRL_PTO_SHIFT; | 1948 | tmp |= 0x3UL << SCHIZO_PCICTRL_PTO_SHIFT; |
1910 | else | ||
1911 | tmp |= 0x1UL << SCHIZO_PCICTRL_PTO_SHIFT; | ||
1912 | 1949 | ||
1913 | if (!prom_getbool(pbm->prom_node, "no-bus-parking")) | 1950 | if (!prom_getbool(pbm->prom_node, "no-bus-parking")) |
1914 | tmp |= SCHIZO_PCICTRL_PARK; | 1951 | tmp |= SCHIZO_PCICTRL_PARK; |
1952 | else | ||
1953 | tmp &= ~SCHIZO_PCICTRL_PARK; | ||
1915 | 1954 | ||
1916 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && | 1955 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && |
1917 | pbm->chip_version <= 0x1) | 1956 | pbm->chip_version <= 0x1) |
1918 | tmp |= (1UL << 61); | 1957 | tmp |= SCHIZO_PCICTRL_DTO_INT; |
1919 | else | 1958 | else |
1920 | tmp &= ~(1UL << 61); | 1959 | tmp &= ~SCHIZO_PCICTRL_DTO_INT; |
1921 | 1960 | ||
1922 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) | 1961 | if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) |
1923 | tmp |= (SCHIZO_PCICTRL_MRM_PREF | | 1962 | tmp |= (SCHIZO_PCICTRL_MRM_PREF | |
@@ -2015,6 +2054,9 @@ static void __init schizo_pbm_init(struct pci_controller_info *p, | |||
2015 | pbm->pbm_regs = pr_regs[0].phys_addr; | 2054 | pbm->pbm_regs = pr_regs[0].phys_addr; |
2016 | pbm->controller_regs = pr_regs[1].phys_addr - 0x10000UL; | 2055 | pbm->controller_regs = pr_regs[1].phys_addr - 0x10000UL; |
2017 | 2056 | ||
2057 | if (chip_type == PBM_CHIP_TYPE_TOMATILLO) | ||
2058 | pbm->sync_reg = pr_regs[3].phys_addr + 0x1a18UL; | ||
2059 | |||
2018 | sprintf(pbm->name, | 2060 | sprintf(pbm->name, |
2019 | (chip_type == PBM_CHIP_TYPE_TOMATILLO ? | 2061 | (chip_type == PBM_CHIP_TYPE_TOMATILLO ? |
2020 | "TOMATILLO%d PBM%c" : | 2062 | "TOMATILLO%d PBM%c" : |
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 71b4e3807694..b40db389f90b 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -973,7 +973,7 @@ static void sparc64_start_timers(irqreturn_t (*cfunc)(int, void *, struct pt_reg | |||
973 | int err; | 973 | int err; |
974 | 974 | ||
975 | /* Register IRQ handler. */ | 975 | /* Register IRQ handler. */ |
976 | err = request_irq(build_irq(0, 0, 0UL, 0UL), cfunc, SA_STATIC_ALLOC, | 976 | err = request_irq(build_irq(0, 0, 0UL, 0UL), cfunc, 0, |
977 | "timer", NULL); | 977 | "timer", NULL); |
978 | 978 | ||
979 | if (err) { | 979 | if (err) { |
diff --git a/arch/sparc64/mm/ultra.S b/arch/sparc64/mm/ultra.S index 7a2431d3abc7..363770893797 100644 --- a/arch/sparc64/mm/ultra.S +++ b/arch/sparc64/mm/ultra.S | |||
@@ -72,6 +72,7 @@ __flush_tlb_pending: | |||
72 | flush %g6 | 72 | flush %g6 |
73 | retl | 73 | retl |
74 | wrpr %g7, 0x0, %pstate | 74 | wrpr %g7, 0x0, %pstate |
75 | nop | ||
75 | 76 | ||
76 | .align 32 | 77 | .align 32 |
77 | .globl __flush_tlb_kernel_range | 78 | .globl __flush_tlb_kernel_range |
@@ -249,7 +250,7 @@ __cheetah_flush_tlb_mm: /* 15 insns */ | |||
249 | retl | 250 | retl |
250 | wrpr %g7, 0x0, %pstate | 251 | wrpr %g7, 0x0, %pstate |
251 | 252 | ||
252 | __cheetah_flush_tlb_pending: /* 22 insns */ | 253 | __cheetah_flush_tlb_pending: /* 23 insns */ |
253 | /* %o0 = context, %o1 = nr, %o2 = vaddrs[] */ | 254 | /* %o0 = context, %o1 = nr, %o2 = vaddrs[] */ |
254 | rdpr %pstate, %g7 | 255 | rdpr %pstate, %g7 |
255 | sllx %o1, 3, %o1 | 256 | sllx %o1, 3, %o1 |
@@ -317,7 +318,7 @@ cheetah_patch_cachetlbops: | |||
317 | sethi %hi(__cheetah_flush_tlb_pending), %o1 | 318 | sethi %hi(__cheetah_flush_tlb_pending), %o1 |
318 | or %o1, %lo(__cheetah_flush_tlb_pending), %o1 | 319 | or %o1, %lo(__cheetah_flush_tlb_pending), %o1 |
319 | call cheetah_patch_one | 320 | call cheetah_patch_one |
320 | mov 22, %o2 | 321 | mov 23, %o2 |
321 | 322 | ||
322 | #ifdef DCACHE_ALIASING_POSSIBLE | 323 | #ifdef DCACHE_ALIASING_POSSIBLE |
323 | sethi %hi(__flush_dcache_page), %o0 | 324 | sethi %hi(__flush_dcache_page), %o0 |
diff --git a/arch/x86_64/kernel/kprobes.c b/arch/x86_64/kernel/kprobes.c index acd2a778ebe6..5c6dc7051482 100644 --- a/arch/x86_64/kernel/kprobes.c +++ b/arch/x86_64/kernel/kprobes.c | |||
@@ -682,7 +682,7 @@ static struct kprobe trampoline_p = { | |||
682 | .pre_handler = trampoline_probe_handler | 682 | .pre_handler = trampoline_probe_handler |
683 | }; | 683 | }; |
684 | 684 | ||
685 | int __init arch_init(void) | 685 | int __init arch_init_kprobes(void) |
686 | { | 686 | { |
687 | return register_kprobe(&trampoline_p); | 687 | return register_kprobe(&trampoline_p); |
688 | } | 688 | } |