Gabor Juhos
932f2f9811
base-files: add LED specific functions to /lib/functions/uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:16 +00:00
Gabor Juhos
1fe95ce50b
kirkwood: use uci-defaults to configure different boards
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:15 +00:00
Gabor Juhos
84bbc1f8b0
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]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:03 +00:00
Felix Fietkau
f9748531cd
netifd: remove obsolete config variable dependency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 13:02:10 +00:00
Felix Fietkau
276d1c2ccb
pptp: remove old network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:23 +00:00
Felix Fietkau
9f7df02ae5
ppp: remove old network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:19 +00:00
Felix Fietkau
a9a5c65764
6to4: remove old network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:15 +00:00
Felix Fietkau
d5f92195e6
comgt: remove old network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:11 +00:00
Felix Fietkau
71740064af
6in4: remove old network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:07 +00:00
Felix Fietkau
a15cc8b089
base-files: remove base-files-network, netifd is the only supported option now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:03 +00:00
Felix Fietkau
fe7e73a9ac
ppp: fix local ip in status info ( fixes #11551 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:58:57 +00:00
Jo-Philipp Wich
bff890af67
[package] base-files: add network_is_up()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 02:03:25 +00:00
Jo-Philipp Wich
86539b2a92
[package] libubox: update to 2012-05-29
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 00:36:46 +00:00
Jo-Philipp Wich
55770be655
[package] base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 00:20:16 +00:00
Felix Fietkau
7bf6009fe6
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 20:39:50 +00:00
Felix Fietkau
2a34908bc0
mac80211: use built-in regulatory database instead of crda to avoid various race conditions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 16:17:30 +00:00
Felix Fietkau
47566a2eb3
netifd: call /sbin/wifi up on /etc/init.d/network reload
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 14:22:42 +00:00
Jo-Philipp Wich
c092e2336f
[package] base-files: add network_get_device() to network.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 03:24:56 +00:00
Jo-Philipp Wich
7607d0e41b
[packages] firewall: fix nat reflection after netifd status format change
...
- use /lib/functions/network.sh
- simplify nat reflection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 03:15:05 +00:00
Jo-Philipp Wich
1ee066a435
[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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 03:15:02 +00:00
Felix Fietkau
55e7bd410c
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:59 +00:00
Felix Fietkau
4ba2f1496d
libubox: update to 2012-05-26
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:50 +00:00
Jo-Philipp Wich
672c216c63
[package] iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:26 +00:00
Jo-Philipp Wich
6e9f473afa
[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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:24 +00:00
Felix Fietkau
026245749a
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
2012-05-27 21:02:41 +00:00
Felix Fietkau
2708355504
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
2012-05-27 21:02:36 +00:00
Gabor Juhos
4243897bf7
ar71xx: fix TL-WR1041 image size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:21:47 +00:00
Gabor Juhos
7613c70c38
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
2012-05-27 17:10:00 +00:00
Gabor Juhos
948640b4dd
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
2012-05-27 17:09:58 +00:00
Gabor Juhos
dafda799dd
ramips: rt3883: fix GPIO reservation for the SPI pins
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:56 +00:00
Gabor Juhos
c47535b3dc
ramips: rt305x: remove superfluous controller_data assignment
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:52 +00:00
Gabor Juhos
ee236b9e96
ramips: make rt2x00 firmware extraction quiet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:50 +00:00
Gabor Juhos
54d14f8850
generic: rtl8367: rename a misnamed variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:47 +00:00
Gabor Juhos
e4f7489ec1
generic: rtl8366_smi: remove duplicated spinlock initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:45 +00:00
Gabor Juhos
d89221e9ce
generic: rtl8366_smi: rename debugfs Kconfig symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:43 +00:00
Gabor Juhos
d57d3c1a10
generic: rtl8367: allow to use VLANs > 31
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:41 +00:00
John Crispin
c9b641b53d
[lantiq] move files-3.3 -> files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:13:02 +00:00
John Crispin
78bf2cbd71
[lantiq] 3.2 R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:12:59 +00:00
John Crispin
7ee1e4f822
[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
2012-05-27 16:02:22 +00:00
John Crispin
f2dfa4d3a4
[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
2012-05-27 16:02:20 +00:00
John Crispin
9669f7a243
[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
2012-05-27 16:02:16 +00:00
Felix Fietkau
aba80d0d04
kernel: remove more unnecessary kernel version checks/dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:22:13 +00:00
Felix Fietkau
260e2d8486
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
2012-05-27 15:16:37 +00:00
Gabor Juhos
4f1451b47e
linux/3.2: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:37 +00:00
Gabor Juhos
7e71e51d60
xburst: remove support for old kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:35 +00:00
Gabor Juhos
3a3b7f8beb
xburst: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:33 +00:00
Gabor Juhos
6aee5d7ee0
xburst: add support for 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:32 +00:00
Gabor Juhos
335e441860
ppc44x: remove 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:30 +00:00
Gabor Juhos
7239fa0db7
ppx44x: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:28 +00:00
Gabor Juhos
cad698f8fc
ppc44x: add support for 3.3
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:27 +00:00