Files
android_kernel_xiaomi_sm8450/include/linux
Heiner Kallweit 5eee3bb710 net: phy: add and use phy_check_downshift
So far PHY drivers have to check whether a downshift occurred to be
able to notify the user. To make life of drivers authors a little bit
easier move the downshift notification to phylib. phy_check_downshift()
compares the highest mutually advertised speed with the actual value
of phydev->speed (typically read by the PHY driver from a
vendor-specific register) to detect a downshift.

v2:
- Add downshift hint to phy_print_status

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-23 21:09:47 -07:00
..
2019-08-09 09:15:05 +02:00
2020-02-16 18:30:41 -08:00
2019-09-16 09:56:27 -07:00
2019-12-11 09:12:38 +01:00
2019-11-12 11:43:29 -05:00
2020-01-27 14:35:32 +01:00
2020-01-23 12:37:18 +00:00
2010-11-23 20:14:46 +00:00
2018-05-26 09:16:44 +02:00
2005-04-16 15:20:36 -07:00
2019-05-14 19:52:50 -07:00
2020-02-04 03:05:26 +00:00
2020-02-04 03:05:26 +00:00
2018-11-07 13:44:59 -07:00
2018-11-07 13:44:59 -07:00
2020-03-13 12:49:52 -07:00
2018-06-15 18:10:01 -03:00
2019-06-12 20:27:13 +02:00
2019-11-26 10:26:26 +01:00
2020-01-23 00:35:50 +01:00
2018-03-26 15:09:38 +02:00
2018-08-22 10:52:48 -07:00
2019-10-09 19:33:43 -07:00
2009-12-10 23:52:01 +00:00
2016-10-28 08:48:16 -06:00
2019-12-03 11:20:37 +01:00
2019-09-05 19:52:33 -06:00
2019-02-28 03:28:53 -05:00
2018-01-01 12:40:27 -07:00
2020-01-27 11:09:31 +01:00
2020-01-17 16:48:07 -08:00
2020-01-18 09:19:18 -05:00
2020-01-13 21:48:42 +01:00
2020-03-13 12:49:51 -07:00
2018-12-19 10:42:08 +01:00
2017-11-13 01:41:20 +01:00
2014-10-08 16:01:41 -04:00
2019-11-20 09:40:10 +01:00
2019-12-01 12:59:06 -08:00
2019-02-15 16:54:38 +01:00
2019-09-05 11:40:54 +02:00
2010-02-09 11:13:56 +01:00
2019-07-05 21:34:50 +02:00
2019-06-26 13:19:46 -07:00
2019-10-04 12:31:46 -07:00
2019-10-15 13:34:25 +02:00
2018-11-19 19:03:46 -07:00
2018-06-22 13:43:27 +09:00
2019-11-11 09:02:56 +01:00
2019-12-04 19:44:14 -08:00
2020-01-31 17:33:54 +00:00
2020-02-20 21:17:24 +01:00
2019-12-11 09:12:38 +01:00
2019-09-02 11:43:54 +01:00
2018-04-12 09:41:19 -07:00
2019-03-07 18:32:03 -08:00
2018-06-07 17:34:35 -07:00
2019-12-09 10:55:03 +01:00
2019-08-14 15:30:35 +02:00
2019-08-08 09:09:25 +02:00
2019-11-14 19:06:47 -08:00
2018-10-17 13:56:58 -07:00
2020-01-15 10:54:33 -05:00
2020-01-14 12:20:48 +01:00
2019-06-13 09:02:33 -04:00
2019-02-20 07:22:10 -07:00
2019-02-08 15:02:49 -08:00
2018-07-10 17:22:35 +02:00
2019-12-11 16:37:02 +08:00
2018-10-21 10:46:39 -04:00
2019-11-13 19:09:47 +08:00
2017-11-09 10:23:28 +01:00
2020-01-16 17:09:18 +01:00
2020-01-15 16:30:28 +00:00
2020-03-05 17:36:24 -08:00
2019-07-16 19:23:25 -07:00
2018-10-08 22:53:10 +11:00
2019-12-06 10:47:28 +01:00
2020-03-12 17:33:11 -07:00
2019-06-15 12:25:49 +02:00
2018-07-20 01:11:45 +02:00
2020-01-13 18:16:43 -08:00
2018-05-11 17:28:45 -07:00
2020-01-10 14:00:58 -08:00
2020-01-24 10:24:31 -08:00
2020-01-24 10:24:31 -08:00
2018-09-25 20:17:35 -07:00
2019-11-14 13:07:48 +08:00
2019-10-10 14:55:24 -07:00
2019-05-16 15:51:55 -07:00
2020-02-04 03:05:24 +00:00
2018-07-07 17:25:23 +02:00
2019-11-13 12:15:34 -08:00
2019-02-07 16:38:35 +01:00
2020-02-04 03:05:26 +00:00
2018-06-20 11:35:56 +02:00
2018-10-11 09:16:44 -07:00
2019-08-30 07:27:17 -07:00
2019-08-01 20:51:22 +02:00
2019-07-31 19:03:35 +02:00
2020-02-21 11:22:15 -08:00
2019-01-11 18:05:40 -08:00
2020-01-14 12:20:48 +01:00
2005-04-16 15:20:36 -07:00
2019-11-14 12:20:02 +08:00
2019-05-15 17:35:54 +01:00
2018-12-22 12:15:29 +01:00
2020-01-17 22:33:37 -05:00
2018-05-14 09:51:34 -04:00
2011-01-13 08:03:24 -08:00
2017-08-15 09:02:08 -07:00