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-d51de3d6d3f4
master
gdisirio 2012-03-31 19:01:01 +00:00
parent f5ff03c303
commit 148eeef2e7
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ void mac_lld_init(void) {
/* PHY address setup.*/
#if defined(BOARD_PHY_ADDRESS)
phyaddr = BOARD_PHY_ADDRESS << 11;
ETHD1.phyaddr = BOARD_PHY_ADDRESS << 11;
#else
mii_find_phy(&ETHD1);
#endif