Commit f0791b92 authored by Marek Vasut's avatar Marek Vasut Committed by Jakub Kicinski

net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig

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: ef363122 ("net: ks8851: Register MDIO bus and the internal PHY")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Lukas Wunner <lukas@wunner.de>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210111125046.36326-1-marex@denx.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c73a4596
...@@ -31,6 +31,8 @@ config KS8851 ...@@ -31,6 +31,8 @@ config KS8851
select MII select MII
select CRC32 select CRC32
select EEPROM_93CX6 select EEPROM_93CX6
select PHYLIB
select MICREL_PHY
help help
SPI driver for Micrel KS8851 SPI attached network chip. SPI driver for Micrel KS8851 SPI attached network chip.
...@@ -40,6 +42,8 @@ config KS8851_MLL ...@@ -40,6 +42,8 @@ config KS8851_MLL
select MII select MII
select CRC32 select CRC32
select EEPROM_93CX6 select EEPROM_93CX6
select PHYLIB
select MICREL_PHY
help help
This platform driver is for Micrel KS8851 Address/data bus This platform driver is for Micrel KS8851 Address/data bus
multiplexed network chip. multiplexed network chip.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment