juhosg
0564ef75aa
ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
...
This helps GCC to generare more efficient code.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:40 +00:00
juhosg
eaae1ec1de
ramips: raeth: use 're' instead of 'priv' everywhere
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:38 +00:00
juhosg
d0794e0d35
ramips: raeth: force link down in ramips_phy_stop
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:52 +00:00
juhosg
815334db9c
ramips: raeth: serialize ramips_link_adjust calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:50 +00:00
juhosg
d214321c8c
ramips: raeth: add PHYLIB support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 06:47:12 +00:00
juhosg
d54a0c39e1
ramips: extract eeprom for the PCIe wlan module on the RT-N56U
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:45 +00:00
juhosg
073aa05f36
ramips: rt3883: enable PCI on the RT-N56U board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:44 +00:00
juhosg
0dad89e259
ramips: rt3883: add PCI support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:42 +00:00
juhosg
34acde8e5f
ramips: rt3883: sync 2.6.39 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:41 +00:00
juhosg
5775cc2b9c
ramips: use SoC specific irq.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:40 +00:00
juhosg
e95d1bebf7
ramips: rt3883: update package list in the default profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:05 +00:00
juhosg
2223374185
ramips: add preliminary support for the Asus RT-N56U board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:04 +00:00
juhosg
10a983eea1
ramips: raeth: enable MDIO code for RT3883
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:03 +00:00
juhosg
07c8d27309
ramips: add preliminary support for the RT3662/RT3883 SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:17:59 +00:00
juhosg
71da0d9534
ramips: use GENERIC_{4,8}M image template for WR5123GN
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:47 +00:00
juhosg
85b1ee0e18
ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:46 +00:00
juhosg
dd584f3173
ramips: add initial support for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:14 +00:00
juhosg
c9a5f3f810
ramips: include 'linux/module.h' in the ramips_spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:13 +00:00
juhosg
4c24144f1f
ramips: rt288x: remove per-board physmap_flash_data instances
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:12 +00:00
juhosg
40c07f37d9
ramips: rt305x: remove per-board physmap_flash_data instances
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:10 +00:00
juhosg
129f9cacb9
ramips: load gpio-polled keys module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 20:37:34 +00:00
juhosg
e24fe32095
ramips: remove yet another CONFIG_MTD_PARTITION ifdef
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:11 +00:00
juhosg
d33e1ea7fd
ramips: use gpio-keys-polled instead of gpio-buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:06 +00:00
juhosg
baa5c31303
ramips: add MIPS platform file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:11 +00:00
juhosg
a6fcd662b4
ramips: add MDIO bus support for RT288X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 16:49:56 +00:00
juhosg
3613a73356
ramips: fix Belkin F5D8235-v2 VLAN setup
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:31:18 +00:00
juhosg
3120faed8b
ramips: raeth: make debugging messages configurable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:10 +00:00
juhosg
ad0b8c49bf
ramips: raeth: use device pointer in DMA API calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:08 +00:00
juhosg
5b41176cdc
ramips: raeth: add netdev pointer to private structure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:06 +00:00
juhosg
1e38789510
ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:05 +00:00
juhosg
9b2ee01ff5
ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:04 +00:00
juhosg
606588b4e9
ramips: raeth: add rx_dma array to store the DMA address of the rx packets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:02 +00:00
juhosg
bbc71f5154
ramips: raeth: use dma_addr_t for the descriptors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:01 +00:00
juhosg
cce4c079c4
ramips: raeth: unmap DMA memory when a packet is received
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:56 +00:00
juhosg
cd69289b3e
ramips: raeth: add a temporary pktlen variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:55 +00:00
juhosg
0e485dd80d
ramips: raeth: protect macro parameters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:50 +00:00
juhosg
202c4f386c
ramips: raeth: indicate dropped packets in stats
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:49 +00:00
juhosg
b10ad5f4e0
ramips: raeth: use the NUM_TX_DESC for the tx_skb array
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:47 +00:00
juhosg
f9626b56d5
ramips: use uncached address in detect_mem_size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:45 +00:00
juhosg
a88c8014e5
ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:43 +00:00
juhosg
2a62a21658
ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:41 +00:00
juhosg
21cf4e76e0
ramips: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:40 +00:00
juhosg
7a5c327fcf
ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
...
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19 .
This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210
It's also worth noting that this board has a GPIO line to control the
power to the USB port.
[juhosg:
- fix checkpatch warnings,
- reorder Kconfig entry,
- merge the sysupgrade patch,
- add GPL header]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:36 +00:00
juhosg
d69d16fbbd
ramips: rt305x: merge duplicated mac address setup
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:34 +00:00
juhosg
2cc897979d
ramips: rt305x: add profile for the Belkin f5d8235v2
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:32 +00:00
juhosg
3218c675a1
ramips: fix compiler warning in prom.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:38:46 +00:00
juhosg
b623047424
ramips: change vlan_config for the ALFA W502U board
...
This change moves the WAN port into a separate VLAN.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:34:10 +00:00
juhosg
57ffcdaccd
ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
...
This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.
There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.
Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt
[juhosg: reordered some parts in order to keep things sorted
alphabetically]
Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 10:44:23 +00:00
juhosg
f57ff12b98
ramips: generate sysupgrade image for the ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:48 +00:00
juhosg
64435afc83
ramips: add user-space support for ALL0256N
...
This adds uci-defaults and sysupgrade support for the ALL0256N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:47 +00:00