mbox series

[00/11] qtnfmac_pcie: extract device-independent PCIe driver code

Message ID 20180924051246.13371-1-igor.mitsyanko.os@quantenna.com (mailing list archive)
Headers show
Series qtnfmac_pcie: extract device-independent PCIe driver code | expand

Message

Igor Mitsyanko Sept. 24, 2018, 5:13 a.m. UTC
Purpose of the patch series is to extract a portion of PCIe driver sources
that is common among Quantenna wifi devices. It will later be used to add
support for additional wifi card.

As a result, majority of changes here are moving code blocks around and
renaming without functional changes + several minor improvements.

Igor Mitsyanko (11):
  qtnfmac_pcie: do not store FW name in driver state structure
  qtnfmac_pcie: move Pearl pcie sources to pcie-specific directory
  qtnfmac_pcie: rename private Pearl PCIe state structure
  qtnfmac_pcie: indicate pearl-specific structures by their names
  qtnfmac_pcie: pearl: rename spinlock tx0_lock to tx_lock
  qtnfmac_pcie: separate platform-independent PCIe structure
  qtnfmac_pcie: rename platform-specific functions
  qtnfmac: add missing header includes to bus.h
  qtnfmac_pcie: extract platform-independent PCIe code
  qtnfmac: wait for FW load work to finish at PCIe remove
  qtnfmac_pcie: check for correct CHIP ID at pcie probe

 drivers/net/wireless/quantenna/qtnfmac/Makefile    |    3 +-
 drivers/net/wireless/quantenna/qtnfmac/bus.h       |    5 +-
 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c |  404 ++++++
 .../{pearl/pcie_bus_priv.h => pcie/pcie_priv.h}    |   71 +-
 .../wireless/quantenna/qtnfmac/pcie/pearl_pcie.c   | 1261 +++++++++++++++++
 .../{pearl/pcie_ipc.h => pcie/pearl_pcie_ipc.h}    |   58 -
 .../pcie_regs_pearl.h => pcie/pearl_pcie_regs.h}   |    0
 .../net/wireless/quantenna/qtnfmac/pearl/pcie.c    | 1494 --------------------
 .../net/wireless/quantenna/qtnfmac/qtn_hw_ids.h    |   14 +
 9 files changed, 1723 insertions(+), 1587 deletions(-)
 create mode 100644 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
 rename drivers/net/wireless/quantenna/qtnfmac/{pearl/pcie_bus_priv.h => pcie/pcie_priv.h} (51%)
 create mode 100644 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c
 rename drivers/net/wireless/quantenna/qtnfmac/{pearl/pcie_ipc.h => pcie/pearl_pcie_ipc.h} (68%)
 rename drivers/net/wireless/quantenna/qtnfmac/{pearl/pcie_regs_pearl.h => pcie/pearl_pcie_regs.h} (100%)
 delete mode 100644 drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c