\hypertarget{mii_8c}{}\doxysection{dev/mii/mii.c File Reference}
\label{mii_8c}\index{dev/mii/mii.c@{dev/mii/mii.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/sbuf.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$dev/mii/mii.\+h$>$}\newline
{\ttfamily \#include $<$dev/mii/miivar.\+h$>$}\newline
{\ttfamily \#include \char`\"{}miibus\+\_\+if.\+h\char`\"{}}\newline
Include dependency graph for mii.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dc/da4/mii_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structmiibus__ivars}{miibus\+\_\+ivars}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{mii_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
\mbox{\hyperlink{mii_8c_a4e25aebe0fd394cc8749667c9701d52e}{MODULE\+\_\+\+VERSION}} (\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}, 1)
\item 
static unsigned char \mbox{\hyperlink{mii_8c_a8bef53fd0606c6f9d323350b5dcca2fb}{mii\+\_\+bitreverse}} (unsigned char x)
\item 
\mbox{\hyperlink{mii_8c_ab3bc056f693cade9a788e5da5281bdc4}{DEFINE\+\_\+\+CLASS\+\_\+0}} (\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}, miibus\+\_\+driver, \mbox{\hyperlink{mii_8c_a0d4a91cb96325b4be8b971762231541d}{miibus\+\_\+methods}}, sizeof(struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}}))
\item 
static int \mbox{\hyperlink{mii_8c_a9436f3bc639a5267c66fc48950a589c4}{miibus\+\_\+probe}} (device\+\_\+t dev)
\item 
int \mbox{\hyperlink{mii_8c_a22bf6891266deb99b2e5ab0b3ecd498f}{miibus\+\_\+attach}} (device\+\_\+t dev)
\item 
static int \mbox{\hyperlink{mii_8c_ae0164aee3478ffd1cc01b5123749e809}{miibus\+\_\+detach}} (device\+\_\+t dev)
\item 
static void \mbox{\hyperlink{mii_8c_a1e06358d1817364088471988de023d6d}{miibus\+\_\+child\+\_\+detached}} (device\+\_\+t dev, device\+\_\+t child)
\item 
static int \mbox{\hyperlink{mii_8c_a78cf1f12dedf7104345fa0fa93ea87ce}{miibus\+\_\+print\+\_\+child}} (device\+\_\+t dev, device\+\_\+t child)
\item 
static int \mbox{\hyperlink{mii_8c_a1d8a5e2526021993abfdf6586a2a4005}{miibus\+\_\+read\+\_\+ivar}} (device\+\_\+t dev, device\+\_\+t child \+\_\+\+\_\+unused, int which, uintptr\+\_\+t $\ast$result)
\item 
static int \mbox{\hyperlink{mii_8c_a6bba45fbe11cb8a8b8d7073ba821bc2c}{miibus\+\_\+child\+\_\+pnpinfo}} (device\+\_\+t dev \+\_\+\+\_\+unused, device\+\_\+t child, struct sbuf $\ast$sb)
\item 
static int \mbox{\hyperlink{mii_8c_a5120cf24e8e62589583106422e709bbc}{miibus\+\_\+child\+\_\+location}} (device\+\_\+t dev \+\_\+\+\_\+unused, device\+\_\+t child, struct sbuf $\ast$sb)
\item 
static void \mbox{\hyperlink{mii_8c_a437b60884323d9a22384d2081413141d}{miibus\+\_\+hinted\+\_\+child}} (device\+\_\+t dev, const char $\ast$name, int unit)
\item 
static int \mbox{\hyperlink{mii_8c_aef7bab952e34e5fa2fe3993018c25aec}{miibus\+\_\+readreg}} (device\+\_\+t dev, int \mbox{\hyperlink{miibus__if_8m_a5a9bb95881c089e261771c35775eeaf9}{phy}}, int \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}})
\item 
static int \mbox{\hyperlink{mii_8c_acdf7bfd4d11e63bf06372976dc0e8d12}{miibus\+\_\+writereg}} (device\+\_\+t dev, int \mbox{\hyperlink{miibus__if_8m_a5a9bb95881c089e261771c35775eeaf9}{phy}}, int \mbox{\hyperlink{miibus__if_8m_aa391927e06832c3d8d2f4e89a25cdd81}{reg}}, int data)
\item 
static void \mbox{\hyperlink{mii_8c_aa73a8673c8739d5b4c42fac54d9f613d}{miibus\+\_\+statchg}} (device\+\_\+t dev)
\item 
static void \mbox{\hyperlink{mii_8c_a2f21aba2f8370d9e2d1cd5b9c4951c3e}{miibus\+\_\+linkchg}} (device\+\_\+t dev)
\item 
static void \mbox{\hyperlink{mii_8c_afc26f1bbdf6067d151b65619c8de8a27}{miibus\+\_\+mediainit}} (device\+\_\+t dev)
\item 
int \mbox{\hyperlink{mii_8c_aca9c291ad148367e97a08482b4be7ea6}{mii\+\_\+attach}} (device\+\_\+t dev, device\+\_\+t $\ast$\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}, if\+\_\+t ifp, ifm\+\_\+change\+\_\+cb\+\_\+t ifmedia\+\_\+upd, ifm\+\_\+stat\+\_\+cb\+\_\+t ifmedia\+\_\+sts, int capmask, int phyloc, int offloc, int flags)
\item 
int \mbox{\hyperlink{mii_8c_a556e18d9289e86c55a22a3a1ab117b42}{mii\+\_\+mediachg}} (struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$mii)
\item 
void \mbox{\hyperlink{mii_8c_a9ecdc8aa29539ed560d38c711eca8675}{mii\+\_\+tick}} (struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$mii)
\item 
void \mbox{\hyperlink{mii_8c_a479476f1cf9ffb253f5a6fc27a6e2c6c}{mii\+\_\+pollstat}} (struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$mii)
\item 
u\+\_\+int \mbox{\hyperlink{mii_8c_aea230599998bb224418658c3c0a6b971}{mii\+\_\+oui}} (u\+\_\+int id1, u\+\_\+int id2)
\item 
int \mbox{\hyperlink{mii_8c_ac4650619d8f07f30d0442564588a76ce}{mii\+\_\+phy\+\_\+mac\+\_\+match}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$mii, const char $\ast$name)
\item 
int \mbox{\hyperlink{mii_8c_a35bcd1b02f42ca5891e8cb303f431285}{mii\+\_\+dev\+\_\+mac\+\_\+match}} (device\+\_\+t parent, const char $\ast$name)
\item 
void $\ast$ \mbox{\hyperlink{mii_8c_a5a224374581f86681a8f59a369f9c946}{mii\+\_\+phy\+\_\+mac\+\_\+softc}} (struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$mii)
\item 
void $\ast$ \mbox{\hyperlink{mii_8c_abdb005ec100e2c3be22e1b713627bfc6}{mii\+\_\+dev\+\_\+mac\+\_\+softc}} (device\+\_\+t parent)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static bus\+\_\+child\+\_\+detached\+\_\+t \mbox{\hyperlink{mii_8c_af487af2fe570d1eab2a80e5d53c115ae}{miibus\+\_\+child\+\_\+detached}}
\item 
static bus\+\_\+child\+\_\+location\+\_\+t \mbox{\hyperlink{mii_8c_ae5eec874d2bb21c16ee623380bb2ac78}{miibus\+\_\+child\+\_\+location}}
\item 
static bus\+\_\+child\+\_\+pnpinfo\+\_\+t \mbox{\hyperlink{mii_8c_ab7ac4d0cbb41dbbba2e855a646a61483}{miibus\+\_\+child\+\_\+pnpinfo}}
\item 
static device\+\_\+detach\+\_\+t \mbox{\hyperlink{mii_8c_a50f1f1712361a2c1bf79ac82d8cbddc3}{miibus\+\_\+detach}}
\item 
static bus\+\_\+hinted\+\_\+child\+\_\+t \mbox{\hyperlink{mii_8c_a56acca52084ecfc6d991caac176e53e1}{miibus\+\_\+hinted\+\_\+child}}
\item 
static bus\+\_\+print\+\_\+child\+\_\+t \mbox{\hyperlink{mii_8c_a7f6651c94b9a527d34d0ffed3bae5544}{miibus\+\_\+print\+\_\+child}}
\item 
static device\+\_\+probe\+\_\+t \mbox{\hyperlink{mii_8c_ab6589b7d65e4ac64c828b21ad108452b}{miibus\+\_\+probe}}
\item 
static bus\+\_\+read\+\_\+ivar\+\_\+t \mbox{\hyperlink{mii_8c_ab8fbec065db32f5a52d05770d60ab48c}{miibus\+\_\+read\+\_\+ivar}}
\item 
static miibus\+\_\+readreg\+\_\+t \mbox{\hyperlink{mii_8c_a743238b5a81de9e20971caac5263922e}{miibus\+\_\+readreg}}
\item 
static miibus\+\_\+statchg\+\_\+t \mbox{\hyperlink{mii_8c_a0a892c8fd1b93c9aeb06df8a83cb90b6}{miibus\+\_\+statchg}}
\item 
static miibus\+\_\+writereg\+\_\+t \mbox{\hyperlink{mii_8c_af83cc78433d3fa830fd382762633473d}{miibus\+\_\+writereg}}
\item 
static miibus\+\_\+linkchg\+\_\+t \mbox{\hyperlink{mii_8c_a568b6798831b69c45d7e266b40ae93a9}{miibus\+\_\+linkchg}}
\item 
static miibus\+\_\+mediainit\+\_\+t \mbox{\hyperlink{mii_8c_a22727964aea56d84c7acf6c4e9138b47}{miibus\+\_\+mediainit}}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{mii_8c_a0d4a91cb96325b4be8b971762231541d}{miibus\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
devclass\+\_\+t \mbox{\hyperlink{mii_8c_af181db0feb78dcfb1985ce68036224b1}{miibus\+\_\+devclass}}
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{mii_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{mii_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{mii.c@{mii.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{mii_8c_ab3bc056f693cade9a788e5da5281bdc4}\label{mii_8c_ab3bc056f693cade9a788e5da5281bdc4}} 
\index{mii.c@{mii.c}!DEFINE\_CLASS\_0@{DEFINE\_CLASS\_0}}
\index{DEFINE\_CLASS\_0@{DEFINE\_CLASS\_0}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{DEFINE\_CLASS\_0()}{DEFINE\_CLASS\_0()}}
{\footnotesize\ttfamily DEFINE\+\_\+\+CLASS\+\_\+0 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}}]{,  }\item[{miibus\+\_\+driver}]{,  }\item[{\mbox{\hyperlink{mii_8c_a0d4a91cb96325b4be8b971762231541d}{miibus\+\_\+methods}}}]{,  }\item[{sizeof(struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}})}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{mii_8c_aca9c291ad148367e97a08482b4be7ea6}\label{mii_8c_aca9c291ad148367e97a08482b4be7ea6}} 
\index{mii.c@{mii.c}!mii\_attach@{mii\_attach}}
\index{mii\_attach@{mii\_attach}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_attach()}{mii\_attach()}}
{\footnotesize\ttfamily int mii\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{device\+\_\+t $\ast$}]{miibus,  }\item[{if\+\_\+t}]{ifp,  }\item[{ifm\+\_\+change\+\_\+cb\+\_\+t}]{ifmedia\+\_\+upd,  }\item[{ifm\+\_\+stat\+\_\+cb\+\_\+t}]{ifmedia\+\_\+sts,  }\item[{int}]{capmask,  }\item[{int}]{phyloc,  }\item[{int}]{offloc,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00370}{370}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8h_source_l00078}{BMSR\+\_\+\+EXTSTAT}}, \mbox{\hyperlink{mii_8h_source_l00095}{BMSR\+\_\+\+MEDIAMASK}}, \mbox{\hyperlink{mii_8c_source_l00110}{miibus\+\_\+ivars\+::ifmedia\+\_\+sts}}, \mbox{\hyperlink{mii_8c_source_l00109}{miibus\+\_\+ivars\+::ifmedia\+\_\+upd}}, \mbox{\hyperlink{mii_8c_source_l00108}{miibus\+\_\+ivars\+::ifp}}, \mbox{\hyperlink{mii_8h_source_l00070}{MII\+\_\+\+BMSR}}, \mbox{\hyperlink{miivar_8h_source_l00216}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+capmask}}, \mbox{\hyperlink{miivar_8h_source_l00211}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+data}}, \mbox{\hyperlink{mii_8c_source_l00111}{miibus\+\_\+ivars\+::mii\+\_\+flags}}, \mbox{\hyperlink{miivar_8h_source_l00214}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id1}}, \mbox{\hyperlink{miivar_8h_source_l00215}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id2}}, \mbox{\hyperlink{mii_8h_source_l00041}{MII\+\_\+\+NPHY}}, \mbox{\hyperlink{mii_8c_source_l00112}{miibus\+\_\+ivars\+::mii\+\_\+offset}}, \mbox{\hyperlink{miivar_8h_source_l00213}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+offset}}, \mbox{\hyperlink{miivar_8h_source_l00168}{MII\+\_\+\+OFFSET\+\_\+\+ANY}}, \mbox{\hyperlink{miivar_8h_source_l00169}{MII\+\_\+\+PHY\+\_\+\+ANY}}, \mbox{\hyperlink{mii_8h_source_l00104}{MII\+\_\+\+PHYIDR1}}, \mbox{\hyperlink{mii_8h_source_l00106}{MII\+\_\+\+PHYIDR2}}, \mbox{\hyperlink{miivar_8h_source_l00212}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+phyno}}, \mbox{\hyperlink{miibus__if_8m_source_l00005}{miibus}}, and \mbox{\hyperlink{miibus__if_8m_source_l00012}{phy}}.

\mbox{\Hypertarget{mii_8c_a8bef53fd0606c6f9d323350b5dcca2fb}\label{mii_8c_a8bef53fd0606c6f9d323350b5dcca2fb}} 
\index{mii.c@{mii.c}!mii\_bitreverse@{mii\_bitreverse}}
\index{mii\_bitreverse@{mii\_bitreverse}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_bitreverse()}{mii\_bitreverse()}}
{\footnotesize\ttfamily static unsigned char mii\+\_\+bitreverse (\begin{DoxyParamCaption}\item[{unsigned char}]{x }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00627}{627}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



Referenced by \mbox{\hyperlink{mii_8c_source_l00637}{mii\+\_\+oui()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=256pt]{d3/d0b/mii_8c_a8bef53fd0606c6f9d323350b5dcca2fb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_a35bcd1b02f42ca5891e8cb303f431285}\label{mii_8c_a35bcd1b02f42ca5891e8cb303f431285}} 
\index{mii.c@{mii.c}!mii\_dev\_mac\_match@{mii\_dev\_mac\_match}}
\index{mii\_dev\_mac\_match@{mii\_dev\_mac\_match}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_dev\_mac\_match()}{mii\_dev\_mac\_match()}}
{\footnotesize\ttfamily int mii\+\_\+dev\+\_\+mac\+\_\+match (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{parent,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00657}{657}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



Referenced by \mbox{\hyperlink{brgphy_8c_source_l00214}{brgphy\+\_\+attach()}}, \mbox{\hyperlink{e1000phy_8c_source_l00134}{e1000phy\+\_\+attach()}}, \mbox{\hyperlink{ip1000phy_8c_source_l00107}{ip1000phy\+\_\+attach()}}, \mbox{\hyperlink{jmphy_8c_source_l00103}{jmphy\+\_\+attach()}}, \mbox{\hyperlink{rgephy_8c_source_l00117}{rgephy\+\_\+attach()}}, and \mbox{\hyperlink{rlphy_8c_source_l00111}{rlphy\+\_\+probe()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{d3/d0b/mii_8c_a35bcd1b02f42ca5891e8cb303f431285_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_abdb005ec100e2c3be22e1b713627bfc6}\label{mii_8c_abdb005ec100e2c3be22e1b713627bfc6}} 
\index{mii.c@{mii.c}!mii\_dev\_mac\_softc@{mii\_dev\_mac\_softc}}
\index{mii\_dev\_mac\_softc@{mii\_dev\_mac\_softc}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_dev\_mac\_softc()}{mii\_dev\_mac\_softc()}}
{\footnotesize\ttfamily void $\ast$ mii\+\_\+dev\+\_\+mac\+\_\+softc (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{parent }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00672}{672}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



Referenced by \mbox{\hyperlink{brgphy_8c_source_l00214}{brgphy\+\_\+attach()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{d3/d0b/mii_8c_abdb005ec100e2c3be22e1b713627bfc6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_a556e18d9289e86c55a22a3a1ab117b42}\label{mii_8c_a556e18d9289e86c55a22a3a1ab117b42}} 
\index{mii.c@{mii.c}!mii\_mediachg@{mii\_mediachg}}
\index{mii\_mediachg@{mii\_mediachg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_mediachg()}{mii\_mediachg()}}
{\footnotesize\ttfamily int mii\+\_\+mediachg (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$}]{mii }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00552}{552}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8h_source_l00058}{BMCR\+\_\+\+ISO}}, \mbox{\hyperlink{mii_8h_source_l00052}{MII\+\_\+\+BMCR}}, \mbox{\hyperlink{miivar_8h_source_l00104}{mii\+\_\+softc\+::mii\+\_\+dev}}, \mbox{\hyperlink{miivar_8h_source_l00121}{mii\+\_\+softc\+::mii\+\_\+flags}}, \mbox{\hyperlink{miivar_8h_source_l00114}{mii\+\_\+softc\+::mii\+\_\+inst}}, \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}, \mbox{\hyperlink{miivar_8h_source_l00078}{mii\+\_\+data\+::mii\+\_\+media\+\_\+active}}, \mbox{\hyperlink{miivar_8h_source_l00077}{mii\+\_\+data\+::mii\+\_\+media\+\_\+status}}, \mbox{\hyperlink{miivar_8h_source_l00095}{MII\+\_\+\+MEDIACHG}}, \mbox{\hyperlink{miivar_8h_source_l00134}{MIIF\+\_\+\+NOISOLATE}}, \mbox{\hyperlink{miivar_8h_source_l00239}{PHY\+\_\+\+READ}}, \mbox{\hyperlink{miivar_8h_source_l00245}{PHY\+\_\+\+SERVICE}}, and \mbox{\hyperlink{miivar_8h_source_l00242}{PHY\+\_\+\+WRITE}}.

\mbox{\Hypertarget{mii_8c_aea230599998bb224418658c3c0a6b971}\label{mii_8c_aea230599998bb224418658c3c0a6b971}} 
\index{mii.c@{mii.c}!mii\_oui@{mii\_oui}}
\index{mii\_oui@{mii\_oui}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_oui()}{mii\_oui()}}
{\footnotesize\ttfamily u\+\_\+int mii\+\_\+oui (\begin{DoxyParamCaption}\item[{u\+\_\+int}]{id1,  }\item[{u\+\_\+int}]{id2 }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00637}{637}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8c_source_l00627}{mii\+\_\+bitreverse()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=256pt]{d3/d0b/mii_8c_aea230599998bb224418658c3c0a6b971_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_ac4650619d8f07f30d0442564588a76ce}\label{mii_8c_ac4650619d8f07f30d0442564588a76ce}} 
\index{mii.c@{mii.c}!mii\_phy\_mac\_match@{mii\_phy\_mac\_match}}
\index{mii\_phy\_mac\_match@{mii\_phy\_mac\_match}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_phy\_mac\_match()}{mii\_phy\_mac\_match()}}
{\footnotesize\ttfamily int mii\+\_\+phy\+\_\+mac\+\_\+match (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{mii,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00649}{649}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00104}{mii\+\_\+softc\+::mii\+\_\+dev}}.



