changeset 10646:9d107b7bd2f0

6878684 'Fill data bytes' in frame control should be filled when additional padding size is added
author Kevin Yu <Kevin.Yu@Sun.COM>
date Fri, 25 Sep 2009 12:47:06 +0800
parents f0fd61da7838
children d0c1a4172256
files usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c	Thu Sep 24 14:25:39 2009 -0700
+++ b/usr/src/uts/common/io/comstar/port/fcoet/fcoet_fc.c	Fri Sep 25 12:47:06 2009 +0800
@@ -297,7 +297,7 @@
 		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);