openwrt.git
12 years agoar71xx: fix ethernet FIFO state corruption on ar7240
nbd [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

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

12 years agoag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
nbd [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

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

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

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

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

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

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

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

12 years agoath9k: reduce the number of software retries, include hardware a-mpdu retries in...
nbd [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

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

12 years agoath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer...
nbd [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

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

12 years ago[kernel] generic: Add missing config symbol
jogo [Wed, 3 Aug 2011 23:28:00 +0000 (23:28 +0000)]
[kernel] generic: Add missing config symbol

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

12 years ago[kernel] remove 8*1-usb_serial_endpoint_size.patch
florian [Wed, 3 Aug 2011 13:23:21 +0000 (13:23 +0000)]
[kernel] remove 8*1-usb_serial_endpoint_size.patch

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

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

12 years agotoolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
jogo [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.

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

12 years ago[brcm63xx] add support for BCM6345 Ethernet DMA engine
florian [Tue, 2 Aug 2011 18:55:55 +0000 (18:55 +0000)]
[brcm63xx] add support for BCM6345 Ethernet DMA engine

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

12 years ago[brcm63xx] improve BCM6345 support
florian [Tue, 2 Aug 2011 18:55:46 +0000 (18:55 +0000)]
[brcm63xx] 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

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

12 years ago[kernel] refresh 3.0 patches
florian [Tue, 2 Aug 2011 18:55:38 +0000 (18:55 +0000)]
[kernel] refresh 3.0 patches

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

12 years agoar71xx: add some hacks to work around the misalignment in IP packets received on...
nbd [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%

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

12 years ago[rdc] fix r6040 multicast patch, thanks
florian [Tue, 2 Aug 2011 14:13:00 +0000 (14:13 +0000)]
[rdc] fix r6040 multicast patch, thanks
nicolas le falher

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

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

Also fix one typo.

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

12 years agokernel: Fix firewire for 2.6.37+
jogo [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.

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

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

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

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

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

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

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

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

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

12 years ago[package] perf: mark as broken for now
florian [Mon, 1 Aug 2011 18:16:19 +0000 (18:16 +0000)]
[package] perf: mark as broken for now

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

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

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

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

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

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

12 years ago[package] kernel/modules: Add missing config symbol
acinonyx [Mon, 1 Aug 2011 14:45:03 +0000 (14:45 +0000)]
[package] kernel/modules: Add missing config symbol

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

12 years agoath9k: prevent the aggregation code from sending packets to sleeping stations - shoul...
nbd [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

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

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

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

12 years agogdb: add dependency to libexpat when present
jogo [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.

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

12 years ago[include] autotools.mk: implement PKG_FIXUP:=patch-libtool
jow [Mon, 1 Aug 2011 00:22:53 +0000 (00:22 +0000)]
[include] 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.

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

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

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

12 years agoquilt: make it possible to override the path to getopt (based on patch from #9842)
nbd [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)

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

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

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

12 years agosquashfs4: add missing include for freebsd (patch from #9842)
nbd [Sun, 31 Jul 2011 17:59:25 +0000 (17:59 +0000)]
squashfs4: add missing include for freebsd (patch from #9842)

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

12 years agopackage/kernel: move kmod-fs-mbcache into fs-ext4
jogo [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.

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

12 years ago[package] dropbear:
jow [Sun, 31 Jul 2011 12:05:54 +0000 (12:05 +0000)]
[package] 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)

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

12 years agokernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
nbd [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

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

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

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

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

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

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

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

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

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

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

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

12 years agohostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
nbd [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

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

12 years agoswconfig: fix backward compatibility
juhosg [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'

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

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

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

12 years agoppp: version bump to 2.4.5
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27818 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
jogo [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.

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

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

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

12 years agoramips: rt305x: add support for the Asus RT-G32 B1 board
juhosg [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>

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

12 years agoramips: rt305x: enable M25P80 driver
juhosg [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>

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

12 years agoramips: rt305x: introduce rt305x_register_spi helper
juhosg [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>

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

12 years agoramips: add SPI controller driver
juhosg [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>

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

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

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

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

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

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

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

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

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

12 years agoramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27804 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

12 years agoswconfig: Add generic switch identifiers
jogo [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.

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

12 years agobase-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP...
nbd [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

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

12 years ago[package] firewall: prevent redundant rules if multiple ports and multiple icmp types...
jow [Tue, 26 Jul 2011 22:21:39 +0000 (22:21 +0000)]
[package] firewall: prevent redundant rules if multiple ports and multiple icmp types are given in a rule block for both icmp and other protocols

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

12 years agoath9k: rework tx power handling - display the correct *current* tx power, and also...
nbd [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

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

12 years agox86/alix2: include WAN interface by default
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27787 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agox86/alix2: fix typo in target makefile
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27786 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

12 years ago[package] linux-atm: don't fail if an PREFIX env var is set
jow [Tue, 26 Jul 2011 10:47:59 +0000 (10:47 +0000)]
[package] linux-atm: don't fail if an PREFIX env var is set

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

12 years ago[package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted...
jow [Mon, 25 Jul 2011 22:19:55 +0000 (22:19 +0000)]
[package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts

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

12 years agox86: add missing config symbols
hauke [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.

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

12 years agobcm63xx: Fix SPI commands and register offsets for BCM6348
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27774 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

12 years agoonly export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts...
nbd [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

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

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

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

12 years agomac80211: remove the ccmp rx pn workaround, it should no longer be necessary and...
nbd [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)

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

12 years agoadd missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
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

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

12 years agokernel.mk: Fix kernel module path for 3.0
jogo [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.

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

12 years agoFrom: George Kashperko <george@znau.edu.ua>
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27760 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[generic] refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
jow [Sun, 24 Jul 2011 15:36:33 +0000 (15:36 +0000)]
[generic] refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final

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

12 years agobrcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
hauke [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.

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

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

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

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

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

12 years agortl8366_smi: implement a function for detecting whether the attached switch is RTL836...
nbd [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

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

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

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

12 years agoocf-linux: version bump to 20110720
hauke [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

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

12 years ago[package] broadcom-wl: give the 007 patch a more meaningful name
jow [Sun, 24 Jul 2011 14:14:48 +0000 (14:14 +0000)]
[package] broadcom-wl: give the 007 patch a more meaningful name

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

12 years ago[package] broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus
jow [Sun, 24 Jul 2011 14:10:39 +0000 (14:10 +0000)]
[package] 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

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

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

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

12 years agox86: 2.6.39 requires additional symbol
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27749 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

12 years agoatheros: fix mii phy read/write ioctl
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27747 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopkg-config: fix prefix
nbd [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 >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agogeos: include pppstats and pppdump in default packaging
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27743 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

12 years agoar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
nbd [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)

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

12 years ago[ppc44x]: upgrade to 3.0
kaloz [Sat, 23 Jul 2011 20:44:08 +0000 (20:44 +0000)]
[ppc44x]: upgrade to 3.0

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

12 years ago[orion]: upgrade to 3.0
kaloz [Sat, 23 Jul 2011 20:43:53 +0000 (20:43 +0000)]
[orion]: upgrade to 3.0

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

12 years ago[generic]: 3.0 is out
kaloz [Sat, 23 Jul 2011 20:42:58 +0000 (20:42 +0000)]
[generic]: 3.0 is out

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

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

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

12 years agomca80211: add support for b43 on bcma bus.
hauke [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.

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

12 years agobrcm47xx: build bcma into the kernel
hauke [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.

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

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

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