]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hinic: Link the logical network device to the pci device in sysfs
authordann frazier <dann.frazier@canonical.com>
Tue, 31 Jul 2018 19:41:55 +0000 (13:41 -0600)
committerKamal Mostafa <kamal@canonical.com>
Wed, 22 Aug 2018 20:41:24 +0000 (13:41 -0700)
commitc9c67fc1d0d7492f3b45f21e3133b237d77a5282
treeae7a7e8c484913fb8505b193514abe52059d6538
parent771bd0600447fd183f29495c9ee3a0b9784f552a
hinic: Link the logical network device to the pci device in sysfs

BugLink: https://bugs.launchpad.net/bugs/1783138
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>
(cherry picked from commit 7856e8616273098dc6c09a6e084afd98a283ff0d)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/huawei/hinic/hinic_main.c