]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
phylib: Use common page register definition for Marvell PHYs.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 19 Nov 2010 11:58:52 +0000 (11:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2010 16:34:22 +0000 (08:34 -0800)
commit27d916d680e7b324087a75d080f215e7c34a4e8f
treefd8d18ea66aff66afd600f83bb3d2217002d2b32
parent84cf7029b63ca3eef823438a29ceb5ba139b883a
phylib: Use common page register definition for Marvell PHYs.

The definition of the Marvell PHY page register is not specific to
88E1121, so rename the macro to MII_MARVELL_PHY_PAGE, and use it
throughout.

Suggested-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Cyril Chemparathy <cyril@ti.com>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c