summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/ite_subr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-25 06:37:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-25 06:37:20 +0000
commite5f403bb164d8ffbcf3ed2dfb761fe37d9a5db7e (patch)
treef79a6c534d589d386f5fdf45e4c8fb5f2a221a2f /sys/arch/hp300/stand/ite_subr.c
parentfdab626a6398ea411367b27d210f9c1b227f6283 (diff)
sync w/ Net 960424
Diffstat (limited to 'sys/arch/hp300/stand/ite_subr.c')
-rw-r--r--sys/arch/hp300/stand/ite_subr.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/arch/hp300/stand/ite_subr.c b/sys/arch/hp300/stand/ite_subr.c
index 4a7ceca585e..5be4068b1a3 100644
--- a/sys/arch/hp300/stand/ite_subr.c
+++ b/sys/arch/hp300/stand/ite_subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ite_subr.c,v 1.7 1994/10/26 07:27:39 cgd Exp $ */
+/* $NetBSD: ite_subr.c,v 1.8 1996/03/03 04:23:40 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -47,11 +47,11 @@
#ifdef ITECONSOLE
#include <sys/param.h>
-#include <hp300/dev/itevar.h>
+#include <hp300/stand/itevar.h>
#include <hp300/dev/itereg.h>
ite_fontinfo(ip)
- struct ite_softc *ip;
+ struct ite_data *ip;
{
u_long fontaddr = getword(ip, getword(ip, FONTROM) + FONTADDR);
@@ -83,7 +83,7 @@ ite_fontinfo(ip)
}
ite_fontinit(ip)
- register struct ite_softc *ip;
+ register struct ite_data *ip;
{
int bytewidth = (((ip->ftwidth - 1) / 8) + 1);
int glyphsize = bytewidth * ip->ftheight;
@@ -111,14 +111,15 @@ ite_fontinit(ip)
*/
u_char
ite_readbyte(ip, disp)
- struct ite_softc *ip;
+ struct ite_data *ip;
int disp;
{
return((u_char) *(((u_char *)ip->regbase) + disp));
}
+void
ite_writeglyph(ip, fbmem, glyphp)
- register struct ite_softc *ip;
+ register struct ite_data *ip;
register u_char *fbmem, *glyphp;
{
register int bn;