diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-19 13:04:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-19 13:04:38 +0000 |
commit | 63c5c0caa562c6dbbb823028fc00bce750f0aa97 (patch) | |
tree | 6f450a266c6f0805b4ce4fadf6fd8334bc38295e | |
parent | 9c3f149c27aa6cd3525b7737f791120c0ab4471c (diff) |
fb_setsize() on pfour
-rw-r--r-- | sys/arch/sparc/dev/fb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index 2b18cb85a1f..917f9f38631 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -138,6 +138,9 @@ fb_setsize(fb, depth, def_width, def_height, node, bustype) * to be correct as defaults go... */ switch (bustype) { + case BUS_PFOUR: + fb->fb_linebytes = (fb->fb_type.fb_width * depth) / 8; + break; case BUS_VME16: case BUS_VME32: case BUS_OBIO: @@ -199,7 +202,7 @@ fb_setsize(fb, depth, def_width, def_height, node, bustype) } #endif /* SUN4M */ - donesize: +donesize: fb->fb_linebytes = (fb->fb_type.fb_width * depth) / 8; break; case BUS_SBUS: |