From: Grant Likely <grant.likely@secretlab.ca>
To: Anders Darander <anders.darander@datarespons.se>
Cc: "David S. Miller" <davem@davemloft.net>,
Ralf Baechle <ralf@linux-mips.org>,
Maxime Bizon <mbizon@freebox.fr>,
David Daney <ddaney@caviumnetworks.com>,
Sekhar Nori <nsekhar@ti.com>,
Anton Vorontsov <avorontsov@ru.mvista.com>,
Andy Fleming <afleming@freescale.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Allow MACB to connect to a higher addresses PHY.
Date: Wed, 31 Mar 2010 00:08:28 -0600 [thread overview]
Message-ID: <x2gfa686aa41003302308r8c4f84acy5ab0c7368313aa5@mail.gmail.com> (raw)
In-Reply-To: <20100331055306.GC4837@datarespons.se>
On Tue, Mar 30, 2010 at 11:53 PM, Anders Darander
<anders.darander@datarespons.se> wrote:
> * Grant Likely <grant.likely@secretlab.ca> [100330 16:42]:
> One question, if I add such an kernel parameter, would it be OK to
> implement something like this in the macb-driver:
>
> if parameter == SOME_DEFAULT
> phydev = phy_find_first(bp->mii_bus);
> else
> phydev = bp->mii_bus->phy_map[parameter];
>
> I.e. if the parameter is set to some default value, the old behaviour is
> retained, otherwise the specified parameter is used for the phy_addr?
Absolutely.
g.
prev parent reply other threads:[~2010-03-31 6:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 9:58 [PATCH] Allow MACB to connect to a higher addresses PHY Anders Darander
2010-03-30 14:41 ` Grant Likely
2010-03-31 5:53 ` Anders Darander
2010-03-31 6:08 ` Grant Likely [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=x2gfa686aa41003302308r8c4f84acy5ab0c7368313aa5@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=afleming@freescale.com \
--cc=anders.darander@datarespons.se \
--cc=avorontsov@ru.mvista.com \
--cc=davem@davemloft.net \
--cc=ddaney@caviumnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbizon@freebox.fr \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=ralf@linux-mips.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).