ralink: fix mt7620 ohci 3.10

the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42290

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42384 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: the mt7620 evb has a usb port

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42293

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42385 3c298f89-4303-0410-b956-a3cf2f4a3e73
lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel

The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

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

Backport of r42316

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42386 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add Support for RB2011UiAS-2HnD

Backport of r42317

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42387 3c298f89-4303-0410-b956-a3cf2f4a3e73
dnsmasq: Create rDNS records for LuCI "Hostnames"

LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>

Backport of r42318

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42388 3c298f89-4303-0410-b956-a3cf2f4a3e73
dnsmasq: Fix hosts file format when MAC address is not specified

An entry like this in /etc/config/dhcp:

    config 'host'
        option 'name' 'pc2'
        option 'ip' '192.168.100.56'
        option 'dns' '1'

results in a /tmp/hosts/dhcp entry that looks like this:

    192.168.100.56 .lan

Obviously it should say "pc2.lan".

This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199".  Fix this by reordering the
operations.  Also, refuse to add a DNS entry if the hostname or IP is
missing.

Fixes #17683

Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

Backport of r42319

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42389 3c298f89-4303-0410-b956-a3cf2f4a3e73
dnsmasq: Make the --dhcp-host logic easier to understand

Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

Backport of r42320

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42390 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: DIR-645 picks up incorrect MAC address in DTS file

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42321

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42391 3c298f89-4303-0410-b956-a3cf2f4a3e73
Add 'subversion' build dependency to README

Fixes #17725.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Backport of r42343

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42392 3c298f89-4303-0410-b956-a3cf2f4a3e73
add support for the NC-LINK SMART-300

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

Backport of r42130

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: Hame: change LED name mpr-x -> hame

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42190

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42394 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: fix switch config for Edimax 3G-6200n

Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42194

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42395 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: rt2x00 correctly set ht20/ht40 filter

Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

Backport of r42348

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42396 3c298f89-4303-0410-b956-a3cf2f4a3e73
sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42397 3c298f89-4303-0410-b956-a3cf2f4a3e73
sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42397

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42398 3c298f89-4303-0410-b956-a3cf2f4a3e73
BB: point old.packages at the real tree

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42399 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns3xxx: support isolated PCI interrupts on newer Laguna PCBs

The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42400 3c298f89-4303-0410-b956-a3cf2f4a3e73
omap: remove 3.12 kernel patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42401 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns3xxx: support isolated PCI interrupts on newer Laguna PCBs

The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

Backport of r42400

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42402 3c298f89-4303-0410-b956-a3cf2f4a3e73
mtd: Fix trx check after partition rename ("linux" to "firmware")

On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt@42403 3c298f89-4303-0410-b956-a3cf2f4a3e73