diff options
author | Constantin Baranov <baranov@mercdev.com> | 2009-02-18 17:52:41 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-18 17:52:41 -0800 |
commit | e0d8496a66de9eca13a88d93a5642db47e5a2b60 (patch) | |
tree | 04ed19a71b43601e6205e5043be2affabdcc92c3 | |
parent | ff2ef9021ea16188dbb355707fd31f6cf1a42ef7 (diff) | |
download | op-kernel-dev-e0d8496a66de9eca13a88d93a5642db47e5a2b60.zip op-kernel-dev-e0d8496a66de9eca13a88d93a5642db47e5a2b60.tar.gz |
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 32374a1..47fc586 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: |