summaryrefslogtreecommitdiffstats
path: root/sys/dev/en/midwayvar.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-08-05 13:39:36 +0000
committerharti <harti@FreeBSD.org>2003-08-05 13:39:36 +0000
commit22492bf3763e945fb1f4396d2a49500724e707aa (patch)
tree6f531966414e9f7281085aee69a2a451d5b5e8e2 /sys/dev/en/midwayvar.h
parent6750c552fbd053be3a5d71013df548cb5a4796c7 (diff)
downloadFreeBSD-src-22492bf3763e945fb1f4396d2a49500724e707aa.zip
FreeBSD-src-22492bf3763e945fb1f4396d2a49500724e707aa.tar.gz
Implement the ATMIOCOPENVCC and ATMIOCCLOSEVCC ioctls(). This was the
last driver that did not know about those.
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 f95414c..78ed634 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;
OpenPOWER on IntegriCloud