openwrt.git
8 years agoinclude: cmake: pass toolchain directory to default root find path as well
jow [Wed, 7 Aug 2013 13:54:51 +0000 (13:54 +0000)]
include: cmake: pass toolchain directory to default root find path as well

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

8 years agohostapd: Settings for DAE/CoA server
nbd [Tue, 6 Aug 2013 18:55:30 +0000 (18:55 +0000)]
hostapd: Settings for DAE/CoA server

hostapd supports "Dynamic Authorization Extensions", making it possible
to forcibly disconnect a user by sending it a RADIUS "Disconnect-Request"
packet.

I've added three new variables to enable setting of the
"radius_das_client" and "radius_das_port" variables in the hostapd
configuration, which enable these extensions.

* dae_client - IP of the client that can send disconnect requests
* dae_secret - shared secret for DAE packets

These are combined into the "radius_das_client" option in hostapd.conf
To enable the server, both dae_client and dae_secret must be set.

* dae_port - optional, default value is 3799 as specified in RFC 5176

Signed-off-by: Martijn van de Streek <martijn@vandestreek.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37734 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Fix WDS/WEP usage
nbd [Tue, 6 Aug 2013 17:59:12 +0000 (17:59 +0000)]
hostapd: Fix WDS/WEP usage

WEP in WDS is currently broken in hostapd. Add a patch
to fix the issue.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37733 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Handle concurrent AP/STA beaconing properly
nbd [Tue, 6 Aug 2013 17:59:09 +0000 (17:59 +0000)]
mac80211: Handle concurrent AP/STA beaconing properly

Use the "start_disabled" option in hostapd that was added
in the earlier patch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37732 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Refresh patches
nbd [Tue, 6 Aug 2013 17:59:05 +0000 (17:59 +0000)]
hostapd: Refresh patches

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37731 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Add an option to disable beaconing
nbd [Tue, 6 Aug 2013 17:59:02 +0000 (17:59 +0000)]
hostapd: Add an option to disable beaconing

Add a patch for hostapd that introduces a config option
"start_disabled" which can be used to bring up an AP
interface with beaconing disabled. This is useful in
a Repeater-AP setup where the Repeater AP has to start
beaconing only after the WDS link has been established.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37730 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix TD-W8970 image generation to work with the new tool
blogic [Tue, 6 Aug 2013 16:25:45 +0000 (16:25 +0000)]
lantiq: fix TD-W8970 image generation to work with the new tool

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

8 years agofirmware-utils: add a tool TP-Link v2 image generation
blogic [Tue, 6 Aug 2013 16:25:35 +0000 (16:25 +0000)]
firmware-utils: add a tool TP-Link v2 image generation

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

8 years agofirmware-utils: remove v2 support
blogic [Tue, 6 Aug 2013 16:25:24 +0000 (16:25 +0000)]
firmware-utils: remove v2 support

we will use gabors patch instead

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

8 years agofirmware-utils: fix segfault introduced by v2 changes
blogic [Tue, 6 Aug 2013 14:32:50 +0000 (14:32 +0000)]
firmware-utils: fix segfault introduced by v2 changes

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37724 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: remove duplicate dir505 entry from board detection code
blogic [Tue, 6 Aug 2013 14:12:02 +0000 (14:12 +0000)]
ar71xx: remove duplicate dir505 entry from board detection code

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

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

8 years agolantiq: add support for tplink images to .../image/Makefile
blogic [Tue, 6 Aug 2013 12:31:25 +0000 (12:31 +0000)]
lantiq: add support for tplink images to .../image/Makefile

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

8 years agolantiq: make the split patch recognize the tplink header
blogic [Tue, 6 Aug 2013 12:31:20 +0000 (12:31 +0000)]
lantiq: make the split patch recognize the tplink header

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

8 years agolantiq: fix TDW8970.dts commandline and partition name
blogic [Tue, 6 Aug 2013 12:31:16 +0000 (12:31 +0000)]
lantiq: fix TDW8970.dts commandline and partition name

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

