bnx2x: Add known PHY type check
authorYaniv Rosner <yanivr@broadcom.com>
Mon, 28 Nov 2011 00:49:50 +0000 (00:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 00:02:24 +0000 (19:02 -0500)
commit6db5193b29642ab18e6343c8fcbc3417d6e80983
treea4a33329dffdac783289019eb09d04d6492ce367
parentec15b898a4a812e89a63b8e52bc11d4e84d74db1
bnx2x: Add known PHY type check

The populate function will fail in case an unknown external PHY is detected.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c