1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 18:28:27 +02:00
Commit Graph

876 Commits

Author SHA1 Message Date
juhosg
8761c67c17 generic: add some missing symbols for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 21:34:43 +00:00
juhosg
62d84c033a generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:04 +00:00
juhosg
e0cb5a2b6c generic: ar8216: remove an unblanced mutex_unlock call
Fixes the following warning:

[   94.080000]
[   94.080000] =====================================
[   94.080000] [ BUG: bad unlock balance detected! ]
[   94.080000] 3.3.8 #2 Tainted: G           O
[   94.080000] -------------------------------------
[   94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] but there are no more locks to release!
[   94.080000]
[   94.080000] other info that might help us debug this:
[   94.080000] 2 locks held by swconfig/1220:
[   94.080000]  #0:  (genl_mutex){+.+...}, at: [<80222430>] genl_rcv+0x14/0x34
[   94.080000]  #1:  (&dev->sw_mutex){+.+...}, at: [<801da018>] swconfig_get_dev+0x88/0xb4
[   94.080000]
[   94.080000] stack backtrace:
[   94.080000] Call Trace:
[   94.080000] [<8028dc58>] dump_stack+0x8/0x34
[   94.080000] [<800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[   94.080000] [<800a82c0>] lock_release+0x18c/0x1c8
[   94.080000] [<80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] [<801db688>] swconfig_get_attr+0xbc/0x394
[   94.080000] [<8022261c>] genl_rcv_msg+0x1cc/0x214
[   94.080000] [<80221a18>] netlink_rcv_skb+0x6c/0xe8
[   94.080000] [<80222440>] genl_rcv+0x24/0x34
[   94.080000] [<80221370>] netlink_unicast+0x15c/0x22c
[   94.080000] [<8022175c>] netlink_sendmsg+0x240/0x2d0
[   94.080000] [<801ef544>] sock_sendmsg+0x84/0x9c
[   94.080000] [<801f0648>] __sys_sendmsg+0x1cc/0x270
[   94.080000] [<801f207c>] sys_sendmsg+0x48/0x7c
[   94.080000] [<8006ad78>] stack_done+0x20/0x40
[   94.080000]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:03 +00:00
juhosg
908b076d38 generic: ar8216: add missing locking calls
Fixes the following lockdep warning:

[   19.160000] ------------[ cut here ]------------
[   19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[   19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   19.210000] Call Trace:
[   19.220000] [<8028dc38>] dump_stack+0x8/0x34
[   19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4
[   19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24
[   19.230000] [<801de820>] ar8216_rmw+0x54/0xa4
[   19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0
[   19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98
[   19.250000] [<80089a7c>] process_one_work+0x28c/0x460
[   19.250000] [<8008a630>] worker_thread+0x22c/0x334
[   19.260000] [<8008e544>] kthread+0x88/0x90
[   19.260000] [<80065020>] kernel_thread_helper+0x10/0x18
[   19.270000]
[   19.270000] ---[ end trace 22e9d696adfa6a08 ]---

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:00 +00:00
juhosg
e5345f008a generic: convert yaffs to use kuid_t and kgid_t on 3.6+
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 17:45:24 +00:00
juhosg
984acca280 mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:09 +00:00
juhosg
9c59053fe3 refresh all kernel configurations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:06 +00:00
jogo
ba161ea307 Revert "target specific patches have nothing to do in generic.."
This reverts commit r34230, as it is causing build failures:

 make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1

Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 12:38:26 +00:00
kaloz
15d41bfc9b [generic/3.7]: fix 820-usb_add_usb_find_device_by_name.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 10:56:09 +00:00
hauke
4318f32f11 kernel: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:40:30 +00:00
hauke
1d70fe9050 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +00:00
hauke
024a6ed9b4 kernel: add missing generic config options for 3.6+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 20:54:53 +00:00
hauke
5c491025c0 kernel: add CONFIG_XZ_DEC=y to generic
CONFIG_SQUASHFS_XZ selects CONFIG_XZ_DEC so this could also be moved.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 20:48:53 +00:00
kaloz
a50e0e7076 [generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 18:52:38 +00:00
juhosg
bf59a262d1 generic: ar8216: add MIB counter support for the AR8216 switch as well
Thanks to Jonas Gorski for the reference URL.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 16:21:00 +00:00
juhosg
c541c7e493 generic: ar8216: rename AR8216_*_STATS_* defines
The names are misleading, those are only valid from
AR8236. The AR8216 chip uses different offsets.

Thanks to Jonas Gorski for the report.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 16:20:56 +00:00
juhosg
182478490a generic ar8216: allow to read/reset MIB counters via swconfig
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 12:26:35 +00:00
juhosg
42670d4d0f generic: ar8216: use dynamically allocated private data in ar8216_probe
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 12:26:34 +00:00
kaloz
f3df1390af target specific patches have nothing to do in generic..
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 09:22:38 +00:00
juhosg
6e062c4249 generic: remove temporary config file introduced in r34227
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:51:56 +00:00
juhosg
b270e13375 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:41:31 +00:00
florian
71b3897bc2 [kernel] add missing framebuffer config symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 16:32:45 +00:00
florian
355c0f38c8 [kernel] do not build crashlog on sparc too
This is crashing the kernel in crashlog_init_fs(), until fixed, disable it
for SPARC too.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 16:32:33 +00:00
florian
be18534f21 [kernel] 3.6: add some framebuffer related config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 13:00:51 +00:00
juhosg
57684a794b generic: refresh 3.6 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 20:57:13 +00:00
florian
edf444b665 [kernel] MIPS: add a build fix for arch/mips/boot/compressed/decompress.c
And get rid of the AR7 patch because at least the Alchemy SoC also needs it

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 12:49:47 +00:00
blogic
99d46724d1 [atheros] move redboot boardconfig patch into target folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 07:56:37 +00:00
kaloz
c9c06656ce [ixp4xx:] add support for the Tonze AP-422/425
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 21:04:30 +00:00
juhosg
7b9dfebde4 generic: sanitize deps_initramfs list
If any filename in the intramfs dependency
list contains a colon, that causes a kernel
build error like this:

/devel/openwrt/build_dir/linux-ar71xx_generic/linux-3.6.6/usr/Makefile:58: *** multiple target patterns.  Stop.
make[5]: *** [usr] Error 2

Fix it by removing such filenames from the
deps_initramfs list.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 09:07:29 +00:00
jogo
e1696ca671 linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 15:21:46 +00:00
jogo
ab0f1978a2 linux: generic: fix split_squashfs for 3.6
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 00:48:21 +00:00
juhosg
7692f8ee59 linux/3.3: backport an upstream GPIO patch
The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().

This will be used by ar71xx/ramips platforms.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:43 +00:00
nbd
de6ad2505c linux-3.6: fix portability of some includes files in tools/ used on the host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:15 +00:00
juhosg
f840df94dd generic: make yaffs work on 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:23 +00:00
juhosg
f446bd2580 generic: rename jffs2 patches
Make room for the upcoming yaffs patches.
No functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:16 +00:00
juhosg
7564e5cb37 generic: use mtd_* helpers in the yaffs code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 21:17:30 +00:00
juhosg
a7af64893d kernel: update linux 3.6 to 3.6.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
juhosg
e0549e6799 generic: split yaffs-3.2-fix patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:33:12 +00:00
juhosg
ddec1a3035 generic: replace yaffs-2.6.39 patch
Use backported upstream patches instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 15:12:45 +00:00
juhosg
cfcea07f07 generic: replace yaffs mutex_fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:24 +00:00
juhosg
1d4021e4e0 generic: replace yaffs symlink fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:23 +00:00
juhosg
c703e25132 generic: rename yaffs patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:21 +00:00
juhosg
34b60fad1a generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:17 +00:00
juhosg
22c66493c9 generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:13 +00:00
kaloz
dd62b6f0ce add missing 3.6 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
juhosg
5fb1071671 generic: add more symbols for 3.6
Also refresh the config file with kconfig.pl.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:08:59 +00:00
juhosg
4e2267ffdd kernel: update linux 3.6 to 3.6.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
juhosg
ddf35bbead generic: fix crashlog patch for 3.6
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 09:50:50 +00:00
juhosg
29e6a46ba2 generic: fix tcp_window_check patch for 3.6
Move the new entry to the end of the tcp_sysctl_table
array to fix the following error:

[    7.670000] sysctl table check failed: net/netfilter/nf_conntrack_tcp_max_retrans No data
[    7.680000] Call Trace:
[    7.680000] [<80273bc4>] dump_stack+0x8/0x34
[    7.680000] [<80128710>] __register_sysctl_table+0x374/0x3a8
[    7.690000] [<868d5034>] nf_conntrack_l4proto_unregister+0x158/0x1a0[nf_conntrack]
[    7.700000] [<868d50e4>] nf_conntrack_l4proto_register+0x68/0x21c[nf_conntrack]
[    7.710000] [<868b237c>] need_ipv4_conntrack+0x35c/0xb60[nf_conntrack_ipv4]
[    7.710000]
[    7.720000] nf_conntrack_l4proto_tcp4 :protocol register failed
[    7.720000] nf_conntrack_ipv4: can't register pernet ops
[    7.780000] nf_nat: Unknown symbol nf_nat_seq_adjust_hook (err 0)
[    7.790000] nf_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.800000] iptable_nat: Unknown symbol nf_nat_packet (err 0)
[    7.810000] iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
[    7.820000] iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
[    7.820000] iptable_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.840000] ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
[    7.860000] nf_nat_ftp: Unknown symbol nf_nat_follow_master (err 0)
[    7.870000] nf_nat_ftp: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
[    7.890000] nf_nat_irc: Unknown symbol nf_nat_follow_master (err 0)
[    7.900000] nf_nat_irc: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 15:42:25 +00:00
kaloz
935acb6305 [generic]: instead of updating the whole file, just add the additional boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:29:36 +00:00
juhosg
6021644945 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:36 +00:00
juhosg
5cd8b64921 generic: use mtd_read in myloader parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:59 +00:00
juhosg
118178a078 generic: swconfig: use led_set_brightness in LED control code
The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:18 +00:00
juhosg
52ff80a55b generic: add missing symbols for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:15 +00:00
florian
308bb3f853 [kernel] add some more 3.6 config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:10 +00:00
hauke
c3f5ead840 kernel: add PCI id 14e4:4350 to ssb
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:50:47 +00:00
nbd
231e652d58 kernel: add a few missing config symbols for x86. added to generic config because of dependencies, so that kernel_menuconfig does not remove them again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:45 +00:00
nbd
e123d11563 kernel: refresh config files using kconfig.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:40 +00:00
hauke
288f3f6650 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
florian
05e75c4408 [kernel] ARM: fix XZ decompressor stub build failure on strstr()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:31 +00:00
florian
f5e931045c [kernel] fixup generic 3.6 kernel config
It was not meant to be committed as-is in r33911

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:24 +00:00
florian
04a4114eac [kernel] fix IFF_NO_IP_ALIGN bitmask to contain only 1 bit set
This issue got introduced while porting the patch over 3.6 in r33897

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:23:20 +00:00
florian
eb0c020062 [kernel] make all 3.6 patches apply and build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:22 +00:00
florian
ac3d47a751 [kernel] swconfig: get rid of the NLA_PUT_* macros
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:04 +00:00
kaloz
1c3d05cf73 [generic]: linux 3.6 support (work in progress)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 12:21:34 +00:00
jogo
c373dbfcfb kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
florian
577eacbdb0 [kernel] refresh 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 21:30:30 +00:00
juhosg
9f961949b6 generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:22:56 +00:00
kaloz
aff9dc0b46 [generic]: add support for new Option modules (GTM66xxWFS/GTM67xxWFS)
Add new device ID's for the hso driver as well as usb storage
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 06:58:42 +00:00
blogic
19c78e1905 [kernel] gpiodev/gpioctl RIP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 11:58:09 +00:00
kaloz
228bf4df1a The Gateworks System Controller (GSC) is an i2c device that provides system
level monitoring and control of Gateworks boards.  It is used on several
product families spanning several different target architectures (ixp4xx,
cns3xxx, davinci).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
nbd
eecf5b1752 kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:31 +00:00
nbd
eaa73bfc36 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:27 +00:00
nbd
9529ea409f mtd: allow partial block unlock
This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.

This second iteration of this patch addresses previous issues:
  - whitespace breakage fixed
  - unlock in all scenarios
  - simplification and fix logic bug

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:44 +00:00
hauke
46d98a975d [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:53 +00:00
juhosg
da91b54f0f generic: enable CONFIG_USB_EHCI_TT_NEWSCHED
This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.

See: http://www.spinics.net/lists/linux-usb/msg31993.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:39 +00:00
juhosg
07d80167c0 generic: add upstream commit id to codel patches and refresh those
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 14:17:17 +00:00
florian
ee1a7a743e [kernel] backport the upstream entropy changes (#11951)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 12:54:01 +00:00
nbd
02074f1f37 kernel: increase log buffer size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:10:42 +00:00
kaloz
053d207b3c [generic/3.3]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:38:16 +00:00
nbd
6c383cf512 kernel: enable perf events when enabling profiling, fixes oprofile on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:14 +00:00
juhosg
9edd5a0ba0 generic: add MTD_NAND_AR934X symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:21 +00:00
juhosg
93a698140f generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
florian
405e94ce42 [generic] fix ixp4xx_hss build failure (#12162)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 08:53:21 +00:00
juhosg
2622bc18da generic add WLAN calibration data ID to routerboot.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:26 +00:00
juhosg
38ca354ccc adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
juhosg
2ab17c92ac generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 09:27:56 +00:00
juhosg
8c9a05c907 generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:26:51 +00:00
blogic
6a28aa2599 [kernel] fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 12:32:11 +00:00
juhosg
60b393ba86 generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 10:30:41 +00:00
juhosg
3a14c373fd generic: rtl8366_smi: increase delay after switch hw reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 06:32:00 +00:00
blogic
ab27b3f74d [bufferbloat] Codel: avoid a nul rec_inv_sqrt
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:39:50 +00:00
juhosg
08700f9817 generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:21 +00:00
juhosg
7f000ed40c generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:13 +00:00
florian
37b335aace [kernel] disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 23:09:46 +00:00
blogic
8be6a993ea [kernel] refresh pwm patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 11:53:06 +00:00
blogic
12c804da28 [kernel] clean up pwm patches and drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 20:47:08 +00:00
hauke
6771089f01 [kernel] add config option CONFIG_I2C_MV64XXX to fix kirkwood build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 11:36:52 +00:00
florian
0b6c36ebc1 [generic] add more USB-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:03:05 +00:00
hauke
cf6ccf73a0 [kernel] bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 15:42:18 +00:00