16 Nov, 2011
1 commit
-
This patch adds phy reset functionality to mdio-gpio driver. Now
mdio_gpio_platform_data has new member as function pointer which can be
filled at the bsp level for a callback from phy infrastructure. Also the
mdio-bitbang driver fills-in the reset function of mii_bus structure.Without this patch the bsp level code has to takecare of the reseting
PHY's on the bus, which become bit hacky for every bsp and
phy-infrastructure is ignored aswell.Signed-off-by: Srinivas Kandagatla
Signed-off-by: David S. Miller
17 Nov, 2008
1 commit
-
make mdio-gpio work with non OpenFirmware gpio implementation.
Aditional changes to mdio-gpio:
- use gpio_request() and gpio_free()
- place irq[] array in struct mdio_gpio_info
- add module description, author and license
- add note about compiling this driver as module
- rename mdc and mdio function (were ugly names)
- change MII to MDIO in bus name
- add __init __exit to module (un)loading functions
- probe fails if no phys added to the bus
- kzalloc bitbang with sizeof(*bitbang)Changes since v3:
- keep bus naming "%x" to be compatible with existing drivers.Changes since v2:
- more #ifdefs reduction
- platform driver will be registered on OF platforms also
- unified platform and OF bus_id to phy%iChanges since v1:
- removed NO_IRQ
- reduced #idefsLaurent, please test this driver under OF.
Signed-off-by: Paulius Zaleckas
Signed-off-by: David S. Miller