Lets Bacula find the end of medium on LTO5 drive.
Reported & fix tested by Kor son of Rynar.
ok mikeb@ deraadt@
-/* $OpenBSD: mpii.c,v 1.102 2016/03/07 18:43:59 naddy Exp $ */
+/* $OpenBSD: mpii.c,v 1.103 2016/08/09 15:04:34 krw Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
xs->resid = xs->datalen -
lemtoh32(&sie->transfer_count);
break;
+
+ case SCSI_CHECK:
+ xs->error = XS_SENSE;
+ break;
+
default:
xs->error = XS_DRIVER_STUFFUP;
break;