summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix ethernet device registration for the QCA9556 SoCjuhosg2013-01-291-0/+12
| | | | | | | | | Based on http://patchwork.openwrt.org/patch/3162/ Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable fast flash read on dual-flash devicesjuhosg2013-01-291-0/+1
| | | | | | | | | | | | | | | This improves flash read speed on various Buffalo units. mtd_speedtest results on the WZR-HP-AG300H: old new delta eraseblock read speed: 726 KiB/s 2068 KiB/s +184.85% page read speed: 699 KiB/s 1973 KiB/s +182.26% 2 page read speed: 711 KiB/s 2043 KiB/s +187.34% Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵juhosg2013-01-073-4/+7
| | | | | | | | | | | | | | | | | | TL-WR703N/MR3020/MR3040/MR11U boards The PHY_SWAP and PHY_ADDR_SWAP bits are initialized differently by different versions of the bootloader. This leads to broken ethernet connection with OpenWrt on some boards. Turn both SWAP bits OFF on these boards to make it consistent regardless of the bootloader used. Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to register the NAND flash controller on the QCA955xjuhosg2013-01-011-7/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: show PHY interface mode in dmesgjuhosg2012-12-251-2/+24
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet device registration for QCA9558juhosg2012-12-221-1/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fixup allowed PHY interface types for QCA9558juhosg2012-12-221-2/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't assign any MII bus device on QCA9558 by defaultjuhosg2012-12-221-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix mii_bus_dev sanity checkjuhosg2012-12-221-1/+1
| | | | | | | | | | The mii_bus device is not required if phy_mask is zero. The driver will use a fixed connection if it is not specified. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_devjuhosg2012-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to do that causes a NULL pointer dereference: CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4 Oops[#1]: Cpu 0 $ 0 : 00000000 00000000 00000000 00000001 $ 4 : 00000000 802e6390 ffff8f45 00000001 $ 8 : 804b5360 ffffff80 802f93bc 00000000 $12 : 802f93e8 00000000 00000000 00000000 $16 : 8381aba0 8381aba0 00000000 00000000 $20 : 8295eff0 00000032 80000000 004101b8 $24 : 00000000 777265b0 $28 : 82936000 82937cf0 00420000 801d18d4 Hi : 00000000 Lo : 00000001 epc : 801d170c ar7240sw_reset+0x1c/0x19c Tainted: G O ra : 801d18d4 ag71xx_ar7240_start+0x28/0xc0 Status: 1100fc03 KERNEL EXL IE Cause : 00800008 BadVA : 00000000 PrId : 00019750 (MIPS 74Kc) Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button _hotplug(O) Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750) Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000 8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0 8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c 8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c 8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348 ... Call Trace: [<801d170c>] ar7240sw_reset+0x1c/0x19c [<801d18d4>] ag71xx_ar7240_start+0x28/0xc0 [<801cf900>] ag71xx_open+0x1d0/0x258 [<801ec08c>] __dev_open+0xcc/0x130 [<801ec348>] __dev_change_flags+0xc0/0x160 [<801ec490>] dev_change_flags+0x20/0x6c [<801ec5c8>] dev_ifsioc+0xec/0x348 [<801ecdb8>] dev_ioctl+0x594/0x67c [<800ec00c>] do_vfs_ioctl+0x598/0x5ec [<800ec0b0>] sys_ioctl+0x50/0x90 [<8006a3c4>] stack_done+0x20/0x40 Code: afbf0024 afb40020 afb10014 <8c910000> 00809021 24100104 24130704 8e440000 02002821 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_datajuhosg2012-12-225-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the TL-MR3220 v2juhosg2012-12-191-10/+42
| | | | | | | | | | | | | | | Based on the following patch: http://patchwork.openwrt.org/patch/3043/ [juhosg: - remove custom LED and button arrays - use separate machine specific patch - update Kconfig] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the NETGEAR WNDR4300juhosg2012-12-121-0/+182
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ap91_pci_init_simple helperjuhosg2012-12-122-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform datajuhosg2012-12-105-10/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make rb750_nand driver compatible with 3.7juhosg2012-11-201-16/+4
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make ar934x_nfc driver compatible with 3.7juhosg2012-11-201-13/+0
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove buffer verification reference from rb4xx_nand.cjuhosg2012-11-201-3/+0
| | | | | | | | It is a dead code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: restore rb4xx kernel partition size to the original valuejuhosg2012-11-201-1/+1
| | | | | | | | | The new lzma compressed elf kernel image fits into that, even on devices with large page NAND chips. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the RB435G boardjuhosg2012-11-181-0/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update PCI IRQ map for RB4xx devicesjuhosg2012-11-181-0/+28
| | | | | | | | Should fix #12269. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR600 boardjuhosg2012-11-181-0/+128
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WA7510Njuhosg2012-11-131-11/+29
| | | | | | | | | | | | | | | | | | | | It is mostly the same as TL-WA901N. WLAN and LAN are working. LAN LED is working. WLAN signal strength LEDs are not working yet. http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n [juhosg: - cleanup commit message - move non kernel related stuff into separate changes - rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch - merge WA7510N support into the mach-tl-wa901nd.c file - add 3.6 support] Signed-off-by: Stefan Helmert <helst_listen@aol.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpiojuhosg2012-11-059-19/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't use the unknown LED on the ZCN-1523-5 boardjuhosg2012-11-041-4/+1
| | | | | | | | | | | | | | According to #12421, GPIO 1 controls the power output on the unused lines of the LAN2 port. Remove the LED definition in order to prevent possible permanent hardware damage. If someone needs that, the power-out feature can be controlled via the GPIO sysfs interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boardsjuhosg2012-10-291-1/+2
| | | | | | | | | The default pll_1000 value had to be changed in order to make it working. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove NO_AUTOINCR flag from the NAND driversjuhosg2012-10-283-3/+0
| | | | | | | | | The flag is not present in 3.6. Also add compatibility patches for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix build_skb arguments for 3.6juhosg2012-10-271-1/+1
| | | | | | | | Also add a compatibility patch for 3.3 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Senao CAP4200AG boardjuhosg2012-10-271-0/+131
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use mtd_read in wrt160nl_partjuhosg2012-10-271-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use mtd_read in tplinkpartjuhosg2012-10-271-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rw2458n - fix flash partsjuhosg2012-10-191-10/+1
| | | | | | | | | See #12338. Redwave rw2458 has uboot, not redboot. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routinesjuhosg2012-10-175-97/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function for setting up ETH_CFG register on AR934xjuhosg2012-10-172-0/+25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the OpenMesh OM2P-HS boardjuhosg2012-10-171-0/+68
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-WR841N/ND v8 boardjuhosg2012-10-041-0/+159
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_macjuhosg2012-09-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on TEW-673GRUjuhosg2012-09-251-18/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on DIR-825-B1juhosg2012-09-251-17/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use different machtype and setup for the TL-MR3040juhosg2012-09-241-14/+34
| | | | | | Should fix #12211. Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_readjuhosg2012-09-171-12/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: increase DMA retry countjuhosg2012-09-171-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: optimize READOOB operation on large page devicesjuhosg2012-09-171-6/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix RNDOUT operationjuhosg2012-09-171-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devicesjuhosg2012-09-171-6/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the NAND controller device on the RB2011juhosg2012-09-131-0/+77
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add device registration code for the AR934x NAND flash controllerjuhosg2012-09-132-0/+122
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934xjuhosg2012-09-132-0/+1179
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for RB2011UAS-2HnDjuhosg2012-09-091-0/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use routerboot_find_tag to find wlan data offset on RB751juhosg2012-09-091-8/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73