librecmc/librecmc.git
10 years agobrcm47xx: fix switch detection with kernel 3.14
Hauke Mehrtens [Thu, 17 Jul 2014 20:34:18 +0000 (20:34 +0000)]
brcm47xx: fix switch detection with kernel 3.14

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

10 years agoodhcpd: rewrite NDP proxy feature
Steven Barth [Thu, 17 Jul 2014 19:11:17 +0000 (19:11 +0000)]
odhcpd: rewrite NDP proxy feature

SVN-Revision: 41703

10 years agokernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
Felix Fietkau [Thu, 17 Jul 2014 16:44:04 +0000 (16:44 +0000)]
kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling

Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41702

10 years agoatheros: update macroses names
Felix Fietkau [Thu, 17 Jul 2014 16:36:55 +0000 (16:36 +0000)]
atheros: update macroses names

Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips,
use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips,
and use AR231X_ prefix for common macroses.

This patch should not cause any functional changes, only make clear
which macros is common and which macros is specific.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41701

10 years agoatheros[uart]: pass only physical I/O mem address to 8250 driver
Felix Fietkau [Thu, 17 Jul 2014 16:36:52 +0000 (16:36 +0000)]
atheros[uart]: pass only physical I/O mem address to 8250 driver

Pass only physical address to 8250 serial port driver and set flag to
remap I/O memory inside the driver. Also fix AR5312 UART base address
definition, which seems specified already mapped.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41700

10 years agoatheros[uart]: use 32-bit aligned I/O
Felix Fietkau [Thu, 17 Jul 2014 16:36:49 +0000 (16:36 +0000)]
atheros[uart]: use 32-bit aligned I/O

Use 32-bit aligned I/O and update base UART address (remove +3 offset).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41699

10 years agoatheros[ar231x-eth]: pass PHY I/O memory via device resources
Felix Fietkau [Thu, 17 Jul 2014 16:36:46 +0000 (16:36 +0000)]
atheros[ar231x-eth]: pass PHY I/O memory via device resources

Pass PHY I/O memory region via platform resources and remap them
unconditionally.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41698

10 years agoatheros[ar231x-eth]: pass phys address of I/O memory via platform res
Felix Fietkau [Thu, 17 Jul 2014 16:36:43 +0000 (16:36 +0000)]
atheros[ar231x-eth]: pass phys address of I/O memory via platform res

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41697

10 years agoatheros: simplify gpiolib realization
Felix Fietkau [Thu, 17 Jul 2014 16:36:39 +0000 (16:36 +0000)]
atheros: simplify gpiolib realization

Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
 * Remove valid_mask field
 * Remove ar231x_gpio_chip structure
 * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
 * Fix count of AR5312 GPIOs
 * Simplify gpio_chip methods realization

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41696

10 years agoatheros: use irq_set_chained_handler()
Felix Fietkau [Thu, 17 Jul 2014 16:36:36 +0000 (16:36 +0000)]
atheros: use irq_set_chained_handler()

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41695

10 years agoatheros: simplify AR2315 misc IRQ (un)masking
Felix Fietkau [Thu, 17 Jul 2014 16:36:33 +0000 (16:36 +0000)]
atheros: simplify AR2315 misc IRQ (un)masking

Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41694

10 years agoatheros: rename some interrupt control handlers
Felix Fietkau [Thu, 17 Jul 2014 16:36:30 +0000 (16:36 +0000)]
atheros: rename some interrupt control handlers

Rename interrupt control handlers to be consistent with operation names
and add IRQ chips names.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41693

10 years agoatheros: move AR2315 misc IRQ dispatching to separate function
Felix Fietkau [Thu, 17 Jul 2014 16:36:26 +0000 (16:36 +0000)]
atheros: move AR2315 misc IRQ dispatching to separate function

Align code with AR5312 realization.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41692

10 years agoatheros: pass UART IRQ number via function argument
Felix Fietkau [Thu, 17 Jul 2014 16:36:23 +0000 (16:36 +0000)]
atheros: pass UART IRQ number via function argument

UART IRQ number could be different for different SoCs, so make them
configurable.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41691

10 years agoatheros[ar231x-eth]: move driver to atheros subdirectory
Felix Fietkau [Thu, 17 Jul 2014 16:36:19 +0000 (16:36 +0000)]
atheros[ar231x-eth]: move driver to atheros subdirectory

