Gabor Juhos
665f2f5c28
ramips: switch to 2.6.39.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:07 +00:00
Gabor Juhos
87fd3971df
ramips: add 2.6.39 support
...
Based on the patches from #9625
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:06 +00:00
Gabor Juhos
3b2610cbf5
ramips: add hotplug script to extract eeprom for the rt2x00 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:01 +00:00
Gabor Juhos
e81daf7520
ramips: specify eeprom file name on RT305X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:00 +00:00
Gabor Juhos
ebbad38d27
ramips: specify eeprom file name on RT288X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:59 +00:00
Gabor Juhos
3f5722f308
ramips: add all supported boards to lib/ramips.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:56 +00:00
Gabor Juhos
73ade95610
ramips: check the size of the uImage in image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:55 +00:00
Gabor Juhos
40c6970c30
ramips: use lowercase partiion names on the WCR150GN board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:53 +00:00
Gabor Juhos
00b5a5f8ad
ramips: use different partition names in the DIR-300-B1 image
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:52 +00:00
Gabor Juhos
a99c1d5c69
ramips: force word write on flashes with AMD cmdset ( #9252 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:51 +00:00
Gabor Juhos
420a1bc0f7
ramips: update partition map for DIR-300-B1
...
Patch by Layne Edwards from #9252 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:49 +00:00
Gabor Juhos
8ac8cc88eb
ramips: consistently use 'firmware' name for sysupgrade partitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:48 +00:00
Gabor Juhos
356abe23cf
ramips: fix a section mismatch warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:46 +00:00
Gabor Juhos
e324614143
ramips: remove unused include from the common GPIO code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:44 +00:00
Gabor Juhos
25af94c585
ramips: disable watchdog on sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:43 +00:00
Gabor Juhos
9c99259af6
ramips: swap target check in image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:42 +00:00
Gabor Juhos
0e8f2c6cc6
ramips: update HW550-3G mtd partitions
...
This patch updates the mtd partitions for the Aztech HW550-3G
Signed-off-by: Layne Edwards <ledwards@astrumtech.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:41 +00:00
Gabor Juhos
46cc717148
ramips: set cp0_perfcount_irq for RT305X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:40 +00:00
Gabor Juhos
ed7f15e6cf
ramips: initial board support for MOFI3500-3GN
...
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This
router is basically the NA version of the HW550-3G.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:43:07 +00:00
Hauke Mehrtens
5fb18eaef8
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:59:07 +00:00
Gabor Juhos
60b6ebe256
ramips: remove 2.6.36 stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:06 +00:00
Gabor Juhos
4e767d6429
ramips: switch to 2.6.37
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:04 +00:00
Gabor Juhos
729eb335e4
ramips: UPF_FIXED_TYPE must be set for the serial ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:03 +00:00
Gabor Juhos
8eb654c4ef
ramips: define GPIO chips separately for each SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:59 +00:00
Gabor Juhos
2e1b24966f
ramips: move GPIO definitions into a separate header file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:57 +00:00
Gabor Juhos
878f3adcc0
ramips: setup GPIO chip functions on the fly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:51 +00:00
Gabor Juhos
c31af34adb
ramips: use separate register base for GPIO chips
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:48 +00:00
Gabor Juhos
2775635f6a
ramips: fix dir-300 mtd layout
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:45 +00:00
Gabor Juhos
337e5d8f01
ramips: enable MDIO on the HW550-3G board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:41 +00:00
Gabor Juhos
3dbd1d3156
ramips: add sysupgrade and status LED support for HW550-3G
...
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:40 +00:00
Felix Fietkau
c251184c28
global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:12 +00:00
Gabor Juhos
f564424e07
ramips: initial board support for Aztech HW550-3G
...
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram). Ethernet is not working yet.
Wireless appears to work fine. USB does not work yet (as with other
Ralink boards).
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 16:34:52 +00:00
Florian Fainelli
61e86ac4c3
[kernel] update to kernel 2.6.36.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:07 +00:00
Gabor Juhos
9ad6aac6db
ramips: register watchdog device on the rt288x boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:52 +00:00
Gabor Juhos
7c1dfa1706
ramips: add watchdog device for RT288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:50 +00:00
Gabor Juhos
777c494bef
ramips: register watchdog device on the rt305x boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:47 +00:00
Gabor Juhos
51c418f726
ramips: add watchdog device for RT305x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:46 +00:00
Gabor Juhos
f141ac688e
ramips: add watchdog driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:41 +00:00
Gabor Juhos
044ba6d28f
ramips: implement clock API for RT288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:39 +00:00
Gabor Juhos
0bd787a602
ramips: implement clock API for RT305X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:35 +00:00
Gabor Juhos
baa05587d0
ramips: remove extern and __init from function prototypes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:33 +00:00
Gabor Juhos
f8f6fc147b
ramips: ramips_esw: fix typos
...
Patch from #8577 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-04 13:44:05 +00:00
Gabor Juhos
5b6db1bc9c
ramips: remove 2.6.3[24] support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:31 +00:00
Gabor Juhos
f03060acbe
ramips: switch to 2.6.36
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:29 +00:00
Gabor Juhos
91714565c1
ramips: handle OTG interrupt on the RT305x SoC
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:25 +00:00
Felix Fietkau
56a733289c
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:21 +00:00
Gabor Juhos
ecee65d7f6
ramips: ramips_esw: add more definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:33 +00:00
Gabor Juhos
c1bae026dc
ramips: ramips_esw: add helper function to set pvid
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:28 +00:00
Gabor Juhos
dc512ca5aa
ramips: ramips_esw: add helper function to set vlan members
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:25 +00:00
Gabor Juhos
858c6453a0
ramips: ramips_esw: add helper function to set VLAN id
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:22 +00:00
Gabor Juhos
34c6ad037a
ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:16 +00:00
Gabor Juhos
344bbc134e
ramips: ramips_esw: use rt305x_esw prefix in function names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:14 +00:00
Gabor Juhos
476af593dd
ramips: ramips_esw: coding style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:12 +00:00
Gabor Juhos
420f65d3d6
ramips: ramips_esw: add defines for switch register offsets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:07 +00:00
Gabor Juhos
5647401655
ramips: ramips_esw: don't touch GPIO_PURPOSE register
...
It must have been set by the board initialization code.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:04 +00:00
Gabor Juhos
418e052c05
ramips: ramips_esw: convert it to be a platform driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:00 +00:00
Gabor Juhos
a0e968135a
ramips: ramips_esw: move hardware initialization into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:58 +00:00
Gabor Juhos
cf67d0b29a
ramips: ramips_esw: use a private structure for the functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:54 +00:00
Gabor Juhos
2d6e16b896
ramips: add support for 2.6.36
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:38 +00:00
Gabor Juhos
a0fc7e26a0
ramips: default profile fix
...
Fix package names in default profiles.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:35 +00:00
Gabor Juhos
582dad46c0
ramips: use tabs instead of spaces in mach-f5d8235-v2.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:30 +00:00
Gabor Juhos
231f17d61e
ramips: add support for Belkin F5D8235 v2 board
...
No support for usb for now.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:23 +00:00
Gabor Juhos
404b68fcd2
ramips: Use NET_IP_ALIGN instead of hardcoding 2
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:18 +00:00
Gabor Juhos
00bd3f47c4
ramips: DMA map the correct RX skb size
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:16 +00:00
Gabor Juhos
77a769e423
ramips: Don't trigger BUG_ON due to skb allocation failure
...
Instead just drop the rx'ed frame silently and reuse the already
available buffer.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:12 +00:00
Gabor Juhos
be87c0dac9
ramips: Remove unnecessary skb_put
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:08 +00:00
Gabor Juhos
e3647801e9
ramips: Allow ethernet interface to be taken down and up again
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:10:34 +00:00
Imre Kaloz
4bf29e323c
[kernel]: upgrade kernel versions to the latest stable ones
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
Gabor Juhos
966de4fbd4
ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:43:34 +00:00
Gabor Juhos
857cf6d227
ramips: allow USB
...
The current defaults for ramips rt305x does not allow the USB
subsystem to be selected/built.
This patch is just a small step in that direction.
Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:42:07 +00:00
Hauke Mehrtens
3de7c99eb3
kernel: update kernel version to 2.6.34.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 13:26:06 +00:00
Gabor Juhos
d572e1483f
ramips: add support for Sparklan WCR-150GN board
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 09:43:07 +00:00
Florian Fainelli
8eb26298e5
[ramips] fix jffs2 64k and 128k images overwrite each other
...
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:42:17 +00:00
Gabor Juhos
956de1c120
ramips: enable ethernet driver for rt288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:49 +00:00
Gabor Juhos
62d8c17df5
ramips: register ethernet device on the RT-N15
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:46 +00:00
Gabor Juhos
5c7c1c3dba
ramips: add generic ethernet device for the RT288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:43 +00:00
Gabor Juhos
69e79c381f
ramips: add mdio_cfg configuration for the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:40 +00:00
Gabor Juhos
5cce2b0a05
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
Gabor Juhos
33eba7e060
ramips: protect GPIO register access with a spinlock
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
Gabor Juhos
4636b12f8a
ramips: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:02 +00:00
Hauke Mehrtens
924f0f93f9
kernel: update to kernel 2.6.34.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
Alexandros C. Couloumbis
7c4b4feec9
fix commit r21994 (thanks juhosg)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
9d0627a92d
fix commit r21993
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
Gabor Juhos
d501f36856
generic: merge mips multi machine update to generic patches for 2.6.34
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
Gabor Juhos
c60cbd2e61
generic: merge mips multi machine update to generic patches for 2.6.32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
John Crispin
c463512391
Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
...
Signed-off-by: Helmut Schaa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 11:57:32 +00:00
Daniel Dickinson
fe3f850ad0
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:21:00 +00:00
Gabor Juhos
464c781c2b
ramips: merge slab patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:28 +00:00
Gabor Juhos
5430b616f4
ramips: use COMMAND_LINE_SIZE directly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:24 +00:00
Gabor Juhos
03224479d8
ramips: add missing 2.6.34 config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:21 +00:00
Gabor Juhos
60a510ae0a
ramips: refresh 2.6.34 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:16 +00:00
Gabor Juhos
dd563c22da
ramips: sync 2.6.32 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:10 +00:00
John Crispin
02c3a2aa53
[ramips] update to 2.6.34, signed of by russiane39, thx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 15:53:05 +00:00
Hauke Mehrtens
0710ef015d
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Alexandros C. Couloumbis
9c40666ff7
sync to kernel 2.6.32.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 14:30:08 +00:00
Nicolas Thill
f9541ac0d4
package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 14:08:49 +00:00
Gabor Juhos
0baf6687af
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 09:25:37 +00:00
Nicolas Thill
67e3d74d54
target/ramips: fix another typo from [20834] ( closes : #7182 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 01:14:29 +00:00
Nicolas Thill
9d42bb1a21
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Gabor Juhos
c2044506bd
ramips: nuke clocksource init patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:30 +00:00
Gabor Juhos
5bf4a5903b
ramips: generate sysupgrade images for the rt305x devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:28 +00:00
Gabor Juhos
bd9c7b83ae
ramips: add sysupgrade support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:25 +00:00
Gabor Juhos
43878f9c0f
ramips: add diag support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:23 +00:00
Gabor Juhos
b3b2e91626
ramips: enable image commandline hack and cmdline partition parsing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:20 +00:00
Gabor Juhos
bcfb5e7a8f
ramips: add default profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:17 +00:00
Gabor Juhos
9518d27e8e
ramips: add wpad-mini to the default packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:33 +00:00
Gabor Juhos
0b03ed8938
ramips: annotate device register function prototypes with __init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:28 +00:00
Gabor Juhos
21a793245c
ramips: register wifi device for the RT2880 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:23 +00:00
Gabor Juhos
d06a46616e
ramips: add wifi device for the RT2880 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:20 +00:00
Gabor Juhos
7e95b7a597
ramips: register wifi device on the rt305x based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:10 +00:00
Gabor Juhos
3edf8b4ac9
ramips: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:05 +00:00
John Crispin
b58b53b236
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>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 12:04:05 +00:00
John Crispin
cfafa18012
[ramips] 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>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 10:06:05 +00:00
Gabor Juhos
8e67ddaccc
kernel: update to 2.6.32.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
Felix Fietkau
2e64f11f68
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
Nicolas Thill
f71d2a3f8e
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
10bdcf0917
kernel: update to kernel 2.6.32.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 10:16:47 +00:00
Travis Kemen
37065ca92f
update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:12:11 +00:00
Imre Kaloz
66ee5acfff
clean up handling of some kernel symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 09:33:16 +00:00
Imre Kaloz
ac5bde665c
re-sort all target and subtarget config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:55:15 +00:00
Gabor Juhos
745f407bba
ramips: nuke 2.6.30 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:41 +00:00
Gabor Juhos
c025a1f0c4
ramips: enable RTL8366SR driver for the RT288x devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:38 +00:00
Gabor Juhos
7b441cdc46
ramips_eth: cleanup mac_address changing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:36 +00:00
Gabor Juhos
f549d2c926
ramips_eth: update register offsets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:33 +00:00
Gabor Juhos
a6165a962c
ramips_eth: pass sys_clk via platform_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:30 +00:00
Gabor Juhos
a0de90ddb3
ramips_eth: add helper functions to {ed,dis}able interrupts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:53 +00:00
Gabor Juhos
162e987f39
ramips_eth: remove unnecessary typecasts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:51 +00:00
Gabor Juhos
b84db9ddc3
ramips_eth: simplify tx_next computation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:48 +00:00
Gabor Juhos
150f80a0ed
ramips_eth: simplify tx descriptor initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:46 +00:00
Gabor Juhos
6a51bbb104
ramips_eth: pass 'raeth_priv' struct directly to dma specific functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:43 +00:00
Gabor Juhos
8d860962e2
ramips: switch to 2.6.32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:41 +00:00
Gabor Juhos
58e0c44256
ramips_eth: convert to use netdev_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:48:38 +00:00
Gabor Juhos
bf61c26b5f
ramips_eth: fix invalid register writes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:26:02 +00:00
Gabor Juhos
8f1e2c9fdc
ramips_eth: move memset call out from the loop
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:59 +00:00
Gabor Juhos
aed7757589
ramips_eth: header file cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:57 +00:00
Gabor Juhos
2f687349c6
ramips_eth: coding style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:55 +00:00
Gabor Juhos
64604acf17
ramips: register gpio buttons on the Fonera 2.0N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:52 +00:00
Gabor Juhos
5bf32a94ca
ramips: register gpio buttons on the WHR-G300N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:49 +00:00
Gabor Juhos
c5436e9b6d
ramips: register gpio buttons on the V22RW-2x2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:47 +00:00
Gabor Juhos
d6e8454581
ramips: register gpio buttons on the DIR-300 revB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:44 +00:00
Gabor Juhos
af219a1496
ramips: fix wrong base addresses for the RT288x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:41 +00:00
Gabor Juhos
76a944fdca
ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:36 +00:00
Gabor Juhos
0114fbb17b
ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:33 +00:00
Gabor Juhos
3ee7842268
ramips: cleanup WZR-AGL300NH board support file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:29 +00:00
Gabor Juhos
6081d8167f
ramips: register gpio-buttons on the RT-N15 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:25 +00:00
Gabor Juhos
70c02eb229
ramips: add common gpio-buttons device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:20 +00:00
Gabor Juhos
055f8363db
ramips: register rtl8366s device on the RT-N15 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:16 +00:00
Gabor Juhos
7a147bbabd
ramips: sanitize return value of ramips_gpio_get
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:08 +00:00
Gabor Juhos
9f3818d5e0
ramips: update mips multi-machine stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:03 +00:00
Gabor Juhos
51081411ba
ramips: add preliminary support for 2.6.32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 09:57:38 +00:00
Gabor Juhos
1978ba87e0
ramips: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 09:57:34 +00:00
Gabor Juhos
695ed4b321
ramips: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 09:57:32 +00:00
Jo-Philipp Wich
ab82f72a29
[ramips] add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen <joonas.lahtinen@gmail.com>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-24 23:31:49 +00:00
Florian Fainelli
2de49087ef
[kernel] update to 2.6.30, refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 14:52:45 +00:00
Imre Kaloz
156fc688cb
some more Kconfig symbol move..
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 11:52:41 +00:00
Imre Kaloz
9d5ce6e269
another round of kernel config cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 11:42:24 +00:00
Imre Kaloz
ff8305e702
sort all target config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 09:27:13 +00:00
Gabor Juhos
2cf10bd0e6
ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 15:15:41 +00:00
John Crispin
78fb561524
[ramips] missing header file changes, and fix mtu value
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 09:18:40 +00:00
John Crispin
99e448a10a
[ramips] fixes rx path for eth, spinlock it, increases buffer size, board now survives ping -f
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-29 21:08:11 +00:00
John Crispin
100904760d
[ramips] hopefully fixes dma issues seen on ethernet driver when under high load
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-29 12:51:45 +00:00
Gabor Juhos
763125a873
ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:51 +00:00
Gabor Juhos
1ec1193c4f
ramips: use definitions from rt305x_regs, and nuke the duplicated ones
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:48 +00:00
Gabor Juhos
888efa12d8
ramips: move ramips_eth_platform_data into a separate file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:45 +00:00
Gabor Juhos
84327abca9
ramips: request_irq prior to dma allocation, and handle the case if it fails
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:42 +00:00
Gabor Juhos
5015ba2730
ramips: add error handling to ramips_alloc_dma
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:39 +00:00
Gabor Juhos
b227b3e3df
ramips: free allocated skbs in ramips_cleanup_dma
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:37 +00:00
Gabor Juhos
73e450cced
ramips: add ramips_setup_dma helper to the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:34 +00:00
Gabor Juhos
87b8fa8353
ramips: add ramips_cleanup_dma helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:29 +00:00
Gabor Juhos
44cff07470
ramips: remove unnecessary includes in the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:26 +00:00
Gabor Juhos
e450aca1ee
ramips: fix dma api usage in the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:22 +00:00
Gabor Juhos
9f663a5fc9
ramips: use resource to pass irq and base address to the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:18 +00:00
Gabor Juhos
335e77a81c
ramips: add error-path handling to the ramips_eth_plat_probe
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:13 +00:00
John Crispin
c2271fa097
[ramips] use gpio_led package rather than staticly linking it into the kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 18:08:16 +00:00
John Crispin
c9ec1904ac
[ramips] fixes licenses
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 17:41:01 +00:00
John Crispin
1673d970d0
[ramips] select CONFIG_LEDS_GPIO per default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 17:06:01 +00:00
John Crispin
87faf4bfcc
[ramips] clean up dma api of ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 16:58:00 +00:00
John Crispin
caede0a0ac
[ramips] fixes dma bug in eth driver, that was caused under high net load. the dma ring was not initialized on time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 14:34:55 +00:00
Gabor Juhos
a48af4fc64
ramips: nuke net_device stats from the private data of the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:30 +00:00
Gabor Juhos
7e4f38482d
ramips: remove unnecessary type-castings in the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:27 +00:00
Gabor Juhos
cb237e1264
ramips: change debug message levels, and add missing LFs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:24 +00:00
Gabor Juhos
4757ce1519
ramips: make ethernet fuctions static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:21 +00:00
Gabor Juhos
a4409e091d
ramips: register ethernet device on the DIR-300 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:17 +00:00
Gabor Juhos
fda1a60882
ramips: change prom code to accept 'board=FOOBAR' from the command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:16 +00:00
Gabor Juhos
08ab8b3070
ramips: modify {read,write}_config helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:14 +00:00
Gabor Juhos
ce7f6a8083
ramips: nuke config_access helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:11 +00:00
John Crispin
9914ec2666
[ramips] fixes dma hangups in eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 00:11:08 +00:00
John Crispin
142779c0e0
[ramips] select fon20n mach
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 23:08:06 +00:00
John Crispin
d87fd1b74f
[ramips] make ethernet a platform device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:58:41 +00:00
John Crispin
e52ca012a7
[ramips] missing define to make mach for fonera20n work
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:57:59 +00:00
John Crispin
5178e58cb9
[ramips] make default llll/w vlan setup in esw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:56:31 +00:00
John Crispin
749f1515a4
[ramips] adds mach type for fonera20n
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:55:36 +00:00
John Crispin
d2508d2ffe
fixes commit 18128, wrong patch :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-23 16:52:48 +00:00
John Crispin
d363b3d5d7
[ramips] adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-23 16:51:51 +00:00
Florian Fainelli
bf42d79d35
[kernel] update to 2.6.30.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-23 12:10:25 +00:00
Gabor Juhos
2e6af22dfc
ramips: add preliminary support for the DIR-300 revB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-18 08:48:07 +00:00
Gabor Juhos
c5710fd3c4
ramips: sync rt288x kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:15 +00:00
Gabor Juhos
b420bdb6dd
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:12 +00:00
Gabor Juhos
2624c1d8e7
ramips: remove obsolete 'pcibios_fixups' from the rt288x pci code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:10 +00:00
Gabor Juhos
c3e8c35580
ramips: add rt2880_pci_get_cfgaddr helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:07 +00:00