Commit Graph

38 Commits (f5965e655018663c97e63f5c67dfadf555c99089)

Author SHA1 Message Date
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
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
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
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 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 477106c4e8 make gpio conformant to generic gpio spec.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 12:37:50 +00:00
Matteo Croce 3b2683ae1b fix silliness in [8886]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:46:58 +00:00
Matteo Croce 49ce139bb6 replace deprecated u_char with u8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:33:00 +00:00
Matteo Croce f7f7ba2176 Make ar7_part more readable and endianness safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:25:38 +00:00
Matteo Croce de8ec15d55 small cpmac fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:31:23 +00:00
Matteo Croce aa398c7d58 style cleanups (make checkpatch.pl happy)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 23:27:34 +00:00
Eugene Konev 8f9965b6fd cleanup (use dma API, use accessors, debugging/printk cleanup)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 12:58:12 +00:00
Eugene Konev 084c153873 fix watchdog seek test (#2383)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 04:46:34 +00:00
Matteo Croce 8a62330b65 Enabled working ar7_wdt, style cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 16:15:12 +00:00
Matteo Croce 09cd45b07a added ar7_wdt fix by Alex
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 15:30:00 +00:00
Matteo Croce cb6ff629c0 Style fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 13:21:02 +00:00
Matteo Croce d807fe3642 more AR7 cleanups & fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 23:50:02 +00:00
Matteo Croce 676cd0d3fc AR7: Cleanups (closes: #2323)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 21:19:57 +00:00
Nicolas Thill 2cbb04e2df fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:44:55 +00:00
Florian Fainelli a9591b4990 Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:32:05 +00:00
Nicolas Thill 6e0a34151b cosmetic fixes for ar7: indent, use lowercase hex notation, format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 19:35:08 +00:00
Felix Fietkau 92558d67a4 strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00