16967 Commits

Author SHA1 Message Date
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
c7dc060be4 [package] add kmod-ata-pdc202xx-old (#6950)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 18:39:03 +00:00
Florian Fainelli
89db4eb6fa [package] fix kmod-crc16 loading (#6949)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 18:38:56 +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
Jo-Philipp Wich
b11c2280a3 [package] block-extroot: r20784 reverted r20735, add it back (#7104)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 19:54:00 +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
Florian Fainelli
1d31ff0695 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:35:14 +00:00
Florian Fainelli
2c09f4e81c [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:35:08 +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
Felix Fietkau
05150b3da5 mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 16:50:15 +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
Jo-Philipp Wich
52b501976f [package] broadcom-wl: fix 11bg hwmode, add lrs mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 20:47:28 +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
Ralph Hempel
74d95ab32d [uboot-lantiq] 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 10:44:47 +00:00
Ralph Hempel
18e53204f4 [ifxmips-dsl-api] fix firmware handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 10:25:08 +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
Gabor Juhos
74f5972ab6 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
Gabor Juhos
a325986fbb 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:38:46 +00:00
Florian Fainelli
eb7f72ca01 [kernel] fix kexec for mips, patch from Adrian Byszuk (#7115)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich
b63c20e20c [brcm-2.4] broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-07 21:33:05 +00:00
Alexandros C. Couloumbis
cac4162fa0 package/grub: play it safe, cross compile everywhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-07 21:23:09 +00:00
Markus Wigge
8abc882764 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-07 07:45:54 +00:00
Jo-Philipp Wich
0424723f66 [package] block-extroot: unblock package if kmod-broadcom-sdhc has been selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 22:57:17 +00:00
Jo-Philipp Wich
d328f8c6b6 [atheros] fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 22:46:15 +00:00
Nicolas Thill
d21b23ab5e package/block-mount: disable config options altering busybox configuration, fix dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:52:51 +00:00
Nicolas Thill
46b64d6ae8 package/busybox: enable blkid, mkswap & swaponoff applets, enable uuid/volumeid support, bumb release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:51:35 +00:00
Felix Fietkau
6f4f5e06bc ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
fd27f8a1d9 [PATCH 1/2] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
Jo-Philipp Wich
9e277d3878 [brcm-2.4] add kernel support for iptables comment match
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 22:38:40 +00:00
Jo-Philipp Wich
12c8561736 [package] switch: explicitely clear port mappings in unsused vlans (#7082)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 13:51:26 +00:00
Nicolas Thill
9ea87948af target/rdc: revert [20653], the proper fix for #7005 is in [20712]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 02:38:59 +00:00