aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-23 04:33:42 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-24 07:27:28 -0400
commitb37b62fea1d1bf68ca51818f8eb1035188efd030 (patch)
tree13a0d5822c5d12cb86b1750f63e74ed0d53ceba4 /drivers/net/sfc/falcon.c
parentfc2b5e673fceece2bbc153fe8c63c8cf93cfe611 (diff)
sfc: Rename 'xfp' file and functions to reflect reality
The 'XFP' driver is really a driver for the QT2022C2 and QT2025C PHYs, covering both more and less than XFP. Rename its functions and constants to reflect reality and to reduce namespace pollution when sfc is a built-in driver. 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 d9ce21edfa6a..8776432f683c 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -2239,7 +2239,7 @@ int falcon_probe_port(struct efx_nic *efx)
2239 break; 2239 break;
2240 case PHY_TYPE_QT2022C2: 2240 case PHY_TYPE_QT2022C2:
2241 case PHY_TYPE_QT2025C: 2241 case PHY_TYPE_QT2025C:
2242 efx->phy_op = &falcon_xfp_phy_ops; 2242 efx->phy_op = &falcon_qt202x_phy_ops;
2243 break; 2243 break;
2244 default: 2244 default:
2245 EFX_ERR(efx, "Unknown PHY type %d\n", 2245 EFX_ERR(efx, "Unknown PHY type %d\n",