macb: Fix mii_phy_read and mii_phy_write functions
authorSemih Hazar <semih.hazar@indefia.com>
Thu, 17 Dec 2009 13:07:15 +0000 (15:07 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 1 Feb 2010 06:37:12 +0000 (22:37 -0800)
commit0f751d6ef3e6fb1d28ac272c39c34831d629a59e
tree7f5c0c3a3a5ab4b08f63804fa2e3abb60778c159
parent5f6b1442218fcb6a3ef0d2be05d84119cebfe0ae
macb: Fix mii_phy_read and mii_phy_write functions

Enabling CONFIG_CMD_MII in AVR32 boards was not possible due to
compile errors.

This patch fixes miiphy_read and miiphy_write functions and
registers them properly.

Signed-off-by: Semih Hazar <semih.hazar@indefia.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/macb.c