fbgattr
struct fbgattr attr;
softc->fbgattr = &bitmap_attr;
static struct fbgattr bitmap_attr = {
if (copyout(softc->fbgattr, (void *)data,
sizeof (struct fbgattr)))
if (copyout(&softc->fbgattr->fbtype, (void *)data,
struct fbgattr *fbgattr;
softc->fbgattr = &vgatext_attr;
static struct fbgattr vgatext_attr = {