openwrt/staging/ynezz.git
10 years agolibnl-tiny: fix include path to poll.h
Felix Fietkau [Mon, 24 Feb 2014 21:08:28 +0000 (21:08 +0000)]
libnl-tiny: fix include path to poll.h

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

10 years agobrcm63xx: add preliminary support for 3.13
Jonas Gorski [Mon, 24 Feb 2014 15:54:12 +0000 (15:54 +0000)]
brcm63xx: add preliminary support for 3.13

Add support for 3.13 as a development kernel. Mostly untested, only net
booted. If flashed may brick your router or kill your cat.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39746

10 years agokernel: add missing config symbol to 3.13
Jonas Gorski [Mon, 24 Feb 2014 15:53:58 +0000 (15:53 +0000)]
kernel: add missing config symbol to 3.13

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39745

10 years agoeglibc: use version 2.19 by default (lots of fixes, some security related)
Felix Fietkau [Mon, 24 Feb 2014 15:35:14 +0000 (15:35 +0000)]
eglibc: use version 2.19 by default (lots of fixes, some security related)

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

10 years agoeglibc: remove versions 2.16 and 2.17 - they are unmaintained
Felix Fietkau [Mon, 24 Feb 2014 15:35:10 +0000 (15:35 +0000)]
eglibc: remove versions 2.16 and 2.17 - they are unmaintained

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

10 years agoeglibc: add version 2.19
Felix Fietkau [Mon, 24 Feb 2014 15:35:07 +0000 (15:35 +0000)]
eglibc: add version 2.19

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

10 years agohostapd: link against librt if eglibc is used
Felix Fietkau [Mon, 24 Feb 2014 15:03:06 +0000 (15:03 +0000)]
hostapd: link against librt if eglibc is used

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

10 years agoodhcpd: avoid the unspecificed address being advertised as DNS
Steven Barth [Mon, 24 Feb 2014 13:37:11 +0000 (13:37 +0000)]
odhcpd: avoid the unspecificed address being advertised as DNS

SVN-Revision: 39740

10 years agoodhcpd: fix DNS-server and MSR-entries in RA
Steven Barth [Mon, 24 Feb 2014 13:33:45 +0000 (13:33 +0000)]
odhcpd: fix DNS-server and MSR-entries in RA

Similarly to the previously broken address pools, DNS-servers and some
MSRs could be advertised incorrectly as well. This is now fixed.

SVN-Revision: 39739

10 years agousbreset: fix possible access to uninitialized variable (#15041)
Jo-Philipp Wich [Sun, 23 Feb 2014 23:42:12 +0000 (23:42 +0000)]
usbreset: fix possible access to uninitialized variable (#15041)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39738

10 years agox86/rdc: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 21:16:04 +0000 (21:16 +0000)]
x86/rdc: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39737

10 years agox86/rdc: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 21:16:03 +0000 (21:16 +0000)]
x86/rdc: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39736

10 years agox86/rdc: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 21:16:02 +0000 (21:16 +0000)]
x86/rdc: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39735

10 years agox86: fix MTD API usage in the RDC specific board patch
Gabor Juhos [Sun, 23 Feb 2014 21:15:56 +0000 (21:15 +0000)]
x86: fix MTD API usage in the RDC specific board patch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39734

10 years agobrcm47xx: b44: some fixes in combination with the switch
Hauke Mehrtens [Sun, 23 Feb 2014 18:51:56 +0000 (18:51 +0000)]
brcm47xx: b44: some fixes in combination with the switch

Let the switch start the carrier and set the duplex mode independently
if this nic is up of not.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39733

10 years agox86/olpc: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 18:20:32 +0000 (18:20 +0000)]
x86/olpc: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39732

10 years agox86/olpc: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 18:20:30 +0000 (18:20 +0000)]
x86/olpc: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39731

10 years agox86/olpc: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 18:20:29 +0000 (18:20 +0000)]
x86/olpc: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39730

10 years agox86/net5501: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 18:09:33 +0000 (18:09 +0000)]
x86/net5501: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39729

10 years agox86/net5501: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 18:09:32 +0000 (18:09 +0000)]
x86/net5501: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39728

10 years agox86/net5501: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 18:09:31 +0000 (18:09 +0000)]
x86/net5501: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39727

