openwrt.git
14 years agoip17xx: Rename the driver to ip17xx.c
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: The big rename
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Keep all state locally
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Add support for IP175D
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Avoid auto-negotiation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21720 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: New chip detection
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Add VLAN tag field
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21718 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Maintain state->remove_tag incrementally
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21717 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Initialize VLAN state upon reset
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Introduce vlan array
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21715 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Introduce indirection of low-level operations
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Fix use of MODE_VAL
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Fix indentation in get_state() and update_state()
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Fixed error handling in ip175c_set_val()
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Cosmetic cleanups
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoip17xx: Consolidate operations with PHY registers
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoswconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21708 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21707 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21704 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21702 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21700 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21695 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package/madwifi] add 2.6.35 support
acoul [Sun, 6 Jun 2010 19:34:41 +0000 (19:34 +0000)]
[package/madwifi] add 2.6.35 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21693 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21692 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21691 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21690 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21688 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21687 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoorion: Update Orion in trunk to kernel 2.6.34.
hauke [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21682 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[etrax] Force usb features, fix depends
claudio [Thu, 3 Jun 2010 09:52:34 +0000 (09:52 +0000)]
[etrax] Force usb features, fix depends

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21664 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21661 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[toolchain] fix eglibc INET_ANL option selection
florian [Wed, 2 Jun 2010 19:47:41 +0000 (19:47 +0000)]
[toolchain] fix eglibc INET_ANL option selection

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21660 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21659 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21657 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21656 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package] base-files:
jow [Wed, 2 Jun 2010 00:22:13 +0000 (00:22 +0000)]
[package] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21654 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21653 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21651 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoath9k: fix queue stopping/starting logic, should slightly reduce RAM usage under...
nbd [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21650 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoorion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
nbd [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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21647 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoFix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
blogic [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21642 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package] base-files: don't skip subsequent hotplug rules when doing makedev for...
jow [Mon, 31 May 2010 01:22:36 +0000 (01:22 +0000)]
[package] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21641 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package] firewall: fix support for netranges in redirect and rule sections
jow [Sun, 30 May 2010 23:49:47 +0000 (23:49 +0000)]
[package] firewall: fix support for netranges in redirect and rule sections

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21640 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package] base-files:
jow [Sun, 30 May 2010 18:23:43 +0000 (18:23 +0000)]
[package] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agobrcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
cshore [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21637 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21636 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main...
cshore [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main...
cshore [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoadm5120: Added preinit script to set vars based on cpuinfo during preinit main; This...
cshore [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21633 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21632 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21631 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21630 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agobrcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on...
cshore [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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21629 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agobrcm63xx: Added preinit reset button module loading for devices known to support...
cshore [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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21628 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21627 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21626 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agokernel: add missing config symbols.
hauke [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21623 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agokernel: add lzma support for arm cpu.
hauke [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21622 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agodocs: fix a counting fail
nbd [Sat, 29 May 2010 13:11:48 +0000 (13:11 +0000)]
docs: fix a counting fail

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21621 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] udc: Fix recursive spinlocks
lars [Sat, 29 May 2010 00:12:09 +0000 (00:12 +0000)]
[xburst] udc: Fix recursive spinlocks

Driver had recursive spinlock locking: 1. jz4740_queue() acquires lock 2. done()
is called in chain:
jz4740_queue()->jz4740_ep0_kick()->jz4740_ep0_in()->write_fifo_ep0()->done() and
it tries to acquire same lock. 3. Deadlock.

Signed-off-by:
Yauhen Kharuzhy <jekhor@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21619 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] ASoC: Fix and cleaup dma config
lars [Sat, 29 May 2010 00:09:51 +0000 (00:09 +0000)]
[xburst] ASoC: Fix and cleaup dma config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21618 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] core fixes
lars [Sat, 29 May 2010 00:09:11 +0000 (00:09 +0000)]
[xburst] core fixes
* Mask timer irq on startup
* Fix dma width constants
* Do not try to ack intc irqs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21617 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[brcm47xx] Rename .trx2 image to openwrt-wrt54g3gv2-vf-squashfs-sysupgrade.bin and...
jow [Sat, 29 May 2010 00:08:07 +0000 (00:08 +0000)]
[brcm47xx] Rename .trx2 image to openwrt-wrt54g3gv2-vf-squashfs-sysupgrade.bin and openwrt-wrt54g3gv2-vf-squashfs.bin to openwrt-wrt54g3gv2-vf-squashfs-factory.bin

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21616 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] jzcodec: Enable support for S8 format
lars [Sat, 29 May 2010 00:06:59 +0000 (00:06 +0000)]
[xburst] jzcodec: Enable support for S8 format

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21615 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] fb: Fix pseudo palette for non 32bit color depth.
lars [Sat, 29 May 2010 00:06:19 +0000 (00:06 +0000)]
[xburst] fb: Fix pseudo palette for non 32bit color depth.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21614 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[xburst] rtc: Put rtc Kconfig entry into the correct section
lars [Sat, 29 May 2010 00:05:13 +0000 (00:05 +0000)]
[xburst] rtc: Put rtc Kconfig entry into the correct section

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21613 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years ago[package] 6in4:
jow [Fri, 28 May 2010 22:03:30 +0000 (22:03 +0000)]
[package] 6in4:
- support to automatically determine the local endpoint address from the current IPv4 default gateway
- support updating the tunnel endpoint for he.net

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21612 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agotoolchain/eglibc: add preliminary support for eglibc-2.12
nico [Fri, 28 May 2010 20:37:56 +0000 (20:37 +0000)]
toolchain/eglibc: add preliminary support for eglibc-2.12

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21611 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agotoolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
nico [Fri, 28 May 2010 19:48:25 +0000 (19:48 +0000)]
toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21610 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agox86: build fully functional images on Mac OS X, now that grub is fixed
nbd [Fri, 28 May 2010 19:48:21 +0000 (19:48 +0000)]
x86: build fully functional images on Mac OS X, now that grub is fixed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21609 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agogrub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo)
nbd [Fri, 28 May 2010 19:48:05 +0000 (19:48 +0000)]
grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21608 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: merge slab patch
juhosg [Fri, 28 May 2010 19:45:28 +0000 (19:45 +0000)]
ramips: merge slab patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: use COMMAND_LINE_SIZE directly
juhosg [Fri, 28 May 2010 19:45:24 +0000 (19:45 +0000)]
ramips: use COMMAND_LINE_SIZE directly

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: add missing 2.6.34 config files
juhosg [Fri, 28 May 2010 19:45:21 +0000 (19:45 +0000)]
ramips: add missing 2.6.34 config files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21605 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: refresh 2.6.34 patches
juhosg [Fri, 28 May 2010 19:45:16 +0000 (19:45 +0000)]
ramips: refresh 2.6.34 patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21604 3c298f89-4303-0410-b956-a3cf2f4a3e73

14 years agoramips: sync 2.6.32 config
juhosg [Fri, 28 May 2010 19:45:10 +0000 (19:45 +0000)]
ramips: sync 2.6.32 config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21603 3c298f89-4303-0410-b956-a3cf2f4a3e73

This page took 0.065306 seconds and 4 git commands to generate.