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

net/natsemi: add adapter symlink into sysfs attributes

parent 03f43635
...@@ -787,6 +787,7 @@ static int natsemi_probe1 (struct pci_dev *pdev, ...@@ -787,6 +787,7 @@ static int natsemi_probe1 (struct pci_dev *pdev,
rtdev_alloc_name(dev, "rteth%d"); rtdev_alloc_name(dev, "rteth%d");
rt_rtdev_connect(dev, &RTDEV_manager); rt_rtdev_connect(dev, &RTDEV_manager);
dev->vers = RTDEV_VERS_2_0; dev->vers = RTDEV_VERS_2_0;
dev->sysbind = &pdev->dev;
/*** RTnet ***/ /*** RTnet ***/
i = pci_request_regions(pdev, dev->name); i = pci_request_regions(pdev, dev->name);
......
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