8 years agolantiq: add tplink header id to sysupgrade and fix a comment
blogic [Tue, 6 Aug 2013 12:31:10 +0000 (12:31 +0000)]
lantiq: add tplink header id to sysupgrade and fix a comment

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

8 years agofirmware-utils: add support for TDW8970 to mktplinkfw
blogic [Tue, 6 Aug 2013 12:31:06 +0000 (12:31 +0000)]
firmware-utils: add support for TDW8970 to mktplinkfw

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

8 years agofirmware-utils: add v2 header support to firmware-utils
blogic [Tue, 6 Aug 2013 12:30:52 +0000 (12:30 +0000)]
firmware-utils: add v2 header support to firmware-utils

only image build works. inspect and md5 checksum support are not implemented yet

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

8 years agoath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream...
nbd [Tue, 6 Aug 2013 10:31:10 +0000 (10:31 +0000)]
ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37716 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: refresh a patch that was using the wrong patch style
nbd [Tue, 6 Aug 2013 10:31:06 +0000 (10:31 +0000)]
mac80211: refresh a patch that was using the wrong patch style

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37715 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
nbd [Tue, 6 Aug 2013 10:31:02 +0000 (10:31 +0000)]
mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37714 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: add some more fixes for the tx queueing rework
nbd [Tue, 6 Aug 2013 10:30:58 +0000 (10:30 +0000)]
ath9k: add some more fixes for the tx queueing rework

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37713 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: add (incomplete) support for Aztech GR7000
luka [Tue, 6 Aug 2013 10:17:16 +0000 (10:17 +0000)]
lantiq: add (incomplete) support for Aztech GR7000

*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

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

8 years agomac80211: rtlwifi depends on PCI or USB support in the Kconfig file
hauke [Mon, 5 Aug 2013 21:57:48 +0000 (21:57 +0000)]
mac80211: rtlwifi depends on PCI or USB support in the Kconfig file

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

8 years agokernel: add some missing config symbols
florian [Mon, 5 Aug 2013 20:58:05 +0000 (20:58 +0000)]
kernel: add some missing config symbols

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

8 years agokernel: fix DMA error when BCM4331 is connected to BCM4706
hauke [Mon, 5 Aug 2013 16:17:05 +0000 (16:17 +0000)]
kernel: fix DMA error when BCM4331 is connected to BCM4706

The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

8 years agoramips: re-implement PCI mux
juhosg [Mon, 5 Aug 2013 12:49:19 +0000 (12:49 +0000)]
ramips: re-implement PCI mux

Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

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

8 years agoramips: allow to build Seama firmware images with arbitrary size
juhosg [Mon, 5 Aug 2013 12:35:22 +0000 (12:35 +0000)]
ramips: allow to build Seama firmware images with arbitrary size

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

8 years agoar71xx: add usb modules to dir 505 profile
blogic [Mon, 5 Aug 2013 11:08:30 +0000 (11:08 +0000)]
ar71xx: add usb modules to dir 505 profile

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

8 years agoocteon: add a few missing symbols to the kernel config file
blogic [Mon, 5 Aug 2013 10:42:09 +0000 (10:42 +0000)]
octeon: add a few missing symbols to the kernel config file

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

8 years agolantiq: several a803 related fixes
blogic [Mon, 5 Aug 2013 10:42:00 +0000 (10:42 +0000)]
lantiq: several a803 related fixes

based on work from Matti Laasko that he posted in the wiki

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

8 years agoar71xx: add support for dir 505 a1
blogic [Mon, 5 Aug 2013 10:41:48 +0000 (10:41 +0000)]
ar71xx: add support for dir 505 a1

this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

