[PATCH v2] add mdio bus support to miitool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2nd version. This adds both the mdio buses and the phy devices
to the mdio_bus_type. This is in sync with Linux which also
adds the buses (for example i2c_adapter) and the devices (for example
i2c devices) to the same bus type. Linux uses a struct device_type
pointer in struct device to distinguish between both. As we do
not have this struct, we use the type_data field which has the
same purpose.

----------------------------------------------------------------
Sascha Hauer (2):
      net phy: Add mdio buses to mdio_bus_type
      miitool: Add support for examing mdio bus

 commands/miitool.c         |   94 +++++++++++++++++++++++++++++++++++---------
 drivers/net/phy/mdio_bus.c |   18 +++++++++
 drivers/net/phy/phy.c      |    1 +
 include/linux/phy.h        |    7 ++++
 4 files changed, 101 insertions(+), 19 deletions(-)

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux