Gabor Juhos
2e339a6466
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
2011-07-28 19:54:11 +00:00
Felix Fietkau
4dd9373b3e
ppp: remove zero-length patches
...
SVN-Revision: 27819
2011-07-28 17:34:44 +00:00
Felix Fietkau
4c4da37c09
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
2011-07-28 16:51:12 +00:00
Jonas Gorski
e18ceb1dac
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
2011-07-28 11:57:51 +00:00
Gabor Juhos
ea211c4d90
ramips: rt305x: add support for the Netcore NW718 board
...
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos
437e184484
ramips: rt305x: add support for the Asus RT-G32 B1 board
...
Based on a patch by: Sergiy <piratfm@gmail.com>
SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos
7193f29d96
ramips: rt305x: enable M25P80 driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos
c6db514de8
ramips: rt305x: introduce rt305x_register_spi helper
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos
57122e7ccc
ramips: add SPI controller driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f
ramips: rt305x: add support for the DIR-600 B1,B2 boards
...
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac
ramips: rt305x: change machine id for DIR-300
...
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
42d3a55347
ramips: rt305x: rename LEDs on the DIR-300-B1
...
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos
39689b648f
ramips: rt305x: sort Kconfig/Makefile entries
...
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
Gabor Juhos
32c0534516
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
2011-07-28 10:56:18 +00:00
Gabor Juhos
57663ce25b
ramips: fix PWH2004 image generation
...
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Jonas Gorski
eaa935658b
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
2011-07-27 18:00:18 +00:00
Felix Fietkau
8ff7756e82
base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
...
SVN-Revision: 27797
2011-07-27 09:02:10 +00:00
Jo-Philipp Wich
7a206885df
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
2011-07-26 22:21:39 +00:00
Felix Fietkau
d6431df9c1
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
2011-07-26 20:53:40 +00:00
Felix Fietkau
4da138d899
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
2011-07-26 16:37:48 +00:00
Felix Fietkau
41db64f8e0
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
2011-07-26 16:37:44 +00:00
Felix Fietkau
d0cea742bb
mac80211: merge a few pending fixes for channel switch handling
...
SVN-Revision: 27783
2011-07-26 15:11:27 +00:00
Jo-Philipp Wich
20d62f8e5f
linux-atm: don't fail if an PREFIX env var is set
...
SVN-Revision: 27779
2011-07-26 10:47:59 +00:00
Jo-Philipp Wich
94c728dc39
base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
...
SVN-Revision: 27776
2011-07-25 22:19:55 +00:00
Hauke Mehrtens
80956276a7
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
2011-07-25 21:21:01 +00:00
Jonas Gorski
4e6c93bef1
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
2011-07-25 19:52:47 +00:00
Felix Fietkau
b857433bcb
uClibc: backport an x86 compile fix from mainline (thx, swalker)
...
SVN-Revision: 27773
2011-07-25 18:26:02 +00:00
Felix Fietkau
816f76457c
uClibc: update to latest 0.9.32.1 git
...
SVN-Revision: 27772
2011-07-25 13:38:58 +00:00
Felix Fietkau
5820306407
only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
...
SVN-Revision: 27771
2011-07-25 10:32:38 +00:00
Felix Fietkau
1266eb49ee
mac80211: rename a misnamed patch
...
SVN-Revision: 27769
2011-07-25 09:56:23 +00:00
Felix Fietkau
b87d25ea75
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
2011-07-25 06:29:00 +00:00
Imre Kaloz
f0f10fa599
add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
...
SVN-Revision: 27762
2011-07-24 22:04:08 +00:00
Jonas Gorski
b197196bc8
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
2011-07-24 21:42:33 +00:00
Jo-Philipp Wich
f66871e836
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
2011-07-24 15:37:00 +00:00
Jo-Philipp Wich
6eb9e39bc4
refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
...
SVN-Revision: 27759
2011-07-24 15:36:33 +00:00
Hauke Mehrtens
4815eaa4c3
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
2011-07-24 15:18:29 +00:00
Hauke Mehrtens
866a22dc67
kernel: crypto: fix spelling
...
SVN-Revision: 27757
2011-07-24 15:08:17 +00:00
Felix Fietkau
9e4113b493
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
...
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
5b32d62fcf
rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
...
SVN-Revision: 27755
2011-07-24 14:40:31 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Hauke Mehrtens
00dd85d8f6
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
2011-07-24 14:17:58 +00:00
Jo-Philipp Wich
8ecad9c51a
broadcom-wl: give the 007 patch a more meaningful name
...
SVN-Revision: 27752
2011-07-24 14:14:48 +00:00
Jo-Philipp Wich
1d7ae4aba7
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
2011-07-24 14:10:39 +00:00
Hauke Mehrtens
0df7ae0418
mac80211: do not build bcma from compat-wireless
...
SVN-Revision: 27750
2011-07-24 12:29:27 +00:00
Felix Fietkau
b5e3f6cd81
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
2011-07-24 09:41:07 +00:00
Felix Fietkau
0f93db2de5
default to using gzip with mksquashfs if lzma and xz are unavailable
...
SVN-Revision: 27748
2011-07-24 09:16:55 +00:00
Felix Fietkau
a6f7e72cf7
atheros: fix mii phy read/write ioctl
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 27747
2011-07-24 09:11:10 +00:00
Felix Fietkau
48bf10fba2
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
2011-07-24 09:02:49 +00:00
Felix Fietkau
6d3bddb056
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
2011-07-24 08:41:58 +00:00
Felix Fietkau
0d0915d168
cmake: fix ccache command when using host ccache (patch from #9611 )
...
SVN-Revision: 27742
2011-07-24 08:34:08 +00:00