diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1996-12-22 15:19:07 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1996-12-22 15:19:07 +0000 |
commit | ca1c7fedd990e6b1e7244233df5a6a638f0e4e31 (patch) | |
tree | 20016b11dce3c72001f0e250c8f1a714ed64e546 /sys/arch/pmax/dev/bt478.c | |
parent | de4c3561677938c64d13b1e5112686a88b0b47fe (diff) |
update the pmax stuff to NetBSD 961107 - this version i got somehow
compiled on my decstation 2100 (PLUTO) - but it will not fully work
out of the box - but i want to bring it into the tree because i get
my own pmax on 961228 - so that i have a good startpoint then :-)
all the OpenBSD changes to the pmax tree will follow in the next commit
Diffstat (limited to 'sys/arch/pmax/dev/bt478.c')
-rw-r--r-- | sys/arch/pmax/dev/bt478.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/pmax/dev/bt478.c b/sys/arch/pmax/dev/bt478.c index aa8a8485a3b..8133423eea3 100644 --- a/sys/arch/pmax/dev/bt478.c +++ b/sys/arch/pmax/dev/bt478.c @@ -1,4 +1,4 @@ -/* $NetBSD: bt478.c,v 1.4 1996/04/08 00:57:43 jonathan Exp $ */ +/* $NetBSD: bt478.c,v 1.6 1996/10/13 13:13:51 jonathan Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -62,13 +62,14 @@ #include <sys/device.h> #include <sys/select.h> -#include <machine/machConst.h> +#include <pmax/cpuregs.h> #include <machine/pmioctl.h> #include <machine/fbio.h> #include <machine/fbvar.h> #include <pmax/dev/bt478.h> +#include <pmax/dev/bt478var.h> #include <pmax/pmax/kn01.h> /* @@ -76,23 +77,10 @@ */ -int bt478init __P((struct fbinfo *fi)); -void bt478RestoreCursorColor __P((struct fbinfo *fi)); -/* qvss ioctl interface uses this */ +/* XXX qvss ioctl interface uses this */ void bt478CursorColor __P((struct fbinfo *fi, unsigned int color[])); -void bt478BlankCursor __P((struct fbinfo *fi)); -/*static*/ void bt478InitColorMap __P((struct fbinfo *fi)); -int bt478GetColorMap __P((struct fbinfo *fi, caddr_t bits, - int index, int count)); -int bt478LoadColorMap __P((struct fbinfo *fi, caddr_t bits, - int index, int count)); - - - -extern int pmax_boardtype; -extern u_short defCursor[32]; static u_char bg_RGB[3]; /* background color for the cursor */ static u_char fg_RGB[3]; /* foreground color for the cursor */ |