Thread (21 messages) flat view 21 messages, 2 authors, 2016-11-02

Re: [PATCH net-next 07/11] net: dsa: mv88e6xxx: add port link setter

From: Vivien Didelot <hidden>
Date: 2016-11-02 01:07:17
Also in: lkml

Hi Andrew,

Andrew Lunn [off-list ref] writes:
quoted
+#define LINK_UNKNOWN	-1
+
+	/* Port's MAC link state
+	 * LINK_UNKNOWN for normal link detection, 0 to force link down,
+	 * otherwise force link up.
+	 */
+	int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
Maybe LINK_AUTO would be better than UNKNOWN? Or LINK_UNFORCED.
I used LINK_UNKNOWN to be consistent with the supported SPEED_UNKNOWN
and DUPLEX_UNKNOWN values of PHY devices.

Thanks,

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