Add no-op implementations of the WSDISPLAYIO_GVIDEO and WSDISPLAYIO_SVIDEO
authorkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 11:34:32 +0000 (11:34 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 16 Apr 2023 11:34:32 +0000 (11:34 +0000)
ioctls.  Everything we need from them is handled by wsdisplay(4) already,
but we need to handle them here to signal that we actually implement
burner support.

ok tb@, tobhe@

sys/dev/fdt/simplefb.c

index d205fae..48c00d3 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: simplefb.c,v 1.19 2022/11/09 22:56:44 tobhe Exp $     */
+/*     $OpenBSD: simplefb.c,v 1.20 2023/04/16 11:34:32 kettenis Exp $  */
 /*
  * Copyright (c) 2016 Mark Kettenis
  *
@@ -289,6 +289,9 @@ simplefb_wsioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
                        return -1;
                }
                break;
+       case WSDISPLAYIO_GVIDEO:
+       case WSDISPLAYIO_SVIDEO:
+               break;
        default:
                return -1;
        }