netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Gary N Spiess <Gary.Spiess@Intermec.com>
Cc: netdev@oss.sgi.com, jgarzik@pobox.com
Subject: Re: [PATCH] natsemi update 3/4 External PHY operation
Date: Tue, 08 Jun 2004 07:30:17 +0200	[thread overview]
Message-ID: <40C54EE9.3090901@colorfullife.com> (raw)
In-Reply-To: <200406071608450571.1B7B9754@136.179.85.112>

Gary N Spiess wrote:

>The existing driver code was already written to reference the "current PHY" with address 1.  To select a different address to represent the current PHY would have required me to touch more lines of source.
>
>  
>
Then touch more lines of source - the patch as it is is unreadable.

>- The partial reset fix (again, to the best of my knowledge) is only needed when the internal PHY being used has reset, but the MAC has not.  The dspcfg != np->dspcfg test identifies an internal PHY that has been reset, and triggers the driver to do a a complete MAC/PHY reset.  When using an external PHY, the test continually causes unneeded resets.  The change to set np->dspcfg to 0 prevents it.  This was the minimal change to get the desired results.
>
Again, miminal change doesn't matter. Add a

+ if (dev->if_port != PORT_TP) return;

into {do,undo}_cable_magic() and netdev_timer(). Perhaps with a comment 
that the following block is specific to the internal PHY.

--
    Manfred

      reply	other threads:[~2004-06-08  5:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04 19:55 [PATCH] natsemi update 3/4 External PHY operation Gary N Spiess
2004-06-06 15:50 ` Manfred Spraul
2004-06-07 21:08   ` Gary N Spiess
2004-06-08  5:30     ` Manfred Spraul [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=40C54EE9.3090901@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=Gary.Spiess@Intermec.com \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    /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).