Commit de31450d authored by Philippe Gerum's avatar Philippe Gerum
Browse files

net/fec: add adapter symlink into sysfs attributes

parent 1dd703e7
......@@ -1643,6 +1643,7 @@ static int fec_probe(struct platform_device *pdev)
rtdev_alloc_name(ndev, "rteth%d");
rt_rtdev_connect(ndev, &RTDEV_manager);
ndev->vers = RTDEV_VERS_2_0;
ndev->sysbind = &pdev->dev;
/* setup board info structure */
fep = rtnetdev_priv(ndev);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment