summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorKevin Yu <Kevin.Yu@Sun.COM>2009-09-25 12:47:06 +0800
committerKevin Yu <Kevin.Yu@Sun.COM>2009-09-25 12:47:06 +0800
commitfd465b4e41bdb67839694896094c37db076314a2 (patch)
tree9ea91da6d62027735975f92d0198d16d4e5a817d /usr/src
parent11bc41c8d344c50e04ea4015552fe4efbf0cdfc4 (diff)
downloadillumos-joyent-fd465b4e41bdb67839694896094c37db076314a2.tar.gz
6878684 'Fill data bytes' in frame control should be filled when additional padding size is added
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c b/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c
index 96ad967ab4..50731759b3 100644
--- a/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c
+++ b/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c
@@ -297,7 +297,7 @@ fcoet_xfer_scsi_data(fct_cmd_t *cmd, stmf_data_buf_t *dbuf, uint32_t ioflags)
if (idx != frm_num - 1) {
FFM_F_CTL(0x800008, frm);
} else {
- FFM_F_CTL(0x880008, frm);
+ FFM_F_CTL(0x880008 | (data_size - left_size), frm);
}
FFM_OXID(cmd->cmd_oxid, frm);