Referenced by \mbox{\hyperlink{brgphy_8c_source_l00937}{brgphy\+\_\+reset()}}, \mbox{\hyperlink{ciphy_8c_source_l00298}{ciphy\+\_\+fixup()}}, and \mbox{\hyperlink{nsphy_8c_source_l00140}{nsphy\+\_\+service()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d0b/mii_8c_ac4650619d8f07f30d0442564588a76ce_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_a5a224374581f86681a8f59a369f9c946}\label{mii_8c_a5a224374581f86681a8f59a369f9c946}} 
\index{mii.c@{mii.c}!mii\_phy\_mac\_softc@{mii\_phy\_mac\_softc}}
\index{mii\_phy\_mac\_softc@{mii\_phy\_mac\_softc}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_phy\_mac\_softc()}{mii\_phy\_mac\_softc()}}
{\footnotesize\ttfamily void $\ast$ mii\+\_\+phy\+\_\+mac\+\_\+softc (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__softc}{mii\+\_\+softc}} $\ast$}]{mii }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00665}{665}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00104}{mii\+\_\+softc\+::mii\+\_\+dev}}.



Referenced by \mbox{\hyperlink{brgphy_8c_source_l00937}{brgphy\+\_\+reset()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{d3/d0b/mii_8c_a5a224374581f86681a8f59a369f9c946_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mii_8c_a479476f1cf9ffb253f5a6fc27a6e2c6c}\label{mii_8c_a479476f1cf9ffb253f5a6fc27a6e2c6c}} 
\index{mii.c@{mii.c}!mii\_pollstat@{mii\_pollstat}}
\index{mii\_pollstat@{mii\_pollstat}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_pollstat()}{mii\_pollstat()}}
{\footnotesize\ttfamily void mii\+\_\+pollstat (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$}]{mii }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00608}{608}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00114}{mii\+\_\+softc\+::mii\+\_\+inst}}, \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}, \mbox{\hyperlink{miivar_8h_source_l00078}{mii\+\_\+data\+::mii\+\_\+media\+\_\+active}}, \mbox{\hyperlink{miivar_8h_source_l00077}{mii\+\_\+data\+::mii\+\_\+media\+\_\+status}}, \mbox{\hyperlink{miivar_8h_source_l00096}{MII\+\_\+\+POLLSTAT}}, and \mbox{\hyperlink{miivar_8h_source_l00245}{PHY\+\_\+\+SERVICE}}.

\mbox{\Hypertarget{mii_8c_a9ecdc8aa29539ed560d38c711eca8675}\label{mii_8c_a9ecdc8aa29539ed560d38c711eca8675}} 
\index{mii.c@{mii.c}!mii\_tick@{mii\_tick}}
\index{mii\_tick@{mii\_tick}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{mii\_tick()}{mii\_tick()}}
{\footnotesize\ttfamily void mii\+\_\+tick (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmii__data}{mii\+\_\+data}} $\ast$}]{mii }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00588}{588}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00114}{mii\+\_\+softc\+::mii\+\_\+inst}}, \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}, \mbox{\hyperlink{miivar_8h_source_l00094}{MII\+\_\+\+TICK}}, and \mbox{\hyperlink{miivar_8h_source_l00245}{PHY\+\_\+\+SERVICE}}.

