Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel
In directory usw-pr-cvs1:/tmp/cvs-serv6404/arch/vax/kernel
Modified Files:
Makefile
Added Files:
cpu_ka55.c
Log Message:
Tentative early support for KA55 CPU (MicroVAX 3100m85). I really need
to check with NetBSD on this one
--- NEW FILE ---
/*
* $Id: cpu_ka55.c,v 1.1 2001/02/06 00:15:42 kenn Exp $
*
* Copyright (C) 2000 Kenn Humborg
*
* This file contains generic machine vector handlers for the
* KA5 CPU in the NVAX-based MicroVAX 3100 Model 85
*
*/
#include <linux/types.h> /* For NULL */
#include <linux/kernel.h> /* For printk */
#include <linux/config.h>
#include <asm/mtpr.h>
#include <asm/mv.h>
#include <asm/vaxcpu.h>
void ka55_pre_vm_init(void);
void ka55_post_vm_init(void);
const char *ka55_cpu_type_str(void);
struct ka55_machine_vector {
struct vax_mv mv;
unsigned int sidex;
};
struct ka55_machine_vector mv_ka55 = {
{
ka55_pre_vm_init,
ka55_post_vm_init,
/* FIXME: these two are just a guess */
ka46_48_49_prom_putchar, /* pre_vm_putchar */
ka46_48_49_prom_getchar, /* pre_vm_getchar */
dz11_putchar, /* post_vm_putchar */
dz11_getchar, /* post_vm_getchar */
NULL, /* console_init */
NULL, /* reboot */
NULL, /* halt */
NULL, /* init_devices */
ka55_cpu_type_str
},
0 /* System ID Extension from ROM */
};
/* Defined over in drivers/char/dz.c */
extern unsigned long dz_serial_console_init(unsigned long, unsigned long);
void ka55_pre_vm_init(void)
{
mv_ka55.sidex = *(unsigned int *)RIGEL_SIDEX_ADDR;
}
void ka55_post_vm_init(void)
{
init_dz11_console(0x200A0000, 3);
dz_serial_console_init(0, 0);
}
const char *ka55_cpu_type_str(void)
{
return "KA55";
}
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile 2001/01/29 01:09:18 1.4
+++ Makefile 2001/02/06 00:15:42 1.5
@@ -15,7 +15,7 @@
syscall.o signal.o semaphore.o \
init_task.o reboot.o cpu_generic.o \
cpu_ka630.o cpu_ka640.o cpu_ka650.o cpu_ka660.o \
- cpu_ka410.o cpu_ka42.o cpu_ka43.o cpu_ka46.o
+ cpu_ka410.o cpu_ka42.o cpu_ka43.o cpu_ka46.o cpu_ka55.o
OX_OBJS :=
MX_OBJS :=
|