e2ec4581ad
Previously, bitbanged MDIO was only supported in individual hardware-specific drivers. This code factors out the higher level protocol implementation, reducing the hardware-specific portion to functions setting direction, data, and clock. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
102 lines
2.6 KiB
Text
102 lines
2.6 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
|
|
tristate "Drivers for PHY emulation on fixed speed/link"
|
|
---help---
|
|
Adds the driver to PHY layer to cover the boards that do not have any PHY bound,
|
|
but with the ability to manipulate the speed/link in software. The relevant MII
|
|
speed/duplex parameters could be effectively handled in a user-specified function.
|
|
Currently tested with mpc866ads.
|
|
|
|
config FIXED_MII_10_FDX
|
|
bool "Emulation for 10M Fdx fixed PHY behavior"
|
|
depends on FIXED_PHY
|
|
|
|
config FIXED_MII_100_FDX
|
|
bool "Emulation for 100M Fdx fixed PHY behavior"
|
|
depends on FIXED_PHY
|
|
|
|
config FIXED_MII_1000_FDX
|
|
bool "Emulation for 1000M Fdx fixed PHY behavior"
|
|
depends on FIXED_PHY
|
|
|
|
config FIXED_MII_AMNT
|
|
int "Number of emulated PHYs to allocate "
|
|
depends on FIXED_PHY
|
|
default "1"
|
|
---help---
|
|
Sometimes it is required to have several independent emulated
|
|
PHYs on the bus (in case of multi-eth but phy-less HW for instance).
|
|
This control will have specified number allocated for each fixed
|
|
PHY type enabled.
|
|
|
|
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
|