\mbox{\Hypertarget{mii_8c_a22bf6891266deb99b2e5ab0b3ecd498f}\label{mii_8c_a22bf6891266deb99b2e5ab0b3ecd498f}} 
\index{mii.c@{mii.c}!miibus\_attach@{miibus\_attach}}
\index{miibus\_attach@{miibus\_attach}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_attach()}{miibus\_attach()}}
{\footnotesize\ttfamily int miibus\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mii_8c_source_l00125}{125}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8c_source_l00110}{miibus\+\_\+ivars\+::ifmedia\+\_\+sts}}, \mbox{\hyperlink{mii_8c_source_l00109}{miibus\+\_\+ivars\+::ifmedia\+\_\+upd}}, \mbox{\hyperlink{mii_8c_source_l00108}{miibus\+\_\+ivars\+::ifp}}, \mbox{\hyperlink{miivar_8h_source_l00211}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+data}}, \mbox{\hyperlink{miivar_8h_source_l00064}{mii\+\_\+data\+::mii\+\_\+ifp}}, and \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}.

\mbox{\Hypertarget{mii_8c_a1e06358d1817364088471988de023d6d}\label{mii_8c_a1e06358d1817364088471988de023d6d}} 
\index{mii.c@{mii.c}!miibus\_child\_detached@{miibus\_child\_detached}}
\index{miibus\_child\_detached@{miibus\_child\_detached}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_detached()}{miibus\_child\_detached()}}
{\footnotesize\ttfamily static void miibus\+\_\+child\+\_\+detached (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{device\+\_\+t}]{child }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00173}{173}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a5120cf24e8e62589583106422e709bbc}\label{mii_8c_a5120cf24e8e62589583106422e709bbc}} 
\index{mii.c@{mii.c}!miibus\_child\_location@{miibus\_child\_location}}
\index{miibus\_child\_location@{miibus\_child\_location}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_location()}{miibus\_child\_location()}}
{\footnotesize\ttfamily static int miibus\+\_\+child\+\_\+location (\begin{DoxyParamCaption}\item[{device\+\_\+t dev}]{\+\_\+\+\_\+unused,  }\item[{device\+\_\+t}]{child,  }\item[{struct sbuf $\ast$}]{sb }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00229}{229}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00212}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+phyno}}.

\mbox{\Hypertarget{mii_8c_a6bba45fbe11cb8a8b8d7073ba821bc2c}\label{mii_8c_a6bba45fbe11cb8a8b8d7073ba821bc2c}} 
\index{mii.c@{mii.c}!miibus\_child\_pnpinfo@{miibus\_child\_pnpinfo}}
\index{miibus\_child\_pnpinfo@{miibus\_child\_pnpinfo}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_pnpinfo()}{miibus\_child\_pnpinfo()}}
{\footnotesize\ttfamily static int miibus\+\_\+child\+\_\+pnpinfo (\begin{DoxyParamCaption}\item[{device\+\_\+t dev}]{\+\_\+\+\_\+unused,  }\item[{device\+\_\+t}]{child,  }\item[{struct sbuf $\ast$}]{sb }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00217}{217}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00214}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id1}}, \mbox{\hyperlink{miivar_8h_source_l00215}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id2}}, \mbox{\hyperlink{miivar_8h_source_l00308}{MII\+\_\+\+MODEL}}, \mbox{\hyperlink{miivar_8h_source_l00307}{MII\+\_\+\+OUI}}, and \mbox{\hyperlink{miivar_8h_source_l00309}{MII\+\_\+\+REV}}.

\mbox{\Hypertarget{mii_8c_ae0164aee3478ffd1cc01b5123749e809}\label{mii_8c_ae0164aee3478ffd1cc01b5123749e809}} 
\index{mii.c@{mii.c}!miibus\_detach@{miibus\_detach}}
\index{miibus\_detach@{miibus\_detach}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_detach()}{miibus\_detach()}}
{\footnotesize\ttfamily static int miibus\+\_\+detach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00157}{157}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00064}{mii\+\_\+data\+::mii\+\_\+ifp}}, and \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}.

\mbox{\Hypertarget{mii_8c_a437b60884323d9a22384d2081413141d}\label{mii_8c_a437b60884323d9a22384d2081413141d}} 
\index{mii.c@{mii.c}!miibus\_hinted\_child@{miibus\_hinted\_child}}
\index{miibus\_hinted\_child@{miibus\_hinted\_child}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_hinted\_child()}{miibus\_hinted\_child()}}
{\footnotesize\ttfamily static void miibus\+\_\+hinted\+\_\+child (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{const char $\ast$}]{name,  }\item[{int}]{unit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00239}{239}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8h_source_l00087}{BMSR\+\_\+\+DEFCAPMASK}}, \mbox{\hyperlink{miivar_8h_source_l00216}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+capmask}}, \mbox{\hyperlink{miivar_8h_source_l00214}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id1}}, \mbox{\hyperlink{miivar_8h_source_l00215}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+id2}}, \mbox{\hyperlink{mii_8c_source_l00112}{miibus\+\_\+ivars\+::mii\+\_\+offset}}, \mbox{\hyperlink{miivar_8h_source_l00213}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+offset}}, \mbox{\hyperlink{miivar_8h_source_l00212}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+phyno}}, \mbox{\hyperlink{miibus__if_8m_source_l00012}{phy}}, and \mbox{\hyperlink{miibus__if_8m_source_l00023}{val}}.

