Commit 4368448d authored by Anton Blanchard's avatar Anton Blanchard

Merge samba.org:/scratch/anton/linux-2.5

into samba.org:/scratch/anton/for-alan
parents edc509d9 6e5878dc
...@@ -55,6 +55,7 @@ core-$(CONFIG_APUS) += arch/ppc/amiga/ ...@@ -55,6 +55,7 @@ core-$(CONFIG_APUS) += arch/ppc/amiga/
drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/
drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/
drivers-$(CONFIG_8260) += arch/ppc/8260_io/ drivers-$(CONFIG_8260) += arch/ppc/8260_io/
drivers-$(CONFIG_OCP) += arch/ppc/ocp/
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dan Cox * Author: Dan Cox
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <asm/types.h> #include <asm/types.h>
......
...@@ -8,27 +8,10 @@ ...@@ -8,27 +8,10 @@
* *
* Derived from arch/ppc/boot/prep/misc.c * Derived from arch/ppc/boot/prep/misc.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <stdarg.h> /* for va_ bits */ #include <stdarg.h> /* for va_ bits */
......
...@@ -9,12 +9,10 @@ ...@@ -9,12 +9,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/pci.h> #include <linux/pci.h>
......
...@@ -14,12 +14,10 @@ ...@@ -14,12 +14,10 @@
* trini@mvista.com * trini@mvista.com
* Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others). * Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others).
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <asm/processor.h> #include <asm/processor.h>
......
...@@ -12,12 +12,10 @@ ...@@ -12,12 +12,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __BOOT_MPC10X_H__ #ifndef __BOOT_MPC10X_H__
#define __BOOT_MPC10X_H__ #define __BOOT_MPC10X_H__
......
...@@ -39,7 +39,7 @@ SECTIONS ...@@ -39,7 +39,7 @@ SECTIONS
PROVIDE (etext = .); PROVIDE (etext = .);
/* Read-write section, merged into data segment: */ /* Read-write section, merged into data segment: */
. = ALIGN(8); . = ALIGN(4096);
.data : .data :
{ {
*(.data) *(.data)
......
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
# #
# Author: Tom Rini <trini@mvista.com> # Author: Tom Rini <trini@mvista.com>
# #
# Copyright 2001-2002 MontaVista Software Inc. # 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
# the terms of the GNU General Public License version 2.1. This program
# is licensed "as is" without any warranty of any kind, whether express
# or implied.
# #
# Notes: # Notes:
# (1) For machine targets which produce more than one image, define # (1) For machine targets which produce more than one image, define
...@@ -18,11 +21,6 @@ ...@@ -18,11 +21,6 @@
# (4) It is advisable to pass in the memory size using BI_MEMSIZE and # (4) It is advisable to pass in the memory size using BI_MEMSIZE and
# get_mem_size(), which is memory controller dependant. Add in the correct # get_mem_size(), which is memory controller dependant. Add in the correct
# XXX_memory.o file for this to work, as well as editing the $(MISC) file. # XXX_memory.o file for this to work, as well as editing the $(MISC) file.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
boot: zImage boot: zImage
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* *
* Author: Mark A. Greer <mgreer@mvista.com> * Author: Mark A. Greer <mgreer@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* This code assumes that the data cache has been disabled (L1, L2, L3). */ /* This code assumes that the data cache has been disabled (L1, L2, L3). */
......
...@@ -7,12 +7,10 @@ ...@@ -7,12 +7,10 @@
* trini@mvista.com * trini@mvista.com
* Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others). * Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others).
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* *
* Author: Mark Greer <mgreer@mvista.com> * Author: Mark Greer <mgreer@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <asm/ppc_asm.h> #include <asm/ppc_asm.h>
......
...@@ -8,27 +8,10 @@ ...@@ -8,27 +8,10 @@
* *
* Derived from arch/ppc/boot/prep/misc.c * Derived from arch/ppc/boot/prep/misc.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/types.h> #include <linux/types.h>
......
...@@ -10,12 +10,10 @@ ...@@ -10,12 +10,10 @@
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* Derived from arch/ppc/boot/prep/misc.c * Derived from arch/ppc/boot/prep/misc.c
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/types.h> #include <linux/types.h>
......
...@@ -9,12 +9,10 @@ ...@@ -9,12 +9,10 @@
* trini@mvista.com * trini@mvista.com
* Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others). * Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others).
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#define ELF_HEADER_SIZE 65536 #define ELF_HEADER_SIZE 65536
......
...@@ -36,6 +36,7 @@ main(void) ...@@ -36,6 +36,7 @@ main(void)
DEFINE(THREAD, offsetof(struct task_struct, thread)); DEFINE(THREAD, offsetof(struct task_struct, thread));
DEFINE(THREAD_INFO, offsetof(struct task_struct, thread_info)); DEFINE(THREAD_INFO, offsetof(struct task_struct, thread_info));
DEFINE(MM, offsetof(struct task_struct, mm)); DEFINE(MM, offsetof(struct task_struct, mm));
DEFINE(PTRACE, offsetof(struct task_struct, ptrace));
DEFINE(KSP, offsetof(struct thread_struct, ksp)); DEFINE(KSP, offsetof(struct thread_struct, ksp));
DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall)); DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall));
...@@ -43,6 +44,10 @@ main(void) ...@@ -43,6 +44,10 @@ main(void)
DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode));
DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0])); DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0]));
DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr)); DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr));
#ifdef CONFIG_4xx
DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0));
DEFINE(PT_PTRACED, PT_PTRACED);
#endif
#ifdef CONFIG_ALTIVEC #ifdef CONFIG_ALTIVEC
DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0])); DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0]));
DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave)); DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave));
......
...@@ -34,6 +34,25 @@ ...@@ -34,6 +34,25 @@
#undef SHOW_SYSCALLS #undef SHOW_SYSCALLS
#undef SHOW_SYSCALLS_TASK #undef SHOW_SYSCALLS_TASK
/*
* MSR_KERNEL is > 0x10000 on 4xx since it include MSR_CE.
*/
#if MSR_KERNEL >= 0x10000
#define LOAD_MSR_KERNEL(r, x) lis r,(x)@h; ori r,r,(x)@l
#else
#define LOAD_MSR_KERNEL(r, x) li r,(x)
#endif
#ifdef CONFIG_4xx
.globl crit_transfer_to_handler
crit_transfer_to_handler:
lwz r0,crit_r10@l(0)
stw r0,GPR10(r11)
lwz r0,crit_r11@l(0)
stw r0,GPR11(r11)
/* fall through */
#endif
/* /*
* This code finishes saving the registers to the exception frame * This code finishes saving the registers to the exception frame
* and jumps to the appropriate handler for the exception, turning * and jumps to the appropriate handler for the exception, turning
...@@ -51,6 +70,7 @@ transfer_to_handler: ...@@ -51,6 +70,7 @@ transfer_to_handler:
stw r2,GPR2(r11) stw r2,GPR2(r11)
stw r12,_NIP(r11) stw r12,_NIP(r11)
stw r9,_MSR(r11) stw r9,_MSR(r11)
andi. r2,r9,MSR_PR
mfctr r12 mfctr r12
mfspr r2,XER mfspr r2,XER
stw r12,_CTR(r11) stw r12,_CTR(r11)
...@@ -61,6 +81,22 @@ transfer_to_handler: ...@@ -61,6 +81,22 @@ transfer_to_handler:
beq 2f /* if from user, fix up THREAD.regs */ beq 2f /* if from user, fix up THREAD.regs */
addi r11,r1,STACK_FRAME_OVERHEAD addi r11,r1,STACK_FRAME_OVERHEAD
stw r11,PT_REGS(r12) stw r11,PT_REGS(r12)
#ifdef CONFIG_4xx
lwz r12,PTRACE-THREAD(r12)
andi. r12,r12,PT_PTRACED
beq+ 3f
/* From user and task is ptraced - load up global dbcr0 */
li r12,-1 /* clear all pending debug events */
mtspr SPRN_DBSR,r12
lis r11,global_dbcr0@ha
tophys(r11,r11)
addi r11,r11,global_dbcr0@l
lwz r12,0(r11)
mtspr SPRN_DBCR0,r12
lwz r12,4(r11)
addi r12,r12,-1
stw r12,4(r11)
#endif
b 3f b 3f
2: /* if from kernel, check interrupted DOZE/NAP mode and 2: /* if from kernel, check interrupted DOZE/NAP mode and
* check for stack overflow * check for stack overflow
...@@ -96,15 +132,19 @@ transfer_to_handler_cont: ...@@ -96,15 +132,19 @@ transfer_to_handler_cont:
* and call StackOverflow(regs), which should not return. * and call StackOverflow(regs), which should not return.
*/ */
stack_ovf: stack_ovf:
/* sometimes we use a statically-allocated stack, which is OK. */
lis r11,_end@h
ori r11,r11,_end@l
cmplw r1,r11
ble 3b /* r1 <= &_end is OK */
SAVE_NVGPRS(r11) SAVE_NVGPRS(r11)
addi r3,r1,STACK_FRAME_OVERHEAD addi r3,r1,STACK_FRAME_OVERHEAD
tovirt(r2,r2) /* set r2 to current */
lis r1,init_thread_union@ha lis r1,init_thread_union@ha
addi r1,r1,init_thread_union@l addi r1,r1,init_thread_union@l
addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD
lis r9,StackOverflow@ha lis r9,StackOverflow@ha
addi r9,r9,StackOverflow@l addi r9,r9,StackOverflow@l
li r10,MSR_KERNEL LOAD_MSR_KERNEL(r10,MSR_KERNEL)
FIX_SRR1(r10,r12) FIX_SRR1(r10,r12)
mtspr SRR0,r9 mtspr SRR0,r9
mtspr SRR1,r10 mtspr SRR1,r10
...@@ -161,7 +201,7 @@ ret_from_syscall: ...@@ -161,7 +201,7 @@ ret_from_syscall:
stw r10,_CCR(r1) stw r10,_CCR(r1)
/* disable interrupts so current_thread_info()->flags can't change */ /* disable interrupts so current_thread_info()->flags can't change */
30: li r10,MSR_KERNEL /* doesn't include MSR_EE */ 30: LOAD_MSR_KERNEL(r10,MSR_KERNEL) /* doesn't include MSR_EE */
SYNC SYNC
MTMSRD(r10) MTMSRD(r10)
rlwinm r12,r1,0,0,18 /* current_thread_info() */ rlwinm r12,r1,0,0,18 /* current_thread_info() */
...@@ -169,6 +209,12 @@ ret_from_syscall: ...@@ -169,6 +209,12 @@ ret_from_syscall:
andi. r0,r9,(_TIF_SYSCALL_TRACE|_TIF_SIGPENDING|_TIF_NEED_RESCHED) andi. r0,r9,(_TIF_SYSCALL_TRACE|_TIF_SIGPENDING|_TIF_NEED_RESCHED)
bne- syscall_exit_work bne- syscall_exit_work
syscall_exit_cont: syscall_exit_cont:
#ifdef CONFIG_4xx
/* If the process has its own DBCR0 value, load it up */
lwz r0,PTRACE(r2)
andi. r0,r0,PT_PTRACED
bnel- load_4xx_dbcr0
#endif
stwcx. r0,0,r1 /* to clear the reservation */ stwcx. r0,0,r1 /* to clear the reservation */
lwz r4,_LINK(r1) lwz r4,_LINK(r1)
lwz r5,_CCR(r1) lwz r5,_CCR(r1)
...@@ -215,7 +261,6 @@ syscall_exit_work: ...@@ -215,7 +261,6 @@ syscall_exit_work:
stw r3,GPR3(r1) /* Update return value */ stw r3,GPR3(r1) /* Update return value */
andi. r0,r9,_TIF_SYSCALL_TRACE andi. r0,r9,_TIF_SYSCALL_TRACE
beq 5f beq 5f
stw r6,GPR0(r1) /* temporary gross hack to make strace work */
ori r10,r10,MSR_EE ori r10,r10,MSR_EE
SYNC SYNC
MTMSRD(r10) /* re-enable interrupts */ MTMSRD(r10) /* re-enable interrupts */
...@@ -230,7 +275,7 @@ syscall_exit_work: ...@@ -230,7 +275,7 @@ syscall_exit_work:
REST_NVGPRS(r1) REST_NVGPRS(r1)
2: 2:
lwz r3,GPR3(r1) lwz r3,GPR3(r1)
li r10,MSR_KERNEL /* doesn't include MSR_EE */ LOAD_MSR_KERNEL(r10,MSR_KERNEL) /* doesn't include MSR_EE */
SYNC SYNC
MTMSRD(r10) /* disable interrupts again */ MTMSRD(r10) /* disable interrupts again */
rlwinm r12,r1,0,0,18 /* current_thread_info() */ rlwinm r12,r1,0,0,18 /* current_thread_info() */
...@@ -243,10 +288,7 @@ syscall_exit_work: ...@@ -243,10 +288,7 @@ syscall_exit_work:
beq syscall_exit_cont beq syscall_exit_cont
andi. r0,r9,_TIF_SIGPENDING andi. r0,r9,_TIF_SIGPENDING
beq syscall_exit_cont beq syscall_exit_cont
ori r10,r10,MSR_EE b do_user_signal
SYNC
MTMSRD(r10) /* re-enable interrupts */
b syscall_do_signal
1: 1:
ori r10,r10,MSR_EE ori r10,r10,MSR_EE
SYNC SYNC
...@@ -459,7 +501,7 @@ ret_from_except: ...@@ -459,7 +501,7 @@ ret_from_except:
/* Hard-disable interrupts so that current_thread_info()->flags /* Hard-disable interrupts so that current_thread_info()->flags
* can't change between when we test it and when we return * can't change between when we test it and when we return
* from the interrupt. */ * from the interrupt. */
li r10,MSR_KERNEL /* doesn't include EE */ LOAD_MSR_KERNEL(r10,MSR_KERNEL)
SYNC /* Some chip revs have problems here... */ SYNC /* Some chip revs have problems here... */
MTMSRD(r10) /* disable interrupts */ MTMSRD(r10) /* disable interrupts */
...@@ -467,23 +509,33 @@ ret_from_except: ...@@ -467,23 +509,33 @@ ret_from_except:
andi. r3,r3,MSR_PR andi. r3,r3,MSR_PR
beq resume_kernel beq resume_kernel
user_exc_return: /* r10 contains MSR_KERNEL here */
/* Check current_thread_info()->flags */ /* Check current_thread_info()->flags */
rlwinm r9,r1,0,0,18 rlwinm r9,r1,0,0,18
lwz r9,TI_FLAGS(r9) lwz r9,TI_FLAGS(r9)
andi. r0,r9,(_TIF_SIGPENDING|_TIF_NEED_RESCHED) andi. r0,r9,(_TIF_SIGPENDING|_TIF_NEED_RESCHED)
bne do_work bne do_work
restore_user:
#ifdef CONFIG_4xx
/* Check whether this process has its own DBCR0 value */
lwz r0,PTRACE(r2)
andi. r0,r0,PT_PTRACED
bnel- load_4xx_dbcr0
#endif
#ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT
b restore b restore
resume_kernel: resume_kernel:
rlwinm r9,r1,0,0,18 /* check current_thread_info->preempt_count */ /* check current_thread_info->preempt_count */
rlwinm r9,r1,0,0,18
lwz r3,TI_PREEMPT(r9) lwz r3,TI_PREEMPT(r9)
cmpwi 0,r0,0 /* if non-zero, just restore regs and return */ cmpwi 0,r3,0 /* if non-zero, just restore regs and return */
bne restore bne restore
lwz r9,TI_FLAGS(r9) lwz r9,TI_FLAGS(r9)
andi. r0,r9,_TIF_NEED_RESCHED andi. r0,r9,_TIF_NEED_RESCHED
bne do_work bne do_resched
#else #else
resume_kernel: resume_kernel:
#endif /* CONFIG_PREEMPT */ #endif /* CONFIG_PREEMPT */
...@@ -522,7 +574,7 @@ restore: ...@@ -522,7 +574,7 @@ restore:
* can restart the exception exit path at the label * can restart the exception exit path at the label
* exc_exit_restart below. -- paulus * exc_exit_restart below. -- paulus
*/ */
li r10,MSR_KERNEL & ~MSR_RI LOAD_MSR_KERNEL(r10,MSR_KERNEL & ~MSR_RI)
SYNC SYNC
MTMSRD(r10) /* clear the RI bit */ MTMSRD(r10) /* clear the RI bit */
.globl exc_exit_restart .globl exc_exit_restart
...@@ -542,18 +594,14 @@ exc_exit_restart_end: ...@@ -542,18 +594,14 @@ exc_exit_restart_end:
#else /* CONFIG_4xx */ #else /* CONFIG_4xx */
/* /*
* This is a bit different on 4xx because 4xx doesn't have * This is a bit different on 4xx because 4xx doesn't have
* the RI bit in the MSR, and because we have critical * the RI bit in the MSR.
* exceptions, for which we need to restore SRR0 and SRR1
* and then use SRR2/SRR3 to return from the exception.
* The TLB miss handler checks if we have interrupted * The TLB miss handler checks if we have interrupted
* the exception exit path and restarts it if so. * the exception exit path and restarts it if so
* (well maybe one day it will... :).
*/ */
lwz r10,TRAP(r1) /* check for critical exception */
lwz r11,_LINK(r1) lwz r11,_LINK(r1)
andi. r10,r10,2
mtlr r11 mtlr r11
lwz r10,_CCR(r1) lwz r10,_CCR(r1)
bne crit_exc_exit
mtcrf 0xff,r10 mtcrf 0xff,r10
REST_2GPRS(9, r1) REST_2GPRS(9, r1)
.globl exc_exit_restart .globl exc_exit_restart
...@@ -570,7 +618,43 @@ exc_exit_restart_end: ...@@ -570,7 +618,43 @@ exc_exit_restart_end:
PPC405_ERR77_SYNC PPC405_ERR77_SYNC
rfi rfi
b . /* prevent prefetch past rfi */ b . /* prevent prefetch past rfi */
crit_exc_exit:
/*
* Returning from a critical interrupt in user mode doesn't need
* to be any different from a normal exception. For a critical
* interrupt in the kernel, we just return (without checking for
* preemption) since the interrupt may have happened at some crucial
* place (e.g. inside the TLB miss handler), and because we will be
* running with r1 pointing into critical_stack, not the current
* process's kernel stack (and therefore current_thread_info() will
* give the wrong answer).
* We have to restore various SPRs that may have been in use at the
* time of the critical interrupt.
*/
.globl ret_from_crit_exc
ret_from_crit_exc:
REST_NVGPRS(r1)
lwz r3,_MSR(r1)
andi. r3,r3,MSR_PR
LOAD_MSR_KERNEL(r10,MSR_KERNEL)
bne user_exc_return
lwz r0,GPR0(r1)
lwz r2,GPR2(r1)
REST_4GPRS(3, r1)
REST_2GPRS(7, r1)
lwz r10,_XER(r1)
lwz r11,_CTR(r1)
mtspr XER,r10
mtctr r11
PPC405_ERR77(0,r1)
stwcx. r0,0,r1 /* to clear the reservation */
lwz r11,_LINK(r1)
mtlr r11
lwz r10,_CCR(r1)
mtcrf 0xff,r10 mtcrf 0xff,r10
/* avoid any possible TLB misses here by turning off MSR.DR, we /* avoid any possible TLB misses here by turning off MSR.DR, we
* assume the instructions here are mapped by a pinned TLB entry */ * assume the instructions here are mapped by a pinned TLB entry */
...@@ -606,40 +690,68 @@ crit_exc_exit: ...@@ -606,40 +690,68 @@ crit_exc_exit:
mtspr SRR1,r10 mtspr SRR1,r10
lwz r10,crit_pid@l(0) lwz r10,crit_pid@l(0)
mtspr SPRN_PID,r10 mtspr SPRN_PID,r10
lwz r10,crit_r10@l(0) lwz r10,GPR10(r1)
lwz r11,crit_r11@l(0) lwz r11,GPR11(r1)
lwz r1,GPR1(r1) lwz r1,GPR1(r1)
PPC405_ERR77_SYNC PPC405_ERR77_SYNC
rfci rfci
b . /* prevent prefetch past rfci */ b . /* prevent prefetch past rfci */
/*
* Load the DBCR0 value for a task that is being ptraced,
* having first saved away the global DBCR0.
*/
load_4xx_dbcr0:
mfmsr r0 /* first disable debug exceptions */
rlwinm r0,r0,0,~MSR_DE
mtmsr r0
isync
mfspr r10,SPRN_DBCR0
lis r11,global_dbcr0@ha
addi r11,r11,global_dbcr0@l
lwz r0,THREAD+THREAD_DBCR0(r2)
stw r10,0(r11)
mtspr SPRN_DBCR0,r0
lwz r10,4(r11)
addi r10,r10,1
stw r10,4(r11)
li r11,-1
mtspr SPRN_DBSR,r11 /* clear all pending debug events */
blr
.comm global_dbcr0,8
#endif /* CONFIG_4xx */ #endif /* CONFIG_4xx */
do_work: /* r10 contains MSR_KERNEL here */
andi. r0,r9,_TIF_NEED_RESCHED
beq do_user_signal
do_resched: /* r10 contains MSR_KERNEL here */
ori r10,r10,MSR_EE
SYNC
MTMSRD(r10) /* hard-enable interrupts */
bl schedule
recheck: recheck:
li r10,MSR_KERNEL LOAD_MSR_KERNEL(r10,MSR_KERNEL)
SYNC SYNC
MTMSRD(r10) /* disable interrupts */ MTMSRD(r10) /* disable interrupts */
rlwinm r9,r1,0,0,18 rlwinm r9,r1,0,0,18
lwz r9,TI_FLAGS(r9) lwz r9,TI_FLAGS(r9)
andi. r0,r9,_TIF_NEED_RESCHED
bne- do_resched
#ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT
lwz r0,_MSR(r1) lwz r0,_MSR(r1)
li r11,_TIF_NEED_RESCHED andi. r0,r0,MSR_PR
/* move MSR_PR bit down to TIF_SIGPENDING (0x4) bit */
rlwimi r11,r0,18+TIF_SIGPENDING,31-TIF_SIGPENDING,31-TIF_SIGPENDING
and. r0,r9,r11
#else /* CONFIG_PREEMPT */
andi. r0,r9,(_TIF_SIGPENDING|_TIF_NEED_RESCHED)
#endif /* CONFIG_PREEMPT */
beq restore beq restore
do_work: #endif
andi. r0,r9,_TIF_SIGPENDING
beq restore_user
do_user_signal: /* r10 contains MSR_KERNEL here */
ori r10,r10,MSR_EE ori r10,r10,MSR_EE
SYNC SYNC
MTMSRD(r10) /* hard-enable interrupts */ MTMSRD(r10) /* hard-enable interrupts */
andi. r0,r9,_TIF_NEED_RESCHED
beq 1f
bl schedule
b recheck
1:
syscall_do_signal:
/* save r13-r31 in the exception frame, if not already done */ /* save r13-r31 in the exception frame, if not already done */
lwz r3,TRAP(r1) lwz r3,TRAP(r1)
andi. r0,r3,1 andi. r0,r3,1
...@@ -715,7 +827,7 @@ _GLOBAL(enter_rtas) ...@@ -715,7 +827,7 @@ _GLOBAL(enter_rtas)
lwz r8,rtas_entry@l(r8) lwz r8,rtas_entry@l(r8)
mfmsr r9 mfmsr r9
stw r9,8(r1) stw r9,8(r1)
li r0,MSR_KERNEL LOAD_MSR_KERNEL(r0,MSR_KERNEL)
SYNC /* disable interrupts so SRR0/1 */ SYNC /* disable interrupts so SRR0/1 */
MTMSRD(r0) /* don't get trashed */ MTMSRD(r0) /* don't get trashed */
li r9,MSR_ li r9,MSR_
......
...@@ -401,7 +401,6 @@ DataAccess: ...@@ -401,7 +401,6 @@ DataAccess:
mfspr r4,DAR mfspr r4,DAR
stw r4,_DAR(r11) stw r4,_DAR(r11)
addi r3,r1,STACK_FRAME_OVERHEAD addi r3,r1,STACK_FRAME_OVERHEAD
andi. r0,r9,MSR_PR /* set cr0.eq if from kernel */
EXC_XFER_EE_LITE(0x300, do_page_fault) EXC_XFER_EE_LITE(0x300, do_page_fault)
#ifdef CONFIG_PPC64BRIDGE #ifdef CONFIG_PPC64BRIDGE
...@@ -427,7 +426,6 @@ InstructionAccess: ...@@ -427,7 +426,6 @@ InstructionAccess:
1: addi r3,r1,STACK_FRAME_OVERHEAD 1: addi r3,r1,STACK_FRAME_OVERHEAD
mr r4,r12 mr r4,r12
mr r5,r9 mr r5,r9
andi. r0,r9,MSR_PR /* set cr0.eq if from kernel */
EXC_XFER_EE_LITE(0x400, do_page_fault) EXC_XFER_EE_LITE(0x400, do_page_fault)
#ifdef CONFIG_PPC64BRIDGE #ifdef CONFIG_PPC64BRIDGE
......
...@@ -75,7 +75,8 @@ _GLOBAL(_start) ...@@ -75,7 +75,8 @@ _GLOBAL(_start)
* ready to work. * ready to work.
*/ */
turn_on_mmu: turn_on_mmu:
li r0,MSR_KERNEL lis r0,MSR_KERNEL@h
ori r0,r0,MSR_KERNEL@l
mtspr SRR1,r0 mtspr SRR1,r0
lis r0,start_here@h lis r0,start_here@h
ori r0,r0,start_here@l ori r0,r0,start_here@l
...@@ -213,42 +214,21 @@ _GLOBAL(crit_srr1) ...@@ -213,42 +214,21 @@ _GLOBAL(crit_srr1)
SAVE_4GPRS(3, r11); \ SAVE_4GPRS(3, r11); \
SAVE_2GPRS(7, r11) SAVE_2GPRS(7, r11)
#if 0 /*
#define CRITICAL_EXCEPTION_PROLOG \ * State at this point:
stw r10,crit_save@l(0); /* save two registers to work with */\ * r9 saved in stack frame, now saved SRR3 & ~MSR_WE
stw r11,4+crit_save@l(0); \ * r10 saved in crit_r10 and in stack frame, trashed
mfcr r10; /* save CR in r10 for now */\ * r11 saved in crit_r11 and in stack frame,
mfspr r11,SPRN_SRR3; /* check whether user or kernel */\ * now phys stack/exception frame pointer
andi. r11,r11,MSR_PR; \ * r12 saved in stack frame, now saved SRR2
mr r11,r1; \ * SPRG0,1,4,5,6,7 saved in crit_sprg0,1,4,5,6,7
beq 1f; \ * PID saved in crit_pid
mfspr r11,SPRG3; /* if from user, start at top of */\ * SRR0,1 saved in crit_srr0,1
lwz r11,THREAD_INFO-THREAD(r11); /* this thread's kernel stack */\ * CR saved in stack frame, CR0.EQ = !SRR3.PR
addi r11,r11,THREAD_SIZE; \ * LR, DEAR, ESR in stack frame
1: subi r11,r11,INT_FRAME_SIZE; /* Allocate an exception frame */\ * r1 saved in stack frame, now virt stack/excframe pointer
tophys(r11,r11); \ * r0, r3-r8 saved in stack frame
stw r10,_CCR(r11); /* save various registers */\ */
stw r12,GPR12(r11); \
stw r9,GPR9(r11); \
lwz r10,crit_save@l(0); \
stw r10,GPR10(r11); \
lwz r12,4+crit_save@l(0); \
stw r12,GPR11(r11); \
mflr r10; \
stw r10,_LINK(r11); \
mfspr r12,SRR0; /* save SRR0 and SRR1 in the frame */\
stw r12,_SRR0(r11); /* since they may have had stuff */\
mfspr r9,SRR1; /* in them at the point where the */\
stw r9,_SRR1(r11); /* exception was taken */\
mfspr r12,SRR2; \
stw r1,GPR1(r11); \
mfspr r9,SRR3; \
stw r1,0(r11); \
rlwinm r9,r9,0,14,12; /* clear MSR_WE (necessary?) */\
stw r0,GPR0(r11); \
SAVE_4GPRS(3, r11); \
SAVE_2GPRS(7, r11)
#endif
/* /*
* Exception vectors. * Exception vectors.
...@@ -257,12 +237,6 @@ _GLOBAL(crit_srr1) ...@@ -257,12 +237,6 @@ _GLOBAL(crit_srr1)
. = n; \ . = n; \
label: label:
#define FINISH_EXCEPTION(func) \
bl transfer_to_handler_full; \
.long func; \
.long ret_from_except_full
#define EXCEPTION(n, label, hdlr, xfer) \ #define EXCEPTION(n, label, hdlr, xfer) \
START_EXCEPTION(n, label); \ START_EXCEPTION(n, label); \
NORMAL_EXCEPTION_PROLOG; \ NORMAL_EXCEPTION_PROLOG; \
...@@ -274,13 +248,14 @@ label: ...@@ -274,13 +248,14 @@ label:
CRITICAL_EXCEPTION_PROLOG; \ CRITICAL_EXCEPTION_PROLOG; \
addi r3,r1,STACK_FRAME_OVERHEAD; \ addi r3,r1,STACK_FRAME_OVERHEAD; \
EXC_XFER_TEMPLATE(hdlr, n+2, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \ EXC_XFER_TEMPLATE(hdlr, n+2, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \
NOCOPY, transfer_to_handler_full, \ NOCOPY, crit_transfer_to_handler, \
ret_from_except_full) ret_from_crit_exc)
#define EXC_XFER_TEMPLATE(hdlr, trap, msr, copyee, tfer, ret) \ #define EXC_XFER_TEMPLATE(hdlr, trap, msr, copyee, tfer, ret) \
li r10,trap; \ li r10,trap; \
stw r10,TRAP(r11); \ stw r10,TRAP(r11); \
li r10,msr; \ lis r10,msr@h; \
ori r10,r10,msr@l; \
copyee(r10, r9); \ copyee(r10, r9); \
bl tfer; \ bl tfer; \
.long hdlr; \ .long hdlr; \
...@@ -732,7 +707,47 @@ label: ...@@ -732,7 +707,47 @@ label:
/* 0x2000 - Debug Exception /* 0x2000 - Debug Exception
*/ */
CRITICAL_EXCEPTION(0x2000, DebugTrap, DebugException) START_EXCEPTION(0x2000, DebugTrap)
CRITICAL_EXCEPTION_PROLOG
/*
* If this is a single step or branch-taken exception in an
* exception entry sequence, it was probably meant to apply to
* the code where the exception occurred (since exception entry
* doesn't turn off DE automatically). We simulate the effect
* of turning off DE on entry to an exception handler by turning
* off DE in the SRR3 value and clearing the debug status.
*/
mfspr r10,SPRN_DBSR /* check single-step/branch taken */
andis. r10,r10,(DBSR_IC|DBSR_BT)@h
beq+ 1f
andi. r0,r9,MSR_IR|MSR_PR /* check supervisor + MMU off */
beq 2f /* branch if we need to fix it up... */
/* continue normal handling for a critical exception... */
1: mfspr r4,SPRN_DBSR
addi r3,r1,STACK_FRAME_OVERHEAD
EXC_XFER_TEMPLATE(DebugException, 0x2002, \
(MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \
NOCOPY, crit_transfer_to_handler, ret_from_crit_exc)
/* here it looks like we got an inappropriate debug exception. */
2: rlwinm r9,r9,0,~MSR_DE /* clear DE in the SRR3 value */
mtspr SPRN_DBSR,r10 /* clear the IC/BT debug intr status */
/* restore state and get out */
lwz r10,_CCR(r11)
lwz r0,GPR0(r11)
lwz r1,GPR1(r11)
mtcrf 0x80,r10
mtspr SRR2,r12
mtspr SRR3,r9
lwz r9,GPR9(r11)
lwz r12,GPR12(r11)
lwz r10,crit_r10@l(0)
lwz r11,crit_r11@l(0)
PPC405_ERR77_SYNC
rfci
b .
/* /*
* The other Data TLB exceptions bail out to this point * The other Data TLB exceptions bail out to this point
...@@ -747,60 +762,6 @@ DataAccess: ...@@ -747,60 +762,6 @@ DataAccess:
addi r3,r1,STACK_FRAME_OVERHEAD addi r3,r1,STACK_FRAME_OVERHEAD
EXC_XFER_EE_LITE(0x300, do_page_fault) EXC_XFER_EE_LITE(0x300, do_page_fault)
#if 0
/* Check for a single step debug exception while in an exception
* handler before state has been saved. This is to catch the case
* where an instruction that we are trying to single step causes
* an exception (eg ITLB miss) and thus the first instruction of
* the exception handler generates a single step debug exception.
*
* If we get a debug trap on the first instruction of an exception handler,
* we reset the MSR_DE in the _exception handlers_ MSR (the debug trap is
* a critical exception, so we are using SPRN_SRR3 to manipulate the MSR).
* The exception handler was handling a non-critical interrupt, so it will
* save (and later restore) the MSR via SPRN_SRR1, which will still have
* the MSR_DE bit set.
*/
check_single_step_in_exception:
/* This first instruction was already executed by the exception
* handler and must be the first instruction of every exception
* handler.
*/
mtspr SPRN_SPRG0,r10 /* Save some working registers... */
mtspr SPRN_SPRG1,r11
mfcr r10 /* ..and the cr because we change it */
mfspr r11,SPRN_SRR3 /* MSR at the time of fault */
andi. r11,r11,MSR_PR
bne+ 2f /* trapped from problem state */
mfspr r11,SPRN_SRR2 /* Faulting instruction address */
cmplwi r11,0x2100
bgt+ 2f /* address above exception vectors */
lis r11,DBSR_IC@h /* Remove the trap status */
mtspr SPRN_DBSR,r11
mfspr r11,SPRN_SRR3
rlwinm r11,r11,0,23,21 /* clear MSR_DE */
mtspr SPRN_SRR3, r11 /* restore MSR at rcfi without DE */
mtcrf 0xff,r10 /* restore registers */
mfspr r11,SPRN_SPRG1
mfspr r10,SPRN_SPRG0
sync
rfci /* return to the exception handler */
b . /* prevent prefetch past rfi */
2:
mtcrf 0xff,r10 /* restore registers */
mfspr r11,SPRN_SPRG1
mfspr r10,SPRN_SPRG0
b ret_to_debug_exception
#endif 0
/* Other PowerPC processors, namely those derived from the 6xx-series /* Other PowerPC processors, namely those derived from the 6xx-series
* have vectors from 0x2100 through 0x2F00 defined, but marked as reserved. * have vectors from 0x2100 through 0x2F00 defined, but marked as reserved.
* However, for the 4xx-series processors these are neither defined nor * However, for the 4xx-series processors these are neither defined nor
...@@ -911,7 +872,8 @@ start_here: ...@@ -911,7 +872,8 @@ start_here:
lis r4,2f@h lis r4,2f@h
ori r4,r4,2f@l ori r4,r4,2f@l
tophys(r4,r4) tophys(r4,r4)
li r3,MSR_KERNEL & ~(MSR_IR|MSR_DR) lis r3,(MSR_KERNEL & ~(MSR_IR|MSR_DR))@h
ori r3,r3,(MSR_KERNEL & ~(MSR_IR|MSR_DR))@l
mtspr SRR0,r4 mtspr SRR0,r4
mtspr SRR1,r3 mtspr SRR1,r3
rfi rfi
...@@ -934,7 +896,8 @@ start_here: ...@@ -934,7 +896,8 @@ start_here:
stw r6, 0(r5) stw r6, 0(r5)
/* Now turn on the MMU for real! */ /* Now turn on the MMU for real! */
li r4,MSR_KERNEL lis r4,MSR_KERNEL@h
ori r4,r4,MSR_KERNEL@l
lis r3,start_kernel@h lis r3,start_kernel@h
ori r3,r3,start_kernel@l ori r3,r3,start_kernel@l
mtspr SRR0,r3 mtspr SRR0,r3
......
...@@ -35,7 +35,11 @@ ...@@ -35,7 +35,11 @@
/* /*
* Set of msr bits that gdb can change on behalf of a process. * Set of msr bits that gdb can change on behalf of a process.
*/ */
#define MSR_DEBUGCHANGE (MSR_FE0 | MSR_SE | MSR_BE | MSR_FE1) #ifdef CONFIG_4xx
#define MSR_DEBUGCHANGE 0
#else
#define MSR_DEBUGCHANGE (MSR_SE | MSR_BE)
#endif
/* /*
* does not yet catch signals sent when the child dies. * does not yet catch signals sent when the child dies.
...@@ -132,8 +136,14 @@ set_single_step(struct task_struct *task) ...@@ -132,8 +136,14 @@ set_single_step(struct task_struct *task)
{ {
struct pt_regs *regs = task->thread.regs; struct pt_regs *regs = task->thread.regs;
if (regs != NULL) if (regs != NULL) {
#ifdef CONFIG_4xx
task->thread.dbcr0 = DBCR0_IDM | DBCR0_IC;
/* MSR.DE should already be set */
#else
regs->msr |= MSR_SE; regs->msr |= MSR_SE;
#endif
}
} }
static inline void static inline void
...@@ -141,8 +151,13 @@ clear_single_step(struct task_struct *task) ...@@ -141,8 +151,13 @@ clear_single_step(struct task_struct *task)
{ {
struct pt_regs *regs = task->thread.regs; struct pt_regs *regs = task->thread.regs;
if (regs != NULL) if (regs != NULL) {
#ifdef CONFIG_4xx
task->thread.dbcr0 = 0;
#else
regs->msr &= ~MSR_SE; regs->msr &= ~MSR_SE;
#endif
}
} }
/* /*
......
...@@ -44,8 +44,8 @@ struct cpuinfo_PPC cpu_data[NR_CPUS]; ...@@ -44,8 +44,8 @@ struct cpuinfo_PPC cpu_data[NR_CPUS];
struct klock_info_struct klock_info = { KLOCK_CLEAR, 0 }; struct klock_info_struct klock_info = { KLOCK_CLEAR, 0 };
atomic_t ipi_recv; atomic_t ipi_recv;
atomic_t ipi_sent; atomic_t ipi_sent;
unsigned int prof_multiplier[NR_CPUS] = { [1 ... NR_CPUS-1] = 1 }; DEFINE_PER_CPU(unsigned int, prof_multiplier);
unsigned int prof_counter[NR_CPUS] = { [1 ... NR_CPUS-1] = 1 }; DEFINE_PER_CPU(unsigned int, prof_counter);
unsigned long cache_decay_ticks = HZ/100; unsigned long cache_decay_ticks = HZ/100;
unsigned long cpu_online_map = 1UL; unsigned long cpu_online_map = 1UL;
unsigned long cpu_possible_map = 1UL; unsigned long cpu_possible_map = 1UL;
...@@ -90,9 +90,9 @@ void smp_local_timer_interrupt(struct pt_regs * regs) ...@@ -90,9 +90,9 @@ void smp_local_timer_interrupt(struct pt_regs * regs)
{ {
int cpu = smp_processor_id(); int cpu = smp_processor_id();
if (!--prof_counter[cpu]) { if (!--per_cpu(prof_counter, cpu)) {
update_process_times(user_mode(regs)); update_process_times(user_mode(regs));
prof_counter[cpu]=prof_multiplier[cpu]; per_cpu(prof_counter, cpu) = per_cpu(prof_multiplier, cpu);
} }
} }
...@@ -327,6 +327,8 @@ static void __devinit smp_store_cpu_info(int id) ...@@ -327,6 +327,8 @@ static void __devinit smp_store_cpu_info(int id)
/* assume bogomips are same for everything */ /* assume bogomips are same for everything */
c->loops_per_jiffy = loops_per_jiffy; c->loops_per_jiffy = loops_per_jiffy;
c->pvr = mfspr(PVR); c->pvr = mfspr(PVR);
per_cpu(prof_counter, id) = 1;
per_cpu(prof_multiplier, id) = 1;
} }
void __init smp_prepare_cpus(unsigned int max_cpus) void __init smp_prepare_cpus(unsigned int max_cpus)
......
...@@ -313,8 +313,6 @@ ProgramCheckException(struct pt_regs *regs) ...@@ -313,8 +313,6 @@ ProgramCheckException(struct pt_regs *regs)
int isbpt = esr & ESR_PTR; int isbpt = esr & ESR_PTR;
extern int do_mathemu(struct pt_regs *regs); extern int do_mathemu(struct pt_regs *regs);
if (isbpt)
mtspr(SPRN_DBSR, DBSR_TIE);
#ifdef CONFIG_MATH_EMULATION #ifdef CONFIG_MATH_EMULATION
if (!isbpt && do_mathemu(regs) == 0) if (!isbpt && do_mathemu(regs) == 0)
return; return;
...@@ -436,28 +434,20 @@ SoftwareEmulation(struct pt_regs *regs) ...@@ -436,28 +434,20 @@ SoftwareEmulation(struct pt_regs *regs)
#if defined(CONFIG_4xx) #if defined(CONFIG_4xx)
void DebugException(struct pt_regs *regs) void DebugException(struct pt_regs *regs, unsigned long debug_status)
{ {
unsigned long debug_status; #if 0
debug_status = mfspr(SPRN_DBSR);
regs->msr &= ~MSR_DE; /* Turn off 'debug' bit */
if (debug_status & DBSR_TIE) { /* trap instruction*/ if (debug_status & DBSR_TIE) { /* trap instruction*/
mtspr(SPRN_DBSR, DBSR_TIE);
if (!user_mode(regs) && debugger_bpt(regs)) if (!user_mode(regs) && debugger_bpt(regs))
return; return;
_exception(SIGTRAP, regs); _exception(SIGTRAP, regs);
} else if (debug_status & DBSR_IC) { /* instruction completion */ }
#endif
mtspr(SPRN_DBSR, DBSR_IC); if (debug_status & DBSR_IC) { /* instruction completion */
mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) & ~DBCR0_IC);
if (!user_mode(regs) && debugger_sstep(regs)) if (!user_mode(regs) && debugger_sstep(regs))
return; return;
current->thread.dbcr0 &= ~DBCR0_IC;
_exception(SIGTRAP, regs); _exception(SIGTRAP, regs);
} }
} }
......
#
# Makefile for the linux kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...
#
# NB: cribbed from the drivers/sbus/Makefile -- PMM
export-objs := ocp.o ocp-driver.o ocp-probe.o
obj-y += ocp.o ocp-driver.o ocp-probe.o
/*
* FILE NAME: ocp-driver.c
*
* BRIEF MODULE DESCRIPTION:
* driver callback, id matching and registration
* Based on drivers/pci/pci-driver, Copyright (c) 1997--1999 Martin Mares
*
* Maintained by: Armin <akuster@mvista.com>
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <asm/ocp.h>
#include <linux/module.h>
#include <linux/init.h>
/*
* Registration of OCP drivers and handling of hot-pluggable devices.
*/
static int
ocp_device_probe(struct device *dev)
{
int error = 0;
struct ocp_driver *drv;
struct ocp_device *ocp_dev;
drv = to_ocp_driver(dev->driver);
ocp_dev = to_ocp_dev(dev);
if (drv->probe) {
error = drv->probe(ocp_dev);
DBG("probe return code %d\n", error);
if (error >= 0) {
ocp_dev->driver = drv;
error = 0;
}
}
return error;
}
static int
ocp_device_remove(struct device *dev)
{
struct ocp_device *ocp_dev = to_ocp_dev(dev);
if (ocp_dev->driver) {
if (ocp_dev->driver->remove)
ocp_dev->driver->remove(ocp_dev);
ocp_dev->driver = NULL;
}
return 0;
}
static int
ocp_device_suspend(struct device *dev, u32 state, u32 level)
{
struct ocp_device *ocp_dev = to_ocp_dev(dev);
int error = 0;
if (ocp_dev->driver) {
if (level == SUSPEND_SAVE_STATE && ocp_dev->driver->save_state)
error = ocp_dev->driver->save_state(ocp_dev, state);
else if (level == SUSPEND_POWER_DOWN
&& ocp_dev->driver->suspend)
error = ocp_dev->driver->suspend(ocp_dev, state);
}
return error;
}
static int
ocp_device_resume(struct device *dev, u32 level)
{
struct ocp_device *ocp_dev = to_ocp_dev(dev);
if (ocp_dev->driver) {
if (level == RESUME_POWER_ON && ocp_dev->driver->resume)
ocp_dev->driver->resume(ocp_dev);
}
return 0;
}
/**
* ocp_bus_match - Works out whether an OCP device matches any
* of the IDs listed for a given OCP driver.
* @dev: the generic device struct for the OCP device
* @drv: the generic driver struct for the OCP driver
*
* Used by a driver to check whether a OCP device present in the
* system is in its list of supported devices. Returns 1 for a
* match, or 0 if there is no match.
*/
static int
ocp_bus_match(struct device *dev, struct device_driver *drv)
{
struct ocp_device *ocp_dev = to_ocp_dev(dev);
struct ocp_driver *ocp_drv = to_ocp_driver(drv);
const struct ocp_device_id *ids = ocp_drv->id_table;
if (!ids)
return 0;
while (ids->vendor || ids->device) {
if ((ids->vendor == OCP_ANY_ID
|| ids->vendor == ocp_dev->vendor)
&& (ids->device == OCP_ANY_ID
|| ids->device == ocp_dev->device)) {
DBG("Bus match -vendor:%x device:%x\n", ids->vendor,
ids->device);
return 1;
}
ids++;
}
return 0;
}
struct bus_type ocp_bus_type = {
.name = "ocp",
.match = ocp_bus_match,
};
static int __init
ocp_driver_init(void)
{
return bus_register(&ocp_bus_type);
}
postcore_initcall(ocp_driver_init);
/**
* ocp_register_driver - register a new ocp driver
* @drv: the driver structure to register
*
* Adds the driver structure to the list of registered drivers
* Returns the number of ocp devices which were claimed by the driver
* during registration. The driver remains registered even if the
* return value is zero.
*/
int
ocp_register_driver(struct ocp_driver *drv)
{
int count = 0;
/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &ocp_bus_type;
drv->driver.probe = ocp_device_probe;
drv->driver.resume = ocp_device_resume;
drv->driver.suspend = ocp_device_suspend;
drv->driver.remove = ocp_device_remove;
/* register with core */
count = driver_register(&drv->driver);
return count ? count : 1;
}
/**
* ocp_unregister_driver - unregister a ocp driver
* @drv: the driver structure to unregister
*
* Deletes the driver structure from the list of registered OCP drivers,
* gives it a chance to clean up by calling its remove() function for
* each device it was responsible for, and marks those devices as
* driverless.
*/
void
ocp_unregister_driver(struct ocp_driver *drv)
{
driver_unregister(&drv->driver);
}
EXPORT_SYMBOL(ocp_register_driver);
EXPORT_SYMBOL(ocp_unregister_driver);
EXPORT_SYMBOL(ocp_bus_type);
/*
* FILE NAME: ocp-probe.c
*
* BRIEF MODULE DESCRIPTION:
* Device scanning & bus set routines
* Based on drivers/pci/probe, Copyright (c) 1997--1999 Martin Mares
*
* Maintained by: Armin <akuster@mvista.com>
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/device.h>
#include <asm/ocp.h>
LIST_HEAD(ocp_devices);
struct device *ocp_bus;
static struct ocp_device * __devinit
ocp_setup_dev(struct ocp_def *odef, unsigned int index)
{
struct ocp_device *dev;
dev = kmalloc(sizeof(*dev), GFP_KERNEL);
if (!dev)
return NULL;
memset(dev, 0, sizeof(*dev));
dev->vendor = odef->vendor;
dev->device = odef->device;
dev->num = ocp_get_num(dev->device);
dev->paddr = odef->paddr;
dev->irq = odef->irq;
dev->pm = odef->pm;
dev->current_state = 4;
sprintf(dev->name, "OCP device %04x:%04x", dev->vendor, dev->device);
DBG("%s %s 0x%lx irq:%d pm:0x%lx \n", dev->slot_name, dev->name,
(unsigned long) dev->paddr, dev->irq, dev->pm);
/* now put in global tree */
strcpy(dev->dev.name, dev->name);
sprintf(dev->dev.bus_id, "%d", index);
dev->dev.parent = ocp_bus;
dev->dev.bus = &ocp_bus_type;
device_register(&dev->dev);
return dev;
}
static struct device * __devinit ocp_alloc_primary_bus(void)
{
struct device *b;
b = kmalloc(sizeof(struct device), GFP_KERNEL);
if (b == NULL)
return NULL;
memset(b, 0, sizeof(struct device));
strcpy(b->bus_id, "ocp");
strcpy(b->name, "Host/OCP Bridge");
device_register(b);
return b;
}
void __devinit ocp_setup_devices(struct ocp_def *odef)
{
int index;
struct ocp_device *dev;
if (ocp_bus == NULL)
ocp_bus = ocp_alloc_primary_bus();
for (index = 0; odef->vendor != OCP_VENDOR_INVALID; ++index, ++odef) {
dev = ocp_setup_dev(odef, index);
if (dev != NULL)
list_add_tail(&dev->global_list, &ocp_devices);
}
}
extern struct ocp_def core_ocp[];
static int __init
ocparch_init(void)
{
ocp_setup_devices(core_ocp);
return 0;
}
subsys_initcall(ocparch_init);
EXPORT_SYMBOL(ocp_devices);
/*
* ocp.c
*
* The is drived from pci.c
*
* Current Maintainer
* Armin Kuster akuster@dslextreme.com
* Jan, 2002
*
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/list.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/config.h>
#include <linux/stddef.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <asm/io.h>
#include <asm/ocp.h>
#include <asm/errno.h>
/**
* ocp_get_num - This determines how many OCP devices of a given
* device are registered
* @device: OCP device such as HOST, PCI, GPT, UART, OPB, IIC, GPIO, EMAC, ZMII,
*
* The routine returns the number that devices which is registered
*/
unsigned int ocp_get_num(unsigned int device)
{
unsigned int count = 0;
struct ocp_device *ocp;
struct list_head *ocp_l;
list_for_each(ocp_l, &ocp_devices) {
ocp = list_entry(ocp_l, struct ocp_device, global_list);
if (device == ocp->device)
count++;
}
return count;
}
/**
* ocp_get_dev - get ocp driver pointer for ocp device and instance of it
* @device: OCP device such as PCI, GPT, UART, OPB, IIC, GPIO, EMAC, ZMII
* @dev_num: ocp device number whos paddr you want
*
* The routine returns ocp device pointer
* in list based on device and instance of that device
*
*/
struct ocp_device *
ocp_get_dev(unsigned int device, int dev_num)
{
struct ocp_device *ocp;
struct list_head *ocp_l;
int count = 0;
list_for_each(ocp_l, &ocp_devices) {
ocp = list_entry(ocp_l, struct ocp_device, global_list);
if (device == ocp->device) {
if (dev_num == count)
return ocp;
count++;
}
}
return NULL;
}
EXPORT_SYMBOL(ocp_get_dev);
EXPORT_SYMBOL(ocp_get_num);
#ifdef CONFIG_PM
int ocp_generic_suspend(struct ocp_device *pdev, u32 state)
{
ocp_force_power_off(pdev);
return 0;
}
int ocp_generic_resume(struct ocp_device *pdev)
{
ocp_force_power_on(pdev);
}
EXPORT_SYMBOL(ocp_generic_suspend);
EXPORT_SYMBOL(ocp_generic_resume);
#endif /* CONFIG_PM */
/* /*
* arch/ppc/platforms/4xx/ash.c
*
* Support for the IBM NP405H ash eval board
*
* Author: Armin Kuster <akuster@mvista.com>
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* <akuster@mvista.com> * the terms of the GNU General Public License version 2.1. This program
* IBM NP405H ash eval board * is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* arch/ppc/platforms/4xx/ash.h
* *
* Macros, definitions, and data structures specific to the IBM PowerPC
* Ash eval board.
* *
* Copyright 2000-2002 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Author: MontaVista Software, Inc.
* akuster@mvista.com or source@mvista.com
*
* Module name: ash.h
*
* Description:
* Macros, definitions, and data structures specific to the IBM PowerPC
* Ash eval board.
*
* *
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/cedar.c
*
* Support for the IBM NP405L ceder eval board
* *
* Copyright 2001 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* <akuster@mvista.com>
* IBM NP405L ceder eval board
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* arch/ppc/platforms/4xx/cedar.h
* *
* Macros, definitions, and data structures specific to the IBM PowerPC
* Cedar eval board.
* *
* Copyright 2000 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Author: MontaVista Software, Inc.
* akuster@mvista.com or source@mvista.com
*
* Module name: cedar.h
*
* Description:
* Macros, definitions, and data structures specific to the IBM PowerPC
* Cedar eval board.
*
* *
* 2000 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* Copyright 2001 MontaVista Software Inc. * arch/ppc/platforms/4xx/ep405.c
* <mlocke@mvista.com>
* *
* Not much needed for the Embedded Planet 405gp board * Embedded Planet 405GP board
* http://www.embeddedplanet.com
* *
* Author: Matthew Locke <mlocke@mvista.com>
*
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* Copyright 2000 MontaVista Software Inc. * arch/ppc/platforms/4xx/ep405.h
* http://www.mvista.com
* <mlocke@mvista.com>
* *
* Embedded Planet 405GP board * Embedded Planet 405GP board
* http://www.embeddedplanet.com * http://www.embeddedplanet.com
* *
* Author: Matthew Locke <mlocke@mvista.com>
*
* 2000 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibm405gp.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibm405gp.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibm405gp.h * arch/ppc/platforms/4xx/ibm405gp.h
* *
* This was derived from the ppc4xx.h and all 405GP specific * Author: Armin Kuster akuster@mvista.com
* definition and board inclusions were moved here.
*
* Armin Kuster akuster@mvista.com
* Oct, 2001
*
*
* Copyright 2001 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibm405gpr.c
* *
* Copyright 2000-2002 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibm405gpr.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibm405gpr.h * arch/ppc/platforms/4xx/ibm405gpr.h
* *
* Author: Armin Kuster <akuster@mvista.com>
* *
* Armin Kuster akuster@mvista.com * 2002 (c) MontaVista, Software, Inc. This file is licensed under
* Aug, 2002 * the terms of the GNU General Public License version 2.1. This program
* * is licensed "as is" without any warranty of any kind, whether express
* * or implied.
* Copyright 2002 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmnp405h.c
* *
* Copyright 2000-2002 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmnp405h.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibmnp405h.h * arch/ppc/platforms/4xx/ibmnp405h.h
* *
* This was dirived from the ibm405gp.h and other previus works in ppc4xx.h * Author: Armin Kuster <akuster@mvista.com>
*
* Current maintainer
* Armin Kuster akuster@mvista.com
* Jan, 2002
*
*
* Copyright 2002 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmnp405l.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmnp405l.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibmnp405l.h * arch/ppc/platforms/4xx/ibmnp405l.h
* *
* This was dirived from the ibm405gp.h and other previus works in ppc4xx.h * Author: Armin Kuster <akuster@mvista.com>
*
* Current maintainer
* Armin Kuster akuster@mvista.com
* Oct, 2001
*
*
* Copyright 2001 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmnp4gs.c
* *
* Copyright 2000-2002 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmnp4gs.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* ibmnp405gs.h * arch/ppc/platforms/4xx/ibmnp4gs.h
* *
* Armin Kuster akuster@mvista.com * Author: Armin Kuster <akuster@mvista.com>
*
*
* Copyright 2002 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmstb3.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmstb3.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibmstbx.h * arch/ppc/platforms/4xx/ibmstb3.h
* *
* This was dirived from the ppc4xx.h and all stbx specific definitions * Authors: Armin Kuster <akuster@mvista.com>, Tom Rini <trini@mvista.com>
* are located here.
*
* Armin Kuster <akuster@mvista.com>
* Tom Rini <trini@mvista.com>
* Oct, 2001
*
*
*
* Copyright 2001 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmstb4.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmstb4.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibmstb4.h * arch/ppc/platforms/4xx/ibmstb4.h
* *
* This was dirived from the ibm405gp.h and other previus works in ppc4xx.h * Author: Armin Kuster <akuster@mvista.com>
*
* Current maintainer
* Armin Kuster akuster@mvista.com
* DEC, 2001
*
*
* Copyright 2001 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/ibmstbx25.c
* *
* Copyright 2000-2002 MontaVista Software Inc. * Author: Armin Kuster <akuster@mvista.com>
* Completed implementation.
* Current maintainer
* Armin Kuster akuster@mvista.com
*
* Module name: ibmstbx25.c
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* ibmstbx25.h * arch/ppc/platforms/4xx/ibmstbx25.h
* *
* Current maintainer * Author: Armin Kuster <akuster@mvista.com>
* Armin Kuster akuster@mvista.com
* July, 2002
*
*
* Copyright 2002 MontaVista Softare Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/redwood.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Author: Frank Rowand <frank_rowand@mvista.com>, or source@mvista.com
* Completed implementation.
* Author: MontaVista Software, Inc. <source@mvista.com>
* Frank Rowand <frank_rowand@mvista.com>
*
* Module name: redwood.c
* *
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* Copyright 2001 MontaVista Software Inc. * arch/ppc/platforms/4xx/redwood.h
* PPC405 modifications
* Author: MontaVista Software, Inc.
* frank_rowand@mvista.com or source@mvista.com
* *
* Module name: redwood.h * Macros, definitions, and data structures specific to the IBM PowerPC
* STB03xxx "Redwood" evaluation board.
* *
* Description: * Author: Frank Rowand <frank_rowand@mvista.com>, or source@mvista.com
* Macros, definitions, and data structures specific to the IBM PowerPC *
* STB03xxx "Redwood" evaluation board. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/redwood5.c
* *
* Copyright 2000-2001 MontaVista Software Inc. * Support for the IBM redwood5 eval board file
* Completed implementation.
* Author: Armin Kuster
* *
* Module name: redwood5.c * Author: Armin Kuster <akuster@mvista.com>
*
* Description:
* IBM redwood5 eval board file
* *
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* Copyright 2001 MontaVista Software Inc. * arch/ppc/platforms/4xx/redwood5.h
* PPC405 modifications
* Author: MontaVista Software, Inc.
* Armin Kuster
* *
* Module name: redwood5.h * Macros, definitions, and data structures specific to the IBM PowerPC
* STB03xxx "Redwood" evaluation board.
* *
* Description: * Author: Armin Kuster <akuster@mvista.com>
* Macros, definitions, and data structures specific to the IBM PowerPC *
* STB03xxx "Redwood" evaluation board. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/redwood6.c
* *
* Module name: redwood6.c * Author: Armin Kuster <akuster@mvista.com>
*
* Description:
* IBM redwood6 eval board file
*
* Author: Armin Kuster
* Copyright 2002 MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
/* /*
* Author: MontaVista Software, Inc. * arch/ppc/platforms/4xx/redwood6.h
* Armin Kuster
* *
* Module name: redwood6.h * Macros, definitions, and data structures specific to the IBM PowerPC
* STBx25xx "Redwood6" evaluation board.
* *
* Description: * Author: Armin Kuster <akuster@mvista.com>
* Macros, definitions, and data structures specific to the IBM PowerPC
* STBx25xx "Redwood6" evaluation board.
*
* Copyright 2002 MontaVista Software Inc.
* Author: MontaVista Software, Inc.
* Armin Kuster
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/sycamore.c
* *
* Copyright 2000-2002 MontaVista Software Inc. * Architecture- / platform-specific boot-time initialization code for
* Author: Armin Kuster <akuster@mvista.com> * IBM PowerPC 4xx based boards.
* MontaVista Software, Inc. <source@mvista.com>
* *
* Module name: sycamore.c * Author: Armin Kuster <akuster@mvista.com>
*
* Description:
* Architecture- / platform-specific boot-time initialization code for
* IBM PowerPC 4xx based boards.
* *
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* arch/ppc/platforms/4xx/sycamore.h
* *
* Copyright 2000 MontaVista Software Inc. * Macros, definitions, and data structures specific to the IBM PowerPC
* Author: Armin Kuster <akuster@mvista.com> * 405GPr "Sycamore" evaluation board.
* MontaVista Software, Inc.
* *
* Module name: sycamore.h * Author: Armin Kuster <akuster@mvista.com>
*
* Description:
* Macros, definitions, and data structures specific to the IBM PowerPC
* based boards.
*
* This includes:
*
* 405GP "Sycamore" evaluation board
* *
* 2000 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
/* /*
* arch/ppc/platforms/4xx/walnut.c
* *
* Copyright(c) 1999-2000 Grant Erickson <grant@lcse.umn.edu> * Architecture- / platform-specific boot-time initialization code for
* IBM PowerPC 4xx based boards. Adapted from original
* code by Gary Thomas, Cort Dougan <cort@fsmlabs.com>, and Dan Malek
* <dan@net4x.com>.
* *
* Copyright 2000-2002 MontaVista Software Inc. * Copyright(c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
* Completed implementation.
* Author: MontaVista Software, Inc. <source@mvista.com>
*
* Module name: walnut.c
*
* Description:
* Architecture- / platform-specific boot-time initialization code for
* IBM PowerPC 4xx based boards. Adapted from original
* code by Gary Thomas, Cort Dougan <cort@fsmlabs.com>, and Dan Malek
* <dan@net4x.com>.
* *
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
......
/* /*
* arch/ppc/platforms/4xx/walnut.h
* *
* Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu> * Macros, definitions, and data structures specific to the IBM PowerPC
* 405GP "Walnut" evaluation board.
* *
* Copyright 2000 MontaVista Software Inc. * Authors: Grant Erickson <grant@lcse.umn.edu>, Frank Rowand
* PPC405 modifications * <frank_rowand@mvista.com>, Debbie Chu <debbie_chu@mvista.com> or
* Author: MontaVista Software, Inc. * source@mvista.com
* frank_rowand@mvista.com or source@mvista.com
* debbie_chu@mvista.com
* *
* Module name: ppc405.h * Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
*
* Description:
* Macros, definitions, and data structures specific to the IBM PowerPC
* based boards.
*
* This includes:
*
* 405GP "Walnut" evaluation board
* *
* 2000 (c) MontaVista, Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2.1. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Mark A. Greer <mgreer@mvista.com> * Author: Mark A. Greer <mgreer@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Mark A. Greer <mgreer@mvista.com> * Author: Mark A. Greer <mgreer@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __PPC_PLATFORMS_K2_H #ifndef __PPC_PLATFORMS_K2_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Dan Cox * Author: Dan Cox
* danc@mvista.com (or, alternately, source@mvista.com) * danc@mvista.com (or, alternately, source@mvista.com)
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/init.h> #include <linux/init.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Dan Cox * Author: Dan Cox
* danc@mvista.com (or, alternately, source@mvista.com) * danc@mvista.com (or, alternately, source@mvista.com)
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __H_LOPEC_SERIAL #ifndef __H_LOPEC_SERIAL
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Dan Cox * Author: Dan Cox
* danc@mvista.com * danc@mvista.com
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __ASMPPC_MCPN765_SERIAL_H #ifndef __ASMPPC_MCPN765_SERIAL_H
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __PPC_PLATFORMS_MENF1_H #ifndef __PPC_PLATFORMS_MENF1_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* /*
* arch/ppc/platforms/menf1_setup.c * arch/ppc/platforms/menf1_setup.c
*
* Board setup routines for MEN F1 * Board setup routines for MEN F1
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dan Cox * Author: Dan Cox
* *
* Copyright 2002 MontaVista Software Inc. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __PPC_PLATFORMS_PAL4_H #ifndef __PPC_PLATFORMS_PAL4_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dan Cox * Author: Dan Cox
* *
* Copyright 2002 MontaVista Software Inc. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dan Cox * Author: Dan Cox
* *
* Copyright 2002 MontaVista Software Inc. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __PPC_PAL4_SERIAL_H #ifndef __PPC_PAL4_SERIAL_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dan Cox * Author: Dan Cox
* *
* Copyright 2002 MontaVista Software Inc. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __PPC_PLATFORMS_PCORE_H #ifndef __PPC_PLATFORMS_PCORE_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -7,12 +7,10 @@ ...@@ -7,12 +7,10 @@
* Borrowed heavily from prpmc750_*.c by * Borrowed heavily from prpmc750_*.c by
* Matt Porter <mporter@mvista.com> * Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -7,12 +7,10 @@ ...@@ -7,12 +7,10 @@
* *
* Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com> * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __ASMPPC_POWERPMC250_H #ifndef __ASMPPC_POWERPMC250_H
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Troy Benjegerdes <tbenjegerdes@mvista.com> * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
...@@ -9,16 +9,10 @@ ...@@ -9,16 +9,10 @@
* Cort Dougan, Johnnie Peters, Matt Porter, and * Cort Dougan, Johnnie Peters, Matt Porter, and
* Troy Benjegerdes. * Troy Benjegerdes.
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -9,16 +9,10 @@ ...@@ -9,16 +9,10 @@
* Cort Dougan, Johnnie Peters, Matt Porter, and * Cort Dougan, Johnnie Peters, Matt Porter, and
* Troy Benjegerdes. * Troy Benjegerdes.
* *
* Copyright 2001-2002 MontaVista Software Inc. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifdef __KERNEL__ #ifdef __KERNEL__
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dale Farnsworth <dale.farnsworth@mvista.com> * Author: Dale Farnsworth <dale.farnsworth@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
* From Processor to PCI: * From Processor to PCI:
......
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
* *
* Author: Dale Farnsworth <dale.farnsworth@mvista.com> * Author: Dale Farnsworth <dale.farnsworth@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* /*
* include/asm-ppc/platforms/prpmc800_serial.h * arch/ppc/platforms/prpmc800_serial.h
* *
* Definitions for Motorola MCG PRPMC800 cPCI board support * Definitions for Motorola MCG PRPMC800 cPCI board support
* *
* Author: Dale Farnsworth dale.farnsworth@mvista.com * Author: Dale Farnsworth dale.farnsworth@mvista.com
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __ASMPPC_PRPMC800_SERIAL_H #ifndef __ASMPPC_PRPMC800_SERIAL_H
......
...@@ -2,12 +2,10 @@ ...@@ -2,12 +2,10 @@
* *
* Author: Dale Farnsworth <dale.farnsworth@mvista.com> * Author: Dale Farnsworth <dale.farnsworth@mvista.com>
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/config.h> #include <linux/config.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2000, 2001 MontaVista Software Inc. * 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2000, 2001 MontaVista Software Inc. * 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2001 MontaVista Software Inc. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#ifndef __ASMPPC_SANDPOINT_SERIAL_H #ifndef __ASMPPC_SANDPOINT_SERIAL_H
......
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
* Author: Mark A. Greer * Author: Mark A. Greer
* mgreer@mvista.com * mgreer@mvista.com
* *
* Copyright 2000-2002 MontaVista Software Inc. * 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
* * the terms of the GNU General Public License version 2.1. This program
* This program is free software; you can redistribute it and/or modify it * is licensed "as is" without any warranty of any kind, whether express
* under the terms of the GNU General Public License as published by the * or implied.
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
/* /*
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment