aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phylink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/phylink.h')
-rw-r--r--include/linux/phylink.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index f57059e4353f..6411c624f63a 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -149,6 +149,13 @@ int mac_link_state(struct net_device *ndev,
149 * configuration word. Nothing is advertised by the MAC. The MAC is 149 * configuration word. Nothing is advertised by the MAC. The MAC is
150 * responsible for reading the configuration word and configuring 150 * responsible for reading the configuration word and configuring
151 * itself accordingly. 151 * itself accordingly.
152 *
153 * Implementations are expected to update the MAC to reflect the
154 * requested settings - i.o.w., if nothing has changed between two
155 * calls, no action is expected. If only flow control settings have
156 * changed, flow control should be updated *without* taking the link
157 * down. This "update" behaviour is critical to avoid bouncing the
158 * link up status.
152 */ 159 */
153void mac_config(struct net_device *ndev, unsigned int mode, 160void mac_config(struct net_device *ndev, unsigned int mode,
154 const struct phylink_link_state *state); 161 const struct phylink_link_state *state);