Commit graph

24891 commits

Author SHA1 Message Date
Gabor Juhos
ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
John Crispin
f0b5e7d419 x86: change /dev/console to tty to fix job control
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 37693
2013-08-04 17:05:33 +00:00
Jonas Gorski
c7976ae5f8 mac80211: add rtlwifi drivers
Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
		   usb dependencies, backport upstream fixes for Kconfig
		   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37687
2013-08-04 15:32:36 +00:00
Luka Perkov
f5b9555cdc imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37686
2013-08-04 14:20:15 +00:00
John Crispin
db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
2013-08-04 13:54:42 +00:00
John Crispin
3a2040ffee octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

SVN-Revision: 37684
2013-08-04 13:54:32 +00:00
Luka Perkov
8a4726bca8 imx6: remove sdma binary
SVN-Revision: 37682
2013-08-04 13:28:26 +00:00
Jo-Philipp Wich
c5b4d98d39 busybox: rename ntp init script back to sysntpd (#13920)
Renaming the init script to ntp broke LuCI time sync functionality and collides with other ntp packages

SVN-Revision: 37681
2013-08-04 12:40:24 +00:00
Hauke Mehrtens
2fcaba306e brcm47xx: change board detection for some Asus devices
This closes #13316

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

SVN-Revision: 37680
2013-08-04 12:36:13 +00:00
Felix Fietkau
1d3067892b build: process transitive dependencies after local dependencies
This improves duplicate dependency detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37679
2013-08-04 12:17:26 +00:00
Felix Fietkau
0249f7510c build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37678
2013-08-04 12:17:22 +00:00
Hauke Mehrtens
0d9ecfa564 kernel: kmod-appletalk: fix dependencies
When CONFIG_LLC gets build as a module, also p8022.ko and psnap.ko are
getting build as a module. kmod-appletalk depends on llc.ko and
psnap.ko, but at least psnap.ko,was not packed. On most systems
CONFIG_LLC will be build into the kernel so this problem does not show
up.

This fixes the missing dependency of kmod-appletalk on psnap.ko

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

SVN-Revision: 37673
2013-08-04 09:51:07 +00:00
Hauke Mehrtens
cccc9e214b kernel: do not build FW_LOADER as a module.
CONFIG_FW_LOADER=y is set in the generic config and our packages in
packages/kernel/linux are depending on it to be compiled into the
kernel.
This fixes some dependency problem where kmod-r8169 misses
firmware_class.ko.

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

SVN-Revision: 37672
2013-08-04 09:41:10 +00:00
Felix Fietkau
80f8b60607 ubus: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37671
2013-08-04 08:55:28 +00:00
Hauke Mehrtens
7dea39fda2 broadcom-diag: show error message in case something goes wrong with gpio irq
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37668
2013-08-03 17:12:07 +00:00
Hauke Mehrtens
309123bbfd broadcom-diag: add gpio config for Asus RT-N66U
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37667
2013-08-03 17:10:37 +00:00
Hauke Mehrtens
b1b3067a12 broadcom-diag: add gpio config for Linksys E4200v1
GPIO for Linksys E4200v1, tested and works. This closes #13454 and #13894

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37666
2013-08-03 17:09:39 +00:00
Felix Fietkau
18e37d8caf gpio-button-hotplug: cleanup, fix compiler warning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37665
2013-08-03 11:56:27 +00:00
Felix Fietkau
4281026dda gpio-button-hotplug: fix active_low handling, possibly broken in r37643
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37664
2013-08-03 11:49:50 +00:00
Zoltan Herpai
36cc8cc856 imx23: add missing DTS config for lradc
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37663
2013-08-03 10:37:25 +00:00
Zoltan Herpai
370ad94576 imx23: add hw crypto (dcp) support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37662
2013-08-03 10:35:18 +00:00
Hauke Mehrtens
d2ed54596d kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
SVN-Revision: 37661
2013-08-03 10:10:16 +00:00
Hauke Mehrtens
b2d2ca4bbd kernel: add missing config options
SVN-Revision: 37660
2013-08-02 20:13:54 +00:00
Hauke Mehrtens
f43b6b2bea kernel: add missing module to video-core for kernel < 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37659
2013-08-02 20:08:20 +00:00
Hauke Mehrtens
65ef965e6e kernel: fix usb-chipidea compilation with kernel <= 3.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37658
2013-08-02 20:07:11 +00:00
Hauke Mehrtens
219eac1856 kernel: add missing config option
SVN-Revision: 37657
2013-08-02 16:51:47 +00:00
Hauke Mehrtens
c47a55dd0d kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

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

SVN-Revision: 37656
2013-08-02 16:16:23 +00:00
Hauke Mehrtens
58274d68fb broadcom-diag: add support for the ASUS RT-N12
This adds button and led info, which I determined
by manually poking the gpio values.

Signed-off-by: Josh Stone <cuviper@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37655
2013-08-02 15:44:04 +00:00
Hauke Mehrtens
af970e66bf broadcom-diag: increase version number
There are some changes in there and this should be rebuild.

SVN-Revision: 37654
2013-08-02 15:06:14 +00:00
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