\mbox{\Hypertarget{mii_8c_a2f21aba2f8370d9e2d1cd5b9c4951c3e}\label{mii_8c_a2f21aba2f8370d9e2d1cd5b9c4951c3e}} 
\index{mii.c@{mii.c}!miibus\_linkchg@{miibus\_linkchg}}
\index{miibus\_linkchg@{miibus\_linkchg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_linkchg()}{miibus\_linkchg()}}
{\footnotesize\ttfamily static void miibus\+\_\+linkchg (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00324}{324}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00064}{mii\+\_\+data\+::mii\+\_\+ifp}}, and \mbox{\hyperlink{miivar_8h_source_l00077}{mii\+\_\+data\+::mii\+\_\+media\+\_\+status}}.

\mbox{\Hypertarget{mii_8c_afc26f1bbdf6067d151b65619c8de8a27}\label{mii_8c_afc26f1bbdf6067d151b65619c8de8a27}} 
\index{mii.c@{mii.c}!miibus\_mediainit@{miibus\_mediainit}}
\index{miibus\_mediainit@{miibus\_mediainit}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_mediainit()}{miibus\_mediainit()}}
{\footnotesize\ttfamily static void miibus\+\_\+mediainit (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00346}{346}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00063}{mii\+\_\+data\+::mii\+\_\+media}}.

\mbox{\Hypertarget{mii_8c_a78cf1f12dedf7104345fa0fa93ea87ce}\label{mii_8c_a78cf1f12dedf7104345fa0fa93ea87ce}} 
\index{mii.c@{mii.c}!miibus\_print\_child@{miibus\_print\_child}}
\index{miibus\_print\_child@{miibus\_print\_child}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_print\_child()}{miibus\_print\_child()}}
{\footnotesize\ttfamily static int miibus\+\_\+print\+\_\+child (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{device\+\_\+t}]{child }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00182}{182}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00212}{mii\+\_\+attach\+\_\+args\+::mii\+\_\+phyno}}.

\mbox{\Hypertarget{mii_8c_a9436f3bc639a5267c66fc48950a589c4}\label{mii_8c_a9436f3bc639a5267c66fc48950a589c4}} 
\index{mii.c@{mii.c}!miibus\_probe@{miibus\_probe}}
\index{miibus\_probe@{miibus\_probe}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_probe()}{miibus\_probe()}}
{\footnotesize\ttfamily static int miibus\+\_\+probe (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00116}{116}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a1d8a5e2526021993abfdf6586a2a4005}\label{mii_8c_a1d8a5e2526021993abfdf6586a2a4005}} 
\index{mii.c@{mii.c}!miibus\_read\_ivar@{miibus\_read\_ivar}}
\index{miibus\_read\_ivar@{miibus\_read\_ivar}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_read\_ivar()}{miibus\_read\_ivar()}}
{\footnotesize\ttfamily static int miibus\+\_\+read\+\_\+ivar (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{device\+\_\+t child}]{\+\_\+\+\_\+unused,  }\item[{int}]{which,  }\item[{uintptr\+\_\+t $\ast$}]{result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00196}{196}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{mii_8c_source_l00111}{miibus\+\_\+ivars\+::mii\+\_\+flags}}, and \mbox{\hyperlink{miivar_8h_source_l00255}{MIIBUS\+\_\+\+IVAR\+\_\+\+FLAGS}}.

\mbox{\Hypertarget{mii_8c_aef7bab952e34e5fa2fe3993018c25aec}\label{mii_8c_aef7bab952e34e5fa2fe3993018c25aec}} 
\index{mii.c@{mii.c}!miibus\_readreg@{miibus\_readreg}}
\index{miibus\_readreg@{miibus\_readreg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_readreg()}{miibus\_readreg()}}
{\footnotesize\ttfamily static int miibus\+\_\+readreg (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{int}]{phy,  }\item[{int}]{reg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00293}{293}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miibus__if_8m_source_l00012}{phy}}, and \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}.

\mbox{\Hypertarget{mii_8c_aa73a8673c8739d5b4c42fac54d9f613d}\label{mii_8c_aa73a8673c8739d5b4c42fac54d9f613d}} 
\index{mii.c@{mii.c}!miibus\_statchg@{miibus\_statchg}}
\index{miibus\_statchg@{miibus\_statchg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_statchg()}{miibus\_statchg()}}
{\footnotesize\ttfamily static void miibus\+\_\+statchg (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00311}{311}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miivar_8h_source_l00064}{mii\+\_\+data\+::mii\+\_\+ifp}}, and \mbox{\hyperlink{miivar_8h_source_l00078}{mii\+\_\+data\+::mii\+\_\+media\+\_\+active}}.

