Commit graph

18422 commits

Author SHA1 Message Date
Lars-Peter Clausen
bf64b1ccb6 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
2011-08-05 16:52:46 +00:00
Felix Fietkau
2105acbe28 kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built
SVN-Revision: 27915
2011-08-05 16:39:04 +00:00
Florian Fainelli
55e020cd14 update to kernel 3.0
SVN-Revision: 27912
2011-08-05 13:48:42 +00:00
Florian Fainelli
698c1b4952 add more missing config symbols
SVN-Revision: 27911
2011-08-05 13:48:38 +00:00
Florian Fainelli
48af2495b4 update to kernel 3.0
SVN-Revision: 27910
2011-08-05 13:48:35 +00:00
Florian Fainelli
a8e79cbdf8 add 101-perf_arm_uclibc.patch to 3.0 patches
SVN-Revision: 27909
2011-08-05 13:48:31 +00:00
Florian Fainelli
c99d08f050 add missing config symbol
SVN-Revision: 27908
2011-08-05 13:48:28 +00:00
Gabor Juhos
7e5a1bc1d0 ar71xx: fix image generation
SVN-Revision: 27907
2011-08-05 10:31:52 +00:00
Hauke Mehrtens
77966b81d8 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
2011-08-04 20:10:24 +00:00
Hauke Mehrtens
773ce8c319 broadcom-diag: add support for bcma
SVN-Revision: 27905
2011-08-04 20:08:57 +00:00
Hauke Mehrtens
b220442c75 switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904
2011-08-04 20:07:58 +00:00
Hauke Mehrtens
695cef4f45 rtc-rv5c386a: add support for kernel 3.0
remove BKL and adds support for changes in bcm47xx code

SVN-Revision: 27903
2011-08-04 20:06:17 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Gabor Juhos
85b858fae6 ar71xx: enable sysupgrade on the AP96 and DB120 boards
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos
fb77134596 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Gabor Juhos
fd3a5f64f2 ar71xx: cleanup image generation Makefile
SVN-Revision: 27899
2011-08-04 19:41:16 +00:00
Felix Fietkau
4b75394056 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
2011-08-04 17:36:31 +00:00
Felix Fietkau
d2aeca6b6d 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
2011-08-04 17:36:27 +00:00
Felix Fietkau
500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Felix Fietkau
353639cdd9 ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
SVN-Revision: 27891
2011-08-04 09:23:57 +00:00
Felix Fietkau
e9aaa9061f ath9k: add some code to control internal driver queue length limits
SVN-Revision: 27890
2011-08-04 00:35:20 +00:00
Felix Fietkau
cdc70d84ce ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting
SVN-Revision: 27889
2011-08-04 00:35:16 +00:00
Felix Fietkau
e7174f44b7 ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes
SVN-Revision: 27888
2011-08-04 00:35:12 +00:00
Jonas Gorski
3b36e83a29 generic: Add missing config symbol
SVN-Revision: 27887
2011-08-03 23:28:00 +00:00
Florian Fainelli
4543f6d659 remove 8*1-usb_serial_endpoint_size.patch
This is breaking some devices out there such as Winchiphead CH341 adapters (#9601)

SVN-Revision: 27885
2011-08-03 13:23:21 +00:00
Jonas Gorski
5defa7f08d 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
2011-08-02 23:32:44 +00:00
Florian Fainelli
c37a9544bf add support for BCM6345 Ethernet DMA engine
SVN-Revision: 27881
2011-08-02 18:55:55 +00:00
Florian Fainelli
11c4128770 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
2011-08-02 18:55:46 +00:00
Florian Fainelli
c4af036ec7 refresh 3.0 patches
SVN-Revision: 27879
2011-08-02 18:55:38 +00:00
Felix Fietkau
54d97e6782 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
2011-08-02 15:12:08 +00:00
Florian Fainelli
a0ce3668a6 fix r6040 multicast patch, thanks nicolas le falher
SVN-Revision: 27876
2011-08-02 14:13:00 +00:00
Jonas Gorski
ed2b7cd342 linux/generic: remove obsolete kernel options from 3.0
Also fix one typo.

SVN-Revision: 27875
2011-08-02 09:58:16 +00:00
Jonas Gorski
61e2e03311 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
2011-08-02 09:53:19 +00:00
Felix Fietkau
e5e17a1ce8 imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
2011-08-01 23:58:11 +00:00
Felix Fietkau
e79f073de9 mac80211: fix a compiler warning
SVN-Revision: 27870
2011-08-01 21:14:15 +00:00
Felix Fietkau
fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
2011-08-01 19:22:45 +00:00
Felix Fietkau
c330325bda broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
2011-08-01 18:41:05 +00:00
Florian Fainelli
901618c68d 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
2011-08-01 18:16:19 +00:00
Felix Fietkau
9f3aea65fc mac80211: add missing chunks to the compat_firmware_class change
SVN-Revision: 27864
2011-08-01 17:52:07 +00:00
Felix Fietkau
21dd9478d7 mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
SVN-Revision: 27863
2011-08-01 17:42:00 +00:00
Vasilis Tsiligiannis
0cd8805b0a kernel/modules: Add missing config symbol
SVN-Revision: 27862
2011-08-01 14:45:03 +00:00
Felix Fietkau
d3f4416d58 ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues
SVN-Revision: 27861
2011-08-01 12:15:22 +00:00
Felix Fietkau
a1e19186fa ath9k: fold patches that were merged upstream into 300-pending_work.patch
SVN-Revision: 27860
2011-08-01 12:15:15 +00:00
Jonas Gorski
478decc60b gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat.

SVN-Revision: 27859
2011-08-01 09:32:01 +00:00
Jo-Philipp Wich
bd982fb72c 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
2011-08-01 00:22:53 +00:00
Felix Fietkau
62b8cba9c0 kernel: enable inotify by default (#8055)
SVN-Revision: 27853
2011-07-31 18:12:23 +00:00
Felix Fietkau
5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
2011-07-31 17:59:35 +00:00
Felix Fietkau
fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
2011-07-31 17:59:31 +00:00
Felix Fietkau
de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
2011-07-31 17:59:25 +00:00
Jonas Gorski
eb90f30ce7 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
2011-07-31 17:58:46 +00:00