[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220929093424.2104246-1-jiawenwu@trustnetic.com>
Date: Thu, 29 Sep 2022 17:34:21 +0800
From: Jiawen Wu <jiawenwu@...stnetic.com>
To: netdev@...r.kernel.org
Cc: mengyuanlou@...-swift.com, Jiawen Wu <jiawenwu@...stnetic.com>
Subject: [PATCH net-next v3 0/3] net: WangXun txgbe ethernet driver
This patch series adds support for WangXun 10 gigabit NIC, to initialize
hardware, set mac address, and register netdev.
Change log:
v3: address comments:
Andrew Lunn: remove hw function ops, reorder functions, use BIT(n)
for register bit offset, move the same code of txgbe
and ngbe to libwx
v2: address comments:
Andrew Lunn: https://lore.kernel.org/netdev/YvRhld5rD%2FxgITEg@lunn.ch/
Jiawen Wu (3):
net: txgbe: Store PCI info
net: txgbe: Reset hardware
net: txgbe: Set MAC address and register netdev
drivers/net/ethernet/wangxun/Kconfig | 6 +
drivers/net/ethernet/wangxun/Makefile | 1 +
drivers/net/ethernet/wangxun/libwx/Makefile | 7 +
drivers/net/ethernet/wangxun/libwx/wx_hw.c | 475 ++++++++++++++++++
drivers/net/ethernet/wangxun/libwx/wx_hw.h | 18 +
drivers/net/ethernet/wangxun/libwx/wx_type.h | 237 +++++++++
drivers/net/ethernet/wangxun/txgbe/Makefile | 3 +-
drivers/net/ethernet/wangxun/txgbe/txgbe.h | 23 +-
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c | 153 ++++++
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h | 10 +
.../net/ethernet/wangxun/txgbe/txgbe_main.c | 449 ++++++++++++++++-
.../net/ethernet/wangxun/txgbe/txgbe_type.h | 40 +-
12 files changed, 1403 insertions(+), 19 deletions(-)
create mode 100644 drivers/net/ethernet/wangxun/libwx/Makefile
create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_hw.c
create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_hw.h
create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_type.h
create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c
create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h
--
2.27.0
Powered by blists - more mailing lists