Commit Graph

10540 Commits (24e6548eea0d3c848938cd328ceffc20b16bbee0)

Author SHA1 Message Date
John Crispin 33fa22f868 [lantiq] Add ath9k eeprom and pci fixup support
Add ath9k eeprom and pci fixup support (again) for linux 3.7.

On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:25 +00:00
John Crispin b2873fb2ed [lantiq] Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:42:59 +00:00
Felix Fietkau dea091cae9 kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 23:23:39 +00:00
Hauke Mehrtens 298c890900 brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:48:28 +00:00
Hauke Mehrtens 2fe7bc5108 kernel: b53: the b53 spi driver depends on spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:39:53 +00:00
Hauke Mehrtens fd67078b59 kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:18:52 +00:00
Felix Fietkau e5a9aebefa netfilter: add support for flushing conntrack via /proc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 19:02:38 +00:00
Felix Fietkau fb725311a7 kernel: clean up crypto kconfig options on 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:49:09 +00:00
Hauke Mehrtens 16d7ea5f38 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:48:48 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Felix Fietkau 11bf268fbc ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:38:27 +00:00
Felix Fietkau 5bd3baeb9c kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
Reduces kernel size after LZMA by about 5k on MIPS

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:21:08 +00:00
Hauke Mehrtens 230e8f294f brcm47xx: create image for Netgear WNDR3400 V1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:38 +00:00
Hauke Mehrtens 9a541435bb brcm47xx: add initial board detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:00 +00:00
Hauke Mehrtens 534f49b05c brcm47xx: add gpio to irq function again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:33:23 +00:00
Felix Fietkau 081d10c739 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Florian Fainelli e2a507a144 kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:52 +00:00
Florian Fainelli 02fd592851 mvebu: update to 3.8-rc4
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:46 +00:00
Hauke Mehrtens 0751e95e38 kernel: add missing config options for 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:48:15 +00:00
Hauke Mehrtens 25ebb1738f brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types 
found on supported boards. There are other profiles for each Ethernet 
driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:38:10 +00:00
Felix Fietkau 2646983496 kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:31:38 +00:00
Felix Fietkau 97fed15ad2 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:29:25 +00:00
Jonas Gorski a72a8da790 bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:40 +00:00
Jonas Gorski 9cd6b274ba bcm63xx: expose the internal switch to b53
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:37 +00:00
Jonas Gorski 793f269e52 generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.

Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:33 +00:00
Jonas Gorski 4257876e46 bcm63xx: move bcm63xx-spi into the kernel
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:13 +00:00
Felix Fietkau 317f27c62f kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 19:14:37 +00:00
Gabor Juhos c2aebc74ad ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:07 +00:00
Gabor Juhos f788f62828 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:06 +00:00
Gabor Juhos aa18b01e2e ramips: add kernel support for the Tenda 3G300M
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.

Factory image should be used to flash from original firmware.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:03 +00:00
Gabor Juhos ad8cf9b39e ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:13 +00:00
Gabor Juhos 12980972df ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:11 +00:00
Gabor Juhos 473bbcc2c2 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 08:51:45 +00:00
Jonas Gorski aecebbaed2 generic: rtl8366_smi: only assign pvid if no pvid was set yet
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.

Tested on RTL8366S and RTL8367R.

