Commit Graph

5189 Commits (5611e4d94d1793afc6e1282f0bc43c75b8f4d5dd)

Author SHA1 Message Date
Felix Fietkau 1c0e751391 ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary

tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers

SVN-Revision: 20892
2010-04-15 23:31:17 +00:00
Alexandros C. Couloumbis 598e0656c5 brcm47xx: add preliminary 2.6.34 support
SVN-Revision: 20888
2010-04-15 20:50:50 +00:00
Alexandros C. Couloumbis af45b63a85 2.6.34: fix kzalloc error
SVN-Revision: 20881
2010-04-15 16:46:24 +00:00
Nicolas Thill d3e5ab1f19 target/toolchain: match toolchain directory name changes in r19885 & r20215 (closes: #7148 & #7162)
SVN-Revision: 20865
2010-04-15 00:33:40 +00:00
Nicolas Thill 34474b8840 target/adm5120: fix image building after r20834
SVN-Revision: 20855
2010-04-14 21:13:59 +00:00
Nicolas Thill 841eff56d4 target/ixp4xx: fix image building after r20834 (closes: #7157)
SVN-Revision: 20854
2010-04-14 14:36:41 +00:00
Daniel Dickinson fe5d55977e tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
SVN-Revision: 20850
2010-04-14 00:45:48 +00:00
Jo-Philipp Wich 6fd5014c56 add Buffalo WHR-G125 specifc switch quirks to netconfig, shorten code by merging identical fixes
SVN-Revision: 20846
2010-04-13 22:34:13 +00:00
Alexandros C. Couloumbis b5cfd7bde5 add lzma/jffs2 patches for 2.6.34
SVN-Revision: 20845
2010-04-13 21:45:03 +00:00
Alexandros C. Couloumbis 668fd62080 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
SVN-Revision: 20844
2010-04-13 21:36:58 +00:00
Lars-Peter Clausen e438c665db vp6500: Add backlight device
SVN-Revision: 20843
2010-04-13 20:52:41 +00:00
Felix Fietkau 231012cba0 ar71xx: fix image builds (broken by r20834)
SVN-Revision: 20840
2010-04-13 18:01:46 +00:00
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Nicolas Thill 0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli 06cece53ef fix module loading due to CONFIG_LOCALVERSION being on (#7144)
SVN-Revision: 20822
2010-04-12 12:33:41 +00:00
Gabor Juhos 185965e128 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org

SVN-Revision: 20821
2010-04-12 12:21:18 +00:00
Gabor Juhos bc4cd8c850 ppc40x: increase kernel partition size on OpenRB/Magicbox
Cc: backfire@openwrt.org

SVN-Revision: 20820
2010-04-12 12:21:15 +00:00
Gabor Juhos bd0c2617f1 ppc40x: sync kernel config
Cc: backfire@openwrt.org

SVN-Revision: 20819
2010-04-12 12:21:12 +00:00
Alexandros C. Couloumbis efaf0367f2 mpc83xx: add 2.6.33 support
SVN-Revision: 20818
2010-04-12 10:47:00 +00:00
Lars-Peter Clausen 985ce5e3fa vp6500: Add leds and keypad devices.
SVN-Revision: 20817
2010-04-12 00:11:18 +00:00
Lars-Peter Clausen d3f097bfde Add missing symbols to 2.6.34 config
SVN-Revision: 20816
2010-04-11 22:30:27 +00:00
Lars-Peter Clausen e95a1d7228 Use lzma kernel compression.
SVN-Revision: 20815
2010-04-11 22:12:10 +00:00
Florian Fainelli fba1a0a074 swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.

This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20811
2010-04-11 20:51:37 +00:00
Florian Fainelli 2a018eb380 refresh 2.6.33 patches for 2.6.33.2
SVN-Revision: 20803
2010-04-11 18:15:15 +00:00
Gabor Juhos de18353622 ramips: nuke clocksource init patch
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos 7581054e93 ramips: add sysupgrade support
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos 09aec474af ramips: add diag support
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos 2872bade69 ramips: enable image commandline hack and cmdline partition parsing
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos af05b16c98 ramips: add default profiles
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Lars-Peter Clausen d1031cd861 time.c: Timer enable registers are only 8bit width.
SVN-Revision: 20796
2010-04-11 16:24:06 +00:00
Florian Fainelli 15e8d2e0b7 add net5501 support
This patch brings up the net5501 platform.

Note that the x86/ target included support for all x86/ class
processors.  That's not technically correct.  This should be constrained
only to the "generic" subtarget.  Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.

It's also assumed that all x86 processors have keyboard & mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
that to the generic subtarget.

Fortunately, this was a fairly benign tweak.

The net5501 board includes the following logic:

Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 20794
2010-04-11 12:36:55 +00:00
Alexandros C. Couloumbis 62b96185c3 ixp4xx: add Titan Wireless TW-266-2 support (thanks juhosg & florian)
SVN-Revision: 20793
2010-04-11 09:03:10 +00:00
Alexandros C. Couloumbis 3c48fb6ff9 ixp4xx: add 2.6.33 support
SVN-Revision: 20792
2010-04-11 09:01:36 +00:00
Florian Fainelli f4d71f5e81 create two endian-specific subtargets, as malta can run both
SVN-Revision: 20790
2010-04-10 21:02:51 +00:00
John Crispin b4d0b6cbb3 adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
SVN-Revision: 20789
2010-04-10 20:11:28 +00:00
Florian Fainelli 6d12bc20ce remove 2.6.32 files, out of sync and going to be replaced differently
SVN-Revision: 20787
2010-04-10 18:44:44 +00:00
Lars-Peter Clausen 1d8823ae61 Add mx2 target with very basic support for the vp6500 voip phone
SVN-Revision: 20786
2010-04-10 18:37:34 +00:00
Felix Fietkau 1633dd6b6c ar71xx: add a profile for PB92
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Jo-Philipp Wich 8f25fb6086 add script to fixup the wireless mac (#7102)
SVN-Revision: 20775
2010-04-10 14:29:01 +00:00
Gabor Juhos 3491026cbb Generic: Clean up output of AR8216 driver.
This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org

SVN-Revision: 20773
2010-04-10 11:34:11 +00:00
Florian Fainelli 222390bafc refresh patches
SVN-Revision: 20767
2010-04-09 19:26:57 +00:00
Florian Fainelli b87e590b24 do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
SVN-Revision: 20765
2010-04-09 18:43:36 +00:00
Gabor Juhos 6139571932 ar71xx: nuke clocksource init patches, it is not required since 2.6.27
SVN-Revision: 20764
2010-04-09 13:33:03 +00:00
Alexandros C. Couloumbis 33bcbab6a4 x86: generic: fix soekris support (closes #7081)
SVN-Revision: 20757
2010-04-09 11:31:19 +00:00
Gabor Juhos dd7304ec6d ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org

SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos 72d4353728 generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org

SVN-Revision: 20753
2010-04-09 08:40:12 +00:00
Gabor Juhos d6c0363884 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org

SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Gabor Juhos 4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org

SVN-Revision: 20751
2010-04-09 08:40:06 +00:00