Commit Graph

88 Commits (43aaef8702750e4f70bd1d8fda7053f8d21e0070)

Author SHA1 Message Date
Florian Fainelli e44f1e63c1 [ar7] avoid namespace clash on ar7_gpio_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 22:25:25 +00:00
Florian Fainelli 13cf41ab3a [ar7] add 2.6.35 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-26 09:13:44 +00:00
Florian Fainelli c435cb7296 [ar7] move files to file-2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-04 14:35:21 +00:00
Florian Fainelli 7f328e6086 [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 Fainelli ea52050d3f [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 Fainelli ad1c9dde15 [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 Fainelli f1367c6261 [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 Fainelli 12337afbaf [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 Fainelli 3c52e7f911 [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 Fainelli 545a539b2f 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 Fainelli 6adafe0bc0 [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 Fainelli 0673a47d66 [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
Felix Fietkau 35fb42beaa 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 Fainelli 8779980696 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 Fainelli 5721055e5c 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 Fainelli 6b427659ef 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
Gabor Juhos b1bb4991c9 [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 Croce 78a105d430 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 Croce 7428044525 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 Croce 0a6310e1c8 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 Croce e01a8b0a68 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 Croce edbdcb06bf 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 Croce e41c678078 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 Croce c2ebe22934 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 Croce ce2fa33305 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 Croce d6c38f2f47 [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 Croce 38a72d306a [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
Felix Fietkau f89ca7d9e3 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 Croce cf4f417e73 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 Croce 5d02351984 [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 Fainelli 96f07dff47 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 Croce 959fe0f9d9 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 Croce 2603bf190b [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 Croce f1b788d21c [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 Fainelli 34c3a97223 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 Fainelli a6aa2a2d9c 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
Felix Fietkau 1f8d93f04a [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
Felix Fietkau ff69921aa4 [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
Felix Fietkau 3526ef5634 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 Croce e862674aa8 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
Eugene Konev e91fcdd4dc 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
Eugene Konev 7181bb11c8 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
Eugene Konev 39a3e84d4b 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
Eugene Konev 6fcccd6453 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
Eugene Konev 824c1abfe8 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
Eugene Konev 01b42ee44d 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 Croce 544385b594 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
Eugene Konev c10806f960 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
Eugene Konev 254ac1f60a 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
Eugene Konev 8e14809ef3 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