Commit graph

1347 commits

Author SHA1 Message Date
Gabor Juhos
acd8ad4de5 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

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

SVN-Revision: 23977
2010-11-12 18:51:04 +00:00
Gabor Juhos
eef802855a ar71xx: fix trailing statements location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23976
2010-11-12 18:50:47 +00:00
Gabor Juhos
500fac1735 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

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

SVN-Revision: 23975
2010-11-12 18:50:29 +00:00
Alexandros C. Couloumbis
0c66bb9c55 linux/ar71xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23944
2010-11-10 16:23:42 +00:00
Claudio Mignanti
20b2a4417a Add support for Ubiquiti UniFi AP
SVN-Revision: 23904
2010-11-06 21:08:48 +00:00
Felix Fietkau
5f3f1b8cd8 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>

SVN-Revision: 23879
2010-11-04 18:55:16 +00:00
Felix Fietkau
b3b2227869 Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter's request
SVN-Revision: 23878
2010-11-04 18:53:18 +00:00
Felix Fietkau
77eee74d56 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>

SVN-Revision: 23877
2010-11-04 18:48:22 +00:00
Felix Fietkau
91b6c63adc 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>

SVN-Revision: 23876
2010-11-04 18:46:07 +00:00
Felix Fietkau
fc28e1cd7d ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
SVN-Revision: 23875
2010-11-04 18:39:49 +00:00
Imre Kaloz
0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Felix Fietkau
b4e2c09b46 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
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00
Felix Fietkau
b3e708acd7 ar71xx: remove some unnecessary patches
SVN-Revision: 23581
2010-10-22 01:31:47 +00:00
Felix Fietkau
0468a284dd move a few more 2.6.36 config options from ar71xx to generic
SVN-Revision: 23580
2010-10-21 18:42:52 +00:00
Felix Fietkau
f056c054b9 ar71xx: the ar7240 dsa driver is no longer used, remove it.
SVN-Revision: 23577
2010-10-21 18:42:28 +00:00
Felix Fietkau
9e2d1a194d ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
SVN-Revision: 23576
2010-10-21 18:42:22 +00:00
Felix Fietkau
6656450c6d ar71xx: fix more section mismatches
SVN-Revision: 23575
2010-10-21 18:42:16 +00:00
Felix Fietkau
8858d90afe 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
SVN-Revision: 23574
2010-10-21 18:42:11 +00:00
Felix Fietkau
0ccae6ec9e ar71xx: refresh kernel config for 2.6.36
SVN-Revision: 23572
2010-10-21 18:41:57 +00:00
Felix Fietkau
d40b0f3529 ar71xx: remove unused kernel versions, 2.6.36 should be the next target
SVN-Revision: 23571
2010-10-21 18:41:52 +00:00
Jo-Philipp Wich
a680385396 remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
SVN-Revision: 23451
2010-10-14 23:08:10 +00:00
Felix Fietkau
fc035b3cb6 ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Alexandros C. Couloumbis
5717ca5ea9 linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
SVN-Revision: 23327
2010-10-08 16:52:35 +00:00
Alexandros C. Couloumbis
dc0e630123 linux/ar71xx: (2.6.36) add a missed patch
SVN-Revision: 23319
2010-10-08 12:15:18 +00:00
Alexandros C. Couloumbis
458e8736fc linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
SVN-Revision: 23317
2010-10-08 12:10:18 +00:00
Felix Fietkau
b61a804bf7 ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
SVN-Revision: 23293
2010-10-07 14:27:34 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Gabor Juhos
697f5d0bdd 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)

SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Felix Fietkau
8511c6b16c 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>

SVN-Revision: 23147
2010-09-28 22:55:14 +00:00
Gabor Juhos
2fdc8aea04 ar71xx: build firmware image for the TL-MR3420 v1 board
SVN-Revision: 23138
2010-09-27 14:54:04 +00:00
Gabor Juhos
32d12d5e5c ar71xx: add support for the TL-MR3420 v1 board
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00
Gabor Juhos
b831ebdde9 ar71xx: AR724[12] requires different USB setup
SVN-Revision: 23135
2010-09-27 14:53:57 +00:00
Gabor Juhos
ef54e93712 ar71xx: build firmware image for the TL-WR841N v7
SVN-Revision: 23134
2010-09-27 14:53:54 +00:00
Gabor Juhos
cda8655910 ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
SVN-Revision: 23132
2010-09-27 14:53:49 +00:00
Gabor Juhos
b445943cdf ar71xx: move ath9k specific PCI fixup into a separate file
SVN-Revision: 23131
2010-09-27 14:53:46 +00:00
Gabor Juhos
4ae167959b 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.

SVN-Revision: 23130
2010-09-27 14:53:43 +00:00
Felix Fietkau
a7bb7dd99e 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>

SVN-Revision: 23125
2010-09-27 08:59:53 +00:00
Felix Fietkau
0c6653c6e2 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
SVN-Revision: 22935
2010-09-05 16:17:06 +00:00
Gabor Juhos
fcfe56924b ar71xx: build firmware images for the Zcomax boards
SVN-Revision: 22884
2010-09-03 18:14:43 +00:00
Gabor Juhos
b4336a8e2d ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
SVN-Revision: 22882
2010-09-03 18:14:37 +00:00
Gabor Juhos
ece9b523e4 ar71xx: refresh patches
SVN-Revision: 22864
2010-08-31 20:13:50 +00:00
Gabor Juhos
47f8fd1dde 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

SVN-Revision: 22863
2010-08-31 20:13:47 +00:00
Gabor Juhos
a80b9af0cd ar71xx: refresh patches
SVN-Revision: 22803
2010-08-25 19:57:11 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Gabor Juhos
6855ac2393 ar71xx: don't override CONFIG_SWAP
SVN-Revision: 22701
2010-08-18 16:00:31 +00:00
Gabor Juhos
7bc5a672c1 ar71xx: change mac address initialization
SVN-Revision: 22700
2010-08-18 16:00:28 +00:00
Felix Fietkau
523fcf0497 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
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Gabor Juhos
e35f7ef51d 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>

SVN-Revision: 22644
2010-08-14 21:07:31 +00:00
Alexandros C. Couloumbis
9aef272f4a linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
SVN-Revision: 22631
2010-08-14 07:48:05 +00:00
Jo-Philipp Wich
6616951c15 add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
SVN-Revision: 22625
2010-08-13 19:29:51 +00:00
Felix Fietkau
65899cfa49 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
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Felix Fietkau
4ee3ae96c2 ar71xx: fix sysupgrade on the ubnt nanostation m
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Felix Fietkau
900aaa919b ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Felix Fietkau
bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Gabor Juhos
4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8 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>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Felix Fietkau
a27ea45e76 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
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea 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
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Jo-Philipp Wich
d6d8014cfd fix dir-825-b1 default network config after r21905
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Gabor Juhos
e827a12c48 ar71xx: don't use vlan 0 for devices with rtl8366s switch
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Gabor Juhos
7bff9c0101 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>

SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
518f43efd8 ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis

SVN-Revision: 21826
2010-06-17 09:24:26 +00:00
Gabor Juhos
08c2e29018 ar71xx: avoid duplicated 'board' parameter in kernel command line
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Gabor Juhos
b86e4e1c6a ar71xx: add default network config for the RB433UAH board
SVN-Revision: 21765
2010-06-12 13:20:41 +00:00
Gabor Juhos
9789f0215a ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Gabor Juhos
9bc1e548a1 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

SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
2f328ce488 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
5cad9d5c73 generic: standardize CONFIG_INLINE_* symbols usage
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Gabor Juhos
65de4c2102 ar71xx: sync kernel configs
SVN-Revision: 21745
2010-06-10 08:09:36 +00:00
Gabor Juhos
f24395618e ar71xx: remove more config overrides
SVN-Revision: 21744
2010-06-10 06:14:19 +00:00
Gabor Juhos
adb0a95df1 ar71xx: fix phy_mask for the RB450
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
f731dbec62 ar71xx: don't override CONFIG_BRIDGE_* options
SVN-Revision: 21742
2010-06-09 19:48:32 +00:00
Gabor Juhos
dc27a440b2 ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
SVN-Revision: 21737
2010-06-09 15:31:36 +00:00
Gabor Juhos
6ce447427c ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis
d45dc5e820 ar71xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21734
2010-06-09 10:45:47 +00:00
Gabor Juhos
3045632eb0 ar71xx: add default network configuration file for the RB450/RB433 boards
SVN-Revision: 21730
2010-06-08 20:19:23 +00:00
Gabor Juhos
2666ae6f0e ar71xx: enable the IP17xx driver for the nand subtarget
Also disable the old ICPlus driver.

SVN-Revision: 21729
2010-06-08 20:19:20 +00:00
Gabor Juhos
d55ebf3a8a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
84f6a9c5a1 ar71xx: add missing 2.6.34 config symbol
SVN-Revision: 21697
2010-06-07 09:17:34 +00:00
Gabor Juhos
e897618fe1 ar71xx: build firmware images if Minimal profile is selected
SVN-Revision: 21684
2010-06-06 17:41:39 +00:00
Gabor Juhos
f0ec6c9529 ar71xx: rename Minimal profile
SVN-Revision: 21683
2010-06-06 17:41:34 +00:00
Felix Fietkau
b61dce0a9b ar71xx: clarify the nand subtarget a bit
SVN-Revision: 21679
2010-06-05 11:55:49 +00:00
Gabor Juhos
2dfcdb9465 generic: merge mips multi machine update to generic patches for 2.6.34
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
35765bfcf8 generic: merge mips multi machine update to generic patches for 2.6.33
SVN-Revision: 21674
2010-06-04 19:09:49 +00:00
Gabor Juhos
383bd396fa generic: merge mips multi machine update to generic patches for 2.6.32
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
Alexandros C. Couloumbis
2b743a266f ar71xx: fix rootfs mount issue (closes #7319)
SVN-Revision: 21645
2010-06-01 08:49:57 +00:00
Daniel Dickinson
6bccc41f6c 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
SVN-Revision: 21634
2010-05-30 03:20:49 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Nicolas Thill
46e2eea1ef target/linux: refresh 2.6.32 patches
SVN-Revision: 21566
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Gabor Juhos
65dba323f7 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>

SVN-Revision: 21444
2010-05-14 08:38:39 +00:00
Gabor Juhos
115f845e53 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

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

SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Felix Fietkau
3aa09d05fd ar71xx: remove madwifi from the default profile
SVN-Revision: 21406
2010-05-08 20:06:50 +00:00
Felix Fietkau
f4c9a4e042 ar71xx: use the lzma kernel and a proper size limit for pb92
SVN-Revision: 21405
2010-05-08 20:06:44 +00:00
Felix Fietkau
51f7953734 ar71xx: remove some bogus kernel config overrides
SVN-Revision: 21397
2010-05-07 16:20:37 +00:00
Felix Fietkau
2598c32f06 ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
SVN-Revision: 21396
2010-05-07 16:20:32 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Felix Fietkau
f9f11f950d ar71xx: add a new default profile containing all drivers for all boards
SVN-Revision: 21209
2010-04-27 20:16:27 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Gabor Juhos
497d2ec2d0 ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex boards
SVN-Revision: 21175
2010-04-26 18:28:10 +00:00
Gabor Juhos
fca9b7ebad ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.

SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos
77b2354fcd ar71xx: fix firmware partition size on the MZK-W04NU board
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Gabor Juhos
c018bd8ec1 ar71xx: build different firmware images for the DIR-825-Bx boards
SVN-Revision: 21171
2010-04-26 18:27:58 +00:00
Gabor Juhos
12fab9cb9e ar71xx: create smaller sysupgrade images for the WRT400N board
SVN-Revision: 21170
2010-04-26 18:27:54 +00:00
Gabor Juhos
8470d973ee ar71xx: create firmware images for the TL-WR941ND v3 boards
SVN-Revision: 21169
2010-04-26 18:27:51 +00:00
Gabor Juhos
97b031b57f 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.

SVN-Revision: 21168
2010-04-26 18:27:47 +00:00
Felix Fietkau
7966004d99 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236)
SVN-Revision: 21166
2010-04-26 16:39:13 +00:00
Felix Fietkau
9848d38aed ar71xx: fix a wifi card stability issue
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.

SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Gabor Juhos
4be3c3e48c kernel: refresh patches for 2.6.34-rc5 and update md5sum
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Gabor Juhos
81062a12ac kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Gabor Juhos
10ed3b23a6 ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos
9933d34770 ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos
d7919c8d0d ar71xx: fix mtd_layout for the DIR-615-C1 and similar devices
* Thanks to Yury Polyanskiy for the report

SVN-Revision: 21036
2010-04-20 08:07:25 +00:00
Gabor Juhos
693ea524c1 ar71xx: adding support for zyxel nbg460n/550n/550nh boards
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.

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

SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
Felix Fietkau
1c0e751391 ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary

tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers

SVN-Revision: 20892
2010-04-15 23:31:17 +00:00
Felix Fietkau
231012cba0 ar71xx: fix image builds (broken by r20834)
SVN-Revision: 20840
2010-04-13 18:01:46 +00:00
Nicolas Thill
e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Felix Fietkau
1633dd6b6c ar71xx: add a profile for PB92
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Gabor Juhos
6139571932 ar71xx: nuke clocksource init patches, it is not required since 2.6.27
SVN-Revision: 20764
2010-04-09 13:33:03 +00:00
Gabor Juhos
dd7304ec6d ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org

SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos
d6c0363884 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org

SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Gabor Juhos
4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org

SVN-Revision: 20751
2010-04-09 08:40:06 +00:00
Gabor Juhos
4a28844d80 ar71xx: ag71xx: call the phy driver's netif_receive_skb()
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.

This fixes the header mangling of the AR8216 driver.

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

SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Felix Fietkau
df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
23bebe33a7 Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.

SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Gabor Juhos
c874513cfa ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)
* cc: backfire@openwrt.org

SVN-Revision: 20673
2010-04-03 13:59:08 +00:00
Felix Fietkau
7983e442e1 ar71xx: fix pci on ar7241/ar7242
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau
9c0f21a5b9 ar71xx: fix the wan port on pb92
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau
2cc215f121 ar71xx: reset the mdio bus on ar7241/ar7242
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Gabor Juhos
8701291f0f ar71xx: add uci defaults to fix trx header on the WRT160NL boards
* patch by Otto Solares

SVN-Revision: 20526
2010-03-27 17:38:40 +00:00
Gabor Juhos
905f2d62f9 ar71xx: update image generation and trx header parsing for the WRT160NL
* patch by Bernhard Loos
 * note: trailing whitespaces has been removed

SVN-Revision: 20525
2010-03-27 17:38:36 +00:00
Gabor Juhos
b7ca043240 ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
SVN-Revision: 20506
2010-03-27 13:05:27 +00:00
Gabor Juhos
f9acf8ada1 ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
SVN-Revision: 20505
2010-03-27 13:05:24 +00:00
Gabor Juhos
200db5ebb5 ar71xx: ag71xx: reorganize ag71xx_rx_packet function
SVN-Revision: 20504
2010-03-27 13:05:20 +00:00
Gabor Juhos
245775a49f ar71xx: ag71xx: Add netpoll support
This patch adds support for polling interrupts, used by
netconsole and the likes.

Tested on d-link dir-615 C1 using netconsole.

Signed-off-by: Pat Erley <pat-lkml@erley.org>

SVN-Revision: 20503
2010-03-27 13:05:17 +00:00
Felix Fietkau
6ce1fd2301 ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
SVN-Revision: 20496
2010-03-26 22:36:02 +00:00
Felix Fietkau
0b6e32a7b0 ar71xx: add basic kernel support for pb92
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau
aa3ff31b95 ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau
4e10c56551 ar71xx: fix pci link detection for ar724x
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Andy Boyett
681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Gabor Juhos
35bb7be34d ar71xx: Add basic WLAN LED control to TL-WR1043ND
* thanks to KillaB
  * closes #6834

SVN-Revision: 20415
2010-03-25 07:31:17 +00:00
Gabor Juhos
c72b656d8d ar71xx: create smaller initramfs images for the TP-Link boards
SVN-Revision: 20414
2010-03-25 07:31:13 +00:00
Gabor Juhos
120b1d8699 ar71xx: use the RB411 setup for the RB411U
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos
9a1031ce6d ar71xx: change PHY select logic, and update phy_masks
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
18aa68d368 ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos
73f7a1c224 ar71xx: optimize register access in ar71xx_pci.c
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos
1dedaf30a6 ar71xx: optimize register access in irq.c
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos
2438a03ce4 ar71xx: optimize register access in ar724x_pci.c
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos
d02975eb0d ar71xx: introduce global ar724x_pci_ctrl_base variable
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos
b051a3b784 ar71xx: add error handling to ar724x_pcibios_init
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos
695e989c6f ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos
5f109ef2f3 ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos
4d32460353 ar71xx: use set_irq_chained_handler for the PCI IRQs
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos
1b8137eefc ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos
58911deda5 ar71xx: remove unnecessary includes from setup.c
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos
ca49e09c9a ar71xx: fix ar724x_pci_wr{,_nf} helpers
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Gabor Juhos
d350e4cf40 ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
* Thanks to Pascal Dornier

