netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	tinywrkb <tinywrkb@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH 0/4] Attempt to fix regression with AR8035 speed downgrade
Date: Sun, 22 Sep 2019 13:56:24 +0100	[thread overview]
Message-ID: <20190922125624.GQ25745@shell.armlinux.org.uk> (raw)
In-Reply-To: <20190922105932.GP25745@shell.armlinux.org.uk>

On Sun, Sep 22, 2019 at 11:59:32AM +0100, Russell King - ARM Linux admin wrote:
> Commentary: what is not yet known is whether the AR8035 restores the
>             advertisement register when the link goes down to the
> 	    previous state.

I've just found my 2-pair cable, and it appears that the AR8035 does
indeed restore the advertisement register.

Using the 2-pair cable (which takes a while for the link to come up
at 100mbit) results in register 9 becoming zero:

   1140 796d 004d d072 15e1 c1e1 000d 2001
   0000 0000 0800 0000 0000 4007 b29a a000
   0862 7c30 0000 dc20 082c 0000 04e8 0000
   3200 3000 0000 060d 0000 0005 2d47 8100.

Disconnecting the 2-pair, and connecting a 4-pair cable results in a
gigabit link with the advertisement restored:

   1140 796d 004d d072 15e1 c1e1 000d 2001
   0000 0200 2800 0000 0000 4007 b29a a000
   0862 bc50 0000 dc00 082c 0000 04e8 0000
   3200 3000 0000 060e 0000 0005 2d47 8100.

Note that register 0x11 bit 5 reports when downshift is active.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

  parent reply	other threads:[~2019-09-22 12:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-22 10:59 [PATCH 0/4] Attempt to fix regression with AR8035 speed downgrade Russell King - ARM Linux admin
2019-09-22 11:00 ` [PATCH 1/4] net: phy: fix write to mii-ctrl1000 register Russell King
2019-09-22 16:33   ` Andrew Lunn
2019-09-22 11:00 ` [PATCH 2/4] net: phy: extract link partner advertisement reading Russell King
2019-09-22 16:35   ` Andrew Lunn
2019-09-22 11:00 ` [PATCH 3/4] net: phy: extract pause mode Russell King
2019-09-22 16:38   ` Andrew Lunn
2019-09-22 11:00 ` [PATCH 4/4] net: phy: at803x: use operating parameters from PHY-specific status Russell King
2019-09-22 16:45   ` Andrew Lunn
2019-09-22 12:56 ` Russell King - ARM Linux admin [this message]
2019-09-22 15:03 ` [PATCH 0/4] Attempt to fix regression with AR8035 speed downgrade tinywrkb
2019-09-22 16:53 ` Andrew Lunn
2019-09-22 17:52   ` Russell King - ARM Linux admin
2019-09-22 18:02     ` Florian Fainelli
2019-09-22 21:20       ` Russell King - ARM Linux admin
2019-09-25 11:48 ` 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=20190922125624.GQ25745@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=hkallweit1@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=tinywrkb@gmail.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).