diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/boot/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/jazz/int-handler.S | 14 | ||||
-rw-r--r-- | arch/mips/kernel/irq.c | 15 | ||||
-rw-r--r-- | arch/mips/kernel/pci.c | 14 | ||||
-rw-r--r-- | arch/mips/lib/Makefile | 5 | ||||
-rw-r--r-- | arch/mips/lib/csum_partial.S | 9 | ||||
-rw-r--r-- | arch/mips/sni/int-handler.S | 6 | ||||
-rw-r--r-- | arch/mips/sni/pci.c | 10 | ||||
-rw-r--r-- | arch/mips/sni/setup.c | 7 |
9 files changed, 39 insertions, 43 deletions
diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index dd834efd9..906e85e9b 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -40,8 +40,8 @@ zdisk: zImage mcopy -o zImage a:vmlinux; \ fi +# Don't build dependencies, this may die if $(CC) isn't gcc dep: - $(CPP) -M *.[cS] > .depend clean: rm -f zImage zImage.tmp mkboot diff --git a/arch/mips/jazz/int-handler.S b/arch/mips/jazz/int-handler.S index ca776c325..3351725bf 100644 --- a/arch/mips/jazz/int-handler.S +++ b/arch/mips/jazz/int-handler.S @@ -1,16 +1,17 @@ -/* - * arch/mips/jazz/pica.S +/* $Id: int-handler.S,v 1.7 1997/12/29 11:33:56 tsbogend Exp $ + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. * - * Copyright (C) 1995, 1996 by Ralf Baechle and Andreas Busse + * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle and Andreas Busse * - * Jazz family specific stuff + * Jazz family specific interrupt stuff * * To do: On Jazz machines we remap some non-ISA interrupts to ISA * interrupts. These interrupts should use their own vectors. * Squeeze the last cycles out of the handlers. Only a dead * cycle is a good cycle. - * - * $Id: int-handler.S,v 1.6 1997/12/29 00:06:49 tsbogend Exp $ */ #include <asm/asm.h> #include <asm/mipsconfig.h> @@ -27,7 +28,6 @@ NESTED(jazz_handle_int, PT_SIZE, ra) .set noat SAVE_ALL - REG_S sp,PT_OR2(sp) CLI .set at diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 9dcca6184..c2c018045 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c @@ -1,10 +1,13 @@ -/* +/* $Id: irq.c,v 1.10 1998/05/07 02:57:17 ralf Exp $ + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * * Code to handle x86 style IRQs plus some generic interrupt stuff. * * Copyright (C) 1992 Linus Torvalds - * Copyright (C) 1994, 1995, 1996, 1997 Ralf Baechle - * - * $Id: irq.c,v 1.9 1998/03/22 23:27:12 ralf Exp $ + * Copyright (C) 1994, 1995, 1996, 1997, 1998 Ralf Baechle */ #include <linux/errno.h> #include <linux/init.h> @@ -312,13 +315,13 @@ int probe_irq_off (unsigned long irqs) int (*irq_cannonicalize)(int irq); -static int 8259a_irq_cannonicalize(int irq) +static int i8259a_irq_cannonicalize(int irq) { return ((irq == 2) ? 9 : irq); } __initfunc(void init_IRQ(void)) { - irq_cannonicalize = 8259a_irq_cannonicalize; + irq_cannonicalize = i8259a_irq_cannonicalize; irq_setup(); } diff --git a/arch/mips/kernel/pci.c b/arch/mips/kernel/pci.c index 71a57b73e..3b02ce3db 100644 --- a/arch/mips/kernel/pci.c +++ b/arch/mips/kernel/pci.c @@ -1,9 +1,12 @@ -/* +/* $Id$ + * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * MIPS implementation of PCI BIOS services for PCI support. + * + * Copyright (C) 1997, 1998 Ralf Baechle */ #include <linux/config.h> #include <linux/init.h> @@ -19,10 +22,8 @@ struct pci_ops *pci_ops; /* * BIOS32 replacement. */ -__initfunc(unsigned long pcibios_init(unsigned long memory_start, - unsigned long memory_end)) +__initfunc(void pcibios_init(void)) { - return memory_start; } /* @@ -39,10 +40,9 @@ int pcibios_present (void) * each PCI chipset configuration. We just run the hook to the machine * specific implementation. */ -unsigned long pcibios_fixup (unsigned long memory_start, - unsigned long memory_end) +void pcibios_fixup (void) { - return pci_ops->pcibios_fixup(memory_start, memory_end); + return pci_ops->pcibios_fixup(); } int pcibios_read_config_byte (unsigned char bus, unsigned char dev_fn, diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 597202403..a3aebbb12 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -1,8 +1,7 @@ +# $Id: Makefile,v 1.5 1998/05/04 09:12:51 ralf Exp $ # # Makefile for MIPS-specific library files.. # -# $Id: Makefile,v 1.9 1998/05/03 00:28:00 ralf Exp $ -# .S.s: $(CPP) $(CFLAGS) $< -o $*.s @@ -10,7 +9,7 @@ $(CC) $(CFLAGS) -c $< -o $*.o L_TARGET = lib.a -L_OBJS = csum_partial.o csum_partial_copy.o dump_tlb.o ide-std.c ide-no.o \ +L_OBJS = csum_partial.o csum_partial_copy.o dump_tlb.o ide-std.o ide-no.o \ memset.o memcpy.o strlen_user.o strncpy_user.o tags.o watch.o include $(TOPDIR)/Rules.make diff --git a/arch/mips/lib/csum_partial.S b/arch/mips/lib/csum_partial.S index ce43987d8..66fd03031 100644 --- a/arch/mips/lib/csum_partial.S +++ b/arch/mips/lib/csum_partial.S @@ -1,14 +1,13 @@ -/* +/* $Id: csum_partial.S,v 1.1 1998/05/04 09:12:52 ralf Exp $ + * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1998 Ralf Baechle - * - * $Id: csum_partial.S,v 1.2 1998/04/22 03:26:19 ralf Exp $ */ -#include <sys/asm.h> -#include <sys/regdef.h> +#include <asm/asm.h> +#include <asm/regdef.h> #define ADDC(sum,reg) \ addu sum, reg; \ diff --git a/arch/mips/sni/int-handler.S b/arch/mips/sni/int-handler.S index b69c44bf8..3c920954d 100644 --- a/arch/mips/sni/int-handler.S +++ b/arch/mips/sni/int-handler.S @@ -1,9 +1,8 @@ -/* +/* $Id: int-handler.S,v 1.2 1997/12/01 17:57:40 ralf Exp $ + * * SNI RM200 PCI specific interrupt handler code. * * Copyright (C) 1994 - 1997 by Ralf Baechle - * - * $Id: int-handler.S,v 1.3 1997/12/01 16:39:24 ralf Exp $ */ #include <asm/asm.h> #include <linux/config.h> @@ -18,7 +17,6 @@ .align 5 NESTED(sni_rm200_pci_handle_int, PT_SIZE, sp) SAVE_ALL - REG_S sp,PT_OR2(sp) CLI .set at diff --git a/arch/mips/sni/pci.c b/arch/mips/sni/pci.c index 0e497450a..fe538d277 100644 --- a/arch/mips/sni/pci.c +++ b/arch/mips/sni/pci.c @@ -1,11 +1,12 @@ -/* +/* $Id: pci.c,v 1.5 1998/05/07 02:57:22 ralf Exp $ + * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * SNI specific PCI support for RM200/RM300. * - * $Id: pci.c,v 1.5 1998/05/04 01:15:23 ralf Exp $ + * Copyright (C) 1997, 1998 Ralf Baechle */ #include <linux/config.h> #include <linux/pci.h> @@ -25,8 +26,7 @@ do { \ (where & 0xfc); \ } while(0); -static unsigned long sni_rm200_pcibios_fixup (unsigned long memory_start, - unsigned long memory_end) +static void sni_rm200_pcibios_fixup (void) { /* * TODO: Fix PCI_INTERRUPT_LINE register for onboard cards. @@ -35,8 +35,6 @@ static unsigned long sni_rm200_pcibios_fixup (unsigned long memory_start, */ pcibios_write_config_byte(0, PCI_DEVFN(1, 0), PCI_INTERRUPT_LINE, PCIMT_IRQ_SCSI); - - return memory_start; } /* diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c index d9fa7c8de..d2b0109e7 100644 --- a/arch/mips/sni/setup.c +++ b/arch/mips/sni/setup.c @@ -1,4 +1,5 @@ -/* +/* $Id: setup.c,v 1.6 1998/05/04 09:12:58 ralf Exp $ + * * Setup pointers to hardware dependant routines. * * This file is subject to the terms and conditions of the GNU General Public @@ -6,8 +7,6 @@ * for more details. * * Copyright (C) 1996, 1997, 1998 by Ralf Baechle - * - * $Id: setup.c,v 1.5 1998/03/17 22:07:43 ralf Exp $ */ #include <asm/ptrace.h> #include <linux/config.h> @@ -88,7 +87,7 @@ static inline void sni_pcimt_detect(void) char boardtype[80]; unsigned char csmsr; char *p = boardtype; - unsigned int asic, cacheconf; + unsigned int asic; csmsr = *(volatile unsigned char *)PCIMT_CSMSR; |