openwrt/staging/mkresin.git
13 years agofix ehci build on 3.0+
Florian Fainelli [Wed, 10 Aug 2011 11:37:25 +0000 (11:37 +0000)]
fix ehci build on 3.0+

SVN-Revision: 27946

13 years agoadd ignore_oc in struct ehci_hcd
Florian Fainelli [Wed, 10 Aug 2011 11:37:21 +0000 (11:37 +0000)]
add ignore_oc in struct ehci_hcd

SVN-Revision: 27945

13 years agoupdate to 3.0.1
Florian Fainelli [Tue, 9 Aug 2011 13:13:22 +0000 (13:13 +0000)]
update to 3.0.1

SVN-Revision: 27943

13 years agoadd CONFIG_EARLY_PRINTK
Florian Fainelli [Tue, 9 Aug 2011 13:13:16 +0000 (13:13 +0000)]
add CONFIG_EARLY_PRINTK

SVN-Revision: 27942

13 years agobcm63xx: add support for linux 3.1-rc1
Jonas Gorski [Tue, 9 Aug 2011 12:19:49 +0000 (12:19 +0000)]
bcm63xx: add support for linux 3.1-rc1

SVN-Revision: 27941

13 years agolinux: generic: add support for 3.1-rc1
Jonas Gorski [Tue, 9 Aug 2011 12:19:43 +0000 (12:19 +0000)]
linux: generic: add support for 3.1-rc1

SVN-Revision: 27940

13 years agoinclude/kernel.mk: fix download path for linux 3.x
Jonas Gorski [Tue, 9 Aug 2011 12:19:38 +0000 (12:19 +0000)]
include/kernel.mk: fix download path for linux 3.x

SVN-Revision: 27939

13 years agopackage/acx: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:36 +0000 (12:19 +0000)]
package/acx: mark as broken for linux 3.1

SVN-Revision: 27938

13 years agopackage/madwifi: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:34 +0000 (12:19 +0000)]
package/madwifi: mark as broken for linux 3.1

Madwifi does not compile because of VLAN API changes.

SVN-Revision: 27937

13 years agopackage/kernel: Mark mvswitch as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:32 +0000 (12:19 +0000)]
package/kernel: Mark mvswitch as broken for linux 3.1

mvswitch does not compile because of VLAN API changes.

SVN-Revision: 27936

13 years agopackage/mac80211: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:30 +0000 (12:19 +0000)]
package/mac80211: mark as broken for linux 3.1

compat-wireless does not support 3.1 yet.

SVN-Revision: 27935

13 years agopackage/kernel: invert dependencies for current kernel features
Jonas Gorski [Tue, 9 Aug 2011 12:19:27 +0000 (12:19 +0000)]
package/kernel: invert dependencies for current kernel features

Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

SVN-Revision: 27934

13 years agob43: fix reloading config settings after channel changes or hostapd restart (#8033)
Felix Fietkau [Mon, 8 Aug 2011 11:28:24 +0000 (11:28 +0000)]
b43: fix reloading config settings after channel changes or hostapd restart (#8033)

SVN-Revision: 27930

13 years agoAdd packages that will be relant as "There's a new Alix platform driver hitting linux...
Daniel Dickinson [Mon, 8 Aug 2011 02:33:18 +0000 (02:33 +0000)]
Add packages that will be relant as "There's a new Alix platform driver hitting linux-next upstream. Get ready for it in 2.6.39.4 and 3.0.

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

13 years agokernel: fix another typo in the netfilter optimization patches
Felix Fietkau [Sun, 7 Aug 2011 21:17:18 +0000 (21:17 +0000)]
kernel: fix another typo in the netfilter optimization patches

SVN-Revision: 27927

13 years agomac80211: always store broadcom firmware in b43 and b43legacy dir
Hauke Mehrtens [Sat, 6 Aug 2011 17:07:42 +0000 (17:07 +0000)]
mac80211: always store broadcom firmware in b43 and b43legacy dir

This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897

SVN-Revision: 27926

13 years agokernel: add missing option
Hauke Mehrtens [Sat, 6 Aug 2011 16:46:04 +0000 (16:46 +0000)]
kernel: add missing option

SVN-Revision: 27925

13 years agokernel: typo in cs5535 and cs5536 pata driver kernel definitions
Hauke Mehrtens [Sat, 6 Aug 2011 16:44:10 +0000 (16:44 +0000)]
kernel: typo in cs5535 and cs5536 pata driver kernel definitions

closes #9773

SVN-Revision: 27924

13 years agokernel: add missing checks in the netfilter optimization patch which broke some rules...
Felix Fietkau [Sat, 6 Aug 2011 12:39:31 +0000 (12:39 +0000)]
kernel: add missing checks in the netfilter optimization patch which broke some rules containing only source/destination address checks

SVN-Revision: 27923

13 years agouml: add some missing options
Hauke Mehrtens [Sat, 6 Aug 2011 11:23:45 +0000 (11:23 +0000)]
uml: add some missing options

SVN-Revision: 27921

13 years agokernel: add some missing config options
Hauke Mehrtens [Sat, 6 Aug 2011 10:41:15 +0000 (10:41 +0000)]
kernel: add some missing config options

These options where found by buildbot

SVN-Revision: 27920

13 years agobinutils: add binutils 2.21.1
Hauke Mehrtens [Sat, 6 Aug 2011 09:53:58 +0000 (09:53 +0000)]
binutils: add binutils 2.21.1

SVN-Revision: 27919

13 years agokernel: update to kernel version 3.0.1
Hauke Mehrtens [Sat, 6 Aug 2011 09:51:55 +0000 (09:51 +0000)]
kernel: update to kernel version 3.0.1

SVN-Revision: 27918

13 years agomkimage/getline.h - Mac OS X 10.7 (Lion) fix
Lars-Peter Clausen [Fri, 5 Aug 2011 16:53:43 +0000 (16:53 +0000)]
mkimage/getline.h - Mac OS X 10.7 (Lion) fix

This mends mkimage for getline() in Mac OS X 10.7.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
SVN-Revision: 27917

13 years agohost/include/getline.h - Mac OS X 10.7 (Lion) fix
Lars-Peter Clausen [Fri, 5 Aug 2011 16:52:46 +0000 (16:52 +0000)]
host/include/getline.h - Mac OS X 10.7 (Lion) fix

Apple has finally updated their version of Libc, and it now includes getline(). \o/

The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one
caveat is, the includes (at least stdio.h) are needed before the #ifdef so that
__DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define
like __linux__ or __APPLE__).

This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
SVN-Revision: 27916

13 years agokernel-headers: fix compile error caused by wrong host include path when the toolchai...
Felix Fietkau [Fri, 5 Aug 2011 16:39:04 +0000 (16:39 +0000)]
kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built

SVN-Revision: 27915

13 years agoupdate to kernel 3.0
Florian Fainelli [Fri, 5 Aug 2011 13:48:42 +0000 (13:48 +0000)]
update to kernel 3.0

SVN-Revision: 27912

13 years agoadd more missing config symbols
Florian Fainelli [Fri, 5 Aug 2011 13:48:38 +0000 (13:48 +0000)]
add more missing config symbols

SVN-Revision: 27911

13 years agoupdate to kernel 3.0
Florian Fainelli [Fri, 5 Aug 2011 13:48:35 +0000 (13:48 +0000)]
update to kernel 3.0

SVN-Revision: 27910

13 years agoadd 101-perf_arm_uclibc.patch to 3.0 patches
Florian Fainelli [Fri, 5 Aug 2011 13:48:31 +0000 (13:48 +0000)]
add 101-perf_arm_uclibc.patch to 3.0 patches

SVN-Revision: 27909

13 years agoadd missing config symbol
Florian Fainelli [Fri, 5 Aug 2011 13:48:28 +0000 (13:48 +0000)]
add missing config symbol

SVN-Revision: 27908

13 years agoar71xx: fix image generation
Gabor Juhos [Fri, 5 Aug 2011 10:31:52 +0000 (10:31 +0000)]
ar71xx: fix image generation

SVN-Revision: 27907

13 years agobrcm47xx: use kernel 3.0
Hauke Mehrtens [Thu, 4 Aug 2011 20:10:24 +0000 (20:10 +0000)]
brcm47xx: use kernel 3.0

As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.

SVN-Revision: 27906

13 years agobroadcom-diag: add support for bcma
Hauke Mehrtens [Thu, 4 Aug 2011 20:08:57 +0000 (20:08 +0000)]
broadcom-diag: add support for bcma

SVN-Revision: 27905

13 years agoswitch: update for brcm47xx target
Hauke Mehrtens [Thu, 4 Aug 2011 20:07:58 +0000 (20:07 +0000)]
switch: update for brcm47xx target

* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904

13 years agortc-rv5c386a: add support for kernel 3.0
Hauke Mehrtens [Thu, 4 Aug 2011 20:06:17 +0000 (20:06 +0000)]
rtc-rv5c386a: add support for kernel 3.0

remove BKL and adds support for changes in bcm47xx code

SVN-Revision: 27903

13 years agobrcm47xx: update patches
Hauke Mehrtens [Thu, 4 Aug 2011 20:04:54 +0000 (20:04 +0000)]
brcm47xx: update patches

* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902

13 years agoar71xx: enable sysupgrade on the AP96 and DB120 boards
Gabor Juhos [Thu, 4 Aug 2011 19:41:18 +0000 (19:41 +0000)]
ar71xx: enable sysupgrade on the AP96 and DB120 boards

SVN-Revision: 27901

13 years agoar71xx: use the same test for AP121 and Zcomax sysupgrade images
Gabor Juhos [Thu, 4 Aug 2011 19:41:17 +0000 (19:41 +0000)]
ar71xx: use the same test for AP121 and Zcomax sysupgrade images

SVN-Revision: 27900

13 years agoar71xx: cleanup image generation Makefile
Gabor Juhos [Thu, 4 Aug 2011 19:41:16 +0000 (19:41 +0000)]
ar71xx: cleanup image generation Makefile

SVN-Revision: 27899

13 years agoar71xx: fix ethernet FIFO state corruption on ar7240
Felix Fietkau [Thu, 4 Aug 2011 17:36:31 +0000 (17:36 +0000)]
ar71xx: fix ethernet FIFO state corruption on ar7240

When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896

13 years agoag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
Felix Fietkau [Thu, 4 Aug 2011 17:36:27 +0000 (17:36 +0000)]
ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop

When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895

13 years agoar71xx: fix MAC/MDIO reset mask handling
Felix Fietkau [Thu, 4 Aug 2011 17:36:23 +0000 (17:36 +0000)]
ar71xx: fix MAC/MDIO reset mask handling

SVN-Revision: 27894

13 years agoath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
Felix Fietkau [Thu, 4 Aug 2011 09:23:57 +0000 (09:23 +0000)]
ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)

