net: eth: altera: Change access ports to mdio for all xMII applications
authorVince Bridgers <vbridger@opensource.altera.com>
Thu, 12 Feb 2015 16:47:33 +0000 (10:47 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 20:23:42 +0000 (15:23 -0500)
commita923fc730fdbbf079eadfe2b9a1644971bd95793
treedda5119ba0d2f3e2a9c0a724abc76518530ae6bf
parenta53c4bf7f27f043564f5bdace12405c54265cb66
net: eth: altera: Change access ports to mdio for all xMII applications

Change use of Altera TSE's MDIO access from phy 0 registers to phy 1
registers. This allows support for GMII, MII, RGMII, and SGMII
designs where the external PHY is always accesible through
Altera TSE's MDIO phy 1 registers and Altera's PCS is accessible
through MDIO phy 0 registers for SGMII applications.

Signed-off-by: Vince Bridgers <vbridger@opensource.altera.com>
Tested-by: Kai Lin Ng <kailng@altera.com>
Tested-by: Dalon Westergreen <dwesterg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c