Fixes #8501.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 15:19:11 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Florian Fainelli b0355d4aa8 mvebu: enable PCI in kernel configuration
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:26 +00:00
Florian Fainelli 973e3f5a68 mvebu: enable PCIe on Marvell Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:22 +00:00
Florian Fainelli 0122099b35 mvebu: enable USB on Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:18 +00:00
Florian Fainelli 005e0ee7c9 mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:13 +00:00
Florian Fainelli 4d55ef2877 mvebu: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:58 +00:00
Florian Fainelli 92dec549ce kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:53 +00:00
Florian Fainelli 4c18be1a8f mvebu: add board detection scripts
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:48 +00:00
Florian Fainelli 3728c0c73d mvebu: enable /proc/devicetree usage
This is going to be used for proper user-space board identification (ala
mcs814x).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:37 +00:00
Florian Fainelli ef16616768 mvebu: add default profile
Such that relevant kernel modules are selected (USB, I2C, SATA, RTC,
SDIO)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:33 +00:00
Jo-Philipp Wich 29f2452461 x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 15:46:26 +00:00
Gabor Juhos a96196039f generic: add EHCI|OHCI platform driver fix to 3.[36]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 13:54:14 +00:00
Felix Fietkau 812eea0ebe ramips: enable BR6425N in kernel config
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 09:39:44 +00:00
Florian Fainelli 45e44da6c2 mvebu: add support for EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:50 +00:00
Florian Fainelli 6bb129dcc2 mvebu: add support for the Marvell Armada 370 Reference Design board
Keep the patches in sync with the upstream developments.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:40 +00:00
Florian Fainelli 8f583da9df mvebu: enable SMP with SMP on UP enabled
The same kernel works ok for both Armada 370 (UP) and Armada XP (SMP)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:31 +00:00
Florian Fainelli 6a09e327fe mvebu: add support for RTC
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:19 +00:00
Felix Fietkau f9e957c809 kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 18:55:36 +00:00
Gabor Juhos e789d6289a generic: remove EHCI platform driver fix from 3.8
It is not needed on 3.8.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:53:55 +00:00
Gabor Juhos 766ba6e58a generic: add EHCI|OHCI platform driver fix from the cns21xx target
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:47:23 +00:00
Florian Fainelli bf21e3818d target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:34:25 +00:00
Felix Fietkau 34ae8d8c46 kernel: add a config option for keeping the kallsyms table uncompressed, saving ~9kb kernel size after lzma on ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:08:18 +00:00
Felix Fietkau cc1bb7b034 ar71xx: fix unaligned access in cls_u32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 16:48:23 +00:00
Felix Fietkau e83e1f9ebe ar71xx: fix unaligned access in a few more places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 15:37:58 +00:00
Felix Fietkau 269f90bce1 ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 14:54:39 +00:00
Felix Fietkau a2161b3e16 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 13:06:09 +00:00
Felix Fietkau bc2c31b39f kernel: add back the mips module relocation patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 12:23:42 +00:00
Felix Fietkau 0f55025e5f ar71xx: add more cpu feature overrides, slightly reduces kernel size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 11:33:48 +00:00
Felix Fietkau 816b21495f ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 11:33:44 +00:00
Hauke Mehrtens 007742eb3c brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 15:00:01 +00:00
Gabor Juhos 072c304638 refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:29:55 +00:00
Gabor Juhos a4f462ebaa malta: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:29:53 +00:00
Gabor Juhos 9da421f8db malta: build lzma and gzip compressed uImages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:29:52 +00:00
Gabor Juhos 1b117657bf adm5120: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:42 +00:00
Gabor Juhos f4b34b8280 adm5120: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:40 +00:00
Gabor Juhos 067615aea6 ar71xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:38 +00:00
Gabor Juhos 54666428ae ar71xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:36 +00:00
Gabor Juhos ab42b9560c mpc83xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:34 +00:00
Gabor Juhos 8757027787 mpc83xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:32 +00:00
Gabor Juhos ee1ef38cc9 ramips: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:30 +00:00
Gabor Juhos d4b91fb984 ramips: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:28 +00:00
Gabor Juhos 24238bff56 rb532: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:26 +00:00
Gabor Juhos f8e73c449c rb532: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:24 +00:00
Gabor Juhos 2a791124e4 ppc44x: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:21 +00:00
Gabor Juhos 7c81c8e434 ppc44x: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:20 +00:00
Gabor Juhos 9f0ea9961b ppc40x: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:18 +00:00
Gabor Juhos 5211934935 ppc40x: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:16 +00:00
Gabor Juhos e27d0150c7 cns21xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:14 +00:00
Gabor Juhos e322183902 cns21xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:12 +00:00
Gabor Juhos 64cfd63980 kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 11:43:08 +00:00
Florian Fainelli b3d741a1a8 mvebu: update to 3.8-rc3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 17:20:25 +00:00
Hauke Mehrtens 4254f7920c brcm47xx: update bgmac driver to the version in mainline kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:22:19 +00:00
Hauke Mehrtens 8ffb10c8b8 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:05:18 +00:00
Imre Kaloz 804ae43125 [cns3xxx]: clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 13:25:12 +00:00
Imre Kaloz 0a3d441da8 [cns3xxx]: clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 13:23:33 +00:00
John Crispin d54e68a196 [lantiq] fixes USB reset on ARV7518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 06:44:58 +00:00
John Crispin e965a05114 [lantiq] fixes none-pci build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 09:04:09 +00:00
Florian Fainelli 91e3a3252f mvebu: add inital support for Marvell Armada XP/370 SoCs
This brings in the initial support for the Marvell Armada XP/370 SoCs.
Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following
interfaces:

