[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240118074029.23564-1-jiawenwu@trustnetic.com>
Date: Thu, 18 Jan 2024 15:40:27 +0800
From: Jiawen Wu <jiawenwu@...stnetic.com>
To: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
linux@...linux.org.uk,
horms@...nel.org,
andrew@...n.ch,
netdev@...r.kernel.org
Cc: mengyuanlou@...-swift.com,
Jiawen Wu <jiawenwu@...stnetic.com>
Subject: [RFC PATCH net-next v2 0/2] Implement irq_domain for TXGBE
Implement irq_domain for the MAC interrupt and handle the sub-irqs.
v1 -> v2:
- move interrupt codes to txgbe_irq.c
- add txgbe-link-irq to msic irq domain
- remove functions that are not needed
Jiawen Wu (2):
net: txgbe: move interrupt codes to a separate file
net: txgbe: use irq_domain for interrupt controller
drivers/net/ethernet/wangxun/libwx/wx_hw.c | 2 -
drivers/net/ethernet/wangxun/libwx/wx_lib.c | 20 +-
drivers/net/ethernet/wangxun/libwx/wx_type.h | 1 -
drivers/net/ethernet/wangxun/txgbe/Makefile | 1 +
.../net/ethernet/wangxun/txgbe/txgbe_irq.c | 269 ++++++++++++++++++
.../net/ethernet/wangxun/txgbe/txgbe_irq.h | 7 +
.../net/ethernet/wangxun/txgbe/txgbe_main.c | 140 +--------
.../net/ethernet/wangxun/txgbe/txgbe_phy.c | 59 ++--
.../net/ethernet/wangxun/txgbe/txgbe_phy.h | 2 +
.../net/ethernet/wangxun/txgbe/txgbe_type.h | 11 +
10 files changed, 331 insertions(+), 181 deletions(-)
create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c
create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_irq.h
--
2.27.0
Powered by blists - more mailing lists