[BACK]Return to scn.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / pc532 / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/pc532/dev/Attic/scn.c between version 1.45 and 1.46

version 1.45, 2000/11/02 00:42:38 version 1.46, 2000/12/19 16:23:57
Line 655  scn_config(unit, ispeed, ospeed, mr1, mr
Line 655  scn_config(unit, ispeed, ospeed, mr1, mr
                         }                          }
                 }                  }
         }          }
         return EINVAL;          return EINVAL;
   
     gotit:      gotit:
         s = spltty();          s = spltty();
Line 1005  scnattach(parent, self, aux)
Line 1005  scnattach(parent, self, aux)
                 printf("%c flags %d", delim, sc->sc_swflags);                  printf("%c flags %d", delim, sc->sc_swflags);
                 delim = ',';                  delim = ',';
         }          }
   
 #ifdef KGDB  #ifdef KGDB
         if (kgdb_dev == makedev(scnmajor, unit)) {          if (kgdb_dev == makedev(scnmajor, unit)) {
                 if (scnconsole == unit)                  if (scnconsole == unit)
Line 1127  scnopen(dev, flag, mode, p)
Line 1127  scnopen(dev, flag, mode, p)
                  *                   *
                  * This used to be more compact (while loop with lots of nots)                   * This used to be more compact (while loop with lots of nots)
                  * but it was incomprehensible.                   * but it was incomprehensible.
                  *                   *
                  * "getty" is the classic case of a program that waits here...                   * "getty" is the classic case of a program that waits here...
                  */                   */
                 for (;;) {                  for (;;) {
Line 1271  dcd_int(sc, tp, new)
Line 1271  dcd_int(sc, tp, new)
 #endif  #endif
   
 /* XXX set some flag to have some lower (soft) int call line discipline? */  /* XXX set some flag to have some lower (soft) int call line discipline? */
         if (!(*linesw[(u_char) tp->t_line].l_modem) (tp, new == 0? 1: 0)) {          if (!(*tp->t_linesw->l_modem) (tp, new == 0? 1: 0)) {
                 SCN_OP_BIC(sc, sc->sc_op_rts | sc->sc_op_dtr);                  SCN_OP_BIC(sc, sc->sc_op_rts | sc->sc_op_dtr);
         }          }
 }  }
Line 1351  scnintr(arg)
Line 1351  scnintr(arg)
                                         scn_setchip(sc0);                                          scn_setchip(sc0);
                                 }                                  }
   
                                 (*linesw[tp0->t_line].l_start) (tp0);                                  (*tp0->t_linesw->l_start) (tp0);
                                 rs_work = TRUE;                                  rs_work = TRUE;
                         }                          }
                 }                  }
Line 1369  scnintr(arg)
Line 1369  scnintr(arg)
                                         scn_setchip(sc1);                                          scn_setchip(sc1);
                                 }                                  }
   
                                 (*linesw[tp1->t_line].l_start) (tp1);                                  (*tp1->t_linesw->l_start) (tp1);
                                 rs_work = TRUE;                                  rs_work = TRUE;
                         }                          }
                 }                  }
Line 1603  scnsoft(arg)
Line 1603  scnsoft(arg)
                                         SCN_OP_BIS(sc, sc->sc_op_rts);                                          SCN_OP_BIS(sc, sc->sc_op_rts);
                                         splx(s);                                          splx(s);
                                 }                                  }
   
                         }                          }
                         sc->sc_rbget = get;                          sc->sc_rbget = get;
                 }                  }

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>