diff options
author | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch) | |
tree | a4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/dev/mii/miivar.h | |
parent | e814d2a0db522b0f163eef55a56d05aa226951f3 (diff) | |
download | FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r-- | sys/dev/mii/miivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index 4a68b9c..cd47d2d 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -74,7 +74,7 @@ struct mii_data { * PHYs is required so they can all be notified when a media * request is made. */ - LIST_HEAD(mii_listhead, mii_softc) mii_phys; + LIST_HEAD(mii_listhead, struct mii_softc) mii_phys; int mii_instance; /* @@ -113,7 +113,7 @@ typedef int (*mii_downcall_t) __P((struct mii_softc *, struct mii_data *, int)); struct mii_softc { device_t mii_dev; /* generic device glue */ - LIST_ENTRY(mii_softc) mii_list; /* entry on parent's PHY list */ + LIST_ENTRY(struct mii_softc) mii_list; /* entry on parent's PHY list */ int mii_phy; /* our MII address */ int mii_inst; /* instance for ifmedia */ |