Commit Graph

6399 Commits (211bacfc879c4cb732812e7bda1552114db8e50f)

Author SHA1 Message Date
Jo-Philipp Wich 6e98701e70 [brcm47xx] add a profile using proprietary wl instead of b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:32:40 +00:00
Claudio Mignanti 33b0c34dc2 [kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 12:41:22 +00:00
Claudio Mignanti f51df41a3a [at91] revamp target: add support for netusg20 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 22:12:33 +00:00
Gabor Juhos a069981ab9 ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
Alexandros C. Couloumbis 436acef96b ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:14:20 +00:00
Alexandros C. Couloumbis 31035755e1 ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:09:10 +00:00
Jo-Philipp Wich 6188d187c8 [orion] fix sysupgrade for the Netgear WNR854T (#7484)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 07:57:45 +00:00
Alexandros C. Couloumbis 75b3a23627 ixp4xx: fir commit r21825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 11:41:26 +00:00
Gabor Juhos 7c36cc3e6e ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
Alexandros C. Couloumbis 36331b22ad ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 08:17:17 +00:00
Gabor Juhos 8278f43ea1 ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
Florian Fainelli d18f13fcb8 [kernel] reinstate netdev LED trigger dependency against CONFIG_NET
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 19:39:04 +00:00
Claudio Mignanti cb660e0895 [kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:01:11 +00:00
Felix Fietkau a87a97347e backport the ssb dma device change to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 15:47:06 +00:00
Alexandros C. Couloumbis e3b74160ce ixp4xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:59:37 +00:00
Felix Fietkau c0c5a37f6f rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
Felix Fietkau 8ba6124abe 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
2010-06-14 10:03:05 +00:00
Jo-Philipp Wich d2cecd4779 [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
2010-06-13 18:35:23 +00:00
Claudio Mignanti 032959e72e [kernel] Extend the gpio device driver (#5671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:27:06 +00:00
Florian Fainelli e5e370a876 [brcm63xx] add missing alice gate2 leds (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:53 +00:00
Florian Fainelli 8cbb266569 [kernel] refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:48 +00:00
Florian Fainelli 0db2a74b2d [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:42 +00:00
Gabor Juhos 2e2a19f327 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
2010-06-13 11:37:35 +00:00
Gabor Juhos 9a3782b35f 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
2010-06-13 11:37:32 +00:00
Florian Fainelli a43dd45021 [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
2010-06-13 09:54:11 +00:00
Florian Fainelli ebbeae9d61 [orion] remove now empty samsung flash related patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:06 +00:00
Florian Fainelli 3ab4413eab [kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:01 +00:00
Florian Fainelli be088cec8b [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
2010-06-13 09:53:55 +00:00
Florian Fainelli 028489ba86 [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
2010-06-12 18:10:22 +00:00
Florian Fainelli 924c09e04c [brcm63xx] do not override cfg80211-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:16 +00:00
Florian Fainelli c8a563a90b [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:09 +00:00
Gabor Juhos ddfd94c0f8 ar71xx: add default network config for the RB433UAH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
Gabor Juhos 122dca56e5 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
Alexandros C. Couloumbis 1125b1194d 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
2010-06-11 13:49:39 +00:00
Alexandros C. Couloumbis 4ade8f83b2 rb532: fix a module dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:33:43 +00:00
Alexandros C. Couloumbis 796b550ced rb532: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:32:27 +00:00
Alexandros C. Couloumbis d3c1b29b8f adm5120: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 11:21:10 +00:00
Gabor Juhos 93df402589 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
2010-06-10 10:45:51 +00:00
Gabor Juhos 205bd3826f generic: don't override CONFIG_DEBUG_FS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:42 +00:00
Gabor Juhos 9ac326cb5e 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
2010-06-10 08:58:14 +00:00
Gabor Juhos 35574770c9 generic: remove trailing whitespaces from kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:09 +00:00
Gabor Juhos 26eef8e23a generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
Gabor Juhos 0b5b43eb42 ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
Gabor Juhos b3c8b895aa ar71xx: remove more config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
Gabor Juhos 1743244300 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
Gabor Juhos 8c2198b92b ar71xx: don't override CONFIG_BRIDGE_* options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
Gabor Juhos 9eae8e7e70 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
2010-06-09 17:56:42 +00:00
Alexandros C. Couloumbis 1ca9cd3079 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
2010-06-09 17:29:25 +00:00
Gabor Juhos b30a171ca2 generic: more missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:43 +00:00
Gabor Juhos 9b5f9109c1 generic: add missing layer7 patches for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:39 +00:00
Gabor Juhos a303d8a3df 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
2010-06-09 15:31:36 +00:00
Gabor Juhos c876c55817 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
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis 15c4fa696f 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
2010-06-09 15:14:12 +00:00
Alexandros C. Couloumbis 64324927fb ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
Alexandros C. Couloumbis 138a74dfd2 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
2010-06-09 10:43:59 +00:00
Gabor Juhos 4bee3eb501 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
2010-06-09 07:52:48 +00:00
Gabor Juhos afb03cb38c 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
2010-06-08 20:19:23 +00:00
Gabor Juhos 8048d214fb 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
2010-06-08 20:19:20 +00:00
Gabor Juhos fd62d6e97a 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
2010-06-08 20:19:18 +00:00
Gabor Juhos 1b6346478e ip17xx: fix autonegotioation issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:14 +00:00
Gabor Juhos 078d21f847 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
2010-06-08 20:19:11 +00:00
Gabor Juhos 37c6d01b51 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
2010-06-08 20:19:08 +00:00
Gabor Juhos 3340977edb 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
2010-06-08 20:19:05 +00:00
Gabor Juhos f98b6ff6c8 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
2010-06-08 20:18:58 +00:00
Gabor Juhos c73163553e 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
2010-06-08 20:18:55 +00:00
Gabor Juhos 1746c45d51 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
2010-06-08 20:18:51 +00:00
Gabor Juhos 6ae9f46b7f 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
2010-06-08 20:18:47 +00:00
Gabor Juhos 50dc4ef20a 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
2010-06-08 20:18:42 +00:00
Gabor Juhos 5dd433ee41 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
2010-06-08 20:18:38 +00:00
Gabor Juhos 7b4b5ffe70 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
2010-06-08 20:18:34 +00:00
Gabor Juhos b4a61f51bb 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
2010-06-08 20:18:30 +00:00
Gabor Juhos 21c047cd0b 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
2010-06-08 20:18:25 +00:00
Gabor Juhos 83ae20132e 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
2010-06-08 20:18:20 +00:00
Gabor Juhos ce244e155a 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
2010-06-08 20:18:15 +00:00
Gabor Juhos a8c13fe54f 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
2010-06-08 20:18:10 +00:00
Gabor Juhos 0bff315185 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
2010-06-08 20:18:05 +00:00
Gabor Juhos b9eb7def42 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
2010-06-08 20:18:00 +00:00
Gabor Juhos 9d0a3a6f6b 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
2010-06-08 20:17:55 +00:00
Gabor Juhos 966a9bdb93 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
2010-06-08 20:17:03 +00:00
Alexandros C. Couloumbis 436ce23dd9 brcm47xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:58:06 +00:00
Alexandros C. Couloumbis 7bc4ea6c95 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
2010-06-08 16:44:42 +00:00
Alexandros C. Couloumbis 321c2089bd fix a typo on commit r21704
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:19:34 +00:00
Alexandros C. Couloumbis 3b03d777c7 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
2010-06-08 16:13:37 +00:00
Alexandros C. Couloumbis ba30477904 atheros: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 15:01:35 +00:00
Gabor Juhos ea4d51d1b3 generic: add missing config symbol for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:18 +00:00
Gabor Juhos e61a8b2e88 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
Gabor Juhos 650572a2c8 ar71xx: add missing 2.6.34 config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:17:34 +00:00
Alexandros C. Couloumbis 80d01892f1 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
2010-06-07 05:56:49 +00:00
Alexandros C. Couloumbis 6c0c19ae77 refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 21:16:31 +00:00
Florian Fainelli 5bf6ca1e2c [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
2010-06-06 19:17:01 +00:00
Florian Fainelli 7023050cc8 [ar7] add Titan MTD partitionning support (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:55 +00:00
Florian Fainelli ce097a54e0 [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
2010-06-06 19:16:49 +00:00
Florian Fainelli 56102b8a7b [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
2010-06-06 19:02:30 +00:00
Gabor Juhos 8c9776b550 ar71xx: build firmware images if Minimal profile is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:39 +00:00
Gabor Juhos 3859e97282 ar71xx: rename Minimal profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:34 +00:00
Hauke Mehrtens 9d9eb999e1 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
2010-06-06 10:51:52 +00:00
Gabor Juhos e69562eb28 generic: update mips multimachine patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:45 +00:00
Gabor Juhos bfa2da2042 adm5120: convert to use the new mips multimachine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:40 +00:00
Felix Fietkau 891dbee64e ar71xx: clarify the nand subtarget a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 11:55:49 +00:00
Gabor Juhos d501f36856 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
2010-06-04 19:09:52 +00:00
Gabor Juhos 110d363959 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
2010-06-04 19:09:49 +00:00
Gabor Juhos c60cbd2e61 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
2010-06-04 19:09:46 +00:00
Gabor Juhos 2670b70915 adm5120: don't use linux/autoconf.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:43 +00:00
Gabor Juhos 3e30c92940 adm5120: fix build error on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:39 +00:00
Claudio Mignanti ebfb87169d [etrax] Force usb features, fix depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 09:52:34 +00:00
Felix Fietkau 050d5201af 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
2010-06-01 14:41:37 +00:00
Alexandros C. Couloumbis 6210bf767f ar71xx: fix rootfs mount issue (closes #7319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 08:49:57 +00:00
John Crispin c463512391 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
2010-05-31 11:57:32 +00:00
Daniel Dickinson 9232721abc 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
2010-05-30 03:21:22 +00:00
Daniel Dickinson 5e5a288fef 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
2010-05-30 03:21:11 +00:00
Daniel Dickinson fe3f850ad0 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
2010-05-30 03:21:00 +00:00
Daniel Dickinson 9de82160b1 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
2010-05-30 03:20:49 +00:00
Daniel Dickinson f165cba5c1 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
2010-05-30 03:20:38 +00:00
Daniel Dickinson f3d7a5138d adm5120: Fixed name of preinit_iface scriptlet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:27 +00:00
Daniel Dickinson 9a6f5981fe 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
2010-05-30 02:04:56 +00:00
Daniel Dickinson 1f0332b969 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
2010-05-30 01:44:37 +00:00
Daniel Dickinson 03a1fd3779 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
2010-05-30 01:33:20 +00:00
Daniel Dickinson d0f8de305f 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
2010-05-30 01:33:09 +00:00
Daniel Dickinson f8e8dcf746 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
2010-05-30 01:32:58 +00:00
Daniel Dickinson 089ea4a93c 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
2010-05-30 01:32:47 +00:00
Hauke Mehrtens 933e42b581 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
2010-05-29 14:32:58 +00:00
Hauke Mehrtens b5805d7bfd 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
2010-05-29 14:31:56 +00:00
Lars-Peter Clausen 2a9a2ac4af [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
2010-05-29 00:12:09 +00:00
Lars-Peter Clausen 77e64f323d [xburst] ASoC: Fix and cleaup dma config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:09:51 +00:00
Lars-Peter Clausen 0af48c7785 [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
2010-05-29 00:09:11 +00:00
Jo-Philipp Wich 1343492a6c [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
2010-05-29 00:08:07 +00:00
Lars-Peter Clausen a3dd9c185c [xburst] jzcodec: Enable support for S8 format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:06:59 +00:00
Lars-Peter Clausen 740fcb14b1 [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
2010-05-29 00:06:19 +00:00
Lars-Peter Clausen 5e34b48574 [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
2010-05-29 00:05:13 +00:00
Felix Fietkau 12abbd4d08 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
2010-05-28 19:48:21 +00:00
Gabor Juhos 464c781c2b ramips: merge slab patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:28 +00:00
Gabor Juhos 5430b616f4 ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:24 +00:00
Gabor Juhos 03224479d8 ramips: add missing 2.6.34 config files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:21 +00:00
Gabor Juhos 60a510ae0a ramips: refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:16 +00:00
Gabor Juhos dd563c22da ramips: sync 2.6.32 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:10 +00:00
Nicolas Thill de002a7d39 update linux kernel to 2.6.32.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
John Crispin 02c3a2aa53 [ramips] update to 2.6.34, signed of by russiane39, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 15:53:05 +00:00
Nicolas Thill 6598259ef5 target/linux: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:35:46 +00:00
Hauke Mehrtens f1f4b36850 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.33.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 17:44:32 +00:00
Hauke Mehrtens 0d6ac72c65 orion: fix build
This patch does not apply any more because of changes in target/linux/generic-2.6/patches-2.6.32/089-mtd-samsung-flash.patch
TODO: find out if this patch is still needed.

Fixes build problem decsripted in #7348.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 17:02:43 +00:00
Hauke Mehrtens 110826dc6c brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:17:56 +00:00
Hauke Mehrtens cfb9268507 generic-2.6: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:17:32 +00:00
Hauke Mehrtens 0710ef015d kernel: update kernel to version 2.6.32.13 and 2.6.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Florian Fainelli 3bbc276e5d [rdc] include swconfig in ar525w profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 21:25:51 +00:00
Florian Fainelli b8420e1fb8 [rdc] load all r6040 modules dependencies in preinit hook
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 21:25:45 +00:00
Florian Fainelli 99c94303e8 [rdc] add r6040 phylib support which allows to use the ip175c switch driver on ar525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 09:53:59 +00:00
Nicolas Thill 2cce948705 target/generic-2.6: add missing bits for 2.6.30 ssb update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 17:07:40 +00:00
John Crispin de85a5733d [ifxmips] adds proper kconfig to select the new mach types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-18 10:21:05 +00:00
John Crispin c8e6b1378f [ifxmips] oops, missing fix from [21485]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-18 09:14:01 +00:00
Lars-Peter Clausen 00e07cf808 [kernel] Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 22:05:07 +00:00
John Crispin 5bb4773eb4 [ifxmips]
* adds support for speedport w502V
 * bump kernel to 2.6.33.4
 * make ethernet be configurable as MII/RMII
 * on xway we now assign a static amount of cp1 ram (still need to find a 
sane value)
 * remove bogus board.c
 * jiffies were running with a (1 << 2) multiplier
 



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 10:06:46 +00:00
Florian Fainelli 62d49bfca7 [kernel] add missing ifxmips crypto config symbols, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 09:28:44 +00:00
Florian Fainelli 52961860a3 [rdc] set vendor to RDC even if CPU id is not known
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:40:26 +00:00
Florian Fainelli 7f9edb0460 [rdc] squash platform_support.patch into rdc_boards.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:40:20 +00:00
Florian Fainelli 3a6671b60c [rdc] fix link checking with switches, only port1 of switches would report link up
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 12:36:26 +00:00
Florian Fainelli 49554ca96f [rdc] switch to 2.6.32.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 11:00:51 +00:00
Felix Fietkau 55de6aeeb9 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
Jo-Philipp Wich 8d429d0e2e [brcm-2.4] fix a kernel bug where IPv6 packets are received on IPv4 sockets, this fixes dual stack software like OLSRd when running on Kernel 2.4
Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 22:36:56 +00:00
Florian Fainelli 730a6da763 [rdc] fix wrong hunk introduced by r21309, thanks rtz2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 21:27:02 +00:00
Florian Fainelli 62accf6c04 [rdc] fix panic on boot due to invalid IORESOURCE for MFD cells, fix gpio value setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 21:26:56 +00:00
Florian Fainelli 994b4517fa [rdc] fix 2.6.30 lzma tuning patch to output file size at end of kernel, otherwise decompressor remains stuck
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:15:10 +00:00
Florian Fainelli 06a4afce30 [ar7] use correct port type, which sets the correct receive fifo trigger options (#7095)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:15:03 +00:00
Florian Fainelli 85118b7bff [kernel] do not export find_task_by_vpid twice on 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:14:50 +00:00
Hauke Mehrtens 6a4f17a036 ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless.
Before this patch CONFIG_SSB_BLOCKIO was set to y in compat-wireless
but the in kernel ssb system had it set to n, this causes an invalid pointer.
b43 now needs CONFIG_SSB_BLOCKIO=y


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 11:04:53 +00:00
Gabor Juhos dae241a475 ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).

Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:38:39 +00:00
Gabor Juhos 0eea4b85a2 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
Lars-Peter Clausen b2d6bdcdda [xburst] Add 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 23:12:41 +00:00
Lars-Peter Clausen d172024875 [kernel] Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 23:04:18 +00:00
Lars-Peter Clausen 2be7a845d8 [kernel] gpio_buttons: include slab.h
Fixes build with 2.6.34



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 22:50:26 +00:00
Nicolas Thill f2fc44f5e5 target/uml: add missing CONFIG_MATOM config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 21:34:48 +00:00
Hauke Mehrtens 847f0e0f12 brcm47xx: use tab instead of space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 20:28:39 +00:00
Hauke Mehrtens f4b0f28250 kernel: add missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 20:15:51 +00:00
Lars-Peter Clausen 083aabf7f1 [kernel] Add missing symbols to generic 2.6.34 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 19:39:04 +00:00
Hauke Mehrtens 2703e61c3a brcm47xx: ehci-ssb: some updates:
* update pointers in struct hc_driver
 * make ssb_ehci_detach more look like the pci version
 * remove resume and suspend as they are never activated and not compiling
 * replace ssb_ehci_start with ehci_run as it only calls this method


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 18:28:41 +00:00
Daniel Dickinson 42b39a2f16 brcm-2.4: Fixed preinit and failsafe switch configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 17:10:47 +00:00
Mirko Vogt 8cc8b5f22c sound-soc-qi_lb60: rename package as underscores are not allowed by opkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 22:24:13 +00:00
Florian Fainelli 6e2b8d4b68 [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 18:13:49 +00:00
Florian Fainelli b145752f2d [ar7] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 18:13:43 +00:00
Florian Fainelli 5eae0a2d3d [ar7] rework 130-clocks_devices_init.patch to make it more robust
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 18:13:37 +00:00
Florian Fainelli 6828466d4f [kernel] make etrax samsung flash patch generic (#6552)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 09:25:41 +00:00
Felix Fietkau cdea3cc534 ar71xx: remove madwifi from the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:50 +00:00
Felix Fietkau b7aa34d796 ar71xx: use the lzma kernel and a proper size limit for pb92
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:44 +00:00
Florian Fainelli 4fd86ccb7b [ar7] prevent race between clocks and devices registration (#6532)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 16:58:08 +00:00
Nicolas Thill c0eb3b3611 image/x86: fix typo when building on Mac OS X (closes: #7303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 12:46:25 +00:00
Alexandros C. Couloumbis 5064ee8c36 adm5120: include r21398 actual changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 08:19:56 +00:00
Alexandros C. Couloumbis 3ec9ee9705 adm5120: update files-2.6.33 and files-2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 08:15:40 +00:00
Felix Fietkau 07c5b4cc79 ar71xx: remove some bogus kernel config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:37 +00:00
Felix Fietkau aa319d87f6 ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:32 +00:00
Felix Fietkau 84407eb7cb brcm47xx: adjust the brcm4710 cache workaround code so that it does not break bcm4716 (patch by Bernhard Loos)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 11:48:15 +00:00
Florian Fainelli 065e231246 [kernel] backport r21373 to 2.4 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 09:08:02 +00:00
Florian Fainelli 641da1e31a [kernel] fix build error on hifnHIPP spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 09:03:59 +00:00
Florian Fainelli 3e2ffbf933 [rdc] fix bad lzma tuning options bad hunks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 09:03:55 +00:00
Nicolas Thill d6cfedc7ca target/x86: cleanup image config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 02:11:15 +00:00
Nicolas Thill 711491bad1 target/x86: use common config items for options shared between generic and olpc targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 02:07:38 +00:00
Nicolas Thill 7bfd126b31 target/rb532: use -combined suffix for kernel+rootfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 01:59:43 +00:00
Nicolas Thill 560f2614b5 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 01:52:54 +00:00
Jo-Philipp Wich b663320802 [generic-2.4] add OCF 20100325 support to brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 21:00:14 +00:00
Jo-Philipp Wich 0f34590d55 [generic-2.6] update OCF framework to version 20100325
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 20:59:19 +00:00
Florian Fainelli bc4ae75a7d [brcm63xx] revert r21085, fixes #7282
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 08:07:39 +00:00
Florian Fainelli 563cbc922c [adm5120] let 802.1q support be built-in (#7280)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 07:39:00 +00:00