juhosg
784b0f3ae6
generic: rtl8366: enable vlans before enabling the ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 20:24:29 +00:00
juhosg
5082ee8d98
generic: rtl8366: enable ports only after VLAN configuration is done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 20:24:26 +00:00
juhosg
14f9ab7993
generic: rtl8366: add enable_port helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 20:24:22 +00:00
juhosg
2743857121
generic: rtl8366: add debugfs file for VLAN4K table
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 18:03:57 +00:00
juhosg
dbdef16088
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:21 +00:00
juhosg
356b45cef3
generic: rtl8366: add generic code to enable VLANs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:37 +00:00
juhosg
3b7b50fb89
generic: rtl8366: add enable_vlan{,4k} to smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:34 +00:00
juhosg
12e4b34390
generic: rtl8366: make rtl8366_set_vlan static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:53 +00:00
juhosg
8007d48891
generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:50 +00:00
juhosg
dac77d22af
generic: rtl8366: add common rtl8366_sw_get_vlan_info
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:47 +00:00
juhosg
fc85856afd
generic: rtl8366: add is_vlan_valid function to smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:39 +00:00
juhosg
5476411f3d
generic: rtl8366: add common rtl8366_sw_get_port_mib function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:36 +00:00
juhosg
b956ede575
generic: rtl8366: make rtl8366_{g,s}et_pvid static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:29 +00:00
juhosg
6938bc08df
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:25 +00:00
juhosg
e920aacf90
generic: rtl8366: add setup to rtl8366_smi_ops struct
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:21 +00:00
juhosg
ec7835703b
generic: rtl8366: introduce rtl8366_smi_alloc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:16 +00:00
juhosg
e2d43315df
generic: rtl8366: move switch device to the rtl8366_smi struct
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:06 +00:00
juhosg
aaf0b375e0
generic: rtl8366: standardize read_debugfs_mibs functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:59 +00:00
juhosg
41d026022e
generic: rtl8366: use common rtl8366_mib_counter structure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:56 +00:00
juhosg
18ab2efaa8
generic: rtl8366: move common debugfs code to rtl8366_smi.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:52 +00:00
juhosg
d59f0a0930
generic: rtl8366: move buf to struct rtl8366_smi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:48 +00:00
juhosg
30a7cdf55e
generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:45 +00:00
juhosg
7a3a11aca6
generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:41 +00:00
juhosg
a81c90dc76
generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:37 +00:00
nbd
c5552ad039
rename target/linux/generic-2.6 to generic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00