Commit Graph

13769 Commits (440591ac63a185a099276194840813a02efd6f2e)

Author SHA1 Message Date
Hauke Mehrtens 440591ac63 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 16:23:42 +00:00
Felix Fietkau b86331c9ad ar7: remove leftover 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:57:42 +00:00
Felix Fietkau 1dd4bca0be 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:53 +00:00
Felix Fietkau dc0c86e562 ar8216: Inline function ar8xxx_create_mii
Inline function ar8xxx_create_mii.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:47 +00:00
Felix Fietkau 8402817f65 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:39 +00:00
Felix Fietkau 5ece5a0506 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:34 +00:00
Felix Fietkau 8cd7a6e0dc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:28 +00:00
Felix Fietkau ec13524b2c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 11:28:20 +00:00
Rafał Miłecki d3b63e5b4e bcm53xx: backport spi-nor changes and update bcm53xxspiflash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 14:53:25 +00:00
Felix Fietkau 89d061a4ba kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 12:27:14 +00:00
Luka Perkov 6d4c768801 kirkwood: add sheevaplug and derivatives
Add kirkwood FDT:
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus
- Topkick1281P2

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 08:33:55 +00:00
Imre Kaloz 740a5b9678 [ar71xx]: Belkin AC 1750 DB (F9K1115v2) support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 08:27:38 +00:00
John Crispin cf0960f806 ralink: remove partitoon map from mt7621.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 15:55:37 +00:00
Rafał Miłecki 84880c57a1 bcm53xx: sysupgrade support for devices with serial flash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 15:43:46 +00:00
Rafał Miłecki faa76d0998 brcm47xx: extract magics from specific upgrade images (and still reject them)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 11:09:14 +00:00
John Crispin ff1614a661 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 10:37:00 +00:00
Rafał Miłecki 5db780f399 brcm47xx: detect (and still reject for now) CyberTAN fw format
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 09:59:44 +00:00
Rafał Miłecki ce4d73fca1 ramips: update mtd patches to apply after changes from r43700
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 09:10:43 +00:00
Rafał Miłecki 3a743d2632 brcm47xx: use separated function in upgrade to detect file type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 08:51:14 +00:00
John Crispin d2d881ab04 kirkwood: enable EA4500 switch on 3.18
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 08:57:58 +00:00
John Crispin 426f76bc46 gemini: update usb driver and merge registers into one patch
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 08:57:52 +00:00
John Crispin e6ce5b6114 gemini: merge register ethernet patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 08:57:43 +00:00
John Crispin bb4fca721f ralink: drop old pinmux nodes from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 08:57:16 +00:00
Rafał Miłecki 1796af0a7e kernel: warn users to use the new (dedicated) firmware splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 00:35:03 +00:00
Rafał Miłecki d118689cb7 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 20:06:47 +00:00
Felix Fietkau c5957c03d4 realview: drop old kernel configs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:59 +00:00
Felix Fietkau 0963dea841 au1000: remove leftover 3.3 kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:49 +00:00
Felix Fietkau 02663f94c7 au1000: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:41 +00:00
Felix Fietkau d376b4b732 rb532: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:32 +00:00
Felix Fietkau 8d1ff94dbe at91: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:24 +00:00
Felix Fietkau b0a3e61a58 brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:11 +00:00
Felix Fietkau d36e9ec877 ixp4xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:55:04 +00:00
Felix Fietkau 360e7df4c9 lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:54:57 +00:00
Felix Fietkau 6a6d3d2b8d mpc85xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 11:54:49 +00:00
Florian Fainelli 8ef7cf37af netlogic: fix XLR network driver build
Backport an upstream submission to fix xlr_net

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:08:30 +00:00
John Crispin 14147dd72b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:07:03 +00:00
John Crispin 2520742c31 mxs: indention and whitespace fixes
Align this file with the style of most other modules.mk.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:06:22 +00:00
John Crispin f92575ace5 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:06:01 +00:00
John Crispin 28619490ee 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:04:54 +00:00
John Crispin bcb31c4bc7 oxnas: also make use of the GPIO poweroff driver
Works great to power-off the kd20 ;)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:02:52 +00:00
John Crispin e602e40d2c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:00:22 +00:00
John Crispin 1c40c5b7ad oxnas: use libata ledtrig support for kd20 hdd leds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 20:24:33 +00:00
John Crispin 5f5e4cf3eb kernel/generic: add ledtrig support to libata
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 20:24:21 +00:00
John Crispin b4924f5e2f oxnas: clean up default package selection
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 20:24:13 +00:00
John Crispin 71906dea62 kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
Signed-off-by: Richard Kunze <richard.kunze@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 17:14:14 +00:00
Felix Fietkau 171f3274a4 ar8216: enable cpu port to receive arp and broadcast frames for ar8236
Signed-off-by: Weijie Gao <hackpascal@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:23:29 +00:00
John Crispin bf6a13069b ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:17:31 +00:00
John Crispin 7d6e649d46 oxnas: build S-ATA driver as a module
From: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:17:13 +00:00
John Crispin bd3fcf0ac5 ralink: make uartf functional on AWM002
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:17:03 +00:00
John Crispin d48ff407a5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:16:57 +00:00