summaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
authorConstantin Baranov <baranov@mercdev.com>2009-02-18 17:52:41 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-18 17:52:41 -0800
commite0d8496a66de9eca13a88d93a5642db47e5a2b60 (patch)
tree04ed19a71b43601e6205e5043be2affabdcc92c3 /drivers/net/niu.c
parentff2ef9021ea16188dbb355707fd31f6cf1a42ef7 (diff)
downloadblackbird-op-linux-e0d8496a66de9eca13a88d93a5642db47e5a2b60.tar.gz
blackbird-op-linux-e0d8496a66de9eca13a88d93a5642db47e5a2b60.zip
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 <baranov@mercdev.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r--drivers/net/niu.c2
1 files changed, 1 insertions, 1 deletions
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:
OpenPOWER on IntegriCloud