Commit graph

13078 commits

Author SHA1 Message Date
Luka Perkov
b78cddafcc kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43929
2015-01-11 01:28:32 +00:00
Florian Fainelli
884a01d8a4 mcs814x: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43927
2015-01-10 20:12:15 +00:00
Florian Fainelli
dd4ee63fa4 mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43926
2015-01-10 20:12:02 +00:00
Florian Fainelli
3b523f6780 mcs814x: account for dtb output directory differences
3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those
in arch/arm/boot/dts/, adjust the image makefile accordingly.

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

SVN-Revision: 43925
2015-01-10 20:11:18 +00:00
Florian Fainelli
d43997b223 mcs814x: set low_mem feature flag
Most of the devices we support have between 16MiB and 32MiB of RAM
available.

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

SVN-Revision: 43924
2015-01-10 20:11:07 +00:00
Florian Fainelli
cfdb22f0e4 mcs814x: rename config-default to config-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43923
2015-01-10 20:10:57 +00:00
Zoltan Herpai
741e0fd7a1 sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43922
2015-01-10 19:56:30 +00:00
Felix Fietkau
547ab2de5a ar71xx: fix console string in images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43917
2015-01-10 18:48:14 +00:00
Florian Fainelli
3b21b2ae00 adm5120: add experimental 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43915
2015-01-10 18:10:04 +00:00
Florian Fainelli
c119814b2b adm5120: move files to files-3.8
In preparation for adding new kernel support

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

SVN-Revision: 43914
2015-01-10 18:08:53 +00:00
Zoltan Herpai
3db73fc350 kernel: add missing config symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43912
2015-01-10 17:23:55 +00:00
Felix Fietkau
9229b34d92 ar71xx: port wndr3700/3800 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43910
2015-01-10 15:27:07 +00:00
Felix Fietkau
492bcad8ec ar71xx: port carambola2 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43909
2015-01-10 15:27:00 +00:00
Felix Fietkau
5b0d18093d ramips: convert mt7621 images to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43908
2015-01-10 15:26:53 +00:00
Felix Fietkau
e66f1292aa ramips: simplify mkimage kernel loadaddr/entry handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43906
2015-01-10 15:26:38 +00:00
Zoltan Herpai
1e0c22507a sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43900
2015-01-09 19:35:14 +00:00
Felix Fietkau
48d8bc4f97 ramips: add preliminary Archer C20i support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43898
2015-01-09 15:40:51 +00:00
Imre Kaloz
7f21a92ffa switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43893
2015-01-09 12:36:07 +00:00
Imre Kaloz
182bbf60b7 upgrade to 3.18.2
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43892
2015-01-09 12:35:19 +00:00
John Crispin
baad87ae3d kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43888
2015-01-08 21:23:18 +00:00
John Crispin
5789169b1d gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43885
2015-01-08 20:26:34 +00:00
John Crispin
5a5d558d0f gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43884
2015-01-08 20:26:27 +00:00
John Crispin
2120e48e75 ramips: Fix HooToo HT-TM02 support.
- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43883
2015-01-08 20:26:20 +00:00
John Crispin
5ea31bbc58 ramips: Fix for gpio falling interrupt mask
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.

Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43882
2015-01-08 20:26:13 +00:00
John Crispin
2ea64717e2 ramips: update BR-6475ND dts
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 43881
2015-01-08 20:26:02 +00:00
John Crispin
f9dcd95919 ramips: base-files: Whitespace fixes.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43880
2015-01-08 20:25:55 +00:00
John Crispin
c9a390f9e1 lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43879
2015-01-08 20:25:48 +00:00
John Crispin
9d7d29439b lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43878
2015-01-08 20:25:41 +00:00
John Crispin
550784f1ea lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43877
2015-01-08 20:25:35 +00:00
John Crispin
1ba71cbc14 lantiq: Fix adsl led on Home Hub 2B
This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43876
2015-01-08 20:25:28 +00:00
Felix Fietkau
5bbe758e4e lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43856
2015-01-05 21:37:21 +00:00
Imre Kaloz
26b57a6dc2 refresh kernel config, add cpuidle and cpufreq support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43855
2015-01-05 15:08:20 +00:00
Imre Kaloz
bfa1f18bfb enable swconfig and the mvsw6171 driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43854
2015-01-05 15:02:18 +00:00
Felix Fietkau
1cbf0fbcb4 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.

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

