From: David Miller <davem@davemloft.net>
To: jgunthorpe@obsidianresearch.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] NET: Support clause 45 MDIO commands at the MDIO bus level
Date: Tue, 16 Mar 2010 21:28:40 -0700 (PDT) [thread overview]
Message-ID: <20100316.212840.211879050.davem@davemloft.net> (raw)
In-Reply-To: <20100309191742.GB30462@obsidianresearch.com>
From: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Date: Tue, 9 Mar 2010 12:17:42 -0700
> IEEE 802.3ae clause 45 specifies a somewhat modified MDIO protocol
> for use by 10GIGE phys. The main change is a 21 bit address split into
> a 5 bit device ID and a 16 bit register offset. The definition is designed
> so that normal and extended devices can run on the same MDIO bus.
>
> Extend mdio-bitbang to do the new protocol. At the MDIO bus level the
> protocol is requested by or'ing MII_ADDR_C45 into the register offset.
>
> Make phy_read/phy_write/etc pass a full 32 bit register offset.
>
> This does not attempt to make the phy layer support C45 style PHYs, just
> to provide the MDIO bus support.
>
> Tested against a Broadcom 10GE phy with ID 0x206034, and several
> Broadcom 10/100/1000 Phys in normal mode.
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Applied.
prev parent reply other threads:[~2010-03-17 4:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-09 19:17 [PATCH] NET: Support clause 45 MDIO commands at the MDIO bus level Jason Gunthorpe
2010-03-17 4:28 ` David Miller [this message]
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=20100316.212840.211879050.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jgunthorpe@obsidianresearch.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).