/* @dev: Device to change @rq: the request @cmd: the command Returns Zero on success  */
int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
/* @dev: Device to change @rq: the request @cmd: the command Returns Zero on success  */
int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
{
	struct octeon_ethernet *priv = netdev_priv(dev);
	if (!netif_running(dev))
		return -EINVAL;
	if (!priv->phydev)
		return -EINVAL;
	return phy_mii_ioctl(priv->phydev, if_mii(rq), cmd);
}