1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 16:34:04 +02:00
Commit Graph

272 Commits

Author SHA1 Message Date
juhosg
f8afb5e291 ramips: rt305x: sort Kconfig/Makefile entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:19 +00:00
nbd
de95026813 rtl8366: unify rtl8366s and rtl8366rb platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
juhosg
f2053cb231 ramips: merge 2.6.39 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:10 +00:00
juhosg
88b8c44b87 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
juhosg
556577659d 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
juhosg
cf68680797 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
juhosg
db3a7e64a2 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
juhosg
f65d6ac4d9 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
juhosg
45b5e79de8 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
juhosg
17d001231c 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
juhosg
b1476a05c2 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
juhosg
d786690857 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
juhosg
bb8dd176cc 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
juhosg
3caf3c48cf 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
juhosg
6513a4df99 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
juhosg
5045f0c4da 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
juhosg
8e5950efc5 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
juhosg
bcee5bee58 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
juhosg
95e40f5581 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
juhosg
2e12b6720f 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
juhosg
4d41fe6013 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
juhosg
8cde29c6b1 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
juhosg
68f33c556b 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
juhosg
78f0155856 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
juhosg
f019ef96de 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
juhosg
a86c456862 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
juhosg
8e047f5e1f 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
juhosg
e388e46ebb 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
juhosg
86f7e2834f 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
juhosg
b2dc6c86ee 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
juhosg
f370a85b20 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
juhosg
779b986847 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
juhosg
602f2d5e4f 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
juhosg
ec52e89b08 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
juhosg
4059133e7d 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
juhosg
9e9816322c 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
juhosg
293e4ff8cc 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
juhosg
8b6afc3a6a 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
juhosg
808e953c0a 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
juhosg
39deae4b99 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
juhosg
1600b801ec 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
juhosg
bc4cb1b39f 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
juhosg
a3373ca948 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
juhosg
1fcc0bf36c 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
juhosg
8b65736401 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
juhosg
ed0adccdff 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
juhosg
d59a23df99 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
juhosg
37b545f00f 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
juhosg
c523394925 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
juhosg
e0af17401f 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
juhosg
808a6ab903 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
juhosg
1a883422c6 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
juhosg
ef0f04cf25 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
juhosg
7b74a280aa 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
juhosg
4c2865eceb 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
juhosg
12e2f4aadf 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
juhosg
fa4dd3d5de 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
juhosg
675367fe81 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
blogic
18cc5a3810 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
juhosg
47cea815ee 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
juhosg
3ab0d99857 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
juhosg
3e39b51297 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
juhosg
67ab18e38a 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
juhosg
b7a96a32ea 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
juhosg
c03509e141 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
juhosg
c44ee422c3 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
blogic
0f85365209 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
blogic
37bcda62c0 [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
juhosg
c60a96964d 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
juhosg
1ca6778f34 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
juhosg
1630830019 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
juhosg
0e069faefd 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
juhosg
48f3d520ec 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
juhosg
2e8d8d35d9 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
juhosg
85ef0c49c7 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
juhosg
52182673e4 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
juhosg
d46c0be6b4 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
juhosg
0ed414aa74 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
juhosg
7fff48fa3a 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
juhosg
4235b93588 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
juhosg
06901dcfd6 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
juhosg
ad3d89cc5a 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
juhosg
2531198c61 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
juhosg
29eddc2b3b 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
juhosg
bbd6ea8213 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
juhosg
d3b0cb38e0 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
juhosg
ac199ca1c4 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
juhosg
674066d500 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
juhosg
38d8709940 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
juhosg
6f44525650 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
juhosg
1284f885f3 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
juhosg
c96f03b559 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
juhosg
4b55dec3ed 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
juhosg
1bd851b509 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
jow
de12d253e8 [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
juhosg
a1509a7028 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
blogic
7a9d219092 [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
blogic
f46dbe37e1 [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
blogic
7616e48d77 [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
juhosg
4497cf8437 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
juhosg
d9c2b6a237 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
juhosg
e1a6f94b64 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
juhosg
6e0afb85b9 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
juhosg
fae14fc50e 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
juhosg
8fee1ed8aa 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
juhosg
9f1a8f089c 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
juhosg
1d4a083881 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
juhosg
7a797f4b8f 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
juhosg
a07eab49bf 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
juhosg
487693fb19 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
juhosg
90e4aa2386 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
blogic
59b7de5623 [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
blogic
4c7c2a504c [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
blogic
6c7f40ae71 [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
juhosg
f4feacd7f3 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
juhosg
5305a949f4 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
juhosg
5c1de285e2 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
juhosg
5244481045 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
juhosg
00b47a7a92 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
juhosg
50ea4bdcbd 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
juhosg
c26fdeeec1 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
juhosg
e9aa516720 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
blogic
15585654b9 [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
blogic
c75080b25f [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
blogic
d74086d291 [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
blogic
c52c16271e [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
blogic
ffb4faa1d1 [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
blogic
4f3a09388f [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
juhosg
1c3b2e7595 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
juhosg
8d6b2abeef 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
juhosg
d5f23286fd 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
juhosg
1493a33c1b 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
juhosg
f00dfe552e ramips: use switch statement instead of multiple if-else-if in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:03 +00:00
juhosg
184510d772 ramips: protect rt288x pci config accesses with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:00 +00:00
juhosg
446ad267cb ramips: make rt2880_pci_base static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:57 +00:00
juhosg
33a352a75b ramips: define some magic values in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:53 +00:00
juhosg
1ee264d2d6 ramips: add copyright header to the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:49 +00:00
juhosg
526e421dbd ramips: make {read,write}_config static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:24 +00:00
juhosg
ea714ecea2 ramips: convert 'config_access' function to void
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:22 +00:00
juhosg
25c15c7d1f ramips: add register access functions into the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:19 +00:00
juhosg
78b3674055 ramips: fix RT2880_PCI_BASE definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:16 +00:00
juhosg
4575c305f4 ramips: rt288x pci code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:13 +00:00
juhosg
1a03e70f16 ramips: cleanup coding-style of the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:10 +00:00
juhosg
a12620a97a ramips: merge ops-rt288x.c and rt288x_pci.h into pci-rt288x.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:06 +00:00
juhosg
a11e6e7e76 ramips: remove unneccesary ifdefs from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:16 +00:00
juhosg
dbe1e91788 ramips: remove unneccesary includes from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:13 +00:00
juhosg
19a1c70613 ramips: add Kbuild patch for the rt288x pci code, and fix invalid header file paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:10 +00:00
blogic
8fb9ab479d adds pci support for rt288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-04 19:53:17 +00:00
juhosg
50d18d7314 [ramips] add missing GPIO register offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 15:08:29 +00:00
juhosg
2f3b768d56 [ramips] add GPIO configuration feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 15:08:26 +00:00