juhosg
12e380be62
backfire: generic: rtl8366: enable ports only after VLAN configuration is done (backportof r24938)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:47 +00:00
juhosg
b5e2cd6155
backfire: generic: rtl8366: add enable_port helper (backport of r24937)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:41 +00:00
juhosg
663164bc40
backfire: generic: rtl8366rb: use correct bitmasks in sanity checks (backport of r24930)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:18 +00:00
juhosg
c1d2e98adb
backfire: generic: add rtl8366rb switch vlan fid support (backport of r24125)
...
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/branches/backfire@24990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:13 +00:00
juhosg
48de68f691
backfire: rt8366*: use __devinit instead of __init for the probe function to fix a section mismatch (backport of r23573)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:09 +00:00
juhosg
3bf4bd7bec
backfire: generic: add rtl8366rb switch port rate, port and qos enable/disable support (backport of r23126)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 18:19:05 +00:00
jow
a412649794
[backfire] merge r23127
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:34:36 +00:00
jow
2786ed2e1b
[backfire] merge r22702, r22703 and r22704
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-09 23:21:41 +00:00
nbd
7af90ad2ab
merge swconfig (+drivers) improvements from trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:23:53 +00:00
juhosg
62bfeaf688
backfire: gneric: fix LED control on the RTL8366 switches (backport of r22656)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 08:15:09 +00:00
nbd
3ec88d6832
merge rtl8366 switch fix from r22545
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:15:48 +00:00
juhosg
c56ed47f65
backfire: generic: rtl8366: enable VLAN ingress filtering (backport of r22044)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-03 07:29:27 +00:00
juhosg
f30e642e2f
backfire: generic: rtl8366: minor cleanup (backport of r21985)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:58 +00:00
juhosg
ea51bbc9ae
backfire: generic: rtl8366: add common read_debugfs_mibs function (backport of 21984)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:52 +00:00
juhosg
a99e70d576
backfire: generic: rtl8366: standardize read_debugfs_mibs functions (backport of r21983)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:46 +00:00
juhosg
1f92e5b0fc
backfire: generic: rtl8366: use common rtl8366_mib_counter structure (backport of 21982)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:39 +00:00
juhosg
1a7ad13e99
backfire: generic: rtl8366: move common debugfs code to rtl8366_smi.c (backport of 21981)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:32 +00:00
juhosg
e4c3757c17
backfire: generic: rtl8366: move buf to struct rtl8366_smi (backport of 21980)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:26 +00:00
juhosg
c667963cee
backfire: generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c (backport of 21979)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:19 +00:00
juhosg
e651d111d7
backfire: generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi (backport of r21978)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:11 +00:00
juhosg
1a9ab8302a
backfire: generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops (backport of r21977)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:03 +00:00
juhosg
7cde79a5ed
backfire: generic: rtl8366: use RTL8366{S,RB} prefixes for all defines (backport of 21976)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:07:55 +00:00
juhosg
d11ba9cede
backfire: generic: rtl8366rb: fix MIB counter reset (backport of r21969)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-27 16:50:34 +00:00
juhosg
61406f679a
backfire: generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format (backport of r21923)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:27 +00:00
juhosg
2933caf913
backfire: generic: rtl8366: update vlan handling code of rtl8366rb (backport of r21921)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:17 +00:00
juhosg
600459faa6
backfire: generic: rtl8366: add hw_init to initialize registers after reset (backport of r21920)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:11 +00:00
juhosg
bee4b83a3b
backfire: generic: rtl8366: introduce rtl8366_smi_rmwr function (backport of r21919)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:05 +00:00
juhosg
c173e8c86b
backfire: generic: rtl8366: cleanup MIB counter printing (backport of r21917)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:53 +00:00
juhosg
4620b92a7e
backfire: generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb} (backport of r21916)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:46 +00:00
juhosg
091a81e55c
backfire: generic: rtl8366: add common vlan_4k structure (backport of r21915)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:38 +00:00
juhosg
25db8048e6
backfire: generic: rtl8366: add common vlan_mc structure (backport of r21914)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:31 +00:00
juhosg
a87dd636e0
backfire: generic: rtl8366: rename vlanmc and vlan4k related structures an functions (backport of r21913)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:22 +00:00
juhosg
814c82f218
backfire: generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls (backport of r21912)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:14 +00:00
juhosg
a219ae9c95
backfire: generic: rtl8366: move mii bus handling to the rtl8366_smi code (backport of r21911)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:05 +00:00
juhosg
1329a26409
backfire: generic: rtl8366: introduce rtl8366_smi_ops (backport of r21910)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:55 +00:00
juhosg
ab13453cab
backfire: generic: rtl8366: change format string for debugfs error messages (backport of r21909)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:45 +00:00
juhosg
5d524e9d5c
backfire: generic: rtl8366: don't show link parameters if the link is down (backport of r21908)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:36 +00:00
juhosg
ac10fe233e
backfire: generic: rtl8366: fix register offset and size of MIB counters (backport of r29107)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:24 +00:00
juhosg
c814fdfe02
backfire: generic: rtl8366: prevent modifications of VLAN 0 (backport of r29106)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:14 +00:00
juhosg
a5af4ae7d5
kernel: add driver for the RTL8366RB switch
...
Thanks to Andrew Tarabaras.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:39:02 +00:00