Add prefex ETH0 to all PHY configurations to support multiple NICs

This commit is contained in:
Gregory Nutt
2013-09-17 10:44:23 -06:00
parent b06216ff11
commit 9557eb70db
52 changed files with 123 additions and 123 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
/* Use MCU Pin Reset DM9161 PHY Chip */
#ifdef CONFIG_PHY_DM9161
#ifdef CONFIG_ETH0_PHY_DM9161
# define GPIO_DM9161_RET (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|GPIO_OUTPUT_SET|\
GPIO_PORTB|GPIO_PIN15)
#endif
+1 -1
View File
@@ -58,7 +58,7 @@
* Public Functions
************************************************************************************/
#if defined(CONFIG_PHY_DM9161) && defined(CONFIG_STM32_PHYINIT)
#if defined(CONFIG_ETH0_PHY_DM9161) && defined(CONFIG_STM32_PHYINIT)
int stm32_phy_boardinitialize(int intf)
{
/* Configure the DM9161 PHY reset pin and take it out of reset */