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

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

Diff for /src/sys/dev/scsipi/scsipi_base.c between version 1.172 and 1.173

version 1.172, 2016/12/18 15:18:40 version 1.173, 2016/12/18 15:27:34
Line 2140  scsipi_completion_thread(void *arg)
Line 2140  scsipi_completion_thread(void *arg)
         chan->chan_flags |= SCSIPI_CHAN_TACTIVE;          chan->chan_flags |= SCSIPI_CHAN_TACTIVE;
         for (;;) {          for (;;) {
                 xs = TAILQ_FIRST(&chan->chan_complete);                  xs = TAILQ_FIRST(&chan->chan_complete);
                 if (xs == NULL && chan->chan_tflags  == 0) {                  if (xs == NULL && chan->chan_tflags == 0) {
                         /* nothing to do; wait */                          /* nothing to do; wait */
                         cv_wait(chan_cv_complete(chan), chan_mtx(chan));                          cv_wait(chan_cv_complete(chan), chan_mtx(chan));
                         continue;                          continue;

Legend:
Removed from v.1.172  
changed lines
  Added in v.1.173

CVSweb <webmaster@jp.NetBSD.org>