openwrt.git
11 years agokernel: update linux 3.6 to 3.6.11
juhosg [Tue, 18 Dec 2012 14:41:16 +0000 (14:41 +0000)]
kernel: update linux 3.6 to 3.6.11

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

11 years agolibubox: fix a jshn array sequence counter bug, fixes some network.sh issues
nbd [Tue, 18 Dec 2012 13:08:50 +0000 (13:08 +0000)]
libubox: fix a jshn array sequence counter bug, fixes some network.sh issues

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

11 years agoramips: nuke 3.3 support
juhosg [Mon, 17 Dec 2012 22:28:11 +0000 (22:28 +0000)]
ramips: nuke 3.3 support

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

11 years agoar71xx: nuke 3.3 support
juhosg [Mon, 17 Dec 2012 22:28:09 +0000 (22:28 +0000)]
ar71xx: nuke 3.3 support

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

11 years agonetifd: update to latest version, fixes interface error reporting for shell proto...
nbd [Mon, 17 Dec 2012 22:24:31 +0000 (22:24 +0000)]
netifd: update to latest version, fixes interface error reporting for shell proto handlers

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

11 years agokernel: fix a warning in the O_DIRECT debloat patch
nbd [Mon, 17 Dec 2012 20:55:49 +0000 (20:55 +0000)]
kernel: fix a warning in the O_DIRECT debloat patch

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

11 years agoncurses: fix build error in libncursesw
nbd [Mon, 17 Dec 2012 15:11:47 +0000 (15:11 +0000)]
ncurses: fix build error in libncursesw

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

11 years agosierra-directip: delete, replaced by upstream drivers
nbd [Mon, 17 Dec 2012 15:11:43 +0000 (15:11 +0000)]
sierra-directip: delete, replaced by upstream drivers

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

11 years agokernel: add some debloat patches, strip down procfs and make O_DIRECT support optiona...
nbd [Mon, 17 Dec 2012 15:11:39 +0000 (15:11 +0000)]
kernel: add some debloat patches, strip down procfs and make O_DIRECT support optional, saves ~15K after lzma on MIPS

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

11 years agotools: add a symlink for gnu awk to fix kernel build errors on some platforms
nbd [Mon, 17 Dec 2012 15:11:34 +0000 (15:11 +0000)]
tools: add a symlink for gnu awk to fix kernel build errors on some platforms

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

11 years agonetifd: update to latest version, no longer needs the removed jshn_append() shell...
nbd [Mon, 17 Dec 2012 14:57:15 +0000 (14:57 +0000)]
netifd: update to latest version, no longer needs the removed jshn_append() shell function

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

11 years agobase-files: use json_is_a() in network.sh
jow [Mon, 17 Dec 2012 13:07:42 +0000 (13:07 +0000)]
base-files: use json_is_a() in network.sh

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

11 years agolibubox: update to latest git head, introduces jshn json_is_a() helper
jow [Mon, 17 Dec 2012 13:07:38 +0000 (13:07 +0000)]
libubox: update to latest git head, introduces jshn json_is_a() helper

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

11 years agogeneric: rtl836x: fix compiler warnings
juhosg [Mon, 17 Dec 2012 13:02:18 +0000 (13:02 +0000)]
generic: rtl836x: fix compiler warnings

  CC      drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366s.c:16:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366s.c: In function 'rtl8366s_probe':
drivers/net/phy/rtl8366s.c:1094:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366s.c:1055:32: warning: unused variable 'pdata'[-Wunused-variable]
  CC      drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366rb.c:17:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366rb.c: In function 'rtl8366rb_probe':
drivers/net/phy/rtl8366rb.c:1214:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366rb.c:1175:32: warning: unused variable 'pdata'[-Wunused-variable]
  CC      drivers/net/phy/rtl8367.o
In file included from drivers/net/phy/rtl8367.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367.c: In function 'rtl8367_probe':
drivers/net/phy/rtl8367.c:1712:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367.c:1677:32: warning: unused variable 'pdata' [-Wunused-variable]
  CC      drivers/net/phy/rtl8367b.o
In file included from drivers/net/phy/rtl8367b.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367b.c: In function 'rtl8367b_probe':
drivers/net/phy/rtl8367b.c:1494:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367b.c:1459:32: warning: unused variable 'pdata' [-Wunused-variable]

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