SVN-Revision: 20247
2010-03-16 19:53:25 +00:00
Gabor Juhos
74556519e3 ar71xx: optimize GPIO code
SVN-Revision: 20242
2010-03-16 14:02:31 +00:00
Gabor Juhos
0095ab73f3 ar71xx: fix defconfig script to work with ImageBuilder
* patch from #5722

SVN-Revision: 20231
2010-03-15 13:29:16 +00:00
Gabor Juhos
5da6ae3ab5 ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
SVN-Revision: 20230
2010-03-15 11:03:38 +00:00
Gabor Juhos
704320385f ar71xx: build firmware image for the Fry's FR-54RTR board
SVN-Revision: 20229
2010-03-15 11:03:36 +00:00
Gabor Juhos
ed3aca86a6 ar71xx: don't break the existing network configuration in the wget2nand script
SVN-Revision: 20228
2010-03-15 11:03:33 +00:00
Gabor Juhos
0b6f786316 ar71xx: change DIR-600-A1 image generation template, will be usable for other boards
SVN-Revision: 20227
2010-03-15 11:03:31 +00:00
Felix Fietkau
0849a208ce ar71xx: fix oprofile support
SVN-Revision: 20150
2010-03-11 18:48:57 +00:00
Felix Fietkau
2d305bdc23 the mips -ffreestanding patch has been unnecessary for a long time now, remove it
SVN-Revision: 20149
2010-03-11 18:48:50 +00:00
Alexandros C. Couloumbis
94db5a4acc ar71xx: add 2.6.34 preliminary support (patches)
SVN-Revision: 20141
2010-03-11 12:25:50 +00:00
Alexandros C. Couloumbis
f086ba1d82 ar71xx: add 2.6.34 preliminary support
SVN-Revision: 20139
2010-03-11 11:57:21 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Gabor Juhos
ffdc6ec8ed ar71xx: create smaller sysupgrade files for the TP-Link boards
SVN-Revision: 20121
2010-03-10 17:41:52 +00:00
Gabor Juhos
9daf566ddc ar71xx: fix sysupgrade on the LS-SR71 board
SVN-Revision: 20119
2010-03-10 17:41:45 +00:00
Gabor Juhos
eaccbd3fb8 ar71xx: add default network configuration for the PB44 board
SVN-Revision: 20099
2010-03-09 18:05:58 +00:00
Gabor Juhos
18ee1b6dda ar71xx: add uci-defaults for the RB750 board
SVN-Revision: 20097
2010-03-09 18:05:51 +00:00
Gabor Juhos
b21308313e ar71xx: override lan port names on the RB750
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
45ff7289fe ar71xx: allow overriding of the lan port names on AP91 based boards
SVN-Revision: 20095
2010-03-09 18:05:45 +00:00
Gabor Juhos
781c482e6a ar71xx: improve wget2nand script
SVN-Revision: 20094
2010-03-09 18:05:42 +00:00
Gabor Juhos
9003a98d83 ar71xx: fix a typo in the ar7240 dsa driver
SVN-Revision: 20093
2010-03-09 18:05:39 +00:00
Gabor Juhos
2a818f388a ar71xx: ag71xx: fix MAC address setup
SVN-Revision: 20092
2010-03-09 18:05:36 +00:00
Gabor Juhos
4d5a9fe402 ar71xx: add missing protocol definitions to default network configurations
SVN-Revision: 20091
2010-03-09 18:05:31 +00:00
Gabor Juhos
342ab781f5 ar71xx: simplify WP543 image generation, and fix rootfs offset
SVN-Revision: 20063
2010-03-08 15:32:48 +00:00
Gabor Juhos
3c829c412c ar71xx: sync .33 config
SVN-Revision: 20060
2010-03-08 14:38:46 +00:00
Gabor Juhos
8eac86e535 ar71xx: enable AR7240 DSA driver on 2.6.33 as well
SVN-Revision: 20059
2010-03-08 14:38:43 +00:00
Gabor Juhos
d48992b62b ar71xx: refresh patches
SVN-Revision: 20055
2010-03-08 13:00:23 +00:00
Gabor Juhos
d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a ar71xx: add ar71xx_gpio_function_setup
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf ar71xx: add latch handling code for the RB750
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
74f9af4c10 ar71xx: increase kernel partition size for the WP543 boards
SVN-Revision: 20049
2010-03-08 12:09:38 +00:00
Gabor Juhos
5e8c8818ed ar71xx: add preliminary support for the RouterBOARD 750
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
11af372116 ar71xx: make the rb4xx nand driver depends on AR71XX_MACH_RB4XX
SVN-Revision: 20028
2010-03-07 05:40:58 +00:00
Gabor Juhos
10ad4ea96c ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Gabor Juhos
97c35a7dde ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00
Gabor Juhos
52f03512dc ar71xx: fix sysupgrade on the WRT400N (thanks to chuljin)
* closes #6782

SVN-Revision: 20006
2010-03-05 20:29:27 +00:00
Gabor Juhos
7bda582cf7 ar71xx: fix status led detection on the RB4xx boards
SVN-Revision: 20005
2010-03-05 20:29:24 +00:00
Gabor Juhos
2702ae4e8f ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
SVN-Revision: 20004
2010-03-05 20:29:22 +00:00
Gabor Juhos
a4bccded57 ar71xx: ag71xx: move link update function
SVN-Revision: 20003
2010-03-05 20:29:18 +00:00
Gabor Juhos
eacf9a7614 ar71xx: ag71xx: don't use dev->trans_start
SVN-Revision: 20002
2010-03-05 20:29:14 +00:00
Gabor Juhos
ba288eeb84 ar71xx: ag71xx: use dma_unmap_single to unmap frames
SVN-Revision: 20001
2010-03-05 20:29:10 +00:00
Gabor Juhos
c38f612532 ar71xx: restore command line on 2.6.33
SVN-Revision: 19966
2010-03-03 20:04:12 +00:00
Gabor Juhos
eaa44c61ba ar71xx: sync 2.6.33 config
SVN-Revision: 19965
2010-03-03 20:04:08 +00:00
Gabor Juhos
58ec1289d9 ar71xx: refresh 2.6.33 patches
SVN-Revision: 19960
2010-03-03 09:40:17 +00:00
Gabor Juhos
0e4eaea770 ar71xx: ag71xx: use correct device pointer for dma_map_single
SVN-Revision: 19951
2010-03-02 13:36:18 +00:00
Gabor Juhos
84823e1477 ar71xx: ag71xx: don't use virt_to_phys
SVN-Revision: 19950
2010-03-02 13:36:15 +00:00
Gabor Juhos
4a987d6008 ar71xx: ag71xx: simplify register access functions
SVN-Revision: 19949
2010-03-02 13:36:12 +00:00
Gabor Juhos
e157281c5d ar71xx: ag71xx: use NETDEV_TX_OK
SVN-Revision: 19948
2010-03-02 13:36:09 +00:00
Gabor Juhos
347c5bc7fc ar71xx: use COMMAND_LINE_SIZE
SVN-Revision: 19947
2010-03-02 13:36:04 +00:00
Gabor Juhos
e1bb4af48b ar71xx: add default network configuration file for the TL-WR741ND board
SVN-Revision: 19930
2010-03-01 07:34:48 +00:00
Gabor Juhos
3f7d3dc939 ar71xx: add default network configuration file for the DIR-600 rev. A1 board
SVN-Revision: 19929
2010-03-01 07:34:46 +00:00
Gabor Juhos
b41c276df4 ar71xx: register DSA switch for the AP91 based boards
SVN-Revision: 19928
2010-03-01 07:34:43 +00:00
Gabor Juhos
6a702d127b ar71xx: add DSA driver for the AR7240 built-in ethernet switch
SVN-Revision: 19927
2010-03-01 07:34:41 +00:00
Gabor Juhos
8e22134773 ar71xx: add QinQ tagging format for the DSA driver
SVN-Revision: 19926
2010-03-01 07:34:37 +00:00
Matteo Croce
a15d58f605 ar71xx: 2.6.33 patches
SVN-Revision: 19908
2010-02-28 16:33:15 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Gabor Juhos
a9e8645232 ar71xx: select vsc73x5 microcode in the AP83/PB44 profiles
SVN-Revision: 19842
2010-02-24 13:49:02 +00:00
Gabor Juhos
1d4c70d9a6 ar71xx: refresh ksz8041 patch
SVN-Revision: 19841
2010-02-24 13:39:23 +00:00
Gabor Juhos
a6be62a4f1 ar71xx: add default network configuration file for the TL-WR1043ND board
Thanks to Andrew Tarabaras.

