summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c
Commit message (Collapse)AuthorAgeFilesLines
* ramips: make ethernet register map u16 instead of u32Felix Fietkau2015-03-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44940
* ralink: use random generate mac address instead of default one.John Crispin2015-03-131-2/+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-2/+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-5/+2
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44044
* ralink: improve tx_timeout functionFelix Fietkau2015-01-181-0/+2
| | | | | | | | | | * use default timeout value * print more debug ring info * move timeout reset function to workqueue Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44043
* ralink: reduce access to uncached tx/rx dma ring bufferFelix Fietkau2015-01-181-2/+2
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 44041
* ramips: remove interrupt coalescing, it is unnecessary with napi polling and ↵Felix Fietkau2015-01-131-4/+4
| | | | | | | | could reduce throughput Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43952
* ralink: update ethernet driver to use new ralink_soc variableJohn Crispin2014-11-141-15/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43247
* ralink: add support for mt7621 ethernetJohn Crispin2014-11-121-0/+1
| | | | | | | | somehow all switch ports still come up as 10mbit. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43237
* ralink: mt7628 does not actually need this fix for the ethernet driverJohn Crispin2014-11-071-3/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43206
* ralink: add mt7628 support to the ethernet driverJohn Crispin2014-11-061-0/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43196
* ralink: move ethernet driver to files/John Crispin2014-11-061-0/+161
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43194