Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic add the enable target mode command, plus some min...
details: https://anonhg.NetBSD.org/src/rev/bc7e7411e93a
branches: trunk
changeset: 480179:bc7e7411e93a
user: mjacob <mjacob%NetBSD.org@localhost>
date: Thu Jan 06 02:59:43 2000 +0000
description:
add the enable target mode command, plus some minor fiddles
diffstat:
sys/dev/ic/ispmbox.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r d97a8a1799dc -r bc7e7411e93a sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h Thu Jan 06 02:56:44 2000 +0000
+++ b/sys/dev/ic/ispmbox.h Thu Jan 06 02:59:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.19 1999/10/14 02:18:40 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.20 2000/01/06 02:59:43 mjacob Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -110,6 +110,9 @@
#define FW_FEATURE_LVD_NOTIFY 0x2
#define FW_FEATURE_FAST_POST 0x1
+#define MBOX_ENABLE_TARGET_MODE 0x55
+#define ENABLE_TARGET_FLAG 0x8000
+
/* These are for the ISP2100 FC cards */
#define MBOX_GET_LOOP_ID 0x20
#define MBOX_EXEC_COMMAND_IOCB_A64 0x54
@@ -227,7 +230,7 @@
#define RQSTYPE_MARKER 0x04
#define RQSTYPE_CMDONLY 0x05
#define RQSTYPE_ATIO 0x06 /* Target Mode */
-#define RQSTYPE_CTIO0 0x07 /* Target Mode */
+#define RQSTYPE_CTIO 0x07 /* Target Mode */
#define RQSTYPE_SCAM 0x08
#define RQSTYPE_A64 0x09
#define RQSTYPE_A64_CONT 0x0a
@@ -348,6 +351,7 @@
u_int16_t req_state_flags;
u_int16_t req_status_flags;
u_int16_t req_time;
+#define req_response_len req_time /* FC only */
u_int16_t req_sense_len;
u_int32_t req_resid;
u_int8_t _res1[8];
Home |
Main Index |
Thread Index |
Old Index