openwrt/staging/ansuel.git
14 years agoar71xx: fix phy_mask for the RB450
Gabor Juhos [Wed, 9 Jun 2010 19:48:35 +0000 (19:48 +0000)]
ar71xx: fix phy_mask for the RB450

SVN-Revision: 21743

14 years agoar71xx: don't override CONFIG_BRIDGE_* options
Gabor Juhos [Wed, 9 Jun 2010 19:48:32 +0000 (19:48 +0000)]
ar71xx: don't override CONFIG_BRIDGE_* options

SVN-Revision: 21742

14 years agogeneric: update xt_layer7 module fix for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 17:56:42 +0000 (17:56 +0000)]
generic: update xt_layer7 module fix for 2.6.35

SVN-Revision: 21741

14 years agogeneric-2.6: layer7: convert xt_match_param to xt_action_param
Alexandros C. Couloumbis [Wed, 9 Jun 2010 17:29:25 +0000 (17:29 +0000)]
generic-2.6: layer7: convert xt_match_param to xt_action_param

SVN-Revision: 21740

14 years agogeneric: more missing symbols for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:43 +0000 (15:31 +0000)]
generic: more missing symbols for 2.6.35

SVN-Revision: 21739

14 years agogeneric: add missing layer7 patches for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:39 +0000 (15:31 +0000)]
generic: add missing layer7 patches for 2.6.35

SVN-Revision: 21738

14 years agoar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:36 +0000 (15:31 +0000)]
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35

SVN-Revision: 21737

14 years agoar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
Gabor Juhos [Wed, 9 Jun 2010 15:31:34 +0000 (15:31 +0000)]
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35

SVN-Revision: 21736

14 years agogeneric-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
Alexandros C. Couloumbis [Wed, 9 Jun 2010 15:14:12 +0000 (15:14 +0000)]
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch

SVN-Revision: 21735

14 years agoar71xx: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Wed, 9 Jun 2010 10:45:47 +0000 (10:45 +0000)]
ar71xx: add kernel 2.6.35 preliminary support

SVN-Revision: 21734

14 years agogeneric-2.6: add (some) missing config symbols for kernel 2.6.35
Alexandros C. Couloumbis [Wed, 9 Jun 2010 10:43:59 +0000 (10:43 +0000)]
generic-2.6: add (some) missing config symbols for kernel 2.6.35

SVN-Revision: 21733

14 years agogeneric: rename ip175c driver to ip17xx on 2.6.35 as well
Gabor Juhos [Wed, 9 Jun 2010 07:52:48 +0000 (07:52 +0000)]
generic: rename ip175c driver to ip17xx on 2.6.35 as well

SVN-Revision: 21732

14 years agoar71xx: add default network configuration file for the RB450/RB433 boards
Gabor Juhos [Tue, 8 Jun 2010 20:19:23 +0000 (20:19 +0000)]
ar71xx: add default network configuration file for the RB450/RB433 boards

SVN-Revision: 21730

14 years agoar71xx: enable the IP17xx driver for the nand subtarget
Gabor Juhos [Tue, 8 Jun 2010 20:19:20 +0000 (20:19 +0000)]
ar71xx: enable the IP17xx driver for the nand subtarget

Also disable the old ICPlus driver.

SVN-Revision: 21729

14 years agoar71xx: fix phy_mask on the RB433 for the IP17xx driver
Gabor Juhos [Tue, 8 Jun 2010 20:19:18 +0000 (20:19 +0000)]
ar71xx: fix phy_mask on the RB433 for the IP17xx driver

SVN-Revision: 21728

14 years agoip17xx: fix autonegotioation issues
Gabor Juhos [Tue, 8 Jun 2010 20:19:14 +0000 (20:19 +0000)]
ip17xx: fix autonegotioation issues

SVN-Revision: 21727

14 years agogeneric: add aneg_done and update_link functions for the phy_device
Gabor Juhos [Tue, 8 Jun 2010 20:19:11 +0000 (20:19 +0000)]
generic: add aneg_done and update_link functions for the phy_device

SVN-Revision: 21726

14 years agoip17xx: Update the copyright message
Gabor Juhos [Tue, 8 Jun 2010 20:19:08 +0000 (20:19 +0000)]
ip17xx: Update the copyright message

Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21725

14 years agoip17xx: Rename the driver to ip17xx.c
Gabor Juhos [Tue, 8 Jun 2010 20:19:05 +0000 (20:19 +0000)]
ip17xx: Rename the driver to ip17xx.c

Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21724

14 years agoip17xx: The big rename
Gabor Juhos [Tue, 8 Jun 2010 20:18:58 +0000 (20:18 +0000)]
ip17xx: The big rename

Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21723

14 years agoip17xx: Keep all state locally
Gabor Juhos [Tue, 8 Jun 2010 20:18:55 +0000 (20:18 +0000)]
ip17xx: Keep all state locally

Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21722

14 years agoip17xx: Add support for IP175D
Gabor Juhos [Tue, 8 Jun 2010 20:18:51 +0000 (20:18 +0000)]
ip17xx: Add support for IP175D

Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21721

14 years agoip17xx: Avoid auto-negotiation
Gabor Juhos [Tue, 8 Jun 2010 20:18:47 +0000 (20:18 +0000)]
ip17xx: Avoid auto-negotiation

Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21720

14 years agoip17xx: New chip detection
Gabor Juhos [Tue, 8 Jun 2010 20:18:42 +0000 (20:18 +0000)]
ip17xx: New chip detection

Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21719

14 years agoip17xx: Add VLAN tag field
Gabor Juhos [Tue, 8 Jun 2010 20:18:38 +0000 (20:18 +0000)]
ip17xx: Add VLAN tag field

Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21718

14 years agoip17xx: Maintain state->remove_tag incrementally
Gabor Juhos [Tue, 8 Jun 2010 20:18:34 +0000 (20:18 +0000)]
ip17xx: Maintain state->remove_tag incrementally

So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21717

14 years agoip17xx: Initialize VLAN state upon reset
Gabor Juhos [Tue, 8 Jun 2010 20:18:30 +0000 (20:18 +0000)]
ip17xx: Initialize VLAN state upon reset

Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21716

14 years agoip17xx: Introduce vlan array
Gabor Juhos [Tue, 8 Jun 2010 20:18:25 +0000 (20:18 +0000)]
ip17xx: Introduce vlan array

Replace vlan_ports array in struct ip175c_state by an array of structures.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21715

14 years agoip17xx: Introduce indirection of low-level operations
Gabor Juhos [Tue, 8 Jun 2010 20:18:20 +0000 (20:18 +0000)]
ip17xx: Introduce indirection of low-level operations

This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21714

14 years agoip17xx: Fix use of MODE_VAL
Gabor Juhos [Tue, 8 Jun 2010 20:18:15 +0000 (20:18 +0000)]
ip17xx: Fix use of MODE_VAL

The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21713

14 years agoip17xx: Fix indentation in get_state() and update_state()
Gabor Juhos [Tue, 8 Jun 2010 20:18:10 +0000 (20:18 +0000)]
ip17xx: Fix indentation in get_state() and update_state()

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21712

14 years agoip17xx: Fixed error handling in ip175c_set_val()
Gabor Juhos [Tue, 8 Jun 2010 20:18:05 +0000 (20:18 +0000)]
ip17xx: Fixed error handling in ip175c_set_val()

Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21711

14 years agoip17xx: Cosmetic cleanups
Gabor Juhos [Tue, 8 Jun 2010 20:18:00 +0000 (20:18 +0000)]
ip17xx: Cosmetic cleanups

Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21710

14 years agoip17xx: Consolidate operations with PHY registers
Gabor Juhos [Tue, 8 Jun 2010 20:17:55 +0000 (20:17 +0000)]
ip17xx: Consolidate operations with PHY registers

Call mdiobus_{read,write} instead of duplicating their code.

Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.

Also add DUMP_MII_IO, which enables logging of all MII accesses.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21709

14 years agoswconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
Gabor Juhos [Tue, 8 Jun 2010 20:17:03 +0000 (20:17 +0000)]
swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED

SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21708

