summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
authorBen Hutchings2008-12-13 07:06:54 +0100
committerDavid S. Miller2008-12-13 07:06:54 +0100
commitab377358701a981e7fae1332e76b1e5d3b3b313d (patch)
tree6c6207aa79eca7e7c1d33bbb3d0a460c7aef3b4a /drivers/net/sfc/falcon.c
parentsfc: Use mutex_lock_interruptible() for ethtool EEPROM access (diff)
downloadkernel-qcow2-linux-ab377358701a981e7fae1332e76b1e5d3b3b313d.tar.gz
kernel-qcow2-linux-ab377358701a981e7fae1332e76b1e5d3b3b313d.tar.xz
kernel-qcow2-linux-ab377358701a981e7fae1332e76b1e5d3b3b313d.zip
sfc: Use model numbers for PHY type names
Some of the PHY type names are overly generic. Change them to include the model numbers of the PHYs they represent. Correct the model number reference at the top of xfp_phy.c. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 13627a64bce1..df844defc0a9 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -2252,7 +2252,7 @@ static int falcon_probe_phy(struct efx_nic *efx)
case PHY_TYPE_SFT9001B:
efx->phy_op = &falcon_sft9001_phy_ops;
break;
- case PHY_TYPE_XFP:
+ case PHY_TYPE_QT2022C2:
efx->phy_op = &falcon_xfp_phy_ops;
break;
default: