Robert Marko bb907d8d44 generic: add fix for AQR113 PMD Global Transmit Disable bit
PMD Global Transmit Disable bit should be cleared for normal operation.
This should be HW default, however I found that on Asus RT-AX89X that uses
AQR113C PHY and firmware 5.4 this bit is set by default.

With this bit set the AQR cannot achieve a link with its link-partner and
it took me multiple hours of digging through the vendor GPL source to find
this out, so lets always clear this bit during .config_init() to avoid a
situation like this in the future.

aqr107_wait_processor_intensive_op() is moved up because datasheet notes
that any changes to this bit are processor intensive.

This is a modified version of patch that got merged upstream as AQR113C
has a separate config_init() upstream.

Link: https://github.com/openwrt/openwrt/pull/15840
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-07-09 12:33:17 +02:00
..
2024-06-05 09:34:06 +02:00
2024-03-29 09:58:45 +01:00
2024-07-08 00:01:30 +02:00
2024-07-04 19:32:50 +02:00
2024-06-23 16:33:41 +02:00
2024-07-04 22:07:10 +02:00
2024-05-29 17:56:28 +02:00
2024-06-17 12:57:06 +02:00
2024-06-24 09:46:19 +02:00
2024-06-30 22:00:03 +02:00
2024-07-04 22:07:10 +02:00
2024-04-25 14:33:22 +02:00
2024-02-13 19:05:48 +01:00
2024-07-01 00:46:16 +02:00
2024-04-30 11:02:48 +02:00
2024-07-04 22:02:47 +02:00
2024-06-17 12:57:06 +02:00
2024-05-01 10:26:41 +02:00