]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: aquantia: Cleanup pci functions module
authorIgor Russkikh <igor.russkikh@aquantia.com>
Thu, 29 Mar 2018 10:06:29 +0000 (18:06 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 29 Mar 2018 12:57:03 +0000 (07:57 -0500)
commit015e2f7cc1500439819a035d4d93116794bb94f5
tree2f737b435288aae4ec44a0d1902df6d6c31faab1
parent717e5b6c2b90a02de6d7e9f4ed8a4e306def51bc
net: aquantia: Cleanup pci functions module

BugLink: https://bugs.launchpad.net/bugs/1759303
Driver contained a dead code of maintaining multiple pci port instances.
That will never be used since for each pci function a separate NIC
instance is created.
Simplify this, making pci module only responsible for pci resource
management.
NIC initialization is also simplified accordingly.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 23ee07ad3c2fd5adf6e9ef21afb9aec489dc3b4e)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/aquantia/atlantic/aq_hw.h
drivers/net/ethernet/aquantia/atlantic/aq_main.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.h
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c