netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jwboyer@gmail.com
Cc: dhdang@apm.com, benh@kernel.crashing.org, paulus@samba.org,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH 2/2] powerpc/44x: Add more changes for APM821XX EMAC driver
Date: Wed, 29 Feb 2012 13:25:13 -0500 (EST)	[thread overview]
Message-ID: <20120229.132513.1607879808995168004.davem@davemloft.net> (raw)
In-Reply-To: <CA+5PVA5hciQSvfkodX-oP_kUZueiTp=0+t8X_0iHQ+ehU0ecOQ@mail.gmail.com>

From: Josh Boyer <jwboyer@gmail.com>
Date: Wed, 29 Feb 2012 08:43:46 -0500

> On Fri, Feb 17, 2012 at 3:07 AM, Duc Dang <dhdang@apm.com> wrote:
>> This patch includes:
>>
>>  Configure EMAC PHY clock source (clock from PHY or internal clock).
>>
>>  Do not advertise PHY half duplex capability as APM821XX EMAC does not
>> support half duplex mode.
>>
>>  Add changes to support configuring jumbo frame for APM821XX EMAC.
>>
>> Signed-off-by: Duc Dang <dhdang@apm.com>
> 
> This should have been sent to netdev.  CC'ing them now.
> 
> Ben and David, I can take this change through the 4xx tree if it looks OK to
> both of you.  The pre-requisite DTS patch will go through my tree, so it might
> make sense to keep them together.

Well the patch has coding style problems, for one:

>> +			dev->features |= (EMAC_APM821XX_REQ_JUMBO_FRAME_SIZE
>> +					| EMAC_FTR_APM821XX_NO_HALF_DUPLEX
>> +					| EMAC_FTR_460EX_PHY_CLK_FIX);

Should be:

>> +			dev->features |= (EMAC_APM821XX_REQ_JUMBO_FRAME_SIZE |
>> +					  EMAC_FTR_APM821XX_NO_HALF_DUPLEX |
>> +					  EMAC_FTR_460EX_PHY_CLK_FIX);

And this:

>> +		dev->phy_feat_exc = (SUPPORTED_1000baseT_Half
>> +					| SUPPORTED_100baseT_Half
>> +					| SUPPORTED_10baseT_Half);

Should be:

>> +		dev->phy_feat_exc = (SUPPORTED_1000baseT_Half |
>> +				     SUPPORTED_100baseT_Half |
>> +				     SUPPORTED_10baseT_Half);

  reply	other threads:[~2012-02-29 18:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1329466058-15969-1-git-send-email-dhdang@apm.com>
2012-02-29 13:43 ` [PATCH 2/2] powerpc/44x: Add more changes for APM821XX EMAC driver Josh Boyer
2012-02-29 18:25   ` David Miller [this message]
2012-03-01  5:05     ` Duc Dang
2012-03-05  4:00 ` [PATCH v2 1/2] powerpc/44x: Add new compatible value for EMAC node of APM821XX dts file Duc Dang
2012-03-05  4:03 ` [PATCH v2 2/2] powerpc/44x: Add more changes for APM821XX EMAC driver Duc Dang
2012-03-05  7:41   ` Stefan Roese
2012-03-05  8:45     ` Duc Dang
2012-03-05 10:57   ` [PATCH v3 1/2] powerpc/44x: Add new compatible value for EMAC node of APM821XX dts file Duc Dang
2012-03-06 22:08     ` David Miller
2012-03-06 22:15       ` Josh Boyer
2012-03-05 10:58   ` [PATCH v3 2/2] powerpc/44x: Add more changes for APM821XX EMAC driver Duc Dang
2012-03-06 22:08     ` David Miller

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=20120229.132513.1607879808995168004.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=benh@kernel.crashing.org \
    --cc=dhdang@apm.com \
    --cc=jwboyer@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=paulus@samba.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).