openwrt.git
10 years agob53: use drvdata to store driver data
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39354 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agoprocd: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39352 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years ago[3.13]: update ocf patches
wigyori [Mon, 20 Jan 2014 15:23:27 +0000 (15:23 +0000)]
[3.13]: update ocf patches
 - as ENT_DEBUG is removed, move the messages into pr_notice

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39350 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: update/fixup overlayfs patch
kaloz [Mon, 20 Jan 2014 14:46:29 +0000 (14:46 +0000)]
[3.13]: update/fixup overlayfs patch

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

10 years ago[generic]: add initial 3.13 support
kaloz [Mon, 20 Jan 2014 13:56:24 +0000 (13:56 +0000)]
[generic]: add initial 3.13 support

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

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

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

10 years agoar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39346 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39345 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: set default LED config for the RB2011* boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39344 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: set status_led for the RB2011* boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39343 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix indentation in diag.sh
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39342 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: rb2011: define LEDs connected to the AR8327 switch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39341 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agokernel/3.1[02]: add AR8216_PHY_LEDS option
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39339 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: add custom LED support for the AR8327 switch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39338 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: allow to use chip specific cleanup callback
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39337 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: add optimized rmw operation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39336 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: rb2011: fix eth5 LED
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39335 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39333 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirewall: don't reload if there were no address or data changes
cyrus [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.

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

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39331 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39330 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: backport various fixes from linux-mti
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39329 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoscripts/kconfig.pl: Indicate which file we couldn't open
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39327 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix typo breaking build in r39325
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39326 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: set usb host port number for some devices
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39325 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: allow setting the number of usb host ports for boards
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39324 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

10 years agobrcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39322 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: prevent usb clock state inconsistency on BCM6318
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39321 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)
kaloz [Sat, 18 Jan 2014 19:44:40 +0000 (19:44 +0000)]
[ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)

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

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

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

10 years agosysupgrade: do not kill any processes in failsafe
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39318 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agousbmode: update usb-modeswitch-data version to 20131113
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39317 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: update to latest git
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39316 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 years agokexec: bump to latest head revision
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39305 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: do not add twice the same field to board
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39304 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: Add support for Astoria ARV7510PW22
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39303 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: add USB support to BCM6318
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39302 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomvebu: fix build failures when initramfs is not selected
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39301 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirewall: improve logging in hotplug script
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39300 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Add profile for the Edimax BR-6475nD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39299 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Add userspace support for the Edimax BR-6475nD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: rt3883: Fix a typo in rt3883.dtsi
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39297 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39296 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackages: ifenslave: add kernel dependencies as source was removed from 3.12
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39295 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix BCM96318MVWG LEDs
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: remove config-3.11
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39293 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: 96368MVWG supports USB gadget, enable it
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: replace gadget driver build fix with upstream submission
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39291 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogpio-button-hotplug: add wwan button
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39290 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackages: kernel: reverse kernel dependencies logic
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39289 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: fix mcast_rate setting
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel...
wigyori [Tue, 14 Jan 2014 14:09:35 +0000 (14:09 +0000)]
[modules] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: add support for the BCM96318REF_P300 board
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39286 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobusybox: enable the devmem applet
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39285 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: enable 6318 support
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: add basic support for the BCM96318REF board
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: improve BCM6318 support
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: package the USB gadget module (bcm63xx_udc)
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: target supports USB gadget devices
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix USB gadget build failure after 6345 Ethernet
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39279 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: allow HSSPI registration on 6318
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39278 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix build failure on varid
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39277 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39276 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[modules]: fix 3.12 dependencies
wigyori [Mon, 13 Jan 2014 15:47:15 +0000 (15:47 +0000)]
[modules]: fix 3.12 dependencies

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39275 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix ohci frame number offset
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39274 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix spi flash setup on (at least) some reference boards
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39273 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agobrcm63xx: fix the pcie window size
jogo [Mon, 13 Jan 2014 12:13:39 +0000 (12:13 +0000)]
brcm63xx: fix the pcie window size

The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big,
not 16 MiB.

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

10 years agobrcm63xx: add support for chip variants
jogo [Mon, 13 Jan 2014 12:13:26 +0000 (12:13 +0000)]
brcm63xx: add support for chip variants

Some SoCs have variants which are mostly the same, but use a different
chip id (or not). Add code for detecting them and handling them as
their standard counterparts.

