artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32aa98d
)
Remove cases for 1-bit and 4-bit color depths in efifb_ioctl(), as we
author
fcambus
<fcambus@openbsd.org>
Thu, 12 Jul 2018 12:47:57 +0000
(12:47 +0000)
committer
fcambus
<fcambus@openbsd.org>
Thu, 12 Jul 2018 12:47:57 +0000
(12:47 +0000)
basically can't run in those modes.
OK kettenis@
sys/arch/amd64/amd64/efifb.c
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/amd64/efifb.c
b/sys/arch/amd64/amd64/efifb.c
index
e3dc22a
..
3a2ed36
100644
(file)
--- a/
sys/arch/amd64/amd64/efifb.c
+++ b/
sys/arch/amd64/amd64/efifb.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: efifb.c,v 1.1
6 2018/04/27 21:36:12 jcs Exp $
*/
+/* $OpenBSD: efifb.c,v 1.1
7 2018/07/12 12:47:57 fcambus Exp $
*/
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@
-326,12
+326,6
@@
efifb_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
case 8:
*(u_int *)data = WSDISPLAYIO_DEPTH_8;
break;
- case 4:
- *(u_int *)data = WSDISPLAYIO_DEPTH_4;
- break;
- case 1:
- *(u_int *)data = WSDISPLAYIO_DEPTH_1;
- break;
default:
return (-1);
}