From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933024Ab0CaJSZ (ORCPT ); Wed, 31 Mar 2010 05:18:25 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:53532 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933002Ab0CaJSW (ORCPT ); Wed, 31 Mar 2010 05:18:22 -0400 Message-ID: <4BB31345.5050101@pengutronix.de> Date: Wed, 31 Mar 2010 11:17:57 +0200 From: Marc Kleine-Budde Organization: Pengutronix User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Anders Darander CC: Haavard Skinnemoen , "David S. Miller" , Jiri Pirko , Erik Waling , Patrick McHardy , Anders Darander , Grant Likely , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1270025218-7245-1-git-send-email-anders.darander@gmail.com> In-Reply-To: <1270025218-7245-1-git-send-email-anders.darander@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig859552936876718C43367115" X-SA-Exim-Connect-IP: 92.198.50.58 X-SA-Exim-Mail-From: mkl@pengutronix.de Subject: Re: [PATCH][V2] MACB: Set PHY address in kernel parameters X-SA-Exim-Version: 4.2.1 (built Sat, 01 Aug 2009 12:09:26 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig859552936876718C43367115 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Anders Darander wrote: > From: Anders Darander >=20 > Add the possibility to set the phy address. This is needed if an integr= ated > switch is connected to the MAC, as it is often the case that the highes= t port > is the one connected to the MAC of the MCU. >=20 > 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 =3D { .is_rmii =3D 0, .phy_mask =3D ~(1 << 8), }; at91_add_device_eth(&p298_macb_data); cheers, Marc --=20 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 | --------------enig859552936876718C43367115 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuzE0kACgkQjTAFq1RaXHOWSwCfe4KjEgh3Cfju3ikZySkBoHHq iOoAnRZE7V1ztWR2kSVXUs9ThmqjMpqh =TZD2 -----END PGP SIGNATURE----- --------------enig859552936876718C43367115--