From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Anders Darander <anders.darander@gmail.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>,
"David S. Miller" <davem@davemloft.net>,
Jiri Pirko <jpirko@redhat.com>,
Erik Waling <erik.waling@konftel.com>,
Patrick McHardy <kaber@trash.net>,
Anders Darander <ad@datarespons.se>,
Grant Likely <grant.likely@secretlab.ca>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][V2] MACB: Set PHY address in kernel parameters
Date: Wed, 31 Mar 2010 11:17:57 +0200 [thread overview]
Message-ID: <4BB31345.5050101@pengutronix.de> (raw)
In-Reply-To: <1270025218-7245-1-git-send-email-anders.darander@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]
Anders Darander wrote:
> From: Anders Darander <ad@datarespons.se>
>
> Add the possibility to set the phy address. This is needed if an integrated
> switch is connected to the MAC, as it is often the case that the highest port
> is the one connected to the MAC of the MCU.
>
> E.g. in the case of the Micrel KSZ8873, port 3 is the one to connect to the
> MCU, thus, the MAC needs to connect to phy address 0x03, instead of the first
> phy found.
We're using phy_mask in one of our projects, it's still using 2.6.29,
though. I think it's worth testing if it's still working.
static struct at91_eth_data __initdata p298_macb_data = {
.is_rmii = 0,
.phy_mask = ~(1 << 8),
};
at91_add_device_eth(&p298_macb_data);
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2010-03-31 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 8:46 [PATCH][V2] MACB: Set PHY address in kernel parameters Anders Darander
2010-03-31 9:17 ` Marc Kleine-Budde [this message]
2010-03-31 9:39 ` Anders Darander
2010-03-31 9:48 ` Marc Kleine-Budde
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=4BB31345.5050101@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=ad@datarespons.se \
--cc=anders.darander@gmail.com \
--cc=davem@davemloft.net \
--cc=erik.waling@konftel.com \
--cc=grant.likely@secretlab.ca \
--cc=hskinnemoen@atmel.com \
--cc=jpirko@redhat.com \
--cc=kaber@trash.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.