Commit graph

173 commits

Author SHA1 Message Date
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
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Alexandros C. Couloumbis
cd2069a57c fix commit r21994 (thanks juhosg)
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Gabor Juhos
2dfcdb9465 generic: merge mips multi machine update to generic patches for 2.6.34
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
383bd396fa generic: merge mips multi machine update to generic patches for 2.6.32
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
John Crispin
971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
Daniel Dickinson
ba2b75f710 ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
SVN-Revision: 21635
2010-05-30 03:21:00 +00:00
Gabor Juhos
c24397b385 ramips: merge slab patch
SVN-Revision: 21607
2010-05-28 19:45:28 +00:00
Gabor Juhos
7ac21ada55 ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
2010-05-28 19:45:24 +00:00
Gabor Juhos
178e4e9927 ramips: add missing 2.6.34 config files
SVN-Revision: 21605
2010-05-28 19:45:21 +00:00
Gabor Juhos
b86455a7ec ramips: refresh 2.6.34 patches
SVN-Revision: 21604
2010-05-28 19:45:16 +00:00
Gabor Juhos
fdf1561386 ramips: sync 2.6.32 config
SVN-Revision: 21603
2010-05-28 19:45:10 +00:00
John Crispin
0ab7d18462 update to 2.6.34, signed of by russiane39, thx
SVN-Revision: 21573
2010-05-26 15:53:05 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Nicolas Thill
37b02afe6a package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
SVN-Revision: 21137
2010-04-24 14:08:49 +00:00
Gabor Juhos
60cbdbb686 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
2010-04-22 09:25:37 +00:00
Nicolas Thill
3162bc1ecf target/ramips: fix another typo from [20834] (closes: #7182)
SVN-Revision: 21012
2010-04-19 01:14:29 +00:00
Nicolas Thill
e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Gabor Juhos
de18353622 ramips: nuke clocksource init patch
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos
b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos
7581054e93 ramips: add sysupgrade support
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos
09aec474af ramips: add diag support
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos
2872bade69 ramips: enable image commandline hack and cmdline partition parsing
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos
af05b16c98 ramips: add default profiles
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Gabor Juhos
0abc7e6d53 ramips: add wpad-mini to the default packages
SVN-Revision: 20632
2010-03-31 09:58:33 +00:00
Gabor Juhos
a423c3abee ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos
a9f313edea ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos
9f3d673dbc ramips: add wifi device for the RT2880 as well
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos
1c25cfcde0 ramips: register wifi device on the rt305x based boards
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
Gabor Juhos
ce2ac05602 ramips: sync kernel config
SVN-Revision: 20614
2010-03-30 21:24:05 +00:00
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
2010-03-30 12:04:05 +00:00
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
2010-03-30 10:06:05 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Felix Fietkau
2d305bdc23 the mips -ffreestanding patch has been unnecessary for a long time now, remove it
SVN-Revision: 20149
2010-03-11 18:48:50 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Travis Kemen
5c75e1dd02 update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8 re-sort all target and subtarget config files
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Gabor Juhos
1e4e3b21fb ramips: nuke 2.6.30 support
SVN-Revision: 19466
2010-01-31 17:56:41 +00:00
Gabor Juhos
bdc1565554 ramips: enable RTL8366SR driver for the RT288x devices
SVN-Revision: 19465
2010-01-31 17:56:38 +00:00
Gabor Juhos
4267623e2e ramips_eth: cleanup mac_address changing
SVN-Revision: 19464
2010-01-31 17:56:36 +00:00
Gabor Juhos
b16aaf5fac ramips_eth: update register offsets
SVN-Revision: 19463
2010-01-31 17:56:33 +00:00
Gabor Juhos
72b08b729a ramips_eth: pass sys_clk via platform_data
SVN-Revision: 19462
2010-01-31 17:56:30 +00:00
Gabor Juhos
9ab88ce62d ramips_eth: add helper functions to {ed,dis}able interrupts
SVN-Revision: 19446
2010-01-31 12:48:53 +00:00
Gabor Juhos
224edd2575 ramips_eth: remove unnecessary typecasts
SVN-Revision: 19445
2010-01-31 12:48:51 +00:00