linux/drivers/net/phy
Johannes Schneider 607b310ada net: dp83822: Fix OF_MDIO config check
When CONFIG_OF_MDIO is set to be a module the code block is not
compiled. Use the IS_ENABLED macro that checks for both built in as
well as module.

Fixes: 5dc39fd5ef ("net: phy: DP83822: Add ability to advertise Fiber connection")
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250423044724.1284492-1-johannes.schneider@leica-geosystems.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-04-24 11:19:35 +02:00
..
aquantia net: phy: aquantia: add essential functions to aqr105 driver 2025-03-25 13:53:21 -07:00
mediatek net: phy: mediatek: use new phy_package_shared getters 2025-03-05 19:13:53 -08:00
mscc net: phy: move PHY package related code from phy.h to phy_package.c 2025-03-05 19:13:53 -08:00
qcom net: phy: qca807x: use new phy_package_shared getters 2025-03-05 19:13:52 -08:00
realtek net: phy: realtek: disable PHY-mode EEE 2025-03-21 21:38:45 +01:00
adin.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
adin1100.c net: phy: Allow loopback speed selection for PHY drivers 2025-03-20 08:45:08 +01:00
air_en8811h.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
amd.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ax88796b.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ax88796b_rust.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00
bcm-cygnus.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm-phy-lib.c net: phy: broadcom: use genphy_c45_an_config_eee_aneg in bcm_config_lre_aneg 2024-11-07 20:31:06 -08:00
bcm-phy-lib.h
bcm-phy-ptp.c broadcom: fix supported flag check in periodic output function 2025-03-20 08:50:03 +01:00
bcm7xxx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm63xx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
bcm87xx.c
bcm54140.c net: phy: move PHY package related code from phy.h to phy_package.c 2025-03-05 19:13:53 -08:00
bcm84881.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
broadcom.c net: phy: broadcom: Correct BCM5221 PHY model detection 2025-03-31 13:47:41 +01:00
cicada.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
cortina.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
davicom.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83tc811.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83td510.c net: phy: dp83td510: introduce LED framework support 2025-02-10 17:49:19 -08:00
dp83tg720.c net: phy: dp83tg720: Add randomized polling intervals for link detection 2025-02-12 10:49:03 -08:00
dp83640.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83640_reg.h
dp83822.c net: dp83822: Fix OF_MDIO config check 2025-04-24 11:19:35 +02:00
dp83848.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
dp83867.c net: phy: Allow loopback speed selection for PHY drivers 2025-03-20 08:45:08 +01:00
dp83869.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
et1011c.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
fixed_phy.c net: phy: fixed_phy: transition to the faux device interface 2025-03-24 13:49:31 -07:00
icplus.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
intel-xway.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
Kconfig net: phy: nxp-c45-tja11xx: add support for TJA1121 2025-03-04 17:00:03 -08:00
linkmode.c
lxt.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
Makefile net: phy: Use an internal, searchable storage for the linkmodes 2025-03-18 09:03:11 +01:00
marvell-88q2xxx.c net: phy: marvell-88q2xxx: remove call to devm_hwmon_sanitize_name 2025-03-21 18:05:30 +01:00
marvell-88x2222.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
marvell.c net: phy: marvell: Align set_loopback() implementation 2025-03-20 08:45:08 +01:00
marvell10g.c net: phy: marvell10g: Use HWMON_CHANNEL_INFO macro to simplify code 2025-02-11 17:07:02 -08:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h
mdio_bus.c net: phy: Add swnode support to mdiobus_scan 2025-03-25 13:53:21 -07:00
mdio_device.c
mdio_devres.c
meson-gxl.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
micrel.c net: phy: micrel: Add loopback support 2025-03-20 08:45:08 +01:00
microchip.c net: phy: microchip: force IRQ polling mode for lan88xx 2025-04-22 12:57:37 +02:00
microchip_rds_ptp.c net: phy: microchip_rds_ptp : Add PEROUT feature library for RDS PTP supported Microchip phys 2025-01-16 17:27:57 -08:00
microchip_rds_ptp.h net: phy: microchip_rds_ptp: Header file library changes for PEROUT 2025-01-16 17:27:56 -08:00
microchip_t1.c net: phy: microchip_t1: Enable pin out specific to lan887x phy for PEROUT signal 2025-01-16 17:27:56 -08:00
microchip_t1s.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
mii_timestamper.c
motorcomm.c
mxl-gpy.c net: phy: mxl-gpy: remove call to devm_hwmon_sanitize_name 2025-03-21 18:05:30 +01:00
national.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
ncn26000.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
nxp-c45-tja11xx-macsec.c
nxp-c45-tja11xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-13 23:08:11 +01:00
nxp-c45-tja11xx.h net: phy: c45-tja11xx: add support for outputting RMII reference clock 2024-10-15 10:44:52 +02:00
nxp-cbtx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
nxp-tja11xx.c net: phy: tja11xx: remove call to devm_hwmon_sanitize_name 2025-03-21 18:05:30 +01:00
open_alliance_helpers.c
open_alliance_helpers.h
phy-c45.c net: phy: fix genphy_c45_eee_is_active() for disabled EEE 2025-03-21 21:38:36 +01:00
phy-caps.h net: phylink: Use phy_caps to get an interface's capabilities and modes 2025-03-18 09:03:12 +01:00
phy-core.c net: phy: drop phy_settings and the associated lookup helpers 2025-03-18 09:03:11 +01:00
phy.c net: phy: Support speed selection for PHY loopback 2025-03-20 08:45:08 +01:00
phy_caps.c net: phylink: Use phy_caps to get an interface's capabilities and modes 2025-03-18 09:03:12 +01:00
phy_device.c net: phy: allow MDIO bus PM ops to start/stop state machine for phylink-controlled PHY 2025-04-09 17:56:08 -07:00
phy_led_triggers.c net: phy: leds: fix memory leak 2025-04-22 18:25:18 -07:00
phy_link_topology.c phy: fix xa_alloc_cyclic() error handling 2025-03-19 09:57:37 +00:00
phy_package.c net: phy: remove remaining PHY package related definitions from phy.h 2025-03-05 19:13:53 -08:00
phylib-internal.h net: phy: move PHY package related code from phy.h to phy_package.c 2025-03-05 19:13:53 -08:00
phylib.h net: phy: move PHY package MMD access function declarations from phy.h to phylib.h 2025-03-17 19:07:54 +01:00
phylink.c net: phylink: fix suspend/resume with WoL enabled and link down 2025-04-22 16:56:44 -07:00
qsemi.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
qt2025.rs Rust changes for v6.15 2025-03-30 17:03:26 -07:00
rockchip.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
sfp-bus.c
sfp.c net: phy: sfp: Add support for SMBus module access 2025-03-25 09:10:55 -07:00
sfp.h
smsc.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
spi_ks8995.c net: phy: ks8995: constify 'struct bin_attribute' 2024-12-17 19:00:44 -08:00
ste10Xp.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
stubs.c
swphy.c
swphy.h
teranetics.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
uPD60620.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
vitesse.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
xilinx_gmii2rgmii.c net: phy: Allow loopback speed selection for PHY drivers 2025-03-20 08:45:08 +01:00