From: Igor Russkikh Subject: [PATCH net-next 00/11] Aquantia atlantic driver new devices support Date: Fri, 19 Jan 2018 17:03:17 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Cc: netdev@vger.kernel.org, David Arcari , Pavel Belous , Igor Russkikh To: "David S . Miller" Return-path: Received: from mail-dm3nam03on0083.outbound.protection.outlook.com ([104.47.41.83]:50544 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754809AbeASOUS (ORCPT ); Fri, 19 Jan 2018 09:20:18 -0500 Sender: netdev-owner@vger.kernel.org List-ID: This patchset introduces a support for new Aquantia hardware: AQC11x family with updated hardware (B1) and firmware (2.x and 3.x branches). For that, a number of improvements in overall driver model were done: - Firmware specific ops tables. Firmware 2.x and 3.x series support functions are now in separate fw2x module. - PCI module cleanup and simplification done. - Verified and tested hardware reset process. Igor Russkikh (11): net: aquantia: Introduce new device ids and constants net: aquantia: Introduce new AQC devices and capabilities net: aquantia: Convert hw and caps structures to const static pointers net: aquantia: Cleanup pci functions module net: aquantia: Remove create/destroy from hw ops net: aquantia: Change confusing no_ff_addr to more meaningful name net: aquantia: Introduce firmware ops callbacks net: aquantia: Introduce support for new firmware on AQC cards net: aquantia: Introduce global AQC hardware reset sequence net: aquantia: Report correct mediatype via ethtool net: aquantia: bump driver version to match aquantia internal numbering drivers/net/ethernet/aquantia/atlantic/Makefile | 1 + drivers/net/ethernet/aquantia/atlantic/aq_cfg.h | 8 +- drivers/net/ethernet/aquantia/atlantic/aq_common.h | 38 ++ drivers/net/ethernet/aquantia/atlantic/aq_hw.h | 46 +-- .../net/ethernet/aquantia/atlantic/aq_hw_utils.c | 5 +- .../net/ethernet/aquantia/atlantic/aq_hw_utils.h | 3 + drivers/net/ethernet/aquantia/atlantic/aq_main.c | 14 +- drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 263 +++++-------- drivers/net/ethernet/aquantia/atlantic/aq_nic.h | 29 +- .../net/ethernet/aquantia/atlantic/aq_pci_func.c | 418 +++++++++------------ .../net/ethernet/aquantia/atlantic/aq_pci_func.h | 23 +- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c | 137 ++++--- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.h | 18 +- .../aquantia/atlantic/hw_atl/hw_atl_a0_internal.h | 34 -- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | 163 ++++---- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h | 28 +- .../aquantia/atlantic/hw_atl/hw_atl_b0_internal.h | 33 -- .../aquantia/atlantic/hw_atl/hw_atl_utils.c | 269 +++++++++++-- .../aquantia/atlantic/hw_atl/hw_atl_utils.h | 73 +++- .../aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c | 184 +++++++++ drivers/net/ethernet/aquantia/atlantic/ver.h | 6 +- 21 files changed, 1020 insertions(+), 773 deletions(-) create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c -- 2.7.4