juhosg
72df0a7c48
generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:26 +00:00
juhosg
6d10d89b29
generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:24 +00:00
juhosg
3ffc68003f
ar71xx: add default LED setup for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:23 +00:00
juhosg
ab5576542a
cns21xx: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:22 +00:00
juhosg
014e1ffa51
lantiq: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:21 +00:00
juhosg
09f48c381b
kirkwood: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:20 +00:00
juhosg
93945c8815
ramips: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:18 +00:00
juhosg
22ae6b82eb
ar71xx: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:17 +00:00
juhosg
5e8d1213bc
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
juhosg
3a3aa7378b
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
juhosg
436c9f6d34
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
nbd
b0d06c0492
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
nbd
b50f2a903c
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
nbd
dd6dfe8647
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
nbd
227fdd5489
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
nbd
149e440f17
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
nbd
eb628c8fbc
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
nbd
232df3c46d
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
nbd
9f54f3752f
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
jow
523bb87b7e
[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
jow
4fd1204c58
[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
jow
29377555bf
[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
nbd
8c1c75ba17
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
nbd
6cbf2e7dbd
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
nbd
1cf19d8a82
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
jow
7de192f60d
[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
jow
e1df4ecd68
[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
jow
41d413b29c
[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
nbd
0f299fab07
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
nbd
29aa2abbf6
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
jow
9923737295
[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
jow
8b4e17bfbc
[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
nbd
dfea949949
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
nbd
295c63c334
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
juhosg
d3fa7efc8c
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
juhosg
75c71fcaa0
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
juhosg
84b342399c
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
juhosg
1e3e199faa
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
juhosg
0c9cb51fbb
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
juhosg
ce2fd1dbc9
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
juhosg
39068e8b25
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
juhosg
11d6be39a6
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
juhosg
63d3e3114d
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
juhosg
5a1c605a9e
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
blogic
e4b72001f6
[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
blogic
c9e0ccf07c
[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
blogic
c8e24ec13e
[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
blogic
f72e7bf12d
[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
blogic
2b03aafe31
[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
nbd
ed3a907ece
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