]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.h
tg3: Add MDIO bus address assignments
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 13:21:36 +0000 (13:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:44:09 +0000 (00:44 -0700)
commit882e9793faa9425dff581c33b1af45ed10145626
tree82ad75d5fb45ebaaf05981baaa306c064f102e0d
parenta1b950d56de3c72bea3343f54de24c43fb7dc74e
tg3: Add MDIO bus address assignments

The 5717 is a dual port chip that has a shared MDIO bus design.  While
it is impossible for one function to interface with the wrong phy, that
function still needs to know which MDIO bus address to use when
interfacing with its own phy.  This patch adds code to determine which
MDIO bus address to use.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h