summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-12-13 07:06:54 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-13 07:06:54 +0100
commitab377358701a981e7fae1332e76b1e5d3b3b313d (patch)
tree6c6207aa79eca7e7c1d33bbb3d0a460c7aef3b4a /drivers/net/sfc/net_driver.h
parentsfc: Use mutex_lock_interruptible() for ethtool EEPROM access (diff)
downloadlinux-ab377358701a981e7fae1332e76b1e5d3b3b313d.tar.xz
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/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index 17283293302a..7033dba87ed9 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -453,10 +453,10 @@ enum efx_int_mode {
enum phy_type {
PHY_TYPE_NONE = 0,
- PHY_TYPE_CX4_RTMR = 1,
- PHY_TYPE_1G_ALASKA = 2,
+ PHY_TYPE_TXC43128 = 1,
+ PHY_TYPE_88E1111 = 2,
PHY_TYPE_SFX7101 = 3,
- PHY_TYPE_XFP = 4,
+ PHY_TYPE_QT2022C2 = 4,
PHY_TYPE_PM8358 = 6,
PHY_TYPE_SFT9001A = 8,
PHY_TYPE_SFT9001B = 10,