[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.86 and 1.87

version 1.86, 2012/06/24 07:48:01 version 1.87, 2014/03/05 08:45:13
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.86  
changed lines
  Added in v.1.87

CVSweb <webmaster@jp.NetBSD.org>