Russell King (Oracle)
486dc391ef
net: phylink: allow mac_select_pcs() to remove a PCS
...
phylink has historically not permitted a PCS to be removed. An attempt
to permit this with phylink_set_pcs() resulted in comments indicating
that there was no need for this. This behaviour has been propagated
forward to the mac_select_pcs() approach as it was believed from these
comments that changing this would be NAK'd.
However, with mac_select_pcs(), it takes more code and thus complexity
to maintain this behaviour, which can - and in this case has - resulted
in a bug. If mac_select_pcs() returns NULL for a particular interface
type, but there is already a PCS in-use, then we skip the pcs_validate()
method, but continue using the old PCS. Also, it wouldn't be expected
behaviour by implementers of mac_select_pcs().
Allow this by removing this old unnecessary restriction.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk >
Reviewed-by: Vladimir Oltean <olteanv@gmail.com >
Signed-off-by: Andrew Lunn <andrew@lunn.ch >
2024-10-17 18:15:15 -05:00
..
2024-09-19 11:12:49 +02:00
2024-10-05 10:40:16 -07:00
2024-09-11 16:02:45 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-10 19:52:30 -05:00
2024-10-04 10:43:44 -07:00
2024-10-04 16:54:25 -04:00
2024-09-27 08:48:37 -07:00
2024-10-07 11:33:26 -07:00
2024-10-02 17:23:23 -04:00
2024-09-17 15:27:01 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-04 11:57:15 -07:00
2024-09-18 10:49:45 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-09 12:47:19 -07:00
2024-09-26 12:00:25 -07:00
2024-09-19 10:18:15 +02:00
2024-09-16 06:36:37 +02:00
2024-09-26 10:13:08 -07:00
2024-10-02 17:23:23 -04:00
2024-10-04 11:25:14 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-03 20:51:47 +02:00
2024-10-04 11:25:14 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 16:42:28 -07:00
2024-09-19 10:18:15 +02:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-05 10:31:04 -07:00
2024-09-17 16:51:45 +02:00
2024-09-25 22:30:33 +02:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-02 16:42:28 -07:00
2024-09-27 08:18:43 -07:00
2024-09-17 22:20:12 +08:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 09:11:05 -05:00
2024-10-02 16:42:28 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-29 09:22:34 -07:00
2024-10-02 17:23:23 -04:00
2024-10-09 12:47:01 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-17 18:15:15 -05:00
2024-10-02 17:23:23 -04:00
2024-09-20 10:51:25 -04:00
2024-09-26 08:43:17 -07:00
2024-10-02 17:23:23 -04:00
2024-09-26 10:13:08 -07:00
2024-09-24 13:02:06 -07:00
2024-09-11 19:02:23 +02:00
2024-09-09 08:53:17 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-01 02:47:39 -07:00
2024-09-23 14:05:10 -07:00
2024-09-26 12:00:25 -07:00
2024-10-06 11:11:01 -07:00
2024-09-13 13:41:33 +02:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-09 12:16:18 +01:00
2024-09-26 12:00:25 -07:00
2024-09-13 19:08:14 +01:00
2024-09-29 09:53:04 -07:00
2024-09-13 14:09:47 -07:00
2024-10-02 17:23:23 -04:00
2024-09-28 09:11:46 -07:00
2024-09-27 08:18:43 -07:00
2024-10-02 17:23:23 -04:00
2024-09-26 17:25:29 +02:00
2024-10-02 17:23:23 -04:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-09 12:22:06 +02:00
2024-10-02 17:23:23 -04:00
2024-09-11 15:17:43 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-11 16:02:54 +02:00
2024-10-02 17:23:23 -04:00
2024-10-07 11:33:26 -07:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-09-06 19:18:32 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 16:14:30 +02:00