aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
Commit message (Collapse)AuthorAgeFilesLines
* ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controllerAlexander Couzens2021-06-251-8/+0
| | | | | | | | The dts defines the reset fe for all architectures. However the soc code used direct register access of the reset controller. Replace the custom soc reset with a generic fe_reset_fe(). Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ramips: ethernet: ralink: add struct fe_priv as context to fe_reset()Alexander Couzens2021-06-251-1/+1
| | | | | | | | The fe_reset function direct access the reset controller instead using the reset controller api. In preparation to use the reset controller. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ramips: move and rename out-of-tree mtk eth driverChuanhong Guo2020-04-121-0/+76
| | | | | | | move the driver into shared 'files' directory and rename all symbols from mediatek/mtk to ralink. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ralink: drop old ethernet driverJohn Crispin2015-12-171-79/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47899
* ralink: use random generate mac address instead of default one.John Crispin2015-03-131-1/+0
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44740
* ralink: fix hw status almost full not work on mt7620 and mt7621John Crispin2015-02-091-0/+1
| | | | | | | | | | | | | | 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> SVN-Revision: 44371
* ralink: fix ethernet feature TSO not workFelix Fietkau2015-01-241-1/+0
| | | | | | | | | | | | | | | | * fix TSO features verify on mt7621 firewrt board * improve tx clean up. no need to access uncached memory. also use TX_DTX register instead of read tx ring DONE bit * mt7621 need napi weight 64 to get more performance * remove netif_receive_skb, after kernel version 3.7 tcp4_gro_receive can handle tcp checksum. on rt2880 use iperf tcp LAN to WAN throughput test. with gro 135 Mbits/sec. without gro 80.4Mbits/sec. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44118
* ralink: use fe_reset to control all resetFelix Fietkau2015-01-181-2/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44044
* ramips: remove interrupt coalescing, it is unnecessary with napi polling and ↵Felix Fietkau2015-01-131-2/+2
| | | | | | | | could reduce throughput Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43952
* ralink: move ethernet driver to files/John Crispin2014-11-061-0/+81
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43194