Commit Graph

10270 Commits

Author SHA1 Message Date
Florian Fainelli
518d6a9273 kernel: backport switch user API changes after r36283
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

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

SVN-Revision: 36295
2013-04-09 15:47:01 +00:00
John Crispin
fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin
bc7b310959 move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36290
2013-04-09 14:19:36 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
e468abcae0 remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36288
2013-04-09 14:19:28 +00:00
John Crispin
82c3b7ce26 add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36287
2013-04-09 14:19:24 +00:00
John Crispin
f1e9d30ffc add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36286
2013-04-09 14:19:20 +00:00
John Crispin
fcd962cc71 set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36285
2013-04-09 14:19:17 +00:00
John Crispin
fff58a5801 allow loading port maps from OF
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36283
2013-04-09 14:19:09 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Gabor Juhos
130f67210a ramips: TEW-691GR.dts fixes
* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle

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

SVN-Revision: 36276
2013-04-08 12:34:17 +00:00
Gabor Juhos
a4a148f222 ramips: rt3883: enable the AR8216 driver
It is needed for the TEW-69{1,2}GR boards.

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

SVN-Revision: 36275
2013-04-08 12:34:15 +00:00
Gabor Juhos
a9d977b2af ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36274
2013-04-08 11:12:04 +00:00
Gabor Juhos
82705b30b3 ramips: OMNI-EMB-HPM.dts fixes
* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties

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

SVN-Revision: 36273
2013-04-08 11:12:03 +00:00
Gabor Juhos
909fabe574 ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36272
2013-04-08 11:12:02 +00:00
Gabor Juhos
78ee80f2e8 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36271
2013-04-08 11:12:01 +00:00
Gabor Juhos
30e5bae84a ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36270
2013-04-08 08:24:51 +00:00
Gabor Juhos
cd7ce5226d ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36269
2013-04-08 08:24:50 +00:00
Gabor Juhos
4c85227cf4 ramips: TEW-692GR.dts fixes
* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node

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

SVN-Revision: 36268
2013-04-08 07:11:35 +00:00
Gabor Juhos
97635d7a8e ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36264
2013-04-07 20:56:22 +00:00
Gabor Juhos
474264f64c ramips: add PCI node for rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36263
2013-04-07 20:56:21 +00:00
Gabor Juhos
6c8951313c ramips: rt3883: enable PCI support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36262
2013-04-07 20:56:20 +00:00
Gabor Juhos
b6b0a8fbee ramips: fix RT3883 PCI driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36261
2013-04-07 20:56:18 +00:00
Gabor Juhos
1700bf5b2e ramips: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36260
2013-04-07 17:05:05 +00:00
Gabor Juhos
6de8743e44 ramips: add missing cpu-feature-override.h files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36259
2013-04-07 17:05:04 +00:00
Gabor Juhos
68875710fd ramips: fix broken patch name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36258
2013-04-07 16:26:27 +00:00
Gabor Juhos
16d0ce52b0 ramips: fix polarity of GPIO buttons for RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36257
2013-04-07 16:24:33 +00:00
Gabor Juhos
9e6ae6ab5d x86/generic: remove old kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36256
2013-04-07 15:53:17 +00:00
Gabor Juhos
0d0bfe3d41 x86/generic: switch to 3.8
Only tested within a VM.

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

SVN-Revision: 36255
2013-04-07 15:53:15 +00:00
Gabor Juhos
f5d28ea3ce x86/generic: add config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36254
2013-04-07 15:53:13 +00:00
Gabor Juhos
71a51e3b91 x86/alix2: remove old kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36253
2013-04-07 15:53:11 +00:00
Gabor Juhos
15d311ec18 x86/alix2: switch to 3.8
Tested on an alix2d13 board.

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

SVN-Revision: 36252
2013-04-07 15:53:09 +00:00
Gabor Juhos
9d05b1b683 x86/alix2: add config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36251
2013-04-07 15:53:08 +00:00
Gabor Juhos
89f690843f x86: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36250
2013-04-07 15:53:05 +00:00
Gabor Juhos
d1f28c6d1f ramips: add nor-flash node for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36249
2013-04-07 14:46:11 +00:00
Gabor Juhos
0c3c29ca38 ramips: fix pinmux settings for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36248
2013-04-07 14:46:10 +00:00
Gabor Juhos
66fbe78a93 ramips: pinmux fixes
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36247
2013-04-07 14:46:09 +00:00
Gabor Juhos
aedf05caa0 ramips: remove trailing whitespaces from dts files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36246
2013-04-07 13:32:37 +00:00
Gabor Juhos
017aabe292 ramips: handle PCI interrupts in plat_irq_dispatch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36245
2013-04-07 13:25:38 +00:00
John Crispin
811f7f9f2d fix typos inside dts files
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>

SVN-Revision: 36244
2013-04-07 11:47:03 +00:00
John Crispin
709b19ed9f fix default commandline in dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36243
2013-04-07 11:46:54 +00:00
Gabor Juhos
85675528da ramips: add cfi_cmdset_0002 patches
The parallel flash access on the RT-N56U is broken
without those patches.

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

SVN-Revision: 36242
2013-04-07 11:37:15 +00:00
Felix Fietkau
fde143b66f cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36241
2013-04-07 11:24:30 +00:00
Gabor Juhos
10d8e4b66c ramips: remove top-level {address,size}-cells properties from .dts files
Those are defined in the SoC specific .dtsi files.

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

SVN-Revision: 36237
2013-04-07 08:19:10 +00:00
Hauke Mehrtens
4a46687d25 brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

