[BACK]Return to com.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ic

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

Diff for /src/sys/dev/ic/com.c between version 1.12.2.10 and 1.12.2.11

version 1.12.2.10, 1993/10/15 09:57:45 version 1.12.2.11, 1993/10/16 06:39:45
Line 84  static void comattach __P((struct device
Line 84  static void comattach __P((struct device
 static int comintr __P((struct com_softc *));  static int comintr __P((struct com_softc *));
   
 struct cfdriver comcd =  struct cfdriver comcd =
 { NULL, "com", comprobe, comattach, sizeof (struct com_softc) };  { NULL, "com", comprobe, comattach, DV_TTY, sizeof (struct com_softc) };
   
 int comparam __P((struct tty *, struct termios *));  int comparam __P((struct tty *, struct termios *));
 void comstart __P((struct tty *));  void comstart __P((struct tty *));
Line 610  comeint(sc, stat)
Line 610  comeint(sc, stat)
                 c |= TTY_PE;                  c |= TTY_PE;
         else if (stat & LSR_OE) {          else if (stat & LSR_OE) {
                 c |= TTY_PE;            /* XXX ought to have its own define */                  c |= TTY_PE;            /* XXX ought to have its own define */
                 log(LOG_WARNING, "com%d: silo overflow\n", sc->sc_dev.dv_unit);                  log(LOG_WARNING, "%s: silo overflow\n", sc->sc_dev.dv_xname);
         }          }
         /* XXXX put in FIFO and process later */          /* XXXX put in FIFO and process later */
         (*linesw[tp->t_line].l_rint)(c, tp);          (*linesw[tp->t_line].l_rint)(c, tp);
Line 687  comintr(sc)
Line 687  comintr(sc)
                         comeint(sc, inb(iobase + com_lsr));                          comeint(sc, inb(iobase + com_lsr));
                         break;                          break;
                     default:                      default:
                         log(LOG_WARNING, "com%d: weird iir=0x%x\n",                          log(LOG_WARNING, "%s: weird iir=0x%x\n",
                             sc->sc_dev.dv_unit, code);                              sc->sc_dev.dv_xname, code);
                         /* fall through */                          /* fall through */
                     case IIR_MLSC:                      case IIR_MLSC:
                         commint(sc);                          commint(sc);

Legend:
Removed from v.1.12.2.10  
changed lines
  Added in v.1.12.2.11

CVSweb <webmaster@jp.NetBSD.org>