aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: sata_oxnas: refactoring phase 1Felix Fietkau2014-12-223-122/+152
| | | | | | | | | | | | | 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
* oxnas: refresh kernel config-3.1[48]Felix Fietkau2014-12-222-31/+10
| | | | | | | | | 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
* kernel: remove openwrt micrel.c (replaced by upstream driver)Felix Fietkau2014-12-229-147/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable soft-reset for generic PHY devices to avoid accidentally ↵Felix Fietkau2014-12-202-0/+58
| | | | | | | | 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
* bcm53xx: support WAN connected to switch port 0Rafał Miłecki2014-12-201-2/+11
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvsw6171: note support for 88E6172 switchesLuka Perkov2014-12-193-3/+3
| | | | | | | | | 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
* kirkwood: add *plugs to uci-defaultsLuka Perkov2014-12-192-0/+14
| | | | | | | | | | | | | 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
* kikwood: populate kirkwood.sh with new boardsLuka Perkov2014-12-181-0/+12
| | | | | | | | | | - 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
* kirkwood: set default EA4500 switch configLuka Perkov2014-12-181-0/+16
| | | | | | | | | | | 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
* kernel: bgmac: fix some problemsHauke Mehrtens2014-12-186-4/+148
| | | | | | | | | 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
* bcm53xx: PCIe: add link check againHauke Mehrtens2014-12-182-50/+112
| | | | | | | | | | | | 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
* ar7: remove leftover 3.10 patchesFelix Fietkau2014-12-1812-826/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for qca956x socFelix Fietkau2014-12-182-0/+768
| | | | | | | | | | | | 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
* ar8216: Inline function ar8xxx_create_miiFelix Fietkau2014-12-181-13/+3
| | | | | | | | 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
* ar8216: Remove read/write/rmw member functions from ar8xxx_privFelix Fietkau2014-12-181-65/+51
| | | | | | | | | | | | | | 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
* ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII opsFelix Fietkau2014-12-181-34/+40
| | | | | | | | | | 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
* ar8216: Factor out chip-specific parameters from ar8xxx_probe_switchFelix Fietkau2014-12-181-117/+151
| | | | | | | | | 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
* ar8216: remove unused function parameter in ar8327_led_registerFelix Fietkau2014-12-181-2/+2
| | | | | | | | 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
* bcm53xx: backport spi-nor changes and update bcm53xxspiflashRafał Miłecki2014-12-1712-1422/+1651
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable multicast-to-unicast translation for ipv6 neighbor ↵Felix Fietkau2014-12-173-51/+60
| | | | | | | | 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
* kirkwood: add sheevaplug and derivativesLuka Perkov2014-12-172-0/+90
| | | | | | | | | | | | 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
* [ar71xx]: Belkin AC 1750 DB (F9K1115v2) supportImre Kaloz2014-12-1710-0/+292
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: remove partitoon map from mt7621.dtsiJohn Crispin2014-12-151-31/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade support for devices with serial flashRafał Miłecki2014-12-151-0/+118
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: extract magics from specific upgrade images (and still reject them)Rafał Miłecki2014-12-151-1/+17
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-1514-0/+44
| | | | | | | | | | | | 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
* brcm47xx: detect (and still reject for now) CyberTAN fw formatRafał Miłecki2014-12-151-0/+12
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update mtd patches to apply after changes from r43700Rafał Miłecki2014-12-152-10/+8
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use separated function in upgrade to detect file typeRafał Miłecki2014-12-151-3/+22
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: enable EA4500 switch on 3.18John Crispin2014-12-141-1/+12
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: update usb driver and merge registers into one patchJohn Crispin2014-12-149-741/+546
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: merge register ethernet patches into oneJohn Crispin2014-12-145-210/+210
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop old pinmux nodes from dts filesJohn Crispin2014-12-144-27/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: warn users to use the new (dedicated) firmware splitterRafał Miłecki2014-12-144-6/+16
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move old firmware uimage splitter into separated patchRafał Miłecki2014-12-1314-134/+202
| | | | | | | | | | 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
* realview: drop old kernel configsFelix Fietkau2014-12-132-499/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* au1000: remove leftover 3.3 kernel configFelix Fietkau2014-12-131-139/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* au1000: remove linux 3.10 supportFelix Fietkau2014-12-133-145/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: remove linux 3.10 supportFelix Fietkau2014-12-135-262/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* at91: remove linux 3.10 supportFelix Fietkau2014-12-135-328/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: remove linux 3.10 supportFelix Fietkau2014-12-13196-441523/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ixp4xx: remove linux 3.10 supportFelix Fietkau2014-12-1341-9656/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove linux 3.10 supportFelix Fietkau2014-12-1351-17713/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: remove linux 3.10 supportFelix Fietkau2014-12-1311-1437/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netlogic: fix XLR network driver buildFlorian Fainelli2014-12-131-0/+63
| | | | | | | | 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
* ramips:Add support for Aigale Ai-BR100John Crispin2014-12-138-0/+137
| | | | | | | | | 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
* mxs: indention and whitespace fixesJohn Crispin2014-12-131-37/+37
| | | | | | | | 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
* ar71xx: add an extra check on board_name for ath10k firmware patchsJohn Crispin2014-12-131-6/+14
| | | | | | | | | 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
* oxnas: fix gpio-fan on kd20John Crispin2014-12-132-1/+3
| | | | | | | | 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
* oxnas: also make use of the GPIO poweroff driverJohn Crispin2014-12-133-0/+13
| | | | | | | | 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