rgmii_detach
rgmii_detach(dev->rgmii_dev, dev->rgmii_port);
void rgmii_detach(struct platform_device *ofdev, int input);