port.c (0c603136e1e0868fb5325c3b2addc669a10ed384) port.c (47d2ce03dcfb6b7f0373aac6c667715d94caba78)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Handling of a single switch port
4 *
5 * Copyright (c) 2017 Savoir-faire Linux Inc.
6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
7 */
8
9#include <linux/if_bridge.h>
10#include <linux/netdevice.h>
11#include <linux/notifier.h>
12#include <linux/of_mdio.h>
13#include <linux/of_net.h>
14
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Handling of a single switch port
4 *
5 * Copyright (c) 2017 Savoir-faire Linux Inc.
6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
7 */
8
9#include <linux/if_bridge.h>
10#include <linux/netdevice.h>
11#include <linux/notifier.h>
12#include <linux/of_mdio.h>
13#include <linux/of_net.h>
14
15#include "dsa_priv.h"
15#include "dsa.h"
16#include "port.h"
17#include "slave.h"
18#include "switch.h"
19
20/**
21 * dsa_port_notify - Notify the switching fabric of changes to a port
22 * @dp: port on which change occurred
23 * @e: event, must be of type DSA_NOTIFIER_*

--- 2061 unchanged lines hidden ---
16#include "port.h"
17#include "slave.h"
18#include "switch.h"
19
20/**
21 * dsa_port_notify - Notify the switching fabric of changes to a port
22 * @dp: port on which change occurred
23 * @e: event, must be of type DSA_NOTIFIER_*

--- 2061 unchanged lines hidden ---