Move driver code to respective vendor subdirectory and fix config
symbol name.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41690

10 years agoatheros[ar231x-eth]: update MAC and PHY reset method
Felix Fietkau [Thu, 17 Jul 2014 16:36:16 +0000 (16:36 +0000)]
atheros[ar231x-eth]: update MAC and PHY reset method

Pass reset_set and reset_clear callback functions pointers via
platform_data instead of reset register address.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41689

10 years agoatheros[ar2315-wdt]: update I/O handling
Felix Fietkau [Thu, 17 Jul 2014 16:36:13 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: update I/O handling

 * Pass iomem and IRQ via platform device resources
 * Remap iomem and use iowrite32 accessor function

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41688

10 years agoatheros[ar2315-wdt]: update interrupt handling
Felix Fietkau [Thu, 17 Jul 2014 16:36:10 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: update interrupt handling

Acknowledge watchdog interrupt in arch irq dispatcher and remove odd
watchdog enable call from probe function.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41687

10 years agoatheros: use correct address space and pointer type for register access
Felix Fietkau [Thu, 17 Jul 2014 16:36:07 +0000 (16:36 +0000)]
atheros: use correct address space and pointer type for register access

Make sparse happy :)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41686

10 years agoatheros[ar2315-wdt]: rename config symbol
Felix Fietkau [Thu, 17 Jul 2014 16:36:03 +0000 (16:36 +0000)]
atheros[ar2315-wdt]: rename config symbol

Rename config symbol to AR2315_WDT to avoid confusion with other Atheros
SoCs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41685

10 years agoatheros[ar2315-wdt]: update initialization
Felix Fietkau [Thu, 17 Jul 2014 16:35:59 +0000 (16:35 +0000)]
atheros[ar2315-wdt]: update initialization

 * update driver id to be consistent with other ar231x drivers
 * remove odd module_{init,exit}
 * add module metadata (description, name, etc.)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41684

10 years agonetifd: update to the latest version, enables igmp snooping by default
Felix Fietkau [Thu, 17 Jul 2014 14:55:17 +0000 (14:55 +0000)]
netifd: update to the latest version, enables igmp snooping by default

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

10 years agoqos-scripts: fix ingress packet marking with ifb
Felix Fietkau [Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)]
qos-scripts: fix ingress packet marking with ifb

Split connection mark into two parts:

The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.

For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred

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

10 years agoramips: soc wmac eeprom cleanup
John Crispin [Thu, 17 Jul 2014 10:55:31 +0000 (10:55 +0000)]
ramips: soc wmac eeprom cleanup

Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41680

10 years agoep93xx: add support for kernel 3.10
Hauke Mehrtens [Wed, 16 Jul 2014 21:29:16 +0000 (21:29 +0000)]
ep93xx: add support for kernel 3.10

This is compile tested only, please run test and report back.

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

10 years agokernel: add CONFIG_I2C_AU1550 config option
Hauke Mehrtens [Wed, 16 Jul 2014 20:45:20 +0000 (20:45 +0000)]
kernel: add CONFIG_I2C_AU1550 config option

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

10 years agomac80211: add new b43 config option to issue rebuild
Hauke Mehrtens [Wed, 16 Jul 2014 20:30:30 +0000 (20:30 +0000)]
mac80211: add new b43 config option to issue rebuild

With this patch mac80211 will be rebuild when one of these config
options was changed.

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

10 years agomac80211: b43: fix PHY_G support.
Hauke Mehrtens [Wed, 16 Jul 2014 20:28:08 +0000 (20:28 +0000)]
mac80211: b43: fix PHY_G support.

I missed adding B43_PHY_G to .local-symbols, without this it will not
be added to autoconf.h

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

