Commit graph

1021 commits

Author SHA1 Message Date
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
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
2013-03-10 14:51:42 +00:00
Gabor Juhos
15718f5387 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35931
2013-03-10 13:24:47 +00:00
Felix Fietkau
72af5b4b35 kernel: add a missing config symbol for 3.8
SVN-Revision: 35910
2013-03-09 19:04:37 +00:00
Felix Fietkau
85348d602e kernel: fix mpcore watchdog symbol export
SVN-Revision: 35907
2013-03-09 18:51:39 +00:00
Gabor Juhos
26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos
da79a4c698 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35861
2013-03-03 13:58:10 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
babd5aa2fc linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35726
2013-02-21 16:52:34 +00:00
Jonas Gorski
3010a0b616 generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35723
2013-02-21 11:45:38 +00:00
Jonas Gorski
23e71c56ba generic: b53: remove empty spaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35722
2013-02-21 11:45:36 +00:00
Gabor Juhos
7d0d29ab6e linux/3.8: add missing Kconfig symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35686
2013-02-19 20:52:03 +00:00
Gabor Juhos
ed0f43f1e2 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35672
2013-02-19 09:17:38 +00:00
Gabor Juhos
451dd745bd generic: ar8216: cleanup function/variable names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35642
2013-02-17 12:48:25 +00:00
Gabor Juhos
51996304c4 generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35641
2013-02-17 12:48:23 +00:00
Hauke Mehrtens
1a8218d6e4 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.

SVN-Revision: 35632
2013-02-16 20:28:24 +00:00
Jonas Gorski
dd77663fb0 kernel: add missing config options
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35611
2013-02-16 11:39:45 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
f35c369710 generic: ar8216: move PHY4 RGMII workaround code out of the loop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35603
2013-02-14 14:55:40 +00:00
Gabor Juhos
d64888ffc0 generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.

Move the switch registration into the probe routine to fix
this problem.

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

SVN-Revision: 35602
2013-02-14 14:01:24 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
9525a075c1 ar8216: remove superfluous code from ar8216_config_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35562
2013-02-11 16:57:31 +00:00
Gabor Juhos
9c86d268eb generic: ar8216: don't use ethernet device name in register_switch
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.

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

SVN-Revision: 35560
2013-02-11 16:11:31 +00:00
Gabor Juhos
3f3eba88f6 generic: ar8216: reuse the private data from ar8216_probe
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.

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

SVN-Revision: 35559
2013-02-11 16:11:30 +00:00
Gabor Juhos
1afb759b35 generic: ar8216: use phydev instead of pdev everywhere
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35555
2013-02-11 13:25:43 +00:00