When autosense fails, make sure we retry the command.
PR: kern/15975 Submitted by: Carl Mascott <cmascott@world.std.com>, n_hibma
This commit is contained in:
parent
c856c0b7cc
commit
0741f45376
@ -1439,7 +1439,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
|
||||
"CAM_AUTOSENSE_FAILED");
|
||||
/* NOTREACHED */
|
||||
error = EIO;
|
||||
} else if (ccb->ccb_h.retry_count > 0) {
|
||||
} else if (ccb->ccb_h.retry_count == 0) {
|
||||
/*
|
||||
* XXX KDM shouldn't there be a better
|
||||
* argument to return??
|
||||
|
Loading…
Reference in New Issue
Block a user