- Ethernet
- SDIO
- GPIOs
- SATA

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:16 +00:00
Florian Fainelli b5988e0640 [realview] add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:11 +00:00
Florian Fainelli 5309cf0c5f [malta] add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:06 +00:00
Florian Fainelli ce99d2278c kernel: add support for 3.8-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:19:31 +00:00
Hauke Mehrtens 3720f45e3c brcm47xx: BGMAC Driver corrections
1) Fix what appears to be a logic error in bgmac_phy_advertise.

2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo
interface w/ the driver to work correctly.  I still have the issue
with the interface always being HD when the speed/duplex is set
manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 22:51:39 +00:00
Florian Fainelli cc1d4542ae [malta] update to 3.7
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:36 +00:00
Gabor Juhos 31e74392ab ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:30:37 +00:00
Gabor Juhos 703cf9ca91 ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:14:41 +00:00
Felix Fietkau 009b82e8ef orion: debloat the kernel some more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 15:09:47 +00:00
Felix Fietkau df1b8f99d3 kernel: add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 15:09:39 +00:00
John Crispin badcf69908 [ramips] adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 11:11:42 +00:00
John Crispin 31ca717b30 [kernel] missing underscore in 3.3 regmap patch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 10:01:53 +00:00
Felix Fietkau bea9349879 kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-05 13:33:44 +00:00
John Crispin 3dad88cbb5 [kernel] fix regmap debloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-05 00:20:05 +00:00
Jonas Gorski f537f292a3 bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:47:57 +00:00
Jonas Gorski 555460453f bcm63xx: Fix caldata partition mtd patch
Allow bcm63xxpart to receive a caldata offset if calibration data is contained in flash.

Tested-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:47:50 +00:00
Jonas Gorski 8332b86181 bcm63xx: remove 3.3 support
3.6 is tested enough to be considered stable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:47:43 +00:00
Felix Fietkau 1691223d48 kernel: move regmap bloat out of the kernel image if it is only being used in modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:39:50 +00:00
Hauke Mehrtens d61d3a18b0 brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 16:56:54 +00:00
Hauke Mehrtens 0bcdbcb299 brcm47xx: add bgmac driver
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.

Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:05:22 +00:00
Hauke Mehrtens 207fa73846 brcm47xx: build b44 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:00:25 +00:00
Hauke Mehrtens 804e80ff08 brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:59:43 +00:00
Hauke Mehrtens 739d7e10d7 brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK).  IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:56:13 +00:00
Hauke Mehrtens 1e3172dbf6 brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:55:34 +00:00
Hauke Mehrtens 880dc8381a brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:53:30 +00:00
Hauke Mehrtens 979291e9c5 brcm47xx: move patches already in the mainline kernel to the front
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:51:31 +00:00
Hauke Mehrtens 3e14ece526 brcm47xx: remove support for kernel version 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:48:43 +00:00
Jo-Philipp Wich 496fe078d4 generic: add some missing kernel config symbols spotted on x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:24 +00:00
Felix Fietkau 34b410536c x86: fix typo in alix2/net5501 default packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 16:09:23 +00:00
John Crispin 7f31bad365 [ramips] rt5350 switch support fix
RT5350 frame engine need reset frame engine and embedded switch together.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 11:28:21 +00:00
Gabor Juhos 353ed2ea80 generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 08:53:07 +00:00
Gabor Juhos 5da444f97a adm5120: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:49 +00:00
Gabor Juhos b1d8b07c54 adm5120: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:44 +00:00
Gabor Juhos 8d217f0aa3 adm5120: switch to 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:41 +00:00
Gabor Juhos e28e4f21bb adm5120: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:36 +00:00
Gabor Juhos 1bb315c9c0 adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
Also add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:30 +00:00
Gabor Juhos e16d2987ec adm5120: use mtd_read helper in trxsplit.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:20 +00:00
Gabor Juhos 3d264ffd0a adm5120: don't include asm/system.h in adm5120-hcd.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:16 +00:00
Gabor Juhos 86fee1635a generic: add missing symbol for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:11 +00:00
Gabor Juhos e94cdc6bb6 ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:41 +00:00
Gabor Juhos 7d6d9dd240 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:36 +00:00
Gabor Juhos 88cac18ac5 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:34 +00:00
Gabor Juhos d7357eaba6 ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:29 +00:00
Gabor Juhos 631c8073a5 ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:26 +00:00
Gabor Juhos 52b5e35419 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:22 +00:00
John Crispin 14fa63abc1 [lantiq] adds missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 21:31:10 +00:00
John Crispin 4a54ead634 [lantiq] fixes usb port on arv 4518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 12:38:40 +00:00
Gabor Juhos 1ecc6972a5 ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 08:23:48 +00:00
Gabor Juhos 169b4d60bc ramips: build firmware image for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:40 +00:00
Gabor Juhos 8568406448 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:38 +00:00
Gabor Juhos bff7d5f388 ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:35 +00:00
Gabor Juhos d2b071d6d3 ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:34 +00:00
Gabor Juhos 6d33750ae7 ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:32 +00:00
Gabor Juhos fe3c9a045f ramips: rt305x: add kernel support for AirLive AIR3GII
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:28 +00:00
Gabor Juhos 76d465b18f ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:31 +00:00
Gabor Juhos b0c73c52bc ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:28 +00:00
Gabor Juhos 23d30c887d ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:27 +00:00
Gabor Juhos 78720628cc ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:24 +00:00
Gabor Juhos d1ec292ab4 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 13:52:38 +00:00
Felix Fietkau 2066816243 ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:30:24 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Felix Fietkau 4706d2fcd1 kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 22:59:51 +00:00
Hauke Mehrtens 1c1842cb5d brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 19:18:40 +00:00
Gabor Juhos f05d5c0c05 mpc83xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:54 +00:00
Gabor Juhos b3e98b2ff9 mpc83xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:51 +00:00
Gabor Juhos 47f58d1702 mpc83xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:50 +00:00
Gabor Juhos 5169dcd9ba mpc83xx: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:48 +00:00
Gabor Juhos b21cebc6e0 mpc83xx: create package for the rbppc_cf module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:47 +00:00
Gabor Juhos f12c128739 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:41 +00:00
Gabor Juhos 907e67ea6a ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:37 +00:00
Gabor Juhos c75b77b225 ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:36 +00:00
Gabor Juhos 02a40a7483 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:34 +00:00
Gabor Juhos 5662c6a1b4 ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:31 +00:00
Gabor Juhos e6d9174a4d ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:32 +00:00
Gabor Juhos 2e918d7ca5 generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:31 +00:00
Gabor Juhos 17bb18be18 ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:29 +00:00
Gabor Juhos de0a8def83 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:41 +00:00
Gabor Juhos 4a82fcedcb ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:38 +00:00
Imre Kaloz f19b976355 [cns3xxx]: add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:53:38 +00:00
Gabor Juhos cd8ad1441e generic: ar8216: don't use 0 as default VID on AR8327
VID0 is reserved for priority-tagged packets.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:30:04 +00:00
Gabor Juhos 40c3a23321 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 17:22:41 +00:00
Gabor Juhos aaeed76ded ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 16:09:03 +00:00
Gabor Juhos 5c49a64960 ramips: rt3883: fix build error
The cpuport_cfg field has been renamed to port0_cfg.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:50:47 +00:00
Gabor Juhos 378c626d62 ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:50 +00:00
Gabor Juhos 6010f1b825 ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:48 +00:00
Gabor Juhos 989e3c0e17 ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:46 +00:00
Gabor Juhos 4f5e30c1b8 ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:44 +00:00
Gabor Juhos c301f74b61 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:43 +00:00
Gabor Juhos 7b0651b99b ar71xx: ag71xx: fix mii_bus_dev sanity check
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:41 +00:00
Gabor Juhos 2b21ed9dd7 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:40 +00:00
Gabor Juhos 911703d3d7 generic: ar8316: allow to configure port 6 via platform data on AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:37 +00:00
Gabor Juhos 50709b5321 generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:35 +00:00
Gabor Juhos d81e6f3d37 ramips: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:13 +00:00
Gabor Juhos 2463d0f9f9 ramips: convert to use {e,o}hci-platform driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:08 +00:00
Gabor Juhos 273d590697 generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
Backport of upstream commits:

