aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ramips: Use doubletagging to disable ramips_esw vlan by default, it seems ↵Gabor Juhos2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | more reliable. Use doubletagging to disable ramips_esw vlan by default, it seems more reliable. Daniel Golle found an issue where sometimes (possibly only for RT3352) the default vlan disable method (clearing en_vlan, untag, doubletag and putting all ports into vlan 0) doesn't work and the packets get sent out vlan-tagged with vlan 0. Instead switch to using the doubletagging method (allow doubletagged packets, put all ports into vlan 0 with untag enabled) by default. Unless someone figures out a way to really globally disable vlan for this switch, this seems like the best (most reliable) option. I did some tests regarding maximum packet size and did not see any difference between the two methods, both allow for slightly bigger packets than the ramips_main.c ethernet driver (ping stops going through above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until "ping -s 1490", or about 1532 bytes). Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [x86] add missing kvm_guest kernel optionsJohn Crispin2012-09-051-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934xGabor Juhos2012-09-051-0/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add rssileds to package set in profile for devices which got them.Gabor Juhos2012-09-051-2/+2
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add rssileds to package set in profile for devices which got them.Gabor Juhos2012-09-051-1/+1
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITEFlorian Fainelli2012-09-031-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] pad squashfs imageFlorian Fainelli2012-09-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add Generic and dLAN USB Extender profilesFlorian Fainelli2012-09-033-3/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: disable MAC RX and TX during interface closeFlorian Fainelli2012-09-031-0/+5
| | | | | | Fixes sporadic crashes while reconfiguring the network interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix ap+sta issuesFelix Fietkau2012-08-297-48/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"Gabor Juhos2012-08-291-8/+1
| | | | | | That was based on assumptions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: all0315n: fix ethernet according to vendor infoGabor Juhos2012-08-291-12/+2
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/ledsGabor Juhos2012-08-291-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002Gabor Juhos2012-08-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add hwinfo of AR9280 2T2R PCIeGabor Juhos2012-08-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make built-in switch transparent for ALL0256N and ALL5002Gabor Juhos2012-08-293-3/+6
| | | | | | | | This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Power down phy on disabled switch portsGabor Juhos2012-08-291-5/+67
| | | | | | | | | | | | | | Power down phy on disabled switch ports. Haven't measured this myself yet, but according to this http://www.8devices.com/community/viewtopic.php?f=6&t=156 it can save about 300mW of power. [juhosg: fix checkpatch warning] Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for 8devices Carambola dev board.Gabor Juhos2012-08-2911-0/+62
| | | | | | | | | | | | Add support for 8devices Carambola dev board. The Carambola is a small RT3050-based development board with two ethernet ports, on-board chip antenna, usb and plenty of accessible gpio ports, sold by 8devices. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Rename POC registersGabor Juhos2012-08-291-31/+31
| | | | | | | | | | | | | | | | | | Rename POC registers. The current code uses POC1-POC3. The datasheet uses: POC1: Port Control 0 POC1: Port Control 1 POC2: Port Control 2 So the first POC1 is a typo that should have been POC0, rename the registers to POC0-POC2 accordingly. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Minor ramips_esw.c cleanupGabor Juhos2012-08-294-62/+18
| | | | | | | | | | | | Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Also removes the en_vlan per-port flag that isn't very useful really, it now is only controlled by the global enable_vlan flag. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add switch setup to uci network defaultsGabor Juhos2012-08-291-1/+26
| | | | | | | | | | | | | | Add switch setup to uci network defaults. The 'lan' attribute is used to decide into which vlan to put the port. Currently 'disable' is never set, but the intention is to use this for devices like the 8devices Carambola, which only has two ports hooked up to the SoC. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add swconfig support to ramips_esw.cGabor Juhos2012-08-292-35/+755
| | | | | | | | | | | | | | | | | | | Add swconfig support to ramips_esw.c This patch adds swconfig support for ramips_esw: Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external rtl8366rb on internal port 5). I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine with vlans and verified this on the WL-351. The current state shown by swconfig is always read directly from HW registers, new settings only show after 'swconfig dev rt305x set apply'. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw.c indentation cleanupGabor Juhos2012-08-291-11/+11
| | | | | | | | | | Minor indentation cleanup. Prepare for the main swconfig patch by cleaning up indentation a bit. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/rt2800: integrate cosmetic changes in rt3352 supportGabor Juhos2012-08-291-40/+39
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: add configration for ramips devicesGabor Juhos2012-08-292-0/+31
| | | | | | | | uboot-env settings for ALL0239-3G, ALL0256N, ALL5002. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: fix Profile name for TL-WA701 (closes #12094)Gabor Juhos2012-08-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WZR-HP-AG300H LED supportGabor Juhos2012-08-294-0/+114
| | | | | | | | | | | | | | | | | | | An improved LED support for Buffalo WZR-HP-AG300H. There will be two new packages to go with this patch (ar922x-led-fix-hotplug and ar922x-led-fix-init). These packages essentially perform the same task of disabling "JTAG over GPIO pins" function which is currently required for LEDs on AR922x emac GPIO to work, and are both considered a temporary fix that circumvent this problem. [juhosg: add the hotplug script from the proposed ar922x-led-fix-hotplug package to ar71xx/base-files] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add hwinfo for Rt3050 and maintain alphabetic orderJo-Philipp Wich2012-08-291-1/+2
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [openssl] revert threadsafe patchJohn Crispin2012-08-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: introduce "authfail" option which specifies whether pppd ↵Jo-Philipp Wich2012-08-291-1/+5
| | | | | | should attempt to re-authenticate after a failed PAP/CHAP auth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add fix to improve reliability of powersave clientsFelix Fietkau2012-08-291-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: reorganize patchesFelix Fietkau2012-08-2915-363/+349
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: fix bus ids for PHY devices (closes: #12082)Gabor Juhos2012-08-273-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile for Allnet devicesGabor Juhos2012-08-271-0/+39
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generate image for ALL0315NGabor Juhos2012-08-271-1/+20
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sysupgrade for the ALL0315NGabor Juhos2012-08-272-14/+17
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename all0258n.sh to allnet.shGabor Juhos2012-08-271-0/+0
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: add configuration for ALL0315NGabor Juhos2012-08-271-0/+1
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: detect ALL0315N boardGabor Juhos2012-08-272-0/+4
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Allnet ALL0315N boardGabor Juhos2012-08-273-0/+140
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240Gabor Juhos2012-08-271-1/+8
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a crash on accessing stale skb->dev referencesFelix Fietkau2012-08-271-0/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix PA predistortion training, fixes hang issues and most likely also ↵Felix Fietkau2012-08-271-0/+58
| | | | | | fixes #12073 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add a patch to fix ASPM related issuesFelix Fietkau2012-08-271-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)Felix Fietkau2012-08-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add support for the EON EN25Q64 SPI flash chipGabor Juhos2012-08-261-0/+10
| | | | | | It is used in some TL-WDR4310 devices. Closes #12077. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543NGabor Juhos2012-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a regression with board= kernel command line parameter incorrectly initialised. The faulty builds propogated to the snapshots download area. This makes the device unbootable and TP-Link users have to attach the serial to recover. Here is the q&d way i used to identify MIPS boards that didn't have a corresponding entry in the image/Makefile: for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \ | sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do grep -q ,$i, Makefile || echo $i; done > missing-boards.new Reported-by: Casper on IRC Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [openssl] add missin -lpthread to the util - build bots spotted thisJohn Crispin2012-08-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: fix TL-WR1043ND board id (#12079)Gabor Juhos2012-08-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/util-linux: don't lie about availability of '%ms' scanf modifierGabor Juhos2012-08-242-3/+108
| | | | | | | | | Use a patch from gentoo which allows building libmount even if the C library does not supports %ms/%as. See: https://bugs.gentoo.org/406303 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33270 3c298f89-4303-0410-b956-a3cf2f4a3e73