openwrt/staging/linusw.git
11 years agoar71xx: add user-space support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:41 +0000 (08:50 +0000)]
ar71xx: add user-space support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34780

11 years agoar71xx: add kernel support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:35 +0000 (08:50 +0000)]
ar71xx: add kernel support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34779

11 years agofix gptu patch - tapi should now load
John Crispin [Tue, 18 Dec 2012 20:12:57 +0000 (20:12 +0000)]
fix gptu patch - tapi should now load

SVN-Revision: 34777

11 years agoppc40x: nuke 3.3 support
Gabor Juhos [Tue, 18 Dec 2012 20:10:37 +0000 (20:10 +0000)]
ppc40x: nuke 3.3 support

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

11 years agoppc40x: switch to 3.6.11
Gabor Juhos [Tue, 18 Dec 2012 20:10:34 +0000 (20:10 +0000)]
ppc40x: switch to 3.6.11

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

11 years agoppc40x: add support for 3.6
Gabor Juhos [Tue, 18 Dec 2012 20:10:31 +0000 (20:10 +0000)]
ppc40x: add support for 3.6

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

11 years agogeneric: disable crashlog on ppc
Gabor Juhos [Tue, 18 Dec 2012 20:10:02 +0000 (20:10 +0000)]
generic: disable crashlog on ppc

It causes panic on boot:

[    0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs
[    0.200902] Unable to handle kernel paging request for data at address 0x00000000
[    0.208347] Faulting instruction address: 0xc026cb10
[    0.213282] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.218586] PowerPC 40x Platform
[    0.221783] Modules linked in:
[    0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8
[    0.229745] REGS: c1825ed0 TRAP: 0300   Not tainted  (3.6.11)
[    0.235435] MSR: 00029030 <EE,ME,IR,DR>  CR: 42004082  XER: 00000000
[    0.241745] DEAR: 00000000, ESR: 00000000
[    0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000
GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69
GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8
GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8
GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388
[    0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.289000] Call Trace:
[    0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable)
[    0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8
[    0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4
[    0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68
[    0.314488] Instruction dump:
[    0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004
[    0.325117] 2f830000 41be00a4 38804000 4bda2809 <816300007c691b78 907ed388 6d605e11

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

11 years agogeneric: add missing symbols for 3.{6,7}
Gabor Juhos [Tue, 18 Dec 2012 20:09:58 +0000 (20:09 +0000)]
generic: add missing symbols for 3.{6,7}

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

11 years agoupdate to 3.7.1
John Crispin [Tue, 18 Dec 2012 19:32:01 +0000 (19:32 +0000)]
update to 3.7.1

SVN-Revision: 34771

11 years agoltq-hcd usb fix high speed hub mode
John Crispin [Tue, 18 Dec 2012 19:31:46 +0000 (19:31 +0000)]
ltq-hcd usb fix high speed hub mode

Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>
SVN-Revision: 34770

11 years agoetrax: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:54:04 +0000 (17:54 +0000)]
etrax: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agos3c2442: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:54:02 +0000 (17:54 +0000)]
s3c2442: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agogoldfish: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:53 +0000 (17:53 +0000)]
goldfish: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agops3: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:51 +0000 (17:53 +0000)]
ps3: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agopxcab: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:17 +0000 (17:53 +0000)]
pxcab: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agorefresh kernel configs with kconfig.pl
Gabor Juhos [Tue, 18 Dec 2012 15:54:15 +0000 (15:54 +0000)]
refresh kernel configs with kconfig.pl

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

11 years agogeos: add missing config-3.7 file
Gabor Juhos [Tue, 18 Dec 2012 15:51:45 +0000 (15:51 +0000)]
geos: add missing config-3.7 file

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34762

11 years agoar71xx: image: add OpenMesh profile
Gabor Juhos [Tue, 18 Dec 2012 15:16:05 +0000 (15:16 +0000)]
ar71xx: image: add OpenMesh profile

It allows to build firmware images for all OpenMesh
products in one step.

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

11 years agokernel: update linux 3.7 to 3.7.1
Gabor Juhos [Tue, 18 Dec 2012 15:13:31 +0000 (15:13 +0000)]
kernel: update linux 3.7 to 3.7.1

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

11 years agocns21xx: remove broken flag
Gabor Juhos [Tue, 18 Dec 2012 14:51:58 +0000 (14:51 +0000)]
cns21xx: remove broken flag

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

11 years agocns21xx: nuke 3.3 support
Gabor Juhos [Tue, 18 Dec 2012 14:51:58 +0000 (14:51 +0000)]
cns21xx: nuke 3.3 support

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

11 years agocns21xx: switch to 3.6.11
Gabor Juhos [Tue, 18 Dec 2012 14:51:57 +0000 (14:51 +0000)]
cns21xx: switch to 3.6.11

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

11 years agocns21xx: fix build errors on 3.6
Gabor Juhos [Tue, 18 Dec 2012 14:51:55 +0000 (14:51 +0000)]
cns21xx: fix build errors on 3.6

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

11 years agogeos: update to 3.7
Gabor Juhos [Tue, 18 Dec 2012 14:50:48 +0000 (14:50 +0000)]
geos: update to 3.7

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34755

11 years agokernel: add 3.7 support for x86
Gabor Juhos [Tue, 18 Dec 2012 14:50:47 +0000 (14:50 +0000)]
kernel: add 3.7 support for x86

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34754

11 years agokernel: Fix Cisco SIP NAT patch to build with 3.7
Gabor Juhos [Tue, 18 Dec 2012 14:50:45 +0000 (14:50 +0000)]
kernel: Fix Cisco SIP NAT patch to build with 3.7

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34753

11 years agoipset: update to 6.16.1 to fix build with kernel 3.7
Gabor Juhos [Tue, 18 Dec 2012 14:50:44 +0000 (14:50 +0000)]
ipset: update to 6.16.1 to fix build with kernel 3.7

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34752

11 years agokernel: fix module names for crypto modules in 3.7
Gabor Juhos [Tue, 18 Dec 2012 14:50:43 +0000 (14:50 +0000)]
kernel: fix module names for crypto modules in 3.7

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34751

11 years agonetfilter: fix module list for 3.7 kernel
Gabor Juhos [Tue, 18 Dec 2012 14:50:42 +0000 (14:50 +0000)]
netfilter: fix module list for 3.7 kernel

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34750

11 years agokernel: add missing config option BATTERY_DS2781 for 3.7
Gabor Juhos [Tue, 18 Dec 2012 14:50:41 +0000 (14:50 +0000)]
kernel: add missing config option BATTERY_DS2781 for 3.7

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34749

11 years agokernel: update linux 3.6 to 3.6.11
Gabor Juhos [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>
SVN-Revision: 34748

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

SVN-Revision: 34746

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

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

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

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

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

SVN-Revision: 34741

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

SVN-Revision: 34740

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

SVN-Revision: 34739

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

SVN-Revision: 34738

11 years agokernel: add some debloat patches, strip down procfs and make O_DIRECT support optiona...
Felix Fietkau [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

SVN-Revision: 34737

11 years agotools: add a symlink for gnu awk to fix kernel build errors on some platforms
Felix Fietkau [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

SVN-Revision: 34736

11 years agonetifd: update to latest version, no longer needs the removed jshn_append() shell...
Felix Fietkau [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

SVN-Revision: 34734

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

SVN-Revision: 34733

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

SVN-Revision: 34732

11 years agogeneric: rtl836x: fix compiler warnings
Gabor Juhos [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>
SVN-Revision: 34731

11 years agoar71xx: add profile and build image for UniFi AP Pro
Gabor Juhos [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>
SVN-Revision: 34730

11 years agofirmware-utils/mkfwimage2: allow to use numbers in partition names
Gabor Juhos [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>
SVN-Revision: 34729

11 years agoar71xx: add user-space support for UniFi AP Pro
Gabor Juhos [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>
SVN-Revision: 34728

11 years agoar71xx: add kernel support for the UniFi AP Pro
Gabor Juhos [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>
SVN-Revision: 34727

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

SVN-Revision: 34726

11 years agobase-files: rework cache handling in network.sh to keep the entire parsed ifstatus...
Jo-Philipp Wich [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

SVN-Revision: 34725

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

SVN-Revision: 34723

11 years agobase-files: various enhancements to network.sh
Jo-Philipp Wich [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

SVN-Revision: 34722

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

SVN-Revision: 34720

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

SVN-Revision: 34718

11 years agowpa_supplicant.sh: always use parameters from the current section
Felix Fietkau [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>
SVN-Revision: 34716

11 years agofixes uapi helper define
John Crispin [Sun, 16 Dec 2012 11:04:27 +0000 (11:04 +0000)]
fixes uapi helper define

SVN-Revision: 34715

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

SVN-Revision: 34714

11 years agofix falcon profile
John Crispin [Sun, 16 Dec 2012 10:03:23 +0000 (10:03 +0000)]
fix falcon profile

SVN-Revision: 34713

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

SVN-Revision: 34712

11 years agoadd falcon devicetree files
John Crispin [Sun, 16 Dec 2012 10:03:11 +0000 (10:03 +0000)]
add falcon devicetree files

SVN-Revision: 34711

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

SVN-Revision: 34710

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

SVN-Revision: 34709

11 years agoubus: update to latest version, fixes request timeout handling issues, hangs on lots...
Felix Fietkau [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

SVN-Revision: 34705

11 years agonetifd: call /etc/udhcp.user from the netifd dhcp.script
Felix Fietkau [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>
SVN-Revision: 34704

11 years agolinux: generic: rtl836*: fix compilation with !CONFIG_OF
Jonas Gorski [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>
SVN-Revision: 34703

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

SVN-Revision: 34702

11 years agoEASY80920 has 2 usb ports
John Crispin [Sat, 15 Dec 2012 11:01:11 +0000 (11:01 +0000)]
EASY80920 has 2 usb ports

SVN-Revision: 34701

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

SVN-Revision: 34700

11 years agoremove 3.3 and 3.6
John Crispin [Sat, 15 Dec 2012 02:01:08 +0000 (02:01 +0000)]
remove 3.3 and 3.6

SVN-Revision: 34699

11 years agocleanup basefiles
John Crispin [Sat, 15 Dec 2012 02:01:00 +0000 (02:01 +0000)]
cleanup basefiles

SVN-Revision: 34698

11 years agoclean up modules.mk
John Crispin [Sat, 15 Dec 2012 02:00:55 +0000 (02:00 +0000)]
clean up modules.mk

SVN-Revision: 34697

11 years agofix tapi dependency
John Crispin [Sat, 15 Dec 2012 02:00:50 +0000 (02:00 +0000)]
fix tapi dependency

SVN-Revision: 34696

11 years agomove voice packages
John Crispin [Sat, 15 Dec 2012 02:00:45 +0000 (02:00 +0000)]
move voice packages

SVN-Revision: 34695

11 years agomove ltq-adsl-tool
John Crispin [Sat, 15 Dec 2012 02:00:39 +0000 (02:00 +0000)]
move ltq-adsl-tool

SVN-Revision: 34694

11 years agomove ltq-adsl
John Crispin [Sat, 15 Dec 2012 02:00:33 +0000 (02:00 +0000)]
move ltq-adsl

SVN-Revision: 34693

11 years agomove ltq-ifxos
John Crispin [Sat, 15 Dec 2012 02:00:26 +0000 (02:00 +0000)]
move ltq-ifxos

SVN-Revision: 34692

11 years agoadd devicetrees
John Crispin [Sat, 15 Dec 2012 02:00:20 +0000 (02:00 +0000)]
add devicetrees

SVN-Revision: 34691

11 years agoadd ltq-ptm
John Crispin [Sat, 15 Dec 2012 02:00:13 +0000 (02:00 +0000)]
add ltq-ptm

SVN-Revision: 34690

11 years agoadd ltq-deu
John Crispin [Sat, 15 Dec 2012 02:00:05 +0000 (02:00 +0000)]
add ltq-deu

SVN-Revision: 34689

11 years agoadd ltq-hcd
John Crispin [Sat, 15 Dec 2012 01:59:53 +0000 (01:59 +0000)]
add ltq-hcd

SVN-Revision: 34688

11 years agoadd linux-v3.7
John Crispin [Sat, 15 Dec 2012 01:59:45 +0000 (01:59 +0000)]
add linux-v3.7

SVN-Revision: 34687

11 years agofixes uboot dependency
John Crispin [Sat, 15 Dec 2012 01:59:35 +0000 (01:59 +0000)]
fixes uboot dependency

SVN-Revision: 34686

11 years agoadd crypto-pcompress
John Crispin [Sat, 15 Dec 2012 01:59:29 +0000 (01:59 +0000)]
add crypto-pcompress

SVN-Revision: 34685

11 years agomake use of uapi directory wrapper
John Crispin [Sat, 15 Dec 2012 01:59:19 +0000 (01:59 +0000)]
make use of uapi directory wrapper

SVN-Revision: 34684

11 years agoadds wrapper for uapi directory
John Crispin [Sat, 15 Dec 2012 01:59:14 +0000 (01:59 +0000)]
adds wrapper for uapi directory

SVN-Revision: 34683

11 years agomake rtl8366 driver OF capable
John Crispin [Sat, 15 Dec 2012 01:59:08 +0000 (01:59 +0000)]
make rtl8366 driver OF capable

SVN-Revision: 34682

11 years agonetfilter.mk: extend nf_add macro to take a version dependency expression
Jo-Philipp Wich [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

SVN-Revision: 34681

11 years agobrcm47xx: improve suppressing printing if a module was found in preinit function.
Hauke Mehrtens [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

SVN-Revision: 34680

11 years agopackage/swconfig: don't use kernel headers
Gabor Juhos [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>
SVN-Revision: 34679

11 years agogeneric: export include/linux/switch.h on 3.3, 3.6
Gabor Juhos [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>
SVN-Revision: 34678

11 years agogeneric: disintegrate UAPI from include/linux/switch.h
Gabor Juhos [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>
SVN-Revision: 34677

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

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

11 years agogeneric: update pci_disable_usb_common_quirks patch
Gabor Juhos [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>
SVN-Revision: 34675

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

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

11 years agoar71xx: merge unifi outdoor patch into the ubnt-xm one
Gabor Juhos [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>
SVN-Revision: 34673

11 years agobrcm47xx: Additional BCM4716 support
Hauke Mehrtens [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>
SVN-Revision: 34672

11 years agobroadcom-wl: Pass physical address to wl_attach
Hauke Mehrtens [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>
SVN-Revision: 34671

11 years agobrcm47xx: BCMA - Broadcom 2011 SDK Updates
Hauke Mehrtens [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>
SVN-Revision: 34670

11 years agobrcm47xx: return the real irq number in bcma_core_irq
Hauke Mehrtens [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>
SVN-Revision: 34669

11 years agokernel: fix solos-pci skb double-free in DMA mode
Gabor Juhos [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>
SVN-Revision: 34667