11 years agoar71xx: add profile and build image for UniFi AP Pro
juhosg [Mon, 17 Dec 2012 12:28:21 +0000 (12:28 +0000)]
ar71xx: add profile and build image for UniFi AP Pro

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

11 years agofirmware-utils/mkfwimage2: allow to use numbers in partition names
juhosg [Mon, 17 Dec 2012 12:28:15 +0000 (12:28 +0000)]
firmware-utils/mkfwimage2: allow to use numbers in partition names

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

11 years agoar71xx: add user-space support for UniFi AP Pro
juhosg [Mon, 17 Dec 2012 12:28:11 +0000 (12:28 +0000)]
ar71xx: add user-space support for UniFi AP Pro

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

11 years agoar71xx: add kernel support for the UniFi AP Pro
juhosg [Mon, 17 Dec 2012 12:28:02 +0000 (12:28 +0000)]
ar71xx: add kernel support for the UniFi AP Pro

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

11 years agobuild: disable kernel export strip until it is fixed
nbd [Sun, 16 Dec 2012 21:34:31 +0000 (21:34 +0000)]
build: disable kernel export strip until it is fixed

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

11 years agobase-files: rework cache handling in network.sh to keep the entire parsed ifstatus...
jow [Sun, 16 Dec 2012 20:17:18 +0000 (20:17 +0000)]
base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users

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

11 years agolibubox: another jshn update, fixes array handling issues
nbd [Sun, 16 Dec 2012 18:59:01 +0000 (18:59 +0000)]
libubox: another jshn update, fixes array handling issues

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

11 years agobase-files: various enhancements to network.sh
jow [Sun, 16 Dec 2012 18:22:02 +0000 (18:22 +0000)]
base-files: various enhancements to network.sh

- support reading inactive gateways and DNS information in
  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
  by passing "true" as optional last argument
- internally cache fetched values to speed up subsequent accesses to the same
  data, introduce network_flush_cache() to clear them
- add some inline function documentation

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

11 years agolibubox: fix some jshn variable handling regressions
nbd [Sun, 16 Dec 2012 17:05:46 +0000 (17:05 +0000)]
libubox: fix some jshn variable handling regressions

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

11 years agolibubox: update to latest version, adds jshn namespace support
nbd [Sun, 16 Dec 2012 16:49:47 +0000 (16:49 +0000)]
libubox: update to latest version, adds jshn namespace support

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

11 years agowpa_supplicant.sh: always use parameters from the current section
nbd [Sun, 16 Dec 2012 13:23:37 +0000 (13:23 +0000)]
wpa_supplicant.sh: always use parameters from the current section

Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34716 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[include] fixes uapi helper define
blogic [Sun, 16 Dec 2012 11:04:27 +0000 (11:04 +0000)]
[include] fixes uapi helper define

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

11 years ago[lantiq] make pinctrl-falcon honour status="disbaled";
blogic [Sun, 16 Dec 2012 10:03:28 +0000 (10:03 +0000)]
[lantiq] make pinctrl-falcon honour status="disbaled";

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

11 years ago[lantiq] fix falcon profile
blogic [Sun, 16 Dec 2012 10:03:23 +0000 (10:03 +0000)]
[lantiq] fix falcon profile

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

11 years ago[lantiq] fix i2c-lantiq module
blogic [Sun, 16 Dec 2012 10:03:18 +0000 (10:03 +0000)]
[lantiq] fix i2c-lantiq module

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

11 years ago[lantiq] add falcon devicetree files
blogic [Sun, 16 Dec 2012 10:03:11 +0000 (10:03 +0000)]
[lantiq] add falcon devicetree files

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

11 years agokernel: add a missing config symbol for 3.7
nbd [Sat, 15 Dec 2012 22:00:03 +0000 (22:00 +0000)]
kernel: add a missing config symbol for 3.7

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

11 years agokernel: add a module for ipv6 gre
nbd [Sat, 15 Dec 2012 21:59:56 +0000 (21:59 +0000)]
kernel: add a module for ipv6 gre

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

11 years agoubus: update to latest version, fixes request timeout handling issues, hangs on lots...
nbd [Sat, 15 Dec 2012 17:19:29 +0000 (17:19 +0000)]
ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support

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

