a79d8e93d3
With that patch fixed.c now fully emulates MDIO bus, thus no need to duplicate PHY layer functionality. That, in turn, drastically simplifies the code, and drops down line count. As an additional bonus, now there is no need to register MDIO bus for each PHY, all emulated PHYs placed on the platform fixed MDIO bus. There is also no more need to pre-allocate PHYs via .config option, this is all now handled dynamically. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
80 lines
1.9 KiB
Text
80 lines
1.9 KiB
Text
#
|
|
# PHY Layer Configuration
|
|
#
|
|
|
|
menuconfig PHYLIB
|
|
tristate "PHY Device support and infrastructure"
|
|
depends on !S390
|
|
depends on NET_ETHERNET && (BROKEN || !S390)
|
|
help
|
|
Ethernet controllers are usually attached to PHY
|
|
devices. This option provides infrastructure for
|
|
managing PHY devices.
|
|
|
|
if PHYLIB
|
|
|
|
comment "MII PHY device drivers"
|
|
|
|
config MARVELL_PHY
|
|
tristate "Drivers for Marvell PHYs"
|
|
---help---
|
|
Currently has a driver for the 88E1011S
|
|
|
|
config DAVICOM_PHY
|
|
tristate "Drivers for Davicom PHYs"
|
|
---help---
|
|
Currently supports dm9161e and dm9131
|
|
|
|
config QSEMI_PHY
|
|
tristate "Drivers for Quality Semiconductor PHYs"
|
|
---help---
|
|
Currently supports the qs6612
|
|
|
|
config LXT_PHY
|
|
tristate "Drivers for the Intel LXT PHYs"
|
|
---help---
|
|
Currently supports the lxt970, lxt971
|
|
|
|
config CICADA_PHY
|
|
tristate "Drivers for the Cicada PHYs"
|
|
---help---
|
|
Currently supports the cis8204
|
|
|
|
config VITESSE_PHY
|
|
tristate "Drivers for the Vitesse PHYs"
|
|
---help---
|
|
Currently supports the vsc8244
|
|
|
|
config SMSC_PHY
|
|
tristate "Drivers for SMSC PHYs"
|
|
---help---
|
|
Currently supports the LAN83C185 PHY
|
|
|
|
config BROADCOM_PHY
|
|
tristate "Drivers for Broadcom PHYs"
|
|
---help---
|
|
Currently supports the BCM5411, BCM5421 and BCM5461 PHYs.
|
|
|
|
config ICPLUS_PHY
|
|
tristate "Drivers for ICPlus PHYs"
|
|
---help---
|
|
Currently supports the IP175C PHY.
|
|
|
|
config FIXED_PHY
|
|
bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
|
|
---help---
|
|
Adds the platform "fixed" MDIO Bus to cover the boards that use
|
|
PHYs that are not connected to the real MDIO bus.
|
|
|
|
Currently tested with mpc866ads and mpc8349e-mitx.
|
|
|
|
config MDIO_BITBANG
|
|
tristate "Support for bitbanged MDIO buses"
|
|
help
|
|
This module implements the MDIO bus protocol in software,
|
|
for use by low level drivers that export the ability to
|
|
drive the relevant pins.
|
|
|
|
If in doubt, say N.
|
|
|
|
endif # PHYLIB
|