diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-08-07 22:19:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-08-07 22:19:11 +0000 |
commit | 7bd76fdee9cf7d477f4036403b21b74350810b51 (patch) | |
tree | 4b6da5f3dc86af4f5a12e4cbe50799e8e1a5ef5d | |
parent | 3e38439949723a2b9e8d8327aa6a9c37de2548d9 (diff) |
Return WSDISPLAY_TYPE_PCIVGA like we do on macppc.
Pointed out by jsg@
-rw-r--r-- | sys/arch/sparc64/dev/vgafb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vgafb.c b/sys/arch/sparc64/dev/vgafb.c index 9518210c573..e24ea84cb3a 100644 --- a/sys/arch/sparc64/dev/vgafb.c +++ b/sys/arch/sparc64/dev/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.64 2014/07/28 15:00:27 jsg Exp $ */ +/* $OpenBSD: vgafb.c,v 1.65 2017/08/07 22:19:10 kettenis Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -206,7 +206,7 @@ vgafb_ioctl(v, cmd, data, flags, p) switch (cmd) { case WSDISPLAYIO_GTYPE: - *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN; + *(u_int *)data = WSDISPLAY_TYPE_PCIVGA; break; case WSDISPLAYIO_SMODE: sc->sc_mode = *(u_int *)data; |