summaryrefslogtreecommitdiff
path: root/net/dsa/dsa_priv.h
blob: 265659954ffd7f268dc9b4f41dc62add951109ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * net/dsa/dsa_priv.h - Hardware switch handling
 * Copyright (c) 2008-2009 Marvell Semiconductor
 */

#ifndef __DSA_PRIV_H
#define __DSA_PRIV_H

#include <linux/phy.h>
#include <linux/netdevice.h>
#include <net/dsa.h>

#define DSA_MAX_NUM_OFFLOADING_BRIDGES		BITS_PER_LONG

/* netlink.c */
extern struct rtnl_link_ops dsa_link_ops __read_mostly;

#endif