\mbox{\Hypertarget{mii_8c_acdf7bfd4d11e63bf06372976dc0e8d12}\label{mii_8c_acdf7bfd4d11e63bf06372976dc0e8d12}} 
\index{mii.c@{mii.c}!miibus\_writereg@{miibus\_writereg}}
\index{miibus\_writereg@{miibus\_writereg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_writereg()}{miibus\_writereg()}}
{\footnotesize\ttfamily static int miibus\+\_\+writereg (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{int}]{phy,  }\item[{int}]{reg,  }\item[{int}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00302}{302}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.



References \mbox{\hyperlink{miibus__if_8m_source_l00012}{phy}}, and \mbox{\hyperlink{miibus__if_8m_source_l00013}{reg}}.

\mbox{\Hypertarget{mii_8c_a4e25aebe0fd394cc8749667c9701d52e}\label{mii_8c_a4e25aebe0fd394cc8749667c9701d52e}} 
\index{mii.c@{mii.c}!MODULE\_VERSION@{MODULE\_VERSION}}
\index{MODULE\_VERSION@{MODULE\_VERSION}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_VERSION()}{MODULE\_VERSION()}}
{\footnotesize\ttfamily MODULE\+\_\+\+VERSION (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{miibus__if_8m_a4cbc1805319b363b9b338406a4b2a683}{miibus}}}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{mii_8c_af487af2fe570d1eab2a80e5d53c115ae}\label{mii_8c_af487af2fe570d1eab2a80e5d53c115ae}} 
\index{mii.c@{mii.c}!miibus\_child\_detached@{miibus\_child\_detached}}
\index{miibus\_child\_detached@{miibus\_child\_detached}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_detached}{miibus\_child\_detached}}
{\footnotesize\ttfamily bus\+\_\+child\+\_\+detached\+\_\+t miibus\+\_\+child\+\_\+detached\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00063}{63}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_ae5eec874d2bb21c16ee623380bb2ac78}\label{mii_8c_ae5eec874d2bb21c16ee623380bb2ac78}} 
\index{mii.c@{mii.c}!miibus\_child\_location@{miibus\_child\_location}}
\index{miibus\_child\_location@{miibus\_child\_location}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_location}{miibus\_child\_location}}
{\footnotesize\ttfamily bus\+\_\+child\+\_\+location\+\_\+t miibus\+\_\+child\+\_\+location\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00064}{64}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_ab7ac4d0cbb41dbbba2e855a646a61483}\label{mii_8c_ab7ac4d0cbb41dbbba2e855a646a61483}} 
\index{mii.c@{mii.c}!miibus\_child\_pnpinfo@{miibus\_child\_pnpinfo}}
\index{miibus\_child\_pnpinfo@{miibus\_child\_pnpinfo}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_child\_pnpinfo}{miibus\_child\_pnpinfo}}
{\footnotesize\ttfamily bus\+\_\+child\+\_\+pnpinfo\+\_\+t miibus\+\_\+child\+\_\+pnpinfo\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00065}{65}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a50f1f1712361a2c1bf79ac82d8cbddc3}\label{mii_8c_a50f1f1712361a2c1bf79ac82d8cbddc3}} 
\index{mii.c@{mii.c}!miibus\_detach@{miibus\_detach}}
\index{miibus\_detach@{miibus\_detach}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_detach}{miibus\_detach}}
{\footnotesize\ttfamily device\+\_\+detach\+\_\+t miibus\+\_\+detach\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00066}{66}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_af181db0feb78dcfb1985ce68036224b1}\label{mii_8c_af181db0feb78dcfb1985ce68036224b1}} 
\index{mii.c@{mii.c}!miibus\_devclass@{miibus\_devclass}}
\index{miibus\_devclass@{miibus\_devclass}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_devclass}{miibus\_devclass}}
{\footnotesize\ttfamily devclass\+\_\+t miibus\+\_\+devclass}



