openwrt/openwrt.git
5 years agoodhcpd: fix certain config values being overwritten
Steven Barth [Thu, 23 Jan 2014 11:02:18 +0000 (11:02 +0000)]
odhcpd: fix certain config values being overwritten

Thanks to Hans Dedecker for the fix.

SVN-Revision: 39371

5 years ago6rd: Make don't fragment bit (df) a configurable variable
Steven Barth [Thu, 23 Jan 2014 10:59:04 +0000 (10:59 +0000)]
6rd: Make don't fragment bit (df) a configurable variable

Make the IPv4 "do not fragment" bit a configurable variable for the 6rd
tunnel interface as the bit should not be set in the encapsulating IPv4
header according to RFC3056.
On top the config variable allows to enable/disable path mtu discovery
for tunnel interfaces.
Config variable can be passed to netifd as tunnel config support is
already present for the "do not fragment" bit.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 39370

5 years agokernel/3.10: update pci_disable_usb_common_quirks patch
Gabor Juhos [Thu, 23 Jan 2014 09:07:49 +0000 (09:07 +0000)]
kernel/3.10: update pci_disable_usb_common_quirks patch

Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

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

5 years agompc85xx: Fix building ramdisk images
Gabor Juhos [Thu, 23 Jan 2014 06:55:58 +0000 (06:55 +0000)]
mpc85xx: Fix building ramdisk images

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39368

5 years agompc85xx: Remove inittab workaround
Gabor Juhos [Thu, 23 Jan 2014 06:55:50 +0000 (06:55 +0000)]
mpc85xx: Remove inittab workaround

The default inittab uses "askconsole" which is implemented by procd
and uses the console provided by the kernel command line.

Hence, this platform specific workaround is not necessary anymore.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39367

5 years agoubox: revert log buffer size changes
John Crispin [Wed, 22 Jan 2014 15:33:16 +0000 (15:33 +0000)]
ubox: revert log buffer size changes

the fix horribly broke existing setups

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39366

5 years agoubox: update to latest git head
John Crispin [Tue, 21 Jan 2014 20:59:04 +0000 (20:59 +0000)]
ubox: update to latest git head

make sure log buffer size is not bigger than the ubus message size

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39365

5 years agobrcm63xx: enable support for BCM63268
Florian Fainelli [Tue, 21 Jan 2014 18:50:26 +0000 (18:50 +0000)]
brcm63xx: enable support for BCM63268

Support for the BCM63268 is usable, enable it by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39364

5 years agobrcm63xx: add support for BCM963269BHR board
Florian Fainelli [Tue, 21 Jan 2014 18:50:11 +0000 (18:50 +0000)]
brcm63xx: add support for BCM963269BHR board

Add kernel support for the BCM963269BHR board, USB and Ethernet switch,
LEDs and buttons are working.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39363

5 years agobrcm63xx: improve BCM63268 support
Florian Fainelli [Tue, 21 Jan 2014 18:49:50 +0000 (18:49 +0000)]
brcm63xx: improve BCM63268 support

Allow using the HSSPI controller since it works just fine, as well as
the integrated switch core, since that one works too.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39362

5 years agoar71xx: mynet-n750: define LEDs connected to the AR8327 switch
Gabor Juhos [Tue, 21 Jan 2014 17:17:42 +0000 (17:17 +0000)]
ar71xx: mynet-n750: define LEDs connected to the AR8327 switch

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4743/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39361

5 years agomodules: swconfig.c: update the error path on 3.13, and behave nicely with return
Zoltan Herpai [Tue, 21 Jan 2014 14:43:50 +0000 (14:43 +0000)]
modules: swconfig.c: update the error path on 3.13, and behave nicely with return

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39360

5 years agomodules: update swconfig.c to compile on 3.13 (compile-tested)
Zoltan Herpai [Tue, 21 Jan 2014 14:24:45 +0000 (14:24 +0000)]
modules: update swconfig.c to compile on 3.13 (compile-tested)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39359

5 years agoadd missing symbols
Zoltan Herpai [Tue, 21 Jan 2014 14:23:00 +0000 (14:23 +0000)]
add missing symbols

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39358

5 years agokernel: ocf: add missing dependency for hifn driver
Jonas Gorski [Tue, 21 Jan 2014 12:11:18 +0000 (12:11 +0000)]
kernel: ocf: add missing dependency for hifn driver

