Advertisement
Guest User

Untitled

a guest
Apr 13th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. --- cgsix.c.orig 2016-04-12 18:46:37.000000000 +0300
  2. +++ cgsix.c 2016-04-13 17:12:47.000000000 +0300
  3. @@ -1178,7 +1178,6 @@ cgsix_ioctl(void *v, void *vs, u_long cm
  4. struct vcons_data *vd = v;
  5. struct cgsix_softc *sc = vd->cookie;
  6. struct wsdisplay_fbinfo *wdf;
  7. - struct rasops_info *ri = &sc->sc_fb.fb_rinfo;
  8. struct vcons_screen *ms = sc->vd.active;
  9.  
  10. #ifdef CGSIX_DEBUG
  11. @@ -1190,9 +1189,9 @@ cgsix_ioctl(void *v, void *vs, u_long cm
  12. return 0;
  13. case WSDISPLAYIO_GINFO:
  14. wdf = (void *)data;
  15. - wdf->height = ri->ri_height;
  16. - wdf->width = ri->ri_width;
  17. - wdf->depth = ri->ri_depth;
  18. + wdf->height = sc->sc_height;
  19. + wdf->width = sc->sc_width;
  20. + wdf->depth = 8;
  21. wdf->cmsize = 256;
  22. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement