make it compileable.

This commit is contained in:
Le Zhang
2015-12-16 00:04:55 +08:00
parent 7d34e3c64b
commit 5f197d8035
6 changed files with 40 additions and 29 deletions
+10 -1
View File
@@ -16,13 +16,22 @@ limitations under the License.
package scsi
var SCSITargetState int
type SCSITargetState int
var (
TargetOnline SCSITargetState = 1
TargetReady SCSITargetState = 2
)
const (
PR_SPECIAL = (1 << 5)
PR_WE_FA = (1 << 4)
PR_EA_FA = (1 << 3)
PR_RR_FR = (1 << 2)
PR_WE_FN = (1 << 1)
PR_EA_FN = (1 << 0)
)
type SCSITarget struct {
Name string
TID int