openwrt.git
9 years agoar8216: introduce fixup_phys callback in ar8xxx_chip
nbd [Wed, 19 Nov 2014 20:17:43 +0000 (20:17 +0000)]
ar8216: introduce fixup_phys callback in ar8xxx_chip

Move phy fixup code from the chip-specific hw_init functions into a
fixup_phys callback.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43330 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: after a switch reset poll until BCMR_RESET is cleared
nbd [Wed, 19 Nov 2014 20:17:37 +0000 (20:17 +0000)]
ar8216: after a switch reset poll until BCMR_RESET is cleared

Currently there is a fixed 1000ms wait time after the switch was reset.
Most if not all switches need much less time to perform a reset.
Therefore replace the fixed wait time with polling for BMCR_RESET to
be cleared.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43329 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: introduce global constant for number of PHYs
nbd [Wed, 19 Nov 2014 20:17:30 +0000 (20:17 +0000)]
ar8216: introduce global constant for number of PHYs

All supported switches have 5 PHYs. Currently partially 5 is hardcoded
and partially switch-specific constants exist.
Replace them with a global constant.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43328 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, fixes ubus service list
nbd [Wed, 19 Nov 2014 20:17:24 +0000 (20:17 +0000)]
procd: update to the latest version, fixes ubus service list

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43327 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask...
nbd [Wed, 19 Nov 2014 20:17:08 +0000 (20:17 +0000)]
mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43326 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add an intermediate software queueing implementation
nbd [Wed, 19 Nov 2014 20:17:01 +0000 (20:17 +0000)]
mac80211: add an intermediate software queueing implementation

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43325 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add support for passing sta rate table updates to the driver
nbd [Wed, 19 Nov 2014 20:16:55 +0000 (20:16 +0000)]
mac80211: add support for passing sta rate table updates to the driver

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43324 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: allow AutoLoad and AutoProbe to specify modules not included in the package
nbd [Wed, 19 Nov 2014 20:16:50 +0000 (20:16 +0000)]
build: allow AutoLoad and AutoProbe to specify modules not included in the package

On out-of-tree modules depending on other out-of-tree modules from a
different tree, module dependencies are not filled properly.
This change helps with adding those dependencies in the AutoLoad call

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43323 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[PATCH] brcm47xx: mtd: bcm47xxpart: lower minimal blocksize to 4Ki (from 64Ki)
rmilecki [Wed, 19 Nov 2014 17:35:24 +0000 (17:35 +0000)]
[PATCH] brcm47xx: mtd: bcm47xxpart: lower minimal blocksize to 4Ki (from 64Ki)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43322 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoixp4xx: Don't overwrite memory in wg302v1_fixup()
blogic [Wed, 19 Nov 2014 14:09:19 +0000 (14:09 +0000)]
ixp4xx: Don't overwrite memory in wg302v1_fixup()

wg302v1_fixup() looks for the ATAG_CMDLINE atag, it doesn't find it and
so it takes the last atag in the list and overwrites non allocated
memory.

The side effects are corrupted vital data and a kernel that doesn't
boot. More details here https://dev.openwrt.org/ticket/18356

The fix appends the fixup to the command line and updates the atag only
when it finds it.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43320 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogemini: add basic nas4220 board support
blogic [Wed, 19 Nov 2014 14:09:10 +0000 (14:09 +0000)]
gemini: add basic nas4220 board support

Few notes:
- redboot partitions are unusable
- redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config
- boots fine but only ethernet works for now
- split wiliboard and raidsonic boards into different subtargets

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43319 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokeernel: Fixed dependencies in netfilter modules introduced with 3.18 kernel
blogic [Wed, 19 Nov 2014 14:09:01 +0000 (14:09 +0000)]
keernel: Fixed dependencies in netfilter modules introduced with 3.18 kernel

Building current trunk with 3.18 kernel fired some errors like 'missed
dependancy of module XXX from library kmod_YYY.ko'. These patch fixes 3
of such issues which are critical to have a successful build.

Signed-off-by: Alexey N Vinogradov <a.n.vinogradov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43318 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-envtools: add carambola2 support
blogic [Wed, 19 Nov 2014 13:49:54 +0000 (13:49 +0000)]
uboot-envtools: add carambola2 support

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43317 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove gpio-pwm kmod definition
jogo [Wed, 19 Nov 2014 12:42:00 +0000 (12:42 +0000)]
kernel: remove gpio-pwm kmod definition

