ralink: fix hw status almost full not work on mt7620 and mt7621
the old FE_INT_STATUS register becomes two registers. FE_INT_STATUS and INT_STATUS. so the hw status almost full must change to read from FE_INT_STATUS register. tx/rx done read from INT_STATUS register. mt7620 datasheet define CNT_GDM1_AF at BIT(29). but after test it should be BIT(13). why? Signed-off-by:michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44371 3c298f89-4303-0410-b956-a3cf2f4a3e73
Showing
- target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c 13 additions, 6 deletions...ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
- target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.h 2 additions, 0 deletions...ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.h
- target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c 13 additions, 0 deletions...nux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c
- target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c 1 addition, 0 deletions...nux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
- target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c 1 addition, 0 deletions...nux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c
- target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c 1 addition, 0 deletions...nux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c
Loading
Please register or sign in to comment