mii_mode
int mii_mode;
config->mii_mode = 1; /* 1=MII mode, 0=i82503 mode */
/*8*/ u8 X(X(mii_mode:1, pad8:6), csma_disabled:1);
switch (priv->pldata->mii_mode) {
priv->pldata->mii_mode);
<q_etop_mdio_link, priv->pldata->mii_mode);
int mii_mode;
mii_mode = MII_CFG1_MII_MODE;
mii_mode = MII_CFG1_REVMII_MODE;
mii_mode = MII_CFG1_RMII_MODE_REFCLK_IN;
mii_mode = MII_CFG1_RMII_MODE_REFCLK_OUT;
return mii_mode;
if ((pegasus->features & HAS_HOME_PNA) && mii_mode)
if (pegasus->features & HAS_HOME_PNA && mii_mode)
if (mii_mode && (pegasus->features & HAS_HOME_PNA))
static bool mii_mode;
if (mii_mode)
module_param(mii_mode, bool, 0);
MODULE_PARM_DESC(mii_mode, "Enable HomePNA mode (bit 0),default=MII mode = 0");