gc_softc
if (gc_softc[unit].gencn_tty == NULL)
gc_softc[unit].gencn_tty = tty_alloc();
gc_softc[unit].alive = 1;
gc_softc[unit].unit = unit;
tp = gc_softc[unit].gencn_tty;
struct tty *tp = gc_softc[minor(dev)].gencn_tty;
gc_softc[minor(dev)].alive = 0;
return gc_softc[minor(dev)].gencn_tty;
struct tty *tp = gc_softc[minor(dev)].gencn_tty;
struct tty *tp = gc_softc[minor(dev)].gencn_tty;
struct tty *tp = gc_softc[minor(dev)].gencn_tty;
struct tty *tp = gc_softc[minor(dev)].gencn_tty;
struct gc_softc *sc = arg;
struct gc_softc *sc = arg;
scb_vecalloc(SCB_G0R, gencnrint, &gc_softc[0], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G0T, gencntint, &gc_softc[0], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G1R, gencnrint, &gc_softc[1], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G1T, gencntint, &gc_softc[1], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G2R, gencnrint, &gc_softc[2], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G2T, gencntint, &gc_softc[2], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G3R, gencnrint, &gc_softc[3], SCB_ISTACK, NULL);
scb_vecalloc(SCB_G3T, gencntint, &gc_softc[3], SCB_ISTACK, NULL);
gencnstart(gc_softc[0].gencn_tty);
} gc_softc[4];