diff options
author | Jingchang Lu <b35083@freescale.com> | 2013-04-11 17:12:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-12 18:25:36 -0400 |
commit | ca7c4a45d132c7e135cc182aa8479ffaf7122704 (patch) | |
tree | 8cf536fa6c2bb22da1bbc72f8aa9408a9cac4146 /drivers/net/ethernet/freescale/fec_main.c | |
parent | bbeae58c291a3dedc0b7ae9ffbc8763ed63fcd7f (diff) |
ethernet/fec: Add Vybrid family fec support
Freescale Vybrid platform implentments MAC-ENET core
providing compatibility with half- or full-duplex
10/100 Mbit/s Ethernet LANs.
Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 621d07565dce..befdf78b3f69 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -106,6 +106,9 @@ static struct platform_device_id fec_devtype[] = { | |||
106 | .driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT | | 106 | .driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT | |
107 | FEC_QUIRK_HAS_BUFDESC_EX, | 107 | FEC_QUIRK_HAS_BUFDESC_EX, |
108 | }, { | 108 | }, { |
109 | .name = "mvf-fec", | ||
110 | .driver_data = FEC_QUIRK_ENET_MAC, | ||
111 | }, { | ||
109 | /* sentinel */ | 112 | /* sentinel */ |
110 | } | 113 | } |
111 | }; | 114 | }; |
@@ -116,6 +119,7 @@ enum imx_fec_type { | |||
116 | IMX27_FEC, /* runs on i.mx27/35/51 */ | 119 | IMX27_FEC, /* runs on i.mx27/35/51 */ |
117 | IMX28_FEC, | 120 | IMX28_FEC, |
118 | IMX6Q_FEC, | 121 | IMX6Q_FEC, |
122 | MVF_FEC, | ||
119 | }; | 123 | }; |
120 | 124 | ||
121 | static const struct of_device_id fec_dt_ids[] = { | 125 | static const struct of_device_id fec_dt_ids[] = { |
@@ -123,6 +127,7 @@ static const struct of_device_id fec_dt_ids[] = { | |||
123 | { .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], }, | 127 | { .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], }, |
124 | { .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], }, | 128 | { .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], }, |
125 | { .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], }, | 129 | { .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], }, |
130 | { .compatible = "fsl,mvf-fec", .data = &fec_devtype[MVF_FEC], }, | ||
126 | { /* sentinel */ } | 131 | { /* sentinel */ } |
127 | }; | 132 | }; |
128 | MODULE_DEVICE_TABLE(of, fec_dt_ids); | 133 | MODULE_DEVICE_TABLE(of, fec_dt_ids); |