[SCSI] fcoe, fnic, libfc: increased CDB size to 16 bytes for fcoe.
authorVasu Dev <vasu.dev@intel.com>
Fri, 9 Apr 2010 21:22:59 +0000 (14:22 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:02:39 +0000 (14:02 -0500)
commitda87bfab8a7e6cfd0e1e5c5874d7fd4f7d11e64e
tree82dbf057ac960b017bc2a477f941de7f9d75c373
parent8ba00a4bbbbcb39d077e837555dfa9ff0de4202e
[SCSI] fcoe, fnic, libfc: increased CDB size to 16 bytes for fcoe.

No reason to restrict CDB size to 12 bytes in fcoe, so
increased to 16 so that 16 bytes SCSI CDB doesn't fail.

Uses common define to set max_cmd_len for fcoe and fnic,
fnic is already setting max_cmd_len to 16.

sg_readcap -l fails without this fix.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_main.c
include/scsi/libfcoe.h