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

net/pcnet32: add adapter symlink into sysfs attributes

parent c2736a08
......@@ -644,6 +644,7 @@ static int pcnet32_probe1(unsigned long ioaddr, unsigned int irq_line, int share
rtdev_alloc_name(dev, "rteth%d");
rt_rtdev_connect(dev, &RTDEV_manager);
dev->vers = RTDEV_VERS_2_0;
dev->sysbind = &pdev->dev;
/*** RTnet ***/
printk(KERN_INFO PFX "%s at %#3lx,", chipname, ioaddr);
......
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