summaryrefslogtreecommitdiff
path: root/sys/dev/mii/miivar.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2003-10-13 16:18:57 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2003-10-13 16:18:57 +0000
commit2242ccdba4ddf9a4ac38f014cf5f6cfd16e6caae (patch)
tree257dfeb52de602f58580dd9eefd677198dbce639 /sys/dev/mii/miivar.h
parent64df0a716a492227ca9025233e548c2c5d7c14a8 (diff)
Bring bge and brgphy more up to date with changes from FreeBSD and NetBSD.
Some bug fixes, support for new hardware like the 5704 and 5705. Testing by deraadt@, danh@, and drahn@ amoung others. ok deraadt@.
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r--sys/dev/mii/miivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h
index 731760c5f8e..5fd2b94469d 100644
--- a/sys/dev/mii/miivar.h
+++ b/sys/dev/mii/miivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: miivar.h,v 1.16 2003/09/26 21:43:31 miod Exp $ */
+/* $OpenBSD: miivar.h,v 1.17 2003/10/13 16:18:56 krw Exp $ */
/* $NetBSD: miivar.h,v 1.17 2000/03/06 20:56:57 thorpej Exp $ */
/*-
@@ -129,6 +129,8 @@ struct mii_softc {
LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */
int mii_phy; /* our MII address */
+ int mii_model; /* MII_MODEL(ma->mii_id2) */
+ int mii_rev; /* MII_REV(ma->mii_id2) */
int mii_offset; /* first PHY, second PHY, etc. */
int mii_inst; /* instance for ifmedia */