aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: make ethernet register map u16 instead of u32Felix Fietkau2015-03-224-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: increase NAPI weight for mt7621 to improve routing performance a bit ↵Felix Fietkau2015-03-211-3/+3
| | | | | | | | more Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix LAN/WAN MAC address for WSR-600/1166Felix Fietkau2015-03-201-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-1166 green power LEDFelix Fietkau2015-03-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7621 i2c nameJohn Crispin2015-03-171-2/+2
| | | | | | Signed-off-by: zouxf <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop 3.14 supportJohn Crispin2015-03-1675-31513/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: support change tx/rx ring sizeJohn Crispin2015-03-133-31/+52
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use random generate mac address instead of default one.John Crispin2015-03-136-10/+6
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add wifi 5g dts info for cy-swr1100John Crispin2015-03-131-1/+8
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: resize the flash partition for FireWRTJohn Crispin2015-03-121-2/+2
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: MT7621 add i2c controller driverJohn Crispin2015-03-122-1/+409
| | | | | | | | ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code. Signed-off-by: daixj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: FireWRT flash size is up to 16M.John Crispin2015-03-111-1/+1
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT IO multiplexingJohn Crispin2015-03-111-0/+8
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing symbol that broke full buildsJohn Crispin2015-03-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNFS to generic configJohn Crispin2015-03-065-5/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-065-5/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-065-5/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-067-7/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-0112-12/+0
| | | | | | | | | Most MIPS targets have it disabled, so move the symbol to the generic configs to keep target configs small. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add missing symbolJohn Crispin2015-02-221-0/+1
| | | | | | | | | Defaulting to disabled, based on the value of the (old?) CONFIG_RALINK_USBPHY Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: nexx wt3020: fix status ledJohn Crispin2015-02-221-1/+1
| | | | | | | | | | | For Nexx WT3020 board_name is wt3020, not nexx-wt3020 root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name) wt3020 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: bump to v3.18John Crispin2015-02-192-1/+101
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix the mt7628 dts fileJohn Crispin2015-02-192-10/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Buffalo WZR-AGL300NH target supportJohn Crispin2015-02-165-0/+148
| | | | | | | | | | | | | I got work with this patch. Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons. In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata. signed-off-by: ngc@ff.iij4u.or.jp —— —— git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enables rt288x PCIeJohn Crispin2015-02-163-3/+3
| | | | | | | | | | | To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong. Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus. signed-off-by: ngc@ff.iij4u.or.jp ———— ———— git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix the config filesJohn Crispin2015-02-1412-0/+1098
| | | | | | | | oops, accidently moved instead of copied them Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make the mt7621 irq core with with the new CM apiJohn Crispin2015-02-122-30/+62
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix when tx done is 0 also need to clean interrupt statusJohn Crispin2015-02-111-3/+3
| | | | | | | Signed-off-by: michael lee <igvtee@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips/mt7620: add missing config symbolNicolas Thill2015-02-111-0/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix hw status almost full not work on mt7620 and mt7621John Crispin2015-02-096-6/+31
| | | | | | | | | | | | | | 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
* ralink: change rt3883 cpu type to 74kcJohn Crispin2015-02-091-1/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Kingston MLW221 and MLWG2 cleanupJohn Crispin2015-02-094-122/+117
| | | | | | | | | | MLW221 dts use tabs NOT spaces. MLWG2 dts typo and 1 tab not spaces 01_leds and diag.sh cleanup Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi MiniJohn Crispin2015-02-091-1/+2
| | | | | | | | | This patch sets the correct location of the mt76 radio in the pcie bridge (pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add mt76 node for Lenovo Y1 and Y1S.John Crispin2015-02-091-0/+9
| | | | | | | | | Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch. Tested on Lenovo Y1. Signed-off-by: 郭传鈜 <gch981213@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add 3.18 supportJohn Crispin2015-02-0981-55/+22696
| | | | | | | | keep default as 3.14, mt7621 gic need to be ported to 3.18 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix patches after 3.14.32 bumpLuka Perkov2015-02-089-57/+54
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix USB host function for Intenso M2MJohn Crispin2015-02-031-1/+3
| | | | | | | | | | | | | | | | | | The ubootloader of the M2M sets the reset bits for both USB device and USB host during initialization (to save a few mA of power during boot). However, for the usb<->sata bridge to be properly detected, it is necessary to clear both reset bits as otherwise the kernel logs will just be filled with: usb 1-1: device descriptor read/64, error -145 ... Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: cleanup firefly default packagesJohn Crispin2015-02-021-8/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT button detailJohn Crispin2015-02-021-0/+12
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT led detailJohn Crispin2015-02-021-0/+9
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add ethernet macaddr to dts for FireWRTJohn Crispin2015-02-021-0/+5
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Xiaomi MiWiFi Mini devicesJohn Crispin2015-02-028-0/+179
| | | | | | | | | This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio wireless router based on the MediaTek MT7620a SoC. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet driver tx completion pollingFelix Fietkau2015-02-011-2/+2
| | | | | | | | | | | - budget is decremented with completed frames, so don't check if done is smaller - ACK the interrupt before processing further frames to fix a small race condition. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: check ethernet MAC address whether it is validJohn Crispin2015-01-281-1/+3
| | | | | | | | | The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff. This patch is purpose to fix this issue. Signed-off-by: wengbj <linux.c@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix ethernet feature TSO not workFelix Fietkau2015-01-247-155/+197
| | | | | | | | | | | | | | | | * 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: init tx/rx vlan offload register for mt7621Felix Fietkau2015-01-242-5/+23
| | | | | | | | | | on mt7621 don't have tx vlan vid registers. so set FE_REG_FE_DMA_VID_BASE to 0. set rx vlan offload register to disable. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use fe_max_buf_size to get rx buffer sizeFelix Fietkau2015-01-241-7/+5
| | | | | | | | | | the rx_buf_size now is 1534 when mtu is 1500. the ethernet frame with vlan tag and FCS is 1522. so the buffer is enough. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet vlan tx offload support checkFelix Fietkau2015-01-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44115 3c298f89-4303-0410-b956-a3cf2f4a3e73