summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* generic: extend pci_isable_usb_common_quirks patchjuhosg2012-08-151-0/+20
| | | | | | | | | | | | | Fixes the following build error: SYSMAP System.map Building modules, stage 2. MODPOST 48 modules ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined! ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined! make[6]: *** [__modpost] Error 1 make[5]: *** [modules] Error 2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [x86] set xen images to gzip compression, fixes #11970blogic2012-08-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] MCS8140 actually selects CPU_ARM926Tflorian2012-08-142-2/+2
| | | | | | Should make inclusion for other MCS814x SoCs easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fixes gpio_dev un/reload balancingblogic2012-08-141-0/+2
| | | | | | Signed-off-by: SHI Bin <shibin@ctsing.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [orion] generic: enhanced image Makefileflorian2012-08-131-63/+179
| | | | | | | | | | | | | | | * Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build) * Got rid of unneccessary padding of rootfs partition * ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage * Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines) * Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323 * Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols * Size check of kernel files to avoid builds that break devices * Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use Signed-off by: Matthias Buecher <mail@maddes.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: uci-defaults/leds for ALL0258Njuhosg2012-08-131-0/+7
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] leds: do not register device if no leds definedflorian2012-08-131-4/+11
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] BCM6358 fix enet MII clk definitionsflorian2012-08-131-2/+2
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] nb4: fix support, add support for SVC and CLIP BTNflorian2012-08-1325-65/+142
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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