netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v7 00/13] Add Realtek automotive PCIe driver
@ 2023-09-12  9:18 Justin Lai
  2023-09-12  9:18 ` [PATCH net-next v7 01/13] net:ethernet:realtek:rtase: Add pci table supported in this module Justin Lai
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: Justin Lai @ 2023-09-12  9:18 UTC (permalink / raw)
  To: kuba; +Cc: davem, edumazet, pabeni, linux-kernel, netdev, andrew, Justin Lai

This series includes adding realtek automotive ethernet driver 
and adding rtase ethernet driver entry in MAINTAINERS file.

This ethernet device driver for the PCIe interface of 
Realtek Automotive Ethernet Switch,applicable to 
RTL9054, RTL9068, RTL9072, RTL9075, RTL9068, RTL9071.

v1 -> v2:
- Remove redundent debug message.
- Modify coding rule.
- Remove other function codes not related to netdev.

v2 -> v3:
- Remove SR-IOV function - We will add the SR-IOV function together when
uploading the vf driver in the future.
- Remove other unnecessary code and macro.

v3 -> v4:
- Remove function prototype - Our driver does not use recursion, so we
have reordered the code and removed the function prototypes.
- Define macro precisely - Improve macro code readability to make the
source code cleaner.

v4 -> v5:
- Modify ethtool function - Remove some unnecessary code.
- Don't use inline function - Let the compiler decide.

v5 -> v6:
- Some old macro definitions have been removed and replaced with the
lastest usage.
- Replace s32 with int to ensure consistency.
- Clearly point out the objects of the service and remove unnecessary
struct.

v6 -> v7:
- Split this driver into multiple patches.
- Reorganize this driver code and remove redundant code to make this
driver more concise.

Justin Lai (13):
  net:ethernet:realtek:rtase: Add pci table supported in this module
  net:ethernet:realtek:rtase: Implement the .ndo_open function
  net:ethernet:realtek:rtase: Implement the rtase_down function
  net:ethernet:realtek:rtase: Implement the interrupt routine and
    rtase_poll
  net:ethernet:realtek:rtase: Implement hardware configuration function
  net:ethernet:realtek:rtase: Implement .ndo_start_xmit function
  net:ethernet:realtek:rtase: Implement a function to receive packets
  net:ethernet:realtek:rtase: Implement net_device_ops
  net:ethernet:realtek:rtase: Implement pci_driver suspend and resume
    function
  net:ethernet:realtek:rtase: Implement ethtool function
  net:ethernet:realtek:rtase: Add a Makefile in the rtase folder
  net:ethernet:realtek: Update the Makefile and Kconfig in the realtek
    folder
  MAINTAINERS: Add the rtase ethernet driver entry

 MAINTAINERS                                   |    7 +
 drivers/net/ethernet/realtek/Kconfig          |   17 +
 drivers/net/ethernet/realtek/Makefile         |    1 +
 drivers/net/ethernet/realtek/rtase/Makefile   |   10 +
 drivers/net/ethernet/realtek/rtase/rtase.h    |  364 +++
 .../net/ethernet/realtek/rtase/rtase_main.c   | 2440 +++++++++++++++++
 6 files changed, 2839 insertions(+)
 create mode 100644 drivers/net/ethernet/realtek/rtase/Makefile
 create mode 100644 drivers/net/ethernet/realtek/rtase/rtase.h
 create mode 100644 drivers/net/ethernet/realtek/rtase/rtase_main.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-09-14 14:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12  9:18 [PATCH net-next v7 00/13] Add Realtek automotive PCIe driver Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 01/13] net:ethernet:realtek:rtase: Add pci table supported in this module Justin Lai
2023-09-13 21:32   ` Andrew Lunn
2023-09-14 14:42     ` Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 02/13] net:ethernet:realtek:rtase: Implement the .ndo_open function Justin Lai
2023-09-13 21:37   ` Andrew Lunn
2023-09-14 12:21     ` Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 03/13] net:ethernet:realtek:rtase: Implement the rtase_down function Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 04/13] net:ethernet:realtek:rtase: Implement the interrupt routine and rtase_poll Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 05/13] net:ethernet:realtek:rtase: Implement hardware configuration function Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 06/13] net:ethernet:realtek:rtase: Implement .ndo_start_xmit function Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 07/13] net:ethernet:realtek:rtase: Implement a function to receive packets Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 08/13] net:ethernet:realtek:rtase: Implement net_device_ops Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 09/13] net:ethernet:realtek:rtase: Implement pci_driver suspend and resume function Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 10/13] net:ethernet:realtek:rtase: Implement ethtool function Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 11/13] net:ethernet:realtek:rtase: Add a Makefile in the rtase folder Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder Justin Lai
2023-09-12  9:18 ` [PATCH net-next v7 13/13] MAINTAINERS: Add the rtase ethernet driver entry Justin Lai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).