acoul [Mon, 14 Jun 2010 14:44:27 +0000 (14:44 +0000)]
include/netfilter.mk: add 2.6.35 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21795
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 14 Jun 2010 11:00:30 +0000 (11:00 +0000)]
rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 14 Jun 2010 10:03:05 +0000 (10:03 +0000)]
brcm47xx: add some exports to be used by the new wl driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21793
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 13 Jun 2010 20:07:37 +0000 (20:07 +0000)]
[package] mac80211: rename dma_set_coherent_mask() patch to 170-dma_set_coherent_mask.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21791
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 13 Jun 2010 19:53:19 +0000 (19:53 +0000)]
mac80211: fix build of b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21790
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 13 Jun 2010 18:35:23 +0000 (18:35 +0000)]
[generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 13 Jun 2010 18:11:05 +0000 (18:11 +0000)]
[package] madwifi: rename incorrectly named patch file (#7459)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21788
3c298f89-4303-0410-b956-
a3cf2f4a3e73
claudio [Sun, 13 Jun 2010 13:27:06 +0000 (13:27 +0000)]
[kernel] Extend the gpio device driver (#5671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 12:20:53 +0000 (12:20 +0000)]
[brcm63xx] add missing alice gate2 leds (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 12:20:48 +0000 (12:20 +0000)]
[kernel] refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 12:20:42 +0000 (12:20 +0000)]
[kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 13 Jun 2010 11:37:35 +0000 (11:37 +0000)]
swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 13 Jun 2010 11:37:32 +0000 (11:37 +0000)]
swconfig: release switch in error path of swconfig_get_attr
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 09:54:11 +0000 (09:54 +0000)]
[orion] rename partition map patch to a better name, since it s wrt350nv2 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21778
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 09:54:06 +0000 (09:54 +0000)]
[orion] remove now empty samsung flash related patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21777
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 09:54:01 +0000 (09:54 +0000)]
[kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sun, 13 Jun 2010 09:53:55 +0000 (09:53 +0000)]
[kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 12 Jun 2010 18:10:28 +0000 (18:10 +0000)]
[package] add kmod-gpio-nxp-74hc164 for brcm63xx only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21771
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 12 Jun 2010 18:10:22 +0000 (18:10 +0000)]
[package] add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 12 Jun 2010 18:10:16 +0000 (18:10 +0000)]
[brcm63xx] do not override cfg80211-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 12 Jun 2010 18:10:09 +0000 (18:10 +0000)]
[kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 12 Jun 2010 18:10:01 +0000 (18:10 +0000)]
[tools] fix mktitanimg segfault on 64-bits hosts (#7443)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sat, 12 Jun 2010 16:59:12 +0000 (16:59 +0000)]
[package] base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 12 Jun 2010 13:20:41 +0000 (13:20 +0000)]
ar71xx: add default network config for the RB433UAH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 12 Jun 2010 13:20:39 +0000 (13:20 +0000)]
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sat, 12 Jun 2010 12:58:11 +0000 (12:58 +0000)]
[package] uhttpd:
- fix incorrect parsing of multiple listen options (#7458)
- support PEM certificates for SSL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21762
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Fri, 11 Jun 2010 15:46:19 +0000 (15:46 +0000)]
package/kernel: fix missing parenthesis on r21758
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21759
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Fri, 11 Jun 2010 15:04:04 +0000 (15:04 +0000)]
package/kernel: fix dependency modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21758
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Fri, 11 Jun 2010 13:49:39 +0000 (13:49 +0000)]
generic-2.6/patches-2.6.35: fix ocf missing parts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 10 Jun 2010 23:12:10 +0000 (23:12 +0000)]
mac80211: update to 2010-06-10, add pending work with stability and throughput fixes for ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21756
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Thu, 10 Jun 2010 12:33:43 +0000 (12:33 +0000)]
rb532: fix a module dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Thu, 10 Jun 2010 12:32:27 +0000 (12:32 +0000)]
rb532: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Thu, 10 Jun 2010 11:46:07 +0000 (11:46 +0000)]
package: update to iptables-1.4.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21752
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Thu, 10 Jun 2010 11:21:10 +0000 (11:21 +0000)]
adm5120: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 10:45:51 +0000 (10:45 +0000)]
generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
* CONFIG_ATOMIC64_SELFTEST
* CONFIG_BRIDGE_IGMP_SNOOPING
* CONFIG_CAIF
* CONFIG_CEPH_FS
* CONFIG_CRYSTALHD
* CONFIG_DEFAULT_SECURITY_SELINUX
* CONFIG_DEFAULT_SECURITY_SMACK
* CONFIG_DEFAULT_SECURITY_TOMOYO
* CONFIG_DT3155
* CONFIG_IP_MROUTE_MULTIPLE_TABLES
* CONFIG_L2TP
* CONFIG_LOGFS
* CONFIG_LPC_SCH
* CONFIG_MFD_JANZ_CMODIO
* CONFIG_MFD_RDC321X
* CONFIG_N_GSM
* CONFIG_RAMOOPS
* CONFIG_SERIAL_ALTERA_JTAGUART
* CONFIG_SERIAL_ALTERA_UART
* CONFIG_SERIAL_TIMBERDALE
* CONFIG_SM_FTL
* CONFIG_SQUASHFS_XATTRS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 10:45:42 +0000 (10:45 +0000)]
generic: don't override CONFIG_DEBUG_FS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 08:58:14 +0000 (08:58 +0000)]
generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 08:58:09 +0000 (08:58 +0000)]
generic: remove trailing whitespaces from kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 08:09:41 +0000 (08:09 +0000)]
generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 08:09:36 +0000 (08:09 +0000)]
ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 10 Jun 2010 06:14:19 +0000 (06:14 +0000)]
ar71xx: remove more config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 19:48:35 +0000 (19:48 +0000)]
ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 19:48:32 +0000 (19:48 +0000)]
ar71xx: don't override CONFIG_BRIDGE_* options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 17:56:42 +0000 (17:56 +0000)]
generic: update xt_layer7 module fix for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Wed, 9 Jun 2010 17:29:25 +0000 (17:29 +0000)]
generic-2.6: layer7: convert xt_match_param to xt_action_param
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 15:31:43 +0000 (15:31 +0000)]
generic: more missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 15:31:39 +0000 (15:31 +0000)]
generic: add missing layer7 patches for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Wed, 9 Jun 2010 10:45:47 +0000 (10:45 +0000)]
ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734
3c298f89-4303-0410-b956-
a3cf2f4a3e73
acoul [Wed, 9 Jun 2010 10:43:59 +0000 (10:43 +0000)]
generic-2.6: add (some) missing config symbols for kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 9 Jun 2010 07:52:48 +0000 (07:52 +0000)]
generic: rename ip175c driver to ip17xx on 2.6.35 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 8 Jun 2010 20:19:23 +0000 (20:19 +0000)]
ar71xx: add default network configuration file for the RB450/RB433 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 8 Jun 2010 20:19:18 +0000 (20:19 +0000)]
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 8 Jun 2010 20:19:14 +0000 (20:19 +0000)]
ip17xx: fix autonegotioation issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Tue, 8 Jun 2010 20:19:11 +0000 (20:19 +0000)]
generic: add aneg_done and update_link functions for the phy_device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21725
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
This page took 0.065492 seconds and 4 git commands to generate.