aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ralink: add a new global ralink_soc variableJohn Crispin2014-11-141-0/+230
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43248
* ralink: update ethernet driver to use new ralink_soc variableJohn Crispin2014-11-142-42/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43247
* ralink: fix the 10mbit bug on mt7621John Crispin2014-11-141-1/+1
| | | | | | | | a missing "val =" caused the AN bit in the phy0 reg to be flushed. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43246
* ralink: improve mt7530 supportJohn Crispin2014-11-141-2/+16
| | | | | | | | the SDK does a bit of extra init that we did not do yet when using an external mt7530. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43245
* ralink: add support for WSR-600/1166John Crispin2014-11-147-1/+317
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43244
* ralink: mt7621 has a different base addr for PVIDJohn Crispin2014-11-141-1/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43243
* ralink: drop some unused code from pci-mt7620aJohn Crispin2014-11-141-18/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43242
* ralink: fix up dts for mt7621 eval boardJohn Crispin2014-11-124-26/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43238
* ralink: add support for mt7621 ethernetJohn Crispin2014-11-1210-6109/+342
| | | | | | | | somehow all switch ports still come up as 10mbit. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43237
* ralink: more mt7530 fixesJohn Crispin2014-11-111-2/+2
| | | | | | | | make 1166 wan port work. this broke due to the esw_polling bug Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43236
* ralink: fix mdio polling of external phys if only 1 phy existsJohn Crispin2014-11-111-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43235
* ralink: remove IC plus phy driverJohn Crispin2014-11-111-1/+0
| | | | | | | | this driver confuses some boards Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43234
* ralink: DCS-930: enable soundLuka Perkov2014-11-111-0/+1
| | | | | | | | Camera has microphone; in order to use it by default enable sound support. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43232
* ralink: update DCS-930 dtsLuka Perkov2014-11-111-26/+4
| | | | | | | | | * read MAC address from factory partition * remove port defines since there is only one port (most likely C/P error) Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43231
* ramips: fix initramfs image build handlingFelix Fietkau2014-11-081-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43219
* ramips: add eeprom data for 802.11ac wlan on WHR-1166DFelix Fietkau2014-11-081-0/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43218
* ramips: add missing size/address-cells to device tree include filesFelix Fietkau2014-11-082-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43217
* ralink: fix a regression that broke pcie on mt7621John Crispin2014-11-081-8/+11
| | | | | | | | i accidentally dropped 2 lines while adding mt7628 support Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43216
* ramips: enable sysupgrade for whr-600d, whr-1166dFelix Fietkau2014-11-081-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43213
* ralink: fix the compat string for mt7620a pciJohn Crispin2014-11-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43211
* ralink: assign default ranges inside the pci driverJohn Crispin2014-11-071-14/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43207
* 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: improve r43200John Crispin2014-11-063-5/+10
| | | | | | | | | r43200 tries to detect if the fixup is needed or not. control the behaviour via OF instead and disable unused ports. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43201
* ralink: only apply ephy1 fixup if the phy is presentJohn Crispin2014-11-061-35/+40
| | | | | | | | this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43200
* ralink: tweak e1700 dts fileJohn Crispin2014-11-061-2/+0
| | | | | | | | the current driver code wont know which mt7530 to apply the llllw setting to. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43199
* ralink: make pci driver handle mt7628John Crispin2014-11-063-94/+139
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43198
* ralink: add support for mt7628John Crispin2014-11-0611-4/+518
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43197
* ralink: add mt7628 support to the ethernet driverJohn Crispin2014-11-062-1/+85
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43196
* ralink: cleanup ethernet Makefile/KconfigJohn Crispin2014-11-064-9/+38
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43195
* ralink: move ethernet driver to files/John Crispin2014-11-0622-6063/+5909
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43194
* add support for the Linksys E1700Imre Kaloz2014-11-057-0/+178
| | | | SVN-Revision: 43186
* ralink: add pci bidge node to mt7620a dts fileJohn Crispin2014-11-031-0/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43172
* ralink: fix wan port on whr-1166John Crispin2014-11-032-4/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43171
* ramips: add support for Airlink101 AR670WJohn Crispin2014-11-038-3/+147
| | | | | | | | | | This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader is a hacked u-Boot that reads an LZMA image directly, so we skip generating the uImage header and enable the lzma mtdsplit parser. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43153
* ralink: make sure a mii_bus is loaded before accesing its stateJohn Crispin2014-10-301-4/+4
| | | | | | | | this caused a crash on boot Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43120
* ralink: load mt7530 driver on the 3 buffalo unitsJohn Crispin2014-10-301-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43119
* ralink: mt7530 - force wan port upJohn Crispin2014-10-301-5/+14
| | | | | | | | some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43117
* ralink: fix mt7530 for newer silicon revisionsJohn Crispin2014-10-301-10/+7
| | | | | | | | latest mt7530 silicon seems to have a different phy id. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43113
* ramips: improve ralink ethernet driverJohn Crispin2014-10-291-458/+1434
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change list: * add tx scatter gather function. * add software rx vlan offload to let GRO work. * add jumbo frame support. because use build_skb so max MTU is 3812. * enable hardware tx vlan. * enable GRO and remove LRO. because it can improve performance and can work on forwarding. * enable/fix tx padding function. * let napi handle tx clean up. * support ethtool operation. now support message level, hardware status and coalesce. * ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it. Notes: * build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a. * TCP NAT performance improve. test with netperf. - rt2880(gigabit) from 5x to 12x Mbps. - rt3x5x from 6x to 94 Mbps. - rt5250 from 5x to 8x Mbps. - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame. - mt7620 still 94Mbps. * TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 43108
* ralink: fix switch config on mt7530 evbJohn Crispin2014-10-292-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43105
* ralink: fix a off by 4 bug in mt7530John Crispin2014-10-291-63/+112
| | | | | | | | 0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43104
* ramips: add support for A5-V11 board (resubmit)John Crispin2014-10-297-0/+152
| | | | | | | | | | (Reposted due to an issue with the patchwork server during original submission) Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key) Signed-off-by: Gareth Bryan <gareth@mx9.org> SVN-Revision: 43102
* ramips: fix filenames in PorayDualSize factory imagesJohn Crispin2014-10-261-2/+2
| | | | SVN-Revision: 43073
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* ramips: add comments for image/Makefile.John Crispin2014-10-201-1/+20
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42991
* firmware-utils: restore compilation of mkhilinkfw.John Crispin2014-10-201-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42989
* ramips: add support for Nexx WT3020 devicesJohn Crispin2014-10-208-0/+213
| | | | SVN-Revision: 42983
* ramips: sort boards in upgrade/platform.sh alphabeticallyJohn Crispin2014-10-201-18/+18
| | | | SVN-Revision: 42982
* ramips: fix usercfg partition offset for WHR-1166DFelix Fietkau2014-10-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42958
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-142-2/+2
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911