void wscninit(struct consdev *cp) { if ((*wsfbcninit)()) { /* * For some reason, the console initialization failed. * Fallback to serial console, by re-electing a console. */ wscn_ignore = 1; cninit(); return; } switch (vax_bustype) { case VAX_VSBUS: #if NDZKBD > 0 dzkbd_cnattach(0); /* Connect keyboard and screen together */ #endif break; case VAX_VXTBUS: #if NQSCKBD > 0 qsckbd_cnattach(QSC_LINE_KEYBOARD); #endif break; } }
void wscninit(struct consdev *cp) { (*wsfbcninit)(); switch (vax_bustype) { case VAX_VSBUS: #if NDZKBD > 0 dzkbd_cnattach(0); /* Connect keyboard and screen together */ #endif break; case VAX_VXTBUS: #if NQSCKBD > 0 qsckbd_cnattach(QSC_LINE_KEYBOARD); #endif break; } }