[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.329.2.4 and 1.329.2.5

version 1.329.2.4, 2016/05/29 08:44:21 version 1.329.2.5, 2017/08/28 17:52:03
Line 475  com_attach_subr(struct com_softc *sc)
Line 475  com_attach_subr(struct com_softc *sc)
                 CSR_WRITE_1(regsp, COM_REG_FIFO,                  CSR_WRITE_1(regsp, COM_REG_FIFO,
                     FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST | FIFO_TRIGGER_1);                      FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST | FIFO_TRIGGER_1);
                 goto fifodelay;                  goto fifodelay;
   
           case COM_TYPE_BCMAUXUART:
                   sc->sc_fifolen = 1;
                   fifo_msg = "BCM AUX UART, working fifo";
                   SET(sc->sc_hwflags, COM_HW_FIFO);
                   CSR_WRITE_1(regsp, COM_REG_FIFO,
                       FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST | FIFO_TRIGGER_1);
                   goto fifodelay;
         }          }
   
         sc->sc_fifolen = 1;          sc->sc_fifolen = 1;
Line 2108  again: do {
Line 2116  again: do {
 #endif  #endif
                 }                  }
   
                   if (sc->sc_type == COM_TYPE_BCMAUXUART && ISSET(iir, IIR_RXRDY))
                           lsr |= LSR_RXRDY;
   
                 if (ISSET(lsr, LSR_RCV_MASK) &&                  if (ISSET(lsr, LSR_RCV_MASK) &&
                     !ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {                      !ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {
                         while (cc > 0) {                          while (cc > 0) {

Legend:
Removed from v.1.329.2.4  
changed lines
  Added in v.1.329.2.5

CVSweb <webmaster@jp.NetBSD.org>