[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 16/29] e1000e: Set MII_ANER_NWAY
From: |
Akihiko Odaki |
Subject: |
[PATCH v5 16/29] e1000e: Set MII_ANER_NWAY |
Date: |
Wed, 1 Feb 2023 12:35:26 +0900 |
This keeps Windows driver 12.18.9.23 from generating an event with ID
30. The description of the event is as follows:
> Intel(R) 82574L Gigabit Network Connection
> PROBLEM: The network adapter is configured for auto-negotiation but
> the link partner is not. This may result in a duplex mismatch.
> ACTION: Configure the link partner for auto-negotiation.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/net/e1000e_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index d8c17baf8f..736708407c 100644
--- a/hw/net/e1000e_core.c
+++ b/hw/net/e1000e_core.c
@@ -3426,7 +3426,7 @@
e1000e_phy_reg_init[E1000E_PHY_PAGES][E1000E_PHY_PAGE_SIZE] = {
[MII_ANLPAR] = MII_ANLPAR_10 | MII_ANLPAR_10FD |
MII_ANLPAR_TX | MII_ANLPAR_TXFD |
MII_ANLPAR_T4 | MII_ANLPAR_PAUSE,
- [MII_ANER] = MII_ANER_NP,
+ [MII_ANER] = MII_ANER_NP | MII_ANER_NWAY,
[MII_ANNP] = 1 | MII_ANNP_MP,
[MII_CTRL1000] = MII_CTRL1000_HALF | MII_CTRL1000_FULL |
MII_CTRL1000_PORT | MII_CTRL1000_MASTER,
--
2.39.1
- [PATCH v5 07/29] e1000: Use more constant definitions, (continued)
- [PATCH v5 07/29] e1000: Use more constant definitions, Akihiko Odaki, 2023/01/31
- [PATCH v5 06/29] e1000e: Mask registers when writing, Akihiko Odaki, 2023/01/31
- [PATCH v5 09/29] e1000: Use memcpy to intialize registers, Akihiko Odaki, 2023/01/31
- [PATCH v5 10/29] e1000e: Use memcpy to intialize registers, Akihiko Odaki, 2023/01/31
- [PATCH v5 08/29] e1000e: Use more constant definitions, Akihiko Odaki, 2023/01/31
- [PATCH v5 11/29] e1000e: Remove pending interrupt flags, Akihiko Odaki, 2023/01/31
- [PATCH v5 12/29] e1000e: Improve software reset, Akihiko Odaki, 2023/01/31
- [PATCH v5 13/29] e1000: Configure ResettableClass, Akihiko Odaki, 2023/01/31
- [PATCH v5 14/29] e1000e: Configure ResettableClass, Akihiko Odaki, 2023/01/31
- [PATCH v5 15/29] e1000e: Introduce e1000_rx_desc_union, Akihiko Odaki, 2023/01/31
- [PATCH v5 16/29] e1000e: Set MII_ANER_NWAY,
Akihiko Odaki <=
- [PATCH v5 17/29] e1000e: Remove extra pointer indirection, Akihiko Odaki, 2023/01/31
- [PATCH v5 18/29] net: Check L4 header size, Akihiko Odaki, 2023/01/31
- [PATCH v5 19/29] e1000x: Alter the signature of e1000x_is_vlan_packet, Akihiko Odaki, 2023/01/31
- [PATCH v5 20/29] net: Strip virtio-net header when dumping, Akihiko Odaki, 2023/01/31
- [PATCH v5 21/29] hw/net/net_tx_pkt: Automatically determine if virtio-net header is used, Akihiko Odaki, 2023/01/31
- [PATCH v5 22/29] hw/net/net_rx_pkt: Remove net_rx_pkt_has_virt_hdr, Akihiko Odaki, 2023/01/31
- [PATCH v5 23/29] e1000e: Perform software segmentation for loopback, Akihiko Odaki, 2023/01/31
- [PATCH v5 24/29] hw/net/net_tx_pkt: Implement TCP segmentation, Akihiko Odaki, 2023/01/31
- [PATCH v5 26/29] e1000e: Do not assert when MSI-X is disabled later, Akihiko Odaki, 2023/01/31
- [PATCH v5 25/29] hw/net/net_tx_pkt: Check the payload length, Akihiko Odaki, 2023/01/31