r37490 removed the actual driver but left the kmod definition intact,
causing the build system hapily creating an empty package for it.
Remove it also to not make it seem as if it still exists.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43316 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: supress errors from ldd
jogo [Wed, 19 Nov 2014 12:17:37 +0000 (12:17 +0000)]
base-files: supress errors from ldd

ldd might be called for shell scrips during sysupgrade, causing it to
complain that they are not a dynamic executables.

This is a harmless error, so supress it to avoid confusing about them
being serious ones.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43315 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: musl: fix symlink for ldd
jogo [Wed, 19 Nov 2014 12:17:34 +0000 (12:17 +0000)]
toolchain: musl: fix symlink for ldd

ld-musl-*.so* is a symlink "broken" for the hostsystem, so wildcard
will skip it, causing LD_MUSL_NAME to empty and the ldd symlink pointing
to ../../lib directly.
This causes sysupgrade failing to copy any linked libaries and
consequently failing to run anything after switching to ram disk.

Fix this by creating a symlink directly pointing to where ld-musl-*.so*
points to.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43314 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonf_conntrack_rtsp: update to latest version
blogic [Wed, 19 Nov 2014 09:21:12 +0000 (09:21 +0000)]
nf_conntrack_rtsp: update to latest version

Update nf_conntrack_rtsp to latest version based on http://mike.it-loops.com/rtsp/ (rtsp-module-3.7-v2.tar.gz).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43311 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouqmi: update to latest git HEAD
blogic [Wed, 19 Nov 2014 09:21:07 +0000 (09:21 +0000)]
uqmi: update to latest git HEAD

* fixes a bug in multipart sms
* adds a new call to read the sim phone number (partially functioanl)

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43310 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomusl: add getopt support for non-option arguments
blogic [Wed, 19 Nov 2014 09:21:02 +0000 (09:21 +0000)]
musl: add getopt support for non-option arguments

musl libc doesn't support the GNU getopt extension to parse non-option
arguments when the optstring starts with '-'.

This extension is used by some utilities, notably iptables, that
currently return with errors even with perfectly valid invocations.

The patch adds the code needed by getopt.c and getopt_long.c to
implement that extension.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43309 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agompc85xx: add 3.14 kernel support for mpc85xx platform
blogic [Wed, 19 Nov 2014 09:20:55 +0000 (09:20 +0000)]
mpc85xx: add 3.14 kernel support for mpc85xx platform

This patch adds 3.14 kernel support for the mpc85xx platform.
Works fine here with a TL-WDR4900 which seems to be the only
supported device using this platform.
There might be differences depending on HW version, therefore
I'd ask others to test too.

Changes to 3.10
  missing config options added to 3.14 config file
  patch 001: rebased
  patch 100: rebased
  patch 110: rebased
  patch 120: rebased
  patch 130: rebased
  patch 140: minor adjustment
  patch 200: removed, change went upstream
  patch 210: rebased
  patch 220: removed, change went upstream
  patch 750: new, fixes an issue with ethernet port autoneg being
             disabled due to changes in kernel phy handling

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43308 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Added support for D-link DHP-1565 rev. A1
blogic [Wed, 19 Nov 2014 09:20:47 +0000 (09:20 +0000)]
ar71xx: Added support for D-link DHP-1565 rev. A1

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43307 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix switch configuration in Ubiquiti UAP Pro
blogic [Wed, 19 Nov 2014 09:20:18 +0000 (09:20 +0000)]
ar71xx: fix switch configuration in Ubiquiti UAP Pro

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43306 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: various fixes to the wm8960 setup code
blogic [Wed, 19 Nov 2014 09:20:12 +0000 (09:20 +0000)]
ralink: various fixes to the wm8960 setup code

still no sound but the codec is properly detected now, powers up and i can hear
noise on the speakers.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43305 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: make the dmaengine driver compile under 3.14
blogic [Wed, 19 Nov 2014 09:20:02 +0000 (09:20 +0000)]
ralink: make the dmaengine driver compile under 3.14

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43304 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix tx vlan offload and hardware status
blogic [Wed, 19 Nov 2014 09:19:57 +0000 (09:19 +0000)]
ralink: fix tx vlan offload and hardware status

hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43303 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: support netconsole
blogic [Wed, 19 Nov 2014 09:19:49 +0000 (09:19 +0000)]
ralink: support netconsole

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43302 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: improve tx vlan offload
blogic [Wed, 19 Nov 2014 09:19:43 +0000 (09:19 +0000)]
ralink: improve tx vlan offload

hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43301 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: merge the mt7620a/n subtargets
blogic [Wed, 19 Nov 2014 09:19:38 +0000 (09:19 +0000)]
ralink: merge the mt7620a/n subtargets

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: fix race, expose config options
cyrus [Wed, 19 Nov 2014 08:31:13 +0000 (08:31 +0000)]
netifd: fix race, expose config options

Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43299 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix a crash bug in minstrel_ht
nbd [Tue, 18 Nov 2014 22:20:50 +0000 (22:20 +0000)]
mac80211: fix a crash bug in minstrel_ht

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43298 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add support for reporting tx status without attached skb
nbd [Tue, 18 Nov 2014 22:20:45 +0000 (22:20 +0000)]
mac80211: add support for reporting tx status without attached skb

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43297 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: enable minstrel_ht VHT support
nbd [Tue, 18 Nov 2014 22:20:37 +0000 (22:20 +0000)]
mac80211: enable minstrel_ht VHT support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43296 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: properly fix copying ld*.so with eglibc
jogo [Tue, 18 Nov 2014 15:19:46 +0000 (15:19 +0000)]
base-files: properly fix copying ld*.so with eglibc

r36107 ("base-files: sysupgrade fail with eglibc") tried to fix
sysupgrade by changing the ld-soname to what is expected, but only
fixed MIPS while breaking ARM.

The underlying issue is that the ld.so name varies widely across
different architectures for eglibc:

eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u
ld64.so.1
ld64.so.2
ld-linux-aarch64_be.so.1
ld-linux-aarch64.so.1
ld-linux-armhf.so.3
ld-linux-mipsn8.so.1
ld-linux.so.2
ld-linux.so.3
ld-linux-x32.so.2
ld-linux-x86-64.so.2
ld.so.1

Instead of adding each different soname to check for and copy it,
replace the awk script with a sed script to extract it properly and
drop the hardcoded so-name.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43295 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: be less verbose by default, increase musl compatibility
cyrus [Tue, 18 Nov 2014 09:40:39 +0000 (09:40 +0000)]
odhcp6c: be less verbose by default, increase musl compatibility

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43294 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: set ralink_soc on mt7621
blogic [Mon, 17 Nov 2014 21:58:30 +0000 (21:58 +0000)]
ralink: set ralink_soc on mt7621

sdhci failed to init because of this

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43293 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix pcie reset
blogic [Mon, 17 Nov 2014 16:27:48 +0000 (16:27 +0000)]
ralink: fix pcie reset

some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/modules: use crc32c_generic.ko instead of crc32c.ko
blogic [Mon, 17 Nov 2014 14:30:42 +0000 (14:30 +0000)]
kernel/modules: use crc32c_generic.ko instead of crc32c.ko

Starting from kernel version 3.15, the crc32c module was renamed to
crc32c_generic.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43291 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/modules: location of usb-common.ko changed
blogic [Mon, 17 Nov 2014 14:30:19 +0000 (14:30 +0000)]
kernel/modules: location of usb-common.ko changed

usb-common.ko was moved to drivers/usb/common starting from kernel 3.16
by upstream commit f4cbd33fd5f0587910fa9db403a1b42f1cabf820

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43290 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add the ubifs EOF marker support to 3.14 kernel
blogic [Mon, 17 Nov 2014 08:34:03 +0000 (08:34 +0000)]
kernel: add the ubifs EOF marker support to 3.14 kernel

Without this patch the UBIFS driver is unable to attach to the mtd
storage and mount the root FS.