86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:06 +00:00
John Crispin 6ee5434d24 [lantiq] ar9 did not load atm driver properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:16:52 +00:00
John Crispin a52f5c57e3 [lantiq] dont use input layer for gpio buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:20 +00:00
John Crispin 5a6b12149a [lantiq] default switch setup for WBMR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:12 +00:00
John Crispin c2951f7a26 [lantiq] Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)
Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:04 +00:00
John Crispin 6a50405768 [lantiq] adds script to set wps info on boards with a wps button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:59 +00:00
John Crispin 9e6f0ec839 [lantiq] minor tweaks to WBMR image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:54 +00:00
John Crispin 99a3a72f11 [lantiq] add missing PHY_BASIC_FEATURES to 100mbit phys
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:35 +00:00
John Crispin f0eac14112 [lantiq] fix typo inside fritz3370 devicetree file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:30 +00:00
John Crispin e975fbe3fb [lantiq] more devicetree fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:55 +00:00
John Crispin 3973731301 [lantiq] improve button handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:50 +00:00
John Crispin 2a00066a53 [lantiq] add phy-reset gpio handling to xrx200-net
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:44 +00:00
John Crispin 270bb4fee4 [lantiq] add more lantiq phy ids based on daniels uboot code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:40 +00:00
John Crispin f4d889b9be [lantiq] refresh patch and install v1.1 gphy blobs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:35 +00:00
John Crispin 29d0dc4ad3 [kernel] make to rtl8366_smi of binding use gpio_is_valid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:14 +00:00
Gabor Juhos 27d7cb3077 kernel: add solos-pci update for 3.3
Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 10:38:33 +00:00
Gabor Juhos 826a0dfa53 rb532: add support for 3.7
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:25:43 +00:00
Gabor Juhos 53d06e738b ramips: Add USB support for DAP-1350 platform.
It seems to work as intended, but only lightly tested.

Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:17:17 +00:00
Gabor Juhos f82765d86f rb532: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:03 +00:00
Gabor Juhos 9a1fec6f0b rb532: switch to 3.6.11
Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:01 +00:00
Gabor Juhos 85ab86e148 rb532: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:09:00 +00:00
Gabor Juhos 35eea507c9 ppc44x: add support for 3.7
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 18:11:22 +00:00
Gabor Juhos d2984aef0d kernel: add solos-pci patches from 3.8 for new hardware
[juhosg: refresh patches with quilt, skip the patch for 3.3]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:57 +00:00
Gabor Juhos 3d45fbcfe4 linux: add missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:56 +00:00
Gabor Juhos 88ab58eb94 cns21xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:51:17 +00:00
Gabor Juhos a7efd844b7 ppc40x: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:51:16 +00:00
Gabor Juhos e93294f5c0 ppc40x: add missing NULL terminator to avoid boot panic on PPC40x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:37:39 +00:00
Gabor Juhos 969434b252 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:13:16 +00:00
Gabor Juhos 9cca4df461 ppc40x/44x: disable SWIOTLB
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:09:39 +00:00
John Crispin 2187917371 [lantiq] adds a fix for ar8216 mii detection on etop driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:20:24 +00:00
Mirko Vogt 4f4f7ca182 merge /lib/functions/boot.sh and /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:53 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Mirko Vogt fd18877418 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
John Crispin ffe3325930 [lantiq] minor basefiles fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:42 +00:00
John Crispin bfed5c6801 [lantiq] fix gptu clocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:31 +00:00
John Crispin cb8fc67686 [lantiq] more board file fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:11 +00:00
Gabor Juhos c2cdf0f874 ppc44x: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 09:45:43 +00:00
Gabor Juhos 1115a92c12 ppc44x: switch to 3.6.11
Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 09:45:42 +00:00
Gabor Juhos 0d6d4896f6 ppc44x: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 09:45:40 +00:00
Gabor Juhos b156d3ef75 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:45 +00:00
Gabor Juhos 8cba449d20 ar71xx: build image for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: reorder MR3220 MultiProfile entry]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:44 +00:00
Gabor Juhos 808517d480 ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:41 +00:00
Gabor Juhos 08e1b77c36 ar71xx: add kernel support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:35 +00:00
John Crispin 422825b495 [lantiq] fix gptu patch - tapi should now load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:12:57 +00:00
Gabor Juhos 6a209276de ppc40x: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:10:37 +00:00
Gabor Juhos 31722f4c4f ppc40x: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:10:34 +00:00
Gabor Juhos eb436ee016 ppc40x: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:10:31 +00:00
Gabor Juhos 56a3d46583 generic: disable crashlog on ppc
It causes panic on boot:

