Commit 03f43635 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

net/macb: add adapter symlink into sysfs attributes

parent de31450d
......@@ -1580,6 +1580,7 @@ static int __init macb_probe(struct platform_device *pdev)
rtdev_alloc_name(dev, "rteth%d");
rt_rtdev_connect(dev, &RTDEV_manager);
dev->vers = RTDEV_VERS_2_0;
dev->sysbind = &pdev->dev;
/* TODO: Actually, we have some interesting features... */
dev->features |= 0;
......
Markdown is supported
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