qemu-cr16/include/hw/net
Guenter Roeck 35a5e87920 hw/net/cadence_gem: Add pcs-enabled property
The Linux kernel checks the PCS disabled bit in the R_DESCONF register
to determine if SGMII is supported. If the bit is set, SGMII support is
disabled. Since the Microchip Icicle devicetree file configures SGMII
interface mode, enabling the Ethernet interfaces fails when booting
the Linux kernel.

Add pcs-enabled property to to let the driver know if PCS should be
enabled. Set the flag to false by default (indicating that PCS is disabled)
to match the exiting code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20251004200049.871646-4-linux@roeck-us.net>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2025-10-24 09:24:08 +10:00
..
allwinner-sun8i-emac.h Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
allwinner_emac.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
cadence_gem.h hw/net/cadence_gem: Add pcs-enabled property 2025-10-24 09:24:08 +10:00
dp8393x.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
ftgmac100.h hw/net:ftgmac100: introduce TX and RX ring base address high registers to support 64 bits 2024-07-09 08:05:44 +02:00
imx_fec.h hw/net/lan9118_phy: Reuse in imx_fec and consolidate implementations 2024-12-11 15:30:51 +00:00
lan9118.h hw/net/lan9118: use qemu_configure_nic_device() 2024-02-02 16:23:47 +00:00
lan9118_phy.h hw/net/lan9118: Extract lan9118_phy 2024-12-11 15:30:51 +00:00
lance.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
lasi_82596.h hw/net/lasi_i82596: use qemu_create_nic_device() 2024-02-02 16:23:47 +00:00
mii.h hw/net/lan9118_phy: Reuse MII constants 2024-12-11 15:30:52 +00:00
msf2-emac.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
mv88w8618_eth.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
ne2000-isa.h hw/i386/pc: use qemu_get_nic_info() and pci_init_nic_devices() 2024-02-02 16:23:47 +00:00
npcm7xx_emc.h hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() 2023-01-12 17:15:09 +00:00
npcm_gmac.h hw/net/npcm_gmac.h: correct typos 2024-02-21 08:16:43 +03:00
npcm_pcs.h hw/net: Add NPCM8XX PCS Module 2025-02-20 15:22:22 +00:00
smc91c111.h hw/net/smc91c111: use qemu_configure_nic_device() 2024-02-02 16:23:47 +00:00
xlnx-versal-canfd.h hw/net/can/xlnx-versal-canfd: remove register API usage for banked regs 2025-10-21 20:16:47 +02:00
xlnx-zynqmp-can.h include: Include headers where needed 2023-01-08 01:54:22 -05:00