summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/rtl8366s.c
Commit message (Collapse)AuthorAgeFilesLines
* generic: rtl8366{s,rb}: remove the PHY driver.Gabor Juhos2011-04-121-52/+1
| | | | | | | | | | Since the PHY driver is only used for the WAN port and there is virtually no difference between it and the generic PHY driver, we can sefely remove it. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26600
* generic: rtl8366s: allow initial register values to be passed via platform_dataGabor Juhos2011-01-261-0/+11
| | | | SVN-Revision: 25120
* generic: rtl8366: enable vlans before enabling the portsGabor Juhos2011-01-081-0/+4
| | | | SVN-Revision: 24939
* generic: rtl8366: enable ports only after VLAN configuration is doneGabor Juhos2011-01-081-4/+5
| | | | SVN-Revision: 24938
* generic: rtl8366: add enable_port helperGabor Juhos2011-01-081-0/+7
| | | | SVN-Revision: 24937
* generic: rtl8366s: use correct bitmasks in sanity checksGabor Juhos2011-01-081-4/+4
| | | | SVN-Revision: 24935
* generic: rtl8366s: add vlan fid supportGabor Juhos2011-01-081-0/+7
| | | | SVN-Revision: 24934
* rt8366*: use __devinit instead of __init for the probe function to fix a ↵Felix Fietkau2010-10-211-1/+1
| | | | | | section mismatch SVN-Revision: 23573
* generic: RTL8366S/RB: Fix autonegotiation for the WAN port.Gabor Juhos2010-09-271-0/+5
| | | | | | | | | | | | The RTL8366S/RB support connecting a second mac to it and using the 5th port as an independent phy. Therefore we need to handle autonegotiation changes for phy 4 like on a single phy device. This fixes #7980, verified on a WNDR3700. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 23127
* generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabledGabor Juhos2010-08-181-2/+7
| | | | SVN-Revision: 22704
* generic: rtl8366: add generic code to enable VLANsGabor Juhos2010-08-181-42/+4
| | | | SVN-Revision: 22703
* generic: rtl8366: add enable_vlan{,4k} to smi_opsGabor Juhos2010-08-181-4/+6
| | | | SVN-Revision: 22702
* generic: fix LED control on the RTL8366 switchesGabor Juhos2010-08-151-1/+1
| | | | | | * patch from #7713 SVN-Revision: 22656
* rtl8366: re-enable learning by default, disabling it broke switching ↵Felix Fietkau2010-08-081-4/+46
| | | | | | functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637 SVN-Revision: 22545
* 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