diff options
author | Wang Dongsheng <dongsheng.wang@hxt-semitech.com> | 2018-07-02 09:15:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 05:34:09 +0300 |
commit | 077772468ec141b22e1e7c0c58bc09e2f9dc8762 (patch) | |
tree | 9f316e56938b28b2a315b6640ca41571186b8fe5 /include/linux/marvell_phy.h | |
parent | 248c690a2dc8725b5a5e06a1e0cdd65c7da06801 (diff) | |
download | linux-077772468ec141b22e1e7c0c58bc09e2f9dc8762.tar.xz |
net: phy: marvell: change default m88e1510 LED configuration
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>
Diffstat (limited to 'include/linux/marvell_phy.h')
-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 |