SVN-Revision: 43845
2015-01-05 13:03:07 +00:00
Felix Fietkau
cc02d4c72d ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h
Move several structure definitions and #defines from ar8216.c
to ar8216.h and move AR8327/AR8337 header stuff into a new
header file ar8327.h.

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

SVN-Revision: 43844
2015-01-05 13:02:57 +00:00
Felix Fietkau
7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

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

SVN-Revision: 43842
2015-01-05 13:02:44 +00:00
Felix Fietkau
2b9379052e kernel: bridge: multicast: backport a few more fixes for 3.10
The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

SVN-Revision: 43841
2015-01-05 13:02:31 +00:00
Felix Fietkau
36fa8e4ce2 octeon: enable VLAN support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43840
2015-01-05 13:02:26 +00:00
Felix Fietkau
1d21ebab99 octeon: remove config-default
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43839
2015-01-05 13:02:21 +00:00
Imre Kaloz
5ed3a7aeb3 add tmp421 to the device tree instead of relying on autodetect
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43825
2015-01-04 17:26:07 +00:00
Luka Perkov
deb35ad4ac kernel: update 3.18 to 3.18.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43821
2015-01-03 22:59:47 +00:00
Luka Perkov
9c8422a09b kernel: update 3.14 to 3.14.27
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43820
2015-01-03 22:59:43 +00:00
Felix Fietkau
fd7be4073a ramips: fix WSR-600DHP flash layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43819
2015-01-03 18:31:27 +00:00
Felix Fietkau
373c84c30b ramips: fix WSR-1166DHP flash layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43818
2015-01-03 18:31:17 +00:00
Felix Fietkau
ada0452b14 ramips: fix WSR-{600,1166} names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43817
2015-01-03 18:31:11 +00:00
Felix Fietkau
ca32b89cc0 ramips: fix wsr-1166 sysupgrade support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43816
2015-01-03 18:31:06 +00:00
Felix Fietkau
88e8f99f7f ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43815
2015-01-03 18:30:57 +00:00
Felix Fietkau
bdc35c8ef4 ramips: fix WSR-600 image format
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43814
2015-01-02 21:53:45 +00:00
Felix Fietkau
8eb074756d ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43813
2015-01-02 21:53:38 +00:00
Felix Fietkau
ed20caeb65 ramips: fix image format for WSR-1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43812
2015-01-02 21:53:31 +00:00
Felix Fietkau
10c2bdbc4f ramips: disable ethernet checksum offloads for mt7621, they are broken
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43811
2015-01-02 21:53:24 +00:00
Felix Fietkau
51b1f0ca5c ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43810
2015-01-02 21:53:18 +00:00
Felix Fietkau
baa3a38ac6 kernel: add mtd split support for trx images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43809
2015-01-02 21:53:11 +00:00
Felix Fietkau
81e3014e6d ramips: rework and fix m25p80 chunked-io support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43808
2015-01-02 21:53:02 +00:00
Felix Fietkau
aefd3c569c ramips: split mt7621 spi into a separate driver, increase maximum transfer size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43807
2015-01-02 21:52:53 +00:00
Felix Fietkau
cc5f89c66a kernel: add a mtdsplit implementation for tp-link firmware headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43806
2015-01-02 21:52:44 +00:00
Felix Fietkau
4153c0adff kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43805
2015-01-02 21:52:35 +00:00
Imre Kaloz
6bfd210ade honor the bootloader's bootargs
Only overwrite the bootloader's bootargs if "chosen" exists in the dtb

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43802
2015-01-02 16:48:20 +00:00
Imre Kaloz
f12a0f4308 enable wpad-mini by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43801
2014-12-31 21:59:07 +00:00
Rafał Miłecki
d1a28cfbb2 bcm53xx: support flashing CHK and CyberTAN images
SVN-Revision: 43800
2014-12-30 17:45:53 +00:00
Rafał Miłecki
81b8d95f2c brcm47xx: support for flashing CHK and CyberTAN images
This will allow simple sysupgrade-s including simpler reverting to the
original firmware.

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

