summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
AgeCommit message (Collapse)Author
2011-10-11ar8216: use mdiobus_{read,write} to ensure proper lockingjogo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21generic: jumbo frames support for rtl8366sjuhosg
This patch adds the option to enable jumbo frames on the rtl8366s switch. This is almost exactly the same as the first patch at https://dev.openwrt.org/ticket/7977 and it has been requested in a comment there. I have tested this and it successfully allows devices on the switch using jumbo frames to communicate. Signed-off-by: Ash Hughes <ashley.hughes@blueyonder.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15generic: ar8216: add support for get link statusjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27swconfig: Add generic switch identifiersjogo
Also make switches available under a generic name "switch<num>" for device name agnostic access. The old device name is used as an alias for backward compatibility. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24rtl8366_smi: implement a function for detecting whether the attached switch ↵nbd
is RTL8366S or RTL8366RB git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24rtl8366: unify rtl8366s and rtl8366rb platform datanbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24ocf-linux: version bump to 20110720hauke
Fixes problem with TFM allocation in cryptosoft.c Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Hauke: * remove ubsec_ssb package and take it from ocf-linux * use patches from ocf-linux package * refresh all patches * readd some build fixes for OpenWrt. * readd CRYPTO_MANAGER dependency git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03generic: add rt2x00_platform.hjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01fix the gpio_dev driver: remove existing forward port patches, use ↵nbd
unlocked_ioctl on all platforms and fix the arguments to the ioctl handler (based on patch from #9198) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09[ledtrig-netdev]blogic
we dont need 1024 bytes buffer. 128 bytes is enough. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09[PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FCblogic
This patch adds 802.1Q VLAN support for the ADM6996M chip. The driver is loaded for both the FC and M model. It will detect which of the two chips is connected. The FC model is initialised, but no further functionality is offered. The PHY driver will always report "100 Mbit/s, link up", for both the M and FC models. This reflects the fact that the link between switch chip and Ethernet MAC is always on[1]. Further documentation can be found in the kernel's Documentation/networking/adm6996.txt Signed-of-By: Peter Lebbing <peter@digitalbrains.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28ar8316: automatically detect whether port4 is used as PHY or as a switch portnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28ar8216: support AR8316 rev 0 devicesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCKnbd
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12generic: rtl8366{s,rb}: remove the PHY driver.juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02rtl8306: do not overwrite registers in the phy fixup, it could mess up other ↵nbd
switches (fixes #8911) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02kernel: the cryptosoft module of ocf needs cryptoapi manager support (for ↵nbd
blkcipher, hash) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-19kernel: linux/version.h was removed in kernel 2.6.19 and is now replaced by ↵hauke
generated/autoconf.h. This fixes build with kernel 2.6.38. This was only build tested. Thank you philipp64 for reporting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26generic: rtl8366s: allow initial register values to be passed via platform_datajuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09generic: rtl8366: fix build errorjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366: enable vlans before enabling the portsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366: enable ports only after VLAN configuration is donejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366: add enable_port helperjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366_smi: init VLANs only in first switch initializationjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366s: use correct bitmasks in sanity checksjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366s: add vlan fid supportjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366: add debugfs file for VLAN4K tablejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08generic: rtl8366rb: use correct bitmasks in sanity checksjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24930 3c298f89-4303-0410-b956-a3cf2f4a3e73
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-12-06kernel: fix cryptodev with kernel >= 2.6.35hauke
The fix is from http://sourceforge.net/mailarchive/forum.php?thread_name=20100906035717.GA7562%40mcafee.com&forum_name=ocf-linux-users Thank you tripolar for reporting the issue and finding a solution for it. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24286 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-10-07cryptodev: Compilefix on 2.6.36mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23290 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