mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:56:14 +02:00
ar71xx: enable has_gbit flag on AR724{0,1}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5e68925d9a
commit
f0f8408f20
@ -812,6 +812,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
|
|||||||
: ar724x_ddr_flush_ge0;
|
: ar724x_ddr_flush_ge0;
|
||||||
pdata->set_speed = id ? ar724x_set_speed_ge1
|
pdata->set_speed = id ? ar724x_set_speed_ge1
|
||||||
: ar724x_set_speed_ge0;
|
: ar724x_set_speed_ge0;
|
||||||
|
pdata->has_gbit = 1;
|
||||||
pdata->is_ar724x = 1;
|
pdata->is_ar724x = 1;
|
||||||
if (ar71xx_soc == AR71XX_SOC_AR7240)
|
if (ar71xx_soc == AR71XX_SOC_AR7240)
|
||||||
pdata->is_ar7240 = 1;
|
pdata->is_ar7240 = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user