summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-05-28 09:36:20 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-05-28 09:36:20 +0000
commit834e5bc5cd0869104d606cf7789bf44f0f412b35 (patch)
treeb1adc28faf4a080ee35104c122a7b36b255c7c45 /sys
parent792570e53e9d20712a3b44a5a4a870375b8fab13 (diff)
Support the 98543 in GM_DESCRIBE. Pointless, of course, but what the hell.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/dev/grf_tc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/grf_tc.c b/sys/arch/hp300/dev/grf_tc.c
index 2fdd1c56b17..3e721a9b831 100644
--- a/sys/arch/hp300/dev/grf_tc.c
+++ b/sys/arch/hp300/dev/grf_tc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_tc.c,v 1.6 1997/04/16 11:56:05 downsj Exp $ */
+/* $OpenBSD: grf_tc.c,v 1.7 1999/05/28 09:36:19 downsj Exp $ */
/* $NetBSD: grf_tc.c,v 1.11 1997/03/31 07:34:18 scottr Exp $ */
/*
@@ -409,7 +409,11 @@ tc_mode(gp, cmd, data)
bcopy("HP98547", fi->name, 8);
break;
case 16:
- bcopy("HP98545", fi->name, 8);
+ if (gi->gd_dheight == 400) {
+ bcopy("HP98543", fi->name, 8);
+ } else {
+ bcopy("HP98545", fi->name, 8);
+ }
break;
case 2:
bcopy("HP98544", fi->name, 8);