summaryrefslogtreecommitdiffstats
path: root/sys/netatm
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-10-01 22:04:31 +0000
committermdodd <mdodd@FreeBSD.org>2002-10-01 22:04:31 +0000
commit4f0de203e7e0e751f97ca6df568525dfa72697cd (patch)
treeb2939f98b56d82734e98808b1bbf8520059cf333 /sys/netatm
parent912eab446573796044de866095ea99a8fe3af29a (diff)
downloadFreeBSD-src-4f0de203e7e0e751f97ca6df568525dfa72697cd.zip
FreeBSD-src-4f0de203e7e0e751f97ca6df568525dfa72697cd.tar.gz
Add a field to struct cmn_unit to hold a pointer to the driver's softc.
Diffstat (limited to 'sys/netatm')
-rw-r--r--sys/netatm/atm_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netatm/atm_if.h b/sys/netatm/atm_if.h
index 4052f4b..f0cfbe7 100644
--- a/sys/netatm/atm_if.h
+++ b/sys/netatm/atm_if.h
@@ -279,6 +279,8 @@ struct cmn_unit {
(struct cmn_unit *, Cmn_vcc *, KBuffer *);
Atm_config cu_config; /* Device configuration data */
+
+ void * cu_softc; /* pointer to driver state */
};
typedef struct cmn_unit Cmn_unit;
OpenPOWER on IntegriCloud