[    0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs
[    0.200902] Unable to handle kernel paging request for data at address 0x00000000
[    0.208347] Faulting instruction address: 0xc026cb10
[    0.213282] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.218586] PowerPC 40x Platform
[    0.221783] Modules linked in:
[    0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8
[    0.229745] REGS: c1825ed0 TRAP: 0300   Not tainted  (3.6.11)
[    0.235435] MSR: 00029030 <EE,ME,IR,DR>  CR: 42004082  XER: 00000000
[    0.241745] DEAR: 00000000, ESR: 00000000
[    0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000
GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69
GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8
GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8
GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388
[    0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.289000] Call Trace:
[    0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable)
[    0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8
[    0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4
[    0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68
[    0.314488] Instruction dump:
[    0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004
[    0.325117] 2f830000 41be00a4 38804000 4bda2809 <81630000> 7c691b78 907ed388 6d605e11

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:10:02 +00:00
Gabor Juhos a8a5ba57e0 generic: add missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:09:58 +00:00
John Crispin 018816333c [lantiq] update to 3.7.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 19:32:01 +00:00
Gabor Juhos 07a290de17 etrax: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 17:54:04 +00:00
Gabor Juhos 5839fb0556 s3c2442: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 17:54:02 +00:00
Gabor Juhos 74212ba5a1 goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 17:53:53 +00:00
Gabor Juhos 9b9163fb82 ps3: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 17:53:51 +00:00
Gabor Juhos 0b49c1dc7b pxcab: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 17:53:17 +00:00
Gabor Juhos 127f7ef914 refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:54:15 +00:00
Gabor Juhos ab6a6c20ba geos: add missing config-3.7 file
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:51:45 +00:00
Gabor Juhos 600d17a044 ar71xx: image: add OpenMesh profile
It allows to build firmware images for all OpenMesh
products in one step.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:16:05 +00:00
Gabor Juhos 9cf97ce9dc kernel: update linux 3.7 to 3.7.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:13:31 +00:00
Gabor Juhos 2e543cbb0c cns21xx: remove broken flag
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:51:58 +00:00
Gabor Juhos 9d26ebe951 cns21xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:51:58 +00:00
Gabor Juhos 59408d9815 cns21xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:51:57 +00:00
Gabor Juhos fdb7f35564 cns21xx: fix build errors on 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:51:55 +00:00