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
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
2014-12-17 08:33:55 +00:00
Imre Kaloz
211cac98d5
Belkin AC 1750 DB (F9K1115v2) support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43734
2014-12-17 08:27:38 +00:00
John Crispin
0ffb7323d0
ralink: remove partitoon map from mt7621.dtsi
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43720
2014-12-15 15:55:37 +00:00
Rafał Miłecki
dd9ca05249
bcm53xx: sysupgrade support for devices with serial flash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43719
2014-12-15 15:43:46 +00:00
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
2014-12-15 11:09:14 +00:00
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
2014-12-15 10:37:00 +00:00
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
2014-12-15 09:59:44 +00:00
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
2014-12-15 09:10:43 +00:00
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
2014-12-15 08:51:14 +00:00
John Crispin
2db6da5532
kirkwood: enable EA4500 switch on 3.18
...
Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 43704
2014-12-14 08:57:58 +00:00
John Crispin
374ab9decc
gemini: update usb driver and merge registers into one patch
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43703
2014-12-14 08:57:52 +00:00
John Crispin
fef7b4241f
gemini: merge register ethernet patches into one
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43702
2014-12-14 08:57:43 +00:00
John Crispin
6f2b7567b8
ralink: drop old pinmux nodes from dts files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43701
2014-12-14 08:57:16 +00:00
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
2014-12-14 00:35:03 +00:00
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
2014-12-13 20:06:47 +00:00
Felix Fietkau
e984869e22
realview: drop old kernel configs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43692
2014-12-13 11:55:59 +00:00
Felix Fietkau
cfe3280494
au1000: remove leftover 3.3 kernel config
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43691
2014-12-13 11:55:49 +00:00
Felix Fietkau
511fadd857
au1000: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43690
2014-12-13 11:55:41 +00:00
Felix Fietkau
0f25db1a7d
rb532: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43689
2014-12-13 11:55:32 +00:00
Felix Fietkau
d34e2a337c
at91: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43688
2014-12-13 11:55:24 +00:00
Felix Fietkau
45380ebd1a
brcm2708: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43687
2014-12-13 11:55:11 +00:00
Felix Fietkau
170ce29617
ixp4xx: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43686
2014-12-13 11:55:04 +00:00
Felix Fietkau
c7e8b5ebbd
lantiq: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43685
2014-12-13 11:54:57 +00:00
Felix Fietkau
daeec86fba
mpc85xx: remove linux 3.10 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43684
2014-12-13 11:54:49 +00:00
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
2014-12-13 08:08:30 +00:00
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
2014-12-13 08:07:03 +00:00
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
2014-12-13 08:06:22 +00:00
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
2014-12-13 08:06:01 +00:00
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
2014-12-13 08:04:54 +00:00
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
2014-12-13 08:02:52 +00:00
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
2014-12-13 08:00:22 +00:00
John Crispin
118534ea39
oxnas: use libata ledtrig support for kd20 hdd leds
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43675
2014-12-12 20:24:33 +00:00
John Crispin
ee6b5c6007
kernel/generic: add ledtrig support to libata
...
SVN-Revision: 43674
2014-12-12 20:24:21 +00:00
John Crispin
1701a9a4b9
oxnas: clean up default package selection
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43673
2014-12-12 20:24:13 +00:00
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
2014-12-12 17:14:14 +00:00
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
2014-12-12 16:23:29 +00:00
John Crispin
6c4e7b22eb
ralink: fix lenovo y1 wan port mapping
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43667
2014-12-12 16:17:31 +00:00
John Crispin
7068b7ed1c
oxnas: build S-ATA driver as a module
...
From: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43665
2014-12-12 16:17:13 +00:00
John Crispin
b1f7a027da
ralink: make uartf functional on AWM002
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43664
2014-12-12 16:17:03 +00:00
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
2014-12-12 16:16:57 +00:00