10 years agoubus: update to latest version, fixes lua binding issues and adds fd passing support
Felix Fietkau [Sun, 23 Feb 2014 17:32:26 +0000 (17:32 +0000)]
ubus: update to latest version, fixes lua binding issues and adds fd passing support

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

10 years agolibubox: update to latest version, improves uloop error handling
Felix Fietkau [Sun, 23 Feb 2014 17:32:22 +0000 (17:32 +0000)]
libubox: update to latest version, improves uloop error handling

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

10 years agoprocd: depend on libubox directly to rebuild on ABI changes
Felix Fietkau [Sun, 23 Feb 2014 17:32:18 +0000 (17:32 +0000)]
procd: depend on libubox directly to rebuild on ABI changes

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

10 years agonetifd: depend on libubox directly to rebuild on ABI changes
Felix Fietkau [Sun, 23 Feb 2014 17:32:15 +0000 (17:32 +0000)]
netifd: depend on libubox directly to rebuild on ABI changes

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

10 years agoubus: declare main version as ABI version for libubus
Felix Fietkau [Sun, 23 Feb 2014 17:32:11 +0000 (17:32 +0000)]
ubus: declare main version as ABI version for libubus

Reorder BuildPackage calls, as libubox needs to come first for ABI
version handling to work

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

10 years agolibubox: declare main version as ABI version
Felix Fietkau [Sun, 23 Feb 2014 17:32:07 +0000 (17:32 +0000)]
libubox: declare main version as ABI version

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

10 years agobuild: allow packages to declare ABI versions to detect necessary package rebuilds
Felix Fietkau [Sun, 23 Feb 2014 17:32:04 +0000 (17:32 +0000)]
build: allow packages to declare ABI versions to detect necessary package rebuilds

If a package directly depends on another package that recently changed
its ABI version, it will be cleaned up and rebuilt (assuming quilt is
not used).

This helps with packages that have no stable ABI, e.g. libubox, ubus,
etc.

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

10 years agobrcm47xx: b44: start the phy
Hauke Mehrtens [Sun, 23 Feb 2014 16:58:12 +0000 (16:58 +0000)]
brcm47xx: b44: start the phy

We did not start the PHY when an external phy was in use. Without this
patch the driver uses half duplex mode and the switch uses full duplex
mode, which causes problems.
Thank you fback for spotting this problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39719

10 years agobrcm47xx: fix detection of some Linksys WRT54G* devices
Hauke Mehrtens [Sun, 23 Feb 2014 15:57:37 +0000 (15:57 +0000)]
brcm47xx: fix detection of some Linksys WRT54G* devices

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39718

10 years agox86/thincan: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 13:07:24 +0000 (13:07 +0000)]
x86/thincan: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39717

10 years agox86/thincan: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 13:07:23 +0000 (13:07 +0000)]
x86/thincan: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39716

10 years agox86/thincan: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 13:07:22 +0000 (13:07 +0000)]
x86/thincan: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39715

10 years agox86/xen_domu: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 13:00:23 +0000 (13:00 +0000)]
x86/xen_domu: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39714

10 years agox86/xen_domu: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 13:00:21 +0000 (13:00 +0000)]
x86/xen_domu: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39713

10 years agox86/xen_domu: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 13:00:16 +0000 (13:00 +0000)]
x86/xen_domu: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39712

10 years agox86/geos: remove old kernel configs
Gabor Juhos [Sun, 23 Feb 2014 12:50:19 +0000 (12:50 +0000)]
x86/geos: remove old kernel configs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39711

10 years agox86/geos: switch to 3.10 and add broken flag
Gabor Juhos [Sun, 23 Feb 2014 12:50:18 +0000 (12:50 +0000)]
x86/geos: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39710

10 years agox86/geos: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 12:50:16 +0000 (12:50 +0000)]
x86/geos: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39709

10 years agobrcm63xx: update LINUX_VERSION to 3.10.32
Gabor Juhos [Sun, 23 Feb 2014 11:07:58 +0000 (11:07 +0000)]
brcm63xx: update LINUX_VERSION to 3.10.32

Missed from the previous comit.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39708

10 years agokernel: update 3.10 to 3.10.32
Gabor Juhos [Sun, 23 Feb 2014 10:59:40 +0000 (10:59 +0000)]
kernel: update 3.10 to 3.10.32

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39707

