]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement the phy-mode property for ate and macb. If it is set to
authorWarner Losh <imp@FreeBSD.org>
Sat, 7 Nov 2015 22:52:06 +0000 (22:52 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 7 Nov 2015 22:52:06 +0000 (22:52 +0000)
commit75356199771852f50abc874b9667d49b1b9fd6da
tree2a5495cb5821c90fc94430cdd57401208f3eb393
parentf602321ba747869b925038a697c214c1c8fc27f8
Implement the phy-mode property for ate and macb. If it is set to
"rmii", use rmii mode for the MAC, otherwise use MII mode. The code is
somewhat duplicated between these drivers for this.

Also, add AT91RM9200 compatibility strings to the ate driver. In the
future, there's a good chance that ate will lose the MACB support and
only attach to the AT91RM9200 EMAC device since the macb works now
that RMII support has been added to it.
sys/arm/at91/if_ate.c
sys/arm/at91/if_macb.c