Fixed a problem related to the BOARD_PHY_ADDRESS macro.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4064 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
f5ff03c303
commit
148eeef2e7
|
@ -242,7 +242,7 @@ void mac_lld_init(void) {
|
||||||
|
|
||||||
/* PHY address setup.*/
|
/* PHY address setup.*/
|
||||||
#if defined(BOARD_PHY_ADDRESS)
|
#if defined(BOARD_PHY_ADDRESS)
|
||||||
phyaddr = BOARD_PHY_ADDRESS << 11;
|
ETHD1.phyaddr = BOARD_PHY_ADDRESS << 11;
|
||||||
#else
|
#else
|
||||||
mii_find_phy(ÐD1);
|
mii_find_phy(ÐD1);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue