diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-11-08 03:11:17 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-11-08 03:11:17 +0000 |
commit | e2bbd445bdc2b141c52e1c8e51c0e41f4031178c (patch) | |
tree | 61e57d1cce296f794fa260e0f9e2c73810833909 /sys | |
parent | 3129d31703c65e585169a720c03ce855777329c6 (diff) |
Add a softc field mii_oui to store the OUI.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/miivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index 20eef009040..06603958673 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: miivar.h,v 1.28 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: miivar.h,v 1.29 2008/11/08 03:11:16 brad Exp $ */ /* $NetBSD: miivar.h,v 1.17 2000/03/06 20:56:57 thorpej Exp $ */ /*- @@ -112,6 +112,7 @@ struct mii_softc { LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */ int mii_phy; /* our MII address */ + int mii_oui; /* MII_OUI(ma->mii_id1, ma->mii_id2) */ int mii_model; /* MII_MODEL(ma->mii_id2) */ int mii_rev; /* MII_REV(ma->mii_id2) */ int mii_offset; /* first PHY, second PHY, etc. */ |