[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231116135416.3371367-1-Raju.Rangoju@amd.com>
Date: Thu, 16 Nov 2023 19:24:12 +0530
From: Raju Rangoju <Raju.Rangoju@....com>
To: <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <Shyam-sundar.S-k@....com>, Raju Rangoju
<Raju.Rangoju@....com>
Subject: [PATCH v2 net-next 0/4] amd-xgbe: add support for AMD Crater
Add support for a new AMD Ethernet device called "Crater". It has a new
PCI ID, add this to the current list of supported devices in the
amd-xgbe devices. Also, the BAR1 addresses cannot be used to access the
PCS registers on Crater platform, use the indirect addressing via SMN
instead.
Changes since v1:
- A new cleanup patch is introduced to reorganize the code using helper
functions.
- New XGBE_XPCS_ACCESS_V3 type has been introduced handle the Crater
device XPCS handling.
- Used FIELD_GET() and FIELD_PREP() helpers
Raju Rangoju (4):
amd-xgbe: reorganize the code of XPCS access
amd-xgbe: add support for Crater ethernet device
amd-xgbe: add support for new pci device id 0x1641
amd-xgbe: use smn functions to avoid race
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 5 +
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 122 ++++++++++++++++----
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 52 ++++++++-
drivers/net/ethernet/amd/xgbe/xgbe.h | 6 +
4 files changed, 157 insertions(+), 28 deletions(-)
--
2.34.1
Powered by blists - more mailing lists