The HIFN driver is a PCI driver, thus requires PCI support to be enabled
to compile. Therefore let it depend on PCI..

Should fix mvebu builds.

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

5 years agolantiq: fix unaligned access in vdsl firmware extractor
John Crispin [Tue, 21 Jan 2014 09:51:16 +0000 (09:51 +0000)]
lantiq: fix unaligned access in vdsl firmware extractor

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39356

5 years agoadd missing symbols
Zoltan Herpai [Tue, 21 Jan 2014 07:53:11 +0000 (07:53 +0000)]
add missing symbols

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39355

5 years agob53: use drvdata to store driver data
Hauke Mehrtens [Mon, 20 Jan 2014 20:01:22 +0000 (20:01 +0000)]
b53: use drvdata to store driver data

we should not abuse the platform_data pointer.

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

5 years agob53: make b53_switch_reset_gpio() static
Hauke Mehrtens [Mon, 20 Jan 2014 19:07:18 +0000 (19:07 +0000)]
b53: make b53_switch_reset_gpio() static

SVN-Revision: 39353

5 years agoprocd: update to latest git head
John Crispin [Mon, 20 Jan 2014 18:42:58 +0000 (18:42 +0000)]
procd: update to latest git head

Fixes OpenWrt bug #14832

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39352

5 years agonetifd: don't add unnecessary NOP policy rules
Steven Barth [Mon, 20 Jan 2014 18:23:02 +0000 (18:23 +0000)]
netifd: don't add unnecessary NOP policy rules

SVN-Revision: 39351

5 years agoupdate ocf patches - as ENT_DEBUG is removed, move the messages into pr_notice
Zoltan Herpai [Mon, 20 Jan 2014 15:23:27 +0000 (15:23 +0000)]
update ocf patches - as ENT_DEBUG is removed, move the messages into pr_notice

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39350

5 years agoupdate/fixup overlayfs patch
Imre Kaloz [Mon, 20 Jan 2014 14:46:29 +0000 (14:46 +0000)]
update/fixup overlayfs patch

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

5 years agoadd initial 3.13 support
Imre Kaloz [Mon, 20 Jan 2014 13:56:24 +0000 (13:56 +0000)]
add initial 3.13 support

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

