From 5e93044a78ce49826d02c59307c02d95ba564da8 Mon Sep 17 00:00:00 2001 From: mav Date: Tue, 18 Mar 2014 14:18:45 +0000 Subject: MFC r262741: Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately. --- sys/cam/cam_periph.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/cam') diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index ef67c79..1628ab0 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -1655,6 +1655,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags, case CAM_REQ_TOO_BIG: case CAM_LUN_INVALID: case CAM_TID_INVALID: + case CAM_FUNC_NOTAVAIL: error = EINVAL; break; case CAM_SCSI_BUS_RESET: -- cgit v1.1