11 years agonetifd: call /etc/udhcp.user from the netifd dhcp.script
nbd [Sat, 15 Dec 2012 17:19:24 +0000 (17:19 +0000)]
netifd: call /etc/udhcp.user from the netifd dhcp.script

This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux: generic: rtl836*: fix compilation with !CONFIG_OF
jogo [Sat, 15 Dec 2012 13:32:02 +0000 (13:32 +0000)]
linux: generic: rtl836*: fix compilation with !CONFIG_OF

fixes the following errors caused by r34682:

  CC [M]  drivers/net/phy/rtl8366_smi.o
In file included from drivers/net/phy/rtl8366_smi.c:26:0:
drivers/net/phy/rtl8366_smi.h:149:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.h:149:46: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:65: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe_plat':
drivers/net/phy/rtl8366_smi.c:1400:44: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1402:11: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1403:16: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1415:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c:1415:21: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe':
drivers/net/phy/rtl8366_smi.c:1420:31: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1424:10: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1425:3: warning: passing argument 1 of 'rtl8366_smi_probe_of' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1392:19: note: expected 'struct device_node *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c:1427:3: warning: passing argument 1 of 'rtl8366_smi_probe_plat' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:5: note: expected 'struct platform_device *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1438:1: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
make[7]: *** [drivers/net/phy/rtl8366_smi.o] Error 1
make[6]: *** [drivers/net/phy] Error 2
make[5]: *** [drivers/net] Error 2
make[4]: *** [drivers] Error 2

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34703 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[lantiq] select hcd as a default package for the dgn3500
blogic [Sat, 15 Dec 2012 11:01:16 +0000 (11:01 +0000)]
[lantiq] select hcd as a default package for the dgn3500

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

11 years ago[lantiq] EASY80920 has 2 usb ports
blogic [Sat, 15 Dec 2012 11:01:11 +0000 (11:01 +0000)]
[lantiq] EASY80920 has 2 usb ports

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

11 years ago[lantiq] allow to load only 1 usb port on AR9 / VR9
blogic [Sat, 15 Dec 2012 11:01:05 +0000 (11:01 +0000)]
[lantiq] allow to load only 1 usb port on AR9 / VR9

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

11 years ago[lantiq] remove 3.3 and 3.6
blogic [Sat, 15 Dec 2012 02:01:08 +0000 (02:01 +0000)]
[lantiq] remove 3.3 and 3.6

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

11 years ago[lantiq] cleanup basefiles
blogic [Sat, 15 Dec 2012 02:01:00 +0000 (02:01 +0000)]
[lantiq] cleanup basefiles

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

11 years ago[lantiq] clean up modules.mk
blogic [Sat, 15 Dec 2012 02:00:55 +0000 (02:00 +0000)]
[lantiq] clean up modules.mk

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

11 years ago[lantiq] fix tapi dependency
blogic [Sat, 15 Dec 2012 02:00:50 +0000 (02:00 +0000)]
[lantiq] fix tapi dependency

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

11 years ago[lantiq] move voice packages
blogic [Sat, 15 Dec 2012 02:00:45 +0000 (02:00 +0000)]
[lantiq] move voice packages

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

11 years ago[lantiq] move ltq-adsl-tool
blogic [Sat, 15 Dec 2012 02:00:39 +0000 (02:00 +0000)]
[lantiq] move ltq-adsl-tool

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

11 years ago[lantiq] move ltq-adsl
blogic [Sat, 15 Dec 2012 02:00:33 +0000 (02:00 +0000)]
[lantiq] move ltq-adsl

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

11 years ago[lantiq] move ltq-ifxos
blogic [Sat, 15 Dec 2012 02:00:26 +0000 (02:00 +0000)]
[lantiq] move ltq-ifxos

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

11 years ago[lantiq] add devicetrees
blogic [Sat, 15 Dec 2012 02:00:20 +0000 (02:00 +0000)]
[lantiq] add devicetrees

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

11 years ago[lantiq] add ltq-ptm
blogic [Sat, 15 Dec 2012 02:00:13 +0000 (02:00 +0000)]
[lantiq] add ltq-ptm

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

11 years ago[lantiq] add ltq-deu
blogic [Sat, 15 Dec 2012 02:00:05 +0000 (02:00 +0000)]
[lantiq] add ltq-deu

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

11 years ago[lantiq] add ltq-hcd
blogic [Sat, 15 Dec 2012 01:59:53 +0000 (01:59 +0000)]
[lantiq] add ltq-hcd

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

11 years ago[lantiq] add linux-v3.7
blogic [Sat, 15 Dec 2012 01:59:45 +0000 (01:59 +0000)]
[lantiq] add linux-v3.7

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

11 years ago[lantiq] fixes uboot dependency
blogic [Sat, 15 Dec 2012 01:59:35 +0000 (01:59 +0000)]
[lantiq] fixes uboot dependency

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

11 years ago[kernel] add crypto-pcompress
blogic [Sat, 15 Dec 2012 01:59:29 +0000 (01:59 +0000)]
[kernel] add crypto-pcompress

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

11 years ago[ppp] make use of uapi directory wrapper
blogic [Sat, 15 Dec 2012 01:59:19 +0000 (01:59 +0000)]
[ppp] make use of uapi directory wrapper

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

11 years ago[include] adds wrapper for uapi directory
blogic [Sat, 15 Dec 2012 01:59:14 +0000 (01:59 +0000)]
[include] adds wrapper for uapi directory

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

11 years ago[kernel] make rtl8366 driver OF capable
blogic [Sat, 15 Dec 2012 01:59:08 +0000 (01:59 +0000)]
[kernel] make rtl8366 driver OF capable

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

11 years agonetfilter.mk: extend nf_add macro to take a version dependency expression
jow [Sat, 15 Dec 2012 00:05:35 +0000 (00:05 +0000)]
netfilter.mk: extend nf_add macro to take a version dependency expression

- nf_add now takes an optional 4th argument which specifies a kernel version dependency, e.g. "lt 3.7.0"
- remove CompareKernelPatchVer conditionals around nf_add invocations, use version depends instead
- fixes xt_LOG.ko packaging with Linux 3.6.0 and later

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

11 years agobrcm47xx: improve suppressing printing if a module was found in preinit function.
hauke [Fri, 14 Dec 2012 22:45:12 +0000 (22:45 +0000)]
brcm47xx: improve suppressing printing if a module was found in preinit function.

Thank you Bastian Bittorf

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

11 years agopackage/swconfig: don't use kernel headers
juhosg [Fri, 14 Dec 2012 12:11:50 +0000 (12:11 +0000)]
package/swconfig: don't use kernel headers

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

11 years agogeneric: export include/linux/switch.h on 3.3, 3.6
juhosg [Fri, 14 Dec 2012 12:11:48 +0000 (12:11 +0000)]
generic: export include/linux/switch.h on 3.3, 3.6

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

11 years agogeneric: disintegrate UAPI from include/linux/switch.h
juhosg [Fri, 14 Dec 2012 12:11:41 +0000 (12:11 +0000)]
generic: disintegrate UAPI from include/linux/switch.h

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

11 years agogeneric: refresh patches
juhosg [Fri, 14 Dec 2012 08:47:39 +0000 (08:47 +0000)]
generic: refresh patches

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

11 years agogeneric: update pci_disable_usb_common_quirks patch
juhosg [Fri, 14 Dec 2012 08:32:56 +0000 (08:32 +0000)]
generic: update pci_disable_usb_common_quirks patch

Fixes the following compiler warning:
drivers/usb/host/pci-quirks.c:459:23: warning: 'quirk_usb_handoff_uhci' defined but not used [-Wunused-function]

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

11 years agoar71xx: reorder some patches
juhosg [Fri, 14 Dec 2012 07:16:56 +0000 (07:16 +0000)]
ar71xx: reorder some patches

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

11 years agoar71xx: merge unifi outdoor patch into the ubnt-xm one
juhosg [Fri, 14 Dec 2012 07:16:50 +0000 (07:16 +0000)]
ar71xx: merge unifi outdoor patch into the ubnt-xm one

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

11 years agobrcm47xx: Additional BCM4716 support
hauke [Thu, 13 Dec 2012 18:57:38 +0000 (18:57 +0000)]
brcm47xx: Additional BCM4716 support

Additional BCM4716 support.  Still needs working ethernet driver.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34672 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobroadcom-wl: Pass physical address to wl_attach
hauke [Thu, 13 Dec 2012 18:55:49 +0000 (18:55 +0000)]
broadcom-wl: Pass physical address to wl_attach

wl_attach expects a physical address, as it performs the mapping internally.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34671 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: BCMA - Broadcom 2011 SDK Updates
hauke [Thu, 13 Dec 2012 18:54:04 +0000 (18:54 +0000)]
brcm47xx: BCMA - Broadcom 2011 SDK Updates

I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't
noticed any obvious changes in behavior with them applied; but thought I
should at least pass them on.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34670 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: return the real irq number in bcma_core_irq
hauke [Thu, 13 Dec 2012 18:51:10 +0000 (18:51 +0000)]
brcm47xx: return the real irq number in bcma_core_irq

The irq signal numbers that are send by the cpu are increased by 2 from
the number programmed into the mips core by bcma.
Return the irq number on which the irqs are send in bcma_core_irq() now.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34669 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: fix solos-pci skb double-free in DMA mode
juhosg [Thu, 13 Dec 2012 18:39:31 +0000 (18:39 +0000)]
kernel: fix solos-pci skb double-free in DMA mode

[juhosg: refresh the patches with quilt]

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

11 years agokernel: fix perf build with uclibc toolchains on x86
florian [Thu, 13 Dec 2012 17:34:22 +0000 (17:34 +0000)]
kernel: fix perf build with uclibc toolchains on x86

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

11 years agonetifd: update to latest version, fixes purging old resolv.conf entries after ifdown
nbd [Thu, 13 Dec 2012 16:14:41 +0000 (16:14 +0000)]
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown

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

11 years agokernel/3.6: backport an upstream build for perf with uClibc
florian [Thu, 13 Dec 2012 15:40:27 +0000 (15:40 +0000)]
kernel/3.6: backport an upstream build for perf with uClibc

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

11 years agokernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes
nbd [Thu, 13 Dec 2012 13:07:13 +0000 (13:07 +0000)]
kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes

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

11 years agobuild: only install packages for selected variants, fixes building multiple variant...
nbd [Thu, 13 Dec 2012 13:07:01 +0000 (13:07 +0000)]
build: only install packages for selected variants, fixes building multiple variant selections in one tree

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

11 years agobrcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
hauke [Thu, 13 Dec 2012 00:12:42 +0000 (00:12 +0000)]
brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.

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

11 years agobrcm47xx: use kernel 3.6.10 by default now
hauke [Thu, 13 Dec 2012 00:11:55 +0000 (00:11 +0000)]
brcm47xx: use kernel 3.6.10 by default now

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

11 years agobrcm47xx: suppress printing if a module was found in preinit function.
hauke [Thu, 13 Dec 2012 00:11:11 +0000 (00:11 +0000)]
brcm47xx: suppress printing if a module was found in preinit function.

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

11 years agokernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
hauke [Thu, 13 Dec 2012 00:09:55 +0000 (00:09 +0000)]
kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko

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

11 years agokernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
hauke [Wed, 12 Dec 2012 22:42:18 +0000 (22:42 +0000)]
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing

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

11 years agoar71xx: add profile and build initramfs image for the WNDR4300
juhosg [Wed, 12 Dec 2012 16:49:52 +0000 (16:49 +0000)]
ar71xx: add profile and build initramfs image for the WNDR4300

It is not yet possible to use the default squasfsh/jffs2 images
on NAND flashes, so only initramfs image is supported for now.

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

11 years agoar71xx: add user-space support for the NETGEAR WNDR4300
juhosg [Wed, 12 Dec 2012 16:49:51 +0000 (16:49 +0000)]
ar71xx: add user-space support for the NETGEAR WNDR4300

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

11 years agobase-files: add mtd_find_chardev helper
juhosg [Wed, 12 Dec 2012 16:49:50 +0000 (16:49 +0000)]
base-files: add mtd_find_chardev helper

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

11 years agoar71xx: add kernel support for the NETGEAR WNDR4300
juhosg [Wed, 12 Dec 2012 16:49:49 +0000 (16:49 +0000)]
ar71xx: add kernel support for the NETGEAR WNDR4300

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

11 years agoar71xx: add ap91_pci_init_simple helper
juhosg [Wed, 12 Dec 2012 16:49:48 +0000 (16:49 +0000)]
ar71xx: add ap91_pci_init_simple helper

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

11 years agoar71xx: add ath79_wmac_register_simple helper
juhosg [Wed, 12 Dec 2012 16:49:47 +0000 (16:49 +0000)]
ar71xx: add ath79_wmac_register_simple helper

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

11 years agoar71xx: refresh 3.3 patches
juhosg [Wed, 12 Dec 2012 16:49:46 +0000 (16:49 +0000)]
ar71xx: refresh 3.3 patches

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

11 years agoar71xx: remove superfluous USB patches for 3.3
juhosg [Wed, 12 Dec 2012 16:49:43 +0000 (16:49 +0000)]
ar71xx: remove superfluous USB patches for 3.3

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

11 years agoRevert "remove function find_mtd_part() from /lib/functions.sh"
mirko [Wed, 12 Dec 2012 13:41:56 +0000 (13:41 +0000)]
Revert "remove function find_mtd_part() from /lib/functions.sh"

Reverting commit 34641.
Function find_mtd_part() is needed by some scripts deployed
for certain targets but not including boot.sh after all.
Still, all this certainly needs some love.

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

11 years agoremove function find_mtd_part() from /lib/functions.sh
mirko [Wed, 12 Dec 2012 12:38:31 +0000 (12:38 +0000)]
remove function find_mtd_part() from /lib/functions.sh

Since all scripts using this function include /lib/functions/boot.sh -
where this function is defined as well - it can be dropped
from /lib/functions.sh. Also avoids further confusion about this
function being declared and defined in two different places.

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

11 years agogeneric: fix 8139cp patch for 3.6
juhosg [Wed, 12 Dec 2012 08:37:27 +0000 (08:37 +0000)]
generic: fix 8139cp patch for 3.6

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

11 years agokernel: update linux 3.6 to 3.6.10
juhosg [Tue, 11 Dec 2012 20:14:39 +0000 (20:14 +0000)]
kernel: update linux 3.6 to 3.6.10

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

11 years agomac80211: update rt2x00 rx_status patch
juhosg [Tue, 11 Dec 2012 17:49:11 +0000 (17:49 +0000)]
mac80211: update rt2x00 rx_status patch

Also remove the superfluous ones for ath5k, p54.

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

11 years agoipv6-support: Make ULA addresses secondary
cyrus [Tue, 11 Dec 2012 16:56:37 +0000 (16:56 +0000)]
ipv6-support: Make ULA addresses secondary
* Deprecates ULA prefixes when there are other public prefixes
* Fixes issues with clients using incorrect source addresses

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

11 years ago6distributed: Add support for secondary addresses
cyrus [Tue, 11 Dec 2012 16:56:32 +0000 (16:56 +0000)]
6distributed: Add support for secondary addresses

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

11 years ago6relayd: Fix announcement of deprecated prefixes
cyrus [Tue, 11 Dec 2012 16:56:27 +0000 (16:56 +0000)]
6relayd: Fix announcement of deprecated prefixes

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

11 years agomac80211: zero-out rx_status in rt2x00, ath5k, p54
juhosg [Tue, 11 Dec 2012 14:16:23 +0000 (14:16 +0000)]
mac80211: zero-out rx_status in rt2x00, ath5k, p54

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

11 years agokernel: update to 3.7 final
florian [Tue, 11 Dec 2012 11:31:17 +0000 (11:31 +0000)]
kernel: update to 3.7 final

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

11 years agonetfilter.mk: fix packaging of xt_LOG.ko, it moved between 3.3.8 and 3.6.x
jow [Tue, 11 Dec 2012 09:53:50 +0000 (09:53 +0000)]
netfilter.mk: fix packaging of xt_LOG.ko, it moved between 3.3.8 and 3.6.x

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

11 years agomac80211: fix possible NULL pointer dereference in ath9k
juhosg [Mon, 10 Dec 2012 23:21:02 +0000 (23:21 +0000)]
mac80211: fix possible NULL pointer dereference in ath9k

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