From 3cbbff60f22600092f2259b4b70fb446f726913e Mon Sep 17 00:00:00 2001 From: edolomb Date: Fri, 13 Apr 2018 12:56:21 +0000 Subject: Fixed phy address at 0 for SAMA5D28 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11921 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'os/hal/ports/SAMA') diff --git a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c index b1f9c15ac..862a7618c 100644 --- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c +++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c @@ -52,6 +52,13 @@ #error "MCK too high, cannot configure MDC clock" #endif +/* + * BV1000GT boards use phy address 0 + */ +#if defined(BOARD_ATSAM5D28_XULT) +#define BOARD_PHY_ADDRESS 0 +#endif + /*===========================================================================*/ /* Driver exported variables. */ /*===========================================================================*/ -- cgit v1.2.3