diff --git a/sys/arch/pmax/dev/fb.c b/sys/arch/pmax/dev/fb.c index 0aeb4c115906..a352d07607d9 100644 --- a/sys/arch/pmax/dev/fb.c +++ b/sys/arch/pmax/dev/fb.c @@ -1,4 +1,4 @@ -/* $NetBSD: fb.c,v 1.7 1995/09/11 07:45:36 jonathan Exp $ */ +/* $NetBSD: fb.c,v 1.8 1995/09/20 05:36:13 jonathan Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -157,38 +157,12 @@ u_short defCursor[32] = { }; -/* - * Font mask bits used by fbBlitc(). - */ -static unsigned int fontmaskBits[16] = { - 0x00000000, - 0x00000001, - 0x00000100, - 0x00000101, - 0x00010000, - 0x00010001, - 0x00010100, - 0x00010101, - 0x01000000, - 0x01000001, - 0x01000100, - 0x01000101, - 0x01010000, - 0x01010001, - 0x01010100, - 0x01010101 -}; /* * Pro-tem framebuffer pseudo-device driver */ - -/*#include */ /*XXX*/ - #include -#include - #include @@ -277,6 +251,7 @@ got_it: * Configure the keyboard/mouse based on machine type for turbochannel * display boards. */ +int tb_kbdmouseconfig(fi) struct fbinfo *fi; { @@ -285,7 +260,7 @@ tb_kbdmouseconfig(fi) #if defined(DEBUG) || defined(DIAGNOSTIC) printf("tb_kbdmouseconfig: given non-console framebuffer\n"); #endif - return; + return 1; } switch (pmax_boardtype) { diff --git a/sys/arch/pmax/dev/promio.c b/sys/arch/pmax/dev/promio.c index c8c20756e2bb..36d21d5d0b33 100644 --- a/sys/arch/pmax/dev/promio.c +++ b/sys/arch/pmax/dev/promio.c @@ -1,4 +1,4 @@ -/* $NetBSD: promio.c,v 1.4 1995/09/20 05:13:06 jonathan Exp $ */ +/* $NetBSD: promio.c,v 1.5 1995/09/20 05:36:15 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -69,7 +69,6 @@ #include #include -#include #include #include @@ -168,7 +167,9 @@ consinit() register char *oscon; int screen = 0; +#ifdef RCONS_HACK extern void (*v_putc) __P ((dev_t, int)); +#endif cn_tab = &cd; diff --git a/sys/arch/pmax/pmax/cpu_cons.c b/sys/arch/pmax/pmax/cpu_cons.c index 5722abc84db4..a35ffc49ae69 100644 --- a/sys/arch/pmax/pmax/cpu_cons.c +++ b/sys/arch/pmax/pmax/cpu_cons.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu_cons.c,v 1.4 1995/09/20 05:13:06 jonathan Exp $ */ +/* $NetBSD: cpu_cons.c,v 1.5 1995/09/20 05:36:15 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -69,7 +69,6 @@ #include #include -#include #include #include @@ -168,7 +167,9 @@ consinit() register char *oscon; int screen = 0; +#ifdef RCONS_HACK extern void (*v_putc) __P ((dev_t, int)); +#endif cn_tab = &cd;