[BACK]Return to cgsix.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / sun

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/sun/cgsix.c between version 1.36.4.5 and 1.36.4.6

version 1.36.4.5, 2010/08/11 22:54:11 version 1.36.4.6, 2010/10/09 03:32:25
Line 637  cg6attach(struct cgsix_softc *sc, const 
Line 637  cg6attach(struct cgsix_softc *sc, const 
                  * we're not the console so we just clear the screen and don't                   * we're not the console so we just clear the screen and don't
                  * set up any sort of text display                   * set up any sort of text display
                  */                   */
                 if (cgsix_defaultscreen.textops == NULL) {  
                         /*  
                          * ugly, but...  
                          * we want the console settings to win, so we only  
                          * touch anything when we find an untouched screen  
                          * definition. In this case we fill it from fb to  
                          * avoid problems in case no cgsix is the console  
                          */  
                         ri = &sc->sc_fb.fb_rinfo;  
                         cgsix_defaultscreen.textops = &ri->ri_ops;  
                         cgsix_defaultscreen.capabilities = ri->ri_caps;  
                         cgsix_defaultscreen.nrows = ri->ri_rows;  
                         cgsix_defaultscreen.ncols = ri->ri_cols;  
                 }  
         }          }
   
         aa.scrdata = &cgsix_screenlist;          aa.scrdata = &cgsix_screenlist;

Legend:
Removed from v.1.36.4.5  
changed lines
  Added in v.1.36.4.6

CVSweb <webmaster@jp.NetBSD.org>