Commit Graph

1045 Commits (92259c480340026bb4bb06a17a7ab72c54e0348e)

Author SHA1 Message Date
John Crispin 10f432ba9d fix rtl8366s OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36323
2013-04-12 18:56:05 +00:00
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
2013-04-10 16:07:50 +00:00
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
2013-04-10 13:45:12 +00:00
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
2013-04-10 13:11:29 +00:00
Felix Fietkau df3d4690bd kernel: keep dropped stats in fq_codel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36303
2013-04-10 13:11:25 +00:00
Felix Fietkau ec3a8846fc kernel: tune fq_codel defaults for common netdevice speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36302
2013-04-10 13:11:21 +00:00
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
2013-04-10 13:11:16 +00:00
Florian Fainelli 915969ff2c kernel: refresh patches against 3.9-rc6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36297
2013-04-09 16:16:20 +00:00
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
2013-04-09 16:16:16 +00:00
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
2013-04-09 15:47:01 +00:00
John Crispin fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin fff58a5801 allow loading port maps from OF
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36283
2013-04-09 14:19:09 +00:00
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
2013-04-06 17:33:03 +00:00
Gabor Juhos 51fa28e2c2 linux/3.8: backport devm_ioremap_resource from 3.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36232
2013-04-06 17:33:00 +00:00
Gabor Juhos 747b795b56 generic: rtl8367: add compatible string with vendor prefix
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36230
2013-04-06 17:19:31 +00:00
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
2013-04-06 17:03:09 +00:00
Gabor Juhos 32d3b456f0 linux/3.8: add more missing symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36228
2013-04-06 16:56:47 +00:00
Gabor Juhos 89539462a8 linux/3.8: add missing symbol
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36226
2013-04-06 16:38:36 +00:00
Gabor Juhos 38bd9b4337 generic: rtl8367: allow to load extif config from OF
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36220
2013-04-06 12:37:36 +00:00
Gabor Juhos 585d19d168 generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36219
2013-04-06 12:37:34 +00:00
Gabor Juhos 68c931c637 generic: rtl8367: add vendor prefix to the compatible string
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36218
2013-04-06 12:37:32 +00:00
Gabor Juhos f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos 202fb45deb refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36214
2013-04-06 11:40:41 +00:00
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
2013-04-03 10:00:50 +00:00
John Crispin 1105bd2897 add OF support to rtl8367b driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36159
2013-04-03 09:58:33 +00:00
John Crispin cc34858d4a make firmware loading work on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36158
2013-04-03 09:58:28 +00:00
Imre Kaloz c90078ce87 refresh patches against -rc4
SVN-Revision: 36127
2013-03-25 13:53:48 +00:00
Imre Kaloz f26378fd7c add missing symbols
SVN-Revision: 36126
2013-03-25 13:53:17 +00:00
Hauke Mehrtens bb81e695f9 kernel: add missing config options for au1000 target
SVN-Revision: 36115
2013-03-24 14:01:38 +00:00
Hauke Mehrtens 18c47be19a kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
SVN-Revision: 36102
2013-03-21 14:56:04 +00:00
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
2013-03-21 14:50:59 +00:00
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
2013-03-20 21:59:24 +00:00
Hauke Mehrtens 99638c5288 kernel: add some missing config options for kernel 3.9
SVN-Revision: 36097
2013-03-20 21:53:51 +00:00
Florian Fainelli b1cc7a90a4 kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36091
2013-03-19 14:13:39 +00:00
Florian Fainelli a5551d366a kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36074
2013-03-17 19:46:32 +00:00
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
2013-03-17 19:45:48 +00:00
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
2013-03-15 16:06:28 +00:00
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
2013-03-15 16:06:25 +00:00
Gabor Juhos 7ba6a8d8e8 generic: ar8216: add OF configuration support for AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36047
2013-03-15 15:50:08 +00:00
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
2013-03-15 15:50:05 +00:00
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
2013-03-15 15:50:02 +00:00
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
2013-03-15 15:50:00 +00:00
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
2013-03-15 15:49:57 +00:00
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
2013-03-15 15:49:55 +00:00
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
2013-03-15 14:39:51 +00:00
Florian Fainelli b2e63b8ea8 kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36008
2013-03-14 14:45:56 +00:00
John Crispin 1360067c4a update the /init file to start /sbin/init
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36002
2013-03-13 18:11:13 +00:00
Hauke Mehrtens 45b24fa771 kernel: add some missing config options found by the buildbot.
SVN-Revision: 35945
2013-03-10 20:25:19 +00:00
Felix Fietkau 53e0f10246 kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
SVN-Revision: 35938
2013-03-10 17:04:36 +00:00
Felix Fietkau 2b83c9bd8a kernel: ensure that the arm exception handlers get preserved
SVN-Revision: 35937
2013-03-10 17:04:31 +00:00