#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"
#define colorize_start(fore) "\033[" __##fore "m"
#define colorize_start_full(fore, back) "\033[" __##fore ";" __on_##back "m"
#define colorize_end() "\033[" __reset "m"
#endif /* COLORS_H */
t.git/'>net-next.git
net: phy: Add LED mode driver for Microsemi PHYs.
LED Mode:
Microsemi PHY support 2 LEDs (LED[0] and LED[1]) to display different
status information that can be selected by setting LED mode.
LED Mode parameter (vsc8531, led-0-mode) and (vsc8531, led-1-mode) get
from Device Tree.
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>