10 years agoiwinfo: fix crash on parsing mtd (#15807)
Felix Fietkau [Wed, 16 Jul 2014 18:57:23 +0000 (18:57 +0000)]
iwinfo: fix crash on parsing mtd (#15807)

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

10 years agolibubox: update to the latest version, fixes a jshn parsing error (#17128)
Felix Fietkau [Wed, 16 Jul 2014 18:35:25 +0000 (18:35 +0000)]
libubox: update to the latest version, fixes a jshn parsing error (#17128)

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

10 years agoath9k: add a fix for tx pending frame accounting, fixes some tx hang issues
Felix Fietkau [Wed, 16 Jul 2014 18:26:21 +0000 (18:26 +0000)]
ath9k: add a fix for tx pending frame accounting, fixes some tx hang issues

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

10 years agolantiq: fix board_id/boardname for VGV7519
John Crispin [Wed, 16 Jul 2014 11:36:02 +0000 (11:36 +0000)]
lantiq: fix board_id/boardname for VGV7519

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 41672

10 years agolantiq: re-add 0041-lzma-fixup.patch to uboot
John Crispin [Wed, 16 Jul 2014 10:43:44 +0000 (10:43 +0000)]
lantiq: re-add 0041-lzma-fixup.patch to uboot

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

10 years agoau1000: remove linux 3.6 support
Felix Fietkau [Wed, 16 Jul 2014 06:55:19 +0000 (06:55 +0000)]
au1000: remove linux 3.6 support

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

10 years agoau1000: update to kernel 3.10.44
Hauke Mehrtens [Tue, 15 Jul 2014 22:03:10 +0000 (22:03 +0000)]
au1000: update to kernel 3.10.44

This was tested by Bruno Randolf on au1000 (MTX-1)

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

10 years agomac80211: b43: backport b43 patches from wireless testing
Hauke Mehrtens [Tue, 15 Jul 2014 21:58:03 +0000 (21:58 +0000)]
mac80211: b43: backport b43 patches from wireless testing

This brings b43 up to wireless-testing/master master-2014-07-15

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

10 years agobrcm47xx: remove kmod-bgmac from profile
Hauke Mehrtens [Tue, 15 Jul 2014 21:57:13 +0000 (21:57 +0000)]
brcm47xx: remove kmod-bgmac from profile

bgmac will be compiled into the kernel since r41594.

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

10 years agobrcm47xx: fix LEDs on WRT54GL 1.1
Hauke Mehrtens [Tue, 15 Jul 2014 21:54:38 +0000 (21:54 +0000)]
brcm47xx: fix LEDs on WRT54GL 1.1

Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 41666

10 years agohostapd: add a require_mode option in wifi-device sections to select the minimum...
Felix Fietkau [Tue, 15 Jul 2014 10:30:08 +0000 (10:30 +0000)]
hostapd: add a require_mode option in wifi-device sections to select the minimum hardware mode that the AP requires from clients

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

10 years agobrcm47xx: fix special board handling for some devices
Hauke Mehrtens [Mon, 14 Jul 2014 22:16:19 +0000 (22:16 +0000)]
brcm47xx: fix special board handling for some devices

Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the
kernel board detection are removed now.

This should close: #17111, #16968, #13202

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

10 years agobrcm47xx: improve board detection for some devices
Hauke Mehrtens [Mon, 14 Jul 2014 22:03:59 +0000 (22:03 +0000)]
brcm47xx: improve board detection for some devices

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

10 years agoar71xx: add profile and build image for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:30 +0000 (21:30 +0000)]
ar71xx: add profile and build image for the EnGenius EAP300 v2 board

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

10 years agopackage/uboot-envtools: add support for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:29 +0000 (21:30 +0000)]
package/uboot-envtools: add support for the EnGenius EAP300 v2 board

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

10 years agoar71xx: add user-space support for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:28 +0000 (21:30 +0000)]
ar71xx: add user-space support for the EnGenius EAP300 v2 board

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

10 years agoar71xx: add kernel support for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:26 +0000 (21:30 +0000)]
ar71xx: add kernel support for the EnGenius EAP300 v2 board

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

10 years agotoolchain/gcc: pass proper flags for arm hard float build
Luka Perkov [Mon, 14 Jul 2014 20:28:53 +0000 (20:28 +0000)]
toolchain/gcc: pass proper flags for arm hard float build

This fixes eglibc build failure. More information about the bug can be found on
the link below.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41657

10 years agokernel: fix kmod-igb dependencies
John Crispin [Mon, 14 Jul 2014 18:43:12 +0000 (18:43 +0000)]
kernel: fix kmod-igb dependencies

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