14 years agobrcm47xx: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Tue, 8 Jun 2010 16:58:06 +0000 (16:58 +0000)]
brcm47xx: add kernel 2.6.35 preliminary support

SVN-Revision: 21707

14 years agogeneric-2.6: fix mini_fo 2.6.35 kernel issue
Alexandros C. Couloumbis [Tue, 8 Jun 2010 16:44:42 +0000 (16:44 +0000)]
generic-2.6: fix mini_fo 2.6.35 kernel issue

SVN-Revision: 21706

14 years agofix a typo on commit r21704
Alexandros C. Couloumbis [Tue, 8 Jun 2010 16:19:34 +0000 (16:19 +0000)]
fix a typo on commit r21704

SVN-Revision: 21705

14 years agogeneric-2.6: generic: add missing config symbols for 2.6.35
Alexandros C. Couloumbis [Tue, 8 Jun 2010 16:13:37 +0000 (16:13 +0000)]
generic-2.6: generic: add missing config symbols for 2.6.35

SVN-Revision: 21704

14 years agoatheros: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Tue, 8 Jun 2010 15:01:35 +0000 (15:01 +0000)]
atheros: add kernel 2.6.35 preliminary support

SVN-Revision: 21703

14 years agomove broadcom-shdc from trunk to packages/utils
Florian Fainelli [Mon, 7 Jun 2010 11:26:32 +0000 (11:26 +0000)]
move broadcom-shdc from trunk to packages/utils

SVN-Revision: 21702

14 years agokernel: ensure that IMQ is autoloaded after ip_queue, fixes disappearing traffic...
Jo-Philipp Wich [Mon, 7 Jun 2010 10:47:20 +0000 (10:47 +0000)]
kernel: ensure that IMQ is autoloaded after ip_queue, fixes disappearing traffic when using qos rules

SVN-Revision: 21700

14 years agogeneric: add missing config symbol for 2.6.34
Gabor Juhos [Mon, 7 Jun 2010 09:18:18 +0000 (09:18 +0000)]
generic: add missing config symbol for 2.6.34

SVN-Revision: 21699

14 years agoar71xx: fix 2.6.34 build errors
Gabor Juhos [Mon, 7 Jun 2010 09:18:13 +0000 (09:18 +0000)]
ar71xx: fix 2.6.34 build errors

SVN-Revision: 21698

14 years agoar71xx: add missing 2.6.34 config symbol
Gabor Juhos [Mon, 7 Jun 2010 09:17:34 +0000 (09:17 +0000)]
ar71xx: add missing 2.6.34 config symbol

SVN-Revision: 21697

14 years agogeneric-2.6: add kernel 2.6.35 preliminary support (patches)
Alexandros C. Couloumbis [Mon, 7 Jun 2010 05:56:49 +0000 (05:56 +0000)]
generic-2.6: add kernel 2.6.35 preliminary support (patches)

SVN-Revision: 21696

14 years agogeneric-2.6: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Mon, 7 Jun 2010 05:54:29 +0000 (05:54 +0000)]
generic-2.6: add kernel 2.6.35 preliminary support

SVN-Revision: 21695

14 years agorefresh kernel patches
Alexandros C. Couloumbis [Sun, 6 Jun 2010 21:16:31 +0000 (21:16 +0000)]
refresh kernel patches

SVN-Revision: 21694

14 years agoadd 2.6.35 support
Alexandros C. Couloumbis [Sun, 6 Jun 2010 19:34:41 +0000 (19:34 +0000)]
add 2.6.35 support

SVN-Revision: 21693

14 years agogenerate NA and non-NA images for Titan platforms
Florian Fainelli [Sun, 6 Jun 2010 19:17:01 +0000 (19:17 +0000)]
generate NA and non-NA images for Titan platforms

SVN-Revision: 21692

