Commit graph

22532 commits

Author SHA1 Message Date
Jo-Philipp Wich
3339316fbe base-files: use json_is_a() in network.sh
SVN-Revision: 34733
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich
e0ad41ead8 libubox: update to latest git head, introduces jshn json_is_a() helper
SVN-Revision: 34732
2012-12-17 13:07:38 +00:00
Gabor Juhos
d153bdbba9 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>

SVN-Revision: 34731
2012-12-17 13:02:18 +00:00
Gabor Juhos
61d715505c ar71xx: add profile and build image for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34730
2012-12-17 12:28:21 +00:00
Gabor Juhos
113b6b96c1 firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
2012-12-17 12:28:15 +00:00
Gabor Juhos
abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
2012-12-17 12:28:11 +00:00
Gabor Juhos
ff3f28265f ar71xx: add kernel support for the UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34727
2012-12-17 12:28:02 +00:00
Felix Fietkau
8cd40b219e build: disable kernel export strip until it is fixed
SVN-Revision: 34726
2012-12-16 21:34:31 +00:00
Jo-Philipp Wich
17acf9bf27 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
SVN-Revision: 34725
2012-12-16 20:17:18 +00:00
Felix Fietkau
1536f2be63 libubox: another jshn update, fixes array handling issues
SVN-Revision: 34723
2012-12-16 18:59:01 +00:00
Jo-Philipp Wich
1600ba99e4 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

SVN-Revision: 34722
2012-12-16 18:22:02 +00:00
Felix Fietkau
595b48be55 libubox: fix some jshn variable handling regressions
SVN-Revision: 34720
2012-12-16 17:05:46 +00:00
Felix Fietkau
a7877699f7 libubox: update to latest version, adds jshn namespace support
SVN-Revision: 34718
2012-12-16 16:49:47 +00:00
Felix Fietkau
056d75049d 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>

SVN-Revision: 34716
2012-12-16 13:23:37 +00:00
John Crispin
e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
2012-12-16 11:04:27 +00:00
John Crispin
7bcb6b5479 make pinctrl-falcon honour status="disbaled";
SVN-Revision: 34714
2012-12-16 10:03:28 +00:00
John Crispin
573cf13419 fix falcon profile
SVN-Revision: 34713
2012-12-16 10:03:23 +00:00
John Crispin
33d3433d75 fix i2c-lantiq module
SVN-Revision: 34712
2012-12-16 10:03:18 +00:00
John Crispin
b637eb598d add falcon devicetree files
SVN-Revision: 34711
2012-12-16 10:03:11 +00:00
Felix Fietkau
8c3306b8b6 kernel: add a missing config symbol for 3.7
SVN-Revision: 34710
2012-12-15 22:00:03 +00:00
Felix Fietkau
b9d1bdb374 kernel: add a module for ipv6 gre
SVN-Revision: 34709
2012-12-15 21:59:56 +00:00
Felix Fietkau
fba5be2dc5 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
SVN-Revision: 34705
2012-12-15 17:19:29 +00:00
Felix Fietkau
860c2e8116 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>

SVN-Revision: 34704
2012-12-15 17:19:24 +00:00
Jonas Gorski
eba8cccd88 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>

SVN-Revision: 34703
2012-12-15 13:32:02 +00:00
John Crispin
3ca51b5399 select hcd as a default package for the dgn3500
SVN-Revision: 34702
2012-12-15 11:01:16 +00:00
John Crispin
85e4da7e23 EASY80920 has 2 usb ports
SVN-Revision: 34701
2012-12-15 11:01:11 +00:00
John Crispin
66daf1ef61 allow to load only 1 usb port on AR9 / VR9
SVN-Revision: 34700
2012-12-15 11:01:05 +00:00
John Crispin
3dac521a49 remove 3.3 and 3.6
SVN-Revision: 34699
2012-12-15 02:01:08 +00:00
John Crispin
1dece11487 cleanup basefiles
SVN-Revision: 34698
2012-12-15 02:01:00 +00:00
John Crispin
601bc28669 clean up modules.mk
SVN-Revision: 34697
2012-12-15 02:00:55 +00:00
John Crispin
5deddbf918 fix tapi dependency
SVN-Revision: 34696
2012-12-15 02:00:50 +00:00
John Crispin
baae9d16e9 move voice packages
SVN-Revision: 34695
2012-12-15 02:00:45 +00:00
John Crispin
06c9170a7c move ltq-adsl-tool
SVN-Revision: 34694
2012-12-15 02:00:39 +00:00
John Crispin
1d0a9d0c04 move ltq-adsl
SVN-Revision: 34693
2012-12-15 02:00:33 +00:00
John Crispin
c2738a9559 move ltq-ifxos
SVN-Revision: 34692
2012-12-15 02:00:26 +00:00
John Crispin
2c33df0376 add devicetrees
SVN-Revision: 34691
2012-12-15 02:00:20 +00:00
John Crispin
9b429a123d add ltq-ptm
SVN-Revision: 34690
2012-12-15 02:00:13 +00:00
John Crispin
c2e2323e1d add ltq-deu
SVN-Revision: 34689
2012-12-15 02:00:05 +00:00
John Crispin
65d9ff5054 add ltq-hcd
SVN-Revision: 34688
2012-12-15 01:59:53 +00:00
John Crispin
3a948770cf add linux-v3.7
SVN-Revision: 34687
2012-12-15 01:59:45 +00:00
John Crispin
240a3a38e1 fixes uboot dependency
SVN-Revision: 34686
2012-12-15 01:59:35 +00:00
John Crispin
12cfa40375 add crypto-pcompress
SVN-Revision: 34685
2012-12-15 01:59:29 +00:00
John Crispin
4583469413 make use of uapi directory wrapper
SVN-Revision: 34684
2012-12-15 01:59:19 +00:00
John Crispin
0803171cd1 adds wrapper for uapi directory
SVN-Revision: 34683
2012-12-15 01:59:14 +00:00
John Crispin
d8678644f9 make rtl8366 driver OF capable
SVN-Revision: 34682
2012-12-15 01:59:08 +00:00
Jo-Philipp Wich
5ba9873914 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

SVN-Revision: 34681
2012-12-15 00:05:35 +00:00
Hauke Mehrtens
4901ac8225 brcm47xx: improve suppressing printing if a module was found in preinit function.
Thank you Bastian Bittorf

SVN-Revision: 34680
2012-12-14 22:45:12 +00:00
Gabor Juhos
86cd825c1f package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34679
2012-12-14 12:11:50 +00:00
Gabor Juhos
57d7df3a35 generic: export include/linux/switch.h on 3.3, 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34678
2012-12-14 12:11:48 +00:00
Gabor Juhos
a860153cce generic: disintegrate UAPI from include/linux/switch.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34677
2012-12-14 12:11:41 +00:00