10 years agonetifd: update to latest version, fixes wireless device reload handling
Felix Fietkau [Sun, 23 Feb 2014 08:13:28 +0000 (08:13 +0000)]
netifd: update to latest version, fixes wireless device reload handling

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

10 years agoar71xx: define status LED for the RB91x boards
Gabor Juhos [Sun, 23 Feb 2014 08:11:54 +0000 (08:11 +0000)]
ar71xx: define status LED for the RB91x boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39705

10 years agoar71xx: rb91x: register GPIO LEDs
Gabor Juhos [Sun, 23 Feb 2014 08:11:53 +0000 (08:11 +0000)]
ar71xx: rb91x: register GPIO LEDs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39704

10 years agoar71xx: rb91x: add SPI device for the serial shift register
Gabor Juhos [Sun, 23 Feb 2014 08:11:52 +0000 (08:11 +0000)]
ar71xx: rb91x: add SPI device for the serial shift register

The RB91x boards are using a serial shift register
connected to the SPI bus to drive some of the LEDs.

Rework the board setup code to register a SPI device
for that. This makes it possible to use the 'spi-74x164'
driver to control the device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39703

10 years agoar71xx/mikrotik: enable the 74x164 GPIO driver
Gabor Juhos [Sun, 23 Feb 2014 08:11:50 +0000 (08:11 +0000)]
ar71xx/mikrotik: enable the 74x164 GPIO driver

That will be used to drive the 74HC595 serial-in/parallel-out
8-bits shift register which can be found on some RouterBOARDs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39702

10 years agoar71xx: improve platform device support in the gpio-74x164 driver
Gabor Juhos [Sun, 23 Feb 2014 08:11:49 +0000 (08:11 +0000)]
ar71xx: improve platform device support in the gpio-74x164 driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39701

10 years agoar71xx: rb91x-nand: rewrite to use GPIO API
Gabor Juhos [Sun, 23 Feb 2014 07:19:32 +0000 (07:19 +0000)]
ar71xx: rb91x-nand: rewrite to use GPIO API

Rewrite tha rb91x-nand driver to use GPIO API to
modify the NAND control lines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39700

10 years agoar71xx: rb91x: register a gpio-latch platform device
Gabor Juhos [Sat, 22 Feb 2014 18:05:32 +0000 (18:05 +0000)]
ar71xx: rb91x: register a gpio-latch platform device

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39699

10 years agoar71xx/mikrotik: enable the GPIO latch driver
Gabor Juhos [Sat, 22 Feb 2014 18:05:31 +0000 (18:05 +0000)]
ar71xx/mikrotik: enable the GPIO latch driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39698

10 years agoar71xx: add a generic GPIO latch driver
Gabor Juhos [Sat, 22 Feb 2014 18:05:29 +0000 (18:05 +0000)]
ar71xx: add a generic GPIO latch driver

It will be used for the Mikrotik boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39697

10 years agoar71xx/mikrotik: enable small sector erase in the m25p80 driver
Gabor Juhos [Sat, 22 Feb 2014 16:26:55 +0000 (16:26 +0000)]
ar71xx/mikrotik: enable small sector erase in the m25p80 driver

The serial flash devices used on the ROuterBOARDs are
supporting 4KiB erase blocks. Enable the small sector
erase option in the m25p80 driver to avoid superfluous
erase/write of adjacent blocks.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39696

10 years agoar71xx: spi-ath79: fix initial GPIO CS line setup
Gabor Juhos [Sat, 22 Feb 2014 16:17:28 +0000 (16:17 +0000)]
ar71xx: spi-ath79: fix initial GPIO CS line setup

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39695

10 years agoar71xx: refresh unaligned access hacks patch
Gabor Juhos [Sat, 22 Feb 2014 16:17:27 +0000 (16:17 +0000)]
ar71xx: refresh unaligned access hacks patch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39694

10 years agotarget/sunxi: add dependency on sunxi to kmod-wdt-sunxi
Nicolas Thill [Sat, 22 Feb 2014 15:51:11 +0000 (15:51 +0000)]
target/sunxi: add dependency on sunxi to kmod-wdt-sunxi

SVN-Revision: 39693