14 years agoadd Titan MTD partitionning support (#6632)
Florian Fainelli [Sun, 6 Jun 2010 19:16:55 +0000 (19:16 +0000)]
add Titan MTD partitionning support (#6632)

SVN-Revision: 21691

14 years agotitan board also have CYWL as a product id
Florian Fainelli [Sun, 6 Jun 2010 19:16:49 +0000 (19:16 +0000)]
titan board also have CYWL as a product id

SVN-Revision: 21690

14 years agoadd mktitanimg to create Titan (AR7-based) images (#6632)
Florian Fainelli [Sun, 6 Jun 2010 19:16:43 +0000 (19:16 +0000)]
add mktitanimg to create Titan (AR7-based) images (#6632)

SVN-Revision: 21689

14 years agodo not override kmod-usb-storage-extras Kconfig symbols (#7285)
Florian Fainelli [Sun, 6 Jun 2010 19:02:30 +0000 (19:02 +0000)]
do not override kmod-usb-storage-extras Kconfig symbols (#7285)

SVN-Revision: 21688

14 years agoupdate openssl to 0.9.8o (#7428)
Florian Fainelli [Sun, 6 Jun 2010 19:02:22 +0000 (19:02 +0000)]
update openssl to 0.9.8o (#7428)

SVN-Revision: 21687

14 years agoar71xx: build firmware images if Minimal profile is selected
Gabor Juhos [Sun, 6 Jun 2010 17:41:39 +0000 (17:41 +0000)]
ar71xx: build firmware images if Minimal profile is selected

SVN-Revision: 21684

14 years agoar71xx: rename Minimal profile
Gabor Juhos [Sun, 6 Jun 2010 17:41:34 +0000 (17:41 +0000)]
ar71xx: rename Minimal profile

SVN-Revision: 21683

14 years agoorion: Update Orion in trunk to kernel 2.6.34.
Hauke Mehrtens [Sun, 6 Jun 2010 10:51:52 +0000 (10:51 +0000)]
orion: Update Orion in trunk to kernel 2.6.34.

Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405

Thank you maddes for your patch.

SVN-Revision: 21682

14 years agogeneric: update mips multimachine patch
Gabor Juhos [Sat, 5 Jun 2010 18:26:45 +0000 (18:26 +0000)]
generic: update mips multimachine patch

SVN-Revision: 21681

14 years agoadm5120: convert to use the new mips multimachine stuff
Gabor Juhos [Sat, 5 Jun 2010 18:26:40 +0000 (18:26 +0000)]
adm5120: convert to use the new mips multimachine stuff

SVN-Revision: 21680

14 years agoar71xx: clarify the nand subtarget a bit
Felix Fietkau [Sat, 5 Jun 2010 11:55:49 +0000 (11:55 +0000)]
ar71xx: clarify the nand subtarget a bit

SVN-Revision: 21679

14 years agogeneric: merge mips multi machine update to generic patches for 2.6.34
Gabor Juhos [Fri, 4 Jun 2010 19:09:52 +0000 (19:09 +0000)]
generic: merge mips multi machine update to generic patches for 2.6.34

SVN-Revision: 21675

14 years agogeneric: merge mips multi machine update to generic patches for 2.6.33
Gabor Juhos [Fri, 4 Jun 2010 19:09:49 +0000 (19:09 +0000)]
generic: merge mips multi machine update to generic patches for 2.6.33

SVN-Revision: 21674

14 years agogeneric: merge mips multi machine update to generic patches for 2.6.32
Gabor Juhos [Fri, 4 Jun 2010 19:09:46 +0000 (19:09 +0000)]
generic: merge mips multi machine update to generic patches for 2.6.32

SVN-Revision: 21673

14 years agoadm5120: don't use linux/autoconf.h
Gabor Juhos [Fri, 4 Jun 2010 19:09:43 +0000 (19:09 +0000)]
adm5120: don't use linux/autoconf.h

SVN-Revision: 21672

14 years agoadm5120: fix build error on 2.6.34
Gabor Juhos [Fri, 4 Jun 2010 19:09:39 +0000 (19:09 +0000)]
adm5120: fix build error on 2.6.34

SVN-Revision: 21671

14 years agoForce usb features, fix depends
Claudio Mignanti [Thu, 3 Jun 2010 09:52:34 +0000 (09:52 +0000)]
Force usb features, fix depends

SVN-Revision: 21664

14 years agolibelf: get rid of CRLF encoding in the makefile (thx, danimo)
Felix Fietkau [Thu, 3 Jun 2010 00:44:49 +0000 (00:44 +0000)]
libelf: get rid of CRLF encoding in the makefile (thx, danimo)

SVN-Revision: 21663

14 years agobase-files: introduce option "broadcast" for proto=dhcp interface to enable the broad...
Jo-Philipp Wich [Wed, 2 Jun 2010 20:21:41 +0000 (20:21 +0000)]
base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers

SVN-Revision: 21661

14 years agofix eglibc INET_ANL option selection
Florian Fainelli [Wed, 2 Jun 2010 19:47:41 +0000 (19:47 +0000)]
fix eglibc INET_ANL option selection

SVN-Revision: 21660

14 years agobase-files: remove IPv6 LL addr from interfaces before adding them to a bridge
Jo-Philipp Wich [Wed, 2 Jun 2010 17:18:38 +0000 (17:18 +0000)]
base-files: remove IPv6 LL addr from interfaces before adding them to a bridge

SVN-Revision: 21659

14 years agomac80211: reduce the size of the debugfs code
Felix Fietkau [Wed, 2 Jun 2010 01:12:16 +0000 (01:12 +0000)]
mac80211: reduce the size of the debugfs code

SVN-Revision: 21657

14 years agofirewall: - support alias ifnames different from parent ifname - properly handle...
Jo-Philipp Wich [Wed, 2 Jun 2010 00:59:35 +0000 (00:59 +0000)]
firewall: - support alias ifnames different from parent ifname - properly handle multiple subnets per alias (v4+v6)

SVN-Revision: 21656

14 years agobase-files: - add aliases to device by default (not ifname) - introduce option "layer...
Jo-Philipp Wich [Wed, 2 Jun 2010 00:22:13 +0000 (00:22 +0000)]
base-files: - add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device

SVN-Revision: 21655

14 years agomac80211: remove the pid rate control algorithm to save a few kbytes
Felix Fietkau [Tue, 1 Jun 2010 23:11:43 +0000 (23:11 +0000)]
mac80211: remove the pid rate control algorithm to save a few kbytes

SVN-Revision: 21654

14 years agofirewall: Initial alias interface support. This allows to define zones covering alias...
Jo-Philipp Wich [Tue, 1 Jun 2010 21:58:48 +0000 (21:58 +0000)]
firewall: Initial alias interface support. This allows to define zones covering alias interfaces and associated entries like rules and forwardings.

SVN-Revision: 21653

14 years agobase-file: move alias setup to route hotplug, this fixes alias sections for non-stati...
Jo-Philipp Wich [Tue, 1 Jun 2010 21:43:52 +0000 (21:43 +0000)]
base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.

SVN-Revision: 21652

14 years agoath9k: one more queue stop/start fix
Felix Fietkau [Tue, 1 Jun 2010 19:30:32 +0000 (19:30 +0000)]
ath9k: one more queue stop/start fix

SVN-Revision: 21651

14 years agoath9k: fix queue stopping/starting logic, should slightly reduce RAM usage under...
Felix Fietkau [Tue, 1 Jun 2010 17:38:01 +0000 (17:38 +0000)]
ath9k: fix queue stopping/starting logic, should slightly reduce RAM usage under load and make throughput more smooth

SVN-Revision: 21650

14 years agoorion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
Felix Fietkau [Tue, 1 Jun 2010 14:41:37 +0000 (14:41 +0000)]
orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)

SVN-Revision: 21647

14 years agoar71xx: fix rootfs mount issue (closes #7319)
Alexandros C. Couloumbis [Tue, 1 Jun 2010 08:49:57 +0000 (08:49 +0000)]
ar71xx: fix rootfs mount issue (closes #7319)

SVN-Revision: 21645

14 years agoFix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
John Crispin [Mon, 31 May 2010 11:57:32 +0000 (11:57 +0000)]
Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.

Signed-off-by: Helmut Schaa
SVN-Revision: 21643

14 years agofirewall: change the order of IPv4/IPv6 address detection, fixes mixed notation v6...
Jo-Philipp Wich [Mon, 31 May 2010 01:34:47 +0000 (01:34 +0000)]
firewall: change the order of IPv4/IPv6 address detection, fixes mixed notation v6 improperly detected as v4 address

SVN-Revision: 21642

14 years agobase-files: don't skip subsequent hotplug rules when doing makedev for tun or tap...
Jo-Philipp Wich [Mon, 31 May 2010 01:22:36 +0000 (01:22 +0000)]
base-files: don't skip subsequent hotplug rules when doing makedev for tun or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices

SVN-Revision: 21641

14 years agofirewall: fix support for netranges in redirect and rule sections
Jo-Philipp Wich [Sun, 30 May 2010 23:49:47 +0000 (23:49 +0000)]
firewall: fix support for netranges in redirect and rule sections

SVN-Revision: 21640

14 years agobase-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for...
Jo-Philipp Wich [Sun, 30 May 2010 18:23:43 +0000 (18:23 +0000)]
base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision

SVN-Revision: 21638

14 years agobrcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
Daniel Dickinson [Sun, 30 May 2010 03:21:22 +0000 (03:21 +0000)]
brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific

SVN-Revision: 21637

14 years agobrcm-2.4: preinit: Removed duplicate failsafe switch config file
Daniel Dickinson [Sun, 30 May 2010 03:21:11 +0000 (03:21 +0000)]
brcm-2.4: preinit: Removed duplicate failsafe switch config file

SVN-Revision: 21636

14 years agoramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main...
Daniel Dickinson [Sun, 30 May 2010 03:21:00 +0000 (03:21 +0000)]
ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced

SVN-Revision: 21635

14 years agoar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main...
Daniel Dickinson [Sun, 30 May 2010 03:20:49 +0000 (03:20 +0000)]
ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced

SVN-Revision: 21634

14 years agoadm5120: Added preinit script to set vars based on cpuinfo during preinit main; This...
Daniel Dickinson [Sun, 30 May 2010 03:20:38 +0000 (03:20 +0000)]
adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run

SVN-Revision: 21633

14 years agoadm5120: Fixed name of preinit_iface scriptlet
Daniel Dickinson [Sun, 30 May 2010 03:20:27 +0000 (03:20 +0000)]
adm5120: Fixed name of preinit_iface scriptlet

SVN-Revision: 21632

14 years agobrcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference...
Daniel Dickinson [Sun, 30 May 2010 02:04:56 +0000 (02:04 +0000)]
brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference design)

SVN-Revision: 21631

14 years agobrcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods
Daniel Dickinson [Sun, 30 May 2010 01:44:37 +0000 (01:44 +0000)]
brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods

SVN-Revision: 21630

14 years agobrcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on...
Daniel Dickinson [Sun, 30 May 2010 01:33:20 +0000 (01:33 +0000)]
brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)

SVN-Revision: 21629

14 years agobrcm63xx: Added preinit reset button module loading for devices known to support...
Daniel Dickinson [Sun, 30 May 2010 01:33:09 +0000 (01:33 +0000)]
brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)

SVN-Revision: 21628

14 years agobrcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
Daniel Dickinson [Sun, 30 May 2010 01:32:58 +0000 (01:32 +0000)]
brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)

SVN-Revision: 21627

14 years agobrcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
Daniel Dickinson [Sun, 30 May 2010 01:32:47 +0000 (01:32 +0000)]
brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)

SVN-Revision: 21626

14 years agokernel: add missing config symbols.
Hauke Mehrtens [Sat, 29 May 2010 14:32:58 +0000 (14:32 +0000)]
kernel: add missing config symbols.

Thank you Maddes for your patch

This closes #7375.

SVN-Revision: 21623

14 years agokernel: add lzma support for arm cpu.
Hauke Mehrtens [Sat, 29 May 2010 14:31:56 +0000 (14:31 +0000)]
kernel: add lzma support for arm cpu.

This patch appears to be lost beetween 2.6.32 and 2.6.33.

Thank you Maddes for the patch.

This helps making orion work with kernel 2.6.34.
closes  #7377.

SVN-Revision: 21622