Commit Graph

28 Commits (fa7a83df4b208f1f09d00af171fc8e49f2c3226e)

Author SHA1 Message Date
Jo-Philipp Wich e5b04d57ef revert unrelated change in previous commit
SVN-Revision: 30738
13 years ago
Jo-Philipp Wich 47b27500cf partly revert r30708, it breaks various arches
SVN-Revision: 30737
13 years ago
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
Jo-Philipp Wich 9d497cb132 rtl8366: fix rtl8366_smi_detect() after r29677
SVN-Revision: 29732
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 43196813d7 generic: rtl8366_smi: add timeout message
SVN-Revision: 29676
13 years ago
Felix Fietkau 5b32d62fcf rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
SVN-Revision: 27755
13 years ago
Gabor Juhos 5641e8233e generic: rtl8366: fix build error
SVN-Revision: 24943
14 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 5120660512 generic: rtl8366_smi: init VLANs only in first switch initialization
SVN-Revision: 24936
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
Felix Fietkau 08755b8858 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)
SVN-Revision: 22856
14 years ago
Gabor Juhos 08c5588cd2 generic: rtl8366: add generic code to enable VLANs
SVN-Revision: 22703
14 years ago
Gabor Juhos 9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
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 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 e19838e04c generic: rtl8366: add common read_debugfs_mibs function
SVN-Revision: 21984
14 years ago
Gabor Juhos 672018a30d generic: rtl8366: move common debugfs code to rtl8366_smi.c
SVN-Revision: 21981
14 years ago
Gabor Juhos 830b04bd72 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
SVN-Revision: 21979
14 years ago
Felix Fietkau da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
14 years ago