summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-13 17:36:36 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-13 17:36:36 +0000
commit368bbc510bb8d3089291380a9b8ba7ff330c5fe8 (patch)
tree15e33d1a72a63e1f868031183289caaf9d4df220 /target/linux/ar71xx
parent15d7016c9f5e8599ee9507d4f9ee40f8ee8d2405 (diff)
downloadmtk-20170518-368bbc510bb8d3089291380a9b8ba7ff330c5fe8.zip
mtk-20170518-368bbc510bb8d3089291380a9b8ba7ff330c5fe8.tar.gz
mtk-20170518-368bbc510bb8d3089291380a9b8ba7ff330c5fe8.tar.bz2
ar71xx: enable has_gbit flag on AR724{0,1}
SVN-Revision: 29026
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
index 109dda5..848c4dd 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@ -812,6 +812,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
: ar724x_ddr_flush_ge0;
pdata->set_speed = id ? ar724x_set_speed_ge1
: ar724x_set_speed_ge0;
+ pdata->has_gbit = 1;
pdata->is_ar724x = 1;
if (ar71xx_soc == AR71XX_SOC_AR7240)
pdata->is_ar7240 = 1;