From: kettenis Date: Sun, 16 Apr 2023 11:34:32 +0000 (+0000) Subject: Add no-op implementations of the WSDISPLAYIO_GVIDEO and WSDISPLAYIO_SVIDEO X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e0f76f79fa9801a75cca99fab3854f463d142670;p=openbsd Add no-op implementations of the WSDISPLAYIO_GVIDEO and WSDISPLAYIO_SVIDEO 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@ --- diff --git a/sys/dev/fdt/simplefb.c b/sys/dev/fdt/simplefb.c index d205fae1392..48c00d3d83f 100644 --- a/sys/dev/fdt/simplefb.c +++ b/sys/dev/fdt/simplefb.c @@ -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; }