Commit Graph

48 Commits (7eeb254cc49c4e9f837c980826ec112b9404f341)

Author SHA1 Message Date
Jonas Gorski 7f3182da16 ar7: add linux 4.1 support
Compile tested only.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46186
9 years ago
John Crispin 8777e3189e ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44638
9 years ago
John Crispin 7c7964e10d ar7: bump to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43553
10 years ago
Florian Fainelli 854c504781 move files directory to files-3.3
SVN-Revision: 34153
12 years ago
Florian Fainelli 4891549bcd detect AC49x flash partitions
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34146
12 years ago
Florian Fainelli 88864e2aa1 avoid namespace clash on ar7_gpio_init
SVN-Revision: 23917
14 years ago
Florian Fainelli 00e15a3abf add 2.6.35 support
SVN-Revision: 22812
14 years ago
Florian Fainelli dad3df8582 move files to file-2.6.30
SVN-Revision: 19518
15 years ago
Florian Fainelli 5a481b16ad add support for titan variant (WRTP54G) (#6185)
SVN-Revision: 19022
15 years ago
Florian Fainelli 3b92b4de00 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>

SVN-Revision: 16049
15 years ago
Florian Fainelli 086b7e33f1 do not patch the local copy of ar7part.c to be exactly like what is mainline already
SVN-Revision: 14625
16 years ago
Felix Fietkau c3ae8337f4 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>

SVN-Revision: 12666
16 years ago
Florian Fainelli 0fdecd35bd Treat vlynq external divisor just like automatic, fix comment about it, thanks sn9
SVN-Revision: 12467
16 years ago
Florian Fainelli 3ab8360af0 Fix divisor calculation and configuration from previous commit, thanks sn9
SVN-Revision: 12454
16 years ago
Florian Fainelli 3abe371efd Fix divisor settings for external devices like wireless devices, thanks sn9
SVN-Revision: 12443
16 years ago
Matteo Croce 78e07d75cd ar7: remove unneeded packed and array initialization
SVN-Revision: 10752
16 years ago
Matteo Croce 67dc179e05 vlynq: small fixes
SVN-Revision: 10711
16 years ago
Matteo Croce af4c2c041f add proper email addresses to the comment headers
SVN-Revision: 10709
16 years ago
Matteo Croce c96a4d1808 Let authors holds copyright of the AR7 code (closes #2369)
SVN-Revision: 10708
16 years ago
Matteo Croce 9b93a436c7 vlynq: probe for an external clock first, needed to enable acx on the Leonardo board
SVN-Revision: 10707
16 years ago
Matteo Croce b2b102fdcc Update kernel to 2.6.24
SVN-Revision: 10421
17 years ago
Felix Fietkau f648fc7bc0 Reimplement rx ring with EOQ markers to avoid reset storms
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9665
17 years ago
Felix Fietkau 6111ac6f94 Fix race between device reset and start_xmit
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9664
17 years ago
Felix Fietkau 5dc134c542 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>

---------

SVN-Revision: 9656
17 years ago
Eugene Konev 53f219cc2b Fix tx error handling (#2552). Make rx ring size actually configurable through ethtool
SVN-Revision: 9333
17 years ago
Eugene Konev 1a3f45fa87 fix the case when NETDEVICES_MULTIQUEUE is not enabled (#2506)
SVN-Revision: 9282
17 years ago
Eugene Konev 76fdf7d7b0 we are using leds-gpio now
SVN-Revision: 9252
17 years ago
Eugene Konev 982d054c27 locking rework, drop non-napi rx, multiqueue tx, misc cleanups
SVN-Revision: 9251
17 years ago
Matteo Croce 92378640d2 backport ar7_wdt from linux-2.6-watchdog-mm
SVN-Revision: 9182
17 years ago
Eugene Konev 3c4062a45f cleanup vlynq. drop vlynq-pci
SVN-Revision: 9143
17 years ago
Eugene Konev e10dfa5129 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)
SVN-Revision: 9098
17 years ago
Eugene Konev 041a03c5bd make gpio conformant to generic gpio spec.
SVN-Revision: 8911
17 years ago
Matteo Croce 951550023b fix silliness in [8886]
SVN-Revision: 8889
17 years ago
Matteo Croce e2148dbae1 replace deprecated u_char with u8
SVN-Revision: 8887
17 years ago
Matteo Croce 8d162264af Make ar7_part more readable and endianness safe
SVN-Revision: 8886
17 years ago
Matteo Croce f0f0047aec small cpmac fixes
SVN-Revision: 8881
17 years ago
Matteo Croce 5fac6f67f1 style cleanups (make checkpatch.pl happy)
SVN-Revision: 8851
17 years ago
Eugene Konev c4cd598161 cleanup (use dma API, use accessors, debugging/printk cleanup)
SVN-Revision: 8839
17 years ago
Eugene Konev fbd19377fa fix watchdog seek test (#2383)
SVN-Revision: 8772
17 years ago
Matteo Croce 64f9a22679 Enabled working ar7_wdt, style cleanups
SVN-Revision: 8764
17 years ago
Matteo Croce 87cef9d9a2 added ar7_wdt fix by Alex
SVN-Revision: 8762
17 years ago
Matteo Croce 339eba5fbd Style fixes
SVN-Revision: 8761
17 years ago
Matteo Croce 09b45caf09 more AR7 cleanups & fixes
SVN-Revision: 8758
17 years ago
Matteo Croce 0efffbaf30 AR7: Cleanups (closes: #2323)
SVN-Revision: 8756
17 years ago
Nicolas Thill 6fcca3ff7e fix typo
SVN-Revision: 8747
17 years ago
Florian Fainelli ba9fafe6eb Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html)
SVN-Revision: 8738
17 years ago
Nicolas Thill 929f86c30e cosmetic fixes for ar7: indent, use lowercase hex notation, format
SVN-Revision: 8656
17 years ago
Felix Fietkau 56231056ea 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.
SVN-Revision: 8653
17 years ago