diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-05-28 09:36:20 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-05-28 09:36:20 +0000 |
commit | 834e5bc5cd0869104d606cf7789bf44f0f412b35 (patch) | |
tree | b1adc28faf4a080ee35104c122a7b36b255c7c45 /sys/arch/hp300/dev/grf_tc.c | |
parent | 792570e53e9d20712a3b44a5a4a870375b8fab13 (diff) |
Support the 98543 in GM_DESCRIBE. Pointless, of course, but what the hell.
Diffstat (limited to 'sys/arch/hp300/dev/grf_tc.c')
-rw-r--r-- | sys/arch/hp300/dev/grf_tc.c | 8 |
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); |