Create constants for MaxRecvDataSegmentLength and MaxBurstLength

This commit is contained in:
Payes
2017-04-21 13:41:52 +05:30
parent 0b629a16fe
commit 6deca56487
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -33,6 +33,11 @@ const (
OpReject = 0x3f
)
const (
MaxBurstLength uint32 = 262144
MaxRecvDataSegmentLength uint32 = 65536
)
var opCodeMap = map[OpCode]string{
OpNoopOut: "NOP-Out",
OpSCSICmd: "SCSI Command",