From f9333504551ea6c9c8ebfa506690bce8d9eada77 Mon Sep 17 00:00:00 2001 From: mjacob Date: Thu, 6 Apr 2000 05:47:00 +0000 Subject: [PATCH] Roll internal revision level. Put in Fibre Channel topology storage and definitions. --- sys/dev/ic/ispvar.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/ispvar.h b/sys/dev/ic/ispvar.h index c8b087b1690..09043ba3b11 100644 --- a/sys/dev/ic/ispvar.h +++ b/sys/dev/ic/ispvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ispvar.h,v 1.9 2000/02/20 21:22:41 mjacob Exp $ */ +/* $OpenBSD: ispvar.h,v 1.10 2000/04/06 05:47:00 mjacob Exp $ */ /* * Soft Definitions for for Qlogic ISP SCSI adapters. * @@ -59,7 +59,7 @@ #endif #define ISP_CORE_VERSION_MAJOR 1 -#define ISP_CORE_VERSION_MINOR 12 +#define ISP_CORE_VERSION_MINOR 13 /* * Vector for bus specific code to provide specific services. @@ -231,11 +231,12 @@ typedef struct { typedef struct { u_int32_t isp_fwoptions : 16, - : 7, + : 4, loop_seen_once : 1, isp_loopstate : 3, /* Current Loop State */ isp_fwstate : 3, /* ISP F/W state */ isp_gotdparms : 1, + isp_topo : 3, isp_onfabric : 1; u_int8_t isp_loopid; /* hard loop id */ u_int8_t isp_alpa; /* ALPA */ @@ -291,6 +292,12 @@ typedef struct { #define LOOP_PDB_RCVD 2 #define LOOP_READY 7 +#define TOPO_NL_PORT 0 +#define TOPO_FL_PORT 1 +#define TOPO_N_PORT 2 +#define TOPO_F_PORT 3 +#define TOPO_PTP_STUB 4 + /* * Soft Structure per host adapter */ -- 2.20.1