Fixes a kernel panic with Netgear WNDR4300/3700v4 devices.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43287 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
nbd [Sun, 16 Nov 2014 12:26:53 +0000 (12:26 +0000)]
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43283 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: use mediatek,mtd-eeprom instead of ralink for mt76
nbd [Sun, 16 Nov 2014 12:26:47 +0000 (12:26 +0000)]
ramips: use mediatek,mtd-eeprom instead of ralink for mt76

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43282 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix default config breakage on whr-1166d
nbd [Sun, 16 Nov 2014 11:39:19 +0000 (11:39 +0000)]
ramips: fix default config breakage on whr-1166d

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43281 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotrace-cmd: update to v2.4
nbd [Sun, 16 Nov 2014 11:39:14 +0000 (11:39 +0000)]
trace-cmd: update to v2.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43280 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix VHT rate selection
nbd [Sun, 16 Nov 2014 11:39:07 +0000 (11:39 +0000)]
mac80211: fix VHT rate selection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43279 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: backport list_last_entry
nbd [Sun, 16 Nov 2014 11:39:01 +0000 (11:39 +0000)]
mac80211: backport list_last_entry

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43278 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: backport devm_kmemdup
nbd [Sun, 16 Nov 2014 11:38:55 +0000 (11:38 +0000)]
mac80211: backport devm_kmemdup

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43277 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: few updates tot he sdhci probe code
blogic [Sat, 15 Nov 2014 14:35:32 +0000 (14:35 +0000)]
ralink: few updates tot he sdhci probe code

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43275 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: make the sdhci module build again
blogic [Fri, 14 Nov 2014 18:51:41 +0000 (18:51 +0000)]
ralink: make the sdhci module build again

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43274 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: fix "unused variable" compiler warning
blogic [Fri, 14 Nov 2014 17:06:09 +0000 (17:06 +0000)]
ar8216: fix "unused variable" compiler warning

Most likely a copy & paste error when deriving ar8327_sw_set_ports
from ar8xxx_sw_set_ports.
Remove unused variable.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43273 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: Concatenate multiple flash chips for lantiq-flash
blogic [Fri, 14 Nov 2014 17:06:04 +0000 (17:06 +0000)]
lantiq: Concatenate multiple flash chips for lantiq-flash

Signed-off-by: Maikel Bloemendal <openwrt@maikelenyvonne.nl>
Tested-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43272 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Fix the sys LEDs on the EasyLink M150 and mini
blogic [Fri, 14 Nov 2014 16:58:29 +0000 (16:58 +0000)]
ar71xx: Fix the sys LEDs on the EasyLink M150 and mini

