diff options
| author | 2005-01-05 23:04:23 +0000 | |
|---|---|---|
| committer | 2005-01-05 23:04:23 +0000 | |
| commit | 4231db0ac55557be849e88cc16c3ff3741f8ce93 (patch) | |
| tree | ed51547d5d434f7c5aa14f4ff3d63ee779d91d0d /sys/arch/sparc64/dev/creator.c | |
| parent | Fix handling of memory allocation. Both the initial value of eup (diff) | |
| download | wireguard-openbsd-4231db0ac55557be849e88cc16c3ff3741f8ce93.tar.xz wireguard-openbsd-4231db0ac55557be849e88cc16c3ff3741f8ce93.zip | |
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most
of the work is done in the upper layer, but they get to see the ioctl,
so don't always return an error.
Diffstat (limited to 'sys/arch/sparc64/dev/creator.c')
| -rw-r--r-- | sys/arch/sparc64/dev/creator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/creator.c b/sys/arch/sparc64/dev/creator.c index 923aebccffe..46ac93358f0 100644 --- a/sys/arch/sparc64/dev/creator.c +++ b/sys/arch/sparc64/dev/creator.c @@ -1,4 +1,4 @@ -/* $OpenBSD: creator.c,v 1.30 2004/11/29 22:07:40 miod Exp $ */ +/* $OpenBSD: creator.c,v 1.31 2005/01/05 23:04:25 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -243,6 +243,8 @@ creator_ioctl(v, cmd, data, flags, p) break; case WSDISPLAYIO_SVIDEO: case WSDISPLAYIO_GVIDEO: + break; + case WSDISPLAYIO_GETCMAP: case WSDISPLAYIO_PUTCMAP: default: |
