diff options
author | Constantin Baranov <baranov@mercdev.com> | 2009-02-18 20:52:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-18 20:52:41 -0500 |
commit | e0d8496a66de9eca13a88d93a5642db47e5a2b60 (patch) | |
tree | 04ed19a71b43601e6205e5043be2affabdcc92c3 | |
parent | ff2ef9021ea16188dbb355707fd31f6cf1a42ef7 (diff) |
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>
-rw-r--r-- | drivers/net/niu.c | 2 |
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) | |||
2456 | 2456 | ||
2457 | case NIU_FLAGS_10G: | 2457 | case NIU_FLAGS_10G: |
2458 | /* 10G copper */ | 2458 | /* 10G copper */ |
2459 | tp = &phy_template_1g_copper; | 2459 | tp = &phy_template_10g_copper; |
2460 | break; | 2460 | break; |
2461 | 2461 | ||
2462 | case NIU_FLAGS_FIBER: | 2462 | case NIU_FLAGS_FIBER: |