diff options
| author | mjacob <mjacob@NetBSD.org> | 2000-02-12 02:26:26 +0000 |
|---|---|---|
| committer | mjacob <mjacob@NetBSD.org> | 2000-02-12 02:26:26 +0000 |
| commit | 87355d841fdd4d697e7f3f78097ed0c9035ca49d (patch) | |
| tree | f0469dd0e76217bccabda8e7b668f96eec7ede16 /sys/dev | |
| parent | 50f26208229ecb31da1d42d5f4de5cf7cbdf58ae (diff) | |
add some Qlogic 2200 point-to-point and extended ICBOPT definitions
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/ispmbox.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/sys/dev/ic/ispmbox.h b/sys/dev/ic/ispmbox.h index 7f511d96f67..3a465b411f2 100644 --- a/sys/dev/ic/ispmbox.h +++ b/sys/dev/ic/ispmbox.h @@ -1,4 +1,4 @@ -/* $NetBSD: ispmbox.h,v 1.20 2000/01/06 02:59:43 mjacob Exp $ */ +/* $NetBSD: ispmbox.h,v 1.21 2000/02/12 02:26:26 mjacob Exp $ */ /* * Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration * All rights reserved. @@ -179,6 +179,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 */ @@ -491,6 +500,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 |
