mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: add some code to detect DMA stuck conditions on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -589,6 +589,8 @@ void __init ar71xx_add_device_eth(unsigned int id)
|
||||
pdata->set_pll = id ? ar724x_set_pll_ge1
|
||||
: ar724x_set_pll_ge0;
|
||||
pdata->is_ar724x = 1;
|
||||
if (ar71xx_soc == AR71XX_SOC_AR7240)
|
||||
pdata->is_ar7240 = 1;
|
||||
|
||||
if (!pdata->fifo_cfg1)
|
||||
pdata->fifo_cfg1 = 0x0010ffff;
|
||||
|
||||
@@ -29,6 +29,7 @@ struct ag71xx_platform_data {
|
||||
|
||||
u8 has_gbit:1;
|
||||
u8 is_ar91xx:1;
|
||||
u8 is_ar7240:1;
|
||||
u8 is_ar724x:1;
|
||||
u8 has_ar8216:1;
|
||||
u8 has_ar7240_switch:1;
|
||||
|
||||
Reference in New Issue
Block a user