Commit 630158df authored by Philippe Gerum's avatar Philippe Gerum
Browse files

net/igb: add adapter symlink into sysfs attributes

parent 20818d45
......@@ -2045,6 +2045,7 @@ static int igb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
rt_rtdev_connect(netdev, &RTDEV_manager);
netdev->vers = RTDEV_VERS_2_0;
netdev->sysbind = &pdev->dev;
pci_set_drvdata(pdev, netdev);
adapter = rtnetdev_priv(netdev);
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