Definition at line \mbox{\hyperlink{mii_8c_source_l00104}{104}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a56acca52084ecfc6d991caac176e53e1}\label{mii_8c_a56acca52084ecfc6d991caac176e53e1}} 
\index{mii.c@{mii.c}!miibus\_hinted\_child@{miibus\_hinted\_child}}
\index{miibus\_hinted\_child@{miibus\_hinted\_child}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_hinted\_child}{miibus\_hinted\_child}}
{\footnotesize\ttfamily bus\+\_\+hinted\+\_\+child\+\_\+t miibus\+\_\+hinted\+\_\+child\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00067}{67}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a568b6798831b69c45d7e266b40ae93a9}\label{mii_8c_a568b6798831b69c45d7e266b40ae93a9}} 
\index{mii.c@{mii.c}!miibus\_linkchg@{miibus\_linkchg}}
\index{miibus\_linkchg@{miibus\_linkchg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_linkchg}{miibus\_linkchg}}
{\footnotesize\ttfamily miibus\+\_\+linkchg\+\_\+t miibus\+\_\+linkchg\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00074}{74}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a22727964aea56d84c7acf6c4e9138b47}\label{mii_8c_a22727964aea56d84c7acf6c4e9138b47}} 
\index{mii.c@{mii.c}!miibus\_mediainit@{miibus\_mediainit}}
\index{miibus\_mediainit@{miibus\_mediainit}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_mediainit}{miibus\_mediainit}}
{\footnotesize\ttfamily miibus\+\_\+mediainit\+\_\+t miibus\+\_\+mediainit\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00075}{75}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a0d4a91cb96325b4be8b971762231541d}\label{mii_8c_a0d4a91cb96325b4be8b971762231541d}} 
\index{mii.c@{mii.c}!miibus\_methods@{miibus\_methods}}
\index{miibus\_methods@{miibus\_methods}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_methods}{miibus\_methods}}
{\footnotesize\ttfamily device\+\_\+method\+\_\+t miibus\+\_\+methods\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(device\_probe,         \mbox{\hyperlink{mii_8c_ab6589b7d65e4ac64c828b21ad108452b}{miibus\_probe}}),}
\DoxyCodeLine{        DEVMETHOD(device\_attach,        \mbox{\hyperlink{mii_8c_a22bf6891266deb99b2e5ab0b3ecd498f}{miibus\_attach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_detach,        \mbox{\hyperlink{mii_8c_a50f1f1712361a2c1bf79ac82d8cbddc3}{miibus\_detach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_shutdown,      bus\_generic\_shutdown),}
\DoxyCodeLine{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(bus\_print\_child,      \mbox{\hyperlink{mii_8c_a7f6651c94b9a527d34d0ffed3bae5544}{miibus\_print\_child}}),}
\DoxyCodeLine{        DEVMETHOD(bus\_read\_ivar,        \mbox{\hyperlink{mii_8c_ab8fbec065db32f5a52d05770d60ab48c}{miibus\_read\_ivar}}),}
\DoxyCodeLine{        DEVMETHOD(bus\_child\_detached,   \mbox{\hyperlink{mii_8c_af487af2fe570d1eab2a80e5d53c115ae}{miibus\_child\_detached}}),}
\DoxyCodeLine{        DEVMETHOD(bus\_child\_pnpinfo,    \mbox{\hyperlink{mii_8c_ab7ac4d0cbb41dbbba2e855a646a61483}{miibus\_child\_pnpinfo}}),}
\DoxyCodeLine{        DEVMETHOD(bus\_child\_location,   \mbox{\hyperlink{mii_8c_ae5eec874d2bb21c16ee623380bb2ac78}{miibus\_child\_location}}),}
\DoxyCodeLine{        DEVMETHOD(bus\_hinted\_child,     \mbox{\hyperlink{mii_8c_a56acca52084ecfc6d991caac176e53e1}{miibus\_hinted\_child}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(\mbox{\hyperlink{mii_8c_a743238b5a81de9e20971caac5263922e}{miibus\_readreg}}, \mbox{\hyperlink{mii_8c_a743238b5a81de9e20971caac5263922e}{miibus\_readreg}}),}
\DoxyCodeLine{        DEVMETHOD(\mbox{\hyperlink{mii_8c_af83cc78433d3fa830fd382762633473d}{miibus\_writereg}},       \mbox{\hyperlink{mii_8c_af83cc78433d3fa830fd382762633473d}{miibus\_writereg}}),}
\DoxyCodeLine{        DEVMETHOD(\mbox{\hyperlink{mii_8c_a0a892c8fd1b93c9aeb06df8a83cb90b6}{miibus\_statchg}}, \mbox{\hyperlink{mii_8c_a0a892c8fd1b93c9aeb06df8a83cb90b6}{miibus\_statchg}}),}
\DoxyCodeLine{        DEVMETHOD(\mbox{\hyperlink{mii_8c_a568b6798831b69c45d7e266b40ae93a9}{miibus\_linkchg}}, \mbox{\hyperlink{mii_8c_a568b6798831b69c45d7e266b40ae93a9}{miibus\_linkchg}}),}
\DoxyCodeLine{        DEVMETHOD(\mbox{\hyperlink{mii_8c_a22727964aea56d84c7acf6c4e9138b47}{miibus\_mediainit}},     \mbox{\hyperlink{mii_8c_a22727964aea56d84c7acf6c4e9138b47}{miibus\_mediainit}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        DEVMETHOD\_END}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{mii_8c_source_l00079}{79}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a7f6651c94b9a527d34d0ffed3bae5544}\label{mii_8c_a7f6651c94b9a527d34d0ffed3bae5544}} 
\index{mii.c@{mii.c}!miibus\_print\_child@{miibus\_print\_child}}
\index{miibus\_print\_child@{miibus\_print\_child}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_print\_child}{miibus\_print\_child}}
{\footnotesize\ttfamily bus\+\_\+print\+\_\+child\+\_\+t miibus\+\_\+print\+\_\+child\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00068}{68}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_ab6589b7d65e4ac64c828b21ad108452b}\label{mii_8c_ab6589b7d65e4ac64c828b21ad108452b}} 
\index{mii.c@{mii.c}!miibus\_probe@{miibus\_probe}}
\index{miibus\_probe@{miibus\_probe}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_probe}{miibus\_probe}}
{\footnotesize\ttfamily device\+\_\+probe\+\_\+t miibus\+\_\+probe\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00069}{69}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_ab8fbec065db32f5a52d05770d60ab48c}\label{mii_8c_ab8fbec065db32f5a52d05770d60ab48c}} 
\index{mii.c@{mii.c}!miibus\_read\_ivar@{miibus\_read\_ivar}}
\index{miibus\_read\_ivar@{miibus\_read\_ivar}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_read\_ivar}{miibus\_read\_ivar}}
{\footnotesize\ttfamily bus\+\_\+read\+\_\+ivar\+\_\+t miibus\+\_\+read\+\_\+ivar\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00070}{70}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a743238b5a81de9e20971caac5263922e}\label{mii_8c_a743238b5a81de9e20971caac5263922e}} 
\index{mii.c@{mii.c}!miibus\_readreg@{miibus\_readreg}}
\index{miibus\_readreg@{miibus\_readreg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_readreg}{miibus\_readreg}}
{\footnotesize\ttfamily miibus\+\_\+readreg\+\_\+t miibus\+\_\+readreg\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00071}{71}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_a0a892c8fd1b93c9aeb06df8a83cb90b6}\label{mii_8c_a0a892c8fd1b93c9aeb06df8a83cb90b6}} 
\index{mii.c@{mii.c}!miibus\_statchg@{miibus\_statchg}}
\index{miibus\_statchg@{miibus\_statchg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_statchg}{miibus\_statchg}}
{\footnotesize\ttfamily miibus\+\_\+statchg\+\_\+t miibus\+\_\+statchg\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00072}{72}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

\mbox{\Hypertarget{mii_8c_af83cc78433d3fa830fd382762633473d}\label{mii_8c_af83cc78433d3fa830fd382762633473d}} 
\index{mii.c@{mii.c}!miibus\_writereg@{miibus\_writereg}}
\index{miibus\_writereg@{miibus\_writereg}!mii.c@{mii.c}}
\doxysubsubsection{\texorpdfstring{miibus\_writereg}{miibus\_writereg}}
{\footnotesize\ttfamily miibus\+\_\+writereg\+\_\+t miibus\+\_\+writereg\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{mii_8c_source_l00073}{73}} of file \mbox{\hyperlink{mii_8c_source}{mii.\+c}}.

