From e2bbd445bdc2b141c52e1c8e51c0e41f4031178c Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 8 Nov 2008 03:11:17 +0000 Subject: Add a softc field mii_oui to store the OUI. --- sys/dev/mii/miivar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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. */ -- cgit v1.2.3