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).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27934 3c298f89-4303-0410-b956-a3cf2f4a3e73
This is always used to build a firmware for linux systems also if we are on freebsd.
This is one patch from #9897
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27926 3c298f89-4303-0410-b956-a3cf2f4a3e73
This mends mkimage for getline() in Mac OS X 10.7.
Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27917 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27916 3c298f89-4303-0410-b956-a3cf2f4a3e73
As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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
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
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
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
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
- 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
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
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