[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 1/9] hw/net/xilinx_axienet: Auto-clear PHY Autoneg
From: |
Francisco Iglesias |
Subject: |
Re: [PATCH v1 1/9] hw/net/xilinx_axienet: Auto-clear PHY Autoneg |
Date: |
Mon, 4 May 2020 17:29:30 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On [2020 Apr 30] Thu 18:24:31, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <address@hidden>
>
> Auto-clear PHY CR Autoneg bits. This makes this model
> work with recent Linux kernels.
>
> Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Francisco Iglesias <address@hidden>
> ---
> hw/net/xilinx_axienet.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c
> index 704788811a..0f97510d8a 100644
> --- a/hw/net/xilinx_axienet.c
> +++ b/hw/net/xilinx_axienet.c
> @@ -149,8 +149,8 @@ tdk_write(struct PHY *phy, unsigned int req, unsigned int
> data)
> break;
> }
>
> - /* Unconditionally clear regs[BMCR][BMCR_RESET] */
> - phy->regs[0] &= ~0x8000;
> + /* Unconditionally clear regs[BMCR][BMCR_RESET] and auto-neg */
> + phy->regs[0] &= ~0x8200;
> }
>
> static void
> --
> 2.20.1
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v1 1/9] hw/net/xilinx_axienet: Auto-clear PHY Autoneg,
Francisco Iglesias <=