[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240214154842.3577628-1-Raju.Rangoju@amd.com>
Date: Wed, 14 Feb 2024 21:18:37 +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 v5 net-next 0/5] 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 v4:
- split the patches as per Simon's suggestion
Changes since v3:
- Club patches 2 and 3 to avoid bisect issues.
- Modified license in xgbe-smn.h to match the license in all the other files.
- Modified the function get_pcs_index_and_offset() to reflect the name.
Raju Rangoju (5):
amd-xgbe: reorganize the code of XPCS access
amd-xgbe: reorganize the xgbe_pci_probe() code path
amd-xgbe: add support for new XPCS routines
amd-xgbe: Add XGBE_XPCS_ACCESS_V3 support to xgbe_pci_probe()
amd-xgbe: add support for new pci device id 0x1641
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 5 +
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 124 ++++++++++++-----
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 83 +++++++++---
drivers/net/ethernet/amd/xgbe/xgbe-smn.h | 139 ++++++++++++++++++++
drivers/net/ethernet/amd/xgbe/xgbe.h | 11 ++
5 files changed, 305 insertions(+), 57 deletions(-)
create mode 100644 drivers/net/ethernet/amd/xgbe/xgbe-smn.h
--
2.34.1
Powered by blists - more mailing lists