juhosg
17df14bf19
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
juhosg
a79728bb5c
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
juhosg
3f02078b26
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
juhosg
28857571f7
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
juhosg
bc46e3f21c
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
juhosg
76c970bba3
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
juhosg
6db6793b7a
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
juhosg
c4c471bd64
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
juhosg
30a5115c48
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
juhosg
c097ab2bbd
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
juhosg
6934b97c4e
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
juhosg
d29edcf013
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
juhosg
9aeb2624ac
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
juhosg
f54b65f008
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
juhosg
5e670215a9
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
juhosg
b9fa24dba2
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
juhosg
166dc561a1
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
juhosg
b7facc3842
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
nbd
d16a17a54c
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
35c3f29108
[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
nbd
e2f9a07f36
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
nbd
a2e617077c
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
nbd
b5e9c6c090
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
juhosg
263a705cc6
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
juhosg
d434128dd1
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
juhosg
c69dbabba4
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
juhosg
ab881f8a9d
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
nbd
baf14aebfc
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
juhosg
875cf3ebbe
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
juhosg
4714563903
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
juhosg
170eccd8a7
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
juhosg
d4fa1a974d
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
jow
d4b1ee15d1
[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
juhosg
86b5f9e15f
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
juhosg
91f1cdc854
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
juhosg
7c3e076bdf
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
juhosg
1df87f4bee
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
juhosg
a26c9305b4
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
juhosg
4c5cdbb16b
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
juhosg
9044daabf7
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
juhosg
d118a7af95
generic: ar8216: move register inititalization into hw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:11 +00:00
juhosg
7c5576c278
generic: ar8216: set chip type directly in ar8216_id_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:10 +00:00
juhosg
1130aa078f
generic: ar8216: simplify ar8216_config_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:08 +00:00
juhosg
5cec240735
linux/3.{2,3}: even more NAND symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 22:32:54 +00:00
juhosg
823a90641e
generic: ar8216: move port initialization into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:46 +00:00
juhosg
f7dadcb854
generic: ar8216: improve ar8216_wait_bit function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:45 +00:00
juhosg
47f3a7dbc1
generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:43 +00:00
juhosg
f8b56bc9d2
generic: ar8216: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:42 +00:00
juhosg
b1fa0c1a37
generic: rtl8367: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:40 +00:00
juhosg
1f9f293936
generic: rtl8366s: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:38 +00:00