[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48592322.3090201@pobox.com>
Date: Wed, 18 Jun 2008 11:00:50 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Laurent Pinchart <laurentp@...-semaphore.com>
CC: Scott Wood <scottwood@...escale.com>, linuxppc-dev@...abs.org,
netdev@...r.kernel.org, vbordug@...mvista.com,
pantelis.antoniou@...il.com
Subject: Re: [PATCH 2/2] fs_enet: MDIO on GPIO support
Laurent Pinchart wrote:
> Hi Scott,
>
> On Monday 16 June 2008 18:34, Scott Wood wrote:
>> On Mon, Jun 16, 2008 at 10:57:02AM +0200, Laurent Pinchart wrote:
>>> On Monday 26 May 2008 11:53, Laurent Pinchart wrote:
>>>> Port the fs_enet driver to support the MDIO on GPIO driver for PHY
>>>> access in addition to the mii-bitbang driver.
>>> Now that 1/2 has been applied by Jeff, could this one make it to
>>> powerpc-next ?
>> This patch should probably go through Jeff as well...
>
> Jeff, what's your opinion on this ?
>
>> Acked-by: Scott Wood <scottwood@...escale.com>
>>
>>>> - data = of_get_property(phynode, "reg", &len);
>>>> - if (!data || len != 4)
>>>> - goto out_put_mdio;
>>>> + bus_id = of_get_gpio(mdionode, 0);
>>>> + if (bus_id < 0) {
>>>> + struct resource res;
>>>> + ret = of_address_to_resource(mdionode, 0, &res);
>>>> + if (ret)
>>>> + goto out_put_mdio;
>>>> + bus_id = res.start;
>>>> + }
>>>>
>>>> - snprintf(fpi->bus_id, 16, "%x:%02x", res.start, *data);
>>>> + snprintf(fpi->bus_id, 16, "%x:%02x", bus_id, *data);
What are the patch dependencies, if any?
My general rule is, anytime I see 80%+ of the patch dealing with
arch-specific API functions (such as OF resource stuff), I tend to
prefer that goes via an arch tree.
If it's a networking change, of course I'd prefer it came in my direction.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists