Commit Graph

232 Commits (74a88749f347edf19695a8a05365613db54157e8)

Author SHA1 Message Date
Gabor Juhos d5a7e2f5c1 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>

SVN-Revision: 26466
2011-04-04 08:43:07 +00:00
Hauke Mehrtens 50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Gabor Juhos 87f5872f35 ramips: remove 2.6.36 stuff
SVN-Revision: 26329
2011-03-27 19:20:06 +00:00
Gabor Juhos 90d37adb8d ramips: switch to 2.6.37
SVN-Revision: 26328
2011-03-27 19:20:04 +00:00
Gabor Juhos 1844ea6c7b ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327
2011-03-27 19:20:03 +00:00
Gabor Juhos 9ef4785364 ramips: define GPIO chips separately for each SoCs
SVN-Revision: 26326
2011-03-27 19:19:59 +00:00
Gabor Juhos 37d6d88869 ramips: move GPIO definitions into a separate header file
SVN-Revision: 26325
2011-03-27 19:19:57 +00:00
Gabor Juhos 251a367fb4 ramips: setup GPIO chip functions on the fly
SVN-Revision: 26324
2011-03-27 19:19:51 +00:00
Gabor Juhos b03f2dfcee ramips: use separate register base for GPIO chips
SVN-Revision: 26323
2011-03-27 19:19:48 +00:00
Gabor Juhos 8770359f17 ramips: fix dir-300 mtd layout
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 26322
2011-03-27 19:19:45 +00:00
Gabor Juhos f599459abb ramips: enable MDIO on the HW550-3G board
SVN-Revision: 26321
2011-03-27 19:19:41 +00:00
Gabor Juhos d701a72760 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>

SVN-Revision: 26320
2011-03-27 19:19:40 +00:00
Felix Fietkau 335877a2b3 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
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Gabor Juhos 23518bb2e4 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>

SVN-Revision: 26123
2011-03-13 16:34:52 +00:00
Florian Fainelli 45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Gabor Juhos 1c92e047c8 ramips: register watchdog device on the rt288x boards
SVN-Revision: 25130
2011-01-26 20:48:52 +00:00
Gabor Juhos 2b50cecea6 ramips: add watchdog device for RT288x
SVN-Revision: 25129
2011-01-26 20:48:50 +00:00
Gabor Juhos 764aa3fe9c ramips: register watchdog device on the rt305x boards
SVN-Revision: 25128
2011-01-26 20:48:47 +00:00
Gabor Juhos 42e36cf732 ramips: add watchdog device for RT305x
SVN-Revision: 25127
2011-01-26 20:48:46 +00:00
Gabor Juhos 16366feafb ramips: add watchdog driver
SVN-Revision: 25126
2011-01-26 20:48:41 +00:00
Gabor Juhos f38367fcb4 ramips: implement clock API for RT288x
SVN-Revision: 25125
2011-01-26 20:48:39 +00:00
Gabor Juhos b0ffa70248 ramips: implement clock API for RT305X
SVN-Revision: 25124
2011-01-26 20:48:35 +00:00
Gabor Juhos f9e74383a9 ramips: remove extern and __init from function prototypes
SVN-Revision: 25123
2011-01-26 20:48:33 +00:00
Gabor Juhos b99a637795 ramips: ramips_esw: fix typos
Patch from #8577.

SVN-Revision: 24898
2011-01-04 13:44:05 +00:00
Gabor Juhos d2fdd1dbe1 ramips: remove 2.6.3[24] support
SVN-Revision: 24562
2010-12-14 08:00:31 +00:00
Gabor Juhos 1403850be1 ramips: switch to 2.6.36
SVN-Revision: 24561
2010-12-14 08:00:29 +00:00
Gabor Juhos f9898e30fb ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
2010-12-14 08:00:25 +00:00
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Gabor Juhos 502d21dc2a ramips: ramips_esw: add more definitions
SVN-Revision: 24340
2010-12-08 10:15:33 +00:00
Gabor Juhos bf58ef7c6d ramips: ramips_esw: add helper function to set pvid
SVN-Revision: 24339
2010-12-08 10:15:28 +00:00
Gabor Juhos 692d379b50 ramips: ramips_esw: add helper function to set vlan members
SVN-Revision: 24338
2010-12-08 10:15:25 +00:00
Gabor Juhos f7c3f91074 ramips: ramips_esw: add helper function to set VLAN id
SVN-Revision: 24337
2010-12-08 10:15:22 +00:00
Gabor Juhos 0d2ad7a816 ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
SVN-Revision: 24336
2010-12-08 10:15:16 +00:00
Gabor Juhos 7b878dde4b ramips: ramips_esw: use rt305x_esw prefix in function names
SVN-Revision: 24335
2010-12-08 10:15:14 +00:00
Gabor Juhos 0fcedc7bda ramips: ramips_esw: coding style cleanup
SVN-Revision: 24334
2010-12-08 10:15:12 +00:00
Gabor Juhos 48e6a31812 ramips: ramips_esw: add defines for switch register offsets
SVN-Revision: 24333
2010-12-08 10:15:07 +00:00
Gabor Juhos 74c13f06df ramips: ramips_esw: don't touch GPIO_PURPOSE register
It must have been set by the board initialization code.

SVN-Revision: 24332
2010-12-08 10:15:04 +00:00
Gabor Juhos 3b9a6adc7d ramips: ramips_esw: convert it to be a platform driver
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos 889729df01 ramips: ramips_esw: move hardware initialization into a separate function
SVN-Revision: 24330
2010-12-08 10:14:58 +00:00
Gabor Juhos 8957f39064 ramips: ramips_esw: use a private structure for the functions
SVN-Revision: 24329
2010-12-08 10:14:54 +00:00
Gabor Juhos 0449d92dd7 ramips: add support for 2.6.36
SVN-Revision: 24270
2010-12-05 20:14:38 +00:00
Gabor Juhos 01a5cb48c8 ramips: default profile fix
Fix package names in default profiles.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24269
2010-12-05 20:14:35 +00:00
Gabor Juhos 47dd3b9fea ramips: use tabs instead of spaces in mach-f5d8235-v2.c
SVN-Revision: 24268
2010-12-05 20:14:30 +00:00
Gabor Juhos 21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24126
2010-11-24 10:01:23 +00:00
Gabor Juhos 64b16b9f34 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24124
2010-11-24 10:01:18 +00:00
Gabor Juhos 624cfc5c91 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>

SVN-Revision: 24123
2010-11-24 10:01:16 +00:00
Gabor Juhos f833e399f2 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>

SVN-Revision: 24122
2010-11-24 10:01:12 +00:00
Gabor Juhos c6e4124855 ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24121
2010-11-24 10:01:08 +00:00
Gabor Juhos 69355ee10e 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>

SVN-Revision: 23243
2010-10-05 14:10:34 +00:00
Imre Kaloz 5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00