openwrt.git
11 years agoar71xx: fix MII clock settings for various chips, improves ethernet stability on...
nbd [Sun, 27 May 2012 21:02:41 +0000 (21:02 +0000)]
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x

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

11 years agokernel: fix suppressing -s for linking modules when profiling is enabled
nbd [Sun, 27 May 2012 21:02:36 +0000 (21:02 +0000)]
kernel: fix suppressing -s for linking modules when profiling is enabled

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

11 years agoar71xx: fix TL-WR1041 image size
juhosg [Sun, 27 May 2012 17:21:47 +0000 (17:21 +0000)]
ar71xx: fix TL-WR1041 image size

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

11 years agoramips: rt3883: add device registration code for the SPI controller
juhosg [Sun, 27 May 2012 17:10:00 +0000 (17:10 +0000)]
ramips: rt3883: add device registration code for the SPI controller

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

11 years agoramips: allow to use the SPI driver on RT3662/RT3883
juhosg [Sun, 27 May 2012 17:09:58 +0000 (17:09 +0000)]
ramips: allow to use the SPI driver on RT3662/RT3883

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

11 years agoramips: rt3883: fix GPIO reservation for the SPI pins
juhosg [Sun, 27 May 2012 17:09:56 +0000 (17:09 +0000)]
ramips: rt3883: fix GPIO reservation for the SPI pins

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

11 years agoramips: rt305x: remove superfluous controller_data assignment
juhosg [Sun, 27 May 2012 17:09:52 +0000 (17:09 +0000)]
ramips: rt305x: remove superfluous controller_data assignment

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

11 years agoramips: make rt2x00 firmware extraction quiet
juhosg [Sun, 27 May 2012 17:09:50 +0000 (17:09 +0000)]
ramips: make rt2x00 firmware extraction quiet

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

11 years agogeneric: rtl8367: rename a misnamed variable
juhosg [Sun, 27 May 2012 17:09:47 +0000 (17:09 +0000)]
generic: rtl8367: rename a misnamed variable

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

11 years agogeneric: rtl8366_smi: remove duplicated spinlock initialization
juhosg [Sun, 27 May 2012 17:09:45 +0000 (17:09 +0000)]
generic: rtl8366_smi: remove duplicated spinlock initialization

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

11 years agogeneric: rtl8366_smi: rename debugfs Kconfig symbol
juhosg [Sun, 27 May 2012 17:09:43 +0000 (17:09 +0000)]
generic: rtl8366_smi: rename debugfs Kconfig symbol

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

11 years agogeneric: rtl8367: allow to use VLANs > 31
juhosg [Sun, 27 May 2012 17:09:41 +0000 (17:09 +0000)]
generic: rtl8367: allow to use VLANs > 31

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

11 years ago[lantiq] move files-3.3 -> files
blogic [Sun, 27 May 2012 16:13:02 +0000 (16:13 +0000)]
[lantiq] move files-3.3 -> files

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

11 years ago[lantiq] 3.2 R.I.P.
blogic [Sun, 27 May 2012 16:12:59 +0000 (16:12 +0000)]
[lantiq] 3.2 R.I.P.

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

11 years ago[lantiq] dgn3500 support with eeprom loading from sysfs
blogic [Sun, 27 May 2012 16:02:22 +0000 (16:02 +0000)]
[lantiq] dgn3500 support with eeprom loading from sysfs

WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules.  I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.

SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.

Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.

Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31910 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[lantiq] fixes zyxel p2601hnfx
blogic [Sun, 27 May 2012 16:02:20 +0000 (16:02 +0000)]
[lantiq] fixes zyxel p2601hnfx

moves the linux partition, removes the config partition and the
buttons settings have small adjustments.

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

11 years ago[lantiq] Add basic configuration for new board ZTE H201L. Still missing are button...
blogic [Sun, 27 May 2012 16:02:16 +0000 (16:02 +0000)]
[lantiq] Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.

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

11 years agokernel: remove more unnecessary kernel version checks/dependencies
nbd [Sun, 27 May 2012 15:22:13 +0000 (15:22 +0000)]
kernel: remove more unnecessary kernel version checks/dependencies

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

11 years agokernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
nbd [Sun, 27 May 2012 15:16:37 +0000 (15:16 +0000)]
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD

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

