mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 21:09:53 +02:00
[ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13376 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b7da604466
commit
01bfb93608
@ -393,6 +393,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
|
|||||||
: ar91xx_ddr_flush_ge0;
|
: ar91xx_ddr_flush_ge0;
|
||||||
pdata->set_pll = id ? ar91xx_set_pll_ge1
|
pdata->set_pll = id ? ar91xx_set_pll_ge1
|
||||||
: ar91xx_set_pll_ge0;
|
: ar91xx_set_pll_ge0;
|
||||||
|
pdata->is_ar91xx = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AR71XX_SOC_AR9132:
|
case AR71XX_SOC_AR9132:
|
||||||
@ -400,6 +401,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
|
|||||||
: ar91xx_ddr_flush_ge0;
|
: ar91xx_ddr_flush_ge0;
|
||||||
pdata->set_pll = id ? ar91xx_set_pll_ge1
|
pdata->set_pll = id ? ar91xx_set_pll_ge1
|
||||||
: ar91xx_set_pll_ge0;
|
: ar91xx_set_pll_ge0;
|
||||||
|
pdata->is_ar91xx = 1;
|
||||||
pdata->has_gbit = 1;
|
pdata->has_gbit = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ struct ag71xx_platform_data {
|
|||||||
u8 mac_addr[ETH_ALEN];
|
u8 mac_addr[ETH_ALEN];
|
||||||
|
|
||||||
u8 has_gbit:1;
|
u8 has_gbit:1;
|
||||||
|
u8 is_ar91xx:1;
|
||||||
|
|
||||||
void (* ddr_flush)(void);
|
void (* ddr_flush)(void);
|
||||||
void (* set_pll)(u32 pll);
|
void (* set_pll)(u32 pll);
|
||||||
|
Loading…
Reference in New Issue
Block a user