Author: mav
Date: Sun Jul  6 06:12:29 2014
New Revision: 268306
URL: http://svnweb.freebsd.org/changeset/base/268306

Log:
  Relax some bit checks for INQUIRY command.
  
  FreeBSD still tries to put LUN number in second byte until it get device
  protocol version, even that it was obsoleted about 20 years ago.

Modified:
  head/sys/cam/ctl/ctl_cmd_table.c

Modified: head/sys/cam/ctl/ctl_cmd_table.c
==============================================================================
--- head/sys/cam/ctl/ctl_cmd_table.c    Sun Jul  6 03:31:01 2014        
(r268305)
+++ head/sys/cam/ctl/ctl_cmd_table.c    Sun Jul  6 06:12:29 2014        
(r268306)
@@ -410,7 +410,7 @@ const struct ctl_cmd_entry ctl_cmd_table
                              CTL_CMD_FLAG_OK_ON_SECONDARY |
                              CTL_FLAG_DATA_IN |
                              CTL_CMD_FLAG_ALLOW_ON_PR_RESV,
- CTL_LUN_PAT_NONE, 6, {0x01, 0xff, 0xff, 0xff, 0x07}},
+ CTL_LUN_PAT_NONE, 6, {0xe1, 0xff, 0xff, 0xff, 0x07}},
 
 /* 13 */
 {NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to