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; |