···195 ** paramed with OPEN, we want to restore the saved port termio, but196 ** only if StoredTermio has been saved, i.e. NOT 1st open after reboot.197 */198-#if 0199- if (PortP->FirstOpen) {200- PortP->StoredTty.iflag = TtyP->tm.c_iflag;201- PortP->StoredTty.oflag = TtyP->tm.c_oflag;202- PortP->StoredTty.cflag = TtyP->tm.c_cflag;203- PortP->StoredTty.lflag = TtyP->tm.c_lflag;204- PortP->StoredTty.line = TtyP->tm.c_line;205- for (i = 0; i < NCC + 5; i++)206- PortP->StoredTty.cc[i] = TtyP->tm.c_cc[i];207- PortP->FirstOpen = 0;208- } else if (PortP->Store || PortP->Lock) {209- rio_dprintk(RIO_DEBUG_PARAM, "OPEN: Restoring stored/locked params\n");210- TtyP->tm.c_iflag = PortP->StoredTty.iflag;211- TtyP->tm.c_oflag = PortP->StoredTty.oflag;212- TtyP->tm.c_cflag = PortP->StoredTty.cflag;213- TtyP->tm.c_lflag = PortP->StoredTty.lflag;214- TtyP->tm.c_line = PortP->StoredTty.line;215- for (i = 0; i < NCC + 5; i++)216- TtyP->tm.c_cc[i] = PortP->StoredTty.cc[i];217- }218-#endif219 }220221 /*···251252 phb_param_ptr = (struct phb_param *) PacketP->data;253254-255-#if 0256- /*257- ** COR 1258- */259- if (TtyP->tm.c_iflag & INPCK) {260- rio_dprintk(RIO_DEBUG_PARAM, "Parity checking on input enabled\n");261- Cor1 |= COR1_INPCK;262- }263-#endif264265 switch (TtyP->termios->c_cflag & CSIZE) {266 case CS5:···493 if (TtyP->termios->c_cflag & XMT1EN)494 rio_dprintk(RIO_DEBUG_PARAM, "XMT1EN (?)\n");495#endif496-#if 0497- if (TtyP->termios->c_cflag & LOBLK)498- rio_dprintk(RIO_DEBUG_PARAM, "LOBLK - JCL output blocks when not current\n");499-#endif500 if (TtyP->termios->c_lflag & ISIG)501 rio_dprintk(RIO_DEBUG_PARAM, "Input character signal generating enabled\n");502 if (TtyP->termios->c_lflag & ICANON)···537 rio_dprintk(RIO_DEBUG_PARAM, "Carriage return delay set\n");538 if (TtyP->termios->c_oflag & TABDLY)539 rio_dprintk(RIO_DEBUG_PARAM, "Tab delay set\n");540-#if 0541- if (TtyP->termios->c_oflag & BSDLY)542- rio_dprintk(RIO_DEBUG_PARAM, "Back-space delay set\n");543- if (TtyP->termios->c_oflag & VTDLY)544- rio_dprintk(RIO_DEBUG_PARAM, "Vertical tab delay set\n");545- if (TtyP->termios->c_oflag & FFDLY)546- rio_dprintk(RIO_DEBUG_PARAM, "Form-feed delay set\n");547-#endif548 /*549 ** These things are kind of useful in a later life!550 */
···195 ** paramed with OPEN, we want to restore the saved port termio, but196 ** only if StoredTermio has been saved, i.e. NOT 1st open after reboot.197 */000000000000000000000198 }199200 /*···272273 phb_param_ptr = (struct phb_param *) PacketP->data;2740000000000275276 switch (TtyP->termios->c_cflag & CSIZE) {277 case CS5:···524 if (TtyP->termios->c_cflag & XMT1EN)525 rio_dprintk(RIO_DEBUG_PARAM, "XMT1EN (?)\n");526#endif0000527 if (TtyP->termios->c_lflag & ISIG)528 rio_dprintk(RIO_DEBUG_PARAM, "Input character signal generating enabled\n");529 if (TtyP->termios->c_lflag & ICANON)···572 rio_dprintk(RIO_DEBUG_PARAM, "Carriage return delay set\n");573 if (TtyP->termios->c_oflag & TABDLY)574 rio_dprintk(RIO_DEBUG_PARAM, "Tab delay set\n");00000000575 /*576 ** These things are kind of useful in a later life!577 */