[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 11/16] hw/net: cadence_gem: Add a new 'phy-addr' property
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 11/16] hw/net: cadence_gem: Add a new 'phy-addr' property |
Date: |
Tue, 1 Sep 2020 11:43:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/1/20 3:39 AM, Bin Meng wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> At present the PHY address of the PHY connected to GEM is hard-coded
> to either 23 (BOARD_PHY_ADDRESS) or 0. This might not be the case for
> all boards. Add a new 'phy-addr' property so that board can specify
> the PHY address for each GEM instance.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - change "phy-addr" default value to BOARD_PHY_ADDRESS
>
> include/hw/net/cadence_gem.h | 2 ++
> hw/net/cadence_gem.c | 5 +++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH v3 11/16] hw/net: cadence_gem: Add a new 'phy-addr' property,
Philippe Mathieu-Daudé <=