From: Leblanc f. <fle...@us...> - 2002-03-08 16:37:45
|
Update of /cvsroot/linux-mips/linux/include/asm-mips In directory usw-pr-cvs1:/tmp/cvs-serv19411/include/asm-mips Modified Files: vr41xx.h Log Message: Remove polluting definitions that shouldn't be there. Index: vr41xx.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/vr41xx.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- vr41xx.h 7 Mar 2002 03:16:55 -0000 1.3 +++ vr41xx.h 8 Mar 2002 16:37:42 -0000 1.4 @@ -4,8 +4,7 @@ * Primary header for NEC VR41xx processors. * * Copyright (C) 1999 Michael Klar - * Copyright (C) 2001, 2002 Paul Mundt - * Copyright (C) 2002 MontaVista Software, Inc. + * Copyright (C) 2001 Paul Mundt <le...@ch...> * * 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 @@ -16,7 +15,6 @@ #define __ASM_MIPS_VR41XX_H #include <linux/config.h> -#include <linux/interrupt.h> /* * Any code being written for a VR41xx device should be including this @@ -40,72 +38,6 @@ #elif defined(CONFIG_VR4181) #include <asm/vr4181/vr4181.h> #endif - -/* - * Bus Control Uint - */ -extern void vr41xx_bcu_init(void); - -/* - * Clock Mask Unit - */ -extern void vr41xx_clock_supply(u16 mask); -extern void vr41xx_clock_mask(u16 mask); - -/* - * Interrupt Control Unit - */ - -/* GIU Interrupt Numbers */ -#define GIUL_IRQ(x) (40 + (x)) -#define GIUH_IRQ(x) (56 + (x)) - -struct irqcascade { - int cascade; - int (*get_irq_number)(int irq); -}; - -extern void vr41xx_board_irq_init(void); -extern void vr41xx_cascade_irq(unsigned int irq, int (*get_irq_number)(int irq)); - -/* - * Serial Interface Unit - */ -extern void vr41xx_siu_init(int line, int interface, int module); -extern void vr41xx_siu_ifselect(int interface, int module); - -/* SIU interfaces */ -enum { - SIU_RS232C, - SIU_IRDA -}; - -/* IrDA interfaces */ -enum { - IRDA_SHARP = 1, - IRDA_TEMIC, - IRDA_HP -}; - -/* - * Debug Serial Interface Unit - */ -extern void vr41xx_dsiu_init(int line); - -/* - * PCI Control Unit - */ -extern void vr41xx_pciu_init(void); - -/* - * MISC - */ -extern void vr41xx_time_init(void); -extern void vr41xx_timer_setup(struct irqaction *irq); - -extern void vr41xx_restart(char *command); -extern void vr41xx_halt(void); -extern void vr41xx_power_off(void); #endif /* __ASM_MIPS_VR41XX_H */ |