Kenneth D. Merry
1e773aeb99
When editing a mode page on a tape drive, do not clear the device
...
specific parameter.
Tape drives include write protect (WP), Buffered Mode and Speed
settings in the device-specific parameter. Clearing this
parameter on a mode select can have the effect of turning off
write protect or buffered mode, or changing the speed setting of
the tape drive.
Disks report DPO/FUA support via the device specific parameter
for MODE SENSE, but the bit is reserved for MODE SELECT. So we
clear this for disks (and other non-tape devices) to avoid
potential errors from the target device.
sbin/camcontrol/modeedit.c:
Clear the device-specific parameter in the mode page
header if we're not operating on a tape drive.
MFC after: 3 days
Sponsored by: Spectra Logic
2017-05-05 21:29:28 +00:00
..
2016-02-09 20:19:31 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-05-05 21:29:28 +00:00
2016-10-02 23:19:05 +00:00
2017-02-28 23:42:47 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2017-03-04 11:33:01 +00:00
2017-03-24 13:46:26 +00:00
2017-03-08 23:58:10 +00:00
2017-03-30 18:20:04 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-04-14 00:22:28 +00:00
2017-04-22 14:50:11 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-15 19:50:26 +00:00
2017-03-04 11:33:01 +00:00
2017-04-27 19:03:08 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-04 06:12:48 +00:00
2017-05-03 19:53:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-14 02:10:37 +00:00
2017-05-02 17:16:24 +00:00
2017-03-04 11:33:01 +00:00
2017-04-27 19:48:00 +00:00
2017-04-27 19:48:00 +00:00
2017-03-10 19:13:38 +00:00
2016-02-09 20:19:31 +00:00
2017-03-04 11:33:01 +00:00
2017-03-02 14:50:01 +00:00
2017-02-19 16:08:58 +00:00
2016-09-16 04:28:31 +00:00
2017-02-28 23:42:47 +00:00
2017-04-12 19:23:41 +00:00
2017-04-07 15:39:41 +00:00
2017-03-23 02:57:08 +00:00
2017-03-04 11:33:01 +00:00
2017-04-03 18:50:04 +00:00
2017-04-13 22:05:24 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2016-09-16 04:28:31 +00:00
2016-10-05 20:42:35 +00:00
2017-03-04 11:33:01 +00:00
2016-08-30 18:01:26 +00:00
2017-03-04 16:59:55 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:45:21 +00:00
2017-03-28 20:34:02 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2016-12-06 15:49:39 +00:00
2017-03-19 15:49:51 +00:00
2016-05-01 02:24:05 +00:00
2017-03-04 11:33:01 +00:00
2017-04-14 00:14:40 +00:00
2017-04-16 19:17:10 +00:00
2017-04-16 19:17:10 +00:00
2017-03-04 11:33:01 +00:00
2017-04-15 06:53:07 +00:00
2016-10-03 00:40:20 +00:00
2017-04-13 14:44:17 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-04 11:33:01 +00:00
2017-03-14 12:39:19 +00:00
2017-02-28 23:42:47 +00:00
2016-05-04 23:20:53 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2016-11-13 00:11:23 +00:00
2017-04-24 21:21:49 +00:00
2014-05-06 04:22:01 +00:00