openwrt/staging/981213.git
13 years agosquashfs4: add missing include for freebsd (patch from #9842)
Felix Fietkau [Sun, 31 Jul 2011 17:59:25 +0000 (17:59 +0000)]
squashfs4: add missing include for freebsd (patch from #9842)

SVN-Revision: 27850

13 years agopackage/kernel: move kmod-fs-mbcache into fs-ext4
Jonas Gorski [Sun, 31 Jul 2011 17:58:46 +0000 (17:58 +0000)]
package/kernel: move kmod-fs-mbcache into fs-ext4

mbcache is only needed if xattr support is enabled, but this is only true
for ext4 on 2.6.37+, so just bundle it with ext4 when needed.

SVN-Revision: 27849

13 years agodropbear: - split port argument at the rightmost colon, allows binding to specific...
Jo-Philipp Wich [Sun, 31 Jul 2011 12:05:54 +0000 (12:05 +0000)]
dropbear: - split port argument at the rightmost colon, allows binding to specific IPv6 addresses - don't use uci ipaddr var but resolve ifname and get addresses from it (#9853)

SVN-Revision: 27843

13 years agokernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
Felix Fietkau [Sat, 30 Jul 2011 15:39:52 +0000 (15:39 +0000)]
kernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0

SVN-Revision: 27840

13 years agoqos-scripts: disable by default
Felix Fietkau [Fri, 29 Jul 2011 16:32:55 +0000 (16:32 +0000)]
qos-scripts: disable by default

SVN-Revision: 27832

13 years agohostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
Felix Fietkau [Fri, 29 Jul 2011 14:14:32 +0000 (14:14 +0000)]
hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)

SVN-Revision: 27830

13 years agoath9k: fix switching channel bandwidth from 5/10 back to 20mhz
Felix Fietkau [Fri, 29 Jul 2011 12:25:46 +0000 (12:25 +0000)]
ath9k: fix switching channel bandwidth from 5/10 back to 20mhz

SVN-Revision: 27827

13 years agoupgrade to 3.0 (magicbox ata and openrb usb is broken, but the current kernel didn...
Imre Kaloz [Fri, 29 Jul 2011 10:16:48 +0000 (10:16 +0000)]
upgrade to 3.0 (magicbox ata and openrb usb is broken, but the current kernel didn't compile at all, so...)

SVN-Revision: 27826

13 years agohostapd: fix wds interface address handling for multi-bssid
Felix Fietkau [Fri, 29 Jul 2011 09:40:24 +0000 (09:40 +0000)]
hostapd: fix wds interface address handling for multi-bssid

SVN-Revision: 27823

13 years agohostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
Felix Fietkau [Fri, 29 Jul 2011 09:40:19 +0000 (09:40 +0000)]
hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame

SVN-Revision: 27822

13 years agoswconfig: fix backward compatibility
Gabor Juhos [Thu, 28 Jul 2011 19:54:11 +0000 (19:54 +0000)]
swconfig: fix backward compatibility

swconfig fails to load uci configuration after the generic switch
identifier changes.

root@OpenWrt:/# uci show network | grep switch
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0t 2 3 4 5
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=eth0
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0t 1
root@OpenWrt:/# swconfig dev eth0 load /etc/config/network
Failed to apply configuration for switch 'switch0'
root@OpenWrt:/# swconfig dev switch0 load /etc/config/network
Failed to apply configuration for switch 'switch0'

SVN-Revision: 27820

13 years agoppp: remove zero-length patches
Felix Fietkau [Thu, 28 Jul 2011 17:34:44 +0000 (17:34 +0000)]
ppp: remove zero-length patches

SVN-Revision: 27819

13 years agoppp: version bump to 2.4.5
Felix Fietkau [Thu, 28 Jul 2011 16:51:12 +0000 (16:51 +0000)]
ppp: version bump to 2.4.5

Bump to the current version of PPP.

A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed.

1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP.

Redux: re-instate the commenting out of the exponential back-off as requested by Felix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27818

13 years agoar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Jonas Gorski [Thu, 28 Jul 2011 11:57:51 +0000 (11:57 +0000)]
ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH

Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814

13 years agoramips: rt305x: add support for the Netcore NW718 board
Gabor Juhos [Thu, 28 Jul 2011 10:56:32 +0000 (10:56 +0000)]
ramips: rt305x: add support for the Netcore NW718 board

SVN-Revision: 27813

13 years agoramips: rt305x: add support for the Asus RT-G32 B1 board
Gabor Juhos [Thu, 28 Jul 2011 10:56:30 +0000 (10:56 +0000)]
ramips: rt305x: add support for the Asus RT-G32 B1 board

Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812

13 years agoramips: rt305x: enable M25P80 driver
Gabor Juhos [Thu, 28 Jul 2011 10:56:28 +0000 (10:56 +0000)]
ramips: rt305x: enable M25P80 driver

Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27811

13 years agoramips: rt305x: introduce rt305x_register_spi helper
Gabor Juhos [Thu, 28 Jul 2011 10:56:27 +0000 (10:56 +0000)]
ramips: rt305x: introduce rt305x_register_spi helper

Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27810

13 years agoramips: add SPI controller driver
Gabor Juhos [Thu, 28 Jul 2011 10:56:25 +0000 (10:56 +0000)]
ramips: add SPI controller driver

Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809

13 years agoramips: rt305x: add support for the DIR-600 B1,B2 boards
Gabor Juhos [Thu, 28 Jul 2011 10:56:24 +0000 (10:56 +0000)]
ramips: rt305x: add support for the DIR-600 B1,B2 boards

SVN-Revision: 27808

13 years agoramips: rt305x: change machine id for DIR-300
Gabor Juhos [Thu, 28 Jul 2011 10:56:22 +0000 (10:56 +0000)]
ramips: rt305x: change machine id for DIR-300

SVN-Revision: 27807

13 years agoramips: rt305x: rename LEDs on the DIR-300-B1
Gabor Juhos [Thu, 28 Jul 2011 10:56:21 +0000 (10:56 +0000)]
ramips: rt305x: rename LEDs on the DIR-300-B1

SVN-Revision: 27806

13 years agoramips: rt305x: sort Kconfig/Makefile entries
Gabor Juhos [Thu, 28 Jul 2011 10:56:19 +0000 (10:56 +0000)]
ramips: rt305x: sort Kconfig/Makefile entries

SVN-Revision: 27805

13 years agoramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
Gabor Juhos [Thu, 28 Jul 2011 10:56:18 +0000 (10:56 +0000)]
ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards

This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>
SVN-Revision: 27804

13 years agoramips: fix PWH2004 image generation
Gabor Juhos [Thu, 28 Jul 2011 10:56:15 +0000 (10:56 +0000)]
ramips: fix PWH2004 image generation

SVN-Revision: 27803

13 years agoswconfig: Add generic switch identifiers
Jonas Gorski [Wed, 27 Jul 2011 18:00:18 +0000 (18:00 +0000)]
swconfig: Add generic switch identifiers

Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800

13 years agobase-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP...
Felix Fietkau [Wed, 27 Jul 2011 09:02:10 +0000 (09:02 +0000)]
base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined

SVN-Revision: 27797

13 years agofirewall: prevent redundant rules if multiple ports and multiple icmp types are given...
Jo-Philipp Wich [Tue, 26 Jul 2011 22:21:39 +0000 (22:21 +0000)]
firewall: prevent redundant rules if multiple ports and multiple icmp types are given in a rule block for both icmp and other protocols

SVN-Revision: 27792

13 years agoath9k: rework tx power handling - display the correct *current* tx power, and also...
Felix Fietkau [Tue, 26 Jul 2011 20:53:40 +0000 (20:53 +0000)]
ath9k: rework tx power handling - display the correct *current* tx power, and also fix tx power limits with ATH_USER_REGD set

SVN-Revision: 27788

13 years agox86/alix2: include WAN interface by default
Felix Fietkau [Tue, 26 Jul 2011 16:37:48 +0000 (16:37 +0000)]
x86/alix2: include WAN interface by default

Include WAN interface by default, instead of putting both ports in the LAN bridge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27787

13 years agox86/alix2: fix typo in target makefile
Felix Fietkau [Tue, 26 Jul 2011 16:37:44 +0000 (16:37 +0000)]
x86/alix2: fix typo in target makefile

Cut and paste cruft from borrowing from Geos platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27786

13 years agomac80211: merge a few pending fixes for channel switch handling
Felix Fietkau [Tue, 26 Jul 2011 15:11:27 +0000 (15:11 +0000)]
mac80211: merge a few pending fixes for channel switch handling

SVN-Revision: 27783

13 years agolinux-atm: don't fail if an PREFIX env var is set
Jo-Philipp Wich [Tue, 26 Jul 2011 10:47:59 +0000 (10:47 +0000)]
linux-atm: don't fail if an PREFIX env var is set

SVN-Revision: 27779

13 years agobase-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
Jo-Philipp Wich [Mon, 25 Jul 2011 22:19:55 +0000 (22:19 +0000)]
base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts

SVN-Revision: 27776

13 years agox86: add missing config symbols
Hauke Mehrtens [Mon, 25 Jul 2011 21:21:01 +0000 (21:21 +0000)]
x86: add missing config symbols

This adds some config symbols for kernel 3.0.

Thank you realopty for the patch.

This is from #9719.

SVN-Revision: 27775

13 years agobcm63xx: Fix SPI commands and register offsets for BCM6348
Jonas Gorski [Mon, 25 Jul 2011 19:52:47 +0000 (19:52 +0000)]
bcm63xx: Fix SPI commands and register offsets for BCM6348

In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>
SVN-Revision: 27774

13 years agouClibc: backport an x86 compile fix from mainline (thx, swalker)
Felix Fietkau [Mon, 25 Jul 2011 18:26:02 +0000 (18:26 +0000)]
uClibc: backport an x86 compile fix from mainline (thx, swalker)

SVN-Revision: 27773

13 years agouClibc: update to latest 0.9.32.1 git
Felix Fietkau [Mon, 25 Jul 2011 13:38:58 +0000 (13:38 +0000)]
uClibc: update to latest 0.9.32.1 git

SVN-Revision: 27772

13 years agoonly export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts...
Felix Fietkau [Mon, 25 Jul 2011 10:32:38 +0000 (10:32 +0000)]
only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains

SVN-Revision: 27771

13 years agomac80211: rename a misnamed patch
Felix Fietkau [Mon, 25 Jul 2011 09:56:23 +0000 (09:56 +0000)]
mac80211: rename a misnamed patch

SVN-Revision: 27769

13 years agomac80211: remove the ccmp rx pn workaround, it should no longer be necessary and...
Felix Fietkau [Mon, 25 Jul 2011 06:29:00 +0000 (06:29 +0000)]
mac80211: remove the ccmp rx pn workaround, it should no longer be necessary and it was reported to cause connection stability issues (see #9646)

SVN-Revision: 27764

13 years agoadd missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
Imre Kaloz [Sun, 24 Jul 2011 22:04:08 +0000 (22:04 +0000)]
add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch

SVN-Revision: 27762

13 years agokernel.mk: Fix kernel module path for 3.0
Jonas Gorski [Sun, 24 Jul 2011 21:42:33 +0000 (21:42 +0000)]
kernel.mk: Fix kernel module path for 3.0

Linux 3.0 calls itself 3.0.0, so insmod expects the modules in
/lib/modules/3.0.0.

SVN-Revision: 27761

13 years agoFrom: George Kashperko <george@znau.edu.ua> Issue map read after Write Buffer Load...
Jo-Philipp Wich [Sun, 24 Jul 2011 15:37:00 +0000 (15:37 +0000)]
From: George Kashperko <george@znau.edu.ua> Issue map read after Write Buffer Load command to ensure chip is ready to receive data. Signed-off-by: George Kashperko <george@znau.edu.ua>

SVN-Revision: 27760

13 years agorefresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
Jo-Philipp Wich [Sun, 24 Jul 2011 15:36:33 +0000 (15:36 +0000)]
refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final

SVN-Revision: 27759

13 years agobrcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
Hauke Mehrtens [Sun, 24 Jul 2011 15:18:29 +0000 (15:18 +0000)]
brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci

ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.

SVN-Revision: 27758

13 years agokernel: crypto: fix spelling
Hauke Mehrtens [Sun, 24 Jul 2011 15:08:17 +0000 (15:08 +0000)]
kernel: crypto: fix spelling

SVN-Revision: 27757

13 years agoar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
Felix Fietkau [Sun, 24 Jul 2011 14:40:35 +0000 (14:40 +0000)]
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh

SVN-Revision: 27756

13 years agortl8366_smi: implement a function for detecting whether the attached switch is RTL836...
Felix Fietkau [Sun, 24 Jul 2011 14:40:31 +0000 (14:40 +0000)]
rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB

SVN-Revision: 27755

13 years agortl8366: unify rtl8366s and rtl8366rb platform data
Felix Fietkau [Sun, 24 Jul 2011 14:40:23 +0000 (14:40 +0000)]
rtl8366: unify rtl8366s and rtl8366rb platform data

SVN-Revision: 27754

13 years agoocf-linux: version bump to 20110720
Hauke Mehrtens [Sun, 24 Jul 2011 14:17:58 +0000 (14:17 +0000)]
ocf-linux: version bump to 20110720

Fixes problem with TFM allocation in cryptosoft.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753

13 years agobroadcom-wl: give the 007 patch a more meaningful name
Jo-Philipp Wich [Sun, 24 Jul 2011 14:14:48 +0000 (14:14 +0000)]
broadcom-wl: give the 007 patch a more meaningful name

SVN-Revision: 27752

13 years agobroadcom-wl: make it work on the RT-N16 and other device using the BCMA bus - refresh...
Jo-Philipp Wich [Sun, 24 Jul 2011 14:10:39 +0000 (14:10 +0000)]
broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus - refresh and reorder patches - introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx - extend wlunbind init script to detach device from bcma-pci-bridge as well

SVN-Revision: 27751

13 years agomac80211: do not build bcma from compat-wireless
Hauke Mehrtens [Sun, 24 Jul 2011 12:29:27 +0000 (12:29 +0000)]
mac80211: do not build bcma from compat-wireless

SVN-Revision: 27750

13 years agox86: 2.6.39 requires additional symbol
Felix Fietkau [Sun, 24 Jul 2011 09:41:07 +0000 (09:41 +0000)]
x86: 2.6.39 requires additional symbol

Sysfs support for DMI BIOS was added in 2.6.39.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27749

13 years agodefault to using gzip with mksquashfs if lzma and xz are unavailable
Felix Fietkau [Sun, 24 Jul 2011 09:16:55 +0000 (09:16 +0000)]
default to using gzip with mksquashfs if lzma and xz are unavailable

SVN-Revision: 27748

13 years agoatheros: fix mii phy read/write ioctl
Felix Fietkau [Sun, 24 Jul 2011 09:11:10 +0000 (09:11 +0000)]
atheros: fix mii phy read/write ioctl

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 27747

13 years agopkg-config: fix prefix
Felix Fietkau [Sun, 24 Jul 2011 09:02:49 +0000 (09:02 +0000)]
pkg-config: fix prefix

Now:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include

After applying the patch:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include

I guess that there sould not be '//' but only one '/'.

Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net >
SVN-Revision: 27744

13 years agogeos: include pppstats and pppdump in default packaging
Felix Fietkau [Sun, 24 Jul 2011 08:41:58 +0000 (08:41 +0000)]
geos: include pppstats and pppdump in default packaging

As the Geos box includes an ADSL modem that's targeted towards PPPoE, PPPoA, and bridged utilization, including these useful tools allows for easier configuration and troubleshooting.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27743

13 years agocmake: fix ccache command when using host ccache (patch from #9611)
Felix Fietkau [Sun, 24 Jul 2011 08:34:08 +0000 (08:34 +0000)]
cmake: fix ccache command when using host ccache (patch from #9611)

SVN-Revision: 27742

13 years agoar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
Felix Fietkau [Sun, 24 Jul 2011 08:02:20 +0000 (08:02 +0000)]
ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)

SVN-Revision: 27739

13 years agoupgrade to 3.0
Imre Kaloz [Sat, 23 Jul 2011 20:44:08 +0000 (20:44 +0000)]
upgrade to 3.0

SVN-Revision: 27738

13 years agoupgrade to 3.0
Imre Kaloz [Sat, 23 Jul 2011 20:43:53 +0000 (20:43 +0000)]
upgrade to 3.0

SVN-Revision: 27737

13 years ago3.0 is out
Imre Kaloz [Sat, 23 Jul 2011 20:42:58 +0000 (20:42 +0000)]
3.0 is out

SVN-Revision: 27736

13 years agomac80211: fix typo and make broken options depend on BROKEN
Hauke Mehrtens [Sat, 23 Jul 2011 11:32:19 +0000 (11:32 +0000)]
mac80211: fix typo and make broken options depend on BROKEN

SVN-Revision: 27735

13 years agomca80211: add support for b43 on bcma bus.
Hauke Mehrtens [Sat, 23 Jul 2011 11:25:05 +0000 (11:25 +0000)]
mca80211: add support for b43 on bcma bus.

This makes b43 work on broadcom SoCs using bcma as system bus.

SVN-Revision: 27734

13 years agobrcm47xx: build bcma into the kernel
Hauke Mehrtens [Sat, 23 Jul 2011 11:19:58 +0000 (11:19 +0000)]
brcm47xx: build bcma into the kernel

Now we can assume that every brcm47xx kernel has the bcma module build
into the kernel. This is not needed for this version as this does not
support bcma as system bus but kernel 3.0 will.

SVN-Revision: 27733

13 years agokernel: add bcma package
Hauke Mehrtens [Sat, 23 Jul 2011 11:17:36 +0000 (11:17 +0000)]
kernel: add bcma package

SVN-Revision: 27732

13 years agokernel: update bcma and ssb to version master-2011-07-22 from wireless-testing
Hauke Mehrtens [Sat, 23 Jul 2011 11:17:00 +0000 (11:17 +0000)]
kernel: update bcma and ssb to version master-2011-07-22 from wireless-testing

SVN-Revision: 27731

13 years agobrcm47xx: remove old kernel versions
Hauke Mehrtens [Fri, 22 Jul 2011 18:41:24 +0000 (18:41 +0000)]
brcm47xx: remove old kernel versions

SVN-Revision: 27724

13 years agobrcm47xx: update bcma and ssb to master-2011-07-21
Hauke Mehrtens [Fri, 22 Jul 2011 16:30:42 +0000 (16:30 +0000)]
brcm47xx: update bcma and ssb to master-2011-07-21

* add new patches for bcm4716 SoC
* add support for serial flash on bcma bus

SVN-Revision: 27723

13 years agokernel: update to linux-3.0 and refresh patches.
Hauke Mehrtens [Fri, 22 Jul 2011 16:04:25 +0000 (16:04 +0000)]
kernel: update to linux-3.0 and refresh patches.

Thank you Peter Wagner for the patch

SVN-Revision: 27722

13 years agobase-files: attempt bring up related wifi devices when calling ifup If a user invoked...
Jo-Philipp Wich [Fri, 22 Jul 2011 00:21:20 +0000 (00:21 +0000)]
base-files: attempt bring up related wifi devices when calling ifup If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly).

The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.

SVN-Revision: 27720

13 years agofirewall: fix serious bug in state var handling (#9746)
Jo-Philipp Wich [Wed, 20 Jul 2011 15:29:10 +0000 (15:29 +0000)]
firewall: fix serious bug in state var handling (#9746)

SVN-Revision: 27711

13 years agoar71xx: reinitialize global switch settings after reset on ar7240
Felix Fietkau [Wed, 20 Jul 2011 14:39:47 +0000 (14:39 +0000)]
ar71xx: reinitialize global switch settings after reset on ar7240

SVN-Revision: 27705

13 years agoar71xx: configure address aging on ar7240
Felix Fietkau [Wed, 20 Jul 2011 14:39:42 +0000 (14:39 +0000)]
ar71xx: configure address aging on ar7240

SVN-Revision: 27704

13 years agoar71xx: reset the phy in the ethernet init on ar724x
Felix Fietkau [Wed, 20 Jul 2011 12:04:34 +0000 (12:04 +0000)]
ar71xx: reset the phy in the ethernet init on ar724x

SVN-Revision: 27703

13 years agoar71xx: make sure that rx and interrupts are disabled before issuing the hardware...
Felix Fietkau [Wed, 20 Jul 2011 12:04:29 +0000 (12:04 +0000)]
ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset

SVN-Revision: 27702

13 years agoar71xx: increase the delay after the ethernet MAC reset
Felix Fietkau [Wed, 20 Jul 2011 12:04:25 +0000 (12:04 +0000)]
ar71xx: increase the delay after the ethernet MAC reset

SVN-Revision: 27701

13 years agoar71xx: fix an unused variable warning
Felix Fietkau [Wed, 20 Jul 2011 12:04:20 +0000 (12:04 +0000)]
ar71xx: fix an unused variable warning

SVN-Revision: 27700

13 years agocomgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
Felix Fietkau [Wed, 20 Jul 2011 08:47:19 +0000 (08:47 +0000)]
comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink

SVN-Revision: 27699

13 years agouci: fix one more unused-but-set issue (#9731)
Felix Fietkau [Tue, 19 Jul 2011 20:44:35 +0000 (20:44 +0000)]
uci: fix one more unused-but-set issue (#9731)

SVN-Revision: 27698

13 years agosync default kernel config for lantiq danube/ar9
John Crispin [Tue, 19 Jul 2011 18:08:09 +0000 (18:08 +0000)]
sync default kernel config for lantiq danube/ar9

SVN-Revision: 27697

13 years agofix etehrnet when using EPHY on lantiq ASE
John Crispin [Tue, 19 Jul 2011 18:06:52 +0000 (18:06 +0000)]
fix etehrnet when using EPHY on lantiq ASE

SVN-Revision: 27696

13 years agofixes pci on lantiq AR9 SoC
John Crispin [Tue, 19 Jul 2011 18:06:42 +0000 (18:06 +0000)]
fixes pci on lantiq AR9 SoC

SVN-Revision: 27695

13 years agoadd support for more lantiq AR9 boards
John Crispin [Tue, 19 Jul 2011 18:06:33 +0000 (18:06 +0000)]
add support for more lantiq AR9 boards

SVN-Revision: 27694

13 years agokernel: backport and enable tmpfs xattr support for 2.6.39
Felix Fietkau [Tue, 19 Jul 2011 09:00:55 +0000 (09:00 +0000)]
kernel: backport and enable tmpfs xattr support for 2.6.39

SVN-Revision: 27691

13 years agouhttpd: pass feature flags (#9742)
Jo-Philipp Wich [Tue, 19 Jul 2011 06:59:47 +0000 (06:59 +0000)]
uhttpd: pass feature flags (#9742)

SVN-Revision: 27689

13 years agoath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others...
Felix Fietkau [Tue, 19 Jul 2011 06:42:26 +0000 (06:42 +0000)]
ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi

SVN-Revision: 27688

13 years ago* fix external interrupts
John Crispin [Mon, 18 Jul 2011 16:27:11 +0000 (16:27 +0000)]
* fix external interrupts

SVN-Revision: 27687

13 years agouhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
Jo-Philipp Wich [Mon, 18 Jul 2011 14:18:31 +0000 (14:18 +0000)]
uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)

SVN-Revision: 27686

13 years agouci: update to fix more unused-but-set issues (#9731)
Felix Fietkau [Mon, 18 Jul 2011 10:09:53 +0000 (10:09 +0000)]
uci: update to fix more unused-but-set issues (#9731)

SVN-Revision: 27681

13 years agouci: update to 2011-07-18, fixes #9731
Felix Fietkau [Mon, 18 Jul 2011 06:32:45 +0000 (06:32 +0000)]
uci: update to 2011-07-18, fixes #9731

SVN-Revision: 27680

13 years agoresolveip: fix whitespace
Jo-Philipp Wich [Sun, 17 Jul 2011 22:47:56 +0000 (22:47 +0000)]
resolveip: fix whitespace

SVN-Revision: 27671

13 years agopptp: properly support symbolic VPN host names, tear down created host routes (#4876)
Jo-Philipp Wich [Sun, 17 Jul 2011 22:42:29 +0000 (22:42 +0000)]
pptp: properly support symbolic VPN host names, tear down created host routes (#4876)

SVN-Revision: 27669

13 years agoadd "resolveip", a small DNS lookup utility for use in scripts (#4876)
Jo-Philipp Wich [Sun, 17 Jul 2011 22:20:48 +0000 (22:20 +0000)]
add "resolveip", a small DNS lookup utility for use in scripts (#4876)

SVN-Revision: 27666

13 years ago* add gigasx76x update
John Crispin [Sun, 17 Jul 2011 19:27:44 +0000 (19:27 +0000)]
* add gigasx76x update
* rebase patches
* add arv752DPW arv7525PD
* fixes gpio_keys

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 27665

13 years agouboot-lantiq
John Crispin [Sun, 17 Jul 2011 19:27:34 +0000 (19:27 +0000)]
uboot-lantiq

fix arv752DPW and add arv7525PW

SVN-Revision: 27664

13 years agorevert parts of r27488 to uboot-lantiq
John Crispin [Sun, 17 Jul 2011 19:27:24 +0000 (19:27 +0000)]
revert parts of r27488 to uboot-lantiq

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 27663

13 years agobetter lantiq support in madwifi
John Crispin [Sun, 17 Jul 2011 19:27:14 +0000 (19:27 +0000)]
better lantiq support in madwifi

Allow for each lantiq target (without wifi eeprom) to define where
wireless configuration data is on flash. Patch also adds support for
sx763 lantiq target.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 27662