]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: aquantia: Simplify dependencies between pci modules
authorIgor Russkikh <igor.russkikh@aquantia.com>
Thu, 29 Mar 2018 10:06:21 +0000 (18:06 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 29 Mar 2018 12:57:03 +0000 (07:57 -0500)
commit32b96adf901a13e957a95da174a439a9386da0f3
treec133c06a7c871a67e6eac5a29115d9946412d9d1
parent44909717141c8c72722a333133788c8cd12c4a78
net: aquantia: Simplify dependencies between pci modules

BugLink: https://bugs.launchpad.net/bugs/1759303
Eliminate useless passing of net_device_ops and ethtools_ops through
deep chain of calls.
Move all pci related code into aq_pci_func module.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 5b97b0d10eddeeec258b807f009a2cb2764653c7)
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_main.c
drivers/net/ethernet/aquantia/atlantic/aq_main.h
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