5923 Commits

Author SHA1 Message Date
Alexandros C. Couloumbis
044142cf93 brcm47xx: fix ide drive assignment (closes #7061)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 15:05:32 +00:00
Jo-Philipp Wich
ef6563b517 [malta]
- enable PCI
	- add kmod-pcnet32 to default packages
	- make kmod-pcnet32 available for malta target


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 11:34:21 +00:00
Felix Fietkau
4593e471af 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
Alexandros C. Couloumbis
e5035b6261 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
Alexandros C. Couloumbis
607afa94b6 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
Nicolas Thill
394ddd4798 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
Nicolas Thill
18b6a66394 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
Daniel Dickinson
a471baeb22 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
Jo-Philipp Wich
b8e0c7790d [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
Alexandros C. Couloumbis
4578455f71 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
Alexandros C. Couloumbis
e11f6c9349 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-Peter Clausen
7bb11b297c [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
Felix Fietkau
93c328b6ee 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
Nicolas Thill
9d42bb1a21 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
Nicolas Thill
f46b3d70d3 [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
Alexandros C. Couloumbis
9328c2cecf 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 Fainelli
1a84e828c1 [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
Gabor Juhos
e63969f50d 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
Gabor Juhos
6fb667b005 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
Gabor Juhos
380f43d66f 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
Alexandros C. Couloumbis
bcaf4c2094 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-Peter Clausen
0d9c43d0f2 [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-Peter Clausen
f2d41eb747 [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-Peter Clausen
a91ccc96ab [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 Fainelli
ffc26f837f [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 Fainelli
6bc191d10c [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
Gabor Juhos
c2044506bd 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
Gabor Juhos
5bf4a5903b 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
Gabor Juhos
bd9c7b83ae 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
Gabor Juhos
43878f9c0f 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
Gabor Juhos
b3b2e91626 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
Gabor Juhos
bcfb5e7a8f 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-Peter Clausen
ef208e700c [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 Fainelli
af0b2ec8c7 [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
Alexandros C. Couloumbis
f14bc47ac3 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
Alexandros C. Couloumbis
9129ff4a17 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 Fainelli
d22077d79d [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
John Crispin
43f0e57664 [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 Fainelli
eb793abcfd [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-Peter Clausen
cc8fabf33f [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
Felix Fietkau
a365e6ee56 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
Jo-Philipp Wich
d6c27b7b06 [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
Gabor Juhos
797d41e061 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 Fainelli
668769edf7 [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 Fainelli
393df13165 [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
Gabor Juhos
c794abda1e 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
Alexandros C. Couloumbis
7082382109 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
Gabor Juhos
00b93e1214 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
Gabor Juhos
c1278631d6 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
Gabor Juhos
da7993d9f8 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