Gabor Juhos [Tue, 29 May 2012 16:39:27 +0000 (16:39 +0000)]
generic: ar8216: add revision specific PHY fixups for AR8327
SVN-Revision: 32000
Gabor Juhos [Tue, 29 May 2012 16:39:26 +0000 (16:39 +0000)]
generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
SVN-Revision: 31999
Gabor Juhos [Tue, 29 May 2012 16:39:24 +0000 (16:39 +0000)]
generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
SVN-Revision: 31998
Gabor Juhos [Tue, 29 May 2012 16:39:23 +0000 (16:39 +0000)]
ar71xx: add default LED setup for the DB120 board
SVN-Revision: 31997
Gabor Juhos [Tue, 29 May 2012 16:39:22 +0000 (16:39 +0000)]
cns21xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31996
Gabor Juhos [Tue, 29 May 2012 16:39:21 +0000 (16:39 +0000)]
lantiq: use the generic uci-default functions for initial LED setup
SVN-Revision: 31995
Gabor Juhos [Tue, 29 May 2012 16:39:20 +0000 (16:39 +0000)]
kirkwood: use the generic uci-default functions for initial LED setup
SVN-Revision: 31994
Gabor Juhos [Tue, 29 May 2012 16:39:18 +0000 (16:39 +0000)]
ramips: use the generic uci-default functions for initial LED setup
SVN-Revision: 31993
Gabor Juhos [Tue, 29 May 2012 16:39:17 +0000 (16:39 +0000)]
ar71xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31992
Gabor Juhos [Tue, 29 May 2012 16:39:16 +0000 (16:39 +0000)]
base-files: add LED specific functions to /lib/functions/uci-defaults
SVN-Revision: 31991
Gabor Juhos [Tue, 29 May 2012 16:39:15 +0000 (16:39 +0000)]
kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31990
Gabor Juhos [Tue, 29 May 2012 16:39:03 +0000 (16:39 +0000)]
ramips: WAN LED for D-Link DIR-300-B1
Add led devices for D-Link DIR-300-B1 WAN LED.
Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.
Closes: https://dev.openwrt.org/ticket/11326
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
on the WAN interface]
SVN-Revision: 31989
Felix Fietkau [Tue, 29 May 2012 13:02:10 +0000 (13:02 +0000)]
netifd: remove obsolete config variable dependency
SVN-Revision: 31988
Felix Fietkau [Tue, 29 May 2012 12:59:23 +0000 (12:59 +0000)]
pptp: remove old network scripts
SVN-Revision: 31985
Felix Fietkau [Tue, 29 May 2012 12:59:19 +0000 (12:59 +0000)]
ppp: remove old network scripts
SVN-Revision: 31984
Felix Fietkau [Tue, 29 May 2012 12:59:15 +0000 (12:59 +0000)]
6to4: remove old network scripts
SVN-Revision: 31983
Felix Fietkau [Tue, 29 May 2012 12:59:11 +0000 (12:59 +0000)]
comgt: remove old network scripts
SVN-Revision: 31982
Felix Fietkau [Tue, 29 May 2012 12:59:07 +0000 (12:59 +0000)]
6in4: remove old network scripts
SVN-Revision: 31981
Felix Fietkau [Tue, 29 May 2012 12:59:03 +0000 (12:59 +0000)]
base-files: remove base-files-network, netifd is the only supported option now
SVN-Revision: 31980
Felix Fietkau [Tue, 29 May 2012 12:58:57 +0000 (12:58 +0000)]
ppp: fix local ip in status info (fixes #11551)
SVN-Revision: 31979
Jo-Philipp Wich [Tue, 29 May 2012 02:03:25 +0000 (02:03 +0000)]
[package] base-files: add network_is_up()
SVN-Revision: 31978
Jo-Philipp Wich [Tue, 29 May 2012 00:36:46 +0000 (00:36 +0000)]
[package] libubox: update to 2012-05-29
SVN-Revision: 31962
Jo-Philipp Wich [Tue, 29 May 2012 00:20:16 +0000 (00:20 +0000)]
[package] base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
SVN-Revision: 31960
Felix Fietkau [Mon, 28 May 2012 20:39:50 +0000 (20:39 +0000)]
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
SVN-Revision: 31956
Felix Fietkau [Mon, 28 May 2012 16:17:30 +0000 (16:17 +0000)]
mac80211: use built-in regulatory database instead of crda to avoid various race conditions
SVN-Revision: 31954
Felix Fietkau [Mon, 28 May 2012 14:22:42 +0000 (14:22 +0000)]
netifd: call /sbin/wifi up on /etc/init.d/network reload
SVN-Revision: 31941
Jo-Philipp Wich [Mon, 28 May 2012 03:24:56 +0000 (03:24 +0000)]
[package] base-files: add network_get_device() to network.sh
SVN-Revision: 31937
Jo-Philipp Wich [Mon, 28 May 2012 03:15:05 +0000 (03:15 +0000)]
[packages] firewall: fix nat reflection after netifd status format change
- use /lib/functions/network.sh
- simplify nat reflection code
SVN-Revision: 31936
Jo-Philipp Wich [Mon, 28 May 2012 03:15:02 +0000 (03:15 +0000)]
[package] base-files: introduce /lib/functions/network.sh
This file will contain common procedures to deal with network interfaces.
Initially provides network_get_ipaddr(), network_get_ipaddr6(),
network_get_subnet() and network_get_subnet6() to determine the
primary IP addresses or subnets of a given logical interface.
SVN-Revision: 31935
Felix Fietkau [Mon, 28 May 2012 02:55:59 +0000 (02:55 +0000)]
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
SVN-Revision: 31934
Felix Fietkau [Mon, 28 May 2012 02:55:50 +0000 (02:55 +0000)]
libubox: update to 2012-05-26
SVN-Revision: 31933
Jo-Philipp Wich [Mon, 28 May 2012 00:52:26 +0000 (00:52 +0000)]
[package] iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
SVN-Revision: 31932
Jo-Philipp Wich [Mon, 28 May 2012 00:52:24 +0000 (00:52 +0000)]
[package] uhttpd:
- rewrite large parts of the server, use uloop event driven structure
- support concurrent requests and make the upper limit configurable
- implement initial version of HTTP-to-ubus JSON proxy and session.* namespace
- add compile time support for debug information
- code style changes
- bump package revision
SVN-Revision: 31931
Felix Fietkau [Sun, 27 May 2012 21:02:41 +0000 (21:02 +0000)]
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
SVN-Revision: 31925
Felix Fietkau [Sun, 27 May 2012 21:02:36 +0000 (21:02 +0000)]
kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
Gabor Juhos [Sun, 27 May 2012 17:21:47 +0000 (17:21 +0000)]
ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
Gabor Juhos [Sun, 27 May 2012 17:10:00 +0000 (17:10 +0000)]
ramips: rt3883: add device registration code for the SPI controller
SVN-Revision: 31922
Gabor Juhos [Sun, 27 May 2012 17:09:58 +0000 (17:09 +0000)]
ramips: allow to use the SPI driver on RT3662/RT3883
SVN-Revision: 31921
Gabor Juhos [Sun, 27 May 2012 17:09:56 +0000 (17:09 +0000)]
ramips: rt3883: fix GPIO reservation for the SPI pins
SVN-Revision: 31920
Gabor Juhos [Sun, 27 May 2012 17:09:52 +0000 (17:09 +0000)]
ramips: rt305x: remove superfluous controller_data assignment
SVN-Revision: 31919
Gabor Juhos [Sun, 27 May 2012 17:09:50 +0000 (17:09 +0000)]
ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
Gabor Juhos [Sun, 27 May 2012 17:09:47 +0000 (17:09 +0000)]
generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
Gabor Juhos [Sun, 27 May 2012 17:09:45 +0000 (17:09 +0000)]
generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
Gabor Juhos [Sun, 27 May 2012 17:09:43 +0000 (17:09 +0000)]
generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
Gabor Juhos [Sun, 27 May 2012 17:09:41 +0000 (17:09 +0000)]
generic: rtl8367: allow to use VLANs > 31
SVN-Revision: 31914
John Crispin [Sun, 27 May 2012 16:13:02 +0000 (16:13 +0000)]
[lantiq] move files-3.3 -> files
SVN-Revision: 31912
John Crispin [Sun, 27 May 2012 16:12:59 +0000 (16:12 +0000)]
[lantiq] 3.2 R.I.P.
SVN-Revision: 31911
John Crispin [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>
SVN-Revision: 31910
John Crispin [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>
SVN-Revision: 31909
John Crispin [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>
SVN-Revision: 31908
Felix Fietkau [Sun, 27 May 2012 15:22:13 +0000 (15:22 +0000)]
kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
Felix Fietkau [Sun, 27 May 2012 15:16:37 +0000 (15:16 +0000)]
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
Gabor Juhos [Sun, 27 May 2012 15:01:37 +0000 (15:01 +0000)]
linux/3.2: R.I.P.
SVN-Revision: 31905
Gabor Juhos [Sun, 27 May 2012 15:01:35 +0000 (15:01 +0000)]
xburst: remove support for old kernels
SVN-Revision: 31904
Gabor Juhos [Sun, 27 May 2012 15:01:33 +0000 (15:01 +0000)]
xburst: switch to 3.3 and add broken flag
SVN-Revision: 31903
Gabor Juhos [Sun, 27 May 2012 15:01:32 +0000 (15:01 +0000)]
xburst: add support for 3.3
SVN-Revision: 31902
Gabor Juhos [Sun, 27 May 2012 15:01:30 +0000 (15:01 +0000)]
ppc44x: remove 3.2 support
SVN-Revision: 31901
Gabor Juhos [Sun, 27 May 2012 15:01:28 +0000 (15:01 +0000)]
ppx44x: switch to 3.3 and add broken flag
SVN-Revision: 31900
Gabor Juhos [Sun, 27 May 2012 15:01:27 +0000 (15:01 +0000)]
ppc44x: add support for 3.3
Compile tested only.
SVN-Revision: 31899
Gabor Juhos [Sun, 27 May 2012 15:01:26 +0000 (15:01 +0000)]
cobalt: switch to 3.3 and add broken flag
Compile tested only.
SVN-Revision: 31898
Gabor Juhos [Sun, 27 May 2012 15:01:24 +0000 (15:01 +0000)]
ep93xx: remove 3.2 support
SVN-Revision: 31897
Gabor Juhos [Sun, 27 May 2012 15:01:23 +0000 (15:01 +0000)]
ep93xx: switch to 3.3 and add broken flag
SVN-Revision: 31896
Gabor Juhos [Sun, 27 May 2012 15:01:21 +0000 (15:01 +0000)]
ep93xx: add support for 3.3
Compile tested only.
SVN-Revision: 31895
Gabor Juhos [Sun, 27 May 2012 15:01:18 +0000 (15:01 +0000)]
au1000: remove 3.2 support
SVN-Revision: 31894
Gabor Juhos [Sun, 27 May 2012 15:01:17 +0000 (15:01 +0000)]
au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
Gabor Juhos [Sun, 27 May 2012 15:01:15 +0000 (15:01 +0000)]
au1000: add support for 3.3
Compile tested only.
SVN-Revision: 31892
Gabor Juhos [Sun, 27 May 2012 15:01:09 +0000 (15:01 +0000)]
linux/3.1: R.I.P.
SVN-Revision: 31891
Gabor Juhos [Sun, 27 May 2012 15:01:07 +0000 (15:01 +0000)]
omap24xx: remove 3.1 support
SVN-Revision: 31890
Gabor Juhos [Sun, 27 May 2012 15:01:05 +0000 (15:01 +0000)]
omap24xx: switch to 3.3 and add broken flag
SVN-Revision: 31889
Gabor Juhos [Sun, 27 May 2012 15:01:03 +0000 (15:01 +0000)]
cns3xxx: remove 3.1 support
SVN-Revision: 31888
Gabor Juhos [Sun, 27 May 2012 15:01:02 +0000 (15:01 +0000)]
cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
Felix Fietkau [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
SVN-Revision: 31886
Jonas Gorski [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
SVN-Revision: 31885
Jonas Gorski [Sun, 27 May 2012 13:22:48 +0000 (13:22 +0000)]
bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
Jonas Gorski [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)
SVN-Revision: 31883
Jonas Gorski [Sun, 27 May 2012 13:22:43 +0000 (13:22 +0000)]
bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
Jonas Gorski [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.
SVN-Revision: 31881
Jonas Gorski [Sun, 27 May 2012 13:22:37 +0000 (13:22 +0000)]
bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
Jonas Gorski [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.
SVN-Revision: 31879
Jonas Gorski [Sun, 27 May 2012 13:22:29 +0000 (13:22 +0000)]
bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
Jonas Gorski [Sun, 27 May 2012 13:22:25 +0000 (13:22 +0000)]
bcm63xx: add flash type detection
SVN-Revision: 31877
Jonas Gorski [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.
SVN-Revision: 31876
Jonas Gorski [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.
SVN-Revision: 31875
Jonas Gorski [Sun, 27 May 2012 13:22:17 +0000 (13:22 +0000)]
bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
Jonas Gorski [Sun, 27 May 2012 13:22:14 +0000 (13:22 +0000)]
bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
Jonas Gorski [Sun, 27 May 2012 13:22:11 +0000 (13:22 +0000)]
bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
Jonas Gorski [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.
SVN-Revision: 31871
Felix Fietkau [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
SVN-Revision: 31870
Felix Fietkau [Sat, 26 May 2012 20:36:49 +0000 (20:36 +0000)]
netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
Felix Fietkau [Sat, 26 May 2012 20:15:28 +0000 (20:15 +0000)]
mac80211: backport a fix for single-queue drivers (fixes #11534)
SVN-Revision: 31862
Felix Fietkau [Sat, 26 May 2012 18:03:56 +0000 (18:03 +0000)]
ncurses: libncursesw should not depend on libncurses
SVN-Revision: 31861
Felix Fietkau [Sat, 26 May 2012 15:31:54 +0000 (15:31 +0000)]
ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
Felix Fietkau [Sat, 26 May 2012 14:56:04 +0000 (14:56 +0000)]
mac80211: get rid of duplicate iw reg set command (thx, stintel)
SVN-Revision: 31859
Felix Fietkau [Fri, 25 May 2012 07:59:29 +0000 (07:59 +0000)]
netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
Felix Fietkau [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)
SVN-Revision: 31857
Felix Fietkau [Thu, 24 May 2012 18:25:08 +0000 (18:25 +0000)]
kernel: fix a warning in the connmark module
SVN-Revision: 31856
Felix Fietkau [Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)]
netifd: bring up wifi at boot
SVN-Revision: 31855
Jo-Philipp Wich [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)
SVN-Revision: 31854
Felix Fietkau [Wed, 23 May 2012 21:54:12 +0000 (21:54 +0000)]
base-files: kill ubusd and udhcpc on sysupgrade as well
SVN-Revision: 31852
Felix Fietkau [Wed, 23 May 2012 21:49:31 +0000 (21:49 +0000)]
base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
SVN-Revision: 31851