Commit Graph

10156 Commits (151dca093597031aa940271f31ab63a30a78240a)

Author SHA1 Message Date
John Crispin c1710901c5 add profile for the Edimax 3g-6200NL board
http://patchwork.openwrt.org/patch/3214/

Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net>

SVN-Revision: 36172
2013-04-03 10:00:03 +00:00
John Crispin f3643374c4 there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36171
2013-04-03 09:59:59 +00:00
John Crispin 99e0ff1123 make v3.8 the default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36170
2013-04-03 09:59:55 +00:00
John Crispin c8d5f5e0ef add new image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36169
2013-04-03 09:59:51 +00:00
John Crispin 770b28f146 add the dts files that describe the boards in future
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36168
2013-04-03 09:59:46 +00:00
John Crispin 2328e8389e fix upvel profile names
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36167
2013-04-03 09:59:41 +00:00
John Crispin 94972a5268 fix rt3883 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36166
2013-04-03 09:59:37 +00:00
John Crispin 0716ae8abe fix rt305x config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36165
2013-04-03 09:59:33 +00:00
John Crispin dce4945972 mark rt288x broken until the test hardware arrives in the mail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36164
2013-04-03 09:59:16 +00:00
John Crispin 46f141637c add patches for v3.8
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36163
2013-04-03 09:59:10 +00:00
John Crispin 4f86ea43ca remove old ralink 3.8 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36162
2013-04-03 09:58:48 +00:00
John Crispin d4db00205d move files to files-3.7
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36161
2013-04-03 09:58:44 +00:00
John Crispin 86a691144b add feature gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36160
2013-04-03 09:58:37 +00:00
John Crispin 1105bd2897 add OF support to rtl8367b driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36159
2013-04-03 09:58:33 +00:00
John Crispin cc34858d4a make firmware loading work on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36158
2013-04-03 09:58:28 +00:00
Felix Fietkau 72f5901eb1 mpc85xx: enable ath9k and wpad-mini by default
SVN-Revision: 36142
2013-04-01 09:53:29 +00:00
Hauke Mehrtens 98ef9e5411 brcm47xx: generate images for Linksys E.... models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36139
2013-03-27 15:51:28 +00:00
Hauke Mehrtens b4eabad019 gemini: remove usage of ehci_port_power() it was removed in kernel 3.8
SVN-Revision: 36138
2013-03-27 15:48:07 +00:00
Hauke Mehrtens 31c9452120 brcm47xx: activate image generation for some Netgear devices which are on the market and should be supported.
SVN-Revision: 36137
2013-03-27 15:35:52 +00:00
Hauke Mehrtens a9e5a178ef brcm47xx: generate images for more WRT...N models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36136
2013-03-27 15:34:55 +00:00
Imre Kaloz b92e750027 upgrade to 3.9-rc4, disable unsupported boards
SVN-Revision: 36128
2013-03-25 14:18:32 +00:00
Imre Kaloz c90078ce87 refresh patches against -rc4
SVN-Revision: 36127
2013-03-25 13:53:48 +00:00
Imre Kaloz f26378fd7c add missing symbols
SVN-Revision: 36126
2013-03-25 13:53:17 +00:00
Gabor Juhos f7da2127ab ar71xx: fix ethernet LEDs on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36122
2013-03-25 06:40:03 +00:00
Gabor Juhos 39c132d154 ar71xx: add GPIO output select values for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36121
2013-03-25 06:40:00 +00:00
Gabor Juhos 849201b1d8 ar71xx: add default LED configuration for the WL-WRD3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36120
2013-03-24 21:07:21 +00:00
Gabor Juhos cd5cca4ba8 ar71xx: fix USB power GPIO on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36119
2013-03-24 19:23:47 +00:00
Gabor Juhos 4daefc9480 ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36118
2013-03-24 19:23:45 +00:00
Gabor Juhos a4a2a7189f ar71xx: add diag support for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36117
2013-03-24 19:23:43 +00:00
Gabor Juhos 38c991311b ar71xx: add default switch configuration for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36116
2013-03-24 19:23:36 +00:00
Hauke Mehrtens bb81e695f9 kernel: add missing config options for au1000 target
SVN-Revision: 36115
2013-03-24 14:01:38 +00:00
Hauke Mehrtens 18c47be19a kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
SVN-Revision: 36102
2013-03-21 14:56:04 +00:00
Hauke Mehrtens 4995f23669 kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
This was turned from a silent confg option without a text to a normal
config option which could be selected without any other option
depending on this. This could cause the situation where REGMAP_SPI was
selected without SPI_MASTER being selected.

SVN-Revision: 36101
2013-03-21 14:50:59 +00:00
Hauke Mehrtens d5cf67297a brcm47xx: generate images for some more devices
These devices should be supported by trunk now.

