Commit Graph

21294 Commits (5770661b9c37e5712c29a7ee02cbfd40107d97cb)

Author SHA1 Message Date
Hauke Mehrtens ee6b31756a switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:07:58 +00:00
Hauke Mehrtens 99c69c1cbf rtc-rv5c386a: add support for kernel 3.0
remove BKL and adds support for changes in bcm47xx code


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:06:17 +00:00
Hauke Mehrtens 871991d9fe brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:04:54 +00:00
Gabor Juhos c56fd84056 ar71xx: enable sysupgrade on the AP96 and DB120 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:18 +00:00
Gabor Juhos 58c241ce9a ar71xx: use the same test for AP121 and Zcomax sysupgrade images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:17 +00:00
Gabor Juhos 084a24d146 ar71xx: cleanup image generation Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:16 +00:00
Felix Fietkau d715b0851d 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
2011-08-04 17:36:31 +00:00
Felix Fietkau 8268bc95d1 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
2011-08-04 17:36:27 +00:00
Felix Fietkau d04b90839d ar71xx: fix MAC/MDIO reset mask handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:23 +00:00
Felix Fietkau 53401a7cd4 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
2011-08-04 09:23:57 +00:00
Felix Fietkau 7eb7c8bdab 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
2011-08-04 00:35:20 +00:00
Felix Fietkau 196b6dcbaa 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
2011-08-04 00:35:16 +00:00
Felix Fietkau 27483c5598 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
2011-08-04 00:35:12 +00:00
Jonas Gorski 0b926dcd28 [kernel] generic: Add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-03 23:28:00 +00:00
Florian Fainelli fc47dcbba6 [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
2011-08-03 13:23:21 +00:00
Jonas Gorski a93d6d6ffc 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
2011-08-02 23:32:44 +00:00
Florian Fainelli fc87157651 [brcm63xx] add support for BCM6345 Ethernet DMA engine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 18:55:55 +00:00
Florian Fainelli c6242377bd [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
2011-08-02 18:55:46 +00:00
Florian Fainelli 7c92ebfb05 [kernel] refresh 3.0 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 18:55:38 +00:00
Felix Fietkau fb29c206c8 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
2011-08-02 15:12:08 +00:00
Florian Fainelli 95ea8a46c9 [rdc] fix r6040 multicast patch, thanks
nicolas le falher

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 14:13:00 +00:00
Jonas Gorski 667ab70bfd 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
2011-08-02 09:58:16 +00:00
Jonas Gorski 164e8d9bf6 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
2011-08-02 09:53:19 +00:00
Felix Fietkau 9b6d913a5a imagebuilder: clean opkg files if requested (patch from #9866)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 23:58:11 +00:00
Felix Fietkau 236483242b mac80211: fix a compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 21:14:15 +00:00
Felix Fietkau 0bdbd33dcb 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
2011-08-01 19:22:45 +00:00
Felix Fietkau e3b9933f66 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
2011-08-01 18:41:05 +00:00
Florian Fainelli 12f7419a64 [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
2011-08-01 18:16:19 +00:00
Felix Fietkau bf291cd7b7 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
2011-08-01 17:52:07 +00:00
Felix Fietkau a0621fc315 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
2011-08-01 17:42:00 +00:00
Vasilis Tsiligiannis cd2fc3bbe6 [package] kernel/modules: Add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 14:45:03 +00:00
Felix Fietkau 2686b1fba7 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
2011-08-01 12:15:22 +00:00
Felix Fietkau 9e97722854 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
2011-08-01 12:15:15 +00:00
Jonas Gorski 7e5971a850 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
2011-08-01 09:32:01 +00:00
Jo-Philipp Wich 2b36cc83f3 [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
2011-08-01 00:22:53 +00:00
Felix Fietkau 506daace14 kernel: enable inotify by default (#8055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 18:12:23 +00:00
Felix Fietkau 5611c2142c 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
2011-07-31 17:59:35 +00:00
Felix Fietkau 99477de202 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
2011-07-31 17:59:31 +00:00
Felix Fietkau 81a40cb8b3 squashfs4: add missing include for freebsd (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:25 +00:00
Jonas Gorski 2cf4797d5e 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
2011-07-31 17:58:46 +00:00
Jo-Philipp Wich 576e67e6f2 [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
2011-07-31 12:05:54 +00:00
Felix Fietkau 751c44889a 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
2011-07-30 15:39:52 +00:00
Felix Fietkau 9b98293f26 qos-scripts: disable by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 16:32:55 +00:00
Felix Fietkau 33195c7399 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
2011-07-29 14:14:32 +00:00
Felix Fietkau 51c0e450c7 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
2011-07-29 12:25:46 +00:00
Imre Kaloz 6b2e684c86 [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
2011-07-29 10:16:48 +00:00
Felix Fietkau 811dd70b8f hostapd: fix wds interface address handling for multi-bssid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 09:40:24 +00:00
Felix Fietkau 63022944e0 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
2011-07-29 09:40:19 +00:00
Gabor Juhos 892b77ebe1 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
2011-07-28 19:54:11 +00:00
Felix Fietkau 3649909c09 ppp: remove zero-length patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 17:34:44 +00:00