10 years agogianfar: Fix reported number of sent bytes to BQL
Felix Fietkau [Sat, 22 Feb 2014 14:42:48 +0000 (14:42 +0000)]
gianfar: Fix reported number of sent bytes to BQL

This is a backported patch for the gianfar ethernet driver
used in TPLink 4900 v1. It is supposed to fix the error which
show up in dmesg with:
NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue xy timed out
Full upstream patch is at: http://patchwork.ozlabs.org/patch/271242

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
SVN-Revision: 39692

10 years agoath5k: mark the current survey channel as being used
Felix Fietkau [Sat, 22 Feb 2014 13:57:09 +0000 (13:57 +0000)]
ath5k: mark the current survey channel as being used

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

10 years agoath9k: reduce unnecessary logspam (#14940)
Felix Fietkau [Sat, 22 Feb 2014 13:48:56 +0000 (13:48 +0000)]
ath9k: reduce unnecessary logspam (#14940)

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

10 years agoath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
Felix Fietkau [Sat, 22 Feb 2014 13:43:48 +0000 (13:43 +0000)]
ath9k: fix issues with 5/10 mhz channel bandwidth (#14916)

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

10 years agoath9k: fix issues that have been plaguing some powersave clients since the tx queuein...
Felix Fietkau [Sat, 22 Feb 2014 13:01:11 +0000 (13:01 +0000)]
ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework (#14092)

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

10 years agoath9k: show more reset causes in debugfs
Felix Fietkau [Sat, 22 Feb 2014 13:01:07 +0000 (13:01 +0000)]
ath9k: show more reset causes in debugfs

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

10 years agomac80211: merge some upstream fixes
Felix Fietkau [Sat, 22 Feb 2014 13:01:04 +0000 (13:01 +0000)]
mac80211: merge some upstream fixes

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

10 years agoath9k: enable u-apsd support
Felix Fietkau [Sat, 22 Feb 2014 13:01:00 +0000 (13:01 +0000)]
ath9k: enable u-apsd support

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

10 years agoath9k: add a tx locking fix
Felix Fietkau [Sat, 22 Feb 2014 13:00:55 +0000 (13:00 +0000)]
ath9k: add a tx locking fix

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

10 years agob53: Make b53_switch_init static
Jonas Gorski [Sat, 22 Feb 2014 11:16:58 +0000 (11:16 +0000)]
b53: Make b53_switch_init static

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4869/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39683

10 years agob53: Add BCM53128 switch support
Jonas Gorski [Sat, 22 Feb 2014 11:16:56 +0000 (11:16 +0000)]
b53: Add BCM53128 switch support

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4867/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39682

10 years agobrcm63xx: fix RG100A/DB120 usb port number
Jonas Gorski [Sat, 22 Feb 2014 11:16:52 +0000 (11:16 +0000)]
brcm63xx: fix RG100A/DB120 usb port number

Set usbh ports to 2 to fix #15007.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39681

10 years agobrcm63xx: fix number of usb ports for HW556 variants
Jonas Gorski [Sat, 22 Feb 2014 11:16:50 +0000 (11:16 +0000)]
brcm63xx: fix number of usb ports for HW556 variants

Don't only fix up the fallback board, but also all three variants.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39680

10 years agobrcm63xx: add initial support for BCM963268BU_P300 reference board
Jonas Gorski [Sat, 22 Feb 2014 11:16:48 +0000 (11:16 +0000)]
brcm63xx: add initial support for BCM963268BU_P300 reference board

Only netboot tested, so no images or now.
GbE ports are only working in FE mode, and leds do not work.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39679

10 years agobrcm63xx: add VW6339GU support
Jonas Gorski [Sat, 22 Feb 2014 11:16:46 +0000 (11:16 +0000)]
brcm63xx: add VW6339GU support

Completely untested except for booting from network; wan port
only works in 10/HD, lan1 only in 100/FD.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39678

10 years agobrcm63xx: fix number of switch ports for BCM63168/63268
Jonas Gorski [Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)]
brcm63xx: fix number of switch ports for BCM63168/63268

BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39677

10 years agobrcm63xx: F@ST2504n board support (image, base-files)
Jonas Gorski [Sat, 22 Feb 2014 11:16:42 +0000 (11:16 +0000)]
brcm63xx: F@ST2504n board support (image, base-files)

Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4730/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39676

10 years agobrcm63xx: F@ST2504n board support
Jonas Gorski [Sat, 22 Feb 2014 11:16:40 +0000 (11:16 +0000)]
brcm63xx: F@ST2504n board support

Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4729/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39675

10 years agobrcm63xx: add support for Asmax AR 1004g router
Jonas Gorski [Sat, 22 Feb 2014 11:16:38 +0000 (11:16 +0000)]
brcm63xx: add support for Asmax AR 1004g router

Support for Asmax AR 1004g router

Signed-off-by: Adrian Feliks <mexit@o2.pl>
Patchwork: http://patchwork.openwrt.org/patch/4464/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39674

10 years agobrcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:35 +0000 (11:16 +0000)]
brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router

This adds profile and build image for Sagemcom F@st2704, using b43
driver.
For WiFi to work properly BCMA fallback SPROM support patch must
be applied (http://git.io/z1Ki8A).

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4212/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39673

10 years agobrcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:33 +0000 (11:16 +0000)]
brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router

This adds userspace support for Sagemcom F@st 2704 router.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4215/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39672

10 years agobrcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:30 +0000 (11:16 +0000)]
brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router

This adds kernel support support for Sagemcom F@st 2704 wireless ADSL
router.
It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+
modem equipped with 64 MiB RAM and 8 MiB flash.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4266/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39671

10 years agokernel: add missing depends on kmod-mii
Hauke Mehrtens [Fri, 21 Feb 2014 22:57:39 +0000 (22:57 +0000)]
kernel: add missing depends on kmod-mii

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39670

10 years agokexec-tools: disable lzma support
Hauke Mehrtens [Fri, 21 Feb 2014 20:06:41 +0000 (20:06 +0000)]
kexec-tools: disable lzma support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39652

10 years agoodhcpd: fix wrong address pool being advertised
Steven Barth [Fri, 21 Feb 2014 18:02:25 +0000 (18:02 +0000)]
odhcpd: fix wrong address pool being advertised

SVN-Revision: 39651

10 years agothe root password should be empty for real, like before
Imre Kaloz [Fri, 21 Feb 2014 10:39:14 +0000 (10:39 +0000)]
the root password should be empty for real, like before

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

10 years agofirewall: fix validation constraints
Jo-Philipp Wich [Fri, 21 Feb 2014 00:22:23 +0000 (00:22 +0000)]
firewall: fix validation constraints

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39649

10 years agonetifd: fix validation constraints
Jo-Philipp Wich [Fri, 21 Feb 2014 00:17:04 +0000 (00:17 +0000)]
netifd: fix validation constraints

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39648

10 years agofirewall: fix several ipset integration issues (#15016)
Jo-Philipp Wich [Thu, 20 Feb 2014 23:20:10 +0000 (23:20 +0000)]
firewall: fix several ipset integration issues (#15016)

- Do not consider bitmap storage for IPv6 family sets
- Move ipset family parameter before any additional option
- Only emit family parameter for hash sets
- Do not allow IPv6 iprange for IPv4 sets and vice versa

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39647

10 years ago6in4: add support for he.net updatekey
Steven Barth [Thu, 20 Feb 2014 21:36:15 +0000 (21:36 +0000)]
6in4: add support for he.net updatekey

SVN-Revision: 39646

10 years agoimx6: update Ventana dts
Luka Perkov [Thu, 20 Feb 2014 17:26:10 +0000 (17:26 +0000)]
imx6: update Ventana dts

Update the Ventana device-tree to match upstream:
 - Add IMX6Q/IMX6DL variants for GW54xx/GW53xx/GW52xx/GW51xx
 - align pinctrl with upstream
 - consolidate multiple patches into one

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

10 years agoimx6: enable IMX6 watchdog
Luka Perkov [Thu, 20 Feb 2014 17:26:08 +0000 (17:26 +0000)]
imx6: enable IMX6 watchdog

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

10 years agoar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss
Gabor Juhos [Thu, 20 Feb 2014 17:07:56 +0000 (17:07 +0000)]
ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss

When the RB91x device uses a GbE link the connection
suffers from packet loss:

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  20 packets transmitted, 9 packets received, 55% packet loss
  round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  100 packets transmitted, 100 packets received, 0% packet loss
  round-trip min/avg/max = 4.449/5.413/13.870 ms

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39642

10 years agoar71xx: Add support for MikroTik RB951Ui-2HnD
Gabor Juhos [Thu, 20 Feb 2014 17:07:51 +0000 (17:07 +0000)]
ar71xx: Add support for MikroTik RB951Ui-2HnD

I noticed that the patch at http://patchwork.openwrt.org/patch/4017/
for adding support for the MikroTik RouterBOARD 951Ui-2HnD had been
abandoned because it wasn't generated and sent to the mailing list
correctly and doesn't apply as a result.  I have cleaned up this patch.

When testing this on real hardware, I also noticed that wireless didn't
work, so this patch fixes that as well.

This patch applies cleanly to SVN 39392.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Patchwork: http://patchwork.openwrt.org/patch/4773/
[juhosg:
  - drop the 'rb951ui_wlan_init' function and rework the code to
    use the recently introduced rb95x_wlan_init function instead,
  - fix GPIO number of the port5 LED,
  - rename LEDs according to the standard LED naming conventions,
    and use 'rb' prefix in the names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39641

10 years agokernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases
Gabor Juhos [Thu, 20 Feb 2014 17:07:44 +0000 (17:07 +0000)]
kernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases

This is a backport of code to improve the quality of fq_codel
hashing for 3.10 for some encapsulated protocols.

Not needed in 3.11 and later.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4902/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39640

10 years agoimx6: drop upstream rejected patch
Luka Perkov [Thu, 20 Feb 2014 14:01:28 +0000 (14:01 +0000)]
imx6: drop upstream rejected patch

http://article.gmane.org/gmane.linux.drivers.i2c/17891

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39639

10 years agogcc: prevent the use of LDRD/STRD on ARMv5TE
Felix Fietkau [Wed, 19 Feb 2014 19:20:10 +0000 (19:20 +0000)]
gcc: prevent the use of LDRD/STRD on ARMv5TE

These instructions are for 64-bit load/store. On ARMv5TE, the CPU
requires addresses to be aligned to 64-bit. When misaligned, behavior is
undefined (effectively either loads the same word twice on LDRD, or
corrupts surrounding memory on STRD).

On ARMv6 and newer, unaligned access is safe.

Removing these instructions for ARMv5TE is necessary, because GCC
ignores alignment information in pointers and does unsafe optimizations
that have shown up as bugs in various places.

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

10 years agoar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:35 +0000 (12:15 +0000)]
ar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4850/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39637

10 years agoar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:34 +0000 (12:15 +0000)]
ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4849/
[juhosg:
  - use the Archer C7 specific LED setup instead of adding
    identical code]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39636

10 years agoar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:32 +0000 (12:15 +0000)]
ar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4848/
[juhosg:
  - rename and refresh kernel patch,
  - merge the board setup code into mach-archer-c7.c and drop
    mach-tl-wdr49000-v2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39635

10 years agosunxi: move a lost CONFIG_CHARGER symbol to generic
Nicolas Thill [Wed, 19 Feb 2014 00:17:19 +0000 (00:17 +0000)]
sunxi: move a lost CONFIG_CHARGER symbol to generic

SVN-Revision: 39634

10 years agotarget/sunxi: make REGMAP built-in (used by REGULATOR)
Nicolas Thill [Tue, 18 Feb 2014 22:29:56 +0000 (22:29 +0000)]
target/sunxi: make REGMAP built-in (used by REGULATOR)

SVN-Revision: 39633

10 years agotarget/uml: update README
Nicolas Thill [Tue, 18 Feb 2014 22:16:04 +0000 (22:16 +0000)]
target/uml: update README

invoking uml is now simplier, not need to setup console & serial

SVN-Revision: 39632

10 years agotoolchain: update build steps doc
Nicolas Thill [Tue, 18 Feb 2014 22:15:58 +0000 (22:15 +0000)]
toolchain: update build steps doc

SVN-Revision: 39631

10 years agomac80211: disable libertas-sd on uml target
Nicolas Thill [Tue, 18 Feb 2014 22:15:52 +0000 (22:15 +0000)]
mac80211: disable libertas-sd on uml target

SVN-Revision: 39630