Commit Graph

119 Commits (fa802af399db4f4827559fc07fc00b39083c8f17)

Author SHA1 Message Date
Gabor Juhos 2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
14 years ago
Gabor Juhos c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
14 years ago
Gabor Juhos 0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
14 years ago
Gabor Juhos d14e9e706e ramips: Fix bridging in ramips ethernet driver
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
14 years ago
Gabor Juhos 27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
14 years ago
John Crispin 971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
14 years ago
Gabor Juhos c24397b385 ramips: merge slab patch
SVN-Revision: 21607
14 years ago
Gabor Juhos 7ac21ada55 ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
14 years ago
Gabor Juhos 60cbdbb686 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
14 years ago
Gabor Juhos a423c3abee ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
14 years ago
Gabor Juhos a9f313edea ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
14 years ago
Gabor Juhos 9f3d673dbc ramips: add wifi device for the RT2880 as well
SVN-Revision: 20624
14 years ago
Gabor Juhos 1c25cfcde0 ramips: register wifi device on the rt305x based boards
SVN-Revision: 20616
14 years ago
John Crispin 6f4052abe0 The ralink rt305x board has a wireless card that can be used with the 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
14 years ago
John Crispin 3ad14f304e Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20596
14 years ago
Gabor Juhos 4267623e2e ramips_eth: cleanup mac_address changing
SVN-Revision: 19464
15 years ago
Gabor Juhos b16aaf5fac ramips_eth: update register offsets
SVN-Revision: 19463
15 years ago
Gabor Juhos 72b08b729a ramips_eth: pass sys_clk via platform_data
SVN-Revision: 19462
15 years ago
Gabor Juhos 9ab88ce62d ramips_eth: add helper functions to {ed,dis}able interrupts
SVN-Revision: 19446
15 years ago
Gabor Juhos 224edd2575 ramips_eth: remove unnecessary typecasts
SVN-Revision: 19445
15 years ago
Gabor Juhos 8aceaf96be ramips_eth: simplify tx_next computation
SVN-Revision: 19444
15 years ago
Gabor Juhos 21b06bd2c0 ramips_eth: simplify tx descriptor initialization
SVN-Revision: 19443
15 years ago
Gabor Juhos d0fb66e3a4 ramips_eth: pass 'raeth_priv' struct directly to dma specific functions
SVN-Revision: 19442
15 years ago
Gabor Juhos f0be6ab20c ramips_eth: convert to use netdev_ops
SVN-Revision: 19440
15 years ago
Gabor Juhos d37975f6b2 ramips_eth: fix invalid register writes
SVN-Revision: 19417
15 years ago
Gabor Juhos 43e1dd85c2 ramips_eth: move memset call out from the loop
SVN-Revision: 19416
15 years ago
Gabor Juhos ea4ce3b6fd ramips_eth: header file cleanup
SVN-Revision: 19415
15 years ago
Gabor Juhos 67cd819da6 ramips_eth: coding style cleanup
SVN-Revision: 19414
15 years ago
Gabor Juhos a4e85bbceb ramips: register gpio buttons on the Fonera 2.0N board
SVN-Revision: 19413
15 years ago
Gabor Juhos 8823482a02 ramips: register gpio buttons on the WHR-G300N board
SVN-Revision: 19412
15 years ago
Gabor Juhos 35f47a3654 ramips: register gpio buttons on the V22RW-2x2 board
SVN-Revision: 19411
15 years ago
Gabor Juhos 30a397fd5e ramips: register gpio buttons on the DIR-300 revB board
SVN-Revision: 19410
15 years ago
Gabor Juhos f9b053e87f ramips: fix wrong base addresses for the RT288x
SVN-Revision: 19409
15 years ago
Gabor Juhos 8448caa6ad ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
SVN-Revision: 19408
15 years ago
Gabor Juhos 94c9590e91 ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
SVN-Revision: 19407
15 years ago
Gabor Juhos 55185915de ramips: cleanup WZR-AGL300NH board support file
SVN-Revision: 19406
15 years ago
Gabor Juhos 0530dd9849 ramips: register gpio-buttons on the RT-N15 board
SVN-Revision: 19405
15 years ago
Gabor Juhos 9327f02b7b ramips: add common gpio-buttons device
SVN-Revision: 19404
15 years ago
Gabor Juhos 4af1f533bb ramips: register rtl8366s device on the RT-N15 board
SVN-Revision: 19403
15 years ago
Gabor Juhos e2dde81ead ramips: sanitize return value of ramips_gpio_get
SVN-Revision: 19401
15 years ago
Gabor Juhos af9f40e60d ramips: update mips multi-machine stuff
SVN-Revision: 19400
15 years ago
Jo-Philipp Wich 6351d88e29 add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen <joonas.lahtinen@gmail.com>
SVN-Revision: 19321
15 years ago
Gabor Juhos b624dec41b ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
SVN-Revision: 18229
15 years ago
John Crispin 9364f83dbc missing header file changes, and fix mtu value
SVN-Revision: 18220
15 years ago
John Crispin ff5deeef08 fixes rx path for eth, spinlock it, increases buffer size, board now survives ping -f
SVN-Revision: 18212
15 years ago
John Crispin 135111a05b hopefully fixes dma issues seen on ethernet driver when under high load
SVN-Revision: 18203
15 years ago
Gabor Juhos bc59e3da51 ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
SVN-Revision: 18176
15 years ago
Gabor Juhos 5dd653a6bd ramips: use definitions from rt305x_regs, and nuke the duplicated ones
SVN-Revision: 18175
15 years ago
Gabor Juhos c170980c4f ramips: move ramips_eth_platform_data into a separate file
SVN-Revision: 18174
15 years ago
Gabor Juhos b98fa096a6 ramips: request_irq prior to dma allocation, and handle the case if it fails
SVN-Revision: 18173
15 years ago