openwrt.git
7 years agoar71xx: adjust ew-dorin platform for LAN+WAN setup
nbd [Fri, 28 Feb 2014 11:08:04 +0000 (11:08 +0000)]
ar71xx: adjust ew-dorin platform for LAN+WAN setup

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39763 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: ethernet - clean up tx descs only when needed
nbd [Thu, 27 Feb 2014 23:02:43 +0000 (23:02 +0000)]
cns3xxx: ethernet - clean up tx descs only when needed

We already clean up tx descriptors in the napi eth_poll() function so it
would likely be rare to run out of available descriptors in eth_xmit. Thus
we can clean them up only when needed and return busy only when we
still don't have enough.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39762 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: ethernet - resolve SMP issue
nbd [Thu, 27 Feb 2014 23:02:37 +0000 (23:02 +0000)]
cns3xxx: ethernet - resolve SMP issue

The combination of r35942 and r35952 causes an issue where eth_schedule_poll()
can be called from a different CPU between the call to napi_complete() and the
setting of cur_index which can break the rx ring accounting and cause ethernet
latency and/or ethernet stalls.  The issue can be easilly created by adding
a couple of artificial delays such as:

@@ -715,6 +715,7 @@ static int eth_poll(struct napi_struct *napi, int budget)

  if (!received) {
  napi_complete(napi);
+udelay(1000);
  enable_irq(IRQ_CNS3XXX_SW_R0RXC);
  }

@@ -727,6 +728,7 @@ static int eth_poll(struct napi_struct *napi, int budget)
  rx_ring->cur_index = i;

  wmb();
+udelay(1000);
  enable_rx_dma(sw);

  return received;

This patch moves the setting of cur_index back up where it needs to be and
addresses the original corner case that r35942 was trying to catch in an
improved fashion by checking to see if the rx descriptor ring has become
full before interrupts were re-enabled so that a poll can be scheduled again
and avoid an rx stall caused by rx interrupts ceasing to fire again.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39761 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoimx6: optimize for NEON FPU hardware
luka [Thu, 27 Feb 2014 22:41:40 +0000 (22:41 +0000)]
imx6: optimize for NEON FPU hardware

The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware
blocks.  This will tune gcc to use neon instead of vfpv3 which will outperform
VFPv3.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39760 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoimx6: enable FPU for hard float
luka [Thu, 27 Feb 2014 22:41:39 +0000 (22:41 +0000)]
imx6: enable FPU for hard float

The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list.  This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.

When switching to hard float, we also need to enable VFP support in the kernel.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39759 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath5k: fix enabling 5/10 mhz channel bandwidth support
nbd [Thu, 27 Feb 2014 21:36:28 +0000 (21:36 +0000)]
ath5k: fix enabling 5/10 mhz channel bandwidth support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39758 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
cyrus [Thu, 27 Feb 2014 12:42:38 +0000 (12:42 +0000)]
netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)

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

7 years agorealview: fix zImage-initramfs installation
florian [Thu, 27 Feb 2014 00:12:53 +0000 (00:12 +0000)]
realview: fix zImage-initramfs installation

We were copying the actual vmlinux-initramfs.elf kernel which cannot be
launched by QEMU or a real bootloader, use zImage-initramfs instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39756 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: don't always assume addrs & routes are applied
cyrus [Wed, 26 Feb 2014 13:27:32 +0000 (13:27 +0000)]
netifd: don't always assume addrs & routes are applied

netifd didn't check the netlink return values and kept assuming
routes are in place even if they weren't

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

7 years agomusl: move the dependency on BROKEN to the right config symbol
nbd [Wed, 26 Feb 2014 12:13:02 +0000 (12:13 +0000)]
musl: move the dependency on BROKEN to the right config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39754 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobroadcom-diag: fix compile
hauke [Tue, 25 Feb 2014 22:52:33 +0000 (22:52 +0000)]
broadcom-diag: fix compile

BCM47XX_BOARD_LINKSYS_WRT54G was renamed in r39718

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39753 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: fix failsafe acces on several devices
juhosg [Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)]
ar71xx: fix failsafe acces on several devices

The ar71xx platform always uses the eth0 interface to provide
access to the device in failsafe mode. Due to this, failsafe
access is broken on devices where the LAN ports are connected
to the 'eth1' interface.

