Gabor Juhos
86dad96fd0
generic: rtl8367: rename a misnamed variable
...
SVN-Revision: 31917
12 years ago
Gabor Juhos
705d31203c
generic: rtl8366_smi: remove duplicated spinlock initialization
...
SVN-Revision: 31916
12 years ago
Gabor Juhos
9217115687
generic: rtl8366_smi: rename debugfs Kconfig symbol
...
SVN-Revision: 31915
12 years ago
Gabor Juhos
466ef30173
generic: rtl8367: allow to use VLANs > 31
...
SVN-Revision: 31914
12 years ago
Felix Fietkau
0ff3c396d3
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
SVN-Revision: 31637
13 years ago
Felix Fietkau
9b20187ad5
atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
...
SVN-Revision: 31625
13 years ago
Gabor Juhos
e931ffd678
linux: rtl836x: add a generic reset_switch function
...
SVN-Revision: 31536
13 years ago
Gabor Juhos
1d9400263f
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
...
SVN-Revision: 31535
13 years ago
Gabor Juhos
badd7a3cf2
linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
...
SVN-Revision: 31534
13 years ago
Felix Fietkau
dcd185c2f8
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
...
SVN-Revision: 31441
13 years ago
John Crispin
f35b9a9a4c
fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
...
SVN-Revision: 31054
13 years ago
Gabor Juhos
faf82f3e10
generic: ar8216: add support for the AR8327 chip
...
SVN-Revision: 31011
13 years ago
Gabor Juhos
fa7a83df4b
generic: ar8216: allow to use more ports
...
SVN-Revision: 31010
13 years ago
Gabor Juhos
2ddbcb98ee
generic: ar8216: reorder chip specific functions
...
SVN-Revision: 31009
13 years ago
Gabor Juhos
552cffd97a
generic: ar8216: reorder switch_dev specific functions
...
SVN-Revision: 31008
13 years ago
Gabor Juhos
71e356029e
generic: ar8216: use ar8216_sw_ prefix for switchdev related functions
...
SVN-Revision: 31007
13 years ago
Gabor Juhos
9a01936724
generic: ar8216: use switch_dev->ports in for loops
...
SVN-Revision: 31006
13 years ago
Gabor Juhos
2ce9e4753c
generic: ar8216: add read_port_status field to ar8xxx_chip
...
SVN-Revision: 31005
13 years ago
Gabor Juhos
01cad79e03
generic: ar8216: add init_globals field to ar8xxx_chip
...
SVN-Revision: 31004
13 years ago
Gabor Juhos
56cacb3b21
generic: ar8216: add caps field to ar8xxx_chip
...
SVN-Revision: 31003
13 years ago
Gabor Juhos
d1c585d4b1
generic: ar8216: add vtu_load_vlan field to ar8xxx_chip
...
SVN-Revision: 31002
13 years ago
Gabor Juhos
332310fba2
generic: ar8216: add vtu_flush field to ar8xxx_chip
...
SVN-Revision: 31001
13 years ago
Gabor Juhos
d964410cbc
generic: ar8216: add init_port field to ar8xxx_chip
...
SVN-Revision: 31000
13 years ago
Gabor Juhos
006b3b846e
generic: ar8216: add setup_port field to ar8xxx_chip
...
SVN-Revision: 30999
13 years ago
Gabor Juhos
eb5f0067b6
generic: ar8216: add hw_init field to ar8xxx_chip
...
SVN-Revision: 30998
13 years ago
Gabor Juhos
a8371ad566
generic: ar8216: add a separate structure for chip specific stuff
...
Also add a hw_init function into that.
SVN-Revision: 30997
13 years ago
Gabor Juhos
d18133b32d
generic: ar8216: rename chip field of struct ar8216
...
SVN-Revision: 30996
13 years ago
Gabor Juhos
6e143e467f
generic: ar8216: move ar8216_id_chip function
...
Also remove the inline annotation.
SVN-Revision: 30995
13 years ago
Gabor Juhos
1c99979b2c
generic: ar8216: rename ar8216_ops to ar8216_sw_ops
...
SVN-Revision: 30994
13 years ago
Felix Fietkau
b957208807
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
...
SVN-Revision: 30952
13 years ago
Felix Fietkau
404a4c1fcd
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.
SVN-Revision: 30951
13 years ago
Gabor Juhos
c00b53f3d0
ar71xx: move micrel PHY driver to the generic linux target
...
SVN-Revision: 30946
13 years ago
Gabor Juhos
e3af7c82f8
generic: ar8216: merge multiple if statements in ar8216_hw_apply
...
SVN-Revision: 30928
13 years ago
Gabor Juhos
2149facb53
generic: ar8216: use usleep_range in ar8216_mii_{read,write}
...
msleep(1) can sleep for up to 20ms.
SVN-Revision: 30885
13 years ago
Gabor Juhos
77d0a8ca85
generic: ar8216: add a helper function for writing PHY debug registers
...
SVN-Revision: 30884
13 years ago
Gabor Juhos
dad19ac8b2
generic: ar8216: add lockep assertion to ar8216_rmw
...
SVN-Revision: 30883
13 years ago
Gabor Juhos
1ad06d4c3a
generic: ar8216: coding style cleanup
...
SVN-Revision: 30857
13 years ago
Gabor Juhos
e2d3cb69a1
generic: ar8216: don't use static variable in ar8236_hw_init
...
SVN-Revision: 30856
13 years ago
Gabor Juhos
291e2dd583
generic: ar8216: move register inititalization into hw_init
...
SVN-Revision: 30855
13 years ago
Gabor Juhos
e3538fa852
generic: ar8216: set chip type directly in ar8216_id_chip
...
SVN-Revision: 30854
13 years ago
Gabor Juhos
a6c69e63b6
generic: ar8216: simplify ar8216_config_init
...
SVN-Revision: 30853
13 years ago
Gabor Juhos
52a89cd95c
generic: ar8216: move port initialization into a separate function
...
SVN-Revision: 30848
13 years ago
Gabor Juhos
0097cf7161
generic: ar8216: improve ar8216_wait_bit function
...
SVN-Revision: 30847
13 years ago
Gabor Juhos
2370828599
generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
...
SVN-Revision: 30846
13 years ago
Gabor Juhos
d8a8df51ca
generic: ar8216: use the generic get_port_link implementation
...
SVN-Revision: 30845
13 years ago
Gabor Juhos
215e07177e
generic: rtl8367: use the generic get_port_link implementation
...
SVN-Revision: 30844
13 years ago
Gabor Juhos
9e1be3b809
generic: rtl8366s: use the generic get_port_link implementation
...
SVN-Revision: 30843
13 years ago
Gabor Juhos
e2f0264afe
generic: rtl8366rb: use the generic get_port_link implementation
...
SVN-Revision: 30842
13 years ago
Gabor Juhos
759c341e68
generic: swconfig: add a generic get_port_link implementation
...
SVN-Revision: 30839
13 years ago
Gabor Juhos
fc9db6f410
generic: ar8216: use mdiobus_write in ar8236_hw_init
...
SVN-Revision: 30838
13 years ago