summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/fb.c')
-rw-r--r--sys/arch/sparc/dev/fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c
index f61b94560bb..ade9db9dbe6 100644
--- a/sys/arch/sparc/dev/fb.c
+++ b/sys/arch/sparc/dev/fb.c
@@ -139,6 +139,8 @@ fb_setsize(fb, depth, def_width, def_height, node, bustype)
*/
switch (bustype) {
case BUS_PFOUR:
+ fb->fb_type.fb_width = def_width;
+ fb->fb_type.fb_height = def_height;
fb->fb_linebytes = (fb->fb_type.fb_width * depth) / 8;
break;
case BUS_VME16: