Commit Graph

13274 Commits (bba98a3c5364cde4d23781b74ed0f2315d4dc8b0)

Author SHA1 Message Date
Felix Fietkau a96afecf5c kernel: backport a few PHY layer fixes from upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43776
10 years ago
Felix Fietkau d7320d2d89 ar71xx: rename/refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43775
10 years ago
Imre Kaloz 5744500ab6 we've changed places with Luka, reflect that :)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43774
10 years ago
Imre Kaloz 2bff4ca7b1 use mwlwifi by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43773
10 years ago
Felix Fietkau 93192e65e8 oxnas: sata_oxnas: make irq handler more readable
safed one level of indention by using 'continue' instead of a
lengthy if-clause.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
v2: use logic-AND instead of '?' operator when checking for hw bug 6320

SVN-Revision: 43768
10 years ago
Felix Fietkau 74a9e1c1b0 oxnas: sata_oxnas: refactoring phase 2
- replaced // comments by /* comments */
 - added line-breaks where needed
 - fixed white-space according to kernel style
 - fixed some obvious spelling mistakes in comments and printks
 - removed some unneeded left-overs imported from vendor code-base
 - replaced printk(...) by libata macros where possible

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43767
10 years ago
Felix Fietkau feda47451f oxnas: sata_oxnas: refactoring phase 1
locking for 2nd port and hwraid was added from vendor's GPL code which
doesn't comply with current kernel coding style.

 - moved all global variables into host_priv
 - renamed locks
 - sanetized acquire() and release() parameter list

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43766
10 years ago
Felix Fietkau 3113bf4cb8 oxnas: refresh kernel config-3.1[48]
and no longer compile-in ext4 filesystem now that sata_oxnas is
also built as a module.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43765
10 years ago
Felix Fietkau 5506420980 kernel: remove openwrt micrel.c (replaced by upstream driver)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43762
10 years ago
Felix Fietkau 570fe5c662 kernel: disable soft-reset for generic PHY devices to avoid accidentally clearing preinitialized state
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43757
10 years ago
Rafał Miłecki e7d7f59171 bcm53xx: support WAN connected to switch port 0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43754
10 years ago
Luka Perkov 0847247129 mvsw6171: note support for 88E6172 switches
The '6171 and '6172 are similar enough to work
without any changes to the code.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43753
10 years ago
Luka Perkov 873202fc0b kirkwood: add *plugs to uci-defaults
Set defaults health led to a timer heartbeet (200/800)
and populate network for:

- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 43752
10 years ago
Luka Perkov 39743e45f8 kikwood: populate kirkwood.sh with new boards
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 43751
10 years ago
Luka Perkov ec9a0f898a kirkwood: set default EA4500 switch config
This maps the LAN ports to eth0 and WAN port to eth1.
Since there are two interfaces the 802.1q VLAN mode
is unnecessary and left disabled. Port-based VLANs
are used instead.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43750
10 years ago
Hauke Mehrtens abca0462d3 kernel: bgmac: fix some problems
There are some problems in the napi usage that are fixed now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43749
10 years ago
Hauke Mehrtens 192e945479 bcm53xx: PCIe: add link check again
When there is no device connected to the controller we should not start
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed
based on the device. This code is based on code from the new Broadcom
PCIe controller driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43748
10 years ago
Felix Fietkau 4ccf215a3e ar7: remove leftover 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43746
10 years ago
Felix Fietkau 4571fc780d ar71xx: add support for qca956x soc
This patch adds soc support for QCA9561 and TP9343.
TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China.
The qca956x_wmac has not yet been supported by ath9k.

tested on TL-WDR6500 and TL-WR882N v1 (Chinese version)

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 43744
10 years ago
Felix Fietkau 2f9b042d69 ar8216: Inline function ar8xxx_create_mii
Inline function ar8xxx_create_mii.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43743
10 years ago
Felix Fietkau 2289c7a010 ar8216: Remove read/write/rmw member functions from ar8xxx_priv
Remove read/write/rmw member functions from ar8xxx_priv

There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43742
10 years ago
Felix Fietkau 45a494b808 ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII ops
Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
Rename r3 variable to page in ar8xxx_mii_write to make it consistent
with the other ar8xxx_mii_xxxx functions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43741
10 years ago
Felix Fietkau 0e7f844c66 ar8216: Factor out chip-specific parameters from ar8xxx_probe_switch
Factor out chip-specific parameters from ar8xxx_probe_switch.
Move the ar8xxx_chip definitions after the swops definitions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43740
10 years ago
Felix Fietkau 054767cebc ar8216: remove unused function parameter in ar8327_led_register
Remove unused function parameter in ar8327_led_register.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43739
10 years ago
Rafał Miłecki e21e9c5548 bcm53xx: backport spi-nor changes and update bcm53xxspiflash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43738
10 years ago
Felix Fietkau d27c682def kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43736
10 years ago
Luka Perkov 309e74b86d kirkwood: add sheevaplug and derivatives
Add kirkwood FDT:
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus
- Topkick1281P2

Signed-off-by: Gérald Kerma <drEagle@doukki.net>

SVN-Revision: 43735
10 years ago
Imre Kaloz 211cac98d5 Belkin AC 1750 DB (F9K1115v2) support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43734
10 years ago
John Crispin 0ffb7323d0 ralink: remove partitoon map from mt7621.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43720
10 years ago
Rafał Miłecki dd9ca05249 bcm53xx: sysupgrade support for devices with serial flash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43719
10 years ago
Rafał Miłecki c3e9796cd5 brcm47xx: extract magics from specific upgrade images (and still reject them)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43718
10 years ago
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
10 years ago
Rafał Miłecki a5b6b7e419 brcm47xx: detect (and still reject for now) CyberTAN fw format
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43714
10 years ago
Rafał Miłecki fbea00b031 ramips: update mtd patches to apply after changes from r43700
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43709
10 years ago
Rafał Miłecki b5b4bdc066 brcm47xx: use separated function in upgrade to detect file type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43708
10 years ago
John Crispin 2db6da5532 kirkwood: enable EA4500 switch on 3.18
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43704
10 years ago
John Crispin 374ab9decc gemini: update usb driver and merge registers into one patch
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43703
10 years ago
John Crispin fef7b4241f gemini: merge register ethernet patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43702
10 years ago
John Crispin 6f2b7567b8 ralink: drop old pinmux nodes from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43701
10 years ago
Rafał Miłecki b1bfed548c kernel: warn users to use the new (dedicated) firmware splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43700
10 years ago
Rafał Miłecki 2b4fbeb6d4 kernel: move old firmware uimage splitter into separated patch
This will allow us to drop it in the future. This patch doesn't change
the final mtdpart.c, it remains the same.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43696
10 years ago
Felix Fietkau e984869e22 realview: drop old kernel configs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43692
10 years ago
Felix Fietkau cfe3280494 au1000: remove leftover 3.3 kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43691
10 years ago
Felix Fietkau 511fadd857 au1000: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43690
10 years ago
Felix Fietkau 0f25db1a7d rb532: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43689
10 years ago
Felix Fietkau d34e2a337c at91: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43688
10 years ago
Felix Fietkau 45380ebd1a brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43687
10 years ago
Felix Fietkau 170ce29617 ixp4xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43686
10 years ago
Felix Fietkau c7e8b5ebbd lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43685
10 years ago
Felix Fietkau daeec86fba mpc85xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43684
10 years ago
Florian Fainelli 8692819c2c netlogic: fix XLR network driver build
Backport an upstream submission to fix xlr_net

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

SVN-Revision: 43682
10 years ago
John Crispin 263070a2e7 ramips:Add support for Aigale Ai-BR100
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

SVN-Revision: 43681
10 years ago
John Crispin aa697f1313 mxs: indention and whitespace fixes
Align this file with the style of most other modules.mk.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43680
10 years ago
John Crispin a28d07abbe ar71xx: add an extra check on board_name for ath10k firmware patchs
It moves firmware patch code behind an extra check on board_name.
Otherwise it will calculate firmware checksum for unaffected boards.
It also reduce boottime by a md5 calculation and removes error message
on boot if firmware not found.

SVN-Revision: 43679
10 years ago
John Crispin 10dbdb28d7 oxnas: fix gpio-fan on kd20
define speed-map and include kmod-hwmon-gpiofan in kd20 profile

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43678
10 years ago
John Crispin 9013a144fd oxnas: also make use of the GPIO poweroff driver
Works great to power-off the kd20 ;)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43677
10 years ago
John Crispin 4a7c88f139 kernel/generic: remove some left-over garbage from ledtrig patch
cosmetics. clean a style issue introduced by r43674.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43676
10 years ago
John Crispin 118534ea39 oxnas: use libata ledtrig support for kd20 hdd leds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43675
10 years ago
John Crispin ee6b5c6007 kernel/generic: add ledtrig support to libata
SVN-Revision: 43674
10 years ago
John Crispin 1701a9a4b9 oxnas: clean up default package selection
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43673
10 years ago
John Crispin d7b4bf8966 kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43670
10 years ago
Felix Fietkau 5b16fd1bf8 ar8216: enable cpu port to receive arp and broadcast frames for ar8236
Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 43668
10 years ago
John Crispin 6c4e7b22eb ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43667
10 years ago
John Crispin 7068b7ed1c oxnas: build S-ATA driver as a module
From: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43665
10 years ago
John Crispin b1f7a027da ralink: make uartf functional on AWM002
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43664
10 years ago
John Crispin 58a4113c5e oxnas: use u-boot.bin in KDIR
This fixes building *u-boot-initramfs.bin images using ImageBuilder

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43663
10 years ago
Zoltan Herpai 8feb491156 sunxi: fix led on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43661
10 years ago
Zoltan Herpai 92cf73cf11 mxs: allow bootloader to pass kernel cmdline
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43657
10 years ago
Zoltan Herpai a1467fb73b mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43656
10 years ago
Zoltan Herpai f34dfaf249 mxs: add i2c and spi packages to profiles
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43651
10 years ago
Zoltan Herpai 50f9d27da8 mxs: fix automatic status led detection
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43650
10 years ago
Zoltan Herpai 1014bb0fb4 mxs: update dts file for Duckbill
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43649
10 years ago
Zoltan Herpai 2265c4db31 mxs: i2c changes - add package for i2c module - remove i2c debug
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43648
10 years ago
Zoltan Herpai fc2dff246d mxs: add kernel module for spi interface
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43647
10 years ago
Zoltan Herpai 276a732a77 mxs: make boardname consistent with other targets
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43646
10 years ago
Luka Perkov a3eed6bc35 kernel: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43643
10 years ago
Luka Perkov a2a6077fd0 kirkwood: sort 110-nas profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43642
10 years ago
John Crispin 21349229f7 au1000: revert 43626 due to syntax errors
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43641
10 years ago
John Crispin ad35bcc41e oxnas: use ARM BCJ filter for XZ decompression
Restoring the config for kernel 3.14 didn't contain that change already
made to config-3.18.
It is needed to make squashfs in the kernel match the compression settings
for ARCH=arm in the framework.
If set to ARMTHUMB, boot fails due to squashfs being unreadable if the
filesystem was generated for wth ARM BCJ filter.

in include/image.mk:    BCJ_FILTER:=-Xbcj $(LINUX_KARCH)
Thus the ARM filter is used for all ARM targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43640
10 years ago
Rafał Miłecki 3aaee1ba02 bcm53xx: failsafe support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43639
10 years ago
Felix Fietkau bb4ffcf928 xburst: fix subtarget config file names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43637
10 years ago
Felix Fietkau 4b80e52575 x86: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43636
10 years ago
Felix Fietkau 3cc3c0a518 octeon: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43635
10 years ago
Felix Fietkau c095c7c202 adm8668: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43634
10 years ago
Jonas Gorski b7b52ce7de ar7: remove config-3.10
Remove a leftover file from the 3.10 support removal.

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

SVN-Revision: 43632
10 years ago
John Crispin 6f4656c19b netlogic: sync kernel config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43630
10 years ago
John Crispin 1ef2106725 ralink: mt7621 was missing a symbol that made the CC builder fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43629
10 years ago
John Crispin ce06a742c9 mcp85xx/p1020: fixup config-default
this was missed during the 3.14 bump

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43628
10 years ago
John Crispin 6d52fd203d kernel/modules: fix chipidea
it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43627
10 years ago
John Crispin ed61e202a1 au1000: distinguish different models and set correct MAC-address
The target au1000 has at least 2 different models, the
'InternetBox' and the 'MeshCube' which look very similar
from the kernel point of view but are totally different
devices which base on the same design. Populating /tmp/sysinfo
now. The 1st one has an issue which leads to a random
mac-address after each boot which is corrected now via
reading the bootloader-env. The real fix would be
converting to DTS, this is only a workaround now.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43626
10 years ago
Felix Fietkau 1558a6bcbf mpc85xx: fix another typo in the image makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43625
10 years ago
Felix Fietkau 5c89c4a5de mpc85xx: add missing devicetree ranges property for ethernet devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43624
10 years ago
Felix Fietkau 4db5bc59b1 mpc85xx: fix typo in image name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43622
10 years ago
Felix Fietkau db9f9a6407 sdk: add missing kernel include files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43621
10 years ago
Felix Fietkau 2d9d3e7163 mpc85xx: fix initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43620
10 years ago
Rafał Miłecki b55199cf41 bcm53xx: support LEDs on Buffalo devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43616
10 years ago
Luka Perkov 9a74026206 kirkwood: add 3.18 support
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43613
10 years ago
Rafał Miłecki 40d94a3ef0 bcm53xx: backport NVRAM driver sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43612
10 years ago
Rafał Miłecki ba81966001 bcm53xx: use bcma callback in SPROM driver to fill the SPROM
This is required because it has to be called at very precise moment. See
comment in driver for details.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43611
10 years ago
Rafał Miłecki b0b43e1ef9 bcm53xx: use static NVRAM pointer for now
This will allow us to sync with code sent for upstream.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43608
10 years ago
Luka Perkov a1da38f7b1 kernel: drop CONFIG_PROC_DEVICETREE in 3.18
This option was removed in upstream commit 8357041.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43607
10 years ago
Rafał Miłecki 960130e99c bcm53xx: clean up nvram header
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43606
10 years ago
Luka Perkov fa5f896cb7 kernel: add missing config symbols for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43605
10 years ago
Rafał Miłecki 7093580424 bcm53xx: move SPROM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43604
10 years ago
Rafał Miłecki 27a91a99d9 bcm53xx: move NVRAM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43603
10 years ago
Rafał Miłecki 3fab0d818c bcm53xx: move NVRAM header to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43602
10 years ago
John Crispin 9432cbd577 oxnas: add support for 2nd S-ATA port to sata_oxnas driver
similar to mv_sata, use nr-ports attribute from device tree.
import and adapt locking code from vendor GPL sources.
add dma controller handling, it may be used in future to avoid
full core resets similar to the vendor SDK's "progressive cleanup"
function.

this is still very dirty and aimed to first of all do things
quite exactly like the reference code. and it somehow works.
obviously there is lots of room for improvement :)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43598
10 years ago
John Crispin 1fa7c8587d oxnas: add copyright header to sata_oxnas
sata_oxnas.c is obviously a refactored version of sata_ox820.c
which does contain this header.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43597
10 years ago
Luka Perkov fd492354bb kernel: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43591
10 years ago
Luka Perkov 3b17625394 kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43590
10 years ago
Felix Fietkau 8c6f1412b1 ar71xx: improve ethernet driver cache footprint by removing an unnecessary pointer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43588
10 years ago
Felix Fietkau 27f36718d3 kernel: add a patch to make netfilter conntrack cache routing information
Significantly improves routing / NAT performance

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43587
10 years ago
Felix Fietkau db04bbd2ec ar71xx: remove another leftover broken chunk of code in the unaligned access hacks patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43586
10 years ago
Rafał Miłecki 613bc3ef3f bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43584
10 years ago
Rafał Miłecki aed6b26431 bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43580
10 years ago
Rafał Miłecki 73237c0c9b brcm47xx: add WNDR3400 V3 buttons
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43579
10 years ago
Jonas Gorski bdb1ee51f8 brcm63xx: fix a few issues in irq chip drivers
Fix locking and lock usage, making it compile for SMP.

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

