Commit Graph

1225 Commits (cdb871ac48f70483063f49af78470bce7e41cf17)

Author SHA1 Message Date
Hauke Mehrtens 53a2c19c69 kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38307
11 years ago
Hauke Mehrtens 9e5eeb3c38 kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38292
11 years ago
Hauke Mehrtens 101034fa23 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38291
11 years ago
Hauke Mehrtens fa839274b0 kernel: bcma: update to wireless-testing master-2013-10-01
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38290
11 years ago
Hauke Mehrtens 125fc703bb kernel: bgmac: move other bgmac patches to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38289
11 years ago
Hauke Mehrtens 06c8b90ebf kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38288
11 years ago
Felix Fietkau a5e85d5a3e kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38246
11 years ago
Felix Fietkau 50ae6314d8 kernel: add another missing symbol for iio
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38241
11 years ago
Felix Fietkau 08a232c8cf kernel: add missing symbols for iio on older kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38240
11 years ago
Gabor Juhos 9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
11 years ago
Gabor Juhos 8d4eb18740 kernel/3.10: use backported patch for PMC SPI flash support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38218
11 years ago
Gabor Juhos 396c3b023e kernel/3.10: add '003-11-' prefix for patches backported from 3.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38217
11 years ago
Gabor Juhos 5847ec55ab kernel/3.9: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38216
11 years ago
Gabor Juhos 4562eb875b kernel/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38215
11 years ago
Hauke Mehrtens c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38198
11 years ago
Gabor Juhos fc79d210e0 kernel: create firmware partition from MyLoader partition parser
This is in preparation for sysupgrade support for Compex devices.

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

SVN-Revision: 38197
11 years ago
Gabor Juhos 7530971113 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38187
11 years ago
Gabor Juhos 1bd2b56081 kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.

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

SVN-Revision: 38179
11 years ago
Gabor Juhos 443072fda7 kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38178
11 years ago
Gabor Juhos 2e62ff9320 kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38114
11 years ago
Gabor Juhos 2f2ed5c5c1 kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38113
11 years ago
Gabor Juhos 98db90576c kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38112
11 years ago
Gabor Juhos 61c39f923b kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38111
11 years ago
Gabor Juhos daec7ad768 kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38110
11 years ago
Gabor Juhos d89bea92b3 kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38109
11 years ago
Gabor Juhos 3b71cd94bc kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38108
11 years ago
Gabor Juhos 6f2b80dff1 kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38107
11 years ago
Felix Fietkau 9158a08983 kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38016
11 years ago
Hauke Mehrtens 0294358e11 kernel: add generic GPIO watchdog driver
This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38010
11 years ago
Gabor Juhos a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

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

SVN-Revision: 38002
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago
Gabor Juhos 4beccfcccb kernel/3.10: move OpenWrt MTD options into a submenu
Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.

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

SVN-Revision: 37997
11 years ago
Hauke Mehrtens f5989e7f59 kernel: b53: detect revision of BCM5325
The revision is stored in a different register than it is in other
Broadcom switches.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37995
11 years ago
Hauke Mehrtens 49d7c57fd1 kernel: b53: fix vlan write for BCM5325 revison 3+
These switches are integrated in some recent BCM53XX and BCM47XX SoCs
like the BCM53572.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37994
11 years ago
Hauke Mehrtens cde1d53625 kernel: b53: use hard coded switch reset gpio on some boards.
The Linksys wrt310n v1 does not have a robo_reset config variable in
nvram, but GPIO Pin 8 is the pin needed for resetting the external
switch, Linksys hard coded it into their source code.

Thank you Devastator for testing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37988
11 years ago
Hauke Mehrtens 2da56b4ebc kernel: b53: add soft reset for BCM539x switches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37987
11 years ago
Gabor Juhos ec5ee2f269 generic/3.10: remove unused defines from the rootfs split patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37981
11 years ago
Gabor Juhos ac28225e24 generic/3.10: reduce number of ifdefs in the rootfs split code
Use the config_enabled() macro where it is possible.

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

SVN-Revision: 37980
11 years ago
Gabor Juhos 3a241f67a7 generic/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37975
11 years ago
Gabor Juhos 2d49e32715 generic/3.10: rename mtd patches
- change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

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

SVN-Revision: 37974
11 years ago
Hauke Mehrtens 614e8f44bd kernel: update bcma and ssb to wireless-testing master-2013-09-09
SVN-Revision: 37957
11 years ago
Luka Perkov ed6d759f39 kernel: add support for ESMT F25L32PA with upstream submission
Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37956
11 years ago
Felix Fietkau 8eb57d0cd7 kernel: align the skb padding to power of two
The skb is usually started by a padding which allows the protocols in the
network stack to add their headers in front of the payload. The skb can be
reallocated in case the preallocated padding is not large enough. This can for
example happen in the function __skb_cow which will check the requested extra
headroom and allocate more buffer when the requested headroom is bigger than
the available one. The extra buffer is aligned again to the multiple of the
NET_SKB_PAD of the target architecture.

The macro used to create the multiple of the NET_SKB_PAD is written in a way
which allows only values power two as alignment parameter. The currently used
value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The
extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80,
128, 144 and so on. The generated values are also not monotonic (48 requested
bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64
allocated bytes).

These unexpected small values result in more reallocations of the buffer. This
was noticed prominently during tests between two QCA9558 720 MHz devices which
were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each
other. The throughput PC-to-PC during iperf TCP runs increased reliable from
186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s
in the other direction. This is a performance increase of ~14% just by reducing
the amount of reallocations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 37948
11 years ago
Florian Fainelli 4434bc361d kernel: fix broken depends syntax introduced in r37933
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37942
11 years ago
Florian Fainelli 3668004858 kernel: Fix FIQ code on VIVT CPUs (#14145)
Backport an upstream patch to fix FIQ code on VIVT CPUs

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

SVN-Revision: 37940
11 years ago
Luka Perkov 7d73153e86 kernel: allow hwmon GSC driver for all targets
- enable using hwmon GSC driver on all targets
- add a kmod package for it

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

SVN-Revision: 37933
11 years ago
Felix Fietkau 11926c2fd8 kernel: fix arch-dependent bug in hso module
Currently, the module causes an oops at least on rt5350. These patches
have been accepted upstream at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 37931
11 years ago
Jonas Gorski 4b0655500a kernel: b53: support phy ids for BCM5365
BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37906
11 years ago
Imre Kaloz 445d1a8b27 Add missing symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37897
11 years ago
Hauke Mehrtens 4eced13a37 kernel: b53: allow access the MIB counters on BCM5365
b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37895
11 years ago