Commit 5ea484a8 authored by Santiago Leon's avatar Santiago Leon Committed by Linus Torvalds

[PATCH] PowerPC Virtual Ethernet links to /sys/class/net/ethX

This adds links to the driver and device inside /sys/class/net/ethX for
PowerPC Virtual Ethernet devices.
parent 49ac9cc3
......@@ -935,6 +935,7 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, const struct vio_device_
netdev->do_ioctl = ibmveth_ioctl;
netdev->ethtool_ops = &netdev_ethtool_ops;
netdev->change_mtu = ibmveth_change_mtu;
SET_NETDEV_DEV(netdev, &dev->dev);
memcpy(&netdev->dev_addr, &adapter->mac_addr, netdev->addr_len);
......
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