Gabor Juhos
3205b52d1c
generic: ar8216: introduce ar8216_mib_op helper
...
The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.
This change also fixes a lockdep warning in
ar8216_mib_flush.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34297
2012-11-22 10:33:03 +00:00
Gabor Juhos
10d30f2d2d
swconfig: make it compatible with 3.7
...
swconfig does not compile with 3.7 because
struct netlink_notify->pid has been renamed to
struct netlink_notify->portid
and
struct genl_info->snd_pid has been renamed to
struct genl_info->snd_portid
Use the new names and add compatibility patches
to 3.3 and 3.6.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34288
2012-11-21 17:38:11 +00:00
Gabor Juhos
5c740aa23c
generic: add some missing symbols for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34284
2012-11-20 21:34:43 +00:00
Gabor Juhos
2a792f32b5
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>
SVN-Revision: 34283
2012-11-20 20:40:04 +00:00
Gabor Juhos
258b2f2dc2
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>
SVN-Revision: 34282
2012-11-20 20:40:03 +00:00
Gabor Juhos
82b57b0c28
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>
SVN-Revision: 34281
2012-11-20 20:40:00 +00:00
Gabor Juhos
c0f73ac607
generic: convert yaffs to use kuid_t and kgid_t on 3.6+
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34280
2012-11-20 17:45:24 +00:00
Gabor Juhos
6c1fbb2d5c
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>
SVN-Revision: 34269
2012-11-20 07:19:09 +00:00
Gabor Juhos
8e4cefc7f8
refresh all kernel configurations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34267
2012-11-20 07:19:06 +00:00
Jonas Gorski
8dc72c5c4d
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.
SVN-Revision: 34255
2012-11-19 12:38:26 +00:00
Imre Kaloz
4c043300fc
fix 820-usb_add_usb_find_device_by_name.patch
...
SVN-Revision: 34254
2012-11-19 10:56:09 +00:00
Hauke Mehrtens
4fa5781a95
kernel: refresh patches
...
SVN-Revision: 34253
2012-11-18 21:40:30 +00:00
Hauke Mehrtens
86cc79ac98
brcm47xx: add support for kernel 3.6
...
This is based on the patch by Peter Wagner.
SVN-Revision: 34252
2012-11-18 21:27:00 +00:00
Hauke Mehrtens
db763080f4
kernel: add missing generic config options for 3.6+
...
SVN-Revision: 34250
2012-11-18 20:54:53 +00:00
Hauke Mehrtens
c159c7a462
kernel: add CONFIG_XZ_DEC=y to generic
...
CONFIG_SQUASHFS_XZ selects CONFIG_XZ_DEC so this could also be moved.
SVN-Revision: 34249
2012-11-18 20:48:53 +00:00
Imre Kaloz
935ca3f3eb
add 3.7-rc6 support (patch 820 still has to be fixed)
...
SVN-Revision: 34247
2012-11-18 18:52:38 +00:00
Gabor Juhos
863657d040
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>
SVN-Revision: 34245
2012-11-18 16:21:00 +00:00
Gabor Juhos
98f30aac8e
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>
SVN-Revision: 34244
2012-11-18 16:20:56 +00:00
Gabor Juhos
9abd8cd004
generic ar8216: allow to read/reset MIB counters via swconfig
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34243
2012-11-18 12:26:35 +00:00
Gabor Juhos
4b17323b51
generic: ar8216: use dynamically allocated private data in ar8216_probe
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34242
2012-11-18 12:26:34 +00:00
Imre Kaloz
b220071cd2
target specific patches have nothing to do in generic..
...
SVN-Revision: 34230
2012-11-18 09:22:38 +00:00
Gabor Juhos
c90128ce31
generic: remove temporary config file introduced in r34227
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34229
2012-11-18 08:51:56 +00:00
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
Florian Fainelli
7e199fcc06
add missing framebuffer config symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34217
2012-11-16 16:32:45 +00:00
Florian Fainelli
8ad0b56ba5
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>
SVN-Revision: 34213
2012-11-16 16:32:33 +00:00
Florian Fainelli
b763d47bfe
3.6: add some framebuffer related config symbols
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34207
2012-11-16 13:00:51 +00:00
Gabor Juhos
f6c3a8ddd6
generic: refresh 3.6 patches
...
SVN-Revision: 34194
2012-11-13 20:57:13 +00:00
Florian Fainelli
a8c492dbb3
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>
SVN-Revision: 34170
2012-11-12 12:49:47 +00:00
John Crispin
5f30fe31b6
move redboot boardconfig patch into target folder
...
SVN-Revision: 34166
2012-11-12 07:56:37 +00:00
Imre Kaloz
527c473674
add support for the Tonze AP-422/425
...
SVN-Revision: 34165
2012-11-11 21:04:30 +00:00
Gabor Juhos
502661f685
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>
SVN-Revision: 34125
2012-11-09 09:07:29 +00:00
Jonas Gorski
a50d121d8e
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>
SVN-Revision: 34103
2012-11-06 15:21:46 +00:00
Jonas Gorski
0722fd9c63
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.
SVN-Revision: 34093
2012-11-06 00:48:21 +00:00
Gabor Juhos
5e43b934fd
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>
SVN-Revision: 34081
2012-11-05 11:04:43 +00:00
Felix Fietkau
6040b1d29a
linux-3.6: fix portability of some includes files in tools/ used on the host
...
SVN-Revision: 34068
2012-11-04 17:01:15 +00:00
Gabor Juhos
0005762690
generic: make yaffs work on 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34054
2012-11-01 11:07:23 +00:00
Gabor Juhos
ffcb4b0fe1
generic: rename jffs2 patches
...
Make room for the upcoming yaffs patches.
No functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34053
2012-11-01 11:07:16 +00:00
Gabor Juhos
6c8c3ee77d
generic: use mtd_* helpers in the yaffs code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34046
2012-10-31 21:17:30 +00:00
Gabor Juhos
07a762c4c5
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34042
2012-10-31 20:09:39 +00:00
Gabor Juhos
a4126685c6
generic: split yaffs-3.2-fix patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34041
2012-10-31 19:33:12 +00:00
Gabor Juhos
4baeb543f0
generic: replace yaffs-2.6.39 patch
...
Use backported upstream patches instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34032
2012-10-31 15:12:45 +00:00
Gabor Juhos
b888c2deab
generic: replace yaffs mutex_fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34021
2012-10-30 21:16:24 +00:00
Gabor Juhos
d54782d01a
generic: replace yaffs symlink fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34020
2012-10-30 21:16:23 +00:00
Gabor Juhos
9a8ccc1a08
generic: rename yaffs patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34019
2012-10-30 21:16:21 +00:00
Gabor Juhos
449f88df0f
generic: fold yaffs_git_2010_10_20 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34013
2012-10-30 14:58:17 +00:00
Gabor Juhos
56190ed0fc
generic: fold yaffs_cvs_2009_04_24 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34012
2012-10-30 14:58:13 +00:00
Imre Kaloz
c0c69c974f
add missing 3.6 symbols
...
SVN-Revision: 33986
2012-10-29 10:00:02 +00:00
Gabor Juhos
f7b2089704
generic: add more symbols for 3.6
...
Also refresh the config file with kconfig.pl.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33984
2012-10-29 09:08:59 +00:00
Gabor Juhos
87186c5ed4
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33982
2012-10-28 18:59:39 +00:00
Gabor Juhos
9a37cf7ec6
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>
SVN-Revision: 33970
2012-10-28 09:50:50 +00:00
Gabor Juhos
7640a7cc24
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>
SVN-Revision: 33968
2012-10-27 15:42:25 +00:00
Imre Kaloz
50be09e1f7
instead of updating the whole file, just add the additional boards
...
SVN-Revision: 33966
2012-10-27 13:29:36 +00:00
Gabor Juhos
e8fc46b7c5
generic: allow to disable [25]GHz support in ath9k via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33954
2012-10-27 08:55:36 +00:00
Gabor Juhos
c92998f9d9
generic: use mtd_read in myloader parser
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33952
2012-10-27 07:57:59 +00:00
Gabor Juhos
ee9376d153
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>
SVN-Revision: 33946
2012-10-26 18:58:18 +00:00
Gabor Juhos
1127781d40
generic: add missing symbols for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33945
2012-10-26 18:58:15 +00:00
Florian Fainelli
fad6afdf06
add some more 3.6 config symbols
...
SVN-Revision: 33940
2012-10-26 15:24:10 +00:00
Hauke Mehrtens
d4ef5de604
kernel: add PCI id 14e4:4350 to ssb
...
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.
SVN-Revision: 33929
2012-10-25 15:50:47 +00:00
Felix Fietkau
1e2962e63c
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
...
SVN-Revision: 33923
2012-10-25 15:11:45 +00:00
Felix Fietkau
5591188ac3
kernel: refresh config files using kconfig.pl
...
SVN-Revision: 33922
2012-10-25 15:11:40 +00:00
Hauke Mehrtens
dca633f1c8
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
SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Florian Fainelli
df6f9072ab
ARM: fix XZ decompressor stub build failure on strstr()
...
SVN-Revision: 33915
2012-10-24 15:57:31 +00:00
Florian Fainelli
b5c27880ee
fixup generic 3.6 kernel config
...
It was not meant to be committed as-is in r33911
SVN-Revision: 33914
2012-10-24 15:57:24 +00:00
Florian Fainelli
a6bfca90b0
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
SVN-Revision: 33913
2012-10-24 13:23:20 +00:00
Florian Fainelli
7e856e5a97
make all 3.6 patches apply and build
...
SVN-Revision: 33911
2012-10-24 13:05:22 +00:00
Florian Fainelli
4afb91a12f
swconfig: get rid of the NLA_PUT_* macros
...
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.
SVN-Revision: 33906
2012-10-24 13:05:04 +00:00
Imre Kaloz
949b46d13d
linux 3.6 support (work in progress)
...
SVN-Revision: 33897
2012-10-23 12:21:34 +00:00
Jonas Gorski
0d2cf5f9e3
kernel: move the bcma fallback sprom fix to generic
...
bcm63xx needs the bcma fallback sprom fix, too.
SVN-Revision: 33896
2012-10-23 10:57:49 +00:00
Florian Fainelli
ca25e61c6c
refresh 3.3 patches
...
SVN-Revision: 33887
2012-10-21 21:30:30 +00:00
Gabor Juhos
0045449b1b
generic: add driver for the the RTL8367R{B,-VB} switches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33839
2012-10-18 07:22:56 +00:00
Imre Kaloz
c24df51736
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>
SVN-Revision: 33743
2012-10-13 06:58:42 +00:00
John Crispin
ba6751058b
gpiodev/gpioctl RIP
...
SVN-Revision: 33725
2012-10-11 11:58:09 +00:00
Imre Kaloz
9b22ca8042
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>
SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Felix Fietkau
d0ec348ded
kernel: fq_codel: dont reinit flow state
...
Keep fq_codel flow state around after queue empty.
SVN-Revision: 33687
2012-10-10 11:54:31 +00:00
Felix Fietkau
f933719138
kernel: dont delay acks after ECN CE
...
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.
SVN-Revision: 33686
2012-10-10 11:54:27 +00:00
Felix Fietkau
f570c806ef
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>
SVN-Revision: 33681
2012-10-10 11:38:44 +00:00
Hauke Mehrtens
9f083117d1
refresh patches
...
SVN-Revision: 33602
2012-09-30 11:45:53 +00:00
Gabor Juhos
a0df3fa315
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
SVN-Revision: 33574
2012-09-27 20:05:39 +00:00
Gabor Juhos
579e9cded8
generic: add upstream commit id to codel patches and refresh those
...
SVN-Revision: 33560
2012-09-26 14:17:17 +00:00
Florian Fainelli
eb97933e2a
backport the upstream entropy changes ( #11951 )
...
SVN-Revision: 33559
2012-09-26 12:54:01 +00:00
Felix Fietkau
b968dcd52e
kernel: increase log buffer size
...
SVN-Revision: 33515
2012-09-22 23:10:42 +00:00
Imre Kaloz
a74cf6f9a8
refresh patches
...
SVN-Revision: 33501
2012-09-21 05:38:16 +00:00
Felix Fietkau
c4a419b445
kernel: enable perf events when enabling profiling, fixes oprofile on arm
...
SVN-Revision: 33497
2012-09-20 20:27:14 +00:00
Gabor Juhos
acaf597f4a
generic: add MTD_NAND_AR934X symbol
...
SVN-Revision: 33384
2012-09-13 07:26:21 +00:00
Gabor Juhos
43147ffec5
generic: move GENERIC_PWM symbol into the generic config
...
SVN-Revision: 33383
2012-09-13 06:38:31 +00:00
Florian Fainelli
a36bdb2417
fix ixp4xx_hss build failure ( #12162 )
...
SVN-Revision: 33356
2012-09-10 08:53:21 +00:00
Gabor Juhos
2323120d5e
generic add WLAN calibration data ID to routerboot.h
...
SVN-Revision: 33346
2012-09-09 14:05:26 +00:00
Gabor Juhos
f3ecbea052
adm5120: move common routerboot definitions into a separate header file
...
Those will be used on the ar71xx platform as well.
SVN-Revision: 33341
2012-09-09 11:55:42 +00:00
Gabor Juhos
fccf1f5105
generic: add support for the EON EN25Q64 SPI flash chip
...
It is used in some TL-WDR4310 devices. Closes #12077 .
SVN-Revision: 33275
2012-08-26 09:27:56 +00:00
Gabor Juhos
5d84dabf0f
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
SVN-Revision: 33193
2012-08-15 13:26:51 +00:00
John Crispin
5f8ffb8873
fixes gpio_dev un/reload balancing
...
Signed-off-by: SHI Bin <shibin@ctsing.com>
SVN-Revision: 33183
2012-08-14 12:32:11 +00:00
Gabor Juhos
b942309f4f
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'
SVN-Revision: 33137
2012-08-12 10:30:41 +00:00
Gabor Juhos
5dd996bc2a
generic: rtl8366_smi: increase delay after switch hw reset
...
SVN-Revision: 33077
2012-08-10 06:32:00 +00:00
John Crispin
f45132d1d4
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>
SVN-Revision: 32950
2012-08-02 13:39:50 +00:00
Gabor Juhos
e2782eae8e
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.
SVN-Revision: 32943
2012-08-02 09:54:21 +00:00
Gabor Juhos
614ca3cc9e
generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
...
SVN-Revision: 32942
2012-08-02 09:54:13 +00:00
Florian Fainelli
c0561a42e7
disable crashlog on ARM platforms for the moment
...
It is currently badly broken on ARM, until fixed, disable it
SVN-Revision: 32926
2012-07-31 23:09:46 +00:00
John Crispin
ee0946a5f4
refresh pwm patch
...
SVN-Revision: 32905
2012-07-29 11:53:06 +00:00
John Crispin
101766fb00
clean up pwm patches and drivers
...
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Hauke Mehrtens
f0fe59648a
add config option CONFIG_I2C_MV64XXX to fix kirkwood build
...
SVN-Revision: 32898
2012-07-28 11:36:52 +00:00