Sets the system LED on the EasyLink M150 and mini to lower-case "easylink"

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43271 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: adjust MR900 profile for the OpenMesh MR900v2 board
blogic [Fri, 14 Nov 2014 16:55:32 +0000 (16:55 +0000)]
ar71xx: adjust MR900 profile for the OpenMesh MR900v2 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43270 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/uboot-envtools: add OpenMesh MR900v2 support
blogic [Fri, 14 Nov 2014 16:55:26 +0000 (16:55 +0000)]
package/uboot-envtools: add OpenMesh MR900v2 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43269 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/om-watchdog: add OpenMesh MR900v2 support
blogic [Fri, 14 Nov 2014 16:55:19 +0000 (16:55 +0000)]
package/om-watchdog: add OpenMesh MR900v2 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43268 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add sysupgrade support for OpenMesh MR900v2
blogic [Fri, 14 Nov 2014 16:55:14 +0000 (16:55 +0000)]
ar71xx: add sysupgrade support for OpenMesh MR900v2

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43267 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add user-space support for OpenMesh MR900v2
blogic [Fri, 14 Nov 2014 16:55:04 +0000 (16:55 +0000)]
ar71xx: add user-space support for OpenMesh MR900v2

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43266 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add kernel support for the OpenMesh MR900v2
blogic [Fri, 14 Nov 2014 16:54:58 +0000 (16:54 +0000)]
ar71xx: add kernel support for the OpenMesh MR900v2

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43265 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: create profile and build image for the OpenMesh MR900 board
blogic [Fri, 14 Nov 2014 16:54:50 +0000 (16:54 +0000)]
ar71xx: create profile and build image for the OpenMesh MR900 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43264 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/uboot-envtools: add OpenMesh MR900 support
blogic [Fri, 14 Nov 2014 16:54:45 +0000 (16:54 +0000)]
package/uboot-envtools: add OpenMesh MR900 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43263 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage/om-watchdog: add OpenMesh MR900 support
blogic [Fri, 14 Nov 2014 16:54:38 +0000 (16:54 +0000)]
package/om-watchdog: add OpenMesh MR900 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43262 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: enable sysupgrade for the OpenMesh MR900
blogic [Fri, 14 Nov 2014 16:54:28 +0000 (16:54 +0000)]
ar71xx: enable sysupgrade for the OpenMesh MR900

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43261 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts/om-fwupgradecfg-gen.sh: add support for the MR900
blogic [Fri, 14 Nov 2014 16:54:23 +0000 (16:54 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the MR900

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43260 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add user-space support for the OpenMesh MR900 board
blogic [Fri, 14 Nov 2014 16:54:15 +0000 (16:54 +0000)]
ar71xx: add user-space support for the OpenMesh MR900 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43259 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add kernel support for the OpenMesh MR900 board
blogic [Fri, 14 Nov 2014 16:54:07 +0000 (16:54 +0000)]
ar71xx: add kernel support for the OpenMesh MR900 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43258 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to latest git HEAD
blogic [Fri, 14 Nov 2014 16:53:58 +0000 (16:53 +0000)]
procd: update to latest git HEAD

make sure /sys/fs/cgroup is mounted on boot

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43257 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: vgv7519 - set some defaults for leds
blogic [Fri, 14 Nov 2014 16:53:53 +0000 (16:53 +0000)]
lantiq: vgv7519 - set some defaults for leds

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43256 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: set default led configuration from /sys entry later, after per board settings
blogic [Fri, 14 Nov 2014 16:53:48 +0000 (16:53 +0000)]
lantiq: set default led configuration from /sys entry later, after per board settings

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43255 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: dont define pm_poweroff
blogic [Fri, 14 Nov 2014 16:53:40 +0000 (16:53 +0000)]
ralink: dont define pm_poweroff

this makes gpio-poweroff work

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43254 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix bank detection in mt7621 gpio driver
blogic [Fri, 14 Nov 2014 16:53:34 +0000 (16:53 +0000)]
ralink: fix bank detection in mt7621 gpio driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43253 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: enable the proper drivers in the mt7621 config
blogic [Fri, 14 Nov 2014 16:53:29 +0000 (16:53 +0000)]
ralink: enable the proper drivers in the mt7621 config

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43252 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix broken pinmux function naming inside mt7621.c
blogic [Fri, 14 Nov 2014 16:53:21 +0000 (16:53 +0000)]
ralink: fix broken pinmux function naming inside mt7621.c

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43251 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: update sdhci driver
blogic [Fri, 14 Nov 2014 16:53:15 +0000 (16:53 +0000)]
ralink: update sdhci driver

the new driver handles newer SoCs

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43250 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: update pcie driver to load ranges from dts
blogic [Fri, 14 Nov 2014 16:53:07 +0000 (16:53 +0000)]
ralink: update pcie driver to load ranges from dts

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43249 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add a new global ralink_soc variable
blogic [Fri, 14 Nov 2014 16:53:01 +0000 (16:53 +0000)]
ralink: add a new global ralink_soc variable

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43248 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: update ethernet driver to use new ralink_soc variable
blogic [Fri, 14 Nov 2014 16:52:52 +0000 (16:52 +0000)]
ralink: update ethernet driver to use new ralink_soc variable

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43247 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix the 10mbit bug on mt7621
blogic [Fri, 14 Nov 2014 16:52:47 +0000 (16:52 +0000)]
ralink: fix the 10mbit bug on mt7621

a missing "val =" caused the AN bit in the phy0 reg to be flushed.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43246 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: improve mt7530 support
blogic [Fri, 14 Nov 2014 16:52:42 +0000 (16:52 +0000)]
ralink: improve mt7530 support

the SDK does a bit of extra init that we did not do yet when using an external mt7530.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43245 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add support for WSR-600/1166
blogic [Fri, 14 Nov 2014 16:52:36 +0000 (16:52 +0000)]
ralink: add support for WSR-600/1166

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43244 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: mt7621 has a different base addr for PVID
blogic [Fri, 14 Nov 2014 16:52:30 +0000 (16:52 +0000)]
ralink: mt7621 has a different base addr for PVID

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43243 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: drop some unused code from pci-mt7620a
blogic [Fri, 14 Nov 2014 16:52:25 +0000 (16:52 +0000)]
ralink: drop some unused code from pci-mt7620a

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43242 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopppd: add option to set custom host-uniq pppoe tag
matteo [Fri, 14 Nov 2014 16:39:59 +0000 (16:39 +0000)]
pppd: add option to set custom host-uniq pppoe tag

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43241 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: fix crashes when using shared IRQs
nbd [Thu, 13 Nov 2014 17:38:22 +0000 (17:38 +0000)]
ath9k: fix crashes when using shared IRQs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43239 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix up dts for mt7621 eval board
blogic [Wed, 12 Nov 2014 14:55:00 +0000 (14:55 +0000)]
ralink: fix up dts for mt7621 eval board

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43238 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add support for mt7621 ethernet
blogic [Wed, 12 Nov 2014 14:54:50 +0000 (14:54 +0000)]
ralink: add support for mt7621 ethernet

somehow all switch ports still come up as 10mbit.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43237 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: more mt7530 fixes
blogic [Tue, 11 Nov 2014 11:46:16 +0000 (11:46 +0000)]
ralink: more mt7530 fixes

make 1166 wan port work. this broke due to the esw_polling bug

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43236 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: fix mdio polling of external phys if only 1 phy exists
blogic [Tue, 11 Nov 2014 11:46:09 +0000 (11:46 +0000)]
ralink: fix mdio polling of external phys if only 1 phy exists

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43235 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: remove IC plus phy driver
blogic [Tue, 11 Nov 2014 11:46:02 +0000 (11:46 +0000)]
ralink: remove IC plus phy driver

this driver confuses some boards

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43234 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolldpd: allow discovery protocols to be disabled from menuconfig
jow [Tue, 11 Nov 2014 09:49:20 +0000 (09:49 +0000)]
lldpd: allow discovery protocols to be disabled from menuconfig

Signed-off-by: Michel Stam <m.stam@fugro.nl>
[jow: fixed condition for CONFIG_LLDPD_WITH_JSON]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43233 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: DCS-930: enable sound
luka [Tue, 11 Nov 2014 00:08:05 +0000 (00:08 +0000)]
ralink: DCS-930: enable sound

Camera has microphone; in order to use it by default enable sound support.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43232 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: update DCS-930 dts
luka [Tue, 11 Nov 2014 00:05:14 +0000 (00:05 +0000)]
ralink: update DCS-930 dts

* read MAC address from factory partition
* remove port defines since there is only one port (most likely C/P error)

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43231 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: add support for Linksys EA3500
luka [Mon, 10 Nov 2014 23:55:10 +0000 (23:55 +0000)]
kirkwood: add support for Linksys EA3500

http://wiki.openwrt.org/toh/linksys/ea3500

Signed-off-by: Dan Walters <dan@walters.io>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43230 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update kernel 3.18 to rc4
hauke [Mon, 10 Nov 2014 22:51:30 +0000 (22:51 +0000)]
kernel: update kernel 3.18 to rc4

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43229 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago6in4: detect curl and busybox wget
cyrus [Sun, 9 Nov 2014 13:46:29 +0000 (13:46 +0000)]
6in4: detect curl and busybox wget

b52053b 6in4: https support for he.net tunnel api
introduced HTTPS support using wget.
The busybox version of wget, however, doesn't support the -V option,
thus poluting logfiles with a full invalid-parameter-output.
Redirect stderr to fix that.
As libcurl and curl support selecting the SSL library of your choice,
also add support for curl which is more commonly used on OpenWrt than
"real" wget which needs libopenssl.
Also make sure to respect SSL_CERT_DIR and increase timeouts.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43228 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix kernel crash on netdev unregister on newer 3.14 kernels
nbd [Sun, 9 Nov 2014 02:25:49 +0000 (02:25 +0000)]
mac80211: fix kernel crash on netdev unregister on newer 3.14 kernels

Based on patch by Mark Milburn

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43224 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: backport bcm47xxpart changes queued for 3.19
rmilecki [Sat, 8 Nov 2014 21:41:21 +0000 (21:41 +0000)]
kernel: backport bcm47xxpart changes queued for 3.19

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43223 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: ssb: add PCI ID 0x4351
rmilecki [Sat, 8 Nov 2014 20:51:24 +0000 (20:51 +0000)]
kernel: ssb: add PCI ID 0x4351

Backports commit 9837baa99717c7526e4bae9c68e8728dea4af183

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43221 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, fixes job control on the console shell
nbd [Sat, 8 Nov 2014 18:10:37 +0000 (18:10 +0000)]
procd: update to the latest version, fixes job control on the console shell

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43220 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix initramfs image build handling
nbd [Sat, 8 Nov 2014 15:40:17 +0000 (15:40 +0000)]
ramips: fix initramfs image build handling

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43219 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add eeprom data for 802.11ac wlan on WHR-1166D
nbd [Sat, 8 Nov 2014 14:15:49 +0000 (14:15 +0000)]
ramips: add eeprom data for 802.11ac wlan on WHR-1166D

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43218 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add missing size/address-cells to device tree include files
nbd [Sat, 8 Nov 2014 14:15:44 +0000 (14:15 +0000)]
ramips: add missing size/address-cells to device tree include files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43217 3c298f89-4303-0410-b956-a3cf2f4a3e73