Felix Fietkau
6f8b023b69
kernel: restore ebtables functionality by running netfilter hooks when the ebtables module is loaded
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 14:15:54 +00:00
Mirko Vogt
c09389a8ac
[target/generic] deal with 'set-but-unused-variables' in a more generic way
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 15:28:13 +00:00
Florian Fainelli
518a921f7c
[generic] ppp: Fix high softirq utilization with pppoa
...
Users of the Geos platform are reporting high CPU utilization.
This seems to be rooted in a problem with the TX queue restart in PPP.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:47:44 +00:00
Florian Fainelli
8e8496c2ee
[kernel/3.3] add missing INET_UDP_DIAG symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:47:41 +00:00
Felix Fietkau
edba77a97d
ath9k: make endian check optional
...
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:53 +00:00
John Crispin
ea1c8334d9
[ar8216] fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-22 13:07:34 +00:00
Gabor Juhos
3381cc597a
linux: refresh patches against 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:07 +00:00
Gabor Juhos
044147a3ec
linux/3.{2,3}: yet another missing NET_VENDOR symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:04 +00:00
Gabor Juhos
81de1500bc
kernel: update linux 3.2 to 3.2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Imre Kaloz
c56b757f1d
[generic]: add missing Kconfig symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:26:15 +00:00
Gabor Juhos
69e2e9c108
generic: ar8216: add support for the AR8327 chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:55 +00:00
Gabor Juhos
baeb3db74d
generic: ar8216: allow to use more ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:51 +00:00
Gabor Juhos
998ee8cbbc
generic: ar8216: reorder chip specific functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:48 +00:00
Gabor Juhos
16e8051306
generic: ar8216: reorder switch_dev specific functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:45 +00:00
Gabor Juhos
8213a8e8f5
generic: ar8216: use ar8216_sw_ prefix for switchdev related functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:42 +00:00
Gabor Juhos
71f7596c79
generic: ar8216: use switch_dev->ports in for loops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:40 +00:00
Gabor Juhos
e616b588f8
generic: ar8216: add read_port_status field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:39 +00:00
Gabor Juhos
44eec652f1
generic: ar8216: add init_globals field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:36 +00:00
Gabor Juhos
3b2249677c
generic: ar8216: add caps field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:33 +00:00
Gabor Juhos
959df6a165
generic: ar8216: add vtu_load_vlan field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:30 +00:00
Gabor Juhos
071a509f67
generic: ar8216: add vtu_flush field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:26 +00:00
Gabor Juhos
0d1a31938c
generic: ar8216: add init_port field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:23 +00:00
Gabor Juhos
d52cff00a4
generic: ar8216: add setup_port field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:19 +00:00
Gabor Juhos
ea9e2d7fb2
generic: ar8216: add hw_init field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:15 +00:00
Gabor Juhos
3a4a231982
generic: ar8216: add a separate structure for chip specific stuff
...
Also add a hw_init function into that.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:12 +00:00
Gabor Juhos
595d1849e5
generic: ar8216: rename chip field of struct ar8216
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:08 +00:00
Gabor Juhos
baee093c4e
generic: ar8216: move ar8216_id_chip function
...
Also remove the inline annotation.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:05 +00:00
Gabor Juhos
e4682f031a
generic: ar8216: rename ar8216_ops to ar8216_sw_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:03 +00:00
Felix Fietkau
7fd4ed413f
kernel: improve profiling support, keep static symbols when profiling is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 13:03:14 +00:00
Florian Fainelli
3aa9d6bd64
[kernel/3.2] add some more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 11:55:49 +00:00
Felix Fietkau
8fb4a3381e
kernel: optimize out remaining netfilter hooks in the bridging code if bridge filtering is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 09:21:59 +00:00
Felix Fietkau
a86e95542d
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 19:32:31 +00:00
Felix Fietkau
531638e839
ar8216: fix a MTU related regression
...
Switch reset on AR8316 appears to clobber the MTU configuration register
and possibly other global config registers. Move global configuration
register init writes back to the reset callback.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 16:57:27 +00:00
Gabor Juhos
6189648864
ar71xx: move micrel PHY driver to the generic linux target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:53 +00:00
Gabor Juhos
9af0d919e6
linux/3.3: build mdio_register_board_info into the kernel if PHYLIB is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:49 +00:00
Gabor Juhos
a1c1818142
linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:47 +00:00
Gabor Juhos
72f225874b
generic: ar8216: merge multiple if statements in ar8216_hw_apply
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:33:12 +00:00
Felix Fietkau
f00c73f3c5
kernel: bypass all netfilter hooks if the sysctls for that functionality have been disabled - eliminates the overhead of enabling CONFIG_BRIDGE_NETFILTER in the kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 10:06:45 +00:00
Gabor Juhos
3b5159b828
linux/3.3: refresh patches against 3.3-rc7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 17:32:38 +00:00
Gabor Juhos
04635421a3
linux/3.3: allow to set platform_data for phy devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:28:01 +00:00
Gabor Juhos
4c0838a16c
linux/3.2: allow to set platform_data for phy devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:28:00 +00:00
Gabor Juhos
c74d354787
linux/3.3: add missing config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:58 +00:00
Jo-Philipp Wich
0da5eba57b
[generic] expose CONFIG_NETFILTER_NETLINK for external kmods
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 00:09:23 +00:00
Gabor Juhos
c1db1347f6
generic: ar8216: use usleep_range in ar8216_mii_{read,write}
...
msleep(1) can sleep for up to 20ms.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 17:19:14 +00:00
Gabor Juhos
4769d71b06
generic: ar8216: add a helper function for writing PHY debug registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:35 +00:00
Gabor Juhos
1fb98d5708
generic: ar8216: add lockep assertion to ar8216_rmw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:33 +00:00
Gabor Juhos
b8e1185b0d
linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:30 +00:00
Gabor Juhos
353b832bed
linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:28 +00:00
Gabor Juhos
488b7bdd9b
generic: ar8216: coding style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:14 +00:00
Gabor Juhos
6808474a82
generic: ar8216: don't use static variable in ar8236_hw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:12 +00:00