SVN-Revision: 36099
2013-03-20 22:01:18 +00:00
Hauke Mehrtens c9544f4af0 kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098
2013-03-20 21:59:24 +00:00
Hauke Mehrtens 99638c5288 kernel: add some missing config options for kernel 3.9
SVN-Revision: 36097
2013-03-20 21:53:51 +00:00
Florian Fainelli b1cc7a90a4 kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36091
2013-03-19 14:13:39 +00:00
Florian Fainelli fe157ea1ba uml: remove 3.6 kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36080
2013-03-17 19:47:04 +00:00
Florian Fainelli 1898218119 uml: remove 3.3. kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36079
2013-03-17 19:46:59 +00:00
Florian Fainelli c36db5f66a uml: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36078
2013-03-17 19:46:54 +00:00
Florian Fainelli a987d1aaa3 uml: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36077
2013-03-17 19:46:49 +00:00
Florian Fainelli 499f92c3db uml: remove 3.2 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36076
2013-03-17 19:46:43 +00:00
Florian Fainelli ce33aaafcf ep93xx: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36075
2013-03-17 19:46:37 +00:00
Florian Fainelli a5551d366a kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36074
2013-03-17 19:46:32 +00:00
Florian Fainelli 472bb8d51a ep93xx: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36073
2013-03-17 19:46:25 +00:00
Florian Fainelli 743e9e7009 ep93xx: account for sound soc directory rename in 3.7
sound/soc/ep93xx -> sound/soc/cirrus

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36071
2013-03-17 19:45:55 +00:00
Florian Fainelli 6a7100c760 kernel: set regmap-core module license
Fixes the following issues:
[    7.660000] regmap_core: module license 'unspecified' taints kernel
[    7.690000] Disabling lock debugging due to kernel
[    7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[    7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[    7.720000] regmap_core: Unknown symbol devres_add (err 0
[    7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[    7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[    7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[    7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[    7.780000] regmap_core: Unknown symbol devres_free (err 0
[    7.800000] regmap_core: Unknown symbol devres_find (err 0
[    7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36070
2013-03-17 19:45:48 +00:00
Florian Fainelli 7987c8d0dc au1000: remove support for 3.3. kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36067
2013-03-17 14:33:47 +00:00
Florian Fainelli c56c18168e au1000: switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36066
2013-03-17 14:33:41 +00:00
Florian Fainelli 5592a619d0 au1000: keep the MTX-1 watchdog pin low during boot
Do this until the watchdog driver is loaded and the user-space watchdog
daemon can start pinging the watchdog.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36065
2013-03-17 14:33:36 +00:00
Florian Fainelli d5c2e83fa5 ep93xx: remove 3.3 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36064
2013-03-17 14:33:23 +00:00
Florian Fainelli 9cef30a519 mcs814x: use devm_request_and_ioremap in mcs814x-rng driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36063
2013-03-17 14:33:18 +00:00
Florian Fainelli 8ed2299646 mcs814x: use devm_request_and_ioremap helper for nuport_mac driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36062
2013-03-17 14:33:13 +00:00
Florian Fainelli 8bc84bac31 mcs814x: remove PCI code
None of the boards we support are using it nor have it wired out of the
SoC, just remove it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36061
2013-03-17 14:33:07 +00:00
Florian Fainelli a9ef927cce mcs814x: implement MULTI_IRQ_HANDLER
Allows us to get rid of the IRQ entry point assembly

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36060
2013-03-16 22:25:47 +00:00
Florian Fainelli 18908139f3 mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36059
2013-03-16 22:25:41 +00:00
Gabor Juhos 1996cfe9dd mpc85xx: add profile and build image for the TL-WDR4900 v1 board
Now that the ethernet switch is working, create firmware
images to make impatient users happy.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36051
2013-03-15 16:11:45 +00:00
Gabor Juhos 72253b9073 generic: ar8216: start AR8327 switch from the probe routine
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36050
2013-03-15 16:06:28 +00:00
Gabor Juhos 5503686f69 generic: ar8216: add ar8xxx_start helper
Move switch starting code into a separate function.
This makes it usable from other places.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36049
2013-03-15 16:06:25 +00:00
Gabor Juhos 44ce8dac88 mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetree
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36048
2013-03-15 15:53:06 +00:00
Gabor Juhos 7ba6a8d8e8 generic: ar8216: add OF configuration support for AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36047
2013-03-15 15:50:08 +00:00
Gabor Juhos ee12b1b7d5 generic: ar8216: separate platform_data based AR8327 code
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36046
2013-03-15 15:50:05 +00:00
Gabor Juhos d88f66ae21 generic: ar8216: don't use platform_data in ar8327_init_port
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36045
2013-03-15 15:50:02 +00:00
Gabor Juhos 9d3f70d503 generic: ar8216: move the ar8327_get_port_init_status function
It will be used in ar8327_probe routine.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36044
2013-03-15 15:50:00 +00:00
Gabor Juhos 17d735fc46 generic: ar8216: simplify and rename ar8327_config_port
Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36043
2013-03-15 15:49:57 +00:00
Gabor Juhos 3fee1bddbe generic: ar8216: remove superfluous pdata checks
The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36042
2013-03-15 15:49:55 +00:00
Gabor Juhos 07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Gabor Juhos d614f8a880 ar71xx: build images for the TL-MR11U v2
[juhosg: use different profile name for v1 and v2, and add
multi profile to build for both versions]

Signed-off-by: Guilhem Lettron <guilhem@lettron.fr>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36038
2013-03-15 14:35:52 +00:00
Gabor Juhos 35d41db979 ar71xx: rw2458n - Use eeprom (art) from wifi card
Use eeprom (art) from included wifi card, not hard coded in flash.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36037
2013-03-15 14:35:50 +00:00
Gabor Juhos 8deffcba7e ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36036
2013-03-15 14:35:48 +00:00
John Crispin 4d5860cdd6 ACMP252: fix USB-enable GPIO and use default PCI configuration for now
EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove
ralink_eep from the dts.
USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force).
PCI works with default settings as long as the vendor bootloader is used.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 36030
2013-03-14 18:43:54 +00:00
John Crispin 0dbe4f502d fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36029
2013-03-14 18:43:49 +00:00
John Crispin 9b4a8c6d1e select vdsl packages on vr9 boards
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36028
2013-03-14 18:43:44 +00:00
John Crispin 0f7f1f3347 fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36027
2013-03-14 18:43:39 +00:00
John Crispin 5452dbad61 build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36026
2013-03-14 18:43:34 +00:00
John Crispin b98ae2b149 bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36014
2013-03-14 18:42:29 +00:00
John Crispin 3ab75692f3 move GPHY FW blobs to non versioned folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36013
2013-03-14 18:42:21 +00:00
Florian Fainelli b2e63b8ea8 kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36008
2013-03-14 14:45:56 +00:00
John Crispin 1360067c4a update the /init file to start /sbin/init
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36002
2013-03-13 18:11:13 +00:00
John Crispin 043d56b646 make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36000
2013-03-13 18:11:00 +00:00
Gabor Juhos f0f72ce262 gemini: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35995
2013-03-12 18:22:34 +00:00
Gabor Juhos 04f2ef9e66 gemini: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35994
2013-03-12 18:22:33 +00:00
Gabor Juhos 54b9b4d8a5 gemini: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35993
2013-03-12 18:22:22 +00:00
John Crispin 48a4b3a0cd fixes NO_XIP on CFI0001 flash
This patch disables the execute-in-place (XIP) support for flash on
lantiq. This has to be disabled since the bus which flash is connected
to does not support unaligned accesses. Resolves data bus errors on
Lantiq routers with Intel command set flash.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 35992
2013-03-12 13:53:08 +00:00
John Crispin e3a6ea65e1 add support for AudioCodes AC-252
user-space support for extracting the EEPROM for the RaLink WiFi is still
missing. Besides this, it's all working.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35990
2013-03-12 13:52:54 +00:00
John Crispin 0b881eea72 unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35989
2013-03-12 13:52:47 +00:00
John Crispin b22cbac68f make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35988
2013-03-12 13:52:40 +00:00
John Crispin fad5f5700e make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35987
2013-03-12 13:52:33 +00:00
Gabor Juhos 76934b6779 avr32: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35985
2013-03-12 13:28:33 +00:00
Gabor Juhos a71b9f5d04 avr32: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35984
2013-03-12 13:28:32 +00:00
Gabor Juhos 19b2c06b09 avr32: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35983
2013-03-12 13:28:31 +00:00
Gabor Juhos f04cccb842 avr32: add sysupgrade support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35982
2013-03-12 13:28:27 +00:00
Gabor Juhos 6c3dd84897 avr32: add firmware partition
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35981
2013-03-12 13:28:23 +00:00
Gabor Juhos cb9fad715c avr32: add diag support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35980
2013-03-12 13:28:21 +00:00
Gabor Juhos de0d19ac3d avr32: create network config dynamically
The default network configuration from base-files
is not correct for the NGW100 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35979
2013-03-12 13:28:19 +00:00
Gabor Juhos 73caeba522 avr32: built the firmware images from the lzma compressed uImage
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35978
2013-03-12 13:28:16 +00:00
Gabor Juhos 12a213227e mpc52xx: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35977
2013-03-12 07:18:37 +00:00
Gabor Juhos 1ed39da53d mpc52xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35976
2013-03-12 07:18:36 +00:00
Gabor Juhos ae0af74654 mpc52xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35975
2013-03-12 07:18:34 +00:00
Gabor Juhos fe3df4b593 ramips: add profile and build image for the Upvel UR-326N4G board
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35972
2013-03-11 21:02:45 +00:00
Gabor Juhos d543f4b771 ramips: add user-space support for the Upvel UR-326N4G board
[juhosg: fix mac address setup]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35971
2013-03-11 21:02:43 +00:00
Gabor Juhos 3c2ef04a0e ramips: add kernel support for the Upvel UR-326N4G board
[juhosg: add missing symbols to config-3.{7,8}]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35970
2013-03-11 21:02:40 +00:00
Gabor Juhos 14ca5fc98b ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35966
2013-03-11 19:52:54 +00:00
Gabor Juhos 72fc0c1906 ar71xx: add AR934X_GPIO_FUNC_* defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35965
2013-03-11 19:52:51 +00:00
Gabor Juhos 44cc1507e9 ar71xx: makefile changes to build image for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3440/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35964
2013-03-11 15:55:25 +00:00
Gabor Juhos 2998abab7c ar71xx: add user-space support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35962
2013-03-11 15:55:22 +00:00
Gabor Juhos 902dd27383 ar71xx: add kernel support for MR3420v2
[juhosg: use gpio_request_one to enable the USB power]

Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>

SVN-Revision: 35961
2013-03-11 15:55:20 +00:00
Gabor Juhos 5c5e1c0a9d ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35960
2013-03-11 15:55:19 +00:00
Gabor Juhos 257bfc21af ar71xx: add profile support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3427/mbox/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35959
2013-03-11 15:55:17 +00:00
Gabor Juhos 3fa3cbae7c ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35958
2013-03-11 15:55:15 +00:00
Gabor Juhos a7525f5f5d ar71xx: add kernel support for dir-835-a1
[juhosg:
  - remove custom mdio bus info and platform data for ar8327, clear the
    .led_cfg field from dir835a1_setup instead,
  - remove arguments of dir835c1_generic_setup function, register the
    LEDs directly from the board specific setup instead]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35957
2013-03-11 15:55:13 +00:00
Felix Fietkau bd6c9d6252 cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure
SVN-Revision: 35953
2013-03-11 02:29:53 +00:00
Felix Fietkau d7a529709a cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler
SVN-Revision: 35952
2013-03-11 02:29:47 +00:00
Felix Fietkau 0d13baff1e cns3xxx: increase number of ethernet driver rx buffers
SVN-Revision: 35951
2013-03-10 21:59:32 +00:00
Felix Fietkau ee2b511e1f cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries
SVN-Revision: 35950
2013-03-10 21:59:28 +00:00
Felix Fietkau d22ac8d8fb cns3xxx: minor ethernet driver cleanup
SVN-Revision: 35949
2013-03-10 21:59:21 +00:00
Hauke Mehrtens e1f24d99e1 brcm47xx: refresh config
SVN-Revision: 35948
2013-03-10 20:42:26 +00:00
Hauke Mehrtens 89d4fceee2 xburst: fix compilation: remove the __dev attributes
SVN-Revision: 35946
2013-03-10 20:26:28 +00:00
Hauke Mehrtens 45b24fa771 kernel: add some missing config options found by the buildbot.
SVN-Revision: 35945
2013-03-10 20:25:19 +00:00
Felix Fietkau 9facda9570 cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers
SVN-Revision: 35943
2013-03-10 18:25:20 +00:00
Felix Fietkau c44506fcbd cns3xxx: fix an rx irq handling corner case
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

SVN-Revision: 35942
2013-03-10 18:25:16 +00:00
Felix Fietkau c1adc79328 cns3xxx: fix ethernet driver memory barrier usage
SVN-Revision: 35941
2013-03-10 18:25:11 +00:00
Gabor Juhos 9a71711d39 realview: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35940
2013-03-10 18:06:31 +00:00
Gabor Juhos 35dd42f976 realview: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35939
2013-03-10 18:06:29 +00:00
Felix Fietkau 53e0f10246 kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
SVN-Revision: 35938
2013-03-10 17:04:36 +00:00
Felix Fietkau 2b83c9bd8a kernel: ensure that the arm exception handlers get preserved
SVN-Revision: 35937
2013-03-10 17:04:31 +00:00
Felix Fietkau f0d7ba33ef kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
SVN-Revision: 35936
2013-03-10 14:51:42 +00:00
Gabor Juhos 5b3ab0e21e xburst: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35934
2013-03-10 13:24:54 +00:00
Gabor Juhos 00caedf86e xburst: switch to 3.8
Compile tested only, so add broken flag.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35933
2013-03-10 13:24:52 +00:00
Gabor Juhos 8942d4dc04 xburst: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35932
2013-03-10 13:24:50 +00:00
Gabor Juhos 15718f5387 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35931
2013-03-10 13:24:47 +00:00
Gabor Juhos f25c050aa9 adm5120: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35930
2013-03-10 13:24:46 +00:00
Gabor Juhos 5502bbe2ca adm5120: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35929
2013-03-10 13:24:45 +00:00
Gabor Juhos c42da71d8b malta: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35928
2013-03-10 13:24:44 +00:00
Gabor Juhos 6720fc6952 malta: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35927
2013-03-10 13:24:43 +00:00
Gabor Juhos 82dc64b19b atheros: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35926
2013-03-10 13:24:42 +00:00
Gabor Juhos 5b8e106ae6 atheros: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35925
2013-03-10 13:24:40 +00:00
Gabor Juhos ce5806378e mpc83xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35924
2013-03-10 13:24:39 +00:00
Gabor Juhos c79c132229 mpc83xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35923
2013-03-10 13:24:38 +00:00
Gabor Juhos 27ba973c06 rb532: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35922
2013-03-10 13:21:40 +00:00
Gabor Juhos 501e4d331d rb532: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35921
2013-03-10 13:21:33 +00:00
Gabor Juhos 8223205a29 rb532: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35920
2013-03-10 13:21:29 +00:00
Gabor Juhos e8a5312bef ar71xx: correct board name to make LEDs work on RB750
Patch by: Denver A <denvera@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3419/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35919
2013-03-10 07:20:57 +00:00
Gabor Juhos d85ffaabe9 ppc40x: remove __dev_{in,ex}it annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35918
2013-03-10 07:20:54 +00:00
Felix Fietkau 446409f43e cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance
SVN-Revision: 35917
2013-03-10 01:27:04 +00:00
Felix Fietkau 95431b7843 cns3xxx: remove linux 3.3 support
SVN-Revision: 35916
2013-03-10 01:01:55 +00:00
Felix Fietkau 3d919b7c08 cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance)
SVN-Revision: 35915
2013-03-10 01:01:51 +00:00
Hauke Mehrtens 44ed7d664a brcm47xx: add some more partition parser fixes by Rafał Miłecki
SVN-Revision: 35912
2013-03-09 19:48:03 +00:00
Hauke Mehrtens 694050a4cf brcm47xx: netconfig: add bacis support for swconfig
Parse the cpu port from swconfig and explicitly mark the cpu port as tagged.

SVN-Revision: 35911
2013-03-09 19:24:43 +00:00
Felix Fietkau 72af5b4b35 kernel: add a missing config symbol for 3.8
SVN-Revision: 35910
2013-03-09 19:04:37 +00:00
Felix Fietkau 95f14d052a cns3xxx: add linux 3.8 support and use it by default
SVN-Revision: 35908
2013-03-09 18:51:46 +00:00
Felix Fietkau 85348d602e kernel: fix mpcore watchdog symbol export
SVN-Revision: 35907
2013-03-09 18:51:39 +00:00
Gabor Juhos 938361b055 cns21xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35886
2013-03-04 16:08:41 +00:00
Gabor Juhos a61431b154 cns21xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35885
2013-03-04 16:08:39 +00:00
Gabor Juhos 3e3fc552bc ppc44x: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35884
2013-03-04 15:16:37 +00:00
Gabor Juhos d24041665c ppc44x: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35883
2013-03-04 15:16:35 +00:00
Gabor Juhos c67127ad23 ppc40x: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35882
2013-03-04 15:16:33 +00:00
Gabor Juhos 341b5ba939 ppc40x: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35881
2013-03-04 15:16:32 +00:00
Florian Fainelli b412a81524 brcm63xx: fix LED names for various boards
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35880
2013-03-04 13:42:35 +00:00
Gabor Juhos 947bc9d36f ar71xx: add backported watchdog patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35879
2013-03-04 12:08:28 +00:00
Gabor Juhos 1d55249d7c ar71xx: use backported QCA955x patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35878
2013-03-04 11:48:15 +00:00
Gabor Juhos 64a9fe2894 ar71xx: use backported PCI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35877
2013-03-04 11:48:08 +00:00
Gabor Juhos 12d49b5195 ar71xx: use backported MISC IRQ patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35876
2013-03-04 11:48:06 +00:00
Gabor Juhos 4c31b9f43e ar71xx: use backported GPIO patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35875
2013-03-04 11:48:04 +00:00
Luka Perkov 120028af99 ar71xx: enable building ramdisk images for WZRHPG30XNH board types
Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35874
2013-03-04 11:37:28 +00:00
Gabor Juhos 0ad50b0bec ar71xx: use backported SPI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35873
2013-03-04 09:40:44 +00:00
Gabor Juhos c28cdfab31 mpc85xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35872
2013-03-04 09:37:25 +00:00
Gabor Juhos 84e960f7aa mpc85xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35871
2013-03-04 09:37:24 +00:00
Gabor Juhos 3ee484d54c ar71xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35870
2013-03-04 09:03:50 +00:00
Gabor Juhos d5adb0dbdd ar71xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35869
2013-03-04 08:47:38 +00:00
Gabor Juhos a87a96da67 kernel: update linux 3.8 to 3.8.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35868
2013-03-04 08:43:55 +00:00
Luka Perkov a5ebfc79ba ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35865
2013-03-03 21:59:34 +00:00
Gabor Juhos 26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos da79a4c698 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35861
2013-03-03 13:58:10 +00:00
Gabor Juhos 23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos 4491da2bd4 ar71xx: update MAC address assignment for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35855
2013-03-03 12:47:37 +00:00
Gabor Juhos 200aa6db83 ar71xx: fixes leds for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35854
2013-03-03 12:47:33 +00:00
Gabor Juhos 8798c73860 ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.

The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.

[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35853
2013-03-03 12:47:31 +00:00
Gabor Juhos 59ad675ef1 ramips: add user-space detection for ALL5002/ALL5003
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35852
2013-03-03 12:47:28 +00:00
Gabor Juhos 50e51e5ecc ramips: indicate support for ALL5003
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35851
2013-03-03 12:47:25 +00:00
Gabor Juhos 367ab0a40f ramips: enhance user-space board detection
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35850
2013-03-03 12:47:02 +00:00
Gabor Juhos 1ba2272ca5 ramips: fix whitespace in /lib/ramips.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35849
2013-03-03 12:46:08 +00:00
Felix Fietkau a9c584c277 Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
It breaks PCIe IRQ mapping and possibly other things

SVN-Revision: 35842
2013-03-02 00:32:54 +00:00
Luka Perkov 107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Hauke Mehrtens 04af8bd108 brcm47xx: bgmac: omit the fcs
This fixes #13058 and hopefully #12927

SVN-Revision: 35834
2013-02-28 13:27:21 +00:00
Hauke Mehrtens 9805096f48 brcm47xx: bgmac: update to version form netdev git repository
SVN-Revision: 35833
2013-02-28 13:24:39 +00:00
Gabor Juhos 5412b6f32e ramips: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35801
2013-02-25 21:28:42 +00:00
Gabor Juhos a08646642e ramips: image: don't break make process if mkimage command fails
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35800
2013-02-25 21:28:40 +00:00
Gabor Juhos 275db5b4c4 ramips: remove port_power_off field from ehci_platform_data
It is removed in 3.8. Also add a revert patch for 3.7.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35799
2013-02-25 21:28:38 +00:00
Gabor Juhos 5e1d6ce077 ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35798
2013-02-25 21:28:34 +00:00
Hauke Mehrtens 2c34e1aba5 brcm47xx: use bcm47xx_board_get() and detect some more boards in flash partition driver
SVN-Revision: 35791
2013-02-25 20:56:37 +00:00
Hauke Mehrtens 5d3b728372 brcm47xx: board detection WNDR3400v2
WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#".

CFE and NVRAM contain different vars - example:
CFE line original: Device eth0:  hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0
CFE after openwrt: Device eth0:  hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0

Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html
Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2
(and on wikidevi for example)

Signed off by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 35790
2013-02-25 20:55:46 +00:00
Gabor Juhos f7879cd8d8 ar71xx: add profile and build image fot the TL-WA830RE v1 board
Added support for the TP-LINK TL-WA830RE v1 Range Extender.
Based on the WA901ND v1 support. Hardware IDs checked against
original firmware. Patch was successfully tested on hardware.

Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35789
2013-02-25 20:37:35 +00:00
Gabor Juhos ea71239d8a ar71xx: add model detection for the TL-WA830RE board
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35788
2013-02-25 20:37:33 +00:00
Hauke Mehrtens 0f2fc0adfd brcm47xx: use same board detection code as kernel 3.8
SVN-Revision: 35770
2013-02-24 18:10:42 +00:00
Gabor Juhos 05de472518 adm5120: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35769
2013-02-24 18:08:14 +00:00
Gabor Juhos 3d65d0291c adm5120: remove __dev{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35768
2013-02-24 18:08:03 +00:00
Gabor Juhos 0ab5ab2c08 adm5120: remove a superfluous patch
The NO_IRQ symbol is not used by the amba core since
upstream commit:

  dfb85185bda373a70409c70c2632b02fb0f8f449
  AMBA: get rid of last two uses of NO_IRQ

  This gets rid of the last two users of NO_IRQ in AMBA primecell
  drivers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35748
2013-02-22 16:01:19 +00:00
Gabor Juhos 6419ffd20d adm5120: avoid warning caused by wrong AMBA irq values
The amba core throws a warning if -1 is used as an
irq value since upstream commit:

  2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
  ARM: amba: make use of -1 IRQs warn

  Make the core warn about the use of -1 (NO_IRQ)

Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.

Based on #12729.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35747
2013-02-22 16:01:17 +00:00
Gabor Juhos 42cdd3bef4 cns21xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35737
2013-02-21 20:45:24 +00:00
Gabor Juhos 9ec9adf3ea mpc83xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35736
2013-02-21 20:39:22 +00:00
Gabor Juhos c50881d7ba ppc44x: add support for 3.8
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35735
2013-02-21 19:23:31 +00:00
Gabor Juhos fd645abca4 ppc40x: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35734
2013-02-21 19:23:29 +00:00
Gabor Juhos 4da13625d5 mpc85xx: add user-space support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35733
2013-02-21 19:20:34 +00:00
Gabor Juhos bd2c77b264 mpc85xx: update 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35732
2013-02-21 18:44:40 +00:00
Gabor Juhos bcac3c5569 ar71xx: fix MAC address assignment on the DIR-825-Bx boards
Use the same MAC addresses as the original firmware.

Based on a patch from #10421.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>

SVN-Revision: 35730
2013-02-21 17:58:21 +00:00
Gabor Juhos d785803bfa mpc85xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35729
2013-02-21 17:48:31 +00:00
Gabor Juhos cf2324fd6b ar71xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35728
2013-02-21 17:47:15 +00:00
Gabor Juhos 9cc3a60b5a atheros: add support for linux kernel v3.8
This builds and boots.

Because of the function pointer indirection (e.g. mtd_info's read
function pointer is assigned to spiflash_read), it is difficult for me
to understand where the calls are coming from (could be anywhere,
conditionally pointing at spiflash versions), so I punted and used the
renamed function pointers (_erase, _read, _write).  If someone knows
better what to do, please fix.

Cleaned up other sundry kernel tracking issues like get_phy_id and
__devinit,etc.

[juhosg: don't switch to that yet]

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35727
2013-02-21 17:45:54 +00:00
Gabor Juhos babd5aa2fc linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35726
2013-02-21 16:52:34 +00:00
Jonas Gorski ff20c0e1fc bcm63xx: Fix sysupgrade for tag-version 7 and 8
Fix sysupgrade for tag-version 7 and 8.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 35724
2013-02-21 11:45:41 +00:00
Jonas Gorski 3010a0b616 generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35723
2013-02-21 11:45:38 +00:00
Jonas Gorski 23e71c56ba generic: b53: remove empty spaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35722
2013-02-21 11:45:36 +00:00
Jonas Gorski 1cd62d06ca ramips: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

SVN-Revision: 35721
2013-02-21 11:45:33 +00:00
Jonas Gorski a0956a88d4 cns21xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

SVN-Revision: 35720
2013-02-21 11:45:31 +00:00
Jonas Gorski b91eab631b ar71xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

SVN-Revision: 35719
2013-02-21 11:45:29 +00:00
Gabor Juhos fad3fc1ad0 mpc85xx: add kmod-leds-gpio to the default packages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35708
2013-02-21 10:26:03 +00:00
Gabor Juhos c837cae29c mpc85xx: disable a bunch of unused device nodes on the TL-WDR4900
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35707
2013-02-21 10:26:00 +00:00
Hauke Mehrtens 9afdb046d3 brcm47xx: do not use vlan0 any more.
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325.

This makes OpenWrt always use vlan1 and vlan2 instead.

SVN-Revision: 35704
2013-02-20 15:31:43 +00:00
Gabor Juhos 4305c6cda1 mpc85xx: add kernel support for the TL-WDR4900 v1 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35690
2013-02-20 08:27:27 +00:00
Gabor Juhos 33ba984628 mpc85xx: use a foreach loop to copy boot images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35689
2013-02-20 08:27:26 +00:00
Gabor Juhos 4341b11f3e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
2013-02-19 20:52:06 +00:00
Gabor Juhos 7d0d29ab6e linux/3.8: add missing Kconfig symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35686
2013-02-19 20:52:03 +00:00
Gabor Juhos 76b797c759 mpc85xx: add default profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35677
2013-02-19 14:53:17 +00:00
Gabor Juhos debb9a4a97 mpc85xx: add gpio-keys to OF match table
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35676
2013-02-19 14:53:16 +00:00
Gabor Juhos 69cc70a43c mpc85xx: enable squashfs feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35675
2013-02-19 14:53:15 +00:00
Gabor Juhos ae9100e969 mpc85xx: add swconfig to default packages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35674
2013-02-19 14:53:12 +00:00
Gabor Juhos ed0f43f1e2 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35672
2013-02-19 09:17:38 +00:00
Florian Fainelli 1dd9e661be x86/rdc: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35664
2013-02-18 10:38:05 +00:00
Florian Fainelli 677714309b rb532: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35663
2013-02-18 10:38:02 +00:00
Florian Fainelli 2bfa1ed82c cobalt: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35662
2013-02-18 10:37:58 +00:00
Florian Fainelli d7092aceb8 brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35661
2013-02-18 10:37:55 +00:00
Florian Fainelli 5953e79888 au1000: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35660
2013-02-18 10:37:52 +00:00
Florian Fainelli 15b66e0cbe ar7: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35659
2013-02-18 10:37:43 +00:00
Gabor Juhos 90011a99f3 ramips: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35652
2013-02-18 09:56:29 +00:00
Gabor Juhos 32b41c4dd0 cns21xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35651
2013-02-18 09:56:28 +00:00
Gabor Juhos f6691c09c1 ar71xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35650
2013-02-18 09:56:27 +00:00
Gabor Juhos 546b336d2d adm5120: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35649
2013-02-18 09:56:26 +00:00
Gabor Juhos 3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos 451dd745bd generic: ar8216: cleanup function/variable names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35642
2013-02-17 12:48:25 +00:00
Gabor Juhos 51996304c4 generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35641
2013-02-17 12:48:23 +00:00
Gabor Juhos 4215b1c93c ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35634
2013-02-17 10:08:41 +00:00
Gabor Juhos 7a709573d7 ar71xx: add kernel support for the Mikrotik RB951G board
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.

[juhosg:
  - remove dead code from mach-rb951g
  - add "-2HnD" suffix to the machine name
  - use a separate 615-MIPS-ath79-RB951G-support.patch]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35633
2013-02-17 10:08:35 +00:00
Hauke Mehrtens 1a8218d6e4 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.

SVN-Revision: 35632
2013-02-16 20:28:24 +00:00
Gabor Juhos 17c36f540c ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35629
2013-02-16 17:33:06 +00:00
Gabor Juhos 4375dae6d3 ramips: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35628
2013-02-16 17:26:52 +00:00
Gabor Juhos 62e80eba31 mpc85xx: add input drivers to default packages, and load those during preinit
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35626
2013-02-16 17:13:38 +00:00
Hauke Mehrtens ce6a7543fe brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35625
2013-02-16 16:27:33 +00:00
Hauke Mehrtens 9de704a03b brcm47xx: improve cpuport detection for filesafe
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.

SVN-Revision: 35624
2013-02-16 16:24:15 +00:00
Hauke Mehrtens 92d16f38d7 brcm47xx: fix network config on simpleshare
The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.

SVN-Revision: 35623
2013-02-16 15:24:48 +00:00
Hauke Mehrtens a21ba013f5 brcm47xx: handle return values of cfe_env_get() correctly.
This closes #12746.

SVN-Revision: 35622
2013-02-16 15:19:24 +00:00
Hauke Mehrtens 283bff02a2 brcm47xx: bgmac: fix unaligned accesses to network headers.
SVN-Revision: 35621
2013-02-16 14:38:17 +00:00
Hauke Mehrtens 5fed2916c3 brcm47xx: fix unaligned access to mac address
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.

SVN-Revision: 35618
2013-02-16 13:46:00 +00:00
Hauke Mehrtens d9580d224a brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
This should fix #13000.

SVN-Revision: 35617
2013-02-16 12:37:24 +00:00
Gabor Juhos 7f20c2e19a update x86 generic to kernel v3.7
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35616
2013-02-16 12:12:52 +00:00
Gabor Juhos 7fd8525853 ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35615
2013-02-16 11:50:25 +00:00
Gabor Juhos 753d713e92 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35613
2013-02-16 11:50:21 +00:00
Jonas Gorski dd77663fb0 kernel: add missing config options
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

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

SVN-Revision: 35611
2013-02-16 11:39:45 +00:00
Jonas Gorski 485e52e1d8 bcm63xx: make nvram checksum failures non fatal
fixes #12982.

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

SVN-Revision: 35605
2013-02-15 12:23:49 +00:00
Gabor Juhos 162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos f35c369710 generic: ar8216: move PHY4 RGMII workaround code out of the loop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35603
2013-02-14 14:55:40 +00:00
Gabor Juhos d64888ffc0 generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.

Move the switch registration into the probe routine to fix
this problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35602
2013-02-14 14:01:24 +00:00
Florian Fainelli 31dc805f88 x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35601
2013-02-14 13:00:07 +00:00
Hauke Mehrtens c0f6c75cf7 brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
SVN-Revision: 35597
2013-02-14 12:38:16 +00:00
Gabor Juhos 9d86ba2ed4 mpc85xx: enable swconfig and the ar8216 driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35592
2013-02-13 16:51:23 +00:00
Gabor Juhos 6d18518e02 mpc85xx: enable the squashfs driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35591
2013-02-13 16:51:21 +00:00
Gabor Juhos c3b3f77621 mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC support
Squashfs is unable to decompress some blocks without that:

[  199.494500] SQUASHFS error: xz_dec_run error, data probably corrupt
[  199.500910] SQUASHFS error: squashfs_read_data failed to read block 0xbff26
[  199.508016] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.514440] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.521311] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.527724] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.534594] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.541009] SQUASHFS error: Unable to read page, block bff26, size 153f8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35590
2013-02-13 16:51:19 +00:00
Gabor Juhos 7484006498 ar71xx: fix factory image creation for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35589
2013-02-13 16:36:26 +00:00
Gabor Juhos 5f10ec3c36 ar71xx: fix switch-config for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35588
2013-02-13 16:36:23 +00:00
Hauke Mehrtens 54ca3eed5d brcm47xx: configure vlan correctly on some recent devices.
SVN-Revision: 35587
2013-02-13 16:05:52 +00:00
Hauke Mehrtens 4663d424a3 brcm47xx: add some more fixes to bgmac
Thank you Rafał Miłecki and Nathan Hintz

SVN-Revision: 35574
2013-02-12 20:10:38 +00:00
Hauke Mehrtens 7c0208b336 brcm47xx: update tg3 to the version send upstream
SVN-Revision: 35573
2013-02-12 20:09:15 +00:00
Luka Perkov 7973ef64d6 mvebu: remove boards suffix
SVN-Revision: 35572
2013-02-12 10:18:53 +00:00
Gabor Juhos bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos 1f9ede9cfc ar71xx: add script for automatic switch name migration
Thanks to Jonas Gorski for the help.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35567
2013-02-11 21:41:16 +00:00
Felix Fietkau 2e7a4b088d ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
SVN-Revision: 35564
2013-02-11 18:59:05 +00:00
Gabor Juhos 9525a075c1 ar8216: remove superfluous code from ar8216_config_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35562
2013-02-11 16:57:31 +00:00
Gabor Juhos 94806a13af ar71xx: use switchX names in network configuration
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35561
2013-02-11 16:54:52 +00:00
Gabor Juhos 9c86d268eb generic: ar8216: don't use ethernet device name in register_switch
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35560
2013-02-11 16:11:31 +00:00
Gabor Juhos 3f3eba88f6 generic: ar8216: reuse the private data from ar8216_probe
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35559
2013-02-11 16:11:30 +00:00
Gabor Juhos 1afb759b35 generic: ar8216: use phydev instead of pdev everywhere
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35555
2013-02-11 13:25:43 +00:00
Gabor Juhos 0b1fe07e8e generic: ar8216: use pr_* macros for kernel messages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35554
2013-02-11 13:14:00 +00:00
Gabor Juhos eea297884e generic: ar8216: fix PHY features setup
Sujith says:

This commit breaks the WAN port on my AP96 - DHCP fails.
Reverting it fixes the issue.

  commit b67cc3a0cdd02973610d4d5a63226d1c44841e94
  Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  Date:   Fri Feb 8 09:13:18 2013 +0000

    generic: ar8216: simplify phy features setup

    Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73

This change restores the previous behaviour and moves
the code into the ar8216_probe function.

Reported-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>

SVN-Revision: 35549
2013-02-11 10:05:35 +00:00
Gabor Juhos 617076c613 generic: ar8216: add ar8xxx_probe_switch helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35547
2013-02-10 19:02:01 +00:00
Gabor Juhos 98b13e39ac generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35546
2013-02-10 18:42:08 +00:00
Gabor Juhos f97170a720 generic: ar8216: free mib counters from ar8xxx_free
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35545
2013-02-10 18:42:07 +00:00
Gabor Juhos 7924e517af generic: ar8216: add ar8xxx_free helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35544
2013-02-10 18:42:05 +00:00
Gabor Juhos 77b3c551c4 generic: ar8216: add ar8xxx_create{,mii} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35543
2013-02-10 18:42:04 +00:00
Gabor Juhos 5f70b1db2a generic: ar8216: remove redundant phy address check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35542
2013-02-10 18:38:12 +00:00
Gabor Juhos 14fd37258b generic: ar8216: only set phy_ptr if packet mangling is used
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35541
2013-02-10 18:38:10 +00:00
Gabor Juhos 393163b098 generic: ar8216: add defines for the AR8316 POSTRIP register
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35539
2013-02-10 13:18:48 +00:00
Gabor Juhos 5ed480598d generic: ar8216: don't probe the chip multiple times
It is only needed when the private data is allocated.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35538
2013-02-10 13:05:15 +00:00
Gabor Juhos 774da6c7a4 generic: ar8216: add sanity check to ar8216_probe
Verify that the mdio bus has PHY devices with
a supported PHY ID at address 0-4.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35537
2013-02-10 13:05:14 +00:00
Gabor Juhos 4720c75cf7 generic: ar8216: skip probe on unused PHY addresses
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35536
2013-02-10 13:05:12 +00:00
Jonas Gorski f07a33afc2 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35535
2013-02-10 12:31:38 +00:00
Jonas Gorski eedc3554fe generic: b53: fix reverted error check in probe
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.

Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35534
2013-02-10 12:31:36 +00:00
Jonas Gorski 200359a520 bcm63xx: handle huawei nvram layout
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.

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

SVN-Revision: 35533
2013-02-10 12:31:31 +00:00
Gabor Juhos de123c4409 generic: ar8216: move sleep out of the loop
It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35532
2013-02-09 13:26:04 +00:00
Gabor Juhos 6ff973bdda ar71xx: Routerboard 751 Mac Address Offset Fix
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35519
2013-02-08 09:34:53 +00:00
Gabor Juhos aa04441904 generic: ar8216: simplify phy features setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35518
2013-02-08 09:13:18 +00:00