10 years agolantiq: vgv7519 add missing wps label to dts
John Crispin [Mon, 14 Jul 2014 18:43:02 +0000 (18:43 +0000)]
lantiq: vgv7519 add missing wps label to dts

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 41655

10 years agoramips: basic support for Planex MZK-750DHP
John Crispin [Mon, 14 Jul 2014 17:10:39 +0000 (17:10 +0000)]
ramips: basic support for Planex MZK-750DHP

some gpios are still missing.

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

10 years agoramips: squelch mdio debugging info on rt2880 ethernet
John Crispin [Mon, 14 Jul 2014 17:05:40 +0000 (17:05 +0000)]
ramips: squelch mdio debugging info on rt2880 ethernet

Use pr_debug rather than pr_info since it is only relevant
for debugging.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 41653

10 years agoar71xx: add profile and build image for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:37 +0000 (16:03 +0000)]
ar71xx: add profile and build image for the Tube2H board

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

10 years agopackage/uboot-envtools: add support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:36 +0000 (16:03 +0000)]
package/uboot-envtools: add support for the Tube2H board

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

10 years agoar71xx: add user-space support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:35 +0000 (16:03 +0000)]
ar71xx: add user-space support for the Tube2H board

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

10 years agoar71xx: add kernel support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:34 +0000 (16:03 +0000)]
ar71xx: add kernel support for the Tube2H board

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

10 years agomark the default WRT1900AC image "factory"
Imre Kaloz [Mon, 14 Jul 2014 15:02:38 +0000 (15:02 +0000)]
mark the default WRT1900AC image "factory"

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41648

10 years agohandle sysupgrade tar files on the WRT1900AC
Imre Kaloz [Mon, 14 Jul 2014 15:00:36 +0000 (15:00 +0000)]
handle sysupgrade tar files on the WRT1900AC

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41647

10 years agoallow overriding the kernel partition's name
Imre Kaloz [Mon, 14 Jul 2014 14:53:15 +0000 (14:53 +0000)]
allow overriding the kernel partition's name

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646

10 years agokernel: remove stray " from igp module title
Jonas Gorski [Mon, 14 Jul 2014 14:39:00 +0000 (14:39 +0000)]
kernel: remove stray " from igp module title

Fixes #17108.

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

10 years agoodhcpd: disable packet socket if unneeded to preserve performance
Steven Barth [Mon, 14 Jul 2014 13:39:03 +0000 (13:39 +0000)]
odhcpd: disable packet socket if unneeded to preserve performance

SVN-Revision: 41644

10 years agoar71xx: fix ALFA NETWORK's name
Gabor Juhos [Mon, 14 Jul 2014 11:10:00 +0000 (11:10 +0000)]
ar71xx: fix ALFA NETWORK's name

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

10 years agoar71xx: add profile and build image for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:53 +0000 (10:25 +0000)]
ar71xx: add profile and build image for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41642

10 years agoar71xx: add user-space support for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:51 +0000 (10:25 +0000)]
ar71xx: add user-space support for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41641

10 years agoar71xx: add kernel support for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:51 +0000 (10:25 +0000)]
ar71xx: add kernel support for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
  - drop nvram.c modifications,
  - create a separate kernel patch,
  - use ath79_setup_qca955x_eth_cfg helper,
  - merge esr900_{010,common}_setup functions,
  - statically init AR8327 pad configurations,
  - use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41640

10 years agobase-files: strip quotes from the MAC address in macaddr_canonicalize()
Gabor Juhos [Mon, 14 Jul 2014 10:25:49 +0000 (10:25 +0000)]
base-files: strip quotes from the MAC address in macaddr_canonicalize()

Extracted from http://patchwork.openwrt.org/patch/5716/

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41639

10 years agolantiq: detect board in preinit state
John Crispin [Mon, 14 Jul 2014 07:38:52 +0000 (07:38 +0000)]
lantiq: detect board in preinit state

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

10 years agokernel: add igb kernel module
John Crispin [Mon, 14 Jul 2014 07:38:48 +0000 (07:38 +0000)]
kernel: add igb kernel module

Added igb kernel module which supports a variety of Intel GigE PCIe devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 41637

10 years agoar71xx: add support for nanostation m xw
John Crispin [Mon, 14 Jul 2014 07:38:43 +0000 (07:38 +0000)]
ar71xx: add support for nanostation m xw