SVN-Revision: 43799
2014-12-30 17:19:36 +00:00
Rafał Miłecki
cca3990b16 brcm47xx: verify if CHK/CyberTAN contains valid TRX
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43798
2014-12-30 17:19:02 +00:00
Hauke Mehrtens
bb5a18ff92 mpc83xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43797
2014-12-29 17:11:13 +00:00
Hauke Mehrtens
cb96191088 mpc52xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43796
2014-12-29 16:12:52 +00:00
Hauke Mehrtens
2ea959650e ep93xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43795
2014-12-29 13:55:59 +00:00
Hauke Mehrtens
469e8adbac kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43794
2014-12-29 11:59:32 +00:00
Hauke Mehrtens
f22aeccdd2 ipq806x: refresh patches
This makes the patchs apply again.

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

SVN-Revision: 43792
2014-12-28 19:31:40 +00:00
Felix Fietkau
0f0460afda oxnas: re-enable ubifs
After the changes make ubinize.cfg optional in image.mk, ubifs
generation can now safely be enabled again.

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

SVN-Revision: 43789
2014-12-27 13:03:26 +00:00
Felix Fietkau
2ef587a8fc oxnas: clk-oxnas: rework pllb enable function
kernel lock debugging unveiled that we should not call
of_reset_control_get inside a clock's enable operation (see below)

move of_reset_control_* previously used in pllb_clk_enable to new
pllb_clk_prepare and pllb_clk_unprepare functions.
use a container to carry runtime information.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2742 lockdep_trace_alloc+0xb8/0xfc()
DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.26 #6
[<c001a6ac>] (unwind_backtrace) from [<c0016dec>] (show_stack+0x10/0x14)
[<c0016dec>] (show_stack) from [<c0194f68>] (dump_stack+0x7c/0x94)
[<c0194f68>] (dump_stack) from [<c0021b50>] (warn_slowpath_common+0x68/0x8c)
[<c0021b50>] (warn_slowpath_common) from [<c0021ba4>] (warn_slowpath_fmt+0x30/0x40)
[<c0021ba4>] (warn_slowpath_fmt) from [<c0061b30>] (lockdep_trace_alloc+0xb8/0xfc)
[<c0061b30>] (lockdep_trace_alloc) from [<c00cb740>] (kmem_cache_alloc+0x1c/0xf8)
[<c00cb740>] (kmem_cache_alloc) from [<c01d33c8>] (of_reset_control_get+0xe8/0x12c)
[<c01d33c8>] (of_reset_control_get) from [<c0269228>] (pllb_clk_enable+0x14/0xbc)
[<c0269228>] (pllb_clk_enable) from [<c0265738>] (__clk_enable+0x54/0xa0)
[<c0265738>] (__clk_enable) from [<c0265acc>] (clk_enable+0x18/0x2c)
[<c0265acc>] (clk_enable) from [<c04325f8>] (oxnas_pcie_probe+0x3b8/0x6a0)
[<c04325f8>] (oxnas_pcie_probe) from [<c01f2510>] (platform_drv_probe+0x18/0x48)
[<c01f2510>] (platform_drv_probe) from [<c01f1070>] (driver_probe_device+0xd8/0x24c)
[<c01f1070>] (driver_probe_device) from [<c01f1298>] (__driver_attach+0x70/0x94)
[<c01f1298>] (__driver_attach) from [<c01ef728>] (bus_for_each_dev+0x4c/0x98)
[<c01ef728>] (bus_for_each_dev) from [<c01f0818>] (bus_add_driver+0xcc/0x1e8)
[<c01f0818>] (bus_add_driver) from [<c01f169c>] (driver_register+0xa0/0xe8)
[<c01f169c>] (driver_register) from [<c01f2568>] (platform_driver_probe+0x20/0xa4)
[<c01f2568>] (platform_driver_probe) from [<c0013a3c>] (do_one_initcall+0x90/0x140)
[<c0013a3c>] (do_one_initcall) from [<c0421d38>] (kernel_init_freeable+0x1e4/0x2c0)
[<c0421d38>] (kernel_init_freeable) from [<c000c214>] (kernel_init+0x8/0x104)
[<c000c214>] (kernel_init) from [<c0008768>] (ret_from_fork+0x14/0x2c)
---[ end trace 5f17ed2f61e0683f ]---

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

