Commit Graph

8716 Commits (9a049babb7da3e9cd1f7aa260f4ba0241148a092)

Author SHA1 Message Date
Gabor Juhos b942309f4f generic: use __meminit annotation for crashlog_init_memblock
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'

SVN-Revision: 33137
12 years ago
Florian Fainelli 2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
12 years ago
Florian Fainelli 035b41bafb disable PCI support
None of the boards we support have PCI connectors

SVN-Revision: 33130
12 years ago
Florian Fainelli 639112f0d5 strip a bit more the kernel config
SVN-Revision: 33129
12 years ago
Florian Fainelli 0f91df4de6 properly advertise OHCI and EHCI capabilities
SVN-Revision: 33128
12 years ago
Florian Fainelli 43ddb1d7af change partition names to be more in line with other OpenWrt devices
SVN-Revision: 33127
12 years ago
Florian Fainelli 911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
12 years ago
Florian Fainelli c16bf519f1 nuport-mac: delay call to napi_start() until fully able to process RX
SVN-Revision: 33079
12 years ago
Florian Fainelli 0028429dfa set a compatible command-line to boot from flash
SVN-Revision: 33078
12 years ago
Gabor Juhos 5dd996bc2a generic: rtl8366_smi: increase delay after switch hw reset
SVN-Revision: 33077
12 years ago
Jo-Philipp Wich c8a0166212 Fix hard reset of alix/soekris hardware under heavy NIC load
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>

SVN-Revision: 33072
12 years ago
Florian Fainelli 47380a4388 nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

SVN-Revision: 33071
12 years ago
Florian Fainelli 7f9bfa3fcd nuport-mac: rework PHY interrupt configuration to avoid races
SVN-Revision: 33070
12 years ago
Florian Fainelli 5e877f02b4 nuport-mac: close possible race condition during start
SVN-Revision: 33069
12 years ago
Florian Fainelli 35351a28b9 nuport-mac: unmap the DMA buffer when closing device
SVN-Revision: 33068
12 years ago
Florian Fainelli b77494fa2f nuport-mac: check dma_map_single address return values
SVN-Revision: 33067
12 years ago
Florian Fainelli 798cc28d73 build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066
12 years ago
Florian Fainelli f8386ecbc6 cleanup image generation
SVN-Revision: 33065
12 years ago
John Crispin 64b385dda7 pci gpio mapping
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>

SVN-Revision: 33054
12 years ago
Jonas Gorski 4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
12 years ago
Hauke Mehrtens a0fb060211 update tg3 driver
SVN-Revision: 33004
12 years ago
Hauke Mehrtens 35661401da generate image for Linksys e3200
SVN-Revision: 33003
12 years ago
Hauke Mehrtens a71f347c30 brcm47xx: update gpio patch
SVN-Revision: 33001
12 years ago
Hauke Mehrtens 1d40a652ee brcm47xx: fix patch which moves the flash struct in wgt634u code
SVN-Revision: 33000
12 years ago
John Crispin 5f438c3565 W502V/ARV4525 wireless mac bugfix
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>

SVN-Revision: 32993
12 years ago
Hauke Mehrtens 0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
12 years ago
John Crispin 060b161ca6 cleanup patches
SVN-Revision: 32953
12 years ago
Florian Fainelli 162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
12 years ago
John Crispin f45132d1d4 Codel: avoid a nul rec_inv_sqrt
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>

SVN-Revision: 32950
12 years ago
John Crispin c2d3274ffc fixes i2c clock enable
SVN-Revision: 32949
12 years ago
Gabor Juhos e320a7e649 ar71xx: simplify misc IRQ handling
SVN-Revision: 32948
12 years ago
Gabor Juhos 3e1e52a524 ar71xx: fix AR934X_EHCI_SIZE
SVN-Revision: 32947
12 years ago
Gabor Juhos b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
12 years ago
Gabor Juhos e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
12 years ago
Gabor Juhos 79a8660d67 ar71xx: init switch hw_reset on the TL-WR1043ND board
SVN-Revision: 32944
12 years ago
Gabor Juhos e2782eae8e generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.

SVN-Revision: 32943
12 years ago
Gabor Juhos 614ca3cc9e generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
SVN-Revision: 32942
12 years ago
Florian Fainelli 9f011e7225 add missing netmask to the network config
SVN-Revision: 32941
12 years ago
Florian Fainelli 5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
12 years ago
Florian Fainelli 56aac45139 add a default and suitable network config file
SVN-Revision: 32939
12 years ago
Gabor Juhos 563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
12 years ago
Gabor Juhos 8eabe64e6b ar71xx: ew-dorin: added USB support
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32933
12 years ago
Gabor Juhos 1af4fd7660 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32932
12 years ago
Gabor Juhos 010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
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>

SVN-Revision: 32931
12 years ago
Florian Fainelli df48d71d72 resync defconfig enable XZ compression
SVN-Revision: 32930
12 years ago
Florian Fainelli 3cd753408d properly generate squashfs, jffs2 and initramfs images and kernels
SVN-Revision: 32927
12 years ago
Florian Fainelli c0561a42e7 disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

SVN-Revision: 32926
12 years ago
John Crispin f5f36911f0 add lantiq svip support
SVN-Revision: 32925
12 years ago
Jonas Gorski 07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
12 years ago
Jonas Gorski 820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
12 years ago