summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/rtl8366s.c
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: cleanup of kernel drivers and interface - add some comments to a ↵Felix Fietkau2010-08-041-8/+6
| | | | | | few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better SVN-Revision: 22476
* generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functionsGabor Juhos2010-07-151-53/+2
| | | | SVN-Revision: 22204
* generic: rtl8366: add common rtl8366_sw_get_vlan_infoGabor Juhos2010-07-151-42/+1
| | | | SVN-Revision: 22203
* generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4kGabor Juhos2010-07-151-4/+4
| | | | SVN-Revision: 22202
* generic: rtl8366: add is_vlan_valid function to smi_opsGabor Juhos2010-07-151-3/+12
| | | | SVN-Revision: 22201
* generic: rtl8366: add common rtl8366_sw_get_port_mib functionGabor Juhos2010-07-151-34/+1
| | | | SVN-Revision: 22200
* generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functionsGabor Juhos2010-07-151-4/+5
| | | | SVN-Revision: 22199
* generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functionsGabor Juhos2010-07-151-14/+2
| | | | SVN-Revision: 22197
* generic: rtl8366: add setup to rtl8366_smi_ops structGabor Juhos2010-07-151-4/+2
| | | | SVN-Revision: 22196
* generic: rtl8366: introduce rtl8366_smi_allocGabor Juhos2010-07-151-3/+1
| | | | SVN-Revision: 22195
* generic: rtl8366: get rid of private rtl8366{s,rb} structsGabor Juhos2010-07-151-42/+21
| | | | SVN-Revision: 22194
* generic: rtl8366: move switch device to the rtl8366_smi structGabor Juhos2010-07-151-11/+4
| | | | SVN-Revision: 22193
* generic: rtl8366: get rid of private vlan_{mc,4k} structsGabor Juhos2010-07-151-122/+77
| | | | | | | | The usage of bitfields causes problems in Little-Endian mode. Remove them and manipulate the bits directly in the appropriate functions. This change also reduces the size of the binary a bit. SVN-Revision: 22192
* generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributesGabor Juhos2010-07-151-11/+3
| | | | SVN-Revision: 22191
* generic: rtl8366: enable VLAN ingress filteringGabor Juhos2010-07-021-0/+7
| | | | SVN-Revision: 22044
* generic: rtl8366: minor cleanupGabor Juhos2010-06-281-8/+5
| | | | SVN-Revision: 21985
* generic: rtl8366: add common read_debugfs_mibs functionGabor Juhos2010-06-281-71/+0
| | | | SVN-Revision: 21984
* generic: rtl8366: standardize read_debugfs_mibs functionsGabor Juhos2010-06-281-10/+19
| | | | SVN-Revision: 21983
* generic: rtl8366: use common rtl8366_mib_counter structureGabor Juhos2010-06-281-8/+1
| | | | SVN-Revision: 21982
* generic: rtl8366: move common debugfs code to rtl8366_smi.cGabor Juhos2010-06-281-168/+9
| | | | SVN-Revision: 21981
* generic: rtl8366: move buf to struct rtl8366_smiGabor Juhos2010-06-281-36/+32
| | | | SVN-Revision: 21980
* generic: rtl8366: move common VLAN handling functions to rtl8366_smi.cGabor Juhos2010-06-281-205/+4
| | | | SVN-Revision: 21979
* generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smiGabor Juhos2010-06-281-10/+13
| | | | SVN-Revision: 21978
* generic: rtl8366: add VLAN handling functions to rtl8366_smi_opsGabor Juhos2010-06-281-18/+25
| | | | SVN-Revision: 21977
* generic: rtl8366: use RTL8366{S,RB} prefixes for all definesGabor Juhos2010-06-281-167/+167
| | | | SVN-Revision: 21976
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-261-0/+1785
SVN-Revision: 21952