diff options
Diffstat (limited to 'drivers/of/of_net.c')
-rw-r--r-- | drivers/of/of_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index cc117db05891..bb184717588f 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c | |||
@@ -16,6 +16,7 @@ | |||
16 | * device driver can get phy interface from device tree. | 16 | * device driver can get phy interface from device tree. |
17 | */ | 17 | */ |
18 | static const char *phy_modes[] = { | 18 | static const char *phy_modes[] = { |
19 | [PHY_INTERFACE_MODE_NA] = "", | ||
19 | [PHY_INTERFACE_MODE_MII] = "mii", | 20 | [PHY_INTERFACE_MODE_MII] = "mii", |
20 | [PHY_INTERFACE_MODE_GMII] = "gmii", | 21 | [PHY_INTERFACE_MODE_GMII] = "gmii", |
21 | [PHY_INTERFACE_MODE_SGMII] = "sgmii", | 22 | [PHY_INTERFACE_MODE_SGMII] = "sgmii", |
@@ -26,6 +27,7 @@ static const char *phy_modes[] = { | |||
26 | [PHY_INTERFACE_MODE_RGMII_RXID] = "rgmii-rxid", | 27 | [PHY_INTERFACE_MODE_RGMII_RXID] = "rgmii-rxid", |
27 | [PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid", | 28 | [PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid", |
28 | [PHY_INTERFACE_MODE_RTBI] = "rtbi", | 29 | [PHY_INTERFACE_MODE_RTBI] = "rtbi", |
30 | [PHY_INTERFACE_MODE_SMII] = "smii", | ||
29 | }; | 31 | }; |
30 | 32 | ||
31 | /** | 33 | /** |