1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 04:25:11 +02:00
Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
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
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
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
35a0fb9185 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
41497a5586 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
81df3b167a 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
b377dac440 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
b37fa14eed 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
945335ea40 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
ejka
a0e3d6be3e 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
ejka
2c3ecd000e 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
82b6ff28f0 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
91d6f27676 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
969318c24f 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
769621dec9 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
6485c8ba0a 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
nico
6f9c59a813 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
64f35b6ef8 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
nico
4aac3b42a2 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
nbd
17c7b6c3fd 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