aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ppp: update to version 2.4.7Hauke Mehrtens2014-09-1315-53/+40
| | | | | | | | | This fixes: CVE-2014-3158 and some other bugs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: other.mk: update configuration for ad799xHauke Mehrtens2014-09-131-1/+5
| | | | | | | | | | The ad799x driver moved out of staging since kernel 3.16, so update filepath, config elements and description. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Backport essential fixes for ad799xHauke Mehrtens2014-09-133-0/+417
| | | | | | | | | | This series of patches ports back some fixes of the ad799x driver, which were commited between 3.10 and 3.15. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: select nvram package by defaultHauke Mehrtens2014-09-131-1/+1
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: nvram: enable on bcm53xx targetHauke Mehrtens2014-09-131-1/+1
| | | | | | | | | | It uses mtd, so doesn't require any special adjustments for new target. It has been succesfully tested (reading, writing and commiting). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Kconfig: Fix missing help text in DEVEL config menuHauke Mehrtens2014-09-131-2/+13
| | | | | | | | | | | | This patch completes missing help text for some options under CONFIG_DEVEL. Provides help for BINARY_FOLDER and DOWNLOAD_FOLDER, and reduces ambiguity in the help for BUILD_SUFFIX with an example. Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Kconfig: Various typo/grammar/line-length fixes in Config*.in filesHauke Mehrtens2014-09-134-80/+85
| | | | | | | | | | | | | | Non-functional changes to config/Config-*.in files, including: * spelling mistakes * inconsistent terminology * grammar * overly long lines in "help" components Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Kconfig: Aesthetic/formatting fixes to toolchain/Config.in.Hauke Mehrtens2014-09-131-14/+16
| | | | | | | | | | | | | Non-functional edits to toolchain/Config.in: * fix spelling mistake ("us" -> "is") * Overly long help lines shortened to avoid line wrap * Standardize help info to use tab(s), then two spaces Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: 7.36.0 -> 7.38.0Hauke Mehrtens2014-09-135-65/+7
| | | | | | | | | | | | | | | | | | | Main changes: - URL parser: IPv6 zone identifiers are now supported - cyassl: Use error-ssl.h when available (drop local patch) - polarssl: support CURLOPT_CAPATH / --capath - mkhelp: generate code for --disable-manual as well (drop local patch) Full release notes: http://curl.haxx.se/changes.html MIPS 34kc binary size: - 7.36.0 before: 82,539 bytes - 7.38.0 after: 83,321 bytes Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: packetize libatomicSteven Barth2014-09-121-1/+39
| | | | | | | | Based on a patch by Tobias Steinicke <tobias.steinicke@inet.tu-berlin.de>. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: refresh configJohn Crispin2014-09-121-4/+0
| | | | | | | | Remove symbols that are now placed in the generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: convert AR2315 GPIO code to platform driverJohn Crispin2014-09-124-172/+327
| | | | | | | | | | | Convert gpiolib realization to platform driver and move to the appropriate subdirectory. Misc GPIO interrupt acknowledgement placed to the MISC IRQ handler since in fact we can detect only one GPIO state change. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: convert AR5312 GPIO code to platform driverJohn Crispin2014-09-124-75/+198
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: rework chained interrupts handlingJohn Crispin2014-09-122-47/+47
| | | | | | | | | | Call generic_handle_irq() instead of do_IRQ() for chained interrupts, remove XXX_NONE interrupts and call spurious_interrupt() when an interrupt is unexpected. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: convert gpio.h to stubJohn Crispin2014-09-122-25/+13
| | | | | | | | | Implement to_irq() handler for AR2315 GPIO chip and convert custom gpio.h header to stub. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: rename SoCs config symbolsJohn Crispin2014-09-125-15/+15
| | | | | | | | | Rename config symbols to be consistent with other SoCs config symbols supported by MIPS arch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add AR2316 and AR2318 SoCs detectionJohn Crispin2014-09-122-5/+13
| | | | | | | | | Tested with AR2315, AR2316 and AR2317 SoCs, not tested with AR2318 but changes seems correct: revision is one more than AR2317. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: convert to platform driverJohn Crispin2014-09-121-33/+59
| | | | | | | | | Convert the PCI controller support code to platform driver and move it to appropriate subdirectory. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: rename configuration symbolJohn Crispin2014-09-122-6/+7
| | | | | | | | Rename configuration symbol to be consistent with other MIPS machines. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: update DMA offset macrosesJohn Crispin2014-09-122-16/+24
| | | | | | | | Remove duplicated macroses, which define DMA offset (SDRAM baseaddress). Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: update host bridge resourcesJohn Crispin2014-09-122-20/+8
| | | | | | | | | | It seems that the PCI controller does not support I/O ports, so remove the ports range. Also correct the beginning of the memory range and its size. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: rework the configuration access codeJohn Crispin2014-09-121-34/+48
| | | | | | | | | | | | | | | Use __raw_{read,write}l accessors and use Abort interrupt to detect a configuration space read/write errors. The second change improves errors detection, what improves the device presence detection and helps us to avoid following (and similar) errors: pci 0000:00:00.2: ignoring class 0x7e0200 (doesn't match header type 02) pci 0000:00:00.2: bridge configuration invalid ([bus 03-90]), reconfiguring pci 0000:00:00.2: not setting up bridge for bus 0000:01 Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: rework interrupt handlingJohn Crispin2014-09-122-66/+103
| | | | | | | | | | | | | Add PCI IRQ controller to facilitate interrupt handling, move interrupts initialization to the IRQ controller initialization from pcibios_plat_dev_init() callback. Also remove odd PCI dev configuration manipulation from pcibios_plat_dev_init() callback. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: rework host controller initializationJohn Crispin2014-09-121-24/+50
| | | | | | | | | | | | Explicitly configure PCI host controller, and do not expose it to PCI subsystem. The PCI host controller acts as a usual PCI device connected to the bus, but its configuration as a usual PCI device is senseless, since the host controller provide access to _internal_ memory space for _external_ device. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: cosmetic changesJohn Crispin2014-09-121-22/+47
| | | | | | | | | | | - add comment, which briefly describes PCI controller features and Fonera 2.0g schematics. - rename several functions and structures, to make it clear that this code only for AR2315 chips. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-pci: remove odd locking in PCI config space access functionJohn Crispin2014-09-121-5/+1
| | | | | | | | | Caller (generic PCI code) already do proper locking so no need to add another one here. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove odd ATHEROS_AR2315 config symbol dependenciesJohn Crispin2014-09-122-11/+4
| | | | | | | | | Remove options which already selected by ATHEROS_AR231X on which ATHEROS_AR2315 depends. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: various space related changesJohn Crispin2014-09-126-89/+52
| | | | | | | | | | | | - remove odd blank lines - remove odd spaces after casts - fix alignment No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: rework and cleanup board initializationJohn Crispin2014-09-121-85/+52
| | | | | | | | | | | | | | - remove odd flags and branching - add __init mark - make shorter variables names - returns true or false from boolean functions - unwrap short function declarations - unwrap quoted string - rename macroses with names in CamelCase Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: update ether addresses handlingJohn Crispin2014-09-121-14/+13
| | | | | | | | | - use ether_foo() routines to work with addresses - use ETH_ALEN inplace of magic '6' Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove useless includesJohn Crispin2014-09-123-22/+7
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar231x-eth: remove useless IOCTL handlersJohn Crispin2014-09-122-24/+5
| | | | | | | | These IOCTLs handled in the core now. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-spiflash: use mutex inplace of spinlockJohn Crispin2014-09-121-60/+14
| | | | | | | | | | Use mutex inplace of spinlock to make code simple, also call mutex_{lock,unlock} explicitly to avoid sparse warning about context imbalance. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-spiflash: update initializationJohn Crispin2014-09-121-23/+12
| | | | | | | | | - fill module metadata - remove odd module_{init,exit} Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: ar2315-spiflash: use devm_* API to simplify the codeJohn Crispin2014-09-121-33/+15
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove useless returnJohn Crispin2014-09-123-8/+3
| | | | | | | | Remove useless void function return. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: remove FSF mailing addressJohn Crispin2014-09-122-6/+4
| | | | | | | | | Remove FSF mailing address as suggested by checkpach and place license URL. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add blank line after declarationsJohn Crispin2014-09-123-10/+20
| | | | | | | | as suggested by checkpach. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: use static keywork for local codeJohn Crispin2014-09-121-3/+3
| | | | | | | | | Make PCI IRQ handler and several structures static as suggested by sparse. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: use NULL instead of plain integerJohn Crispin2014-09-121-1/+1
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add missing includeJohn Crispin2014-09-121-2/+6
| | | | | | | | | Missing this headers cause several sparse "symbol 'foo' was not declared. Should it be static?" warnings. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: avoid extern prototypesJohn Crispin2014-09-121-17/+16
| | | | | | | | Avoid using of extern prototypes as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop 3.10 supportJohn Crispin2014-09-1287-66599/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: install a fake empty ldconfig script to prevent the system ldconfig ↵Felix Fietkau2014-09-111-1/+5
| | | | | | | | from messing around with the toolchain (fixes disappearing musl symlink issue) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: disable fq_codel ecn by default to improve compatibilityFelix Fietkau2014-09-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update to a newer versions of the vr9 driversJohn Crispin2014-09-115-12/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-deu: fix compile for 3.14John Crispin2014-09-111-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update 3.14 patchesJohn Crispin2014-09-1138-60/+1545
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldp: remove calls to user/group_add/existsJohn Crispin2014-09-112-3/+1
| | | | | | | | use the new ipkg based mechanism Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2014-09-112-2/+6
| | | | | | | | add support for starting services as !root Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42471 3c298f89-4303-0410-b956-a3cf2f4a3e73