Add mii_mpd_rev to keep MII PHY revision.

This commit is contained in:
msaitoh 2009-04-19 10:47:48 +00:00
parent ed6e698500
commit 559b0165b6
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: miivar.h,v 1.53 2009/01/16 20:51:18 cegger Exp $ */
/* $NetBSD: miivar.h,v 1.54 2009/04/19 10:47:48 msaitoh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -110,7 +110,8 @@ struct mii_softc {
LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */
u_int32_t mii_mpd_model; /* the PHY's model (MII_MODEL())*/
uint32_t mii_mpd_model; /* the PHY's model (MII_MODEL())*/
uint32_t mii_mpd_rev; /* the PHY's revision (MII_REV())*/
int mii_phy; /* our MII address */
int mii_offset; /* first PHY, second PHY, etc. */
u_int mii_inst; /* instance for ifmedia */