Commit Graph

14243 Commits

Author SHA1 Message Date
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
2de2c9ead2 add kmod-ata-pdc202xx-old (#6950)
SVN-Revision: 20808
2010-04-11 18:39:03 +00:00
Florian Fainelli
7258f9e4ba fix kmod-crc16 loading (#6949)
SVN-Revision: 20807
2010-04-11 18:38:56 +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
Jo-Philipp Wich
be4d9660e8 block-extroot: r20784 reverted r20735, add it back (#7104)
SVN-Revision: 20788
2010-04-10 19:54:00 +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
Florian Fainelli
135c4b8d05 add debugging entry to hotplug config
This is useful for seeing what devices are detected by the system.

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

SVN-Revision: 20785
2010-04-10 18:35:14 +00:00
Florian Fainelli
54e62a3f38 block-extroot depends on kmod-ata-core
The package block-extroot depends on some builtin package like
kmod-ide-core or kmod-usb-storage. But kmod-ata-core was forgotten; this
patch fixes it.

Signed-off-by: Benjamin Cama <benoar@free.fr>

SVN-Revision: 20784
2010-04-10 18:35:08 +00:00
Felix Fietkau
1633dd6b6c ar71xx: add a profile for PB92
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Felix Fietkau
f98e55faf0 mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
SVN-Revision: 20777
2010-04-10 16:50:15 +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
Jo-Philipp Wich
6134e99bee broadcom-wl: fix 11bg hwmode, add lrs mode
SVN-Revision: 20768
2010-04-09 20:47:28 +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
Ralph Hempel
f7b6aa6a44 update to version 2010.3 httpd-failsafe: removed warnings, cleanup html pages httpd-failsafe: kicking in if boot command fails httpd-failsafe: support of ctrl-c httpd-failsafe: fixed ether addr
thanks to Stas

SVN-Revision: 20756
2010-04-09 10:44:47 +00:00
Ralph Hempel
c81d122238 fix firmware handling
SVN-Revision: 20755
2010-04-09 10:25:08 +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
Gabor Juhos
4a28844d80 ar71xx: ag71xx: call the phy driver's netif_receive_skb()
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.

This fixes the header mangling of the AR8216 driver.

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

SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Florian Fainelli
722e75f066 fix kexec for mips, patch from Adrian Byszuk (#7115)
SVN-Revision: 20745
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich
d240d8edad broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
SVN-Revision: 20740
2010-04-07 21:33:05 +00:00
Alexandros C. Couloumbis
843ac4a11a package/grub: play it safe, cross compile everywhere
SVN-Revision: 20739
2010-04-07 21:23:09 +00:00
Markus Wigge
44c1a9e5e5 added WRT54G3GV2-VF detection to broadcom-diag
+ diag now recognizes the router
+ basic LEDs work
- 3G LED for blink does not work as for the old version
  so I removed it. Maybe some GPIO probing might help.

SVN-Revision: 20737
2010-04-07 07:45:54 +00:00
Jo-Philipp Wich
6b4eb9901a block-extroot: unblock package if kmod-broadcom-sdhc has been selected
SVN-Revision: 20735
2010-04-06 22:57:17 +00:00
Jo-Philipp Wich
44810702d2 fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
SVN-Revision: 20733
2010-04-06 22:46:15 +00:00
Nicolas Thill
a98a5a907a package/block-mount: disable config options altering busybox configuration, fix dependencies
SVN-Revision: 20727
2010-04-06 00:52:51 +00:00
Nicolas Thill
ee9af1fbb6 package/busybox: enable blkid, mkswap & swaponoff applets, enable uuid/volumeid support, bumb release number
SVN-Revision: 20726
2010-04-06 00:51:35 +00:00
Felix Fietkau
df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
23bebe33a7 Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.

SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Jo-Philipp Wich
22e3bd0d8b add kernel support for iptables comment match
SVN-Revision: 20720
2010-04-05 22:38:40 +00:00
Jo-Philipp Wich
501e154d03 switch: explicitely clear port mappings in unsused vlans (#7082)
SVN-Revision: 20717
2010-04-05 13:51:26 +00:00
Nicolas Thill
83bf10cb3f target/rdc: revert [20653], the proper fix for #7005 is in [20712]
SVN-Revision: 20714
2010-04-05 02:38:59 +00:00