Skip to contentSkip to conversation

visws: core (9/13)

PATCH New Andrey Panin 1 participant 1 message Feb 14, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 visws: core (9/13)

Hi.

This patch contains core support for visws subarch.

Please consider applying.

Best regards.

Signature · 2 lines
Andrey Panin		| Embedded systems software developer
[email protected]	| PGP key: wwwkeys.pgp.net
arch/i386/kernel/setup.c +0 -1
diff -urN -X /usr/share/dontdiff linux-2.5.60.vanilla/arch/i386/kernel/setup.c linux-2.5.60/arch/i386/kernel/setup.c
@@ -92,7 +92,6 @@
 extern int root_mountflags;
 extern char _text, _etext, _edata, _end;
 extern int blk_nohighio;
-void __init visws_get_board_type_and_rev(void);
 
 unsigned long saved_videomode;
 
arch/i386/mach-visws/Makefile +1 -2
diff -urN -X /usr/share/dontdiff linux-2.5.60.vanilla/arch/i386/mach-visws/Makefile linux-2.5.60/arch/i386/mach-visws/Makefile
@@ -4,8 +4,7 @@
 
 EXTRA_CFLAGS	+= -I../kernel
 
-obj-y				:= setup.o traps.o
+obj-y				:= setup.o traps.o reboot.o
 
-obj-$(CONFIG_PCI)		+= pci-visws.o
 obj-$(CONFIG_X86_VISWS_APIC)	+= visws_apic.o
 obj-$(CONFIG_X86_LOCAL_APIC)	+= mpparse.o
arch/i386/mach-visws/mpparse.c +71 -14

113 lines not on this page · raw message

arch/i386/mach-visws/reboot.c +48 -0

48 lines not on this page · raw message

arch/i386/mach-visws/setup.c +33 -69

155 lines not on this page · raw message

arch/i386/mach-visws/traps.c +32 -96

164 lines not on this page · raw message

arch/i386/mach-visws/visws_apic.c +188 -291

588 lines not on this page · raw message

include/asm-i386/mach-visws/irq_vectors.h +1 -11
diff -urN -X /usr/share/dontdiff linux-2.5.60.vanilla/include/asm-i386/mach-visws/irq_vectors.h linux-2.5.60/include/asm-i386/mach-visws/irq_vectors.h
@@ -47,18 +47,8 @@
 #define TIMER_IRQ 0
 
 /*
- * 16 8259A IRQ's, 208 potential APIC interrupt sources.
- * Right now the APIC is mostly only used for SMP.
- * 256 vectors is an architectural limit. (we can have
- * more than 256 devices theoretically, but they will
- * have to use shared interrupts)
- * Since vectors 0x00-0x1f are used/reserved for the CPU,
- * the usable vector space is 0x20-0xff (224 vectors)
+ * 
  */
-#ifdef CONFIG_X86_IO_APIC
 #define NR_IRQS 224
-#else
-#define NR_IRQS 16
-#endif
 
 #endif /* _ASM_IRQ_VECTORS_H */
include/asm-i386/mach-visws/setup_arch_post.h +36 -24

71 lines not on this page · raw message

include/asm-i386/mach-visws/do_timer.h +1 -1
diff -urN -X /usr/share/dontdiff linux-2.5.60.vanilla/include/asm-i386/mach-visws/do_timer.h linux-2.5.60/include/asm-i386/mach-visws/do_timer.h
@@ -1,7 +1,7 @@
 /* defines for inline arch setup functions */
 
 #include <asm/fixmap.h>
-#include <asm/cobalt.h>
+#include "cobalt.h"
 
 static inline void do_timer_interrupt_hook(struct pt_regs *regs)
 {