Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ramips: raeth: don't process disabled interrupts | Gabor Juhos | 2012-02-25 | 1 | -5/+11 | |
| | | | | | | Also rename the 'fe_int' variable. SVN-Revision: 30713 | |||||
* | ramips: raeth: show interrupt statistics in debugfs | Gabor Juhos | 2012-02-22 | 3 | -0/+105 | |
| | | | | SVN-Revision: 30681 | |||||
* | ramips: raeth: add debugfs support | Gabor Juhos | 2012-02-22 | 5 | -1/+91 | |
| | | | | SVN-Revision: 30680 | |||||
* | ramips: raeth: rename main source file | Gabor Juhos | 2012-02-22 | 2 | -0/+2 | |
| | | | | SVN-Revision: 30679 | |||||
* | ramips: raeth: add missing Kconfig and Makefile | Gabor Juhos | 2012-02-21 | 2 | -0/+18 | |
| | | | | SVN-Revision: 30671 | |||||
* | ramips: move the ethernet driver into a separate directory | Gabor Juhos | 2012-02-21 | 3 | -0/+0 | |
| | | | | | | Also clean up the Kconfig symbols. SVN-Revision: 30670 | |||||
* | ramips: raeth: separate ring allocation and setup | Gabor Juhos | 2012-02-16 | 1 | -44/+90 | |
| | | | | SVN-Revision: 30573 | |||||
* | ramips: raeth: add a helper function for skb allocation | Gabor Juhos | 2012-02-15 | 1 | -6/+16 | |
| | | | | SVN-Revision: 30555 | |||||
* | ramips: raeth: use netdev_alloc_skb | Gabor Juhos | 2012-02-15 | 1 | -2/+3 | |
| | | | | SVN-Revision: 30554 | |||||
* | ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor ↵ | Gabor Juhos | 2012-02-15 | 1 | -2/+2 | |
| | | | | | | | | structures This helps GCC to generare more efficient code. SVN-Revision: 30553 | |||||
* | ramips: raeth: use 're' instead of 'priv' everywhere | Gabor Juhos | 2012-02-15 | 1 | -73/+73 | |
| | | | | SVN-Revision: 30552 | |||||
* | ramips: raeth: force link down in ramips_phy_stop | Gabor Juhos | 2012-02-15 | 1 | -7/+6 | |
| | | | | SVN-Revision: 30550 | |||||
* | ramips: raeth: serialize ramips_link_adjust calls | Gabor Juhos | 2012-02-15 | 1 | -0/+8 | |
| | | | | SVN-Revision: 30549 | |||||
* | ramips: raeth: add PHYLIB support | Gabor Juhos | 2012-02-15 | 2 | -8/+220 | |
| | | | | SVN-Revision: 30547 | |||||
* | ramips: raeth: enable MDIO code for RT3883 | Gabor Juhos | 2012-02-13 | 1 | -2/+2 | |
| | | | | SVN-Revision: 30497 | |||||
* | ramips: add MDIO bus support for RT288X | Gabor Juhos | 2012-02-11 | 2 | -2/+154 | |
| | | | | SVN-Revision: 30455 | |||||
* | ramips: raeth: make debugging messages configurable | Gabor Juhos | 2012-02-11 | 1 | -3/+9 | |
| | | | | SVN-Revision: 30450 | |||||
* | ramips: raeth: use device pointer in DMA API calls | Gabor Juhos | 2012-02-11 | 1 | -11/+12 | |
| | | | | SVN-Revision: 30449 | |||||
* | ramips: raeth: add netdev pointer to private structure | Gabor Juhos | 2012-02-11 | 2 | -0/+2 | |
| | | | | SVN-Revision: 30448 | |||||
* | ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit | Gabor Juhos | 2012-02-11 | 1 | -5/+4 | |
| | | | | SVN-Revision: 30447 | |||||
* | ramips: raeth: unmap rx DMA address in ramips_cleanup_dma | Gabor Juhos | 2012-02-11 | 1 | -1/+4 | |
| | | | | SVN-Revision: 30446 | |||||
* | ramips: raeth: add rx_dma array to store the DMA address of the rx packets | Gabor Juhos | 2012-02-11 | 2 | -10/+17 | |
| | | | | SVN-Revision: 30445 | |||||
* | ramips: raeth: use dma_addr_t for the descriptors | Gabor Juhos | 2012-02-11 | 2 | -9/+10 | |
| | | | | SVN-Revision: 30444 | |||||
* | ramips: raeth: unmap DMA memory when a packet is received | Gabor Juhos | 2012-02-11 | 1 | -0/+4 | |
| | | | | SVN-Revision: 30443 | |||||
* | ramips: raeth: add a temporary pktlen variable | Gabor Juhos | 2012-02-11 | 1 | -3/+6 | |
| | | | | SVN-Revision: 30442 | |||||
* | ramips: raeth: protect macro parameters | Gabor Juhos | 2012-02-11 | 1 | -4/+4 | |
| | | | | SVN-Revision: 30441 | |||||
* | ramips: raeth: indicate dropped packets in stats | Gabor Juhos | 2012-02-11 | 1 | -0/+2 | |
| | | | | SVN-Revision: 30440 | |||||
* | ramips: raeth: use the NUM_TX_DESC for the tx_skb array | Gabor Juhos | 2012-02-11 | 1 | -1/+1 | |
| | | | | SVN-Revision: 30439 | |||||
* | ramips: Rework ramips_eth to not require irqsave locking anymore | John Crispin | 2012-01-17 | 1 | -6/+9 | |
| | | | | | | | | | | | | | | | | | Previously the tx housekeeping was done in a spin_lock_irqsave critical section which causes irqs to be disabled during that time. Since the housekeeping is already prepared to be scheduled as a tasklet process the housekeeping only in softirq context and revise the locking between the tx path and the housekeeping tasklet by using a normal spin_lock which in most situations will be a NOP anyway. This makes sure that interrupts are only disabled for a short time since in the worst case the housekeeping might have to free up to 256 skbs. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 29762 | |||||
* | ramips: initial support for Sitecom WL-351 v1 002 | Gabor Juhos | 2011-12-23 | 1 | -2/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add support for the Sitecom WL-351 v1 002. In principle the Engenius ESR9850 should also work with this, but I don't have the hardware to test it. Since an external gigabit switch (RTL8366RB) is used, I had to modify the ramips_esw driver to add a 'bypass' mode, which just configures it to not filter the vlan tags. Also two initialization words (FCT2 and FPA2) are set to different values by u-boot than what the driver is using and it only seems to work correctly when they not overridden by the driver, so I added them to the platform specific data as reg_initval_fct2 and reg_initval_fpa2. With this wired lan works as expected, however I'm still having some trouble with the wireless lan: It only works after I rmmod & re-insmod rt2800pci and then reconfigure it in the webinterface, but not directly after rebooting. The symptom of this is wpad saying: Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1) Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN) Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated But wpa_supplicant on the client saying: Authentication with <wl351mac> timed out. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 29604 | |||||
* | ramips: add support for the Senao/EnGenius ESR-9753 board | Gabor Juhos | 2011-12-23 | 1 | -0/+12 | |
| | | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> SVN-Revision: 29603 | |||||
* | ramips: allow to specify port layout for the switch of the RT305x/RT3350 | Gabor Juhos | 2011-08-15 | 1 | -13/+44 | |
| | | | | | | Based on a patch by Roman Yeryomin <roman@advem.lv> SVN-Revision: 27990 | |||||
* | ramips: fix a section mismatch warning | Gabor Juhos | 2011-07-03 | 1 | -1/+1 | |
| | | | | SVN-Revision: 27382 | |||||
* | ramips: ramips_esw: fix typos | Gabor Juhos | 2011-01-04 | 1 | -2/+2 | |
| | | | | | | Patch from #8577. SVN-Revision: 24898 | |||||
* | 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 | 2 | -11/+91 | |
| | | | | 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 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 |