Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ramips: ramips_esw: convert it to be a platform driver | Gabor Juhos | 2010-12-08 | 1 | -4/+18 |
| | | | | SVN-Revision: 24331 | ||||
* | 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: add mdio_cfg configuration for the ethernet driver | Gabor Juhos | 2010-07-15 | 1 | -0/+49 |
| | | | | 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_eth: cleanup mac_address changing | Gabor Juhos | 2010-01-31 | 1 | -19/+12 |
| | | | | SVN-Revision: 19464 | ||||
* | ramips_eth: pass sys_clk via platform_data | Gabor Juhos | 2010-01-31 | 1 | -1/+1 |
| | | | | 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 | ||||
* | ramips_eth: move memset call out from the loop | Gabor Juhos | 2010-01-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 19416 | ||||
* | ramips_eth: coding style cleanup | Gabor Juhos | 2010-01-30 | 1 | -54/+66 |
| | | | | SVN-Revision: 19414 | ||||
* | missing header file changes, and fix mtu value | John Crispin | 2009-10-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 18220 | ||||
* | fixes rx path for eth, spinlock it, increases buffer size, board now ↵ | John Crispin | 2009-10-29 | 1 | -28/+23 |
| | | | | | | survives ping -f SVN-Revision: 18212 | ||||
* | hopefully fixes dma issues seen on ethernet driver when under high load | John Crispin | 2009-10-29 | 1 | -2/+7 |
| | | | | SVN-Revision: 18203 | ||||
* | ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to ↵ | Gabor Juhos | 2009-10-26 | 1 | -1/+1 |
| | | | | | | 'drivers/net/ramips_eth.h' SVN-Revision: 18176 | ||||
* | ramips: move ramips_eth_platform_data into a separate file | Gabor Juhos | 2009-10-26 | 1 | -0/+1 |
| | | | | SVN-Revision: 18174 | ||||
* | ramips: request_irq prior to dma allocation, and handle the case if it fails | Gabor Juhos | 2009-10-26 | 1 | -2/+10 |
| | | | | SVN-Revision: 18173 | ||||
* | ramips: add error handling to ramips_alloc_dma | Gabor Juhos | 2009-10-26 | 1 | -7/+29 |
| | | | | SVN-Revision: 18172 | ||||
* | ramips: free allocated skbs in ramips_cleanup_dma | Gabor Juhos | 2009-10-26 | 1 | -0/+5 |
| | | | | SVN-Revision: 18171 | ||||
* | ramips: add ramips_setup_dma helper to the ethernet driver | Gabor Juhos | 2009-10-26 | 1 | -6/+15 |
| | | | | SVN-Revision: 18170 | ||||
* | ramips: add ramips_cleanup_dma helper | Gabor Juhos | 2009-10-26 | 1 | -4/+13 |
| | | | | SVN-Revision: 18169 | ||||
* | ramips: remove unnecessary includes in the ethernet driver | Gabor Juhos | 2009-10-26 | 1 | -6/+1 |
| | | | | SVN-Revision: 18168 | ||||
* | ramips: fix dma api usage in the ethernet driver | Gabor Juhos | 2009-10-26 | 1 | -7/+7 |
| | | | | SVN-Revision: 18167 | ||||
* | ramips: use resource to pass irq and base address to the ethernet driver | Gabor Juhos | 2009-10-26 | 1 | -2/+14 |
| | | | | SVN-Revision: 18166 | ||||
* | ramips: add error-path handling to the ramips_eth_plat_probe | Gabor Juhos | 2009-10-26 | 1 | -6/+26 |
| | | | | SVN-Revision: 18165 | ||||
* | fixes licenses | John Crispin | 2009-10-25 | 1 | -2/+1 |
| | | | | SVN-Revision: 18152 | ||||
* | clean up dma api of ethernet driver | John Crispin | 2009-10-25 | 1 | -12/+10 |
| | | | | SVN-Revision: 18150 | ||||
* | fixes dma bug in eth driver, that was caused under high net load. the dma ↵ | John Crispin | 2009-10-25 | 1 | -2/+3 |
| | | | | | | ring was not initialized on time SVN-Revision: 18149 | ||||
* | ramips: nuke net_device stats from the private data of the ethernet driver | Gabor Juhos | 2009-10-25 | 1 | -15/+6 |
| | | | | SVN-Revision: 18147 | ||||
* | ramips: remove unnecessary type-castings in the ethernet driver | Gabor Juhos | 2009-10-25 | 1 | -13/+15 |
| | | | | SVN-Revision: 18146 | ||||
* | ramips: change debug message levels, and add missing LFs | Gabor Juhos | 2009-10-25 | 1 | -4/+5 |
| | | | | SVN-Revision: 18145 | ||||
* | ramips: make ethernet fuctions static | Gabor Juhos | 2009-10-25 | 1 | -3/+5 |
| | | | | SVN-Revision: 18144 | ||||
* | fixes dma hangups in eth | John Crispin | 2009-10-25 | 1 | -13/+14 |
| | | | | SVN-Revision: 18139 | ||||
* | make ethernet a platform device | John Crispin | 2009-10-24 | 1 | -27/+50 |
| | | | | SVN-Revision: 18135 | ||||
* | adds ethernet driver, esw needs to be moved to swconfig, driver is missing ↵ | John Crispin | 2009-10-23 | 1 | -0/+387 |
rt288x support, not a platform device yet SVN-Revision: 18128 |