florian
ba6e1fd887
[ar7] add UPF_IOREMAP flag to the uart port definition ( #6532 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 21:17:21 +00:00
florian
b6e8369fc6
[ar7] add support for titan variant (WRTP54G) ( #6185 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 20:19:32 +00:00
florian
cc910c6802
[ar7] add experimental support for 2.6.30
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-02 13:01:18 +00:00
florian
3fdb5f3632
[ar7] remove old 2.6.24 code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 08:04:56 +00:00
florian
b193a7b32a
[ar7] revert part of r16112, the setup.c part needs more testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 16:22:01 +00:00
florian
3241f2e6af
[ar7] include missing atm-tools to setup pppoe/a links
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 16:20:21 +00:00
florian
2ed8e5602f
I recently came across an ar7 device which has the vlynq hardwired
...
so that the clocks are always generated by the remote device
instead of the local one.
Upon initialization the current version of vlynq driver disables
remote clock generation and causes the entire bus to hang on my
device.
This patch adds support for detecting which device (local or remote)
is responsible of clock generation and implements clock
initialization based on detection result.
Signed-off-by: Antti Seppala <a.seppala at gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 13:13:10 +00:00
florian
928c7cd41c
[ar7] update to 2.6.27 ( #4122 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 12:17:56 +00:00
florian
6135a9e06a
[ar7] do not patch the local copy of ar7part.c to be exactly like what is mainline already
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:48:55 +00:00
nbd
afb3c4be87
AR7 watchdog supports magic close
...
This patch adds the magic close flag (stopping the watchdog on an expected close
by wrting 'V' to the device before closing it) to the watchdogs list, which the
AR7 watchdog code actually supports.
Signed-off-by: Axel Gembe <ago@bastart.eu.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 15:43:30 +00:00
florian
ba934bf744
Treat vlynq external divisor just like automatic, fix comment about it, thanks sn9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 19:29:25 +00:00
florian
89b8dc025e
Fix divisor calculation and configuration from previous commit, thanks sn9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:49:57 +00:00
florian
f46a1a6ee4
Fix divisor settings for external devices like wireless devices, thanks sn9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-31 11:32:26 +00:00
juhosg
4f91cc821b
[ar7] use the righ value in the DSP clock calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-12 11:56:21 +00:00
matteo
e268859596
ar7: remove volatiles definitely
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 15:22:31 +00:00
matteo
d0c3e0cedc
vlynq: revert volatiles until we find a good way to remove them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 14:30:20 +00:00
matteo
8fb0a87a4a
ar7: remove useless volatiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 13:49:44 +00:00
matteo
d600b610a6
ar7: remove unneeded packed and array initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 01:30:07 +00:00
matteo
c0feef0d72
vlynq: small fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 14:50:19 +00:00
matteo
d8a1a7c53e
add proper email addresses to the comment headers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 11:45:18 +00:00
matteo
295c04e6cd
Let authors holds copyright of the AR7 code ( closes #2369 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 11:18:00 +00:00
matteo
1927554d27
vlynq: probe for an external clock first, needed to enable acx on the Leonardo board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 11:06:50 +00:00
matteo
b5a8de15ed
[AR7] Update kernel to 2.6.24
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 17:17:45 +00:00
matteo
cb6a7699b8
[AR7] make current AR7 code 2.6.24 aware, for future use
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 00:21:08 +00:00
nbd
f8db09d234
DG834G Power LED fix
...
This patch enables the new "default-on" trigger for the AR7 target and uses it to ensure the "power" LED on the DG834G is initialised in the ON state.
Previously this LED would turn off when the driver loaded and stay off until turned back on from userspace. With this patch it remains on throughout the boot process, but can still be controlled from userspace if required.
Signed-off-by: Nick Forbes <nick.forbes@incepta.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 01:21:57 +00:00
matteo
ddc9bff6ca
fixed war.h path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 20:50:50 +00:00
matteo
cee5e06f0e
[AR7] added missing war.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 20:47:34 +00:00
florian
89f08fc3a0
Add support for european DSL-502t leds ( #2880 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 11:20:03 +00:00
matteo
2172c8c58f
gpio: revert it back, wrong and useless
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-13 20:13:08 +00:00
matteo
c46ac2ae6d
[AR7] GPIO fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-12 17:14:15 +00:00
matteo
b9a0122f2f
[AR7] cache GPIO addresses to be more efficent
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-12 16:41:28 +00:00
florian
963a5b3820
Add dg834 leds support from #2817
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-04 02:59:10 +00:00
florian
283ce9ea8b
Add LEDs definitions for the D-Link DSL-502T ( #2746 )
...
Signed-off-by: Oliver <oliver@opencloud.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-16 13:21:31 +00:00
nbd
2cfedd2a67
[PATCH 2/2] Reimplement rx ring with EOQ markers to avoid reset storms
...
Signed-off-by: oliver@opencloud.com
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:10 +00:00
nbd
032de762b4
[PATCH 1/2] Fix race between device reset and start_xmit
...
Signed-off-by: oliver@opencloud.com
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:06 +00:00
nbd
863d4e55d3
Fix VLYNQ device enable for DG834Gv1
...
This patch allows VLYNQ devices on the DG834Gv1 to be successfully
enabled.
Currently the "__vlynq_enable_device" function attempts to set the VLYNQ
device clock divisor to values from 1 through 8 until a link is
successfully established. On the DG834Gv1 (but not the DG834Gv2),
setting the VLYNQ device clock divisor to 1 (full rate) results in all
further VLYNQ operations failing (including software reset), so the
device is never enabled. This patches changes the function to only
attempt divisors 2 through 8, and hence the device is successfully
enabled.
Signed-off-by: Nick Forbes <nick.forbes@huntsworth.com>
---------
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 12:49:54 +00:00
matteo
2dbeb30374
ar7_gpio: remove unneeded checks and volatile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 15:45:54 +00:00
ejka
461b71b547
fritzbox leds detection (thanks Axel Gembe)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-19 03:02:49 +00:00
ejka
c5f3f8343e
Fix tx error handling ( #2552 ). Make rx ring size actually configurable through
...
ethtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 12:53:22 +00:00
ejka
309e8eb475
fix the case when NETDEVICES_MULTIQUEUE is not enabled ( #2506 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:27:19 +00:00
ejka
1aaf14ee09
remove version checks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:44:00 +00:00
ejka
84eb9e7193
we are using leds-gpio now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:39:24 +00:00
ejka
af7b1083d0
locking rework, drop non-napi rx, multiqueue tx, misc cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:21:32 +00:00
matteo
9ddfc39e20
backport ar7_wdt from linux-2.6-watchdog-mm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 01:44:39 +00:00
ejka
c3585201fb
cleanup vlynq. drop vlynq-pci
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 17:54:36 +00:00
ejka
d5a64cf57a
more cpmac cleanups ( #2452 ):
...
* don't use net_device::mem*
* use net_device::stats
* use per-device rx ring size configurable through ethtool
* use more ethernet generics (get_stats, set_mac_address, change_mtu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:53:05 +00:00
ejka
b5018a4078
add usb controller definition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 12:35:35 +00:00
nico
82cb0084ab
revert to vlynq bus clock divisor guessing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 10:16:14 +00:00
ejka
81a9a045de
don't enable rts/cts by default (thanks nabcore, #2400 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-30 03:15:24 +00:00
ejka
63c42902d7
add necessary includes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 08:13:08 +00:00