diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-03 11:00:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-03 11:00:10 +0000 |
commit | 7efa59601a9dcbac4f28daac847c6d246ac016a6 (patch) | |
tree | 6a7350741f16325057fe2fe864701bd98b86cf1b /os | |
parent | 71f5e32cd81a3405f622cb4c9c2e6c0302a2a97f (diff) | |
download | ChibiOS-7efa59601a9dcbac4f28daac847c6d246ac016a6.tar.gz ChibiOS-7efa59601a9dcbac4f28daac847c6d246ac016a6.tar.bz2 ChibiOS-7efa59601a9dcbac4f28daac847c6d246ac016a6.zip |
Modified to use SYSCFG_PMC_MII_RMII_SEL instead of the obsolete SYSCFG_PMC_MII_RMII.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4014 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/mac_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/mac_lld.c b/os/hal/platforms/STM32/mac_lld.c index 669c4ad94..849c7a39e 100644 --- a/os/hal/platforms/STM32/mac_lld.c +++ b/os/hal/platforms/STM32/mac_lld.c @@ -226,9 +226,9 @@ void mac_lld_init(void) { #endif
#elif defined(STM32F2XX) || defined(STM32F4XX)
#if defined(BOARD_PHY_RMII)
- SYSCFG->PMC |= SYSCFG_PMC_MII_RMII;
+ SYSCFG->PMC |= SYSCFG_PMC_MII_RMII_SEL;
#else
- SYSCFG->PMC &= ~SYSCFG_PMC_MII_RMII;
+ SYSCFG->PMC &= ~SYSCFG_PMC_MII_RMII_SEL;
#endif
#else
#error "unsupported STM32 platform for MAC driver"
|