5 years ago6in4: fix typo in config variable (fixes #14830)
Steven Barth [Mon, 20 Jan 2014 12:53:15 +0000 (12:53 +0000)]
6in4: fix typo in config variable (fixes #14830)

SVN-Revision: 39347

5 years agoar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch
Gabor Juhos [Mon, 20 Jan 2014 10:23:06 +0000 (10:23 +0000)]
ar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch

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

5 years agoar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch
Gabor Juhos [Mon, 20 Jan 2014 10:23:05 +0000 (10:23 +0000)]
ar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch

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

5 years agoar71xx: set default LED config for the RB2011* boards
Gabor Juhos [Mon, 20 Jan 2014 10:23:04 +0000 (10:23 +0000)]
ar71xx: set default LED config for the RB2011* boards

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

5 years agoar71xx: set status_led for the RB2011* boards
Gabor Juhos [Mon, 20 Jan 2014 10:23:03 +0000 (10:23 +0000)]
ar71xx: set status_led for the RB2011* boards

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

5 years agoar71xx: fix indentation in diag.sh
Gabor Juhos [Mon, 20 Jan 2014 10:23:02 +0000 (10:23 +0000)]
ar71xx: fix indentation in diag.sh

Replace the leading spaces with tabs.

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

5 years agoar71xx: rb2011: define LEDs connected to the AR8327 switch
Gabor Juhos [Mon, 20 Jan 2014 10:23:01 +0000 (10:23 +0000)]
ar71xx: rb2011: define LEDs connected to the AR8327 switch

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

5 years agoar71xx: enable AR8327 LED support
Gabor Juhos [Mon, 20 Jan 2014 10:23:00 +0000 (10:23 +0000)]
ar71xx: enable AR8327 LED support

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

5 years agokernel/3.1[02]: add AR8216_PHY_LEDS option
Gabor Juhos [Mon, 20 Jan 2014 10:22:59 +0000 (10:22 +0000)]
kernel/3.1[02]: add AR8216_PHY_LEDS option

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

5 years agogeneric: ar8216: add custom LED support for the AR8327 switch
Gabor Juhos [Mon, 20 Jan 2014 10:22:56 +0000 (10:22 +0000)]
generic: ar8216: add custom LED support for the AR8327 switch

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

5 years agogeneric: ar8216: allow to use chip specific cleanup callback
Gabor Juhos [Mon, 20 Jan 2014 10:22:55 +0000 (10:22 +0000)]
generic: ar8216: allow to use chip specific cleanup callback

It will be used for AR8327.

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

5 years agogeneric: ar8216: add optimized rmw operation
Gabor Juhos [Mon, 20 Jan 2014 10:22:54 +0000 (10:22 +0000)]
generic: ar8216: add optimized rmw operation

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

5 years agoar71xx: rb2011: fix eth5 LED
Gabor Juhos [Mon, 20 Jan 2014 10:22:49 +0000 (10:22 +0000)]
ar71xx: rb2011: fix eth5 LED

The eth5 LED on the RB2011 is not working because the
LED control rule is missing. Fix it.

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

5 years agoubox: update to latest git head
John Crispin [Sun, 19 Jan 2014 19:10:09 +0000 (19:10 +0000)]
ubox: update to latest git head

adds option to set internal buffer size

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39333

5 years agofirewall: don't reload if there were no address or data changes
Steven Barth [Sun, 19 Jan 2014 17:35:33 +0000 (17:35 +0000)]
firewall: don't reload if there were no address or data changes

This fixes packet loss due to reloading firewall every minute with IPv6
implementation of certain ISPs.

SVN-Revision: 39332

5 years agokernel: add usb3 module definitions
John Crispin [Sun, 19 Jan 2014 17:27:40 +0000 (17:27 +0000)]
kernel: add usb3 module definitions

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39331

5 years agoralink: activate xhci config
John Crispin [Sun, 19 Jan 2014 17:27:31 +0000 (17:27 +0000)]
ralink: activate xhci config

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39330

5 years agoralink: backport various fixes from linux-mti
John Crispin [Sun, 19 Jan 2014 17:27:22 +0000 (17:27 +0000)]
ralink: backport various fixes from linux-mti

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39329

5 years agoralink: add xhci driver
John Crispin [Sun, 19 Jan 2014 17:27:13 +0000 (17:27 +0000)]
ralink: add xhci driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39328

5 years agoscripts/kconfig.pl: Indicate which file we couldn't open
John Crispin [Sun, 19 Jan 2014 17:27:04 +0000 (17:27 +0000)]
scripts/kconfig.pl: Indicate which file we couldn't open

Signed-off-by: Daniel Colascione <dancol@dancol.org>
SVN-Revision: 39327

5 years agobrcm63xx: fix typo breaking build in r39325
Jonas Gorski [Sun, 19 Jan 2014 14:00:18 +0000 (14:00 +0000)]
brcm63xx: fix typo breaking build in r39325

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

5 years agobrcm63xx: set usb host port number for some devices
Jonas Gorski [Sun, 19 Jan 2014 13:46:25 +0000 (13:46 +0000)]
brcm63xx: set usb host port number for some devices

Update a few devices with their actual port numbers, especially those
with two ports.

Should allow properly using the second port on the Neufboxen and HW553
and HW556.

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

5 years agobrcm63xx: allow setting the number of usb host ports for boards
Jonas Gorski [Sun, 19 Jan 2014 13:46:14 +0000 (13:46 +0000)]
brcm63xx: allow setting the number of usb host ports for boards

Allow setting the number of available usb host ports for boards with
additional sanity checks to allow using the second port on devices
where it is available.

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

5 years agobrcm63xx: add USB support for BCM63268
Jonas Gorski [Sun, 19 Jan 2014 13:46:05 +0000 (13:46 +0000)]
brcm63xx: add USB support for BCM63268

Add and enable USB support for the BCM63268 family of SoCs.

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

5 years agobrcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
Jonas Gorski [Sun, 19 Jan 2014 13:45:55 +0000 (13:45 +0000)]
brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too

USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI
and BCM63XX_HAS_OHCI are not selected.

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

5 years agobrcm63xx: prevent usb clock state inconsistency on BCM6318
Jonas Gorski [Sun, 19 Jan 2014 13:45:42 +0000 (13:45 +0000)]
brcm63xx: prevent usb clock state inconsistency on BCM6318

Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

clk_enable(usbh); <- usbh->usage = 1, enabled
clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

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

5 years agogenerate images for the On Networks N150 (rebranded Netgear WNR612v2)
Imre Kaloz [Sat, 18 Jan 2014 19:44:40 +0000 (19:44 +0000)]
generate images for the On Networks N150 (rebranded Netgear WNR612v2)

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

5 years agoodhcpd: Fix a memory corruption when static leases are used
Steven Barth [Sat, 18 Jan 2014 10:11:03 +0000 (10:11 +0000)]
odhcpd: Fix a memory corruption when static leases are used

SVN-Revision: 39319

5 years agosysupgrade: do not kill any processes in failsafe
John Crispin [Fri, 17 Jan 2014 22:12:05 +0000 (22:12 +0000)]
sysupgrade: do not kill any processes in failsafe

sysugrade killed the lock causing failsafe to stop

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39318

5 years agousbmode: update usb-modeswitch-data version to 20131113
John Crispin [Fri, 17 Jan 2014 21:45:55 +0000 (21:45 +0000)]
usbmode: update usb-modeswitch-data version to 20131113

https://dev.openwrt.org/ticket/14762

Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39317

5 years agoubox: update to latest git
John Crispin [Fri, 17 Jan 2014 21:35:32 +0000 (21:35 +0000)]
ubox: update to latest git

- fix duplicate device wildcard
- fix elf 64bit elf parsing

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39316

5 years agoodhcpd: be even less verbose and don't start unnecessary relays
Steven Barth [Fri, 17 Jan 2014 19:05:54 +0000 (19:05 +0000)]
odhcpd: be even less verbose and don't start unnecessary relays

SVN-Revision: 39315

5 years agoodhcpd: fix logspam
Steven Barth [Fri, 17 Jan 2014 15:53:43 +0000 (15:53 +0000)]
odhcpd: fix logspam

SVN-Revision: 39314

5 years agoodhcpd: use hybrid management mode by default
Steven Barth [Fri, 17 Jan 2014 15:48:02 +0000 (15:48 +0000)]
odhcpd: use hybrid management mode by default

SVN-Revision: 39313

5 years agodnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence
Steven Barth [Fri, 17 Jan 2014 14:00:09 +0000 (14:00 +0000)]
dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence

SVN-Revision: 39312

5 years agoodhcp6c: Use sourcerouting by default
Steven Barth [Fri, 17 Jan 2014 14:00:04 +0000 (14:00 +0000)]
odhcp6c: Use sourcerouting by default

SVN-Revision: 39311

5 years agoodhcp6c: fix several small issues + decrease size
Steven Barth [Fri, 17 Jan 2014 14:00:00 +0000 (14:00 +0000)]
odhcp6c: fix several small issues + decrease size

SVN-Revision: 39310

5 years agotarget: replace 6relayd with odhcpd by default
Steven Barth [Fri, 17 Jan 2014 13:59:55 +0000 (13:59 +0000)]
target: replace 6relayd with odhcpd by default

SVN-Revision: 39309

5 years agoodhcpd: several bugfixes and improved integration
Steven Barth [Fri, 17 Jan 2014 13:59:51 +0000 (13:59 +0000)]
odhcpd: several bugfixes and improved integration

SVN-Revision: 39308

5 years ago6in4, 6rd, 6to4: Use source-restricted routes by default
Steven Barth [Fri, 17 Jan 2014 13:59:47 +0000 (13:59 +0000)]
6in4, 6rd, 6to4: Use source-restricted routes by default

SVN-Revision: 39307

5 years agonetifd: Add IFUPDATE-flags and use main IPv6 routing table again
Steven Barth [Fri, 17 Jan 2014 13:59:40 +0000 (13:59 +0000)]
netifd: Add IFUPDATE-flags and use main IPv6 routing table again

SVN-Revision: 39306

5 years agokexec: bump to latest head revision
John Crispin [Fri, 17 Jan 2014 13:57:25 +0000 (13:57 +0000)]
kexec: bump to latest head revision

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39305

5 years agobrcm63xx: do not add twice the same field to board
Florian Fainelli [Thu, 16 Jan 2014 00:45:19 +0000 (00:45 +0000)]
brcm63xx: do not add twice the same field to board

Changeset r39302 updated a board section and added twice .has_ehci0,
this is not necessary, so fix it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39304

5 years agolantiq: Add support for Astoria ARV7510PW22
John Crispin [Wed, 15 Jan 2014 19:16:51 +0000 (19:16 +0000)]
lantiq: Add support for Astoria ARV7510PW22

This board is pretty similar to ARV752DPW22.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 39303

5 years agobrcm63xx: add USB support to BCM6318
Florian Fainelli [Wed, 15 Jan 2014 19:05:57 +0000 (19:05 +0000)]
brcm63xx: add USB support to BCM6318

BCM6318 has a special initialization sequence which involves touching
PLL control registers in the USBH_PRIV register space, as well as
toggling a bit the Simulation control register.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39302

5 years agomvebu: fix build failures when initramfs is not selected
Luka Perkov [Wed, 15 Jan 2014 18:38:51 +0000 (18:38 +0000)]
mvebu: fix build failures when initramfs is not selected

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

5 years agofirewall: improve logging in hotplug script
John Crispin [Wed, 15 Jan 2014 18:29:59 +0000 (18:29 +0000)]
firewall: improve logging in hotplug script

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 39300

5 years agoramips: Add profile for the Edimax BR-6475nD
John Crispin [Wed, 15 Jan 2014 18:29:51 +0000 (18:29 +0000)]
ramips: Add profile for the Edimax BR-6475nD

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 39299

5 years agoramips: Add userspace support for the Edimax BR-6475nD
John Crispin [Wed, 15 Jan 2014 18:29:44 +0000 (18:29 +0000)]
ramips: Add userspace support for the Edimax BR-6475nD

The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 39298

5 years agoramips: rt3883: Fix a typo in rt3883.dtsi
John Crispin [Wed, 15 Jan 2014 18:29:03 +0000 (18:29 +0000)]
ramips: rt3883: Fix a typo in rt3883.dtsi

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 39297

5 years agolantiq: update kernel configuration
Luka Perkov [Wed, 15 Jan 2014 14:11:36 +0000 (14:11 +0000)]
lantiq: update kernel configuration

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

5 years agopackages: ifenslave: add kernel dependencies as source was removed from 3.12
Zoltan Herpai [Wed, 15 Jan 2014 09:28:41 +0000 (09:28 +0000)]
packages: ifenslave: add kernel dependencies as source was removed from 3.12

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39295

5 years agobrcm63xx: fix BCM96318MVWG LEDs
Florian Fainelli [Wed, 15 Jan 2014 00:06:08 +0000 (00:06 +0000)]
brcm63xx: fix BCM96318MVWG LEDs

Power LED is not active low, and ppp-fail is red, not green.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39294

5 years agobrcm63xx: remove config-3.11
Florian Fainelli [Wed, 15 Jan 2014 00:05:51 +0000 (00:05 +0000)]
brcm63xx: remove config-3.11

This was not supposed to be committed, remove it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39293

5 years agobrcm63xx: 96368MVWG supports USB gadget, enable it
Florian Fainelli [Tue, 14 Jan 2014 23:56:46 +0000 (23:56 +0000)]
brcm63xx: 96368MVWG supports USB gadget, enable it

Enable the use of the USB gadget device at the board level so we can use
bcm63xx_udc on this board.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39292

5 years agobrcm63xx: replace gadget driver build fix with upstream submission
Florian Fainelli [Tue, 14 Jan 2014 23:56:28 +0000 (23:56 +0000)]
brcm63xx: replace gadget driver build fix with upstream submission

Also fixing a build warning due to a misplaced parenthesis in the
previous submission.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39291

5 years agogpio-button-hotplug: add wwan button
Hauke Mehrtens [Tue, 14 Jan 2014 23:11:10 +0000 (23:11 +0000)]
gpio-button-hotplug: add wwan button

The wimax key will be used as a generic wwan key starting with Linux
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time
now.

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

5 years agopackages: kernel: reverse kernel dependencies logic
Hauke Mehrtens [Tue, 14 Jan 2014 22:51:30 +0000 (22:51 +0000)]
packages: kernel: reverse kernel dependencies logic

This will select the correct dependencies also for more recent kernel versions.

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

5 years agohostapd: fix mcast_rate setting
John Crispin [Tue, 14 Jan 2014 19:35:55 +0000 (19:35 +0000)]
hostapd: fix mcast_rate setting

Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
SVN-Revision: 39288

5 years agoipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version
Zoltan Herpai [Tue, 14 Jan 2014 14:09:35 +0000 (14:09 +0000)]
ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39287

5 years agobrcm63xx: add support for the BCM96318REF_P300 board
Florian Fainelli [Tue, 14 Jan 2014 05:24:19 +0000 (05:24 +0000)]
brcm63xx: add support for the BCM96318REF_P300 board

Very similar to the BCM96318REF board except for the name and the
SDRAM/DDR configuration which is totally transparent for us.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39286

5 years agobusybox: enable the devmem applet
Florian Fainelli [Tue, 14 Jan 2014 05:24:09 +0000 (05:24 +0000)]
busybox: enable the devmem applet

The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39285

5 years agobrcm63xx: enable 6318 support
Florian Fainelli [Tue, 14 Jan 2014 05:23:58 +0000 (05:23 +0000)]
brcm63xx: enable 6318 support

BCM6318 support is usable enough to be enabled by default, turn it on.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39284

5 years agobrcm63xx: add basic support for the BCM96318REF board
Florian Fainelli [Tue, 14 Jan 2014 05:23:49 +0000 (05:23 +0000)]
brcm63xx: add basic support for the BCM96318REF board

Add basic support for the BCM96318REF board which is comprised of:
- HS-SPI flash support
- Ethernet switch support
- USB slave device support

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39283

5 years agobrcm63xx: improve BCM6318 support
Florian Fainelli [Tue, 14 Jan 2014 05:23:39 +0000 (05:23 +0000)]
brcm63xx: improve BCM6318 support

Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39282

5 years agobrcm63xx: package the USB gadget module (bcm63xx_udc)
Florian Fainelli [Tue, 14 Jan 2014 05:23:20 +0000 (05:23 +0000)]
brcm63xx: package the USB gadget module (bcm63xx_udc)

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39281

5 years agobrcm63xx: target supports USB gadget devices
Florian Fainelli [Tue, 14 Jan 2014 05:23:08 +0000 (05:23 +0000)]
brcm63xx: target supports USB gadget devices

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39280

5 years agobrcm63xx: fix USB gadget build failure after 6345 Ethernet
Florian Fainelli [Tue, 14 Jan 2014 05:22:59 +0000 (05:22 +0000)]
brcm63xx: fix USB gadget build failure after 6345 Ethernet

While adding support for BCM6345 Ethernet, some changes in the macros
ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget
driver fail to build. Fix this.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39279

5 years agobrcm63xx: allow HSSPI registration on 6318
Florian Fainelli [Tue, 14 Jan 2014 05:22:45 +0000 (05:22 +0000)]
brcm63xx: allow HSSPI registration on 6318

A missing condition check in dev-hsspi.c prevented the controller from
being registered on 6318 where it is fully functional.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39278

5 years agobrcm63xx: fix build failure on varid
Florian Fainelli [Tue, 14 Jan 2014 05:22:31 +0000 (05:22 +0000)]
brcm63xx: fix build failure on varid

varid might both unused and unitialized when building for e.g: bcm6318,
fix these two warnings turned into errors.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39277

5 years agosunxi: fix image generation
Zoltan Herpai [Mon, 13 Jan 2014 16:18:02 +0000 (16:18 +0000)]
sunxi: fix image generation

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39276

5 years agofix 3.12 dependencies
Zoltan Herpai [Mon, 13 Jan 2014 15:47:15 +0000 (15:47 +0000)]
fix 3.12 dependencies

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39275

5 years agobrcm63xx: fix ohci frame number offset
Jonas Gorski [Mon, 13 Jan 2014 12:21:08 +0000 (12:21 +0000)]
brcm63xx: fix ohci frame number offset

BCM63XX's ohci controller does not need the frame number shift, but that
was guarded with a PPC symbol. Fix this by making the no-fix generally
available.

This is a regression from the previous conversion to ohci platform driver.

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

5 years agobrcm63xx: fix spi flash setup on (at least) some reference boards
Jonas Gorski [Mon, 13 Jan 2014 12:14:12 +0000 (12:14 +0000)]
brcm63xx: fix spi flash setup on (at least) some reference boards

CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.

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

5 years agobrcm63xx: add initial support for BCM6318
Jonas Gorski [Mon, 13 Jan 2014 12:14:02 +0000 (12:14 +0000)]
brcm63xx: add initial support for BCM6318

Add inital support for BCM6318, but keep it disabled for now until
most things are supported.

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

5 years agobrcm63xx: add initial support for BCM63268
Jonas Gorski [Mon, 13 Jan 2014 12:13:51 +0000 (12:13 +0000)]
brcm63xx: add initial support for BCM63268

Add initial support for the BCM63268 family of SoCs, but keep it
disabled for now as most things don't work yet.

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