SVN-Revision: 41636

10 years agoar8216: add new phyid 0x004dd043 (ar8326)
John Crispin [Mon, 14 Jul 2014 07:38:39 +0000 (07:38 +0000)]
ar8216: add new phyid 0x004dd043 (ar8326)

Used in ubiquity nanostation xw boards

SVN-Revision: 41635

10 years agoramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
John Crispin [Mon, 14 Jul 2014 07:38:32 +0000 (07:38 +0000)]
ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41634

10 years agoramips: extract mac address from flash on WHR-600D board
John Crispin [Mon, 14 Jul 2014 07:38:28 +0000 (07:38 +0000)]
ramips: extract mac address from flash on WHR-600D board

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41633

10 years agoramips: extract default lan_mac from eth0
John Crispin [Mon, 14 Jul 2014 07:38:23 +0000 (07:38 +0000)]
ramips: extract default lan_mac from eth0

The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41632

10 years agouse the full boardname for the wrt1900ac image
Imre Kaloz [Sun, 13 Jul 2014 22:15:03 +0000 (22:15 +0000)]
use the full boardname for the wrt1900ac image

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41631

10 years agoadd sysupgrade support
Imre Kaloz [Sun, 13 Jul 2014 22:12:56 +0000 (22:12 +0000)]
add sysupgrade support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41630

10 years agoupdate wrt1900ac dts
Imre Kaloz [Sun, 13 Jul 2014 22:11:43 +0000 (22:11 +0000)]
update wrt1900ac dts

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41629

10 years agowe already have a get_magic_long() in common.sh for sysupgrade, don't break it
Imre Kaloz [Sun, 13 Jul 2014 20:51:17 +0000 (20:51 +0000)]
we already have a get_magic_long() in common.sh for sysupgrade, don't break it

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41628

10 years agoar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
Gabor Juhos [Sun, 13 Jul 2014 19:44:00 +0000 (19:44 +0000)]
ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards

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

10 years agoar71xx: add profile and build image for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:59 +0000 (19:43 +0000)]
ar71xx: add profile and build image for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41626

10 years agoar71xx: add user-space support for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:58 +0000 (19:43 +0000)]
ar71xx: add user-space support for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41625

10 years agoar71xx: add kernel support for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:57 +0000 (19:43 +0000)]
ar71xx: add kernel support for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
[juhosg:
  - fix coding style in mach-esr1750.c,
  - rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41624

10 years agoar71xx: add a helper function for setting up ETH_CFG register on QCA955x
Gabor Juhos [Sun, 13 Jul 2014 19:43:56 +0000 (19:43 +0000)]
ar71xx: add a helper function for setting up ETH_CFG register on QCA955x

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5839/
[juhosg: fix coding style]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41623

10 years agoar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
Gabor Juhos [Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)]
ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41622

10 years agoar71xx: add profile and build image for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:09 +0000 (18:21 +0000)]
ar71xx: add profile and build image for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41621

10 years agofirmware-utils/mktplinkfw: add support for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:08 +0000 (18:21 +0000)]
firmware-utils/mktplinkfw: add support for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41620

10 years agoar71xx: add user-space support for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:06 +0000 (18:21 +0000)]
ar71xx: add user-space support for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41619

10 years agoar71xx: add kernel support for GL-Inet V1 boards/routers
Gabor Juhos [Sun, 13 Jul 2014 18:21:04 +0000 (18:21 +0000)]
ar71xx: add kernel support for GL-Inet V1 boards/routers

The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with
more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same
small form-factor:
<http://www.gl-inet.com/w/?lang=en>

Moreover, the manufacturer is promoting the OpenWrt usage to replace
the original firmware and proposing patches against both AA and trunk:
<http://www.gl-inet.com/w/?p=398&lang=en>

