[PATCH net-next 0/2] amd-xgbe: add support for P100a platform

From: Raju Rangoju

Date: Sun Mar 01 2026 - 23:45:32 EST


This patch series adds support for the AMD P100a platform featuring
the ethernet controller PCI device ID 0x1122.

The P100a platform uses different register access patterns and speed
encoding compared to previous generation hardware (Yellow Carp,etc.)
Key differences include:

1. Different XPCS window offset calculation due to changed memory mapping
2. 2.5G speed uses XGMII mode (ss=0x06) instead of GMII (ss=0x02)
3. Extended port speed bits (6-bit instead of 5-bit) for 5G support

The series is organized as follows:

Patch 1: Defines macros for MAC version numbers and speed select values
to replace hardcoded magic numbers

Patch 2: Adds the core P100a platform support with PCI ID,
register configuration, and version-specific behavior

Tested on AMD P100a platform verifying:
- 10G/2.5G/1G/100M link establishment
- PHY initialization and auto-negotiation
- No register access errors

Raju Rangoju (2):
amd-xgbe: define macros for MAC versions and speed select values
amd-xgbe: add support for P100a platform

drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 ++-
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 39 +++++++++++++++++----
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 8 +++++
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c | 22 ++++++++++--
drivers/net/ethernet/amd/xgbe/xgbe.h | 25 ++++++++++++-
5 files changed, 87 insertions(+), 11 deletions(-)

--
2.34.1