SVN-Revision: 27891

13 years agoath9k: add some code to control internal driver queue length limits
Felix Fietkau [Thu, 4 Aug 2011 00:35:20 +0000 (00:35 +0000)]
ath9k: add some code to control internal driver queue length limits

SVN-Revision: 27890

13 years agoath9k: reduce the number of software retries, include hardware a-mpdu retries in...
Felix Fietkau [Thu, 4 Aug 2011 00:35:16 +0000 (00:35 +0000)]
ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting

SVN-Revision: 27889

13 years agoath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer...
Felix Fietkau [Thu, 4 Aug 2011 00:35:12 +0000 (00:35 +0000)]
ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes

SVN-Revision: 27888

13 years agogeneric: Add missing config symbol
Jonas Gorski [Wed, 3 Aug 2011 23:28:00 +0000 (23:28 +0000)]
generic: Add missing config symbol

SVN-Revision: 27887

13 years agoremove 8*1-usb_serial_endpoint_size.patch
Florian Fainelli [Wed, 3 Aug 2011 13:23:21 +0000 (13:23 +0000)]
remove 8*1-usb_serial_endpoint_size.patch

This is breaking some devices out there such as Winchiphead CH341 adapters (#9601)

SVN-Revision: 27885

13 years agotoolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
Jonas Gorski [Tue, 2 Aug 2011 23:32:44 +0000 (23:32 +0000)]
toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*

UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

SVN-Revision: 27882

13 years agoadd support for BCM6345 Ethernet DMA engine
Florian Fainelli [Tue, 2 Aug 2011 18:55:55 +0000 (18:55 +0000)]
add support for BCM6345 Ethernet DMA engine

SVN-Revision: 27881

13 years agoimprove BCM6345 support
Florian Fainelli [Tue, 2 Aug 2011 18:55:46 +0000 (18:55 +0000)]
improve BCM6345 support

- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880

13 years agorefresh 3.0 patches
Florian Fainelli [Tue, 2 Aug 2011 18:55:38 +0000 (18:55 +0000)]
refresh 3.0 patches

SVN-Revision: 27879

13 years agoar71xx: add some hacks to work around the misalignment in IP packets received on...
Felix Fietkau [Tue, 2 Aug 2011 15:12:08 +0000 (15:12 +0000)]
ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%

SVN-Revision: 27878

13 years agofix r6040 multicast patch, thanks nicolas le falher
Florian Fainelli [Tue, 2 Aug 2011 14:13:00 +0000 (14:13 +0000)]
fix r6040 multicast patch, thanks nicolas le falher

SVN-Revision: 27876

13 years agolinux/generic: remove obsolete kernel options from 3.0
Jonas Gorski [Tue, 2 Aug 2011 09:58:16 +0000 (09:58 +0000)]
linux/generic: remove obsolete kernel options from 3.0

Also fix one typo.

SVN-Revision: 27875

13 years agokernel: Fix firewire for 2.6.37+
Jonas Gorski [Tue, 2 Aug 2011 09:53:19 +0000 (09:53 +0000)]
kernel: Fix firewire for 2.6.37+

The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874

13 years agoimagebuilder: clean opkg files if requested (patch from #9866)
Felix Fietkau [Mon, 1 Aug 2011 23:58:11 +0000 (23:58 +0000)]
imagebuilder: clean opkg files if requested (patch from #9866)

SVN-Revision: 27872

13 years agomac80211: fix a compiler warning
Felix Fietkau [Mon, 1 Aug 2011 21:14:15 +0000 (21:14 +0000)]
mac80211: fix a compiler warning

SVN-Revision: 27870

13 years agotools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
Felix Fietkau [Mon, 1 Aug 2011 19:22:45 +0000 (19:22 +0000)]
tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)

SVN-Revision: 27869

13 years agobroadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
Felix Fietkau [Mon, 1 Aug 2011 18:41:05 +0000 (18:41 +0000)]
broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)

SVN-Revision: 27868

13 years agoperf: mark as broken for now
Florian Fainelli [Mon, 1 Aug 2011 18:16:19 +0000 (18:16 +0000)]
perf: mark as broken for now

Until we properly deal with the various versions of libelf we package,
mark perf as broken

SVN-Revision: 27867

13 years agomac80211: add missing chunks to the compat_firmware_class change
Felix Fietkau [Mon, 1 Aug 2011 17:52:07 +0000 (17:52 +0000)]
mac80211: add missing chunks to the compat_firmware_class change

SVN-Revision: 27864

13 years agomac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
Felix Fietkau [Mon, 1 Aug 2011 17:42:00 +0000 (17:42 +0000)]
mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)

