Go to the documentation of this file.
16 #include <linux/types.h>
17 #include <linux/kernel.h>
19 #include <linux/tty.h>
21 #include <linux/linkage.h>
25 #include <linux/rtc.h>
28 #include <asm/bootinfo.h>
29 #include <asm/pgtable.h>
30 #include <asm/setup.h>
32 #include <asm/traps.h>
34 #include <asm/machdep.h>
38 static void mvme147_get_model(
char *model);
46 static int bcd2int (
unsigned char b);
64 printk (
"\r\n\nCalled mvme147_reset\r\n");
71 static void mvme147_get_model(
char *model)
73 sprintf(model,
"Motorola MVME147");
117 pr_err(
"Couldn't register timer interrupt\n");
132 volatile unsigned short *
cp = (
volatile unsigned short *)0xfffe1012;
140 return (
unsigned long)n * 25 / 4;
143 static int bcd2int (
unsigned char b)
145 return ((b>>4)*10 + (b&15));
171 static void scc_delay (
void)
176 for (n = 0; n < 20; n++)
180 static void scc_write (
char ch)