This adds support for e.g. BCM6369.

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

10 years agobrcm63xx: remove non runtime detect and refresh affinity patches
jogo [Mon, 13 Jan 2014 12:13:15 +0000 (12:13 +0000)]
brcm63xx: remove non runtime detect and refresh affinity patches

Remove the non runtime detect code since its effectiveness is dubious
and almost never used.
Also update affinity patches to work on top of it.

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

10 years agobrcm63xx: update bmips patches with upstream submission
jogo [Mon, 13 Jan 2014 12:13:05 +0000 (12:13 +0000)]
brcm63xx: update bmips patches with upstream submission

Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.

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

10 years agobrcm63xx: spi flash on legacy spi controller needs the workaround
jogo [Mon, 13 Jan 2014 12:12:50 +0000 (12:12 +0000)]
brcm63xx: spi flash on legacy spi controller needs the workaround

Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs
additional fixes for M25P80, so it remains broken for now.

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

10 years agobrcm63xx: fix legacy spi tranfers >= 256 bytes
jogo [Mon, 13 Jan 2014 12:11:58 +0000 (12:11 +0000)]
brcm63xx: fix legacy spi tranfers >= 256 bytes

Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes
are not affected.

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

10 years agobrcm63xx: update HSSPI driver with upstream submission
jogo [Mon, 13 Jan 2014 12:11:45 +0000 (12:11 +0000)]
brcm63xx: update HSSPI driver with upstream submission

Update the HSSPI driver with the upstream submitted one that has a
workaround for the auto cs down issue.

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

10 years agosunxi: various changes
wigyori [Sun, 12 Jan 2014 19:23:29 +0000 (19:23 +0000)]
sunxi: various changes
 - rename hstimer DT on sun5i to avoid confusion
 - add Cubietruck support
 - select watchdog by default
 - select rtc in profiles where appropriate
 - cosmetic changes

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39263 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86: remove unused code for kernel 3.7
hauke [Sun, 12 Jan 2014 19:17:49 +0000 (19:17 +0000)]
x86: remove unused code for kernel 3.7

There are no generic patches for kernel 3.7 any more, remove this stuff.

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

10 years ago[packages] uboot-sunxi: - add support for Cubietruck
wigyori [Sun, 12 Jan 2014 19:16:35 +0000 (19:16 +0000)]
[packages] uboot-sunxi: - add support for Cubietruck
 - cosmetic change: have the options listed alphabetically

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39261 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoremove empty directories
hauke [Sun, 12 Jan 2014 19:15:42 +0000 (19:15 +0000)]
remove empty directories

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

10 years agotargets: remove empty directories
hauke [Sun, 12 Jan 2014 19:13:30 +0000 (19:13 +0000)]
targets: remove empty directories

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

10 years agobrcm47xx: add brcmsmac + bgmac profile
hauke [Sun, 12 Jan 2014 19:04:54 +0000 (19:04 +0000)]
brcm47xx: add brcmsmac + bgmac profile

Signed-off-by: Cody P Schafer <devel@codyps.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39258 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-diag: remove devices already supported by the kernel
hauke [Sun, 12 Jan 2014 18:57:16 +0000 (18:57 +0000)]
broadcom-diag: remove devices already supported by the kernel

This driver will soon be removed completely and the scripts are already
using the new API.

This also removes bcm57xx_init() which restarts the switch and is now
done by b53.

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

10 years agobrcm47xx: parse model from cpuinfo
hauke [Sun, 12 Jan 2014 18:56:57 +0000 (18:56 +0000)]
brcm47xx: parse model from cpuinfo

Instead of looking into the proc entry provided by broadcom-diag use
the board info from /proc/cpuinfo to get the board we are on.

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

10 years agobrcm47xx: fix led indication
hauke [Sun, 12 Jan 2014 18:56:36 +0000 (18:56 +0000)]
brcm47xx: fix led indication

Use the new led api also on brcm47xx.
The led for failsafe indication is searched for.

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

10 years agobrcm47xx: fix network failsafe indication
hauke [Sun, 12 Jan 2014 18:56:15 +0000 (18:56 +0000)]
brcm47xx: fix network failsafe indication

Remove the code used on the old switch driver.
The Ethernet drive is loaded as a module and needs some time to get up
therefor we added some wait function.

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