SVN-Revision: 43787
2014-12-27 13:03:12 +00:00
Felix Fietkau
604fc8faf5 kernel/generic: fix warnings if libata-ledtrig is disabled
accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

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

SVN-Revision: 43786
2014-12-27 13:02:58 +00:00
Imre Kaloz
edbb903461 fix mvneta vlan tagging
This is a 3.14.x backport of:
"mvneta: Fix TSO and checksum for non-acceleration vlan traffic"

Upstream commits:

817dbfa5d1bc276a72c1a577310382008e8aca0a
2d39d120781a5770573dc6ed672a5a562f541aea

Fixes vlan tagging on SoC interfaces for the WRT1900AC.  Useful
when using mvsw6171 driver.

Signed-off-by: Mark Milburn <mark.a.milburn@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43781
2014-12-26 14:48:33 +00:00
Imre Kaloz
e23b988bf5 only call UbinizeImage and BuildSysUpgrade for boards we support them on
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43779
2014-12-26 13:45:18 +00:00
Imre Kaloz
f3755f5758 The ubinized filesystems should be used for generating the final images, so store them in KDIR instead.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43778
2014-12-26 13:33:22 +00:00
Felix Fietkau
fa3cb9fa5c ar71xx: add flush reset register writes, should fix restart issues (#17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43777
2014-12-26 12:36:38 +00:00
Felix Fietkau
a96afecf5c kernel: backport a few PHY layer fixes from upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43776
2014-12-26 12:36:30 +00:00
Felix Fietkau
d7320d2d89 ar71xx: rename/refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43775
2014-12-26 12:36:22 +00:00
Imre Kaloz
5744500ab6 we've changed places with Luka, reflect that :)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43774
2014-12-25 22:34:15 +00:00
Imre Kaloz
2bff4ca7b1 use mwlwifi by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43773
2014-12-25 22:29:29 +00:00
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
2014-12-22 20:47:10 +00:00
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
2014-12-22 20:47:01 +00:00
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
2014-12-22 20:46:49 +00:00
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
2014-12-22 20:46:41 +00:00
Felix Fietkau
5506420980 kernel: remove openwrt micrel.c (replaced by upstream driver)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43762
2014-12-22 14:37:07 +00:00
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
2014-12-20 15:26:38 +00:00
Rafał Miłecki
e7d7f59171 bcm53xx: support WAN connected to switch port 0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43754
2014-12-20 15:09:01 +00:00
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
2014-12-19 22:02:59 +00:00
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
2014-12-19 11:05:13 +00:00
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
2014-12-18 18:38:43 +00:00
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
2014-12-18 18:38:38 +00:00
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
2014-12-18 16:25:22 +00:00
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
2014-12-18 16:23:42 +00:00
Felix Fietkau
4ccf215a3e ar7: remove leftover 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43746
2014-12-18 11:57:42 +00:00
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
2014-12-18 11:28:53 +00:00
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
2014-12-18 11:28:47 +00:00
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
2014-12-18 11:28:39 +00:00
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
2014-12-18 11:28:34 +00:00
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
2014-12-18 11:28:28 +00:00
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
2014-12-18 11:28:20 +00:00
Rafał Miłecki
e21e9c5548 bcm53xx: backport spi-nor changes and update bcm53xxspiflash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43738
2014-12-17 14:53:25 +00:00
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
2014-12-17 12:27:14 +00:00