commit | f05ec594fed6890d38bb8767676f626a4035ba55 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Sun Sep 09 08:56:36 2007 -0600 |
committer | James Bottomley <jejb@mulgrave.localdomain> | Fri Oct 12 14:48:03 2007 -0400 |
tree | 7eeccddae09d90a8d783ef233037f8f1d334a735 | |
parent | b2a7a4ba0497f73295e3f4d20a8cedb1e3d2b1a7 [diff] |
[SCSI] advansys: Support 16-byte commands properly The SCSI midlayer won't send commands greater than ->max_cmd_len. So the checks on length in asc_build_req and adv_build_req are obsolete and can be deleted, but also we have to set the max_cmd_len in advansys_board_found(). Also move the length definitions together, and write a helpful comment. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>