1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 08:48:25 +02:00
Commit Graph

6205 Commits

Author SHA1 Message Date
nbd
ea9bbe955d 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 23:31:17 +00:00
acoul
7d1583626f brcm47xx: add preliminary 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 20:50:50 +00:00
acoul
6097fc85f4 2.6.34: fix kzalloc error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 16:46:24 +00:00
nico
8848c0b71e target/toolchain: match toolchain directory name changes in r19885 & r20215 (closes: #7148 & #7162)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 00:33:40 +00:00
nico
dc81db4feb target/adm5120: fix image building after r20834
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 21:13:59 +00:00
nico
9ae534567b target/ixp4xx: fix image building after r20834 (closes: #7157)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 14:36:41 +00:00
cshore
f0ef3b7078 tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 00:45:48 +00:00
jow
f21467f19d [brcm-2.4] add Buffalo WHR-G125 specifc switch quirks to netconfig, shorten code by merging identical fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 22:34:13 +00:00
acoul
fa4b0fde69 add lzma/jffs2 patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:45:03 +00:00
acoul
6376010841 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
lars
e690b9d312 [mx2] vp6500: Add backlight device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 20:52:41 +00:00
nbd
6b17f453aa ar71xx: fix image builds (broken by r20834)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 18:01:46 +00:00
nico
bca3f225e9 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
nico
abe312efd5 [cleanup] remove 'svn:executable' property
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 17:08:57 +00:00
acoul
7a35563612 add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
florian
692ee14373 [malta] fix module loading due to CONFIG_LOCALVERSION being on (#7144)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:33:41 +00:00
juhosg
933921a3b1 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:21:18 +00:00
juhosg
ff9eb9da70 ppc40x: increase kernel partition size on OpenRB/Magicbox
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:21:15 +00:00
juhosg
92cdff09f0 ppc40x: sync kernel config
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:21:12 +00:00
acoul
533aeeeb6f mpc83xx: add 2.6.33 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 10:47:00 +00:00
lars
2813d4aa74 [mx2] vp6500: Add leds and keypad devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 00:11:18 +00:00
lars
08c30bcfff [kernel] Add missing symbols to 2.6.34 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 22:30:27 +00:00
lars
a0564173e3 [mx2] Use lzma kernel compression.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 22:12:10 +00:00
florian
b02fa11a17 [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 20:51:37 +00:00
florian
6740bf6a0f [kernel] refresh 2.6.33 patches for 2.6.33.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 18:15:15 +00:00
juhosg
eb4297a352 ramips: nuke clocksource init patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:30 +00:00
juhosg
52a2bdc2ed ramips: generate sysupgrade images for the rt305x devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:28 +00:00
juhosg
c540e18b68 ramips: add sysupgrade support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:25 +00:00
juhosg
a635a19c37 ramips: add diag support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:23 +00:00
juhosg
501e9e372c ramips: enable image commandline hack and cmdline partition parsing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:20 +00:00
juhosg
079e50813d ramips: add default profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:17 +00:00
lars
3d00b9bbe1 [xburst] time.c: Timer enable registers are only 8bit width.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 16:24:06 +00:00
florian
8ff8151448 [x86] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 12:36:55 +00:00
acoul
2f643ce9e6 ixp4xx: add Titan Wireless TW-266-2 support (thanks juhosg & florian)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 09:03:10 +00:00
acoul
294d323cad ixp4xx: add 2.6.33 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 09:01:36 +00:00
florian
294d91d66c [malta] create two endian-specific subtargets, as malta can run both
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 21:02:51 +00:00
blogic
656f01b9c9 [ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 20:11:28 +00:00
florian
1314516464 [rdc] remove 2.6.32 files, out of sync and going to be replaced differently
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:44:44 +00:00
lars
d531754b83 [kernel] Add mx2 target with very basic support for the vp6500 voip phone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:37:34 +00:00
nbd
e1d249d8b4 ar71xx: add a profile for PB92
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 16:50:20 +00:00
jow
35d8522c6a [brcm47xx] add script to fixup the wireless mac (#7102)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 14:29:01 +00:00
juhosg
3c6e0e0859 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 11:34:11 +00:00
florian
37ed3994c5 [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 19:26:57 +00:00
florian
7612d83820 [brcm63xx] do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 18:43:36 +00:00
juhosg
c4e7fe7515 ar71xx: nuke clocksource init patches, it is not required since 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 13:33:03 +00:00
acoul
c6e3d67e8f x86: generic: fix soekris support (closes #7081)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 11:31:19 +00:00
juhosg
3d089c4fe3 ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:14 +00:00
juhosg
9823d2fc7e generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:12 +00:00
juhosg
d7e830a7a9 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:09 +00:00
juhosg
da7aaa905b ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:06 +00:00