summaryrefslogtreecommitdiff
path: root/sys/dev/en/midwayvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/en/midwayvar.h')
-rw-r--r--sys/dev/en/midwayvar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/en/midwayvar.h b/sys/dev/en/midwayvar.h
index f95414c895fd..78ed63482641 100644
--- a/sys/dev/en/midwayvar.h
+++ b/sys/dev/en/midwayvar.h
@@ -148,6 +148,8 @@ struct en_vcc {
};
#define VCC_DRAIN 0x0001 /* closed, but draining rx */
#define VCC_SWSL 0x0002 /* on rx software service list */
+#define VCC_CLOSE_RX 0x0004 /* currently closing */
+#define VCC_ASYNC 0x0008 /* async close */
/*
* softc
@@ -195,6 +197,7 @@ struct en_softc {
/* vccs */
struct en_vcc **vccs;
u_int vccs_open;
+ struct cv cv_close; /* close CV */
/* stats */
struct en_stats stats;