summaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ramips: rename rt3352 usb platform devicesjuhosg2012-08-121-2/+2
| | | | | | | | | In order to get OHCI/EHCI working on the Rt3352, the platform device must be named so rt3883-?hci will recognize it. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: watchdog: use maximum possible timeout by defaultjuhosg2012-08-121-6/+6
| | | | | | | | | | | | | As the userspace has no means to determine the maximum possible timeout, use that as the default and let the userspace lower it when necessary. As the result the usual OpenWrt install (with busybox's watchdog trying to set the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at 384MHz instead of the current 20s default. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: provide means to specify custom "image name" for uImages, use for ↵juhosg2012-08-121-4/+5
| | | | | | | | | | | DIR-620 D-Link's DIR-620 allows to flash a uImage directly from its web-interface but for that the image name should be set to DIR_620. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add D-Link DIR-620 A1 supportjuhosg2012-08-1210-6/+81
| | | | | | | | | | | | Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: use __meminit annotation for crashlog_init_memblockjuhosg2012-08-121-3/+3
| | | | | | | | | | | | | | | Fixes this section mismatch warning: WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference from the function memblock_insert_region() to the function .init.text:crashlog_init_memblock() The function __meminit memblock_insert_region() references a function __init crashlog_init_memblock(). If crashlog_init_memblock is only used by memblock_insert_region then annotate crashlog_init_memblock with a matching annotation. Also, remove the __init annotations from 'include/linux/crashlog.h' git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] only support 128KiB erase block sizesflorian2012-08-111-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] disable PCI supportflorian2012-08-113-33/+5
| | | | | | None of the boards we support have PCI connectors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] strip a bit more the kernel configflorian2012-08-111-24/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] properly advertise OHCI and EHCI capabilitiesflorian2012-08-111-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] change partition names to be more in line with other OpenWrt devicesflorian2012-08-111-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] generate upgrade files suffixed with filesystem typeflorian2012-08-111-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: delay call to napi_start() until fully able to process RXflorian2012-08-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] set a compatible command-line to boot from flashflorian2012-08-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: increase delay after switch hw resetjuhosg2012-08-101-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix hard reset of alix/soekris hardware under heavy NIC loadjow2012-08-091-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch corrects a hard reset that occurs on alix and soekris net5501 hardware. Specifically, this is an issue with the via rhine NIC driver. Under periods of extreme load, the via rhine driver can cause a reset of the entire system. When this happens no output is seen on the console, the device simply reboots. This was reported in the following ticket: Consistent crash on Soekris NET5501 https://dev.openwrt.org/ticket/11882 I was able to reproduce the problem locally with numerous alix 2d13 platforms. Under heavy 64 byte frame size load from a Smartbits traffic generator, the alix hardware will hard reset in under 5 minutes. The same hardware, under the same load, on FreeBSD 9.0 does not reset. The patch below backports most of the via rhine changes from kernel 3.5. With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring these changes in to avoid this serious issue. I've tested this heavily in my test environment and was able to keep the device stable under load for extended periods of time without any resets. Also, a nice side effect of this change is that it significantly raises the performance the platform. Without this patch the alix 2d13 can move approximately 29,000 packets per second at 64 byte frame sizes. After this patch the alix can move 52,000 packets per second at 64 byte frame sizes. I put this patch under the x86 patches as those are the only platforms with via rhine hardware that I'm aware of. If it needs to go some place else please let me know. Thanks, Adam Signed-off-by: Adam Gensler <openwrt@kristenandadam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointersflorian2012-08-091-2/+2
| | | | | | Thanks Gabor for spotting this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: rework PHY interrupt configuration to avoid racesflorian2012-08-081-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: close possible race condition during startflorian2012-08-081-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: unmap the DMA buffer when closing deviceflorian2012-08-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: check dma_map_single address return valuesflorian2012-08-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] build a Devolo dLAN USB Extender specific imageflorian2012-08-081-1/+8
| | | | | | | The kernel has to be rounded up to the nearest 1MB, then we append the root filesystem at its end. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] cleanup image generationflorian2012-08-081-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] pci gpio mappingblogic2012-08-081-4/+4
| | | | | | | | This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: fix USB base registers and IRQs for BCM6328jogo2012-08-0510-12/+100
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] update tg3 driverhauke2012-08-051-75/+128
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] generate image for Linksys e3200hauke2012-08-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update gpio patchhauke2012-08-052-10/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix patch which moves the flash struct in wgt634u codehauke2012-08-052-12/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] W502V/ARV4525 wireless mac bugfixblogic2012-08-041-4/+1
| | | | | | | | | The ARV4525 board init is passing the wrong offset to arv_register_ath5k() resulting in a bogus mac. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use libgpio instaed of implementing the gpio interface ourself.hauke2012-08-048-111/+712
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] cleanup patchesblogic2012-08-03209-82080/+146978
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] nuport-mac: properly protect the phy interrupt handlerflorian2012-08-021-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [bufferbloat] Codel: avoid a nul rec_inv_sqrtblogic2012-08-021-0/+68
| | | | | | | | | | | | | | | One condition before codel_Newton_step() was not good if we never left the dropping state for a flow. As a result rec_inv_sqrt was 0, instead of the ~0 initial value. codel control law was then set to a very aggressive mode, dropping many packets before reaching 'target' and recovering from this problem. Brought over from 3.5-stable Signed-off-by: Dave Taht <dave.taht@bufferbloat.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] fixes i2c clock enableblogic2012-08-021-0/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: simplify misc IRQ handlingjuhosg2012-08-021-0/+66
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR934X_EHCI_SIZEjuhosg2012-08-024-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043NDjuhosg2012-08-022-0/+745
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: allow to use board specific code in the lzma-loaderjuhosg2012-08-023-3/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init switch hw_reset on the TL-WR1043ND boardjuhosg2012-08-021-2/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl836x: add hw_reset field to struct rtl8366_smijuhosg2012-08-027-2/+35
| | | | | | | It will be used to start/stop the switch if that is supported by the given board. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free callsjuhosg2012-08-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add missing netmask to the network configflorian2012-08-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] assume the link is up and full-duplex by defaultflorian2012-08-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] add a default and suitable network config fileflorian2012-08-011-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ew-dorin: added router firmware generationjuhosg2012-08-016-5/+49
| | | | | | | | [juhosg: remove dead code] Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ew-dorin: added USB supportjuhosg2012-08-011-1/+3
| | | | | | Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WLAE-AG300N wireless led patchjuhosg2012-08-011-0/+4
| | | | | | | | | Here is the uci-defaults version of the led support for the Buffalo WLAE-AG300N. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WLAE-AG300N initial supportjuhosg2012-08-018-7/+156
| | | | | | | | | | | | | | | | | | | | The patch set for Buffalo WLAE-AG300N initial support. There is another patch for wireless led support that is posted separately. Note on serial console: This unit has buffalo standard 4 pin console, but the unit may not power on if some console apparatus is connected. This is probably due to some electronic interaction between the unit's electronic power switch circuit and the serial console apparatus. If this happens, it is required to power on the unit without the console, then quickly (re-)attach it. [juhosg: fix coding style] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] resync defconfig enable XZ compressionflorian2012-08-011-7/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] properly generate squashfs, jffs2 and initramfs images and kernelsflorian2012-07-312-16/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32927 3c298f89-4303-0410-b956-a3cf2f4a3e73