summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ramips_eth: coding style cleanupjuhosg2010-01-301-54/+66
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register gpio buttons on the Fonera 2.0N boardjuhosg2010-01-302-0/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register gpio buttons on the WHR-G300N boardjuhosg2010-01-302-1/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register gpio buttons on the V22RW-2x2 boardjuhosg2010-01-302-1/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register gpio buttons on the DIR-300 revB boardjuhosg2010-01-302-1/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix wrong base addresses for the RT288xjuhosg2010-01-301-4/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'juhosg2010-01-307-8/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rename dev_gpio_leds.h to dev-gpio-leds.hjuhosg2010-01-307-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: cleanup WZR-AGL300NH board support filejuhosg2010-01-301-33/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register gpio-buttons on the RT-N15 boardjuhosg2010-01-302-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add common gpio-buttons devicejuhosg2010-01-304-1/+93
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register rtl8366s device on the RT-N15 boardjuhosg2010-01-301-2/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: sanitize return value of ramips_gpio_getjuhosg2010-01-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update mips multi-machine stuffjuhosg2010-01-309-59/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen ↵jow2010-01-245-0/+119
| | | | | | <joonas.lahtinen@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19321 3c298f89-4303-0410-b956-a3cf2f4a3e73