aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: remove mii_ctrl resources of the ethernet devicesGabor Juhos2011-11-131-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xxGabor Juhos2011-11-132-19/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_cfg related functions and definesGabor Juhos2011-11-131-40/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set MII interface speed from the set_speed callbacksGabor Juhos2011-11-133-6/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename set_pll callback to set_speed in ag71xx_platform_dataGabor Juhos2011-11-133-30/+30
| | | | | | Also rename the corresponding callback functions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove MII interface setup codeGabor Juhos2011-11-133-16/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure MII interface type from ar71xx_setup_phy_if_modeGabor Juhos2011-11-132-6/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix occasional kernel hangs during boot on AR934xGabor Juhos2011-11-131-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | The patch taken from the linux-mips mailing list. The Kernel hangs occasionally during boot after "Calibrating delay loop..". This is caused by the c0_compare_int_usable() routine in cevt-r4k.c returning false which causes the system to disable the timer and hang later. The false return happens because the routine is using a series of four calls to irq_disable_hazard() as a delay while it waits for the timer changes to propagate to the cp0 cause register. On newer MIPS cores, like the 74K, the series of irq_disable_hazard() calls turn into ehb instructions and can take as little as a few clock ticks for all 4 instructions. This is not enough of a delay, so the routine thinks the timer is not working. This fix uses up to a max number of cycle counter ticks for the delay and uses back_to_back_c0_hazard() instead of irq_disable_hazard() to handle the hazard condition between cp0 writes and cp0 reads. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh kernel patchesGabor Juhos2011-11-132-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the button for WPS control on the DB120Gabor Juhos2011-11-121-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the second ethernet interface on the DB120 boardGabor Juhos2011-11-121-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: implement SoC specific phy interface setupGabor Juhos2011-11-121-17/+85
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move phy interface setup into a separate functionGabor Juhos2011-11-121-24/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register both MDIO bus on the DB120 boardGabor Juhos2011-11-121-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934X specific MDIO registration codeGabor Juhos2011-11-121-1/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a secondary mdio busGabor Juhos2011-11-122-15/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*Gabor Juhos2011-11-124-19/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add an id argument to ar71xx_add_device_mdioGabor Juhos2011-11-1239-47/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsaGabor Juhos2011-11-124-20/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934x specific USB setupGabor Juhos2011-11-121-3/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the first ethernet interface on the DB120 boardGabor Juhos2011-11-121-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to register ethernet interfaces for AR934XGabor Juhos2011-11-121-0/+54
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use fixed link parameters if the mii bus is not registeredGabor Juhos2011-11-121-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934X specific bootstrap and reset register bitsGabor Juhos2011-11-122-3/+51
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add diag support for the DB120 boardGabor Juhos2011-11-122-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GPIO direction setup for AR934xGabor Juhos2011-11-121-0/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR934X clock frequency calculationGabor Juhos2011-11-122-12/+48
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generate ubootenv from uci-defaults instead of providing defconfigGabor Juhos2011-11-122-5/+37
| | | | | | | | | | I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is indeed much nicer. So I moved over ubootenv from having a defconfig-entry to also be generated from uci-defaults. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove dead codeFelix Fietkau2011-11-081-15/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on ar7240, exclude ports from their own port vlan destination maskFelix Fietkau2011-11-081-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create TL-WA901ND network config from uci-defaultsGabor Juhos2011-11-072-16/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create ALL0258N network config from uci-defaultsGabor Juhos2011-11-072-12/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create NBG{460N,550N,550NH} network config from uci-defaultsGabor Juhos2011-11-072-26/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create WZR-HP-G300NH network config from uci-defaultsGabor Juhos2011-11-072-26/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create RB-493G network config from uci-defaultsGabor Juhos2011-11-072-41/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create TL-WR1043ND network config from uci-defaultsGabor Juhos2011-11-072-31/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create WRT160NL network config from uci-defaultsGabor Juhos2011-11-072-26/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create PB92 network config from uci-defaultsGabor Juhos2011-11-072-31/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create DIR-825-B1 network config from uci-defaultsGabor Juhos2011-11-072-26/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaultsGabor Juhos2011-11-073-40/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create RB-450 network config from uci-defaultsGabor Juhos2011-11-072-26/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create RB-450G, RouterStation Pro network config from uci-defaultsGabor Juhos2011-11-073-52/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create RB-433{,U} network config from uci defaultsGabor Juhos2011-11-073-52/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create even more network configs from the uci-defaults scriptGabor Juhos2011-11-0717-394/+45
| | | | | | | | Create the default network configuration dynamically for the AR724x/AR9331 boards. Some other boards are using the same configuration, so convert those as well. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create more network configs from the uci-defaults scriptGabor Juhos2011-11-076-80/+8
| | | | | | | Create the default network configuration dynamically for the boards with swapped eth0, eth1 interfaces. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create a bunch of network configs from the uci-defaults scriptGabor Juhos2011-11-078-83/+10
| | | | | | | Create the default network configuration dynamically for the boards with a single ethernet interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create generic network config from an uci-defaults scriptGabor Juhos2011-11-073-17/+66
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove AP81 defconfig, it is the same as the generic configGabor Juhos2011-11-071-16/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change generated Buffalo firmware versionsGabor Juhos2011-11-071-4/+4
| | | | | | | | | With version 1.76 the upgrade may fail with newer Buffalo firmwares with a message like this: "You can not update the firmware because the firmware version is earlier than 1.82. Please use 1.82 or later version for firmware update." git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boardsGabor Juhos2011-11-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28812 3c298f89-4303-0410-b956-a3cf2f4a3e73