juhosg
cac44c3002
generic: rtl8366: fix build error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 05:36:44 +00:00
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
7a158c5f40
generic: rtl8366_smi: init VLANs only in first switch initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 20:24:18 +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
nbd
a9266bc682
rtl8366_smi: when setting VLAN ports, always initialize the PVID to ensure that the VLAN MC entry gets allocated. Fixes problems with tagged-only ports ( #7795 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 19:04:02 +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
6002af8edd
generic: rtl8366: add debugfs file to show PVIDs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:56 +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
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
d357a4cc6a
generic: rtl8366: add common read_debugfs_mibs function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:02 +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
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
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