[PATCH net-next v2 00/21] net:yt6801: Add Motorcomm yt6801 PCIe driver

From: Frank Sae
Date: Wed Nov 20 2024 - 05:57:57 EST


This series includes adding Motorcomm YT6801 Gigabit ethernet driver
and adding yt6801 ethernet driver entry in MAINTAINERS file.

YT6801 integrates a YT8531S phy.

v1 -> v2:
- Split this driver into multiple patches.
- Reorganize this driver code and remove redundant code
- Remove PHY handling code and use phylib.
- Remove writing ASPM config
- Use generic power management instead of pci_driver.suspend()/resume()
- Add Space before closing "*/"

Frank Sae (21):
motorcomm:yt6801: Add support for a pci table in this module
motorcomm:yt6801: Implement pci_driver shutdown
motorcomm:yt6801: Implement the fxgmac_drv_probe function
motorcomm:yt6801: Implement the .ndo_open function
motorcomm:yt6801: Implement the fxgmac_start function
motorcomm:yt6801: Implement the poll functions
motorcomm:yt6801: Implement the fxgmac_init function
motorcomm:yt6801: Implement the fxgmac_read_mac_addr function
motorcomm:yt6801: Implement some hw_ops function
motorcomm:yt6801: Implement .ndo_start_xmit function
motorcomm:yt6801: Implement some net_device_ops function
motorcomm:yt6801: Implement .ndo_tx_timeout and .ndo_change_mtu
functions
motorcomm:yt6801: Implement some ethtool_ops function
motorcomm:yt6801: Implement the WOL function of ethtool_ops
motorcomm:yt6801: Implement pci_driver suspend and resume
motorcomm:yt6801: Add a Makefile in the motorcomm folder
motorcomm:yt6801: Update the Makefile and Kconfig in the motorcomm
motorcomm:yt6801: Update the Makefile and Kconfig in the ethernet
ethernet: Update the index.rst in the ethernet documentation folder
motorcomm:yt6801: Add a yt6801.rst in the ethernet documentation
folder
MAINTAINERS:Add the motorcomm ethernet driver entry

.../device_drivers/ethernet/index.rst | 1 +
.../ethernet/motorcomm/yt6801.rst | 20 +
MAINTAINERS | 8 +
drivers/net/ethernet/Kconfig | 1 +
drivers/net/ethernet/Makefile | 1 +
drivers/net/ethernet/motorcomm/Kconfig | 27 +
drivers/net/ethernet/motorcomm/Makefile | 6 +
.../net/ethernet/motorcomm/yt6801/Makefile | 9 +
.../net/ethernet/motorcomm/yt6801/yt6801.h | 617 +++
.../ethernet/motorcomm/yt6801/yt6801_desc.c | 638 ++++
.../ethernet/motorcomm/yt6801/yt6801_desc.h | 39 +
.../motorcomm/yt6801/yt6801_ethtool.c | 907 +++++
.../net/ethernet/motorcomm/yt6801/yt6801_hw.c | 3383 +++++++++++++++++
.../ethernet/motorcomm/yt6801/yt6801_net.c | 2908 ++++++++++++++
.../ethernet/motorcomm/yt6801/yt6801_net.h | 32 +
.../ethernet/motorcomm/yt6801/yt6801_pci.c | 191 +
.../ethernet/motorcomm/yt6801/yt6801_type.h | 1398 +++++++
17 files changed, 10186 insertions(+)
create mode 100644 Documentation/networking/device_drivers/ethernet/motorcomm/yt6801.rst
create mode 100644 drivers/net/ethernet/motorcomm/Kconfig
create mode 100644 drivers/net/ethernet/motorcomm/Makefile
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/Makefile
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801.h
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_desc.c
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_desc.h
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_ethtool.c
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_hw.c
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_net.c
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_net.h
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_pci.c
create mode 100644 drivers/net/ethernet/motorcomm/yt6801/yt6801_type.h

--
2.34.1