[PATCH v2 0/8] Bitbang MDIO, miitool changes

Andrey Smirnov andrew.smirnov at gmail.com
Sun Jan 31 19:10:05 PST 2016


Hi everyone,

Here's the second verion of the MDIO-related patchset I recently sent:

http://lists.infradead.org/pipermail/barebox/2016-January/025936.html

The only change in v2 is that patch implementing mdio_write/mdio_read
commands has been dropped and instead a different patch augmenting
'miitool' with PHY registration capabilties was introduced.

Andrey Gusakov (2):
  include/linux/phy.h: Add MII_ADDR_C45
  net: Port bitbanged MDIO code from Linux kernel

Andrey Smirnov (6):
  miitool: Fix PHY argument handling
  mdio_bus: Change dev_info to dev_dbg
  mdio_bus: Add mdiobus_get_bus() function
  miitool: Don't print negative parent IDs
  mdio_bus: Change PHY's naming scheme
  miitool: Add code to register a PHY

 commands/miitool.c             | 117 ++++++++++++++++-----
 drivers/net/phy/Kconfig        |  15 +++
 drivers/net/phy/Makefile       |   2 +
 drivers/net/phy/mdio-bitbang.c | 228 ++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/mdio-gpio.c    | 231 +++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/mdio_bus.c     |  25 ++++-
 drivers/net/phy/phy.c          |   9 +-
 include/linux/mdio-bitbang.h   |  45 ++++++++
 include/linux/phy.h            |   7 ++
 9 files changed, 647 insertions(+), 32 deletions(-)
 create mode 100644 drivers/net/phy/mdio-bitbang.c
 create mode 100644 drivers/net/phy/mdio-gpio.c
 create mode 100644 include/linux/mdio-bitbang.h

-- 
2.5.0




More information about the barebox mailing list