Thread (11 messages) flat view 11 messages, 3 authors, 2021-01-20

RE: [PATCH v2] net: phy: realtek: Add support for RTL9000AA/AN

From: ashiduka@fujitsu.com <hidden>
Date: 2021-01-18 20:41:52

Hi Andrew
quoted
Do you know how to switch between master/slave?
There was a patch to ethtool merged for this:

commit 558f7cc33daf82f945af432c79db40edcbe0dad0
Author: Oleksij Rempel [off-list ref]
Date:   Wed Jun 10 10:37:43 2020 +0200

    netlink: add master/slave configuration support
I know this.
--
# ./ethtool --version
ethtool version 5.10
# ./ethtool -s eth1 master-slave slave-force 
ethtool (-s): invalid value 'slave-force' for parameter 'master-slave'
--

As I wrote in the previous e-mail, it doesn't work because it doesn't 
include the process to parse the master-slave argument.
The help of the ethtool command can show about the "master-slave" 
option, but it doesn't seem to handle the arguments.
I checked ethtool.c and it seems that do_sset () doesn't implement the 
process of parsing master-slave arguments...
Once ethtool works properly, I will test the master-slave switching behavior.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help