]> www.infradead.org Git - users/jedix/linux-maple.git/commit
target: Don't set WBUS16 or SYNC bits in INQUIRY response
authorRoland Dreier <roland@purestorage.com>
Tue, 14 Feb 2012 00:18:16 +0000 (16:18 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 12 Apr 2012 22:14:37 +0000 (15:14 -0700)
commit506b4008962b3b20cd78f86670653f67ac800e22
tree5479c86f234893f2d40fcbd8c0fda4cf4d1a975f
parent1f6a3ade22f1afd02ed6af5e11ecca2ea88f55db
target: Don't set WBUS16 or SYNC bits in INQUIRY response

commit effc6cc8828257c32c37635e737f14fd6e19ecd7 upstream.

SPC-4 says about the WBUS16 and SYNC bits:

    The meanings of these fields are specific to SPI-5 (see 6.4.3).
    For SCSI transport protocols other than the SCSI Parallel
    Interface, these fields are reserved.

We don't have a SPI fabric module, so we should never set these bits.
(The comment was misleading, since it only mentioned Sync but the
actual code set WBUS16 too).

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/target_core_cdb.c