master.c (bd954b826032e7bd6be8a53e30eb81c1b348aef6) | master.c (47d2ce03dcfb6b7f0373aac6c667715d94caba78) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Handling of a master device, switching frames via its switch fabric CPU port 4 * 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com> 7 */ 8 9#include <linux/ethtool.h> 10#include <linux/netdevice.h> 11#include <linux/netlink.h> 12#include <net/dsa.h> 13 | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Handling of a master device, switching frames via its switch fabric CPU port 4 * 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com> 7 */ 8 9#include <linux/ethtool.h> 10#include <linux/netdevice.h> 11#include <linux/netlink.h> 12#include <net/dsa.h> 13 |
14#include "dsa_priv.h" | 14#include "dsa.h" |
15#include "master.h" 16#include "port.h" 17#include "tag.h" 18 19static int dsa_master_get_regs_len(struct net_device *dev) 20{ 21 struct dsa_port *cpu_dp = dev->dsa_ptr; 22 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; --- 475 unchanged lines hidden --- | 15#include "master.h" 16#include "port.h" 17#include "tag.h" 18 19static int dsa_master_get_regs_len(struct net_device *dev) 20{ 21 struct dsa_port *cpu_dp = dev->dsa_ptr; 22 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; --- 475 unchanged lines hidden --- |