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
juhosg
76ca646102
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
30feff8b48
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
acoul
b6ff7d438a
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
acoul
47e09d34e4
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
juhosg
0119024a6b
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
juhosg
22b785a14d
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
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
cshore
893b30dab6
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
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
06ec6493fe
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
juhosg
6c5721aff2
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
juhosg
237bd79c54
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
blogic
d756ab6289
[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
2f05a5f0ef
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
acoul
63ed400246
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
nico
7716517d56
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
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
nico
b4cd93a0eb
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
nico
bca3f225e9
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
juhosg
eb4297a352
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
juhosg
52a2bdc2ed
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
juhosg
c540e18b68
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
juhosg
a635a19c37
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
juhosg
501e9e372c
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
juhosg
079e50813d
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
juhosg
e75dc44dca
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
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
juhosg
08ce1c443c
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
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
b4fcbf1114
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
nbd
2c8b7a1910
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
nico
8fe94a14fe
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
4d8bddbd83
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
thepeople
8fce8f5924
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
kaloz
0b86ea3caf
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
kaloz
80f663be76
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
juhosg
052aabe37a
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
juhosg
30320851c4
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
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
e06f712257
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
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
juhosg
c6fd9710b6
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
juhosg
324684a0b7
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
juhosg
6816b1f08a
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
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
florian
7a42d31127
[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
kaloz
bda513685e
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
kaloz
5ed0363af9
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
kaloz
4388c9e2c1
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
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
f9adb76e53
[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
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
fff402496f
[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
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
8e873b21e8
[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
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
8a3f245685
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
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
florian
ec067db63f
[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
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
09e217e890
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
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
agb
669b52818b
[generic-2.6] move IMAGE_CMDLINE_HACK default to generic from targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 17:05:34 +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
juhosg
a09d2cc27a
ramips: add missing config option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:04:43 +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
61a476da4d
kernel: upgrade to 2.6.30.8 and refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 10:07:32 +00:00
nbd
eed31fd7a6
ramips: since both subtargets are marked as broken, move FEATURES to the main target and mark the whole target as broken. avoids unnecessary user confusion about inexplicable build failures
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-25 21:01:42 +00:00
kaloz
c64ffe5a1a
update to latest 2.6.27 and 2.6.30 kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-17 11:22:33 +00:00
juhosg
b4c4a81c44
kernel: get rid of the simple_prom_emulator, it is not really useful
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 18:30:20 +00:00
juhosg
31cee17e38
kernel: add generic image_cmdline hack to MIPS targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 18:30:01 +00:00
florian
ff9d9a341a
[kernel] update to 2.6.30.6, compile tested on some targets only
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 07:35:06 +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