public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Matt Porter <mporter@kernel•crashing.org>
To: akpm@osdl•org, jgarzik@pobox•com
Cc: netdev@oss•sgi.com, linuxppc-embedded@ozlabs•org
Subject: [PATCH][NET] Add PPC440SP support to IBM EMAC driver
Date: Mon, 31 Jan 2005 17:10:09 -0700	[thread overview]
Message-ID: <20050131171009.F25809@cox.net> (raw)

Configures EMAC thresholds appropriately for the EMAC on the
PPC440SP.

Signed-off-by: Matt Porter <mporter@kernel•crashing.org>

===== drivers/net/ibm_emac/ibm_emac.h 1.3 vs edited =====
--- 1.3/drivers/net/ibm_emac/ibm_emac.h	2004-08-24 12:19:41 -07:00
+++ edited/drivers/net/ibm_emac/ibm_emac.h	2005-01-31 17:08:40 -07:00
@@ -237,6 +237,10 @@
 #define EMAC_RWMR_DEFAULT		0x1000a200
 #define EMAC_TMR0_DEFAULT		EMAC_TMR0_TFAE_2_32
 #define EMAC_TMR1_DEFAULT		0xa00f0000
+#elif defined(CONFIG_440SP)
+#define EMAC_RWMR_DEFAULT		0x08002000
+#define EMAC_TMR0_DEFAULT		EMAC_TMR0_TFAE_128_2048
+#define EMAC_TMR1_DEFAULT		0xf8200000
 #else
 #define EMAC_RWMR_DEFAULT		0x0f002000
 #define EMAC_TMR0_DEFAULT		0x00000000

             reply	other threads:[~2005-02-01  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01  0:10 Matt Porter [this message]
2005-02-02  5:29 ` [PATCH][NET] Add PPC440SP support to IBM EMAC driver Jeff Garzik

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=20050131171009.F25809@cox.net \
    --to=mporter@kernel$(echo .)crashing.org \
    --cc=akpm@osdl$(echo .)org \
    --cc=jgarzik@pobox$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    --cc=netdev@oss$(echo .)sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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