Thread (4 messages) 4 messages, 3 authors, 2010-03-31

Re: [PATCH] Allow MACB to connect to a higher addresses PHY.

From: Grant Likely <hidden>
Date: 2010-03-31 06:33:19
Also in: lkml

On Tue, Mar 30, 2010 at 11:53 PM, Anders Darander
[off-list ref] wrote:
* Grant Likely [off-list ref] [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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help