diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-09-30 14:51:44 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-09-30 14:51:44 +0000 |
commit | 08576af02f4d272ea63cb215ae44ad888f84dbb4 (patch) | |
tree | c991f6aa1fe96286abf5068417e0462ee34307a2 /sys/dev/mii/miivar.h | |
parent | a1039f82ae1f7b7f19a0c4a442ac56b037035cea (diff) |
Add a more generic version of the mii_phy_match routine (mii_phy_match_gen)
which can be used for phy that want to piggy back other data with their
table.
Notes
Notes:
svn path=/head/; revision=150756
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r-- | sys/dev/mii/miivar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index f1d16f705a88..a1017a0b4f79 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -220,7 +220,10 @@ void mii_phy_setmedia(struct mii_softc *sc); void mii_phy_update(struct mii_softc *, int); int mii_phy_tick(struct mii_softc *); -const struct mii_phydesc * mii_phy_match(const struct mii_attach_args *ma, const struct mii_phydesc *mpd); +const struct mii_phydesc * mii_phy_match(const struct mii_attach_args *ma, + const struct mii_phydesc *mpd); +const struct mii_phydesc * mii_phy_match_gen(const struct mii_attach_args *ma, + const struct mii_phydesc *mpd, size_t endlen); void ukphy_status(struct mii_softc *); #endif /* _KERNEL */ |