diff options
author | harti <harti@FreeBSD.org> | 2003-05-05 16:35:52 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-05-05 16:35:52 +0000 |
commit | 4d2e2437c20e62618ad0958e7ab0502c29c759e0 (patch) | |
tree | 07086a2f5c777d2ccea4d0bdcec8c1f59fb51973 /sys/dev/en/midwayvar.h | |
parent | 1e484c95bf637cabbbb0bc1ff304f68bdb653f82 (diff) | |
download | FreeBSD-src-4d2e2437c20e62618ad0958e7ab0502c29c759e0.zip FreeBSD-src-4d2e2437c20e62618ad0958e7ab0502c29c759e0.tar.gz |
Define a link layer MIB for ATM. Most fields of this MIB are needed by
ILMI daemons. Factor out common softc fields for all ATM interfaces that
need to be externally visible into an ifatm structure and make the midway
driver using this structure and fill the MIB.
Diffstat (limited to 'sys/dev/en/midwayvar.h')
-rw-r--r-- | sys/dev/en/midwayvar.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/en/midwayvar.h b/sys/dev/en/midwayvar.h index 8942fd9..7b29f52 100644 --- a/sys/dev/en/midwayvar.h +++ b/sys/dev/en/midwayvar.h @@ -142,7 +142,7 @@ struct en_rxslot { */ struct en_softc { /* bsd glue */ - struct ifnet enif; /* network ifnet handle */ + struct ifatm ifatm; /* ATM network ifnet handle */ device_t dev; /* bus glue */ @@ -211,10 +211,6 @@ struct en_softc { /* memory zones */ uma_zone_t map_zone; - /* board info */ - uint8_t macaddr[6]; - uint32_t serial; - #ifdef EN_DEBUG /* debugging */ u_int debug; |