Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117562
b: refs/heads/master
c: 198f293
h: refs/heads/master
v: v3
  • Loading branch information
Mark Jackson authored and Haavard Skinnemoen committed Oct 13, 2008
1 parent c25a7ed commit 51c61e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45c349b58c58f3922bfdec917aa30ff8425caa3f
refs/heads/master: 198f29358a31cdca1a496d19da90bd5d6c8527ce
4 changes: 4 additions & 0 deletions trunk/arch/avr32/mach-at32ap/at32ap700x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,9 @@ at32_add_device_eth(unsigned int id, struct eth_platform_data *data)
pin_mask |= (1 << 11); /* RXD2 */
pin_mask |= (1 << 12); /* RXD3 */
pin_mask |= (1 << 14); /* RXCK */
#ifndef CONFIG_BOARD_MIMC200
pin_mask |= (1 << 18); /* SPD */
#endif
}

select_peripheral(PIOC, pin_mask, PERIPH_A, 0);
Expand All @@ -1112,8 +1114,10 @@ at32_add_device_eth(unsigned int id, struct eth_platform_data *data)
pin_mask |= (1 << 3); /* MDC */
pin_mask |= (1 << 2); /* MDIO */

#ifndef CONFIG_BOARD_MIMC200
if (!data->is_rmii)
pin_mask |= (1 << 15); /* SPD */
#endif

select_peripheral(PIOD, pin_mask, PERIPH_B, 0);

Expand Down

0 comments on commit 51c61e5

Please sign in to comment.