[ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / platform.c
index b2add194f70be1373490dda30c399bc2eafbb45d..09e6b2b78f6eba3c2db09a63f0bc1d5942e2f108 100644 (file)
@@ -393,6 +393,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
                                      : ar91xx_ddr_flush_ge0;
                pdata->set_pll =  id ? ar91xx_set_pll_ge1
                                     : ar91xx_set_pll_ge0;
+               pdata->is_ar91xx = 1;
                break;
 
        case AR71XX_SOC_AR9132:
@@ -400,6 +401,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
                                      : ar91xx_ddr_flush_ge0;
                pdata->set_pll =  id ? ar91xx_set_pll_ge1
                                      : ar91xx_set_pll_ge0;
+               pdata->is_ar91xx = 1;
                pdata->has_gbit = 1;
                break;