1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-19 01:17:42 +03:00
Commit Graph

1165 Commits

Author SHA1 Message Date
nbd
3c978d1604 ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-11 17:44:12 +00:00
nbd
8708bcc2d3 ar71xx: do not count normal interrupts as spurious (fixes #10037)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-06 05:38:23 +00:00
nbd
e81933ed31 ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default (fixes #9954)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-05 18:37:48 +00:00
nbd
25d7a6da6c ar71xx: fix ethernet PLL setting on ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 21:23:46 +00:00
hauke
4bf096096c kernel: update kernel to version 2.6.39.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
nbd
db5c8f65ca ar71xx: add some code to detect DMA stuck conditions on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:30:14 +00:00
nbd
5051a6677f ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 21:49:46 +00:00
nbd
65dea0f0b1 ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 13:52:40 +00:00
jogo
8e38afe0f0 ar71xx: make ehci patch apply again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 23:02:56 +00:00
nbd
733ef74e71 ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (#9918)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 22:24:56 +00:00
juhosg
1cdb033fe9 ar71xx: fix image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 10:31:52 +00:00
juhosg
cc9b5b3507 ar71xx: enable sysupgrade on the AP96 and DB120 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:18 +00:00
juhosg
700dd5a8c6 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:17 +00:00
juhosg
45aa4b5327 ar71xx: cleanup image generation Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:16 +00:00
nbd
571d12ab3a ar71xx: fix ethernet FIFO state corruption on ar7240
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:31 +00:00
nbd
27818ae524 ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:27 +00:00
nbd
3fe5c4149b ar71xx: fix MAC/MDIO reset mask handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:23 +00:00
nbd
8fb4b275c2 ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs
decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 15:12:08 +00:00
jogo
e5839cb102 ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 11:57:51 +00:00
nbd
005e21d6ac ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:35 +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
nbd
c9e45803ce ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 08:02:20 +00:00
nbd
3bad82d2e7 ar71xx: reinitialize global switch settings after reset on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:47 +00:00
nbd
340551c062 ar71xx: configure address aging on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:42 +00:00
nbd
8ea4f149b0 ar71xx: reset the phy in the ethernet init on ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:34 +00:00
nbd
96c14099ce ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:29 +00:00
nbd
9dfcd7e5e2 ar71xx: increase the delay after the ethernet MAC reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:25 +00:00
nbd
db4cd49d62 ar71xx: fix an unused variable warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:20 +00:00
nbd
ec8e57edd9 ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 06:30:13 +00:00
nbd
cc32100390 ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 06:29:46 +00:00
juhosg
d3310ebab9 ar71xx: build image for the AP121 boards with 4M of flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 13:01:50 +00:00
juhosg
142740d87d ar71xx: add separate profiles for the AP121 and AP121-MINI boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 13:01:48 +00:00
juhosg
ff21374f6a ar71xx: fix building of squashfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 12:10:03 +00:00
nbd
56e7a18c3e ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 03:03:34 +00:00
juhosg
547c706620 ar71xx: use 4k image only for the AP121 board
Create optimized 64K images with the new padjffs2 tool and use that
images instead of the 4k ones. The 4k images causes problems on devices
where the flash erase size is 64 KB.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:59 +00:00
jow
422a78af7a [ar71xx] revert r27043 (#9513)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 19:52:57 +00:00
jow
c3c5977bfa [ar71xx] revert r27341, it introduce wrong behaviour for other models
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 19:15:45 +00:00
jow
0678f5f577 [ar71xx] turn status LED off if device finished initializing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 18:39:53 +00:00
juhosg
14ca52f672 ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
The config option has been removed in 2.6.39.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-30 12:15:33 +00:00
juhosg
5c047f9906 ar71xx: merge 2.6.39 patches
Also remove the old UART driver for ar933x.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:37 +00:00
juhosg
e70980e097 ar71xx: remove 2.6.37 support as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:36 +00:00
juhosg
d9b5b92778 ar71xx: remove 2.6.38 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:34 +00:00
juhosg
1c570d4d17 ar71xx: switch to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:33 +00:00
juhosg
da1bd2aad6 ar71xx: add 2.6.39 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:32 +00:00
juhosg
48cf86296e ar71xx: remove ar71xx_gpio_irq_set_type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:30 +00:00
juhosg
47d06a3f16 ar71xx: add separate handlers for IP3 interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:29 +00:00
juhosg
32852643ef ar71xx: use separate handlers for IP2 interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:28 +00:00
juhosg
62be67eb01 ar71xx: remove useless irq_desc.status initializations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:27 +00:00
nbd
e00ba06f78 ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 13:54:42 +00:00
nbd
40ad0e2ed9 ar71xx: bring up secondary radio on wzr-hp-ag300h (fixes #9608)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 13:48:47 +00:00
juhosg
8738d0666a ar71xx: cleanup AR933X UART driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 13:17:51 +00:00
juhosg
4a96046040 ar71xx: fix uart clock frequency for AR933X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 13:17:50 +00:00
juhosg
63dccaf23b ar71xx: use ar933x_uart.h in the AR933X serial driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:40 +00:00
juhosg
83e2548ec8 ar71xx: update early_printk code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:38 +00:00
acinonyx
3f2561bdea [ar71xx] Remove trailing spaces, convert spaces to tabs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 19:30:50 +00:00
nbd
a6c1bd4558 ar71xx: override inittab to enable login on ttyATH0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 17:07:10 +00:00
juhosg
377e161817 ar71xx: setup wdt_clock for AR913X to avoid a kernel bug
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 12:30:10 +00:00
juhosg
7d535a19ed ar71xx: select the internal antenna by default on the ZCN-1523H boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 12:30:09 +00:00
nbd
480dfda6ec Revert "ar71xx: only enable the rx engine after the link is up..."
It messes up the DMA state when the link goes down

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 18:15:43 +00:00
juhosg
3db28f9561 ar71xx: init external_reset for AR933X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:30 +00:00
juhosg
1bab920361 ar71xx: add external_reset field to ath9k_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:28 +00:00
juhosg
037092a862 ar71xx: init get_mac_revision on AR9330 rev 1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:27 +00:00
juhosg
03659f9521 ar71xx: add get_mac_revision to ath9k_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:26 +00:00
juhosg
9657aff1ae ar71xx: export SoC revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:24 +00:00
nbd
1eeba399c6 ar71xx: add profile and image building code for wzr-hp-ag300h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 02:23:30 +00:00
nbd
50919ca9e2 ar71xx: add kernel support for the buffalo wzr-hp-ag300h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 02:23:26 +00:00
juhosg
269c6430d7 ar71xx: build images for the AP121 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:47 +00:00
juhosg
165010d573 ar71xx: add sysupgrade support for the AP121 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:45 +00:00
juhosg
5d12cb1277 ar71xx: add default network config for the AP121 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:44 +00:00
juhosg
92fa0b3f16 ar71xx: add support for the AP121/AP121-MINI reference boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:43 +00:00
juhosg
7c4adb453c ar71xx: register UART for the AR933X SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:42 +00:00
juhosg
1c869e33cc ar71xx: add serial driver for the AR933X UART
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:40 +00:00
juhosg
5e832d5f35 ar71xx: add WMAC initialization code for the AR933X SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:39 +00:00
juhosg
b33cedf6fa ar71xx: add ethernet initialization for the AR933X SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:37 +00:00
juhosg
aa6b4cd97a ar71xx: enable USB support for the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:36 +00:00
juhosg
6f45adddfe ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:35 +00:00
juhosg
c7eb38661b ar71xx: the watchdog uses the reference clock on the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:34 +00:00
juhosg
0570263dcb ar71xx: add AR933x specific glue code for IRQ initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:32 +00:00
juhosg
771bbc30cf ar71xx: don't register 8250 UART on the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:31 +00:00
juhosg
4cae90b75b ar71xx: enable GPIO support for the AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:30 +00:00
juhosg
046f6d9c97 ar71xx: add AR933x specific frequency initialization code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:29 +00:00
juhosg
9d012c4aae ar71xx: add AR933x specific early_printk support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:27 +00:00
juhosg
a5e8c5446f ar71xx: add preliminary support for the Atheros AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:26 +00:00
juhosg
68169c24f2 ar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3700v2
NETGEAR doesn’t produce a distinct North American image for
WNDR3700v2, they use the same image worldwide. This is a change from
earlier models such as WNDR3700 (v1). NETGEAR's v2 images now contain
an "hd_id" parameter, as well. All observed WNDR3700v2, WNDR3800, and
WNDRMAC images use 29763654+16+64 as their hd_id value.

This patch changes the OpenWrt WNDR3700v2 "factory" image generation
to stop producing the extraneous -NA version and to tag the image with
the same hd_id used in NETGEAR's images.

There is no change to WNDR3700 (v1) image generation, as NETGEAR
continues to produce distinct -NA and worldwide images, neither of
which are tagged with hd_id.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:25 +00:00
juhosg
fc50c6a3b6 ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:22 +00:00
juhosg
eaa759a8e5 ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:20 +00:00
juhosg
5b9155beba ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:19 +00:00
juhosg
92e4bfb535 ar71xx: reduce the size of the squashfs-4k binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:18 +00:00
juhosg
bd8a2aaee9 ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:15 +00:00
juhosg
c772123439 ar71xx: sync ath9k_platform_data.h with compat-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:14 +00:00
juhosg
ee7a116328 ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:13 +00:00
juhosg
20d6650643 ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:12 +00:00
juhosg
75e1476cce ar71xx: ag71xx: make ring sizes configurable via ethtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:10 +00:00
juhosg
a137dec884 ar71xx: ag71xx: prepare to make ring sizes configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:09 +00:00
juhosg
940317dc35 ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:07 +00:00
nbd
debcf79f90 ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:08:01 +00:00
nbd
20aef6d6fc ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:57 +00:00
matteo
005a65e01d ar71xx: don't probe the LAN PHY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:15:24 +00:00
matteo
483991c363 ar71xx: detect link on LAN ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:12:56 +00:00
matteo
511dea0dac ar71xx: add link detection on Ubiquiti devices WAN port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:31:50 +00:00