summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbagejuhosg2010-11-191-1/+1
| | | | | | | | | 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
* ar71xx: return statements does not need parenthesisjuhosg2010-11-121-1/+1
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix inline attribute locationjuhosg2010-11-121-1/+1
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wrap long linesjuhosg2010-11-125-11/+17
| | | | | | | | (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
* ar71xx: fix trailing statements locationjuhosg2010-11-122-4/+8
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix whitespaces nitsjuhosg2010-11-1237-243/+243
| | | | | | | | (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
* [ar71xx] Add support for Ubiquiti UniFi APclaudio2010-11-062-0/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Set eth1 MAC address from EEPROM for WNDR3700nbd2010-11-041-2/+7
| | | | | | | | | | | | | 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
* ar71xx: fix the wndr3700 antenna group setting for the first wireless chip ↵nbd2010-11-041-1/+1
| | | | | | (thx, Mark Mentovai) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and ↵nbd2010-11-033-6/+23
| | | | | | 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
* ar71xx: use the new ar7240 switch driver for tl-wa901nd as wellnbd2010-10-212-14/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tinteljow2010-10-141-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new ↵nbd2010-10-147-102/+15
| | | | | | switch driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)nbd2010-10-141-1/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for jjPlus JWAP003juhosg2010-10-014-0/+91
| | | | | | | | | 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
* AP96: Fix LAN/WAN setupnbd2010-09-281-4/+8
| | | | | | | | | 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
* ar71xx: add support for the TL-MR3420 v1 boardjuhosg2010-09-274-0/+160
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: AR724[12] requires different USB setupjuhosg2010-09-272-11/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the MDIO interface of the 2nd MAC on the ar7241juhosg2010-09-271-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move ath9k specific PCI fixup into a separate filejuhosg2010-09-276-148/+140
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCsjuhosg2010-09-271-1/+14
| | | | | | | 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
* Add support for Atheros AP96 reference boardnbd2010-09-274-0/+186
| | | | | | | | | | | | 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
* ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not ↵nbd2010-09-051-2/+1
| | | | | | 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
* ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boardsjuhosg2010-09-034-1/+223
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rewrite SPI drivers for the RB4xx boardsjuhosg2010-08-312-59/+146
| | | | | | | | | | * 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
* ar71xx: change mac address initializationjuhosg2010-08-1831-61/+101
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a new driver for the ar7240 switch using swconfig.nbd2010-08-162-1/+18
| | | | | | | | 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
* ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these ↵nbd2010-07-271-6/+0
| | | | | | 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
* ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter ↵nbd2010-07-224-0/+154
| | | | | | "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
* ar71xx: set default values for the fifo cfg registers on AR724xnbd2010-07-201-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: in-flash macs and eeprom for mach-eap7660djuhosg2010-07-152-3/+79
| | | | | | | | | | 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
* ar71xx: add support for the Senao EAP7660D boardjuhosg2010-06-184-0/+99
| | | | | | | | | 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
* ar71xx: avoid duplicated 'board' parameter in kernel command linejuhosg2010-06-141-8/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtypejuhosg2010-06-122-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask for the RB450juhosg2010-06-091-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask on the RB433 for the IP17xx driverjuhosg2010-06-081-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 2.6.34 build errorsjuhosg2010-06-072-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nbg460n mtd partitionsjuhosg2010-05-141-5/+12
| | | | | | | | | 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
* ar71xx: remove config partition from the mtd map on the MZK-W300NH boardjuhosg2010-04-261-6/+2
| | | | | | | 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
* ar71xx: fix firmware partition size on the MZK-W04NU boardjuhosg2010-04-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a wifi card stability issuenbd2010-04-241-1/+26
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reduce button threshold value on the NBG460 boardjuhosg2010-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttonsjuhosg2010-04-2121-40/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adding support for zyxel nbg460n/550n/550nh boardsjuhosg2010-04-184-0/+225
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update phy masks for the Planex boardsjuhosg2010-04-092-4/+10
| | | | | | | | | This avoids probing of the AR8216 chip on the eth0 interface. Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boardsjuhosg2010-04-092-8/+16
| | | | | | | Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet on final pb92 board (previous value was based on a ↵nbd2010-04-061-1/+1
| | | | | | preliminary version) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 1/2] Add support for the ar8316 switch.jow2010-04-052-0/+2
| | | | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix pci on ar7241/ar7242nbd2010-03-281-3/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix the wan port on pb92nbd2010-03-281-9/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73