Gabor Juhos
4625c9b5a4
generic: rtl8366: add rtl8366_smi_write_reg_noack helper
...
After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.
SVN-Revision: 29844
13 years ago
Gabor Juhos
87fb92ee03
generic: rtl8366: preparing for RTL8367 support
...
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields
SVN-Revision: 29677
13 years ago
Gabor Juhos
792a1fb2c0
generic: rtl8366: enable vlans before enabling the ports
...
SVN-Revision: 24939
14 years ago
Gabor Juhos
c16715f8d2
generic: rtl8366: enable ports only after VLAN configuration is done
...
SVN-Revision: 24938
14 years ago
Gabor Juhos
0bcc97ac26
generic: rtl8366: add enable_port helper
...
SVN-Revision: 24937
14 years ago
Gabor Juhos
72779e560b
generic: rtl8366: add debugfs file for VLAN4K table
...
SVN-Revision: 24933
14 years ago
Gabor Juhos
90c0618011
generic: add rtl8366rb switch vlan fid support
...
Allows to use fids 0 to 7. Default is 0.
Those who will use this don't forget to `set vlan fid` every time
after `set vlan ports` if you want non default behavior.
Minor changes. Version bump.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 24125
14 years ago
Gabor Juhos
08c5588cd2
generic: rtl8366: add generic code to enable VLANs
...
SVN-Revision: 22703
14 years ago
Gabor Juhos
77d6cd0feb
generic: rtl8366: add enable_vlan{,4k} to smi_ops
...
SVN-Revision: 22702
14 years ago
Gabor Juhos
9a92e1a32c
generic: rtl8366: make rtl8366_set_vlan static
...
SVN-Revision: 22205
14 years ago
Gabor Juhos
48934bbd88
generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
...
SVN-Revision: 22204
14 years ago
Gabor Juhos
d4e0b75dda
generic: rtl8366: add common rtl8366_sw_get_vlan_info
...
SVN-Revision: 22203
14 years ago
Gabor Juhos
ce7eca2dff
generic: rtl8366: add is_vlan_valid function to smi_ops
...
SVN-Revision: 22201
14 years ago
Gabor Juhos
dffd45dc61
generic: rtl8366: add common rtl8366_sw_get_port_mib function
...
SVN-Revision: 22200
14 years ago
Gabor Juhos
e110321fce
generic: rtl8366: make rtl8366_{g,s}et_pvid static
...
SVN-Revision: 22198
14 years ago
Gabor Juhos
e561b18521
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
...
SVN-Revision: 22197
14 years ago
Gabor Juhos
534480d3fb
generic: rtl8366: add setup to rtl8366_smi_ops struct
...
SVN-Revision: 22196
14 years ago
Gabor Juhos
b093cec6cc
generic: rtl8366: introduce rtl8366_smi_alloc
...
SVN-Revision: 22195
14 years ago
Gabor Juhos
008c81b859
generic: rtl8366: move switch device to the rtl8366_smi struct
...
SVN-Revision: 22193
14 years ago
Gabor Juhos
393f0bda89
generic: rtl8366: standardize read_debugfs_mibs functions
...
SVN-Revision: 21983
15 years ago
Gabor Juhos
5986c1f2d0
generic: rtl8366: use common rtl8366_mib_counter structure
...
SVN-Revision: 21982
15 years ago
Gabor Juhos
672018a30d
generic: rtl8366: move common debugfs code to rtl8366_smi.c
...
SVN-Revision: 21981
15 years ago
Gabor Juhos
19ed040c62
generic: rtl8366: move buf to struct rtl8366_smi
...
SVN-Revision: 21980
15 years ago
Gabor Juhos
830b04bd72
generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
...
SVN-Revision: 21979
15 years ago
Gabor Juhos
81e9e7916f
generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
...
SVN-Revision: 21978
15 years ago
Gabor Juhos
08942e9a98
generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
...
SVN-Revision: 21977
15 years ago
Felix Fietkau
da1bb88a2b
rename target/linux/generic-2.6 to generic
...
SVN-Revision: 21952
15 years ago
Gabor Juhos
91a3323401
generic: rtl8366: introduce rtl8366_smi_rmwr function
...
SVN-Revision: 21919
15 years ago
Gabor Juhos
14688b75b7
generic: rtl8366: add common vlan_4k structure
...
SVN-Revision: 21915
15 years ago
Gabor Juhos
3d9c3067d3
generic: rtl8366: add common vlan_mc structure
...
SVN-Revision: 21914
15 years ago
Gabor Juhos
47de539b93
generic: rtl8366: move mii bus handling to the rtl8366_smi code
...
SVN-Revision: 21911
15 years ago
Gabor Juhos
dcc8caac45
generic: rtl8366: introduce rtl8366_smi_ops
...
SVN-Revision: 21910
15 years ago
Gabor Juhos
49c4df5487
rtl8366: make it available on all platforms
...
SVN-Revision: 19329
15 years ago
Gabor Juhos
2b5ba9073f
rtl8366_smi: move RTL8366S driver into a separate file
...
SVN-Revision: 19279
15 years ago