diff options
| author | Wang Dongsheng <dongsheng.wang@hxt-semitech.com> | 2018-07-01 23:15:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:06:58 +0200 |
| commit | 7702b2503ef6d3c4de999a18efaaf466161b30bd (patch) | |
| tree | bde661db3218a407412ba8186a4c2524e672d916 /include/linux | |
| parent | 2014bb5b41f17a8dc1c5cd55ed0a5e1832a4b7f7 (diff) | |
net: phy: marvell: change default m88e1510 LED configuration
[ Upstream commit 077772468ec141b22e1e7c0c58bc09e2f9dc8762 ]
The m88e1121 LED default configuration does not apply m88e151x.
So add a function to relpace m88e1121 LED configuration.
Signed-off-by: Wang Dongsheng <dongsheng.wang@hxt-semitech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/marvell_phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/marvell_phy.h b/include/linux/marvell_phy.h index 4f5f8c21e283..1eb6f244588d 100644 --- a/include/linux/marvell_phy.h +++ b/include/linux/marvell_phy.h @@ -27,6 +27,8 @@ */ #define MARVELL_PHY_ID_88E6390 0x01410f90 +#define MARVELL_PHY_FAMILY_ID(id) ((id) >> 4) + /* struct phy_device dev_flags definitions */ #define MARVELL_PHY_M1145_FLAGS_RESISTANCE 0x00000001 #define MARVELL_PHY_M1118_DNS323_LEDS 0x00000002 |