8 years agogpio-button-hotplug: debounce the initial button state, the first reads at boot time...
nbd [Mon, 5 Aug 2013 10:32:13 +0000 (10:32 +0000)]
gpio-button-hotplug: debounce the initial button state, the first reads at boot time might be wrong

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37702 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: fix typo
nbd [Mon, 5 Aug 2013 10:08:04 +0000 (10:08 +0000)]
ubus: fix typo

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37701 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: change section/category to base, libs
nbd [Mon, 5 Aug 2013 10:07:33 +0000 (10:07 +0000)]
ubus: change section/category to base, libs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37700 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix rt2x00 dependency
juhosg [Mon, 5 Aug 2013 09:24:19 +0000 (09:24 +0000)]
mac80211: fix rt2x00 dependency

The current dependency prevents building of the
rt2800{pci,usb} drivers for RT3883. Change the
dependency to fix this.

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

8 years agomac80211: rt2x00: fix LED polarity patch
juhosg [Mon, 5 Aug 2013 09:09:41 +0000 (09:09 +0000)]
mac80211: rt2x00: fix LED polarity patch

The patch causes compiler warning ...

  <...>/drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_init_eeprom':
  <...>/drivers/net/wireless/rt2x00/rt2800lib.c:5971:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

... and runtime errors on PCI/USB devices:

  [   11.810000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
  [   11.830000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
  [   11.880000] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x01ff0001
  [   12.080000] usb 1-1: reset high-speed USB device number 2 using ehci-platform
  [   12.250000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detecte
  [   12.300000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 000f detected
  [   12.350000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x1a93b47
  [   12.430000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47
  [   12.480000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47

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

8 years agomac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
juhosg [Mon, 5 Aug 2013 09:09:40 +0000 (09:09 +0000)]
mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb

Closes #13951.

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

8 years agoar71xx: fix tl-wa901nd buttons code
juhosg [Mon, 5 Aug 2013 09:09:39 +0000 (09:09 +0000)]
ar71xx: fix tl-wa901nd buttons code

This patch fixes the code of the buttons for TP-Link WA901ND.

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

8 years agoar71xx: ubnt unifi outdoor register gpio button
juhosg [Mon, 5 Aug 2013 09:09:37 +0000 (09:09 +0000)]
ar71xx: ubnt unifi outdoor register gpio button

This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

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

8 years agox86: change /dev/console to tty to fix job control
blogic [Sun, 4 Aug 2013 17:05:33 +0000 (17:05 +0000)]
x86: change /dev/console to tty to fix job control

Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37693 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add rtlwifi drivers
jogo [Sun, 4 Aug 2013 15:32:36 +0000 (15:32 +0000)]
mac80211: add rtlwifi drivers

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
   usb dependencies, backport upstream fixes for Kconfig
   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37687 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: sync usb chipidea with upstream
luka [Sun, 4 Aug 2013 14:20:15 +0000 (14:20 +0000)]
imx6: sync usb chipidea with upstream

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

8 years agogeneric: make the module reloc pacth work on mips64
blogic [Sun, 4 Aug 2013 13:54:42 +0000 (13:54 +0000)]
generic: make the module reloc pacth work on mips64

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

8 years agoocteon: add support for the octeon mips64 SoC
blogic [Sun, 4 Aug 2013 13:54:32 +0000 (13:54 +0000)]
octeon: add support for the octeon mips64 SoC

This is the SoC used be the ESR Lite made by ubnt.com

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

8 years agoimx6: remove sdma binary
luka [Sun, 4 Aug 2013 13:28:26 +0000 (13:28 +0000)]
imx6: remove sdma binary

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

8 years agobusybox: rename ntp init script back to sysntpd (#13920)
jow [Sun, 4 Aug 2013 12:40:24 +0000 (12:40 +0000)]
busybox: rename ntp init script back to sysntpd (#13920)

Renaming the init script to ntp broke LuCI time sync functionality and collides with other ntp packages

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

8 years agobrcm47xx: change board detection for some Asus devices
hauke [Sun, 4 Aug 2013 12:36:13 +0000 (12:36 +0000)]
brcm47xx: change board detection for some Asus devices

This closes #13316

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

8 years agobuild: process transitive dependencies after local dependencies
nbd [Sun, 4 Aug 2013 12:17:26 +0000 (12:17 +0000)]
build: process transitive dependencies after local dependencies

This improves duplicate dependency detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37679 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: suppress conditional dependencies if there are unconditional dependencies...
nbd [Sun, 4 Aug 2013 12:17:22 +0000 (12:17 +0000)]
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: kmod-appletalk: fix dependencies
hauke [Sun, 4 Aug 2013 09:51:07 +0000 (09:51 +0000)]
kernel: kmod-appletalk: fix dependencies

When CONFIG_LLC gets build as a module, also p8022.ko and psnap.ko are
getting build as a module. kmod-appletalk depends on llc.ko and
psnap.ko, but at least psnap.ko,was not packed. On most systems
CONFIG_LLC will be build into the kernel so this problem does not show
up.

This fixes the missing dependency of kmod-appletalk on psnap.ko

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

8 years agokernel: do not build FW_LOADER as a module.
hauke [Sun, 4 Aug 2013 09:41:10 +0000 (09:41 +0000)]
kernel: do not build FW_LOADER as a module.

CONFIG_FW_LOADER=y is set in the generic config and our packages in
packages/kernel/linux are depending on it to be compiled into the
kernel.
This fixes some dependency problem where kmod-r8169 misses
firmware_class.ko.

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

8 years agoubus: update to latest version
nbd [Sun, 4 Aug 2013 08:55:28 +0000 (08:55 +0000)]
ubus: update to latest version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37671 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: show error message in case something goes wrong with gpio irq
hauke [Sat, 3 Aug 2013 17:12:07 +0000 (17:12 +0000)]
broadcom-diag: show error message in case something goes wrong with gpio irq

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

8 years agobroadcom-diag: add gpio config for Asus RT-N66U
hauke [Sat, 3 Aug 2013 17:10:37 +0000 (17:10 +0000)]
broadcom-diag: add gpio config for Asus RT-N66U

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

8 years agobroadcom-diag: add gpio config for Linksys E4200v1
hauke [Sat, 3 Aug 2013 17:09:39 +0000 (17:09 +0000)]
broadcom-diag: add gpio config for Linksys E4200v1

GPIO for Linksys E4200v1, tested and works. This closes #13454 and #13894

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37666 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: cleanup, fix compiler warning
nbd [Sat, 3 Aug 2013 11:56:27 +0000 (11:56 +0000)]
gpio-button-hotplug: cleanup, fix compiler warning

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37665 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: fix active_low handling, possibly broken in r37643
nbd [Sat, 3 Aug 2013 11:49:50 +0000 (11:49 +0000)]
gpio-button-hotplug: fix active_low handling, possibly broken in r37643

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37664 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx23: add missing DTS config for lradc
wigyori [Sat, 3 Aug 2013 10:37:25 +0000 (10:37 +0000)]
imx23: add missing DTS config for lradc

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

8 years agoimx23: add hw crypto (dcp) support
wigyori [Sat, 3 Aug 2013 10:35:18 +0000 (10:35 +0000)]
imx23: add hw crypto (dcp) support

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

8 years agokernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
hauke [Sat, 3 Aug 2013 10:10:16 +0000 (10:10 +0000)]
kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set

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

8 years agokernel: add missing config options
hauke [Fri, 2 Aug 2013 20:13:54 +0000 (20:13 +0000)]
kernel: add missing config options

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

8 years agokernel: add missing module to video-core for kernel < 3.6
hauke [Fri, 2 Aug 2013 20:08:20 +0000 (20:08 +0000)]
kernel: add missing module to video-core for kernel < 3.6

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

8 years agokernel: fix usb-chipidea compilation with kernel <= 3.9
hauke [Fri, 2 Aug 2013 20:07:11 +0000 (20:07 +0000)]
kernel: fix usb-chipidea compilation with kernel <= 3.9

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

8 years agokernel: add missing config option
hauke [Fri, 2 Aug 2013 16:51:47 +0000 (16:51 +0000)]
kernel: add missing config option

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

8 years agokernel: add missing config option
hauke [Fri, 2 Aug 2013 16:16:23 +0000 (16:16 +0000)]
kernel: add missing config option

brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

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

8 years agobroadcom-diag: add support for the ASUS RT-N12
hauke [Fri, 2 Aug 2013 15:44:04 +0000 (15:44 +0000)]
broadcom-diag: add support for the ASUS RT-N12

This adds button and led info, which I determined
by manually poking the gpio values.

Signed-off-by: Josh Stone <cuviper@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37655 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: increase version number
hauke [Fri, 2 Aug 2013 15:06:14 +0000 (15:06 +0000)]
broadcom-diag: increase version number

There are some changes in there and this should be rebuild.

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

8 years agomac80211: backport a few upstream fixes
nbd [Fri, 2 Aug 2013 10:02:35 +0000 (10:02 +0000)]
mac80211: backport a few upstream fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37653 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: ocf: add missing kernel dependencies
jogo [Thu, 1 Aug 2013 23:04:42 +0000 (23:04 +0000)]
kernel: ocf: add missing kernel dependencies

OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: load libphy before tg3
hauke [Thu, 1 Aug 2013 22:19:19 +0000 (22:19 +0000)]
kernel: load libphy before tg3

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

8 years agobrcm47xx: switch to kernel 3.10.4
hauke [Thu, 1 Aug 2013 21:01:59 +0000 (21:01 +0000)]
brcm47xx: switch to kernel 3.10.4

This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

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

8 years agobrcm47xx: use lib phy when tg3 is in use
hauke [Thu, 1 Aug 2013 20:47:55 +0000 (20:47 +0000)]
brcm47xx: use lib phy when tg3 is in use

This is untested, but probably needed to make it work with the phy lib switch driver.

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

8 years agokernel: b53: use devm_gpio_request_one() to request gpio
hauke [Thu, 1 Aug 2013 20:46:56 +0000 (20:46 +0000)]
kernel: b53: use devm_gpio_request_one() to request gpio

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

8 years agobrcm47xx: improve detection of Linksys WRTSL54GS
hauke [Thu, 1 Aug 2013 19:33:59 +0000 (19:33 +0000)]
brcm47xx: improve detection of Linksys WRTSL54GS

This closes #13319

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

8 years agobrcm47xx: remove support for kernel 3.9
hauke [Thu, 1 Aug 2013 19:17:51 +0000 (19:17 +0000)]
brcm47xx: remove support for kernel 3.9

This is not needed any more.

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

8 years agokernel: b53: add support for GPIO reset
hauke [Thu, 1 Aug 2013 19:05:34 +0000 (19:05 +0000)]
kernel: b53: add support for GPIO reset

This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

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

8 years agobrcm47xx: add function to get a gpio pin by name
hauke [Thu, 1 Aug 2013 19:04:12 +0000 (19:04 +0000)]
brcm47xx: add function to get a gpio pin by name

bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

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

8 years agogpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
blogic [Thu, 1 Aug 2013 14:31:28 +0000 (14:31 +0000)]
gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.

TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37643 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: use gpio_button_get_value() to fetch state.
blogic [Thu, 1 Aug 2013 14:31:24 +0000 (14:31 +0000)]
gpio-button-hotplug: use gpio_button_get_value() to fetch state.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37642 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogpio-button-hotplug: add inline function gpio_button_get_value().
blogic [Thu, 1 Aug 2013 14:31:20 +0000 (14:31 +0000)]
gpio-button-hotplug: add inline function gpio_button_get_value().

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37641 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray IP2202 support
blogic [Thu, 1 Aug 2013 14:31:15 +0000 (14:31 +0000)]
ramips: add Poray IP2202 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37640 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray X8 support
blogic [Thu, 1 Aug 2013 14:31:09 +0000 (14:31 +0000)]
ramips: add Poray X8 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37639 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray X5/X6 Support
blogic [Thu, 1 Aug 2013 14:31:04 +0000 (14:31 +0000)]
ramips: add Poray X5/X6 Support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37638 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray M4 4M/8M support
blogic [Thu, 1 Aug 2013 14:30:58 +0000 (14:30 +0000)]
ramips: add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37637 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add Poray M3 support
blogic [Thu, 1 Aug 2013 14:30:53 +0000 (14:30 +0000)]
ramips: add Poray M3 support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37636 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add basics for Poray devices
blogic [Thu, 1 Aug 2013 14:30:46 +0000 (14:30 +0000)]
ramips: add basics for Poray devices

This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37635 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix VG3503J ethernet/gphy led support
blogic [Thu, 1 Aug 2013 14:30:40 +0000 (14:30 +0000)]
lantiq: fix VG3503J ethernet/gphy led support

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

8 years agoralink: add mt7620a_mt7610e profile
blogic [Thu, 1 Aug 2013 14:30:33 +0000 (14:30 +0000)]
ralink: add mt7620a_mt7610e profile

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

8 years agoimx23: add lradc support
wigyori [Thu, 1 Aug 2013 09:36:37 +0000 (09:36 +0000)]
imx23: add lradc support

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

8 years agokernel: add missing iio config symbols for 3.10
wigyori [Thu, 1 Aug 2013 06:58:08 +0000 (06:58 +0000)]
kernel: add missing iio config symbols for 3.10

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

8 years agolibubox: update to the latest version, fixes a fd deletion race condition in uloop
nbd [Wed, 31 Jul 2013 22:07:13 +0000 (22:07 +0000)]
libubox: update to the latest version, fixes a fd deletion race condition in uloop

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37629 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
nbd [Wed, 31 Jul 2013 22:07:09 +0000 (22:07 +0000)]
uhttpd: update to the latest version, fixes a crash on early cgi/lua process termination

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37628 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: implement -l (--list-backup) sysupgrade parameter to list the files that...
jow [Wed, 31 Jul 2013 18:11:55 +0000 (18:11 +0000)]
base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up

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

8 years agobroadcom-wl: fix compile error with kernel 3.10
hauke [Wed, 31 Jul 2013 17:42:55 +0000 (17:42 +0000)]
broadcom-wl: fix compile error with kernel 3.10

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

8 years agobrcm47xx: run mtd fixtrx linux every time
hauke [Wed, 31 Jul 2013 17:41:52 +0000 (17:41 +0000)]
brcm47xx: run mtd fixtrx linux every time

With this patch it is possible to boot a device with kernel 3.10 a second time.

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

8 years agobase-files: abort sysupgrade if file specified with --restore-config is not found
jow [Wed, 31 Jul 2013 14:10:34 +0000 (14:10 +0000)]
base-files: abort sysupgrade if file specified with --restore-config is not found

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

8 years agoubox: update to git head
jow [Wed, 31 Jul 2013 10:44:50 +0000 (10:44 +0000)]
ubox: update to git head

- fixes extroot tag file corruption with long uuids

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

8 years agoimx23: add SoC sound support
wigyori [Wed, 31 Jul 2013 09:52:46 +0000 (09:52 +0000)]
imx23: add SoC sound support

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

8 years agogcc: merge a bugfix for a MIPS specific internal compiler error
nbd [Wed, 31 Jul 2013 08:54:56 +0000 (08:54 +0000)]
gcc: merge a bugfix for a MIPS specific internal compiler error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: implement -T (--test) sysupgrade parameter to verify image without actual...
jow [Tue, 30 Jul 2013 16:42:05 +0000 (16:42 +0000)]
base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it

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