X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=contrib%2Fsst%2Fsst.c;h=e2b049398ccea6760f6852a2bab4985d2e9ae459;hb=eefb15c5c04acb3c75f0c704ea664feb1bbae75c;hp=3c0efedd69e4ebb2a01c2d08baa59c77b1353367;hpb=bde83ad58d800ae004caccab6531234272181da2;p=debian%2Famanda diff --git a/contrib/sst/sst.c b/contrib/sst/sst.c index 3c0efed..e2b0493 100644 --- a/contrib/sst/sst.c +++ b/contrib/sst/sst.c @@ -1013,24 +1013,19 @@ sst_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p) * with extended sense data to tell us why) so do one sst_unit_ready * and ignore the result. */ - -/* Makes no sense for chg-scsi, test unit ready is done by chg-scsi */ -/* - (void) sst_unit_ready(dev); if (sst_unit_ready(dev) == 0) { SST_LOG(0, SST_CE_DEBUG1, "sst%d_open: not ready\n", getminor(dev)); targ->targ_state = SST_STATE_CLOSED; -*/ + /*LINTED*/ -/* _NOTE(COMPETING_THREADS_NOW); return (EIO); } -*/ + /* * Do any other initalization work here, e.g. send * Mode Sense/Select commands to get the target in the