Thank you russell for spotting this problem.

SVN-Revision: 36235
2013-04-06 22:22:26 +00:00
Hauke Mehrtens
204bde8d98 brcm47xx: fix error in board detection when nvram is not available.
SVN-Revision: 36234
2013-04-06 19:02:25 +00:00
Gabor Juhos
d45ef216e6 linux/3.8: implement pcibios_get_phb_of_node for MIPS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36233
2013-04-06 17:33:03 +00:00
Gabor Juhos
51fa28e2c2 linux/3.8: backport devm_ioremap_resource from 3.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36232
2013-04-06 17:33:00 +00:00
Gabor Juhos
756b810178 ramips: fix ethernet switch node in DIR-645.dts
Fix a typo in the node name and add vendor prefix
for the compatible string.

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

SVN-Revision: 36231
2013-04-06 17:19:35 +00:00
Gabor Juhos
747b795b56 generic: rtl8367: add compatible string with vendor prefix
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36230
2013-04-06 17:19:31 +00:00
Gabor Juhos
f5d8d80ca9 generic: rtl8367b: fix rtl8367b_extif_init_of
* disable external interface if its property is not present
* show an error message if the extif property is not valid
* use proper error values intead of -1
* fix memory leak
* wrap long lines

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

SVN-Revision: 36229
2013-04-06 17:03:09 +00:00
Gabor Juhos
32d3b456f0 linux/3.8: add more missing symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36228
2013-04-06 16:56:47 +00:00
Gabor Juhos
89539462a8 linux/3.8: add missing symbol
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36226
2013-04-06 16:38:36 +00:00
Gabor Juhos
1ef39b43dd ramips: remove spi node from RTN56.dts
The RT-N56U board uses a parallel flash.

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

SVN-Revision: 36223
2013-04-06 12:37:40 +00:00
Gabor Juhos
d57e662cda ramips: fix ethernet switch node in RTN56U.dts
The RT-N56U uses an RTL8367M switch.

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

SVN-Revision: 36222
2013-04-06 12:37:38 +00:00
Gabor Juhos
4becd8590c ramips: rt3883: enable the RTL8367 driver
That is needed by the Asus RT-N56U board.

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

SVN-Revision: 36221
2013-04-06 12:37:37 +00:00
Gabor Juhos
38bd9b4337 generic: rtl8367: allow to load extif config from OF
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36220
2013-04-06 12:37:36 +00:00
Gabor Juhos
585d19d168 generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36219
2013-04-06 12:37:34 +00:00
Gabor Juhos
68c931c637 generic: rtl8367: add vendor prefix to the compatible string
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36218
2013-04-06 12:37:32 +00:00
Gabor Juhos
348640f4b3 ramips: rt3883: sync 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36217
2013-04-06 12:37:31 +00:00
John Crispin
d16de0b69f fix typo pinmmux -> pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36216
2013-04-06 11:46:34 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos
202fb45deb refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36214
2013-04-06 11:40:41 +00:00
John Crispin
df7af06f1f fix dir-615 h1 network config
http://patchwork.openwrt.org/patch/3527/

Signed-off-by: Daniel Petre <dani@ip6.ro>

SVN-Revision: 36213
2013-04-05 23:37:45 +00:00
John Crispin
e1a74d8ff7 fix typo that made gpiomuxing fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36212
2013-04-05 23:10:42 +00:00
Florian Fainelli
495296bba9 malta: add le64 and be64 sub targets
These two subtargets are used to build a 64-bit malta kernel along with
64-bit userland support.

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

SVN-Revision: 36211
2013-04-05 12:36:48 +00:00
Florian Fainelli
12b925dcbf malta: move 32-bits options to subtarget config
Preliminary change to add support for MIPS64-based malta subtargets.

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

SVN-Revision: 36210
2013-04-05 12:36:45 +00:00
Florian Fainelli
5eb8ba7f19 malta: move endianness kernel configuration to subtarget
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36209
2013-04-05 12:36:41 +00:00
Florian Fainelli
348cae15d2 buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36204
2013-04-05 12:36:19 +00:00
Florian Fainelli
46dfa04a08 malta: enable mips16 feature flag
The malta platform supports mips16 advertise this feature flag.

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

SVN-Revision: 36203
2013-04-05 12:36:16 +00:00
Florian Fainelli
9e1d2c15d9 buildroot: allow enabling MIPS16 user-space build
Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).

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

SVN-Revision: 36202
2013-04-05 12:36:12 +00:00
John Crispin
d9bb7ff7a5 Migrate lantiq platform to common led helper functions
http://patchwork.openwrt.org/patch/3316/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 36187
2013-04-03 10:01:07 +00:00
John Crispin
a4c745ee74 add a missing patch that makes board detection work again
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36186
2013-04-03 10:01:03 +00:00
John Crispin
c838ec2391 Patch for invoking (pre)init
http://patchwork.openwrt.org/patch/3485/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 36183
2013-04-03 10:00:50 +00:00
John Crispin
93899a1329 add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/

Signed-off-by: Chi Zhang <zhangchi866@gmail.com>

SVN-Revision: 36176
2013-04-03 10:00:21 +00:00
John Crispin
7e54357bd5 fix ALL5002 default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36175
2013-04-03 10:00:16 +00:00
John Crispin
37401dca92 Build WW factory image for DAP-1350
http://patchwork.openwrt.org/patch/3466/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36174
2013-04-03 10:00:12 +00:00
John Crispin
910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 36173
2013-04-03 10:00:08 +00:00
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