SVN-Revision: 19840
2010-02-24 13:39:20 +00:00
Gabor Juhos
30a2da99a1 ar71xx: register RTL8366RB switch on the TL-WR1043NB board
Thanks to Andrew Tarabaras.

SVN-Revision: 19839
2010-02-24 13:39:18 +00:00
Gabor Juhos
7c7f662a3f ar71xx: enable the RTL8366RB driver
Thanks to Andrew Tarabaras.

SVN-Revision: 19838
2010-02-24 13:39:14 +00:00
Gabor Juhos
f771c35033 ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
Thanks to Andrew Tarabaras

SVN-Revision: 19835
2010-02-24 13:38:51 +00:00
Gabor Juhos
3359e850a0 ar71xx: remove an accidentally committed patch
SVN-Revision: 19833
2010-02-24 13:38:44 +00:00
Gabor Juhos
1612fd447d ar71xx: enable TX/RX flow control on the AR7240
SVN-Revision: 19832
2010-02-24 13:38:41 +00:00
Gabor Juhos
187d5546db ar71xx: use the correct name for the status LED on the WRT400 board (thanks to chuljin, patch from #6734)
SVN-Revision: 19831
2010-02-24 13:38:37 +00:00
Gabor Juhos
560f7173b2 ar71xx: update default network configuration file for the WNDR3700
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19830
2010-02-24 13:38:31 +00:00
Gabor Juhos
f68a1d0a63 ar71xx: fix mac addresses on the DIR-600 rev. A1 board
SVN-Revision: 19752
2010-02-19 11:52:42 +00:00
Gabor Juhos
f792c3647e ar71xx: fix wireless mac address on the TL-WR741ND
SVN-Revision: 19751
2010-02-19 11:52:39 +00:00
Gabor Juhos
ccbfcba859 ar71xx: move AP91 specific ethernet initialization into a separate file
SVN-Revision: 19750
2010-02-19 11:52:36 +00:00
Gabor Juhos
f6e29416b5 ar71xx: create firmware images for the TL-WR941ND v4 board
SVN-Revision: 19749
2010-02-19 11:52:33 +00:00
Gabor Juhos
c5394fa7bb ar71xx: sync kernel config
SVN-Revision: 19747
2010-02-19 11:52:28 +00:00
Gabor Juhos
47990f61fb ar71xx: add uci configuration for the WAN LED on the WNDR3700
Based on a patch by Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19746
2010-02-19 11:52:25 +00:00
Gabor Juhos
da5cacba76 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19744
2010-02-19 11:52:19 +00:00
Gabor Juhos
b00fe580ed ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19743
2010-02-19 11:52:15 +00:00
Travis Kemen
5c75e1dd02 update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8 re-sort all target and subtarget config files
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Gabor Juhos
0017e832cc ar71xx: fix WLAN mac address on the TL-WR1043ND
SVN-Revision: 19573
2010-02-10 20:01:20 +00:00
Gabor Juhos
b285f2fc16 ar71xx: enable CFI probe for the WZR-HP-G300NH
SVN-Revision: 19567
2010-02-09 17:55:36 +00:00
Gabor Juhos
9677818050 ar71xx: sync kernel config
SVN-Revision: 19566
2010-02-09 17:55:33 +00:00
Gabor Juhos
0cbc5f678d ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
SVN-Revision: 19565
2010-02-09 16:27:35 +00:00
Gabor Juhos
d2cd6f3b99 kernel: 2.6.32: integrate m25p80 driver related patches from ar71xx
SVN-Revision: 19547
2010-02-08 09:37:16 +00:00
Gabor Juhos
ca5d6a7546 ar71xx: drop the mx25lxxx patch, these chips are supported in 2.6.32.7 already
SVN-Revision: 19545
2010-02-08 09:37:05 +00:00
Gabor Juhos
8282b63fa1 ar71xx: add support for the Winbond W25Q32BV SPI flash (based on the patch from #6641)
SVN-Revision: 19536
2010-02-06 17:59:16 +00:00
Gabor Juhos
c747902042 ar71xx: add missing fields to the ar71xx-ehci driver
SVN-Revision: 19534
2010-02-06 17:00:16 +00:00
Felix Fietkau
863e3c739a replace the hostapd-mini preselection in profiles with wpad-mini
SVN-Revision: 19503
2010-02-03 03:45:38 +00:00
Gabor Juhos
db808eaef4 ar71xx: nuke remaining patches
SVN-Revision: 19468
2010-01-31 17:59:16 +00:00
Gabor Juhos
02294423ad ar71xx: nuke 2.6.3[01] stuff
SVN-Revision: 19467
2010-01-31 17:56:43 +00:00
Imre Kaloz
e831384efb update to 2.6.32.7
SVN-Revision: 19379
2010-01-29 12:19:31 +00:00
Felix Fietkau
0e84ed29ea preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
SVN-Revision: 19370
2010-01-28 19:28:02 +00:00
Gabor Juhos
93e0e3ac0a ar71xx: switch to 2.6.32
SVN-Revision: 19359
2010-01-28 11:54:24 +00:00
Gabor Juhos
b5bc452308 kernel: move mips_machine.h to 'arch/mips/include/asm'
SVN-Revision: 19357
2010-01-28 09:32:41 +00:00
Gabor Juhos
3143e74705 ar71xx: fix 'section type conflict' build error
SVN-Revision: 19340
2010-01-26 09:57:29 +00:00
Felix Fietkau
56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Gabor Juhos
49c4df5487 rtl8366: make it available on all platforms
SVN-Revision: 19329
2010-01-25 15:13:38 +00:00
Gabor Juhos
aa196516d5 ar71xx: sync kernel configs
SVN-Revision: 19328
2010-01-25 14:24:58 +00:00
Gabor Juhos
97b983c8b9 rtl8366s: simplify mib counters handling
SVN-Revision: 19326
2010-01-25 14:24:53 +00:00
Gabor Juhos
20df2bf825 ar71xx: merge generic machine code into setup.c
SVN-Revision: 19325
2010-01-25 14:24:48 +00:00
Gabor Juhos
2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
46b0e6643a rtl8366_smi: rename rtl8366s specific functions and definitions
SVN-Revision: 19278
2010-01-22 17:37:58 +00:00
Gabor Juhos
08055fd6d1 rtl8366_smi: move chip specific stuff into its own struct
SVN-Revision: 19277
2010-01-22 17:37:53 +00:00
Gabor Juhos
de751af190 rtl8366_smi: separate gpio initialization
SVN-Revision: 19276
2010-01-22 17:37:50 +00:00
Gabor Juhos
a1247d2f83 rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
SVN-Revision: 19275
2010-01-22 17:37:47 +00:00
Gabor Juhos
ab278275ee rtl8366_smi: store device pointer instead of plaform_device
SVN-Revision: 19274
2010-01-22 17:37:41 +00:00
Gabor Juhos
edfa82ab60 rtl8366_smi: rename switch attribute handlers
SVN-Revision: 19254
2010-01-21 12:13:43 +00:00
Gabor Juhos
7aefde9f66 rtl8366_smi: simplify rtl8366_attr_get_port_link function
SVN-Revision: 19250
2010-01-20 20:36:30 +00:00
Gabor Juhos
83fb9f73e1 rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
SVN-Revision: 19249
2010-01-20 20:36:27 +00:00
Gabor Juhos
cad07a09c1 rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
SVN-Revision: 19248
2010-01-20 20:36:24 +00:00
Gabor Juhos
50849c6cff rtl8366_smi: minor code optimalizations
SVN-Revision: 19247
2010-01-20 20:36:21 +00:00
Gabor Juhos
3e6b3ea088 rtl8366_smi: coding style cleanup
SVN-Revision: 19246
2010-01-20 17:40:39 +00:00
Gabor Juhos
0e61dc3f61 ar71xx: create special initramfs images for the boards which does not accept standard uImages
SVN-Revision: 19245
2010-01-20 13:26:24 +00:00
Gabor Juhos
23e7dc9147 ar71xx: rename initramfs u-boot images
SVN-Revision: 19244
2010-01-20 13:26:21 +00:00
Gabor Juhos
5e5451a54d rtl8366_smi: add Kconfig option for the debugfs stuff
SVN-Revision: 19243
2010-01-20 09:30:36 +00:00
Gabor Juhos
0d48b043b1 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
SVN-Revision: 19242
2010-01-20 09:30:32 +00:00
Gabor Juhos
0296b24f80 rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
SVN-Revision: 19241
2010-01-20 09:30:25 +00:00
Gabor Juhos
743e7617b0 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
SVN-Revision: 19240
2010-01-20 07:06:18 +00:00
Gabor Juhos
43815d730b rtl8366_smi: move variable initialization out from the loop
SVN-Revision: 19239
2010-01-20 07:06:15 +00:00
Gabor Juhos
fbc389ae9d rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
SVN-Revision: 19237
2010-01-20 07:06:10 +00:00
Gabor Juhos
10f41663ff ar71xx: fix image generation for TL-WR741ND/TL-WR841ND-v5
SVN-Revision: 19230
2010-01-19 18:27:57 +00:00
Gabor Juhos
5959e9f498 ar71xx: create rescue image for the WZR-HP-G300NH
SVN-Revision: 19223
2010-01-18 16:46:57 +00:00
Gabor Juhos
b9328f2e04 ar71xx: change failsafe message
SVN-Revision: 19221
2010-01-18 09:15:35 +00:00
Gabor Juhos
caa74a5246 ar71xx: the AR913x has no OHCI controller, remove that package from the relevant profiles
SVN-Revision: 19220
2010-01-18 09:08:54 +00:00
Gabor Juhos
014f82ef6d ar71xx: update package list for the DIR-825 rev. B1
SVN-Revision: 19219
2010-01-18 09:01:52 +00:00
Gabor Juhos
ea2bf44bf1 ar71xx: add swconfig to the default packages
SVN-Revision: 19218
2010-01-18 09:01:49 +00:00
Gabor Juhos
a9c5e3159f ar71xx: update default network configuration for the WNDR3700/DIR-825-B1
Also drop the default network configuration of the TL-WR1043ND, because
the RTL8366RB switch is not yet supported by the rtl8366-smi driver.

SVN-Revision: 19217
2010-01-18 09:01:47 +00:00
Gabor Juhos
71d0a7a7bf ar71xx: fix ethernet mac address on the WZR-HP-G300NH
SVN-Revision: 19216
2010-01-18 09:01:44 +00:00
Gabor Juhos
c4838a0f9e rtl8366_smi: use inline function instead of a macro on top of container_of
SVN-Revision: 19215
2010-01-18 09:01:40 +00:00
Felix Fietkau
a86a28841c ar71xx: add some default configs for rtl8366 based devices
SVN-Revision: 19210
2010-01-18 00:44:52 +00:00
Felix Fietkau
3cc98b09f7 adjust switch default configs for the swconfig api change
SVN-Revision: 19209
2010-01-18 00:38:08 +00:00
Felix Fietkau
2670e906b6 ar71xx: fix portability errors in dd commands
SVN-Revision: 19207
2010-01-18 00:12:15 +00:00
Felix Fietkau
88ddc59655 rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
SVN-Revision: 19206
2010-01-18 00:12:12 +00:00
Felix Fietkau
b228fd428a rtl8366_smi: fix excessive stack usage and buffer handling bugs
SVN-Revision: 19205
2010-01-18 00:12:07 +00:00
Felix Fietkau
8394a32815 ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
2010-01-17 22:57:08 +00:00
Gabor Juhos
d2229cb1cc rtl8366_smi: register the switch directly from the probe routine
SVN-Revision: 19202
2010-01-17 21:37:09 +00:00
Gabor Juhos
088ba7e1db rtl8366_smi: use vlanmc name for all vlanconfig variables
SVN-Revision: 19201
2010-01-17 21:17:59 +00:00
Gabor Juhos
639212697d rtl8366_smi: use vlan4k name for all vlan4kentry variables
SVN-Revision: 19200
2010-01-17 21:17:57 +00:00
Gabor Juhos
9cb11e2eef rtl8366_smi: move memset into the rtl8366s_get_member_config function
SVN-Revision: 19199
2010-01-17 21:17:53 +00:00
Gabor Juhos
f55beb9e9b rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19198
2010-01-17 21:17:49 +00:00
Gabor Juhos
7f9b0eca90 rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19197
2010-01-17 21:17:46 +00:00
Gabor Juhos
a90792056c ar71xx: upgrade rtl8366_smi driver
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150

SVN-Revision: 19196
2010-01-17 21:17:42 +00:00
Gabor Juhos
001ebd8d90 ar71xx: create sysupgrade file for the WZR-HP-G300NH
SVN-Revision: 19193
2010-01-17 18:53:42 +00:00
Gabor Juhos
2c4be9350d ar71xx: update cfi patches for 2.6.3[12] as well
SVN-Revision: 19188
2010-01-17 14:33:35 +00:00
Gabor Juhos
8b78972577 ar71xx: move forcing of word write into a separate patch
SVN-Revision: 19187
2010-01-17 14:33:32 +00:00
Gabor Juhos
f9f827eac2 ar71xx: add optimizations to the cfi cmdset 002 status checking
SVN-Revision: 19186
2010-01-17 14:33:29 +00:00
Gabor Juhos
3789aa82ac ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865

SVN-Revision: 19185
2010-01-17 14:33:26 +00:00
Gabor Juhos
e02f1581d0 Fix Routerboard 411ar on board wireless
This patch adds the appropriate interrupt for slot 0 pin 1 of the Routerboard 411ar (RB411 with on board Atheros wireless).

Signed-off-by: Andrew Bates abates@omeganetserv.com

SVN-Revision: 19184
2010-01-17 14:33:23 +00:00
Felix Fietkau
ae440b2f00 ar71xx: the lack of DQ* flash status checking for cfi cmdset 0002 does not only apply to erase commands, it also affects writes. extend the workaround to cover writes commands as well
SVN-Revision: 19175
2010-01-17 01:07:18 +00:00
Gabor Juhos
21a235bc67 ar71xx: fix typos in the ar71xx.sh
SVN-Revision: 19151
2010-01-15 12:11:05 +00:00
Gabor Juhos
cb80426641 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
SVN-Revision: 19150
2010-01-15 12:08:03 +00:00
Gabor Juhos
e92c0c7830 ar71xx: add GPIO driver for the NXP 74HC153 chip
SVN-Revision: 19149
2010-01-15 12:07:58 +00:00
Gabor Juhos
3dc1073b53 ar71xx: reduce button threshold values
SVN-Revision: 19116
2010-01-13 10:18:30 +00:00
Gabor Juhos
29653e2467 ar71xx: fix 320S33B flash chip support
SVN-Revision: 19114
2010-01-13 06:52:12 +00:00
Gabor Juhos
58301cdeb8 ar71xx: add support for the D-Link DIR-600 rev. A1 board
SVN-Revision: 19100
2010-01-11 08:02:10 +00:00
Gabor Juhos
d8ace8978a ar71xx: add NAPI statistics to the ag71xx driver
SVN-Revision: 19079
2010-01-08 20:22:55 +00:00
Gabor Juhos
a37ae4f128 ar71xx: add missing flash partition for the DIR-825
SVN-Revision: 19075
2010-01-08 13:35:25 +00:00
Jo-Philipp Wich
d8bd549d71 fix typo after r19054
SVN-Revision: 19059
2010-01-06 20:16:07 +00:00
Gabor Juhos
d2ff313775 ar71xx: don't include nvram.h for the WRT400N
SVN-Revision: 19055
2010-01-06 15:24:04 +00:00
Gabor Juhos
51c76750fc ar71xx: add detailed interrupt statistics for the ag71xx driver
SVN-Revision: 19054
2010-01-06 15:24:01 +00:00
Gabor Juhos
de6bbad010 ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
SVN-Revision: 19047
2010-01-05 20:12:12 +00:00
Felix Fietkau
e8d518154f ar71xx: fix ubntxm image builds
SVN-Revision: 19044
2010-01-05 18:37:22 +00:00
Felix Fietkau
29a6649cf0 ar71xx: clean up image fs selection templates
SVN-Revision: 19034
2010-01-04 16:27:41 +00:00
Gabor Juhos
4e558554cb ar71xx: add missing templates for PB4X image generation
SVN-Revision: 19033
2010-01-04 14:28:31 +00:00
Gabor Juhos
46b572636b ar71xx: update Kconfig of the ag71xx driver
SVN-Revision: 19032
2010-01-04 14:28:28 +00:00
Gabor Juhos
63a320c8f7 ar71xx: add dummy debugfs support for the ag71xx driver
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Gabor Juhos
8113f1ae11 ar71xx: fix RB-450G board detection (closes: #6453)
SVN-Revision: 19030
2010-01-04 14:28:20 +00:00
Felix Fietkau
4dbf116c5f ar71xx: fix generating pb4x images
SVN-Revision: 19029
2010-01-04 11:54:58 +00:00
Gabor Juhos
ac4b63a18b ar71xx: create firmware images for the AP81/PB42/PB44 boards
SVN-Revision: 19011
2010-01-02 16:30:52 +00:00
Gabor Juhos
acf09aa0a8 ar71xx: simplify image generation a bit
SVN-Revision: 19010
2010-01-02 16:30:49 +00:00
Gabor Juhos
953ff0cf43 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
SVN-Revision: 18988
2010-01-01 19:40:04 +00:00
Gabor Juhos
f8b7b8ee41 ar71xx: update mips multi-machine stuff
SVN-Revision: 18985
2010-01-01 11:28:19 +00:00
Gabor Juhos
1a32a435f4 ar71xx: select AR71XX_NVRAM for the WRT160NL
SVN-Revision: 18984
2010-01-01 11:11:43 +00:00
Gabor Juhos
8516d4ca64 ar71xx: refresh patches
SVN-Revision: 18983
2010-01-01 11:11:39 +00:00
Gabor Juhos
9649acf7c6 ar71xx: fix wireless mac address on the WRT160NL
SVN-Revision: 18976
2009-12-31 12:42:53 +00:00
Gabor Juhos
858ea76117 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
SVN-Revision: 18951
2009-12-27 20:59:54 +00:00
Gabor Juhos
86a8480788 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
SVN-Revision: 18950
2009-12-27 20:59:50 +00:00
Gabor Juhos
828221c683 ar71xx: remove duplicated include
SVN-Revision: 18949
2009-12-27 20:59:46 +00:00
Gabor Juhos
761e67f9ff ar71xx: move dsa switch device support into a separate file
SVN-Revision: 18943
2009-12-26 14:19:26 +00:00
Gabor Juhos
bea984e187 ar71xx: move mach type definitions into a separate include file
SVN-Revision: 18942
2009-12-26 14:19:22 +00:00
Gabor Juhos
b7ee264d5f ar71xx: change board specific Kconfig option to 'default n'
SVN-Revision: 18941
2009-12-26 14:19:17 +00:00
Gabor Juhos
6ee4aa34ed ar71xx: move USB host device support into a separate file
SVN-Revision: 18940
2009-12-26 14:19:13 +00:00
Gabor Juhos
a93033d354 ar71xx: remove more unnecessary includes
SVN-Revision: 18939
2009-12-26 14:19:08 +00:00
Gabor Juhos
991a8d4398 ar71xx: use the generic m25p80 registration code for the MZK-W04NU
SVN-Revision: 18938
2009-12-26 14:19:05 +00:00
Gabor Juhos
c0993046d6 ar71xx: move gpio-buttons support into a spearate file
SVN-Revision: 18937
2009-12-26 14:19:01 +00:00
Gabor Juhos
3687b4fb26 ar71xx: move leds-gpio device support into a spearate file
SVN-Revision: 18936
2009-12-26 14:18:54 +00:00
Gabor Juhos
eb15b88af2 ar71xx: move PB42 specific PCI init code into a separate file
SVN-Revision: 18932
2009-12-25 13:09:04 +00:00
Gabor Juhos
7cf529c357 ar71xx: remove unnecessary includes
SVN-Revision: 18931
2009-12-25 13:09:00 +00:00
Gabor Juhos
40219e9bf4 ar71xx: fix bi-color led on the TL-WR841N v1.5
SVN-Revision: 18926
2009-12-25 10:06:25 +00:00
Gabor Juhos
af228d9eab ar71xx: change firmware image name for th TP-Link boards
SVN-Revision: 18895
2009-12-22 19:36:07 +00:00
Gabor Juhos
f8767b177d ar71xx: add ath9k and hostapd-mini for the TL-WR741ND profile
SVN-Revision: 18894
2009-12-22 19:36:03 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Gabor Juhos
ce6136a61c ar71xx: add dsa driver for the 88e6063 chip
SVN-Revision: 18892
2009-12-22 19:31:19 +00:00
Gabor Juhos
bb9123ebbe ar71xx: update AR7240 PCI code
SVN-Revision: 18860
2009-12-20 13:46:23 +00:00
Gabor Juhos
0a46ab2f97 ar71xx: fix WNDR3700 firmware images
WNDR3700's U-Boot loads the kernel from a squashfs image, and it does
not support squashfs 4.0.

SVN-Revision: 18851
2009-12-19 18:10:41 +00:00
Nicolas Thill
775ab67b6b ar71xx: fix WNDR3700 image generation
SVN-Revision: 18849
2009-12-19 14:45:43 +00:00
Gabor Juhos
6fcb5f6294 ar71xx: Fix LED active_low for the TL-WR1043ND board
This fixes the LED active_low's for the TP-Link wr1043nd board

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18844
2009-12-19 07:35:49 +00:00
Gabor Juhos
17ee33ebb9 tl-wr1043nd: Register missing leds.
This adds the folowing for the TP-Link wr1043nd board
1. USB and WLAN LEDS
2. Change QSS LED from red to green
3. Fix polarity of the System LED

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18821
2009-12-18 12:57:12 +00:00
Gabor Juhos
a733e30bf6 ar71xx: ar913x_wmac device support into a separate file
SVN-Revision: 18820
2009-12-18 12:57:09 +00:00
Gabor Juhos
70d31d46a8 ar71xx: move AP94 specific PCI init code into a separate file
SVN-Revision: 18819
2009-12-18 12:57:05 +00:00
Gabor Juhos
1f114b0dbd ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the patch from #6186)
SVN-Revision: 18818
2009-12-18 12:57:01 +00:00
Gabor Juhos
e190743d25 ar71xx: add common m25p80 device
SVN-Revision: 18817
2009-12-18 12:56:55 +00:00
Felix Fietkau
6a90a35f2b Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691) It's causing issues with switch drivers that register with swconfig and makes fixing those unnecessarily complicated. Fixes rtl8306 switch support on the WRT160NL.
SVN-Revision: 18789
2009-12-15 22:37:54 +00:00
Gabor Juhos
8bc4e3ea14 ar71xx: enable diagnostic LED on the Routerstation Pro
SVN-Revision: 18782
2009-12-15 08:35:11 +00:00
Gabor Juhos
4734a69891 ar71xx: add driver for the USB LED on the WNDR3700
SVN-Revision: 18758
2009-12-11 20:32:31 +00:00
Gabor Juhos
de8bfcaf38 ar71xx: add ar71xx_device_stopped function
SVN-Revision: 18757
2009-12-11 20:32:28 +00:00
Gabor Juhos
5e209e3852 ar71xx: fix build error with 2.6.31.7
SVN-Revision: 18756
2009-12-11 20:32:25 +00:00
Gabor Juhos
8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver
SVN-Revision: 18755
2009-12-11 19:32:58 +00:00
Gabor Juhos
1156a9ac0c ar71xx: merge DSA switch patch
SVN-Revision: 18752
2009-12-11 16:41:51 +00:00
Gabor Juhos
18885b425c ar71xx: merge ag71xx specific patches
SVN-Revision: 18751
2009-12-11 16:41:40 +00:00
Gabor Juhos
fce3ebbff8 ar71xx: nuke 2.6.28 support
SVN-Revision: 18750
2009-12-11 15:56:38 +00:00
Gabor Juhos
d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
2009-12-11 12:21:15 +00:00
Gabor Juhos
e35c8c6dc5 ar71xx: sync kernel configs
SVN-Revision: 18711
2009-12-09 08:03:35 +00:00
Gabor Juhos
2b988fa855 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
SVN-Revision: 18710
2009-12-09 08:03:31 +00:00
Felix Fietkau
2bff4bf4e5 rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly
SVN-Revision: 18709
2009-12-09 03:25:33 +00:00
Jo-Philipp Wich
e0042b55ea fix default network config after r18699
SVN-Revision: 18708
2009-12-08 22:22:16 +00:00
Felix Fietkau
ddc2e2270b ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
2009-12-08 14:06:18 +00:00
Gabor Juhos
7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos
b12d752a63 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos
63d8f159db ar71xx: register rtl8366_smi device on the WNDR3700
SVN-Revision: 18695
2009-12-08 10:29:37 +00:00
Gabor Juhos
cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
2009-12-08 10:29:35 +00:00
Gabor Juhos
5c7ee7f039 ar71xx: refresh patches
SVN-Revision: 18693
2009-12-08 10:29:30 +00:00
Gabor Juhos
18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos
0e79007faf ar71xx: move phy_connect call to ag71xx_open
SVN-Revision: 18691
2009-12-08 10:29:19 +00:00
Gabor Juhos
9bb13d59d9 ar71xx: experimental 2.6.32 support
SVN-Revision: 18638
2009-12-04 20:27:03 +00:00
Florian Fainelli
a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Gabor Juhos
4692b4e31e ar71xx: refresh 2.6.30 patches
SVN-Revision: 18623
2009-12-03 15:07:44 +00:00
Gabor Juhos
f065bbdf7f ar71xx: DIR-825 support cleanup
SVN-Revision: 18622
2009-12-03 15:07:41 +00:00
Gabor Juhos
e4d21e0399 ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to ValXdater)
SVN-Revision: 18621
2009-12-03 15:07:34 +00:00
Gabor Juhos
8a7e19e7db ar71xx: change mii_bus name
SVN-Revision: 18619
2009-12-03 14:17:12 +00:00
Gabor Juhos
a1e1fc7707 ar71xx: refresh 2.6.31 patches
SVN-Revision: 18618
2009-12-03 14:17:07 +00:00
Gabor Juhos
35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240
SVN-Revision: 18614
2009-11-30 13:53:39 +00:00
Felix Fietkau
fa0396c530 kernel: move CONFIG_MIPS_FPU_EMU to generic kernel config
SVN-Revision: 18603
2009-11-29 14:31:55 +00:00
Felix Fietkau
cb85dcb1a8 ar71xx: mask out reserved bits from the dma tx status in the ethernet driver
SVN-Revision: 18599
2009-11-29 13:38:03 +00:00
Felix Fietkau
896090973f ar71xx: add usb support for ubnt rocket m
SVN-Revision: 18598
2009-11-29 13:33:15 +00:00
Gabor Juhos
cfe5a8b593 ar71xx: fix mac address for 5GHz interface on WNDR3700
SVN-Revision: 18586
2009-11-28 18:01:09 +00:00
Gabor Juhos
0fd020c268 ar71xx: update ath9k_platform.h
SVN-Revision: 18585
2009-11-28 18:01:06 +00:00
Gabor Juhos
dbdc7ec969 ar71xx: fix extension of the WNDR3700 firmware image
SVN-Revision: 18579
2009-11-28 13:49:19 +00:00
Gabor Juhos
80266fc74c ar71xx: override mtd partitions for the TEW-632BRP family
SVN-Revision: 18578
2009-11-28 13:49:17 +00:00
Gabor Juhos
6d2fa1c896 ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
SVN-Revision: 18571
2009-11-28 09:28:25 +00:00
Gabor Juhos
bd4bec689d ar71xx: create sysupgrade image for the WNDR3700
SVN-Revision: 18570
2009-11-28 08:25:56 +00:00
Gabor Juhos
ac8369a672 ar71xx: fix a typo in ar71xx.sh
SVN-Revision: 18568
2009-11-28 08:25:49 +00:00
Gabor Juhos
536a4ce5b9 ar71xx: add default network configuration file for the WNDR3700
SVN-Revision: 18566
2009-11-27 21:21:24 +00:00
Gabor Juhos
971fcf9943 ar71xx: add PCI fixup for the WNDR3700 board
SVN-Revision: 18565
2009-11-27 21:21:21 +00:00
Gabor Juhos
f662714bba ar71xx: fix pll_1000 values for the WNDR3700
SVN-Revision: 18564
2009-11-27 21:21:17 +00:00
Gabor Juhos
5e89cb5d31 ar71xx: add AR724x GPIO_FUNC register bit defines
SVN-Revision: 18561
2009-11-27 21:21:06 +00:00
Gabor Juhos
b1e79f5d0f ar71xx: fix AR724X_GPIO_COUNT
SVN-Revision: 18560
2009-11-27 21:21:01 +00:00
Gabor Juhos
42d014bce4 ar71xx: add AR724x register defines
SVN-Revision: 18559
2009-11-27 21:20:54 +00:00
Gabor Juhos
726e2e4478 ar71xx: rename TL-WRx41 images, because newer factory web interface does not accept files with '.uni' extension.
SVN-Revision: 18535
2009-11-25 10:28:30 +00:00
Gabor Juhos
4292229e9f ar71xx: use MkImageLzma template for Ubiquiti XM devices
SVN-Revision: 18534
2009-11-25 09:51:33 +00:00
Gabor Juhos
4704478682 ar71xx: add sysupgrade support for Ubiquiti XM boards
SVN-Revision: 18533
2009-11-25 09:51:31 +00:00
Gabor Juhos
bc97b5de8b ar71xx: enable failsafe on the Nanostation M/Rocket M
SVN-Revision: 18532
2009-11-25 09:51:28 +00:00
Gabor Juhos
523aba9ff9 ar71xx: create combined images for the RS, RS-PRO and LS-SR71 boards, and add sysupgrade support for them
SVN-Revision: 18531
2009-11-25 09:51:25 +00:00
Gabor Juhos
1efac75b08 ar71xx: dont't build images for Ubiquiti XM devices with the Madwifi profile
SVN-Revision: 18530
2009-11-25 09:51:19 +00:00
Felix Fietkau
d55a046c48 ar71xx: the squashfs-4k images are unreliable in some builds. add 4k, 8k padding to the generic squashfs images and use them on 4k devices as well
SVN-Revision: 18526
2009-11-24 13:55:40 +00:00
Felix Fietkau
c9983c8912 ar71xx: use 4k erase size images for ubnt xm
SVN-Revision: 18498
2009-11-23 17:12:59 +00:00
Felix Fietkau
cfd97db63e ar71xx: build images for ubnt bullet-m, rocket-m and nano-m
SVN-Revision: 18451
2009-11-18 18:10:37 +00:00
Felix Fietkau
0c687044b2 ar71xx: use a separate board id for rocket m
SVN-Revision: 18450
2009-11-18 18:10:33 +00:00
Felix Fietkau
dd324a32ad ar71xx: enable command-line mtd map parsing
SVN-Revision: 18449
2009-11-18 18:10:28 +00:00
Matteo Croce
8bb3f7cbe5 ar71xx: add Ubiquiti Rocket M and Nanostation M support
SVN-Revision: 18447
2009-11-18 17:05:42 +00:00
Gabor Juhos
b7692e73c6 ar71xx: setup platform data for ath9k on the TL-WR741ND, Bullet M and on the WNDR3700 boards
SVN-Revision: 18437
2009-11-16 17:31:32 +00:00
Gabor Juhos
a12a03de8d ar71xx: register LEDs and buttons on the WNDR3700
Thanks to aorlinks (https://forum.openwrt.org/viewtopic.php?pid=97415#p97415)

SVN-Revision: 18435
2009-11-16 17:31:25 +00:00
Gabor Juhos
2f5d0b63d4 ar71xx: use __init for ar{71,91}xx_usb_setup
SVN-Revision: 18434
2009-11-16 17:31:22 +00:00
Gabor Juhos
5ab66428b0 ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311

SVN-Revision: 18411
2009-11-13 17:11:29 +00:00
Gabor Juhos
29c4876b2b ar71xx: add profile for the TL-WR841ND v5 board
SVN-Revision: 18409
2009-11-13 17:11:17 +00:00
Imre Kaloz
6b280112f2 some more Kconfig symbol move..
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz
1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz
ef42fb4c13 sort all target config files
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Gabor Juhos
6c2ad19baf ar71xx: sync 2.6.31 kernel config
SVN-Revision: 18227
2009-10-30 12:26:28 +00:00
Gabor Juhos
7849923473 ar71xx: add preliminary support for the TL-WR841ND v5 board
SVN-Revision: 18226
2009-10-30 12:26:25 +00:00
Gabor Juhos
21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
f336f8748c ar71xx: update mdio_reset code
SVN-Revision: 18224
2009-10-30 12:26:17 +00:00
Gabor Juhos
aeb60acd26 ar71xx: add missing profiles for the TL-WR841ND v3 and MZK-W300NH boards
SVN-Revision: 18223
2009-10-30 12:26:14 +00:00
Gabor Juhos
bff1160587 ar71xx: simplify image generation
SVN-Revision: 18222
2009-10-30 12:26:10 +00:00
Florian Fainelli
d4b251bdb8 update to 2.6.30.9
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Gabor Juhos
28e212cc40 ar71xx: add default network configuration for RS and RS-Pro
SVN-Revision: 18103
2009-10-20 19:36:47 +00:00
Gabor Juhos
a525c056d5 ar71xx: add default network configuration file for the WP543 board
SVN-Revision: 18101
2009-10-20 12:59:45 +00:00
Gabor Juhos
891a351b39 ar71xx: Compex WPJ543 board is supported as well
SVN-Revision: 18100
2009-10-20 12:59:42 +00:00
Gabor Juhos
053e9ab067 ar71xx: fix PCI IRQ map of the WP543
SVN-Revision: 18099
2009-10-20 12:59:39 +00:00
Gabor Juhos
4f1f99a63d ar71xx: create firmware image for WP543 boards with 4/8/16MB of flash
SVN-Revision: 18075
2009-10-19 08:07:40 +00:00
Gabor Juhos
71ca5a93a4 ar71xx: enable myloader partition parser on 2.6.30 and 2.6.31
SVN-Revision: 18074
2009-10-19 08:07:38 +00:00
Gabor Juhos
6236c48575 ar71xx: sync 2.6.30 kernel config
SVN-Revision: 18073
2009-10-19 08:07:35 +00:00
Gabor Juhos
b1cd54b6b9 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
SVN-Revision: 18072
2009-10-19 08:07:32 +00:00
Gabor Juhos
ebaa6a2fab ar71xx: reset the ethernet device before registration
SVN-Revision: 18071
2009-10-19 08:07:29 +00:00
Felix Fietkau
abffbb5da7 add a defconfig for wrt160nl which contains switch settings
SVN-Revision: 17826
2009-10-02 21:07:12 +00:00
Felix Fietkau
85bf6ad254 ar71xx: fix usb preselection in profiles
SVN-Revision: 17822
2009-10-02 18:17:23 +00:00
Gabor Juhos
4a99a9b7e3 ar71xx: use 'link4' LED for diagnostic on Bullet M
SVN-Revision: 17813
2009-10-01 19:41:13 +00:00
Gabor Juhos
399aeeed70 ar71xx: initialize PCI controller on the Bullet M
SVN-Revision: 17812
2009-10-01 19:41:11 +00:00
Gabor Juhos
d2c055526c ar71xx: init ethernet mac address on the Bullet M
SVN-Revision: 17811
2009-10-01 19:41:08 +00:00
Gabor Juhos
dd3b2ae8af ar71xx: add default network configuration for the Bullet M
SVN-Revision: 17810
2009-10-01 19:41:06 +00:00
Gabor Juhos
fa59c65847 ar71xx: register GPIO button on the Bullet M
SVN-Revision: 17809
2009-10-01 19:41:03 +00:00
Gabor Juhos
5aae65b58c ar71xx: add PCI Host Controller fixup for ar724x
SVN-Revision: 17808
2009-10-01 19:41:00 +00:00
Gabor Juhos
0757fee42d ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
SVN-Revision: 17807
2009-10-01 19:40:57 +00:00
Gabor Juhos
2e09669095 ar71xx: fix a typo in the ar724x PCI code
SVN-Revision: 17806
2009-10-01 19:40:51 +00:00
Gabor Juhos
054c54512f kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Gabor Juhos
8458d7c73b ar71xx: flush mii register writes
SVN-Revision: 17695
2009-09-23 17:44:08 +00:00
Gabor Juhos
fb5d52ee9f ar71xx: refresh 2.6.28 patches
SVN-Revision: 17694
2009-09-23 17:44:05 +00:00
Gabor Juhos
0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Gabor Juhos
6ed55b43d7 ar71xx: remove some extern directives in the ag71xx driver
SVN-Revision: 17692
2009-09-23 17:43:57 +00:00
Imre Kaloz
85fcc97a13 update to latest 2.6.27 and 2.6.30 kernels
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Matteo Croce
41ab4d3021 ar71xx: preliminary Ubiquiti Bullet M support
SVN-Revision: 17586
2009-09-15 09:16:21 +00:00
Gabor Juhos
47c0d7419f kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos
967cc718f8 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
SVN-Revision: 17566
2009-09-10 18:30:12 +00:00
Gabor Juhos
d59f5b3a98 kernel: add generic image_cmdline hack to MIPS targets
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Gabor Juhos
fee7b3530c ar71xx: refresh patches
SVN-Revision: 17559
2009-09-10 13:37:34 +00:00
Florian Fainelli
3ce53b8d92 update to 2.6.30.6, compile tested on some targets only
SVN-Revision: 17549
2009-09-09 07:35:06 +00:00
Gabor Juhos
376fba2698 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
SVN-Revision: 17543
2009-09-08 19:16:15 +00:00
Gabor Juhos
04f8c5293d ar71xx: the adm6996 phy driver does not work with the RouterStation, disable it until we find a better solution
SVN-Revision: 17539
2009-09-08 07:03:20 +00:00
Gabor Juhos
b6ce09fea4 ar71xx: use WPS led for diagnostic on WRT160NL
SVN-Revision: 17518
2009-09-05 18:46:43 +00:00
Gabor Juhos
582b8ba168 move early_printk stuff into a separate file
SVN-Revision: 17403
2009-08-26 07:31:04 +00:00
Gabor Juhos
4c8aa29833 remove AR71XX_EARLY_SERIAL stuff
SVN-Revision: 17400
2009-08-25 17:13:12 +00:00
Gabor Juhos
870d5442e1 add 2.6.31 config
SVN-Revision: 17369
2009-08-24 19:58:38 +00:00
Gabor Juhos
852451deeb add patches for 2.6.31
SVN-Revision: 17366
2009-08-24 19:29:50 +00:00
Gabor Juhos
167120730b initialize ndo_tx_timeout field of netdev_ops
SVN-Revision: 17363
2009-08-24 18:53:27 +00:00
Gabor Juhos
d2693b8b60 refresh patches
SVN-Revision: 17362
2009-08-24 16:29:48 +00:00
Gabor Juhos
0b869ee143 preliminary failsafe support (closes #5726)
SVN-Revision: 17321
2009-08-19 20:16:01 +00:00
Gabor Juhos
39b7814f25 add diag script (closes #5725)
SVN-Revision: 17320
2009-08-19 19:26:53 +00:00
Gabor Juhos
3cb84887f5 fix package name of kmod-leds-gpio
SVN-Revision: 17318
2009-08-19 19:09:22 +00:00
Florian Fainelli
0c5a73ec9b use 2.6.30.5
SVN-Revision: 17296
2009-08-17 15:05:26 +00:00
Felix Fietkau
a4ed24b404 add the swconfig utility to the wrt160nl profile
SVN-Revision: 17250
2009-08-14 00:52:25 +00:00
Felix Fietkau
5ba92b0c5e ar71xx: enable rtl8306 support by default (for wrt160nl)
SVN-Revision: 17249
2009-08-14 00:52:21 +00:00
Felix Fietkau
fe8feb1eaa ar71xx: change the linking order of the ag71xx module so that the driver can take advantage of phy fixups
SVN-Revision: 17247
2009-08-14 00:52:12 +00:00
Gabor Juhos
304589a066 switch to 2.6.30
SVN-Revision: 17244
2009-08-13 10:43:15 +00:00
Gabor Juhos
dd48a43550 WRT160NL: add default trigger for the power led
SVN-Revision: 17203
2009-08-09 14:13:26 +00:00
Gabor Juhos
a59d59be79 enable sysupgrade on the WRT160Nl
SVN-Revision: 17202
2009-08-09 14:12:24 +00:00
Gabor Juhos
214f39d46d WRT160NL: more mtd parser cleanup
SVN-Revision: 17201
2009-08-09 12:56:06 +00:00
Gabor Juhos
253c9fcf7d WRT160NL: enable mtd parser on 2.6.30
SVN-Revision: 17178
2009-08-08 13:09:03 +00:00
Gabor Juhos
c202ef57b1 WRT160NL: mtd parser cleanup
SVN-Revision: 17177
2009-08-08 13:06:28 +00:00
Gabor Juhos
8f854e27c8 move the trx parser out from the patch
SVN-Revision: 17176
2009-08-08 12:08:41 +00:00
Gabor Juhos
0c2142d309 WRT160NL: register GPIO LEDs and buttons
SVN-Revision: 17166
2009-08-07 17:33:02 +00:00
Gabor Juhos
21d2934f38 create firmware image for the WRT160NL board (thanks to Gerry Rozema)
SVN-Revision: 17151
2009-08-06 19:07:47 +00:00
Gabor Juhos
49ad8232fb add try partition parser for the WRT160NL board (thanks to Christian Daniel and Gerry Rozema)
SVN-Revision: 17150
2009-08-06 19:06:54 +00:00
Gabor Juhos
c23ddf2d27 update ar71xx_spi driver
SVN-Revision: 17143
2009-08-06 10:56:48 +00:00
Gabor Juhos
66f839ac67 oops, add missing semicolons
SVN-Revision: 17142
2009-08-06 09:42:29 +00:00
Gabor Juhos
e632633c5d get rid of some ifdefs in the IRQ code
SVN-Revision: 17141
2009-08-06 09:32:15 +00:00
Gabor Juhos
304fbfa841 init mac address on the WRT160NL board (thanks to Gerry Rozema for testing)
SVN-Revision: 17124
2009-08-04 17:45:00 +00:00
Gabor Juhos
bfd20cb57d init mac address on the TEW-632BRP boards (closes #5403)
SVN-Revision: 17100
2009-08-03 07:48:21 +00:00
Gabor Juhos
116576b3ba fix MISC IRQ handling on the AR7240
SVN-Revision: 17098
2009-08-02 13:27:43 +00:00
Gabor Juhos
9d1e01a159 fix sysupgrade
SVN-Revision: 17092
2009-08-02 09:27:38 +00:00