Commit graph

24962 commits

Author SHA1 Message Date
Felix Fietkau
1972a131a0 mac80211: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37653
2013-08-02 10:02:35 +00:00
Jonas Gorski
3e9ad14992 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37652
2013-08-01 23:04:42 +00:00
Hauke Mehrtens
0fe808d032 kernel: load libphy before tg3
SVN-Revision: 37651
2013-08-01 22:19:19 +00:00
Hauke Mehrtens
290dade033 brcm47xx: switch to kernel 3.10.4
This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37650
2013-08-01 21:01:59 +00:00
Hauke Mehrtens
7e14fd55fd brcm47xx: use lib phy when tg3 is in use
This is untested, but probably needed to make it work with the phy lib switch driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37649
2013-08-01 20:47:55 +00:00
Hauke Mehrtens
8966b86067 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37648
2013-08-01 20:46:56 +00:00
Hauke Mehrtens
2b55968f5d brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37647
2013-08-01 19:33:59 +00:00
Hauke Mehrtens
6d7f796b52 brcm47xx: remove support for kernel 3.9
This is not needed any more.

SVN-Revision: 37646
2013-08-01 19:17:51 +00:00
Hauke Mehrtens
e1127aca07 kernel: b53: add support for GPIO reset
This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37645
2013-08-01 19:05:34 +00:00
Hauke Mehrtens
2363cb3893 brcm47xx: add function to get a gpio pin by name
bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37644
2013-08-01 19:04:12 +00:00
John Crispin
1eabf431df gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37643
2013-08-01 14:31:28 +00:00
John Crispin
ef96422920 gpio-button-hotplug: use gpio_button_get_value() to fetch state.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37642
2013-08-01 14:31:24 +00:00
John Crispin
2c19af6ac5 gpio-button-hotplug: add inline function gpio_button_get_value().
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37641
2013-08-01 14:31:20 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
John Crispin
b4c722267e lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37634
2013-08-01 14:30:40 +00:00
John Crispin
046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
2013-08-01 14:30:33 +00:00
Zoltan Herpai
9eb3572b7b imx23: add lradc support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37632
2013-08-01 09:36:37 +00:00
Zoltan Herpai
91e8082e2d kernel: add missing iio config symbols for 3.10
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37631
2013-08-01 06:58:08 +00:00
Felix Fietkau
98ead7fc2f libubox: update to the latest version, fixes a fd deletion race condition in uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37629
2013-07-31 22:07:13 +00:00
Felix Fietkau
719adb6471 uhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37628
2013-07-31 22:07:09 +00:00
Jo-Philipp Wich
b7f8f212ae base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up
SVN-Revision: 37627
2013-07-31 18:11:55 +00:00
Hauke Mehrtens
e77339b9e2 broadcom-wl: fix compile error with kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37626
2013-07-31 17:42:55 +00:00
Hauke Mehrtens
e2b2e3886b brcm47xx: run mtd fixtrx linux every time
With this patch it is possible to boot a device with kernel 3.10 a second time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37625
2013-07-31 17:41:52 +00:00
Jo-Philipp Wich
2a1ccf1830 base-files: abort sysupgrade if file specified with --restore-config is not found
SVN-Revision: 37624
2013-07-31 14:10:34 +00:00
Jo-Philipp Wich
91b814221c ubox: update to git head
- fixes extroot tag file corruption with long uuids

SVN-Revision: 37623
2013-07-31 10:44:50 +00:00
Zoltan Herpai
0a6e0228d9 imx23: add SoC sound support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37622
2013-07-31 09:52:46 +00:00
Felix Fietkau
5f2e61addf gcc: merge a bugfix for a MIPS specific internal compiler error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37621
2013-07-31 08:54:56 +00:00
Jo-Philipp Wich
2771edf647 base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it
SVN-Revision: 37620
2013-07-30 16:42:05 +00:00
Felix Fietkau
28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
2013-07-30 08:00:25 +00:00
Felix Fietkau
5bd3f8b164 mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37618
2013-07-29 22:45:57 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
36e6d4ca53 ath9k: fix several issues in the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37616
2013-07-29 19:44:05 +00:00
John Crispin
336c94c32d lantiq: setup gphy leds on TPlink TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37612
2013-07-29 13:10:42 +00:00
John Crispin
c3b5ee96b9 lantiq: add gphy pinmux definitions
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37611
2013-07-29 13:10:37 +00:00
John Crispin
61e6be686f lantiq: set sane default for phy leds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37610
2013-07-29 13:10:32 +00:00
John Crispin
c2600d13d1 ramips: fix indenting of spi partitions inside dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37609
2013-07-29 13:10:26 +00:00
John Crispin
2b906791be mac80211: rt2x00: fix default register settings for rt5350
Comparing the RTSDK driver and mac80211 revealed, that this register needs
to have a special setup on rt5350.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37608
2013-07-29 13:10:12 +00:00
John Crispin
7f895c6776 mac80211: rt2x00: enable setting wifi led polarity from OF
This patch enables setting the wifi led polarity from OF.
It can be used in a DTS' wmac section like this:

   ralink,led-polarity = <1>;

Valid values are 0 or 1.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37607
2013-07-29 13:09:16 +00:00
Felix Fietkau
a8e8a31cb8 libubox: update to latest version, adds extra sanity checks to blob/blobmsg iterator macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37604
2013-07-29 12:49:04 +00:00
Felix Fietkau
1ff304e5f5 rt2x00: merge fix for queue stopping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37603
2013-07-29 12:49:01 +00:00
Felix Fietkau
99e3616dac kernel: add missing config symbols for 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37602
2013-07-29 12:48:57 +00:00
Felix Fietkau
e00aaea5df gcc: add a bugfix for an internal compiler error on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37601
2013-07-29 10:11:07 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Felix Fietkau
80dd55228e tools: make padjffs2 depend on findutils
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37599
2013-07-29 09:38:24 +00:00
Felix Fietkau
cc26f768e4 kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37598
2013-07-29 09:38:21 +00:00