[BACK]Return to st.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/st.c between version 1.59 and 1.60

version 1.59, 1996/02/14 21:47:49 version 1.60, 1996/02/17 16:00:22
Line 487  stopen(dev, flags, mode, p)
Line 487  stopen(dev, flags, mode, p)
                                      SCSI_IGNORE_MEDIA_CHANGE |                                       SCSI_IGNORE_MEDIA_CHANGE |
                                      (stmode == CTLMODE ?                                       (stmode == CTLMODE ?
                                         SCSI_IGNORE_NOT_READY : 0));                                          SCSI_IGNORE_NOT_READY : 0));
           if (error)
                 goto bad;                  goto bad;
   
         sc_link->flags |= SDEV_OPEN;    /* unit attn are now errors */          sc_link->flags |= SDEV_OPEN;    /* unit attn are now errors */
Line 1741  st_interpret_sense(xs)
Line 1742  st_interpret_sense(xs)
                         return 0;                          return 0;
                 }                  }
                 if (sense->extended_flags & SSD_ILI) {                  if (sense->extended_flags & SSD_ILI) {
 #ifdef notdef  
                         /*  
                          * info is unsigned  
                          */  
                         if (info < 0) {                          if (info < 0) {
                                 /*                                  /*
                                  * the record was bigger than the read                                   * the record was bigger than the read
Line 1755  st_interpret_sense(xs)
Line 1752  st_interpret_sense(xs)
                                             xs->datalen - info);                                              xs->datalen - info);
                                 return EIO;                                  return EIO;
                         }                          }
 #endif  
                         xs->resid = info;                          xs->resid = info;
                         if (bp)                          if (bp)
                                 bp->b_resid = info;                                  bp->b_resid = info;

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

CVSweb <webmaster@jp.NetBSD.org>