diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-09-09 08:56:36 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:48:03 -0400 |
commit | f05ec594fed6890d38bb8767676f626a4035ba55 (patch) | |
tree | 7eeccddae09d90a8d783ef233037f8f1d334a735 /drivers/net/lance.c | |
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>
Diffstat (limited to 'drivers/net/lance.c')
0 files changed, 0 insertions, 0 deletions