This is a clean up of the original manufacturer GPLv2 patch by alzhao,
proposed to the list by Mark Janssen.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5273/
[juhosg:
  - remove user-space and image generation support, will be included
    from other patches,
  - fix coding style and drop superfluous comment in mach-gl-inet.c,
  - rename and refresh kernel patch,
  - adjust subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41618

10 years agoar71xx: Support for Mikrotik RB2011UiAS
Gabor Juhos [Sun, 13 Jul 2014 16:25:58 +0000 (16:25 +0000)]
ar71xx: Support for Mikrotik RB2011UiAS

The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.

Not yet working:

* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
  seems to be driven by an ADS7843-compatible IC, but figuring out which
  GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.

Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41617

10 years agoar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch
Gabor Juhos [Sun, 13 Jul 2014 16:25:57 +0000 (16:25 +0000)]
ar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch

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

10 years agoar71xx: refresh patches
Gabor Juhos [Sun, 13 Jul 2014 16:25:56 +0000 (16:25 +0000)]
ar71xx: refresh patches

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

10 years agokernel: sort Kconfig options in kernel configs
Gabor Juhos [Sun, 13 Jul 2014 16:25:54 +0000 (16:25 +0000)]
kernel: sort Kconfig options in kernel configs

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

10 years agobase-files: adjust the default netfilter tcp established connection timeout as per...
Felix Fietkau [Sun, 13 Jul 2014 10:24:34 +0000 (10:24 +0000)]
base-files: adjust the default netfilter tcp established connection timeout as per RFC 5382 (#17098)

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

10 years agoar71xx: add support for TP-LINK TL-WA860RE v1
John Crispin [Sun, 13 Jul 2014 10:03:41 +0000 (10:03 +0000)]
ar71xx: add support for TP-LINK TL-WA860RE v1

New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 41598

10 years agolantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other...
John Crispin [Sun, 13 Jul 2014 07:17:54 +0000 (07:17 +0000)]
lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards

Generate the configuration file for uboot-envtools
on BTHOMEHUBV2B. Adds the specific parameters for the
BTHOMEHUBV2B and also fixes an incorrect path which
would have affected other lantiq boards as well
(currently only the GIGASX76X).

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41597

10 years agoar71xx: added support for TL-WA830RE V2
John Crispin [Sun, 13 Jul 2014 07:12:22 +0000 (07:12 +0000)]
ar71xx: added support for TL-WA830RE V2

Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>
SVN-Revision: 41596

10 years agob43-tools: b43-fwsquash.py: manually remove LP-PHY 16 support
Hauke Mehrtens [Sat, 12 Jul 2014 15:41:50 +0000 (15:41 +0000)]
b43-tools: b43-fwsquash.py: manually remove LP-PHY 16 support

I have never seen a LP-PHY with core rev 16 or higher, but the ucode
will be included, because we need LP-PHY 13 and 15 and N-PHY core rev
16. Comment out the code for now.

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

10 years agobrcm47xx: deactivate ssb and old phy code for new devices
Hauke Mehrtens [Sat, 12 Jul 2014 15:39:31 +0000 (15:39 +0000)]
brcm47xx: deactivate ssb and old phy code for new devices

This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

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

10 years agomac80211: b43: backport b43 patches from wireless testing
Hauke Mehrtens [Sat, 12 Jul 2014 15:37:34 +0000 (15:37 +0000)]
mac80211: b43: backport b43 patches from wireless testing

This brings b43 up to wireless-testing/master master-2014-07-10

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

10 years agob43-tools: b43-fwsquash.py: add new firmware files
Hauke Mehrtens [Sat, 12 Jul 2014 14:56:21 +0000 (14:56 +0000)]
b43-tools: b43-fwsquash.py: add new firmware files

This adds support for new firmware files from b43 and selects the ucode
based on the PHY type now.

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

10 years agobrcm63xx: update irq affinity code to latest version
Jonas Gorski [Sat, 12 Jul 2014 12:31:47 +0000 (12:31 +0000)]
brcm63xx: update irq affinity code to latest version

Reduces code size a bit and sets affinity to boot cpu by default.

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

10 years agobrcm63xx: base-files: order board names alphabetically
Jonas Gorski [Sat, 12 Jul 2014 12:31:45 +0000 (12:31 +0000)]
brcm63xx: base-files: order board names alphabetically

Restore alphatetical order in uci-defaults scripts and brcm63xx.sh

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

10 years agobrcm63xx: Use leds script for Huawei HG556a and improve profile
Jonas Gorski [Sat, 12 Jul 2014 12:31:43 +0000 (12:31 +0000)]
brcm63xx: Use leds script for Huawei HG556a and improve profile

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41589