Gabor Juhos
1fdbb4fcbd
ar71xx: fix a compiler warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:47 +00:00
Gabor Juhos
33c5c80fa5
ar71xx: fix GPIO count for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:45 +00:00
Gabor Juhos
54d08f41c9
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:53 +00:00
Gabor Juhos
546895e938
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:51 +00:00
Gabor Juhos
a921ab0827
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:49 +00:00
Gabor Juhos
ed73833a62
ar71xx: add an irq parameter for ar724x_pcibios_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:47 +00:00
Gabor Juhos
6e87fe5dc5
ar71xx: remove hardwired interface parameters from mach-* files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:09 +00:00
Gabor Juhos
6f6b552473
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:07 +00:00
Gabor Juhos
75a8898840
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:05 +00:00
Florian Fainelli
fb3e9ac6b0
[brcm63xx] build images for Pirelli A226M ( #10409 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:22 +00:00
Florian Fainelli
150feffb3b
[brcm63xx] register uart0 on DWV-S0 boards ( #10409 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:18 +00:00
Florian Fainelli
dea0392387
[kernel] refresh 3.0 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:14 +00:00
Florian Fainelli
9efe7cdbb7
[kernel] refresh 2.6.39 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:10 +00:00
Florian Fainelli
f849b5a225
[brcm63xx] rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:05 +00:00
Florian Fainelli
351f04672c
[rdc] fix typo, load ip17xx switch module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 18:41:26 +00:00
Gabor Juhos
562bd7628c
ar71xx: enable has_gbit flag on AR724{0,1}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 17:36:36 +00:00
Gabor Juhos
81359fd675
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00
Gabor Juhos
23823d7a65
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:01 +00:00
John Crispin
8902490d28
madwifi: rename patch from ifxmips -> lantiq
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:10:52 +00:00
John Crispin
c517d3fe7f
uboot-lantiq: not all configs were using lzma for compression, add gigaset ramboot image
...
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:09:34 +00:00
Jonas Gorski
3e8f76c6c1
include/kernel.mk: don't check for modules.builtin on 2.6.32-
...
modules.builtin is only available in 2.6.33 and later, so fall back to
assuming it's built-in for older kernels.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:45:09 +00:00
Gabor Juhos
8e7450e3c2
ar71xx: ag71xx: add support for getting switch port link status
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:04 +00:00
Gabor Juhos
25722074a3
ar71xx: remove mii_ctrl resources of the ethernet devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:03 +00:00
Gabor Juhos
0e2b6d0d25
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:01 +00:00
Gabor Juhos
f0a3d94dff
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:00 +00:00
Gabor Juhos
51b1d36e03
ar71xx: set MII interface speed from the set_speed callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:59 +00:00
Gabor Juhos
0839b18e6f
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:57 +00:00
Gabor Juhos
7e0c585208
ar71xx: ag71xx: remove MII interface setup code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:56 +00:00
Gabor Juhos
b28f1d9516
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:54 +00:00
Gabor Juhos
819f6df245
ar71xx: fix occasional kernel hangs during boot on AR934x
...
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
2011-11-13 11:26:52 +00:00
Gabor Juhos
003cbe35e2
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:51 +00:00
Jonas Gorski
e30803b3df
linux: update 3.1 to 3.1.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 10:48:05 +00:00
John Crispin
b94c5c5031
lantiq: add uci-defaults code for handling leds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:21 +00:00
John Crispin
508789fa68
lantiq: add /lib/lantiq.sh and make hotplug handlers use it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:16 +00:00
John Crispin
39c1578720
lantiq: rename leds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:12 +00:00
John Crispin
a7830ac4e2
lantiq: split compat headers out of bsp header patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:07 +00:00
John Crispin
4d22bffe5b
lantiq: adds hotplug handler for loading rt2x00 firmware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:01 +00:00
John Crispin
e685dc989d
lantiq: adds hotplug handler for handling buttons and makes w303v work with it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:39:56 +00:00
John Crispin
5d23a8d4b2
lantiq: cleanup default package selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:39:51 +00:00
John Crispin
a6a4c7a38a
lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 18:41:15 +00:00
Gabor Juhos
be0c011b6e
kernel: ar8216: add support for the AR8236 switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:52 +00:00
Gabor Juhos
663c9eaaa1
kernel: ar8216: move port vlan setup into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:50 +00:00
Nicolas Thill
dc5dd36df4
package/base-files: enhance service functions
...
* allow matching process by name (useful for processes changing it)
* check if first argument is executable
* fix function name used in error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 13:53:15 +00:00
Gabor Juhos
96e3c5d0b8
ar71xx: use the button for WPS control on the DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:20 +00:00
Gabor Juhos
0b8f0e8e22
ar71xx: register the second ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:19 +00:00
Gabor Juhos
547b567ada
ar71xx: implement SoC specific phy interface setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:18 +00:00
Gabor Juhos
2d684997e3
ar71xx: move phy interface setup into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:16 +00:00
Gabor Juhos
a680542669
ar71xx: register both MDIO bus on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:59 +00:00
Gabor Juhos
aee435407b
ar71xx: add AR934X specific MDIO registration code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
Gabor Juhos
61471eaa03
ar71xx: add a secondary mdio bus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00