net: fec_mxc: change fec_mii_setspeed parameter
authorTroy Kisky <troy.kisky@boundarydevices.com>
Mon, 22 Oct 2012 16:40:41 +0000 (16:40 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2013 05:57:50 +0000 (06:57 +0100)
commit575c5cc06f63d02fda73c7b29c6d782de4df6393
tree78cf2c030342131025743e69fc4b35a612cc50be
parent09439c3197bb19e091ce160b398451517a8fe1b0
net: fec_mxc: change fec_mii_setspeed parameter

Only the hardware ethernet registers are needed
for this function, so don't pass the more general
structure. I'm trying to separate MII and fec.

This also fixes MX28 fec_mii_setspeed use on secondary ethernet port

This was found by inspection of the code and should be
checked on real hardware.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/net/fec_mxc.c