summaryrefslogtreecommitdiff
path: root/target/linux/generic/files/drivers
AgeCommit message (Collapse)Author
2010-12-17generic: add LED trigger for USB device presence/activityjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24generic: add rtl8366rb switch vlan fid supportjuhosg
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-12generic: update gpio_buttons driverjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04[kernel] fix mvswitch PHY polling setting (#8133)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21rt8366*: use __devinit instead of __init for the probe function to fix a ↵nbd
section mismatch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12[generic] unify extended vlan id swconfig attributes.jow
AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27generic: RTL8366S/RB: Fix autonegotiation for the WAN port.juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27generic: add rtl8366rb switch port rate, port and qos enable/disable supportjuhosg
Patch-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04[kernel] add switch driver for Lantiq PSB6970florian
Tested on ifxmips based board. The PSB6970 is also known as the Infineon Tantos switch. Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31rtl8366_smi: when setting VLAN ports, always initialize the PVID to ensure ↵nbd
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-18generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabledjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18generic: rtl8366: add generic code to enable VLANsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18generic: rtl8366: add enable_vlan{,4k} to smi_opsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15generic: fix LED control on the RTL8366 switchesjuhosg
* patch from #7713 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08rtl8366: re-enable learning by default, disabling it broke switching ↵nbd
functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04swconfig: cleanup of kernel drivers and interfacenbd
- add some comments to a 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back ↵jow
mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19[kernel] pwm: export the generic pwm api as moduleclaudio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add debugfs file to show PVIDsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: make rtl8366_set_vlan staticjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functionsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add common rtl8366_sw_get_vlan_infojuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4kjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add is_vlan_valid function to smi_opsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add common rtl8366_sw_get_port_mib functionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functionsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: make rtl8366_{g,s}et_pvid staticjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functionsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: add setup to rtl8366_smi_ops structjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: introduce rtl8366_smi_allocjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: get rid of private rtl8366{s,rb} structsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: move switch device to the rtl8366_smi structjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: get rid of private vlan_{mc,4k} structsjuhosg
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12[kernel] pwm: use coherent naming to avoid conflictsclaudio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-02generic: rtl8366: enable VLAN ingress filteringjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: minor cleanupjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: add common read_debugfs_mibs functionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: standardize read_debugfs_mibs functionsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: use common rtl8366_mib_counter structurejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: move common debugfs code to rtl8366_smi.cjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: move buf to struct rtl8366_smijuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: move common VLAN handling functions to rtl8366_smi.cjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smijuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: add VLAN handling functions to rtl8366_smi_opsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28generic: rtl8366: use RTL8366{S,RB} prefixes for all definesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-27generic: rtl8366rb: fix MIB counter resetjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26rename target/linux/generic-2.6 to genericnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73