diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-02-11 19:35:42 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-02-11 19:35:42 +0000 |
commit | a9c2af8be3144920942aa7f486fbf3dfffc5002b (patch) | |
tree | 8e887103ff2ab157785fe24d8c2a51432585246b /sys/dev | |
parent | a5b041f3d28b4c17f5643c9338bcda9d40ec930f (diff) | |
download | FreeBSD-src-a9c2af8be3144920942aa7f486fbf3dfffc5002b.zip FreeBSD-src-a9c2af8be3144920942aa7f486fbf3dfffc5002b.tar.gz |
Add in new async mbox defines for 2200- point to point stuff.
Add in definitions for the extended initialization control block
(2200 only again).
Approved: jkh@freebsd.org
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index 92bfa3a..3493f40 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -182,6 +182,15 @@ typedef struct { #define ASYNC_PDB_CHANGED 0x8014 #define ASYNC_CHANGE_NOTIFY 0x8015 +/* for ISP2200 only */ +#define ASYNC_PTPMODE 0x8030 +#define ASYNC_CONNMODE 0x8036 +#define ISP_CONN_LOOP 1 +#define ISP_CONN_PTP 2 +#define ISP_CONN_BADLIP 3 +#define ISP_CONN_FATAL 4 +#define ISP_CONN_LOOPBACK 5 + /* * Command Structure Definitions */ @@ -494,6 +503,20 @@ typedef struct isp_icb { #define ICBOPT_USE_PORTNAME 0x4000 #define ICBOPT_EXTENDED 0x8000 +#define ICBXOPT_CLASS2_ACK0 0x0200 +#define ICBXOPT_CLASS2 0x0100 +#define ICBXOPT_LOOP_ONLY (0 << 4) +#define ICBXOPT_PTP_ONLY (1 << 4) +#define ICBXOPT_LOOP_2_PTP (2 << 4) +#define ICBXOPT_PTP_2_LOOP (3 << 4) + +#define ICBXOPT_RIO_OFF 0 +#define ICBXOPT_RIO_16BIT 1 +#define ICBXOPT_RIO_32BIT 2 +#define ICBXOPT_RIO_16BIT_DELAY 3 +#define ICBXOPT_RIO_32BIT_DELAY 4 + + #define ICB_MIN_FRMLEN 256 #define ICB_MAX_FRMLEN 2112 |