1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 15:03:43 +02:00
Commit Graph

1434 Commits

Author SHA1 Message Date
juhosg
c01dd82e04 ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:26 +00:00
juhosg
0475f34e05 ar71xx: build image for the Allnet ALL0258N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:23 +00:00
juhosg
61504e67d9 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
juhosg
afc3633a2e ar71xx: don't override CONFIG_FSNOTIFY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:18 +00:00
jow
fbebd1e720 [ar71xx] base-files: make sure inittab-console-fixup returns with success (#10275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:43 +00:00
jogo
0f7b0ae7de linux: ar71xx: add support for Mikrotik Routerboard RB493G
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:16 +00:00
jogo
0f944343dd ar71xx: add a workaround for ar8316 not always driving the TA bit to low
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:13 +00:00
jogo
d066413d5d ag71xx: close a race between the phy state machine and link state
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-08 11:37:14 +00:00
juhosg
8d0d02042c ar71xx: fix MAC addresses on the DIR-825-B1 board
Patch-by: Lukas Kuna

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:39 +00:00
juhosg
a46904b68e ar71xx: enable login only on the system console by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:38 +00:00
juhosg
e6dc3fc7e8 ar71xx: build images for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:56 +00:00
juhosg
5fdfc7948a ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:53 +00:00
juhosg
8f241d9a09 ar71xx: add AR933x specific USB setup function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:51 +00:00
juhosg
3a5386be36 ar71xx: add ar71xx_device_reset_rmw helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:50 +00:00
juhosg
0316b118d0 ar71xx: fix copy&paste bug in WZRHPAG300H profile description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:48 +00:00
juhosg
f580569c07 ar71xx: remove 'default [yn]' from machine Kconfig entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:47 +00:00
juhosg
5bc57a6b20 ar71xx: sort AR71XX_MACH_* entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:45 +00:00
juhosg
53b7e66b1c ar71xx: create image for the TP-Link TL-WR743ND v1
Same hardware as WR741ND but with PoE support.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:44 +00:00
juhosg
36b03a3e5b ar71xx: create image for the TP-Link TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:40 +00:00
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
matteo
51053e7640 use correct macros and frame size in ag71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:10:06 +00:00
matteo
0cbd6d9057 ar71xx: cosmetic fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:08:00 +00:00
juhosg
b500b67652 ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:51 +00:00
juhosg
b3a8c8a5ce ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:49 +00:00
juhosg
a1c5a3da98 ar71xx: use phy0tpt trigger for the WLAN LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:48 +00:00
juhosg
5b6a159d03 ar71xx: remove superfluous fifo_cfg overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:46 +00:00
juhosg
bb14a2f07c ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 16:32:53 +00:00
juhosg
0511a7adf1 ar71xx: ag71xx: fix section mismatch warnings
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:36 +00:00
juhosg
14088891b0 ar71xx: ag71xx: fix build error if debugfs is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:26 +00:00
juhosg
e5061b1935 ar71xx: ag71xx: add debugfs entry for [rt]x_ring
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:34 +00:00
juhosg
5155342ee7 ar71xx: ag71xx: add timestamps to ag71xx_buf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:28 +00:00
juhosg
5e10b16d95 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:26 +00:00
juhosg
f6816e49d9 ar71xx: ag71xx: use debugfs_remove_recursive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:25 +00:00
juhosg
193e04ebee ar71xx: override wmac device name for the AR934x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:32 +00:00
acoul
348cbe4bd3 linux/ar71xx: add some missing symbols for nand/yaffs targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 07:19:46 +00:00
nbd
118a9c5154 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:42 +00:00
nbd
8220523bad ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:49 +00:00
acoul
b7a26a735b linux/ar71xx: update wget2nand script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 12:38:25 +00:00
acoul
dfba2f5fb1 linux/ar71xx: add 2.6.38 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 11:45:23 +00:00
nbd
e54866b2fb ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:51:12 +00:00
nbd
c39d45cf13 ar71xx: replace the madwifi profile with an ath5k profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 21:10:45 +00:00
juhosg
b5cfb56ed4 ar71xx: fix build error w/o CONFIG_PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 13:14:56 +00:00
juhosg
73318c1013 ar71xx: don't hardcode console parameters in kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 13:14:53 +00:00
juhosg
ec1dcc5bda ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:21 +00:00
juhosg
b47906964d ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:10 +00:00
juhosg
2be7aaf5c2 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:08 +00:00
juhosg
613a88e6a5 ar71xx: fix AR934X_WMAC_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:03 +00:00
juhosg
9330419fa7 ar71xx: fix section mismatch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:55 +00:00
juhosg
f2a69b10a8 ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
Also initialize that for each SoC and print its value along with the
other frequencies.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:52 +00:00
juhosg
f4bb6b6582 ar71xx: show the SoC type earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:50 +00:00
juhosg
8de3a1a306 ar71xx: cleanup SoC detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:49 +00:00
juhosg
b9fe109d2b ar71xx: sync kernel configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:45 +00:00
juhosg
db38ac7711 ar71xx: Fix mac address offset for AR934x
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:42 +00:00
juhosg
b1f3482e70 ar71xx: add DB120 board specific PCI initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:41 +00:00
juhosg
004690a661 ar71xx: register WMAC device on the DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:37 +00:00
juhosg
ce9abcca4a ar71xx: add support for the built-in WMAC of the AR934x
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:34 +00:00
juhosg
005ecd4268 ar71xx: create a separate profile for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:25 +00:00
juhosg
930932005d ar71xx: build firmware image for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:23 +00:00
juhosg
e018221576 ar71xx: add initial support for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:19 +00:00
juhosg
475f894967 ar71xx: indicate AR934x support in menuconfig
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:14 +00:00
juhosg
7072aeaf32 ar71xx: add support for the watchdog of the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:10 +00:00
juhosg
b21a1fabc6 ar71xx: enable PCI for the AR934[24] SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:05 +00:00
juhosg
d6c448b131 ar71xx: enable USB support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:03 +00:00
juhosg
3167111b62 ar71xx: enable GPIO support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:00 +00:00
juhosg
7763501529 ar71xx: add AR934x specific glue for ar7100_device{start,stop}
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:57 +00:00
juhosg
2c08ed8f8b ar71xx: add AR934x specific UART clock initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:53 +00:00
juhosg
c5000fc993 ar71xx: add AR934x specific glue for IRQ initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:49 +00:00
juhosg
a5bba4d8fb ar71xx: add initial support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:45 +00:00
hauke
84b3048574 kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:59:07 +00:00
nbd
76707734e8 ar71xx: use DEFAULT:= in the uboot-ar71xx package instead of adding uboot to the profiles, fixes imagebuilder issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 12:43:21 +00:00
nbd
abc719ecfd ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 00:47:33 +00:00
nbd
7569a2e88f ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 00:47:29 +00:00
nbd
fd5cb87889 ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not run them on every device open, only on tx timeouts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 00:47:25 +00:00
nbd
d46648401a global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:12 +00:00
jow
957986717f [ar71xx] fix image generation in the Image Builder environment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 18:56:55 +00:00
kaloz
946c99ded8 update to 2.6.32.33 and 2.6.37.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 13:25:32 +00:00
nbd
cf9aad98a9 ar71xx: remove 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:08:44 +00:00
nbd
4ec32399c2 ar71xx: add default configuration for the switch on AP96
Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 19:51:42 +00:00
hauke
b1ca5c4826 kernel: update to kernel version 2.6.37.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:14:08 +00:00
juhosg
ae81dbbb22 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:31 +00:00
nbd
ea0082e3de Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 16:21:23 +00:00
nbd
097b43c34c ar71xx: add missing gpio_set_debounce function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:33:35 +00:00
nbd
9a4c96e6e9 ar71xx: remove support for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 23:26:33 +00:00
nbd
0c62a2add1 ar71xx: update to 2.6.37.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 23:25:47 +00:00
nbd
7b97d3c439 ar71xx: revert accidental kernel upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 02:42:47 +00:00
nbd
55664ae04b kernel: remove imq support, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 02:06:51 +00:00
nbd
9fd49d00e3 ar71xx: fix fallout from the 2.6.32 kernel upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 20:32:15 +00:00
florian
57a443b8dd [kernel] update to 2.6.32.29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:23 +00:00
nbd
77b7bdc5fd ar71xx: remove vsc73xx ucodes from the default profile - these are only used on some atheros reference designs which are unlikely to have many users
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 16:08:36 +00:00
juhosg
8ac5cf45e8 ar71xx: add rtl8366s initvals for the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:47 +00:00
juhosg
2f9a16818c ar71xx: create firmware image for the WNDR3700v2 board
Patch-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:44 +00:00
juhosg
9e07cb05fa ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:42 +00:00
jow
7141d869e6 [ar71xx] fix null pointer access in mach-dir-600-a1.c machine setup (#8671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 18:04:50 +00:00
juhosg
f742b2d746 ar71xx: rework WNDR3700 image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:14 +00:00
juhosg
6e0592661e ar71xx: build separate image for the WNDR3700 with NA region
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:11 +00:00
juhosg
77e1ad2c5f ar71xx: fix wlan LED on the TL-WR741 board
* Patch from #8630

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 08:20:47 +00:00
juhosg
0ecedcb900 ar71xx: fix wrong names of the WPS LED/button
Reported-by: Nuno Gonçalves

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-10 18:15:47 +00:00
juhosg
80d537874f ar71xx: remove the gpio_wr_fix patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 09:29:51 +00:00
juhosg
017387d91d ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 09:29:45 +00:00
juhosg
9de5c06f89 ar71xx: add kmod-ledtrig-usbdev for the MZK-W04NU profile as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 21:04:57 +00:00
juhosg
6a3595f161 ar71xx: add kmod-ledtrig-usbdev to the relevant profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 21:02:25 +00:00
juhosg
a241f3c34a ar71xx: use spinlock in ar71xx_device_{start,stop}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 11:28:32 +00:00
juhosg
ab75a04099 ar71xx: add kmod-usb-ohci module for the WNDR3700 profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 10:51:20 +00:00
juhosg
2e7490c8ca ar71xx: make uci-default scripts executable
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-04 13:44:01 +00:00
juhosg
8daecfbcff ar71xx: add support for TL-WR740N v1
Same as TL-WR741ND but with different hardware ID and without
detachable antenna.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 12:42:16 +00:00
claudio
898076f479 [ar71xx] unifi: add sysupgrade and leds support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 17:28:34 +00:00
nbd
ee10caa56c ar71xx: enable ar7240 switch support on the UBNT NanoStation M
Fixes broadcast frames on the second ethernet MAC

Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:42 +00:00
juhosg
af62c5dff0 ar71xx: fix micrel phy patch (Patch from #8041.)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 10:05:55 +00:00
juhosg
1f36168c60 ar71xx: remove stray semicolons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:57:20 +00:00
juhosg
1eb912f20a ar71xx: fix WLAN LEDs on the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:21 +00:00
juhosg
3e6bf9586d ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:19 +00:00
juhosg
133f6e8495 ar71xx: use usbdev trigger for USB LEDs by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:16 +00:00
juhosg
579e608a9b ar71xx: UBNT Secondary MAC address duplicate fix
There is Secondary MAC address duplicate problem with some UBNT
RouterStation and RouterStation Pro HW batches as Primary MAC addresses
are not increased by 2 per device in board data. Fix is to use 'Locally
Administrated bit' for Secondary MAC address instead of increasing
Primary MAC addresses by 1 which could overlap with other device
Primary MAC address.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:01 +00:00
juhosg
84ea49f558 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:09:57 +00:00
juhosg
2427a1a5f9 ar71xx: add wlan led for the TL-WR941ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:50 +00:00
juhosg
786449614f ar71xx: UBNT M-Series MAC address fix
UBNT M-Series devices have 2 MAC addresses in board data.
Fix is to use both entries from board data instead of one entry.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:47 +00:00
juhosg
5270be5f80 ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:04 +00:00
juhosg
6cc1945af5 ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:00 +00:00
hauke
9f96922892 kernel: update kernel versions
Update kernel 2.6.32.26 to 2.6.32.27
Update kenrel 2.6.36.1 to 2.6.36.2


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:07:21 +00:00
juhosg
29d3358e2b ar71xx: add missing files for the JA76PF board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 19:55:28 +00:00
juhosg
9bdc5b83af ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:51 +00:00
juhosg
ddbca99fbc ar71xx: add support for the TP-LINK TL-MR3220 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:48 +00:00
juhosg
c7e80fcfbb ar71xx: add default network configuration file for the TL-MR3420
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:40 +00:00
nbd
c5d8ec2df5 ar71xx: do not throw compile errors if the nbg460n uboot is not selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:07:27 +00:00
juhosg
12e58b40f8 ar71xx: select u-boot for the NBG460N in the Default/Minimal profiles as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:17:08 +00:00
juhosg
680d895a87 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:17:03 +00:00
nbd
cb875ff79e ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:15 +00:00
jow
db07bdac3e [ar71xx] tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 20:19:55 +00:00
juhosg
09a8407a2d ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 18:40:01 +00:00
jow
848e1c833e [ar71xx] add a new image for the TEW-652BRP which can be used with the bootloader recovery option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-30 02:04:57 +00:00
kaloz
d053fa7af0 update to the latest stable kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 18:50:11 +00:00
juhosg
c80f4f97c6 ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
r22700 contained a copy-and-paste error that set eth0's MAC address
twice and never set eth1's.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 07:24:00 +00:00
juhosg
4355718b98 ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:52:45 +00:00
juhosg
cc04995115 ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:52:28 +00:00
juhosg
cbd9e227db ar71xx: use pr_* functions in drivers
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:52:12 +00:00
juhosg
b0acc8feff ar71xx: drivers/rb4xx_nand: remove C++ comment usage
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:55 +00:00
juhosg
c0734b8ffe ar71xx: return statements does not need parenthesis
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:38 +00:00
juhosg
74ed307c1e ar71xx: fix inline attribute location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:21 +00:00
juhosg
2adda3cec6 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:04 +00:00
juhosg
6be076283d ar71xx: fix trailing statements location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:50:47 +00:00
juhosg
b6dbd83901 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:50:29 +00:00
acoul
f1df0b7ca4 linux/ar71xx: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 16:23:42 +00:00
claudio
b59add4dfd [ar71xx] Add support for Ubiquiti UniFi AP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 21:08:48 +00:00
nbd
f02be8f01c ar71xx: Configure WNDR3700 switch LED colors properly (#8103)
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:55:16 +00:00
nbd
1a9465cf71 Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter's request
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:53:18 +00:00
nbd
de74662151 ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:48:22 +00:00
nbd
11c1641bac ar71xx: Set eth1 MAC address from EEPROM for WNDR3700
The WNDR3700's art/caldata partition contains three MAC addresses at
offsets 0, 6, and 12, used for eth0/wlan0 (shared), eth1, and wlan1,
respectively. The existing code configures eth1's MAC address by adding
1 to eth0's instead of using the value stored in the EEPROM. This patch
causes the stored value to be used directly. (On my WNDR3700s, the three
stored addresses are all sequential anyway.)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:46:07 +00:00
nbd
6f13c00b0a ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:39:49 +00:00
kaloz
0c95905c4f update kernels to 2.6.32.25 and 2.6.35.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 09:01:08 +00:00
nbd
4f69a1b329 ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:55:53 +00:00
nbd
3b0c2a6686 ar71xx: remove some unnecessary patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-22 01:31:47 +00:00
nbd
1e8ba3046f move a few more 2.6.36 config options from ar71xx to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:52 +00:00
nbd
24581067fa ar71xx: the ar7240 dsa driver is no longer used, remove it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:28 +00:00
nbd
2ec79a75b2 ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:22 +00:00
nbd
8c032f3c80 ar71xx: fix more section mismatches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:16 +00:00
nbd
0a95e857aa ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:11 +00:00
nbd
8b5826566e ar71xx: refresh kernel config for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:41:57 +00:00
nbd
413657dd02 ar71xx: remove unused kernel versions, 2.6.36 should be the next target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:41:52 +00:00
jow
f3367a8563 [ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 23:08:10 +00:00
nbd
a63bf2580b ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 13:41:42 +00:00
nbd
c952d82a6c ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:59 +00:00
acoul
c6b2d9a861 linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 16:52:35 +00:00
acoul
5bf8128fbd linux/ar71xx: (2.6.36) add a missed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 12:15:18 +00:00
acoul
86ddd45f31 linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 12:10:18 +00:00
nbd
8631d395e1 ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 14:27:34 +00:00
kaloz
7e99ea9fe6 [kernel]: upgrade kernel versions to the latest stable ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
juhosg
97627d06c5 ar71xx: initial support for jjPlus JWAP003
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:29 +00:00
nbd
05c0f03a6c AP96: Fix LAN/WAN setup
LAN (eth0) is behind a switch and the fixed speed/duplex was
supposed to be for it, not WAN (eth1).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-28 22:55:14 +00:00
juhosg
9ddf78a6b3 ar71xx: build firmware image for the TL-MR3420 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:54:04 +00:00
juhosg
3628a161a5 ar71xx: add support for the TL-MR3420 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:59 +00:00
juhosg
83ad54b039 ar71xx: AR724[12] requires different USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:57 +00:00
juhosg
7576a0c62c ar71xx: build firmware image for the TL-WR841N v7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:54 +00:00
juhosg
c7f17e256a ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:49 +00:00
juhosg
ae0b1149b9 ar71xx: move ath9k specific PCI fixup into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:46 +00:00
juhosg
d39b21c7f6 ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:43 +00:00
nbd
4fa1e52b3a Add support for Atheros AP96 reference board
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.

mach-ap96.c is based on mach-wndr3700.c.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 08:59:53 +00:00
nbd
6f8d5efb9d ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:17:06 +00:00
juhosg
217d24ebbd ar71xx: build firmware images for the Zcomax boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:43 +00:00
juhosg
006386c4b4 ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:37 +00:00
juhosg
0e41d925cc ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:50 +00:00
juhosg
d1f333874d ar71xx: rewrite SPI drivers for the RB4xx boards
* add a new SPI controller driver
  * add SPI driver for the CPLD chip
  * convert the NAND driver
  * enable the mikroSD slot
  * enable more LEDs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:47 +00:00
juhosg
155c111782 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 19:57:11 +00:00
florian
66eeee56c1 [kernel] update to 2.6.32.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:07:37 +00:00
juhosg
59741b2ef6 ar71xx: don't override CONFIG_SWAP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:31 +00:00
juhosg
a393655eea ar71xx: change mac address initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:28 +00:00
nbd
5cc1f4bcf3 ar71xx: add a new driver for the ar7240 switch using swconfig.
hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway
switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested
fixes #7563

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:21:57 +00:00
juhosg
4ebeeb5634 ar71xx: add eap7660d board to diag.sh and sysupgrade
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:31 +00:00
acoul
9131e95168 linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 07:48:05 +00:00
jow
698224c6c8 [ar71xx] add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-13 19:29:51 +00:00
nbd
a0d848ed9d ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00
nbd
e0673d1c94 ar71xx: fix sysupgrade on the ubnt nanostation m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 18:16:47 +00:00
nbd
858ebac7b8 ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
nbd
e70bddd713 ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:11 +00:00
kaloz
4f9721dee7 update kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
juhosg
e528e02ba9 generic: move ath5k_platform.h from ar71xx to generic files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
juhosg
e14f929ec7 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
nbd
f3814337f1 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
nbd
d856215f02 ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
nbd
950d12ef69 ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down
fixes boot time crashes under load reported by matteo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
juhosg
17cb46ca8a ar71xx: fix leds-rb750 build failure on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
jow
51c76d8aa5 [ar71xx] fix dir-825-b1 default network config after r21905
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 00:03:43 +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
326a9590d1 ar71xx: don't use vlan 0 for devices with rtl8366s switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:32 +00:00
juhosg
8119ffe60a ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
juhosg
0802c1eb52 ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
juhosg
78fe3d5e8c ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
juhosg
d4c3de0bb6 ar71xx: add default network config for the RB433UAH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
juhosg
d1b5649e76 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
juhosg
12827f9964 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
juhosg
c9051b2469 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
juhosg
85f5665b15 generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
juhosg
7fdc127dda ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
juhosg
5e5d01f210 ar71xx: remove more config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
juhosg
2a528006a3 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
juhosg
a3860b3a61 ar71xx: don't override CONFIG_BRIDGE_* options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
juhosg
2531769a1e ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:36 +00:00
juhosg
e3ad321217 ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
acoul
a6f330452b ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
juhosg
f206537fa5 ar71xx: add default network configuration file for the RB450/RB433 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:23 +00:00
juhosg
ac31bf6447 ar71xx: enable the IP17xx driver for the nand subtarget
Also disable the old ICPlus driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:20 +00:00
juhosg
9f9bd4b6ee ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
juhosg
c2a2341e50 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
juhosg
cd42787458 ar71xx: add missing 2.6.34 config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:17:34 +00:00
juhosg
9dd80fbdfc ar71xx: build firmware images if Minimal profile is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:39 +00:00
juhosg
474a2a5101 ar71xx: rename Minimal profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:34 +00:00
nbd
b6f48ae879 ar71xx: clarify the nand subtarget a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 11:55:49 +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
dd08767acf generic: merge mips multi machine update to generic patches for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:49 +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
acoul
6a8ea45301 ar71xx: fix rootfs mount issue (closes #7319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 08:49:57 +00:00
cshore
d1d038f985 ar71xx: 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 ar71xx.sh was sourced
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:49 +00:00
nico
541e59dc6b update linux kernel to 2.6.32.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
nico
a56cab61d1 target/linux: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:35:46 +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
juhosg
0ba3851aa6 ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).

Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:38:39 +00:00
juhosg
0b2a2f1091 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
nbd
9411bef003 ar71xx: remove madwifi from the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:50 +00:00
nbd
d04eedfa0d ar71xx: use the lzma kernel and a proper size limit for pb92
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:44 +00:00
nbd
3ba7a0a75f ar71xx: remove some bogus kernel config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:37 +00:00
nbd
9c1a646777 ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:32 +00:00
nico
fc2b3ea6b4 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
nbd
72a17293c7 ar71xx: add a new default profile containing all drivers for all boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 20:16:27 +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
juhosg
91734ca2fa ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex
boards


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:10 +00:00
juhosg
d6bb729d0e ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:04 +00:00
juhosg
d0bcb711d4 ar71xx: fix firmware partition size on the MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:01 +00:00
juhosg
9bca18c255 ar71xx: build different firmware images for the DIR-825-Bx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:58 +00:00
juhosg
1bcf4b2473 ar71xx: create smaller sysupgrade images for the WRT400N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:54 +00:00
juhosg
b6ea50912a ar71xx: create firmware images for the TL-WR941ND v3 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:51 +00:00
juhosg
538d16ee7b ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL
The 'factory' image requires the garbage at the end of the image.
Flashing from the original web interface does not work without that.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:47 +00:00
nbd
2a9dd36f43 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 16:39:13 +00:00