[BACK]Return to atapiconf.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/atapiconf.c between version 1.83.8.3 and 1.83.8.4

version 1.83.8.3, 2012/10/30 17:22:01 version 1.83.8.4, 2014/05/22 11:40:35
Line 231  atapi_probe_bus(struct atapibus_softc *s
Line 231  atapi_probe_bus(struct atapibus_softc *s
         int error;          int error;
         struct atapi_adapter *atapi_adapter;          struct atapi_adapter *atapi_adapter;
   
           KASSERT(chan->chan_ntargets >= 1);
   
         if (target == -1) {          if (target == -1) {
                 maxtarget = 1;                  maxtarget = chan->chan_ntargets - 1;
                 mintarget = 0;                  mintarget = 0;
         } else {          } else {
                 if (target < 0 || target >= chan->chan_ntargets)                  if (target < 0 || target >= chan->chan_ntargets)

Legend:
Removed from v.1.83.8.3  
changed lines
  Added in v.1.83.8.4

CVSweb <webmaster@jp.NetBSD.org>