11 years agolinux/3.2: R.I.P.
juhosg [Sun, 27 May 2012 15:01:37 +0000 (15:01 +0000)]
linux/3.2: R.I.P.

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

11 years agoxburst: remove support for old kernels
juhosg [Sun, 27 May 2012 15:01:35 +0000 (15:01 +0000)]
xburst: remove support for old kernels

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

11 years agoxburst: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:33 +0000 (15:01 +0000)]
xburst: switch to 3.3 and add broken flag

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

11 years agoxburst: add support for 3.3
juhosg [Sun, 27 May 2012 15:01:32 +0000 (15:01 +0000)]
xburst: add support for 3.3

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

11 years agoppc44x: remove 3.2 support
juhosg [Sun, 27 May 2012 15:01:30 +0000 (15:01 +0000)]
ppc44x: remove 3.2 support

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

11 years agoppx44x: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:28 +0000 (15:01 +0000)]
ppx44x: switch to 3.3 and add broken flag

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

11 years agoppc44x: add support for 3.3
juhosg [Sun, 27 May 2012 15:01:27 +0000 (15:01 +0000)]
ppc44x: add support for 3.3

Compile tested only.

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

11 years agocobalt: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:26 +0000 (15:01 +0000)]
cobalt: switch to 3.3 and add broken flag

Compile tested only.

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

11 years agoep93xx: remove 3.2 support
juhosg [Sun, 27 May 2012 15:01:24 +0000 (15:01 +0000)]
ep93xx: remove 3.2 support

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

11 years agoep93xx: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:23 +0000 (15:01 +0000)]
ep93xx: switch to 3.3 and add broken flag

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

11 years agoep93xx: add support for 3.3
juhosg [Sun, 27 May 2012 15:01:21 +0000 (15:01 +0000)]
ep93xx: add support for 3.3

Compile tested only.

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

11 years agoau1000: remove 3.2 support
juhosg [Sun, 27 May 2012 15:01:18 +0000 (15:01 +0000)]
au1000: remove 3.2 support

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

11 years agoau1000: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:17 +0000 (15:01 +0000)]
au1000: switch to 3.3 and add broken flag

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

11 years agoau1000: add support for 3.3
juhosg [Sun, 27 May 2012 15:01:15 +0000 (15:01 +0000)]
au1000: add support for 3.3

Compile tested only.

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

11 years agolinux/3.1: R.I.P.
juhosg [Sun, 27 May 2012 15:01:09 +0000 (15:01 +0000)]
linux/3.1: R.I.P.

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

11 years agoomap24xx: remove 3.1 support
juhosg [Sun, 27 May 2012 15:01:07 +0000 (15:01 +0000)]
omap24xx: remove 3.1 support

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

11 years agoomap24xx: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:05 +0000 (15:01 +0000)]
omap24xx: switch to 3.3 and add broken flag

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

11 years agocns3xxx: remove 3.1 support
juhosg [Sun, 27 May 2012 15:01:03 +0000 (15:01 +0000)]
cns3xxx: remove 3.1 support

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

11 years agocns3xxx: switch to 3.3 and add broken flag
juhosg [Sun, 27 May 2012 15:01:02 +0000 (15:01 +0000)]
cns3xxx: switch to 3.3 and add broken flag

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

11 years agokernel: add a few patches for avoiding unnecessary skb reallocations - significantly...
nbd [Sun, 27 May 2012 14:43:58 +0000 (14:43 +0000)]
kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers

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

11 years agobcm63xx: build images for DSL-274XB revision F1
jogo [Sun, 27 May 2012 13:22:51 +0000 (13:22 +0000)]
bcm63xx: build images for DSL-274XB revision F1

Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.

Known issues:
  * wifi led inverted (on when wifi is off and vice cersa)
  * same issues as generic bcm6328 support

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

11 years agobcm63xx: add ath9k to atheros wifi profile
jogo [Sun, 27 May 2012 13:22:48 +0000 (13:22 +0000)]
bcm63xx: add ath9k to atheros wifi profile

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

11 years agobcm63xx: enable bcm6328 support and required drivers
jogo [Sun, 27 May 2012 13:22:46 +0000 (13:22 +0000)]
bcm63xx: enable bcm6328 support and required drivers

BCM6328 support is in a usable state, with the following issues

 * internal switch port not configurable
 * external phys not supported
 * broadcom wifis will probably not work correctly
 * and all other generic bcm63xx issues (so yes, still no ADSL)

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

11 years agobcm63xx: add support for DSL-274XB rev F1
jogo [Sun, 27 May 2012 13:22:43 +0000 (13:22 +0000)]
bcm63xx: add support for DSL-274XB rev F1

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

11 years agobcm63xx: fix port state after network down
jogo [Sun, 27 May 2012 13:22:40 +0000 (13:22 +0000)]
bcm63xx: fix port state after network down

bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.

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

11 years agobcm63xx: add a fixup for ath9k devices
jogo [Sun, 27 May 2012 13:22:37 +0000 (13:22 +0000)]
bcm63xx: add a fixup for ath9k devices

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

11 years agobcm63xx: add support for the HSSPI controller
jogo [Sun, 27 May 2012 13:22:33 +0000 (13:22 +0000)]
bcm63xx: add support for the HSSPI controller

Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

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

11 years agobcm63xx: add preliminary support for bcm6328
jogo [Sun, 27 May 2012 13:22:29 +0000 (13:22 +0000)]
bcm63xx: add preliminary support for bcm6328

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

11 years agobcm63xx: add flash type detection
jogo [Sun, 27 May 2012 13:22:25 +0000 (13:22 +0000)]
bcm63xx: add flash type detection

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

11 years agobcm63xx: pad Speedport W303 V images to 4 MiB
jogo [Sun, 27 May 2012 13:22:22 +0000 (13:22 +0000)]
bcm63xx: pad Speedport W303 V images to 4 MiB

Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

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

11 years agotools: imagetag: add parameter for padding images
jogo [Sun, 27 May 2012 13:22:19 +0000 (13:22 +0000)]
tools: imagetag: add parameter for padding images

Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.

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

11 years agobcm63xx: add a default switch configuration for DSL-274XB
jogo [Sun, 27 May 2012 13:22:17 +0000 (13:22 +0000)]
bcm63xx: add a default switch configuration for DSL-274XB

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

11 years agobcm63xx: setup network config through uci-defaults
jogo [Sun, 27 May 2012 13:22:14 +0000 (13:22 +0000)]
bcm63xx: setup network config through uci-defaults

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

11 years agobcm63xx: move the board name workaround to /lib/brcm63xx.sh
jogo [Sun, 27 May 2012 13:22:11 +0000 (13:22 +0000)]
bcm63xx: move the board name workaround to /lib/brcm63xx.sh

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

11 years agobcm63xx: use the exact board id as board identification string
jogo [Sun, 27 May 2012 13:22:08 +0000 (13:22 +0000)]
bcm63xx: use the exact board id as board identification string

No need to keep the bcm63xx/ at the start or the chipid info at the end.

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

11 years agokernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies...
nbd [Sun, 27 May 2012 12:33:55 +0000 (12:33 +0000)]
kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment

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

11 years agonetifd: fix "Command failed: Not found" error with dhcp
nbd [Sat, 26 May 2012 20:36:49 +0000 (20:36 +0000)]
netifd: fix "Command failed: Not found" error with dhcp

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

11 years agomac80211: backport a fix for single-queue drivers (fixes #11534)
nbd [Sat, 26 May 2012 20:15:28 +0000 (20:15 +0000)]
mac80211: backport a fix for single-queue drivers (fixes #11534)

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

11 years agoncurses: libncursesw should not depend on libncurses
nbd [Sat, 26 May 2012 18:03:56 +0000 (18:03 +0000)]
ncurses: libncursesw should not depend on libncurses

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

11 years agoppp: add back ip-{up,down}.d support for now
nbd [Sat, 26 May 2012 15:31:54 +0000 (15:31 +0000)]
ppp: add back ip-{up,down}.d support for now

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

11 years agomac80211: get rid of duplicate iw reg set command (thx, stintel)
nbd [Sat, 26 May 2012 14:56:04 +0000 (14:56 +0000)]
mac80211: get rid of duplicate iw reg set command (thx, stintel)

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

11 years agonetifd: update to latest version, fixes an endian issue in broadcast address handling
nbd [Fri, 25 May 2012 07:59:29 +0000 (07:59 +0000)]
netifd: update to latest version, fixes an endian issue in broadcast address handling

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

11 years agonetifd: update to latest version, fixes overriding the mac address for bridge interfa...
nbd [Thu, 24 May 2012 18:45:01 +0000 (18:45 +0000)]
netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)

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

11 years agokernel: fix a warning in the connmark module
nbd [Thu, 24 May 2012 18:25:08 +0000 (18:25 +0000)]
kernel: fix a warning in the connmark module

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

11 years agonetifd: bring up wifi at boot
nbd [Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)]
netifd: bring up wifi at boot

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

