Commit graph

12334 commits

Author SHA1 Message Date
John Crispin
5b4e53f59f atheros: use static keywork for local code
Make PCI IRQ handler and several structures static as suggested by
sparse.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 42485
2014-09-12 06:51:10 +00:00
John Crispin
9b5f1a4f33 atheros: use NULL instead of plain integer
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 42484
2014-09-12 06:51:05 +00:00
John Crispin
d4113b1055 atheros: add missing include
Missing this headers cause several sparse "symbol 'foo' was not
declared. Should it be static?" warnings.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 42483
2014-09-12 06:50:58 +00:00
John Crispin
60922d0013 atheros: avoid extern prototypes
Avoid using of extern prototypes as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 42482
2014-09-12 06:50:53 +00:00
John Crispin
17cf9c4593 ralink: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42481
2014-09-12 06:50:46 +00:00
John Crispin
18b5d72d83 lantiq: update 3.14 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42476
2014-09-11 17:49:57 +00:00
Luka Perkov
02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
2014-09-10 21:40:19 +00:00
Felix Fietkau
c772d71d05 atheros: enable the low_mem flag to better deal with 16M RAM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42460
2014-09-10 13:50:10 +00:00
Felix Fietkau
1961f8cdb7 ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42457
2014-09-10 12:56:24 +00:00
Luka Perkov
9ccacbaa40 imx6: fix image build for Generic profile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42455
2014-09-09 21:15:49 +00:00
Hauke Mehrtens
54cd991725 kernel: drop 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42452
2014-09-08 19:55:36 +00:00
Hauke Mehrtens
eea3a89a6a gemini: drop kernel 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42451
2014-09-08 19:55:00 +00:00
Hauke Mehrtens
d0d537a039 gemini: switch to kernel 3.10
This switches to kernel 3.10 that was prepared by Hauke in r41531 :
    gemini: add support for kernel 3.10

    This is compile tested only, please run test and report back.

I've simply checked if it still compiles, unfortunately we didn't get
any feedback for this target.

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

SVN-Revision: 42450
2014-09-08 19:54:22 +00:00
Hauke Mehrtens
a446681bc6 omap: add kernel 3.14 support
It has been compile-tested only so far. Please give it a try.

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

SVN-Revision: 42449
2014-09-08 19:53:01 +00:00
Hauke Mehrtens
8313b329c6 kernel: add bcma patches sent upstream but not pushed yet
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42448
2014-09-08 19:50:53 +00:00
Hauke Mehrtens
e030c50502 kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42447
2014-09-08 19:50:11 +00:00
John Crispin
4662c3b847 ralink: dwc_otg->dwc2
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

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

SVN-Revision: 42446
2014-09-08 17:33:16 +00:00
John Crispin
bdba024c7b ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42445
2014-09-08 17:32:52 +00:00
John Crispin
a4eae94a9c lantiq: add ath9k led pin support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42437
2014-09-08 14:29:18 +00:00
Zoltan Herpai
d4a2aa4f92 sunxi: re-add lradc driver in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42436
2014-09-08 07:50:03 +00:00
Felix Fietkau
60b81acd60 ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>

SVN-Revision: 42432
2014-09-07 09:45:32 +00:00
Felix Fietkau
60eeadd0ba ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42429
2014-09-06 17:51:48 +00:00
Felix Fietkau
2da2317fed ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42428
2014-09-06 17:51:44 +00:00
Felix Fietkau
05dd36a980 ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42427
2014-09-06 17:51:39 +00:00
Felix Fietkau
efa2159e17 atheros: remove linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42426
2014-09-06 17:51:35 +00:00
Zoltan Herpai
044bf28357 sunxi: bump kernel to 3.14.16
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42425
2014-09-06 15:59:06 +00:00
Zoltan Herpai
b217763e41 sunxi: update pcDuino3 profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42424
2014-09-06 15:57:08 +00:00
Zoltan Herpai
6833e90f0c sunxi: update Bananapi profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42423
2014-09-06 15:23:30 +00:00
Nicolas Thill
4ea085316e uml: bump to 3.14.16
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 42421
2014-09-05 22:02:09 +00:00
Florian Fainelli
d2a420fa22 at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42418
2014-09-03 03:11:25 +00:00
Florian Fainelli
7175e520e1 at91: add SAMA5D3 subtarget
Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

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

SVN-Revision: 42417
2014-09-03 03:11:11 +00:00
Florian Fainelli
00c0f4f27a at91: move legacy Kconfig options to subtarget
Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

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

SVN-Revision: 42416
2014-09-03 03:10:59 +00:00
Florian Fainelli
640579bf49 at91: switch to 3.14
We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

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

SVN-Revision: 42415
2014-09-03 03:10:47 +00:00
Florian Fainelli
892d571d07 at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform.

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

SVN-Revision: 42414
2014-09-03 03:10:18 +00:00
Florian Fainelli
035f68e858 at91: move 3.10 specific files and patches
In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

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

SVN-Revision: 42413
2014-09-03 03:09:51 +00:00
Florian Fainelli
132676f1ac at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42412
2014-09-03 03:09:36 +00:00
Florian Fainelli
5efbc41cbb at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42410
2014-09-03 03:09:14 +00:00
Florian Fainelli
c2b92f9ef4 at91: create a legacy subtarget
In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

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

SVN-Revision: 42408
2014-09-03 03:08:51 +00:00
Felix Fietkau
366007c3d8 omap: remove 3.12 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42401
2014-09-02 17:00:46 +00:00
Felix Fietkau
1839d1b912 cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42400
2014-09-02 16:44:40 +00:00
John Crispin
f11bd56f31 ipx806x: bump to 3.14.16
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42336
2014-08-30 09:59:30 +00:00
John Crispin
4d96ccd87a target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42335
2014-08-30 09:59:18 +00:00
John Crispin
3c1f6e358d ipq806x: Add support for IPQ806x chip family
Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

All these patches are either integrated are pending integration into
kernel.org, therefore these patches should go away once the kernel
gets upgraded to 3.16.

Support is currently limited to AP148 board but can be extended to other
platforms in the future.

These changes do not cover ethernet connectivity.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 42334
2014-08-30 09:32:58 +00:00
Felix Fietkau
926f000b99 ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42333
2014-08-30 09:11:41 +00:00
Florian Fainelli
a5a309142c kirkwood: fix typos on DEBUG_LL_UART_*
We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

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

SVN-Revision: 42332
2014-08-30 00:32:05 +00:00
Felix Fietkau
4ff324191f ar71xx: select m25p80 support instead of spi support where used by mach files (#17699)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42331
2014-08-29 21:10:39 +00:00
Felix Fietkau
2c680151e4 ar71xx: split packets into multiple descriptors on ar716x
This improves performance when doing concurrent rx/tx on a single
ethernet MAC, e.g. when routing between VLANs.

Fixes #13072

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42328
2014-08-29 19:42:08 +00:00
John Crispin
d1f8b9bd76 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42321
2014-08-28 09:19:56 +00:00
John Crispin
254b2670e1 ar71xx: add Support for RB2011UiAS-2HnD
SVN-Revision: 42317
2014-08-28 06:27:45 +00:00
John Crispin
e47fbcbf1d lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 42316
2014-08-28 06:27:41 +00:00