summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
Commit message (Collapse)AuthorAgeFilesLines
* ramips: ramips_esw: fix typosjuhosg2011-01-041-2/+2
| | | | | | Patch from #8577. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: handle OTG interrupt on the RT305x SoCjuhosg2010-12-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add more definitionsjuhosg2010-12-081-3/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set pvidjuhosg2010-12-081-1/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set vlan membersjuhosg2010-12-081-1/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set VLAN idjuhosg2010-12-081-2/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} functionjuhosg2010-12-081-0/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use rt305x_esw prefix in function namesjuhosg2010-12-081-33/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: coding style cleanupjuhosg2010-12-081-24/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add defines for switch register offsetsjuhosg2010-12-081-24/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: don't touch GPIO_PURPOSE registerjuhosg2010-12-081-20/+0
| | | | | | It must have been set by the board initialization code. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: convert it to be a platform driverjuhosg2010-12-085-13/+134
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: move hardware initialization into a separate functionjuhosg2010-12-081-8/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use a private structure for the functionsjuhosg2010-12-081-36/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use tabs instead of spaces in mach-f5d8235-v2.cjuhosg2010-12-051-43/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Belkin F5D8235 v2 boardjuhosg2010-11-244-0/+149
| | | | | | | | No support for usb for now. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Use NET_IP_ALIGN instead of hardcoding 2juhosg2010-11-241-4/+5
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: DMA map the correct RX skb sizejuhosg2010-11-241-2/+2
| | | | | | | | | | The skb_reserve call prior to DMA mapping the RX skb reduced the skb data len by 2. To not allow DMA to write behind the skb we should pass the correct skb data len to the device. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Don't trigger BUG_ON due to skb allocation failurejuhosg2010-11-241-16/+19
| | | | | | | | | Instead just drop the rx'ed frame silently and reuse the already available buffer. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Remove unnecessary skb_putjuhosg2010-11-241-1/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Allow ethernet interface to be taken down and up againjuhosg2010-10-051-0/+4
| | | | | | | | | | Taking the ramips ethernet interface down and up again resulted in the driver not receiving any frames anymore. Fix this by correctly disabling interrupts in the hw on ifdown. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)juhosg2010-09-274-0/+111
| | | | | | | | | | | The attached patch adds a preliminary support for Prolink PWH2004 board (Ralink RT305x based). LAN and flash appear to work. However, the USB port and WLAN I have not managed to activate properly yet, but that problem appears to be present with other rt305x targets as well(?). Signed-off-by: Esa Hyytia <esa at netlab.tkk.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Sparklan WCR-150GN boardjuhosg2010-08-154-0/+76
| | | | | | | | | | | This patch adds support for Sparklan WCR-150GN board. Network configuration should be tweaked to make it work fully. The reason it's not in this patch is that ramips target should be modified to support different /etc/config/network files for different boards. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register ethernet device on the RT-N15juhosg2010-07-151-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add generic ethernet device for the RT288xjuhosg2010-07-152-0/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mdio_cfg configuration for the ethernet driverjuhosg2010-07-153-0/+86
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix bridging in ramips ethernet driverjuhosg2010-07-131-1/+1
| | | | | | | | | | | | | | | | | | | Bridging between the ramips ethernet driver and rt2800pci was somewhat broken. Frames received by the ethernet driver which were passed to the wifi driver for transmission were sometimes corrupted or sent out with huge delays. The reason for this is the missing assignment of skb->tail in the ramips ethernet driver's rx path resulting in skb->tail pointing to skb->data. Since skb->tail is used by mac80211 it writes into skb->data which messes up the frames content. Fix this by using skb_put to correctly set skb->len and skb->tail. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: protect GPIO register access with a spinlockjuhosg2010-07-131-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.blogic2010-05-311-1/+1
| | | | | | | | Signed-off-by: Helmut Schaa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: merge slab patchjuhosg2010-05-282-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use COMMAND_LINE_SIZE directlyjuhosg2010-05-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttonsjuhosg2010-04-225-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: annotate device register function prototypes with __initjuhosg2010-03-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register wifi device for the RT2880 based boardsjuhosg2010-03-312-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add wifi device for the RT2880 as welljuhosg2010-03-312-0/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register wifi device on the rt305x based boardsjuhosg2010-03-304-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The ralink rt305x board has a wireless card that can be used with the ↵blogic2010-03-302-0/+27
| | | | | | rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] Fix the base address of the wireless card. Otherwise it is not ↵blogic2010-03-301-1/+1
| | | | | | possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: cleanup mac_address changingjuhosg2010-01-311-19/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: update register offsetsjuhosg2010-01-311-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: pass sys_clk via platform_datajuhosg2010-01-313-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: add helper functions to {ed,dis}able interruptsjuhosg2010-01-311-6/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: remove unnecessary typecastsjuhosg2010-01-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: simplify tx_next computationjuhosg2010-01-311-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: simplify tx descriptor initializationjuhosg2010-01-311-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: pass 'raeth_priv' struct directly to dma specific functionsjuhosg2010-01-311-39/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: convert to use netdev_opsjuhosg2010-01-311-6/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: fix invalid register writesjuhosg2010-01-301-4/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: move memset call out from the loopjuhosg2010-01-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips_eth: header file cleanupjuhosg2010-01-301-144/+146
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19415 3c298f89-4303-0410-b956-a3cf2f4a3e73