Commit Graph

14137 Commits (d1f285d96c5c05be58bdaec1ae6d19548f7453ba)

Author SHA1 Message Date
Felix Fietkau d1f285d96c 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 20:47:10 +00:00
Felix Fietkau 3230566326 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 20:47:01 +00:00
Felix Fietkau 10d27e3877 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 20:46:49 +00:00
Felix Fietkau f28dad7c6e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 20:46:41 +00:00
Felix Fietkau 62477818bb kernel: remove openwrt micrel.c (replaced by upstream driver)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 14:37:07 +00:00
Felix Fietkau eb1049c8c0 kernel: disable soft-reset for generic PHY devices to avoid accidentally clearing preinitialized state
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-20 15:26:38 +00:00
Rafał Miłecki f7e3ab8f27 bcm53xx: support WAN connected to switch port 0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-20 15:09:01 +00:00
Luka Perkov 863d6cfaeb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-19 22:02:59 +00:00
Luka Perkov 6f59aca59a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-19 11:05:13 +00:00
Luka Perkov 1cdd0f7340 kikwood: populate kirkwood.sh with new boards
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 18:38:43 +00:00
Luka Perkov e266a3e44f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 18:38:38 +00:00
Hauke Mehrtens 1ea4b50804 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 16:25:22 +00:00
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