Update the relevant script to correctly set the ifname variable
for these devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39752 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: add fixes for rx processing and baseband hang detection
nbd [Tue, 25 Feb 2014 10:27:02 +0000 (10:27 +0000)]
ath9k: add fixes for rx processing and baseband hang detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39751 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotoolchain/musl: add version 0.9.15, remove older versions (still broken, but closer...
nbd [Mon, 24 Feb 2014 21:10:11 +0000 (21:10 +0000)]
toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39750 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogcc: fix visibility of symbols libgcc.a
nbd [Mon, 24 Feb 2014 21:09:37 +0000 (21:09 +0000)]
gcc: fix visibility of symbols libgcc.a

Symbols need to be hidden, even for the static variant

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: use termios instead of termio
nbd [Mon, 24 Feb 2014 21:09:03 +0000 (21:09 +0000)]
openssl: use termios instead of termio

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39748 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibnl-tiny: fix include path to poll.h
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39747 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: add preliminary support for 3.13
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39746 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing config symbol to 3.13
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39745 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: use version 2.19 by default (lots of fixes, some security related)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39744 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: remove versions 2.16 and 2.17 - they are unmaintained
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39743 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39742 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agohostapd: link against librt if eglibc is used
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39741 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

7 years agoodhcpd: fix DNS-server and MSR-entries in RA
cyrus [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.

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

7 years agousbreset: fix possible access to uninitialized variable (#15041)
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39738 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: remove old kernel config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39737 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39736 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39735 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86: fix MTD API usage in the RDC specific board patch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39734 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: b44: some fixes in combination with the switch
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39733 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/olpc: remove old kernel config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39732 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/olpc: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39731 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/olpc: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39730 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/net5501: remove old kernel config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39729 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/net5501: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39728 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/net5501: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39727 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoubus: update to latest version, fixes lua binding issues and adds fd passing support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39726 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibubox: update to latest version, improves uloop error handling
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39725 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoprocd: depend on libubox directly to rebuild on ABI changes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39724 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: depend on libubox directly to rebuild on ABI changes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39723 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoubus: declare main version as ABI version for libubus
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39722 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibubox: declare main version as ABI version
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39721 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: allow packages to declare ABI versions to detect necessary package rebuilds
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39720 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: b44: start the phy
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39719 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: fix detection of some Linksys WRT54G* devices
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39718 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/thincan: remove old kernel config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39717 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/thincan: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39716 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/thincan: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39715 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/xen_domu: remove old kernel config
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39714 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/xen_domu: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39713 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/xen_domu: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39712 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/geos: remove old kernel configs
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39711 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/geos: switch to 3.10 and add broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39710 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/geos: add config for 3.10
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39709 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: update LINUX_VERSION to 3.10.32
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39708 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: update 3.10 to 3.10.32
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39707 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: update to latest version, fixes wireless device reload handling
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39706 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: define status LED for the RB91x boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39705 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39704 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: rb91x: add SPI device for the serial shift register
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39703 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx/mikrotik: enable the 74x164 GPIO driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39702 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: improve platform device support in the gpio-74x164 driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39701 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: rb91x-nand: rewrite to use GPIO API
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39700 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: rb91x: register a gpio-latch platform device
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39699 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx/mikrotik: enable the GPIO latch driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39698 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: add a generic GPIO latch driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39697 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx/mikrotik: enable small sector erase in the m25p80 driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39696 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: spi-ath79: fix initial GPIO CS line setup
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39695 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: refresh unaligned access hacks patch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39694 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

7 years agogianfar: Fix reported number of sent bytes to BQL
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39692 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath5k: mark the current survey channel as being used
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39691 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39690 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39689 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: fix issues that have been plaguing some powersave clients since the tx queuein...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39688 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: show more reset causes in debugfs
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39687 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39686 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39685 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: add a tx locking fix
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39684 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agob53: Make b53_switch_init static
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39683 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agob53: Add BCM53128 switch support
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39682 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: fix RG100A/DB120 usb port number
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39681 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: fix number of usb ports for HW556 variants
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39680 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: add initial support for BCM963268BU_P300 reference board
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39679 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: add VW6339GU support
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39678 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: fix number of switch ports for BCM63168/63268
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39677 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: F@ST2504n board support (image, base-files)
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39676 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: F@ST2504n board support
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39675 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: add support for Asmax AR 1004g router
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39674 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39673 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39672 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39671 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing depends on kmod-mii
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39670 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokexec-tools: disable lzma support
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39652 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

7 years ago[base-files]: the root password should be empty for real, like before
kaloz [Fri, 21 Feb 2014 10:39:14 +0000 (10:39 +0000)]
[base-files]: the root password should be empty for real, like before

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39650 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofirewall: fix validation constraints
jow [Fri, 21 Feb 2014 00:22:23 +0000 (00:22 +0000)]
firewall: fix validation constraints

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39649 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: fix validation constraints
jow [Fri, 21 Feb 2014 00:17:04 +0000 (00:17 +0000)]
netifd: fix validation constraints

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39648 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofirewall: fix several ipset integration issues (#15016)
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39647 3c298f89-4303-0410-b956-a3cf2f4a3e73