From: Constantin Baranov Date: Thu, 19 Feb 2009 01:52:41 +0000 (-0800) Subject: niu: fix PHY template choice for 10G copper X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e0d8496a66de9eca13a88d93a5642db47e5a2b60;p=deliverable%2Flinux.git niu: fix PHY template choice for 10G copper Fixed a typo in niu_determine_phy_disposition() which resulted in phy_template_1g_copper being selected for 10G/copper configuration. Signed-off-by: Constantin Baranov Signed-off-by: David S. Miller --- diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 32374a1c123b..47fc58657890 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -2456,7 +2456,7 @@ static int niu_determine_phy_disposition(struct niu *np) case NIU_FLAGS_10G: /* 10G copper */ - tp = &phy_template_1g_copper; + tp = &phy_template_10g_copper; break; case NIU_FLAGS_FIBER: