ar71xx: enable has_gbit flag on AR724{0,1}
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Nov 2011 17:36:36 +0000 (17:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Nov 2011 17:36:36 +0000 (17:36 +0000)
SVN-Revision: 29026

target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

index 109dda585359fe6b0afa8a83504ff8b2123e7d03..848c4dd4b88ebec211d668dc1b875749af63ac29 100644 (file)
@@ -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;