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

net/tulip: add adapter symlink into sysfs attributes

parent a0bb1568
......@@ -959,6 +959,7 @@ static int tulip_init_one (struct pci_dev *pdev,
//rtdev_alloc_name(rtdev, "eth%d");//Done by register_rtdev()
rt_rtdev_connect(rtdev, &RTDEV_manager);
rtdev->vers = RTDEV_VERS_2_0;
rtdev->sysbind = &pdev->dev;
if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) {
printk(KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, "
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