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
Gabor Juhos
312050717e
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
2012-05-27 15:01:26 +00:00
Gabor Juhos
85ac8f2fc1
ep93xx: remove 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:24 +00:00
Gabor Juhos
fdd7fc1425
ep93xx: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:23 +00:00
Gabor Juhos
a21ef1e86d
ep93xx: add support for 3.3
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:21 +00:00
Gabor Juhos
47555ae06c
au1000: remove 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:18 +00:00
Gabor Juhos
480346bdcb
au1000: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:17 +00:00
Gabor Juhos
854bea7e28
au1000: add support for 3.3
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:15 +00:00
Gabor Juhos
827fdc608c
linux/3.1: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:09 +00:00
Gabor Juhos
8aea17b6d8
omap24xx: remove 3.1 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:07 +00:00