Thread (13 messages) 13 messages, 2 authors, 2020-01-05

Re: [PATCH v4 net-next 0/9] Convert Felix DSA switch to PHYLINK

From: David Miller <davem@davemloft.net>
Date: 2020-01-05 23:05:07

From: David Miller <davem@davemloft.net>
Date: Sun, 05 Jan 2020 14:56:20 -0800 (PST)
From: Vladimir Oltean <olteanv@gmail.com>
Date: Fri,  3 Jan 2020 22:01:18 +0200
quoted
Unlike most other conversions, this one is not by far a trivial one, and should
be seen as "Layerscape PCS meets PHYLINK". Actually, the PCS doesn't
need a lot of hand-holding and most of our other devices 'just work'
(this one included) without any sort of operating system awareness, just
an initialization procedure done typically in the bootloader.
Our issues start when the PCS stops from "just working", and that is
where PHYLINK comes in handy.

The PCS is not specific to the Vitesse / Microsemi / Microchip switching core
at all. Variations of this SerDes/PCS design can also be found on DPAA1 and
DPAA2 hardware.

The main idea of the abstraction provided is that the PCS looks so much like a
PHY device, that we model it as an actual PHY device and run the generic PHY
functions on it, where appropriate.
 ...

Series applied, please address any follow-up feedback you receive.
Actually I reverted, please fix this warning and resubmit:

drivers/net/dsa/ocelot/felix.c: In function ‘felix_phylink_mac_config’:
drivers/net/dsa/ocelot/felix.c:210:22: warning: unused variable ‘ocelot_port’ [-Wunused-variable]
  struct ocelot_port *ocelot_port = ocelot->ports[port];
                      ^~~~~~~~~~~

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help