summaryrefslogtreecommitdiff
path: root/colors.h
blob: ee4cd12fa37a295d3da25aa48b72e2aa467ccd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef COLORS_H
#define COLORS_H

#define __reset                 "0"

#define __bold                  "1"

#define __black                 "30"
#define __red                   "31"
#define __green                 "32"
#define __yellow                "33"
#define __blue                  "34"
#define __magenta               "35"
#define __cyan                  "36"
#define __white                 "37"

#define __on_black              "40"
#define __on_red                "41"
#define __on_green              "42"
#define __on_yellow             "43"
#define __on_blue               "44"
#define __on_magenta            "45"
#define __on_cyan               "46"
#define __on_white              "47"

#endif /* COLORS_H */
n Didelot <vivien.didelot@savoirfairelinux.com>2017-02-03 13:20:20 -0500 committerDavid S. Miller <davem@davemloft.net>2017-02-06 16:53:29 -0500 commitf515f192ab4f45bb695146b82432d63d98775787 (patch) tree5a6fddcbb34e28e6850e63d3023504b46e5ea9c3 /net/dsa/dsa2.c parentc5d35cb32cffa6e4c2db1cbd9a544e10a8d6fda9 (diff)
net: dsa: add switch notifier
Add a notifier block per DSA switch, registered against a notifier head in the switch fabric they belong to. This infrastructure will allow to propagate fabric-wide events such as port bridging, VLAN configuration, etc. If a DSA switch driver cares about cross-chip configuration, such events can be caught. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
-rw-r--r--net/dsa/dsa2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c