mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH v2] add mdio bus support to miitool
Date: Fri,  8 Feb 2013 10:24:15 +0100	[thread overview]
Message-ID: <1360315457-30382-1-git-send-email-s.hauer@pengutronix.de> (raw)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-02-08  9:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08  9:24 Sascha Hauer [this message]
2013-02-08  9:24 ` [PATCH 1/2] net phy: Add mdio buses to mdio_bus_type Sascha Hauer
2013-02-08  9:24 ` [PATCH 2/2] miitool: Add support for examing mdio bus Sascha Hauer
2013-02-08 11:02   ` Alexander Aring
2013-02-11 11:40     ` Sascha Hauer
2013-02-11 23:13       ` Alexander Aring
2013-02-12  7:35         ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360315457-30382-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox