Skip to content

Commit

Permalink
net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig
Browse files Browse the repository at this point in the history
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: ef36312 ("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>
  • Loading branch information
Marek Vasut authored and Jakub Kicinski committed Jan 13, 2021
1 parent c73a459 commit f0791b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/ethernet/micrel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
Expand Down

0 comments on commit f0791b9

Please sign in to comment.