summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-06-16 04:52:53 +0000
committermjacob <mjacob@FreeBSD.org>2002-06-16 04:52:53 +0000
commitbcf9304591298c524b3cc7c441c040d3a3db97f2 (patch)
tree3fa456b0b2a01cd41549c40c6e6efa65378416df /sys/dev/isp
parent63d8853dda2ea433af6527a4cb8d35284f7ddc26 (diff)
downloadFreeBSD-src-bcf9304591298c524b3cc7c441c040d3a3db97f2.zip
FreeBSD-src-bcf9304591298c524b3cc7c441c040d3a3db97f2.tar.gz
Roll minor version. Add ISPASYNC_FW_RESTARTED async event. Add
DEFAULT_FRAMESIZE && DEFAULT_EXEC_THROTTLE references. MFC after: 1 week
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/ispvar.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index 982bb2e..043768d 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -54,7 +54,7 @@
#endif
#define ISP_CORE_VERSION_MAJOR 2
-#define ISP_CORE_VERSION_MINOR 6
+#define ISP_CORE_VERSION_MINOR 7
/*
* Vector for bus specific code to provide specific services.
@@ -287,10 +287,11 @@ typedef struct {
struct lportdb {
u_int32_t
port_type : 8,
- : 4,
- fc4_type : 4,
loopid : 8,
+ fc4_type : 4,
last_fabric_dev : 1,
+ : 2,
+ relogin : 1,
force_logout : 1,
was_fabric_dev : 1,
fabric_dev : 1,
@@ -458,6 +459,9 @@ typedef struct ispsoftc {
#define ISP_CFG_LPORT_ONLY 0x0C /* insist on {N/F}L-Port connection */
#define ISP_CFG_OWNWWPN 0x100 /* override NVRAM wwpn */
#define ISP_CFG_OWNWWNN 0x200 /* override NVRAM wwnn */
+#define ISP_CFG_OWNFSZ 0x400 /* override NVRAM frame size */
+#define ISP_CFG_OWNLOOPID 0x800 /* override NVRAM loopid */
+#define ISP_CFG_OWNEXCTHROTTLE 0x1000 /* override NVRAM execution throttle */
/*
* Prior to calling isp_reset for the first time, the outer layer
@@ -723,7 +727,8 @@ typedef enum {
ISPASYNC_TARGET_ACTION, /* other target command action */
ISPASYNC_CONF_CHANGE, /* Platform Configuration Change */
ISPASYNC_UNHANDLED_RESPONSE, /* Unhandled Response Entry */
- ISPASYNC_FW_CRASH /* Firmware has crashed */
+ ISPASYNC_FW_CRASH, /* Firmware has crashed */
+ ISPASYNC_FW_RESTARTED /* Firmware has been restarted */
} ispasync_t;
int isp_async(struct ispsoftc *, ispasync_t, void *);
@@ -852,6 +857,8 @@ void isp_prt(struct ispsoftc *, int level, const char *, ...);
* DEFAULT_LOOPID(struct ispsoftc *) Default FC Loop ID
* DEFAULT_NODEWWN(struct ispsoftc *) Default Node WWN
* DEFAULT_PORTWWN(struct ispsoftc *) Default Port WWN
+ * DEFAULT_FRAMESIZE(struct ispsoftc *) Default Frame Size
+ * DEFAULT_EXEC_THROTTLE(struct ispsoftc *) Default Execution Throttle
* These establish reasonable defaults for each platform.
* These must be available independent of card NVRAM and are
* to be used should NVRAM not be readable.
OpenPOWER on IntegriCloud