11 years ago[package] util-linux: compile with -fPIC, some users of its libuuid.a require it...
jow [Thu, 24 May 2012 09:17:27 +0000 (09:17 +0000)]
[package] util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)

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

11 years agobase-files: kill ubusd and udhcpc on sysupgrade as well
nbd [Wed, 23 May 2012 21:54:12 +0000 (21:54 +0000)]
base-files: kill ubusd and udhcpc on sysupgrade as well

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

11 years agobase-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
nbd [Wed, 23 May 2012 21:49:31 +0000 (21:49 +0000)]
base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade

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

11 years agonetifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init...
nbd [Wed, 23 May 2012 21:49:28 +0000 (21:49 +0000)]
netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network

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

11 years ago[package] netifd: port r27720 (#9763) to the netifd ifup variant
jow [Wed, 23 May 2012 21:26:20 +0000 (21:26 +0000)]
[package] netifd: port r27720 (#9763) to the netifd ifup variant

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

11 years agokernel: update linux 3.3 to 3.3.7
juhosg [Wed, 23 May 2012 21:05:32 +0000 (21:05 +0000)]
kernel: update linux 3.3 to 3.3.7

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

11 years agoar71xx: fix an insignificant typo
juhosg [Wed, 23 May 2012 21:05:30 +0000 (21:05 +0000)]
ar71xx: fix an insignificant typo

Patch from #11485.

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

11 years agoar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
juhosg [Wed, 23 May 2012 21:05:25 +0000 (21:05 +0000)]
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD

Patch by Kamil TrzciƄski <ayufan@osk-net.pl>

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

11 years agoar71xx: add support for TP-Link TL-MR3040
juhosg [Wed, 23 May 2012 21:05:24 +0000 (21:05 +0000)]
ar71xx: add support for TP-Link TL-MR3040

Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31845 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: Add byte queue limits support to net/ethernet/ramips_main.c
juhosg [Wed, 23 May 2012 21:05:23 +0000 (21:05 +0000)]
ramips: Add byte queue limits support to net/ethernet/ramips_main.c

Add byte queue limits support to net/ethernet/ramips_main.c

"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31844 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: Enable sysupgrade for Sitecom WL-351
juhosg [Wed, 23 May 2012 21:05:22 +0000 (21:05 +0000)]
ramips: Enable sysupgrade for Sitecom WL-351

Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31843 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
juhosg [Wed, 23 May 2012 21:05:20 +0000 (21:05 +0000)]
package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade

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

11 years agolinux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
juhosg [Wed, 23 May 2012 21:05:19 +0000 (21:05 +0000)]
linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver

Should fix #11513. Tested with the x86/generic squashfs image within a VM.

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

11 years agonetifd: update to latest version, adds interface alias support (#11518), and fixes...
nbd [Wed, 23 May 2012 20:38:45 +0000 (20:38 +0000)]
netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew

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

11 years agolantiq: allow platforms with rt2x00 to override the mac address without overriding...
nbd [Sun, 20 May 2012 21:58:03 +0000 (21:58 +0000)]
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520

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

11 years agokernel: fix kmod-sched-core build for kernels without codel
nbd [Sun, 20 May 2012 21:57:58 +0000 (21:57 +0000)]
kernel: fix kmod-sched-core build for kernels without codel

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

11 years agopppd: add noipdefault option to /etc/ppp/options (fixes #11499)
nbd [Sun, 20 May 2012 14:02:05 +0000 (14:02 +0000)]
pppd: add noipdefault option to /etc/ppp/options (fixes #11499)

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

11 years agonetifd: update to latest version, fixes dns server issues (#11501)
nbd [Sun, 20 May 2012 13:56:25 +0000 (13:56 +0000)]
netifd: update to latest version, fixes dns server issues (#11501)

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

11 years agonetifd: update to latest version, fixes peerdns handling, custom dns override and...
nbd [Sat, 19 May 2012 23:47:33 +0000 (23:47 +0000)]
netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings

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

11 years ago[package] kernel: fix packaging of act_connmark.ko (#11492)
jow [Sat, 19 May 2012 23:33:47 +0000 (23:33 +0000)]
[package] kernel: fix packaging of act_connmark.ko (#11492)

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

11 years ago[package] openssl: update to v1.0.1c (CVE-2012-2333)
jow [Sat, 19 May 2012 21:00:14 +0000 (21:00 +0000)]
[package] openssl: update to v1.0.1c (CVE-2012-2333)

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

11 years ago[package] dnsmasq: bump package revision
jow [Sat, 19 May 2012 20:17:57 +0000 (20:17 +0000)]
[package] dnsmasq: bump package revision

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

11 years agodnsmasq: allow forcing options
jow [Sat, 19 May 2012 20:17:56 +0000 (20:17 +0000)]
dnsmasq: allow forcing options

The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agodnsmasq: add support for set: and tag: pairs
jow [Sat, 19 May 2012 20:17:54 +0000 (20:17 +0000)]
dnsmasq: add support for set: and tag: pairs

On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
option name 'client'
option mac '00:01:02:03:04:05'
option ip '192.168.1.20'
option tag 'acme'

config tag acme
option force '1'
list dhcp_option 'option:router,192.168.1.253'
list dhcp_option 'option:domain-name,acme.com'
list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] dnsmasq: fix parsing of mx record options (#11365)
jow [Sat, 19 May 2012 20:17:19 +0000 (20:17 +0000)]
[package] dnsmasq: fix parsing of mx record options (#11365)

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

11 years agokernel: merge a net-next fq_codel backlog handling fix
nbd [Fri, 18 May 2012 22:12:15 +0000 (22:12 +0000)]
kernel: merge a net-next fq_codel backlog handling fix

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

11 years agonetifd: update to latest version, fixes a crash on restart
nbd [Fri, 18 May 2012 21:59:23 +0000 (21:59 +0000)]
netifd: update to latest version, fixes a crash on restart

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

11 years agoubus: update to latest version, fixes a socket race condition in the client library...
nbd [Fri, 18 May 2012 20:36:02 +0000 (20:36 +0000)]
ubus: update to latest version, fixes a socket race condition in the client library with uloop

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

11 years agoomap24xx: add support for 3.3
juhosg [Fri, 18 May 2012 20:22:32 +0000 (20:22 +0000)]
omap24xx: add support for 3.3

Compile tested only.

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

11 years agocns3xxx: add support for 3.3
juhosg [Fri, 18 May 2012 20:10:53 +0000 (20:10 +0000)]
cns3xxx: add support for 3.3

Compile tested only.

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

11 years agolinux/2.6.39: R.I.P.
juhosg [Fri, 18 May 2012 20:10:51 +0000 (20:10 +0000)]
linux/2.6.39: R.I.P.

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

11 years agocns3xxx: sync kernel config
juhosg [Fri, 18 May 2012 20:10:48 +0000 (20:10 +0000)]
cns3xxx: sync kernel config

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

11 years agocns3xxx: remove 2.6.39 support
juhosg [Fri, 18 May 2012 20:10:46 +0000 (20:10 +0000)]
cns3xxx: remove 2.6.39 support

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

11 years agocns3xxx: switch to 3.1
juhosg [Fri, 18 May 2012 20:10:44 +0000 (20:10 +0000)]
cns3xxx: switch to 3.1

Compile tested only.

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

11 years agox86: remove support for old kernels
juhosg [Fri, 18 May 2012 20:10:42 +0000 (20:10 +0000)]
x86: remove support for old kernels

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

11 years agox86: remove subtarget specific LINUX_VERSION overrides
juhosg [Fri, 18 May 2012 20:10:38 +0000 (20:10 +0000)]
x86: remove subtarget specific LINUX_VERSION overrides

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