]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig
authorMarek Vasut <marex@denx.de>
Mon, 11 Jan 2021 12:50:46 +0000 (13:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 02:42:36 +0000 (18:42 -0800)
The PHYLIB must be selected to provide mdiobus_*() functions, and the
MICREL_PHY is necessary too, as that is the only possible PHY attached
to the KS8851 (it is the internal PHY).

Fixes: 587ea5a35f1b ("net: ks8851: Register MDIO bus and the internal PHY")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210111125046.36326-1-marex@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/micrel/Kconfig

index 42bc014136fe30644391e55e565feb1fbc05179d..93df3049cdc05ee766dc51db0bf1d844141688e8 100644 (file)
@@ -31,6 +31,8 @@ config KS8851
        select MII
        select CRC32
        select EEPROM_93CX6
+       select PHYLIB
+       select MICREL_PHY
        help
          SPI driver for Micrel KS8851 SPI attached network chip.
 
@@ -40,6 +42,8 @@ config KS8851_MLL
        select MII
        select CRC32
        select EEPROM_93CX6
+       select PHYLIB
+       select MICREL_PHY
        help
          This platform driver is for Micrel KS8851 Address/data bus
          multiplexed network chip.