Vladimir Oltean | 8aa9ebc | 2019-05-02 23:23:30 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 |
| 2 | * Copyright (c) 2019, Vladimir Oltean <olteanv@gmail.com> |
| 3 | */ |
| 4 | |
| 5 | /* Included by drivers/net/dsa/sja1105/sja1105.h */ |
| 6 | |
| 7 | #ifndef _NET_DSA_SJA1105_H |
| 8 | #define _NET_DSA_SJA1105_H |
| 9 | |
Vladimir Oltean | 6666ceb | 2019-05-02 23:23:34 +0300 | [diff] [blame^] | 10 | #include <linux/etherdevice.h> |
| 11 | |
| 12 | #define ETH_P_SJA1105 ETH_P_DSA_8021Q |
| 13 | |
Vladimir Oltean | 8aa9ebc | 2019-05-02 23:23:30 +0300 | [diff] [blame] | 14 | /* The switch can only be convinced to stay in unmanaged mode and not trap any |
| 15 | * link-local traffic by actually telling it to filter frames sent at the |
| 16 | * 00:00:00:00:00:00 destination MAC. |
| 17 | */ |
| 18 | #define SJA1105_LINKLOCAL_FILTER_A 0x000000000000ull |
| 19 | #define SJA1105_LINKLOCAL_FILTER_A_MASK 0xFFFFFFFFFFFFull |
| 20 | #define SJA1105_LINKLOCAL_FILTER_B 0x000000000000ull |
| 21 | #define SJA1105_LINKLOCAL_FILTER_B_MASK 0xFFFFFFFFFFFFull |
| 22 | |
| 23 | #endif /* _NET_DSA_SJA1105_H */ |