u32 flags, phy_interface_t interface)
{
struct device *d = &phydev->dev;
u32 flags, phy_interface_t interface)
{
struct device *d = &phydev->dev;
/* Assume that if there is no driver, that it doesn't
* exist, and we should use the genphy driver. */
if (NULL == d->driver) {
/* Assume that if there is no driver, that it doesn't
* exist, and we should use the genphy driver. */
if (NULL == d->driver) {
/* Do initial configuration here, now that
* we have certain key parameters
* (dev_flags and interface) */
/* Do initial configuration here, now that
* we have certain key parameters
* (dev_flags and interface) */
* @phydev: target phy_device struct
*
* Description: Writes MII_ADVERTISE with the appropriate values,
* @phydev: target phy_device struct
*
* Description: Writes MII_ADVERTISE with the appropriate values,
* begin with? Or maybe phy was isolated? */
int ctl = phy_read(phydev, MII_BMCR);
* begin with? Or maybe phy was isolated? */
int ctl = phy_read(phydev, MII_BMCR);