hinic: Link the logical network device to the pci device in sysfs
authordann frazier <dann.frazier@canonical.com>
Mon, 23 Jul 2018 22:55:40 +0000 (16:55 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 20:54:52 +0000 (13:54 -0700)
commit7856e8616273098dc6c09a6e084afd98a283ff0d
tree4ed75daa741d416e62564992614e6d3de70fd908
parentecbc42ca5d665e9238a4cdb595024d2e6cf87f2d
hinic: Link the logical network device to the pci device in sysfs

Otherwise interfaces get exposed under /sys/devices/virtual, which
doesn't give udev the context it needs for PCI-based predictable
interface names.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_main.c