Commit graph

845 commits

Author SHA1 Message Date
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
Florian Fainelli
ac30beaaa7 add more USB-related config symbols
SVN-Revision: 32883
2012-07-26 17:03:05 +00:00
Hauke Mehrtens
0c75abf527 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.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
Florian Fainelli
ab2cb9ce61 add yet another framebuffer symbol
SVN-Revision: 32844
2012-07-25 14:01:57 +00:00
John Crispin
7ee4798be2 add unset CONFIG_FB_XGI to fix fullbuilds
SVN-Revision: 32836
2012-07-25 09:05:23 +00:00
Florian Fainelli
c238862651 add missing framebuffer related symbols
SVN-Revision: 32804
2012-07-24 19:43:23 +00:00
John Crispin
53a6946bb4 fix tantos patch properly
SVN-Revision: 32796
2012-07-24 17:28:12 +00:00
John Crispin
6fe32d72a2 make tantos switch select ETHERNET_PACKET_MANGLE
SVN-Revision: 32795
2012-07-24 16:50:14 +00:00
Felix Fietkau
b59bc92c6e crashlog: fix dependency, add memblock support
SVN-Revision: 32787
2012-07-22 16:39:33 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Gabor Juhos
e9af340016 generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
SVN-Revision: 32680
2012-07-12 08:34:23 +00:00
Luka Perkov
283021ac15 ocf: update to version 20120127
SVN-Revision: 32672
2012-07-11 23:38:14 +00:00
Hauke Mehrtens
45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
2012-07-11 22:17:05 +00:00
Gabor Juhos
6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Jonas Gorski
1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Hauke Mehrtens
bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Felix Fietkau
a5c684de26 kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

SVN-Revision: 32514
2012-06-27 22:32:47 +00:00
Felix Fietkau
41909c6568 kernel: add missing config symbol
SVN-Revision: 32498
2012-06-24 20:21:27 +00:00
Gabor Juhos
b934fa2f16 generic: ar8216: allow to configure AR8327 LEDs via platform data
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Felix Fietkau
50958f5e03 kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk

SVN-Revision: 32395
2012-06-16 21:06:33 +00:00
Felix Fietkau
8b46a72583 kernel: add a few more tracing related symbols
SVN-Revision: 32094
2012-06-06 18:04:00 +00:00
Felix Fietkau
ce1d4d7ee9 kernel: make tracing support configurable
SVN-Revision: 32085
2012-06-06 15:25:57 +00:00
Florian Fainelli
7b12e9e49c backport spi message queue infrastructure
SVN-Revision: 32077
2012-06-06 13:31:30 +00:00
Florian Fainelli
5ec2209734 refresh generic patches
SVN-Revision: 32059
2012-06-05 13:40:38 +00:00
John Crispin
47ef62d1b8 adds patch to make Tantos (psb6970) switch buildable again
SVN-Revision: 32006
2012-05-30 17:41:28 +00:00
Gabor Juhos
9e02593b70 generic: ar8216: add revision specific PHY fixups for AR8327
SVN-Revision: 32000
2012-05-29 16:39:27 +00:00
Gabor Juhos
0d241e6670 generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
SVN-Revision: 31999
2012-05-29 16:39:26 +00:00
Gabor Juhos
b2fce19a70 generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
SVN-Revision: 31998
2012-05-29 16:39:24 +00:00
Felix Fietkau
f638414fdc kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
2012-05-27 21:02:36 +00:00
Gabor Juhos
86dad96fd0 generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
2012-05-27 17:09:47 +00:00
Gabor Juhos
705d31203c generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
2012-05-27 17:09:45 +00:00
Gabor Juhos
9217115687 generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
2012-05-27 17:09:43 +00:00
Gabor Juhos
466ef30173 generic: rtl8367: allow to use VLANs > 31
SVN-Revision: 31914
2012-05-27 17:09:41 +00:00
Felix Fietkau
51bc47ce7c kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
2012-05-27 15:16:37 +00:00