Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ramips: implement clock API for RT305X | Gabor Juhos | 2011-01-26 | 7 | -41/+148 |
| | | | | SVN-Revision: 25124 | ||||
* | ramips: remove extern and __init from function prototypes | Gabor Juhos | 2011-01-26 | 7 | -31/+28 |
| | | | | SVN-Revision: 25123 | ||||
* | ramips: ramips_esw: fix typos | Gabor Juhos | 2011-01-04 | 1 | -2/+2 |
| | | | | | | Patch from #8577. SVN-Revision: 24898 | ||||
* | ramips: handle OTG interrupt on the RT305x SoC | Gabor Juhos | 2010-12-14 | 1 | -0/+3 |
| | | | | SVN-Revision: 24560 | ||||
* | ramips: ramips_esw: add more definitions | Gabor Juhos | 2010-12-08 | 1 | -3/+49 |
| | | | | SVN-Revision: 24340 | ||||
* | ramips: ramips_esw: add helper function to set pvid | Gabor Juhos | 2010-12-08 | 1 | -1/+17 |
| | | | | SVN-Revision: 24339 | ||||
* | ramips: ramips_esw: add helper function to set vlan members | Gabor Juhos | 2010-12-08 | 1 | -1/+31 |
| | | | | SVN-Revision: 24338 | ||||
* | ramips: ramips_esw: add helper function to set VLAN id | Gabor Juhos | 2010-12-08 | 1 | -2/+17 |
| | | | | SVN-Revision: 24337 | ||||
* | ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function | Gabor Juhos | 2010-12-08 | 1 | -0/+23 |
| | | | | SVN-Revision: 24336 | ||||
* | ramips: ramips_esw: use rt305x_esw prefix in function names | Gabor Juhos | 2010-12-08 | 1 | -33/+33 |
| | | | | SVN-Revision: 24335 | ||||
* | ramips: ramips_esw: coding style cleanup | Gabor Juhos | 2010-12-08 | 1 | -24/+31 |
| | | | | SVN-Revision: 24334 | ||||
* | ramips: ramips_esw: add defines for switch register offsets | Gabor Juhos | 2010-12-08 | 1 | -24/+52 |
| | | | | SVN-Revision: 24333 | ||||
* | ramips: ramips_esw: don't touch GPIO_PURPOSE register | Gabor Juhos | 2010-12-08 | 1 | -20/+0 |
| | | | | | | It must have been set by the board initialization code. SVN-Revision: 24332 | ||||
* | ramips: ramips_esw: convert it to be a platform driver | Gabor Juhos | 2010-12-08 | 5 | -13/+134 |
| | | | | SVN-Revision: 24331 | ||||
* | ramips: ramips_esw: move hardware initialization into a separate function | Gabor Juhos | 2010-12-08 | 1 | -8/+14 |
| | | | | SVN-Revision: 24330 | ||||
* | ramips: ramips_esw: use a private structure for the functions | Gabor Juhos | 2010-12-08 | 1 | -36/+43 |
| | | | | SVN-Revision: 24329 | ||||
* | ramips: use tabs instead of spaces in mach-f5d8235-v2.c | Gabor Juhos | 2010-12-05 | 1 | -43/+43 |
| | | | | SVN-Revision: 24268 | ||||
* | ramips: add support for Belkin F5D8235 v2 board | Gabor Juhos | 2010-11-24 | 4 | -0/+149 |
| | | | | | | | | No support for usb for now. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 24126 | ||||
* | ramips: Use NET_IP_ALIGN instead of hardcoding 2 | Gabor Juhos | 2010-11-24 | 1 | -4/+5 |
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 24124 | ||||
* | ramips: DMA map the correct RX skb size | Gabor Juhos | 2010-11-24 | 1 | -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> SVN-Revision: 24123 | ||||
* | ramips: Don't trigger BUG_ON due to skb allocation failure | Gabor Juhos | 2010-11-24 | 1 | -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> SVN-Revision: 24122 | ||||
* | ramips: Remove unnecessary skb_put | Gabor Juhos | 2010-11-24 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 24121 | ||||
* | ramips: Allow ethernet interface to be taken down and up again | Gabor Juhos | 2010-10-05 | 1 | -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> SVN-Revision: 23243 | ||||
* | ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205) | Gabor Juhos | 2010-09-27 | 4 | -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> SVN-Revision: 23129 | ||||
* | ramips: add support for Sparklan WCR-150GN board | Gabor Juhos | 2010-08-15 | 4 | -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> SVN-Revision: 22658 | ||||
* | ramips: register ethernet device on the RT-N15 | Gabor Juhos | 2010-07-15 | 1 | -0/+8 |
| | | | | SVN-Revision: 22213 | ||||
* | ramips: add generic ethernet device for the RT288x | Gabor Juhos | 2010-07-15 | 2 | -0/+44 |
| | | | | SVN-Revision: 22212 | ||||
* | ramips: add mdio_cfg configuration for the ethernet driver | Gabor Juhos | 2010-07-15 | 3 | -0/+86 |
| | | | | SVN-Revision: 22211 | ||||
* | ramips: Fix bridging in ramips ethernet driver | Gabor Juhos | 2010-07-13 | 1 | -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> SVN-Revision: 22172 | ||||
* | ramips: protect GPIO register access with a spinlock | Gabor Juhos | 2010-07-13 | 1 | -1/+11 |
| | | | | SVN-Revision: 22171 | ||||
* | Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set. | John Crispin | 2010-05-31 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Helmut Schaa SVN-Revision: 21643 | ||||
* | ramips: merge slab patch | Gabor Juhos | 2010-05-28 | 2 | -0/+2 |
| | | | | SVN-Revision: 21607 | ||||
* | ramips: use COMMAND_LINE_SIZE directly | Gabor Juhos | 2010-05-28 | 1 | -1/+1 |
| | | | | SVN-Revision: 21606 | ||||
* | ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons | Gabor Juhos | 2010-04-22 | 5 | -9/+9 |
| | | | | SVN-Revision: 21083 | ||||
* | ramips: annotate device register function prototypes with __init | Gabor Juhos | 2010-03-31 | 1 | -2/+2 |
| | | | | SVN-Revision: 20627 | ||||
* | ramips: register wifi device for the RT2880 based boards | Gabor Juhos | 2010-03-31 | 2 | -0/+3 |
| | | | | SVN-Revision: 20625 | ||||
* | ramips: add wifi device for the RT2880 as well | Gabor Juhos | 2010-03-31 | 2 | -0/+27 |
| | | | | SVN-Revision: 20624 | ||||
* | ramips: register wifi device on the rt305x based boards | Gabor Juhos | 2010-03-30 | 4 | -0/+4 |
| | | | | SVN-Revision: 20616 | ||||
* | The ralink rt305x board has a wireless card that can be used with the ↵ | John Crispin | 2010-03-30 | 2 | -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> SVN-Revision: 20599 | ||||
* | Fix the base address of the wireless card. Otherwise it is not possible to ↵ | John Crispin | 2010-03-30 | 1 | -1/+1 |
| | | | | | | register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 20596 | ||||
* | ramips_eth: cleanup mac_address changing | Gabor Juhos | 2010-01-31 | 1 | -19/+12 |
| | | | | SVN-Revision: 19464 | ||||
* | ramips_eth: update register offsets | Gabor Juhos | 2010-01-31 | 1 | -8/+8 |
| | | | | SVN-Revision: 19463 | ||||
* | ramips_eth: pass sys_clk via platform_data | Gabor Juhos | 2010-01-31 | 3 | -2/+5 |
| | | | | SVN-Revision: 19462 | ||||
* | ramips_eth: add helper functions to {ed,dis}able interrupts | Gabor Juhos | 2010-01-31 | 1 | -6/+21 |
| | | | | SVN-Revision: 19446 | ||||
* | ramips_eth: remove unnecessary typecasts | Gabor Juhos | 2010-01-31 | 1 | -2/+2 |
| | | | | SVN-Revision: 19445 | ||||
* | ramips_eth: simplify tx_next computation | Gabor Juhos | 2010-01-31 | 1 | -5/+2 |
| | | | | SVN-Revision: 19444 | ||||
* | ramips_eth: simplify tx descriptor initialization | Gabor Juhos | 2010-01-31 | 1 | -3/+2 |
| | | | | SVN-Revision: 19443 | ||||
* | ramips_eth: pass 'raeth_priv' struct directly to dma specific functions | Gabor Juhos | 2010-01-31 | 1 | -39/+35 |
| | | | | SVN-Revision: 19442 | ||||
* | ramips_eth: convert to use netdev_ops | Gabor Juhos | 2010-01-31 | 1 | -6/+12 |
| | | | | SVN-Revision: 19440 | ||||
* | ramips_eth: fix invalid register writes | Gabor Juhos | 2010-01-30 | 1 | -4/+5 |
| | | | | SVN-Revision: 19417 |