SVN-Revision: 43578
10 years ago
Jonas Gorski ed7d8a0450 brcm63xx: alphabetically order image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43577
10 years ago
Jonas Gorski bc4dd8e119 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43576
10 years ago
Jonas Gorski 3fa17f6d58 brcm63xx: add DT support for USR9108
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43575
10 years ago
Jonas Gorski 218582e8ea brcm63xx: add DT support for F5D7633
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43574
10 years ago
Jonas Gorski d5f1dd9079 brcm63xx: add DT support for DG834GT/PN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43573
10 years ago
Jonas Gorski b0ae41f849 brcm63xx: add DT support for TD-W8900GB
According to the vendor tarball, the TD-w8900GB's flash has 64k erase
block size, but CFE spans two blocks. So fixup the image offset
accordingly but keep block size at its default (64k).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: add commit message, add image offset, change nvram offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43572
10 years ago
Jonas Gorski 84200cf189 brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43571
10 years ago
Jonas Gorski 929ade0648 brcm63xx: add DT support for CPVA642
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43570
10 years ago
Felix Fietkau 712f6ec52a kernel: update linux 3.18 to final release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43569
10 years ago
Felix Fietkau 58de4a4759 kernel: backport an upstream xfrm crash fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43568
10 years ago
Felix Fietkau 0cebaafa6e kernel: add missing check for skb->dev on netfilter xfrm optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43567
10 years ago
Felix Fietkau 14a163ca58 kernel: remove the obsolete vm_exports patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43565
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
Felix Fietkau 6327386aff ar71xx: fix invalid pointer accesses caused by unaligned access hacks (#18455)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43560
10 years ago
Felix Fietkau 0f07e7c9a8 x86: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43559
10 years ago
Felix Fietkau 363b166eb9 x86: rename */config-3.10 to */config-default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43558
10 years ago
Felix Fietkau 0485747912 kernel: fix x86 objdump invocation on 3.14 and 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43557
10 years ago
John Crispin 7c7964e10d ar7: bump to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43553
10 years ago
Florian Fainelli aba92ec05e adm8668: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43552
10 years ago
Florian Fainelli 06152c8abf adm8668: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43551
10 years ago
Florian Fainelli 356447e6c2 adm8668: rename files to files-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43550
10 years ago
Florian Fainelli bb9833a17a cobalt: remove 3.3 and 3.10 kernel configuration files
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43549
10 years ago
Florian Fainelli 4287370f76 cobalt: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43548
10 years ago
Florian Fainelli 35e8cc2cdc cobalt: add 3.14 kernel configuration file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43547
10 years ago
Hauke Mehrtens 7a2f186d70 bcm53xx: update the NAND driver
This adds some updates to the NAND driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43546
10 years ago
Hauke Mehrtens 664ae86dde bcm53xx: update the PCIe driver
This adds some updates to the PCIe driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43545
10 years ago
Hauke Mehrtens d9bb8326fa kernel: update bcma and ssb to wireless-testing master-2014-12-05
This brings ssb and bcma to wireless-testing tag master-2014-12-05

In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43544
10 years ago
John Crispin 7a65768ddc kirkwood: add a diag script
Currently only Linksys EA4500 is supported.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 43543
10 years ago
John Crispin 8a123f6f66 ramips: generate factory images for Nexx devices
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 43541
10 years ago
John Crispin 3572657c5a ar71xx: dev-eth: replace mdelay calls
Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43540
10 years ago
John Crispin 59e7999a44 ag71xx: replace delay with sleep calls
I don't see that we're in an atomic context so there's no need to
busy-wait. Therefore replace the delay with sleep calls.
See also Documentation/timers/timers-howto.txt. It states:
"In general, use of mdelay is discouraged and code should
be refactored to allow for the use of msleep."

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43539
10 years ago
John Crispin 4caa8d50ad ag71xx: replace fixed PHY reset wait time in ar7240sw_setup
Replace the fixed wait time of 1s with polling for BMCR_RESET
to be cleared on all PHYs.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43538
10 years ago
Hauke Mehrtens 563f963b1b kernel: refresh patches for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43536
10 years ago
Hauke Mehrtens 8e738da02c brcm47xx: remove kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43535
10 years ago
Rafał Miłecki dc6171c734 bcm53xx: 3.18: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43534
10 years ago
Rafał Miłecki a20fa1cb48 bcm53xx: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43533
10 years ago
Rafał Miłecki 1020b84266 brcm47xx: add early support for WNDR3400 V3
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43532
10 years ago
Rafał Miłecki 9bec9b86af bcm53xx: backport BCM5301X patches from arm-soc.git next/dt
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43530
10 years ago
Rafał Miłecki d1e0e39993 bcm53xx: squeeze (rename) BCM5301X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43529
10 years ago
Rafał Miłecki 8ea3c20b23 bcm53xx: rename patches that were not upstreamed to 3xx
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43528
10 years ago
Rafał Miłecki 8033ccc975 kernel: update bcma up to 2014-10-27
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43527
10 years ago
John Crispin c79ddb3773 octeon: sysupgrade: support config restore on ERL
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43524
10 years ago
John Crispin 1731d5520e octeon: sysupgrade: rename old kernel after mounting /boot
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43523
10 years ago
John Crispin 52f1d8ecdc octeon: sysupgrade: fix test for rootfs device
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43522
10 years ago
John Crispin dcc20e525b oxnas: switch back to kernel 3.14
3.18 still got problems with stuck reboots if rootfs is ubifs...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43521
10 years ago
John Crispin e553dfc356 oxnas: re-add support for kernel 3.14
This reverts commit c81ddddde5fd193802d511b42eb7b108aac17136 on
https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git
which removed patches and config for 3.14.

[arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18]

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43520
10 years ago
John Crispin dcc8a8ca9e octeon: add support for 3.18 kernel
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43519
10 years ago
John Crispin 6f665ea7b8 octeon: sysupgrade: support config restore
SVN-Revision: 43518
10 years ago
John Crispin 28a9d9853b octeon: sysupgrade: get rootfsdev from kernel cmdline
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43517
10 years ago
John Crispin e6858f5f3f amazon: R.I.P.
its been broken for 2 1/2 years

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43516
10 years ago
John Crispin d04c4a311e ralink: mt7621 is a 1004Kc
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 43514
10 years ago
Felix Fietkau 426467beba kernel: add missing null pointer check for mips dma ops inline patch on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43511
10 years ago
John Crispin a21c9fd655 kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43507
10 years ago
John Crispin a10a204aab kernel: make ubi auto-attach check for a tar file magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43506
10 years ago
John Crispin 8a9979e57a gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43501
10 years ago
John Crispin a122c1c9c9 oxnas: switch CRC32 implementation to SLICEBY8
similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43498
10 years ago
John Crispin 9430e86b61 oxnas/kd20: add usb-storage to default package set
KD20 got a built-in card-reader wired to the USB-3 root-hub.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43497
10 years ago
John Crispin 46814be2a8 oxnas/kd20: use gpio-beeper
gpio-beeper module was added to the kernel recently.
Make use of it to drive the piezoelectric buzzer of the kd20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43496
10 years ago
John Crispin ae51d64671 au1000: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43494
10 years ago
Felix Fietkau f11b61ae18 realview: refresh kernel patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43491
10 years ago
John Crispin 417e67b6b1 realview: fix up the phyoffset patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43488
10 years ago
John Crispin b5675ad92a kirkwood: enable mvsw6171 switch driver on EA4500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43487
10 years ago
John Crispin 9b5f583906 kernel: add driver for Marvell 88E6171 switch
This is a swconfig driver for the Marvell 88E6171 switch,
which is a 7-port GigE switch with two CPU ports and 64
802.1q VLANs.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43486
10 years ago
John Crispin 374f8a04e1 malta: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43481
10 years ago
Felix Fietkau d1c0a65266 kernel: update 3.18 to rc7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43479
10 years ago
John Crispin ad1592e02c oxnas: change visible board name
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43475
10 years ago
John Crispin aa9141046f oxnas: ehci: rename vendor prefix plxtch to plxtech
it was changed in DTS by commit
oxnas-target: fix typo in OX820 device-tree

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43474
10 years ago
John Crispin ecd27db757 ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43471
10 years ago
John Crispin ae15531bd2 ar8216: factor out mii_lo_first to ar8xxx_chip
Factor out mii_lo_first to ar8xxx_chip.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43470
10 years ago
John Crispin ea9324f3d3 ar8216: factor out chip-specific data structures from ar8xxx_priv
Factor out chip-specific data structures from ar8xxx_priv.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43469
10 years ago
John Crispin a3b651635f ar8216: factor out set_mirror_regs to ar8xxx_chip
Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43468
10 years ago
John Crispin b82a08f5b6 ar8216: factor out mib_func to ar8xxx_chip
Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43467
10 years ago
John Crispin af003867b1 ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip
Factor out info whether switch should be configured at probe stage
to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43466
10 years ago
John Crispin 84df2274ff realview: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43465
10 years ago
John Crispin c27ee280ce ixp4xx: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43464
10 years ago
John Crispin 00f5d358ac au1000: add 3.14 support
this is only compile tested

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43463
10 years ago
John Crispin 610311436e ar71xx: Add build profile for the gl-inet 6416A and 6408A
Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1
Both devices are identical, only difference is one comes with 8MB flash and
the other with 16MB flash

Official website: http://www.gl-inet.com/w/?page_id=241&lang=en
Comprehensive list of specs: https://revspace.nl/GL-Inet

Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com>

SVN-Revision: 43462
10 years ago
Jonas Gorski 387fd3ca26 brcm63xx: add kernel 3.18 support
Add 3.18 support based on 3.18-rc6. Only netboot tested.

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

SVN-Revision: 43461
10 years ago
Jonas Gorski e8068f0b1b brcm63xx: register interrupt-controllers through DT when possible
Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

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

SVN-Revision: 43457
10 years ago
Jonas Gorski 443d730da8 brcm63xx: dtsi: add missing ranges properity to ubus nodes
Allows nodes behind it to be mapped.

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

SVN-Revision: 43456
10 years ago
Jonas Gorski d9a2c55806 brcm63xx: dtsi: add missing properties to cpu nodes
Mark them as cpu nodes and add the addresses.

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

SVN-Revision: 43455
10 years ago
Jonas Gorski ef4f69adc0 brcm63xx: convert to irq domain
Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

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

SVN-Revision: 43454
10 years ago
Jonas Gorski bb312899f6 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43453
10 years ago