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; |