SVN-Revision: 27863

13 years agokernel/modules: Add missing config symbol
Vasilis Tsiligiannis [Mon, 1 Aug 2011 14:45:03 +0000 (14:45 +0000)]
kernel/modules: Add missing config symbol

SVN-Revision: 27862

13 years agoath9k: prevent the aggregation code from sending packets to sleeping stations - shoul...
Felix Fietkau [Mon, 1 Aug 2011 12:15:22 +0000 (12:15 +0000)]
ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues

SVN-Revision: 27861

13 years agoath9k: fold patches that were merged upstream into 300-pending_work.patch
Felix Fietkau [Mon, 1 Aug 2011 12:15:15 +0000 (12:15 +0000)]
ath9k: fold patches that were merged upstream into 300-pending_work.patch

SVN-Revision: 27860

13 years agogdb: add dependency to libexpat when present
Jonas Gorski [Mon, 1 Aug 2011 09:32:01 +0000 (09:32 +0000)]
gdb: add dependency to libexpat when present

Also prevent gdb from trying to link against the host's libexpat.

SVN-Revision: 27859

13 years agoautotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply OpenWrt...
Jo-Philipp Wich [Mon, 1 Aug 2011 00:22:53 +0000 (00:22 +0000)]
autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use.

SVN-Revision: 27855

13 years agokernel: enable inotify by default (#8055)
Felix Fietkau [Sun, 31 Jul 2011 18:12:23 +0000 (18:12 +0000)]
kernel: enable inotify by default (#8055)

SVN-Revision: 27853

13 years agoquilt: make it possible to override the path to getopt (based on patch from #9842)
Felix Fietkau [Sun, 31 Jul 2011 17:59:35 +0000 (17:59 +0000)]
quilt: make it possible to override the path to getopt (based on patch from #9842)

SVN-Revision: 27852

13 years agosquashfs4: fix a compile error on big-endian systems (patch from #9842)
Felix Fietkau [Sun, 31 Jul 2011 17:59:31 +0000 (17:59 +0000)]
squashfs4: fix a compile error on big-endian systems (patch from #9842)

SVN-Revision: 27851

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