All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Daniel Mack <daniel@zonque.org>
Cc: netdev@vger.kernel.org, vivien.didelot@gmail.com,
	f.fainelli@gmail.com, linux@armlinux.org.uk
Subject: Re: [PATCH] net: dsa: mv88e6xxx: Allow MAC configuration for ports with internal PHY
Date: Mon, 22 Jun 2020 20:52:25 +0200	[thread overview]
Message-ID: <20200622185225.GF405672@lunn.ch> (raw)
In-Reply-To: <b8a67f7d-9854-9854-3f53-983dd4eb8fda@zonque.org>

On Mon, Jun 22, 2020 at 08:44:51PM +0200, Daniel Mack wrote:
> On 6/22/20 8:41 PM, Andrew Lunn wrote:
> > On Mon, Jun 22, 2020 at 08:34:43PM +0200, Daniel Mack wrote:
> >> Ports with internal PHYs that are not in 'fixed-link' mode are currently
> >> only set up once at startup with a static config. Attempts to change the
> >> link speed or duplex settings are currently prevented by an early bail
> >> in mv88e6xxx_mac_config(). As the default config forces the speed to
> >> 1000M, setups with reduced link speed on such ports are unsupported.
> > 
> > Hi Daniel
> > 
> > How are you trying to change the speed?
> 
> With ethtool for instance. But all userspace tools are bailing out early
> on this port for the reason I described.

So you mean ethtool -s devname advertise 0x001

set make it advertise 10BaseT Half?

    Andrew

  reply	other threads:[~2020-06-22 18:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 18:34 [PATCH] net: dsa: mv88e6xxx: Allow MAC configuration for ports with internal PHY Daniel Mack
2020-06-22 18:41 ` Andrew Lunn
2020-06-22 18:44   ` Daniel Mack
2020-06-22 18:52     ` Andrew Lunn [this message]
2020-06-22 18:58     ` Russell King - ARM Linux admin
2020-06-22 19:16       ` Daniel Mack
2020-06-22 19:29         ` Andrew Lunn
2020-06-22 19:43         ` Russell King - ARM Linux admin
2020-06-22 19:50           ` Daniel Mack
2020-06-22 18:52 ` Russell King - ARM Linux admin

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=20200622185225.GF405672@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=daniel@zonque.org \
    --cc=f.fainelli@gmail.com \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=vivien.didelot@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.