fbtype
fb.fb_height = attr.fbtype.fb_height;
fb.fb_width = attr.fbtype.fb_width;
fb.fb_depth = attr.fbtype.fb_depth;
fb.fb_size = attr.fbtype.fb_size;
fb.fb_bpp = attr.fbtype.fb_depth >> 3;
if (attr.fbtype.fb_depth == 15)
struct fbtype fbtype; /* fbtype info for real device */
bitmap_attr.fbtype.fb_height = fb_info.screen.y;
bitmap_attr.fbtype.fb_width = fb_info.screen.x;
bitmap_attr.fbtype.fb_depth = fb_info.depth;
bitmap_attr.fbtype.fb_size = size;
bitmap_attr.fbtype.fb_cmsize = 1 << 24;
bitmap_attr.fbtype.fb_cmsize = 1 << fb_info.depth;
if (copyout(&softc->fbgattr->fbtype, (void *)data,
sizeof (struct fbtype)))