Searched refs:sc_console_unit (Results 1 – 1 of 1) sorted by relevance
111 static int sc_console_unit = -1; variable333 sc = sc_get_softc(0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in register_framebuffer()337 0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in register_framebuffer()382 if (sc->unit == sc_console_unit && sc->cur_scp->smode.mode != VT_AUTO) in register_framebuffer()400 sc = sc_get_softc(0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in unregister_framebuffer()404 0, (sc_console_unit == 0) ? SC_KERNEL_CONSOLE : 0); in unregister_framebuffer()429 if (sc->unit == sc_console_unit) in unregister_framebuffer()550 if (sc_console_unit == unit) { in sc_attach_unit()584 sc->dev[0] = make_dev(&sc_ops, sc_console_unit*MAXCONS, UID_ROOT, in sc_attach_unit()586 sc_console_unit * MAXCONS)); in sc_attach_unit()[all …]