Generic bitbanged MDIO library

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>
Este commit está contenido en:
Scott Wood
2007-10-01 14:20:56 -05:00
cometido por David S. Miller
padre 976de6a8c3
commit e2ec4581ad
Se han modificado 4 ficheros con 239 adiciones y 0 borrados

Ver fichero

@@ -90,4 +90,13 @@ config FIXED_MII_AMNT
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