Page MenuHomeFreeBSD

D33221.id99303.diff
No OneTemporary

D33221.id99303.diff

Index: sys/dev/vt/hw/efifb/efifb.c
===================================================================
--- sys/dev/vt/hw/efifb/efifb.c
+++ sys/dev/vt/hw/efifb/efifb.c
@@ -117,6 +117,7 @@
if (efifb == NULL)
return (CN_DEAD);
+ info->fb_type = FBTYPE_EFIFB;
info->fb_height = efifb->fb_height;
info->fb_width = efifb->fb_width;
Index: sys/sys/fbio.h
===================================================================
--- sys/sys/fbio.h
+++ sys/sys/fbio.h
@@ -91,7 +91,9 @@
#define FBTYPE_TCXCOLOR 29 /* SUNW,tcx */
#define FBTYPE_CREATOR 30
-#define FBTYPE_LASTPLUSONE 31 /* max number of fbs (change as add) */
+#define FBTYPE_EFIFB 31 /* EFI Graphical Output Protocol (GOP) */
+
+#define FBTYPE_LASTPLUSONE 32 /* max number of fbs (change as add) */
/*
* Frame buffer descriptor as returned by FBIOGTYPE.

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 2, 7:27 AM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40068363
Default Alt Text
D33221.id99303.diff (831 B)

Event Timeline