Re: linux-next: Tree for Aug 31 (nixge.c and phy)

From: Andrew Lunn
Date: Fri Aug 31 2018 - 13:54:42 EST


> @@ -20,7 +20,6 @@ config NI_XGE_MANAGEMENT_ENET
> tristate "National Instruments XGE management enet support"
> depends on HAS_IOMEM && HAS_DMA
> select PHYLIB
> - select OF_MDIO
> help
> Simple LAN device for debug or management purposes. Can
> support either 10G or 1G PHYs via SFP+ ports.

Hi Moritz

Since you are targeting both DT and non-DT systems, you cannot
unconditionally select OF_MDIO

What might work is

select OF_MDIO if OF

Andrew