Felix Fietkau
edd8048107
kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base
...
Fixes booting on single-core CNS3xxx devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36308
12 years ago
Felix Fietkau
06733c2650
kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36307
12 years ago
Felix Fietkau
7fa2957103
kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36304
12 years ago
Felix Fietkau
df3d4690bd
kernel: keep dropped stats in fq_codel
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36303
12 years ago
Felix Fietkau
ec3a8846fc
kernel: tune fq_codel defaults for common netdevice speeds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36302
12 years ago
Felix Fietkau
307965026a
kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36301
12 years ago
Florian Fainelli
915969ff2c
kernel: refresh patches against 3.9-rc6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36297
12 years ago
Florian Fainelli
c3366cd164
kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
...
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36296
12 years ago
Florian Fainelli
518d6a9273
kernel: backport switch user API changes after r36283
...
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36295
12 years ago
John Crispin
fb47fd0d6b
unbreak portmapping - typo fix
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36293
12 years ago
John Crispin
fff58a5801
allow loading port maps from OF
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36283
12 years ago
Gabor Juhos
d45ef216e6
linux/3.8: implement pcibios_get_phb_of_node for MIPS
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36233
12 years ago
Gabor Juhos
51fa28e2c2
linux/3.8: backport devm_ioremap_resource from 3.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36232
12 years ago
Gabor Juhos
747b795b56
generic: rtl8367: add compatible string with vendor prefix
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36230
12 years ago
Gabor Juhos
f5d8d80ca9
generic: rtl8367b: fix rtl8367b_extif_init_of
...
* disable external interface if its property is not present
* show an error message if the extif property is not valid
* use proper error values intead of -1
* fix memory leak
* wrap long lines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36229
12 years ago
Gabor Juhos
32d3b456f0
linux/3.8: add more missing symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36228
12 years ago
Gabor Juhos
89539462a8
linux/3.8: add missing symbol
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36226
12 years ago
Gabor Juhos
38bd9b4337
generic: rtl8367: allow to load extif config from OF
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36220
12 years ago
Gabor Juhos
585d19d168
generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36219
12 years ago
Gabor Juhos
68c931c637
generic: rtl8367: add vendor prefix to the compatible string
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36218
12 years ago
Gabor Juhos
f78c902cfd
kernel: update linux 3.8 to 3.8.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36215
12 years ago
Gabor Juhos
202fb45deb
refresh kernel configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36214
12 years ago
John Crispin
c838ec2391
Patch for invoking (pre)init
...
http://patchwork.openwrt.org/patch/3485/
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 36183
12 years ago
John Crispin
1105bd2897
add OF support to rtl8367b driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36159
12 years ago
John Crispin
cc34858d4a
make firmware loading work on v3.9
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36158
12 years ago
Imre Kaloz
c90078ce87
refresh patches against -rc4
...
SVN-Revision: 36127
12 years ago
Imre Kaloz
f26378fd7c
add missing symbols
...
SVN-Revision: 36126
12 years ago
Hauke Mehrtens
bb81e695f9
kernel: add missing config options for au1000 target
...
SVN-Revision: 36115
12 years ago
Hauke Mehrtens
18c47be19a
kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
...
SVN-Revision: 36102
12 years ago
Hauke Mehrtens
4995f23669
kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
...
This was turned from a silent confg option without a text to a normal
config option which could be selected without any other option
depending on this. This could cause the situation where REGMAP_SPI was
selected without SPI_MASTER being selected.
SVN-Revision: 36101
12 years ago
Hauke Mehrtens
c9544f4af0
kernel: add some fixes for kernel 3.9
...
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.
SVN-Revision: 36098
12 years ago
Hauke Mehrtens
99638c5288
kernel: add some missing config options for kernel 3.9
...
SVN-Revision: 36097
12 years ago
Florian Fainelli
b1cc7a90a4
kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection ( #13193 )
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36091
12 years ago
Florian Fainelli
a5551d366a
kernel: refresh 3.9 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36074
12 years ago
Florian Fainelli
6a7100c760
kernel: set regmap-core module license
...
Fixes the following issues:
[ 7.660000] regmap_core: module license 'unspecified' taints kernel
[ 7.690000] Disabling lock debugging due to kernel
[ 7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[ 7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[ 7.720000] regmap_core: Unknown symbol devres_add (err 0
[ 7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[ 7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[ 7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[ 7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[ 7.780000] regmap_core: Unknown symbol devres_free (err 0
[ 7.800000] regmap_core: Unknown symbol devres_find (err 0
[ 7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36070
12 years ago
Gabor Juhos
72253b9073
generic: ar8216: start AR8327 switch from the probe routine
...
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36050
12 years ago
Gabor Juhos
5503686f69
generic: ar8216: add ar8xxx_start helper
...
Move switch starting code into a separate function.
This makes it usable from other places.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36049
12 years ago
Gabor Juhos
7ba6a8d8e8
generic: ar8216: add OF configuration support for AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36047
12 years ago
Gabor Juhos
ee12b1b7d5
generic: ar8216: separate platform_data based AR8327 code
...
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36046
12 years ago
Gabor Juhos
d88f66ae21
generic: ar8216: don't use platform_data in ar8327_init_port
...
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36045
12 years ago
Gabor Juhos
9d3f70d503
generic: ar8216: move the ar8327_get_port_init_status function
...
It will be used in ar8327_probe routine.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36044
12 years ago
Gabor Juhos
17d735fc46
generic: ar8216: simplify and rename ar8327_config_port
...
Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36043
12 years ago
Gabor Juhos
3fee1bddbe
generic: ar8216: remove superfluous pdata checks
...
The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36042
12 years ago
Gabor Juhos
07532dca7f
kernel: update linux 3.8 to 3.8.3
...
Also refresh the related generic/platform patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36039
12 years ago
Florian Fainelli
b2e63b8ea8
kernel: add support for 3.9-rc2
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36008
12 years ago
John Crispin
1360067c4a
update the /init file to start /sbin/init
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36002
12 years ago
Hauke Mehrtens
45b24fa771
kernel: add some missing config options found by the buildbot.
...
SVN-Revision: 35945
12 years ago
Felix Fietkau
53e0f10246
kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
...
SVN-Revision: 35938
12 years ago
Felix Fietkau
2b83c9bd8a
kernel: ensure that the arm exception handlers get preserved
...
SVN-Revision: 35937
12 years ago
Felix Fietkau
f0d7ba33ef
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
...
SVN-Revision: 35936
12 years ago