Commit graph

8567 commits

Author SHA1 Message Date
Florian Fainelli
8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +00:00
Florian Fainelli
93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +00:00
Florian Fainelli
bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +00:00
Gabor Juhos
fe015f399f ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos
b39df5bb81 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos
e258367c19 ar71xx: merge new board patches into the generic patch
SVN-Revision: 32637
2012-07-06 11:12:01 +00:00
Gabor Juhos
b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
2012-07-06 11:11:58 +00:00
Florian Fainelli
110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli
a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli
81681d7367 give an unique partition identifier for dLAN USB Extender Combined partition
SVN-Revision: 32626
2012-07-05 18:46:48 +00:00
Gabor Juhos
eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos
7c932579fa ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
2012-07-05 08:26:57 +00:00
Gabor Juhos
797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos
b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos
f0cda65bb6 ar71xx: add initial support for the Qualcomm Atheros AP136 board
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos
d1b237b335 ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
7284cf73d6 ar71xx: refactor PCI code to allow registering multiple PCI controllers
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Gabor Juhos
6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Florian Fainelli
0fdac1102d add missing interrupts properties to some device nodes
SVN-Revision: 32603
2012-07-04 19:37:11 +00:00
Felix Fietkau
bfef2d17eb ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Jonas Gorski
0a3e9c3148 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
SVN-Revision: 32594
2012-07-03 21:42:17 +00:00
Jonas Gorski
fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

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

SVN-Revision: 32593
2012-07-03 21:42:15 +00:00
Jonas Gorski
0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
2012-07-03 21:42:12 +00:00
Jonas Gorski
988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
2012-07-03 21:42:07 +00:00
Jonas Gorski
1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Gabor Juhos
b8618fd3f2 ar71xx: improve MDIO busy wait code
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
Gabor Juhos
86013d40d5 ar71xx: remove the built-in MTD map of the ALL0258N
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

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

SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Florian Fainelli
4cdc4b1f36 refresh patches
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Hauke Mehrtens
bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Florian Fainelli
52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Felix Fietkau
5570b76642 ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Felix Fietkau
a5c684de26 kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

SVN-Revision: 32514
2012-06-27 22:32:47 +00:00
Florian Fainelli
1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Felix Fietkau
41909c6568 kernel: add missing config symbol
SVN-Revision: 32498
2012-06-24 20:21:27 +00:00
Vasilis Tsiligiannis
eee358338c ramips: mac address detection for Fonera 2.0n
Detect and apply MAC address of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32490
2012-06-23 13:58:29 +00:00
Florian Fainelli
81e8757da4 provide an early ioremap cookie of the system configuration register
SVN-Revision: 32489
2012-06-23 11:03:50 +00:00
Florian Fainelli
98b2bc9189 group SYSDBG register defines in mcs814x.h
SVN-Revision: 32488
2012-06-23 11:03:45 +00:00
Florian Fainelli
a8965f0005 make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli
7c984552ed remove platform specific initialization from ethernet driver
Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
2c47bbc199 regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Florian Fainelli
481c9faf20 remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli
4b33e0996e fix USB led triggers
SVN-Revision: 32474
2012-06-20 21:58:00 +00:00
Florian Fainelli
a98c74164e use generic uci defaults functions
SVN-Revision: 32473
2012-06-20 21:57:56 +00:00
Florian Fainelli
007fa4d638 remove uselss cache invalidations
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d improve ethernet driver debugging
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
3b0dba382b do not use MULTI_IRQ_HANDLER it is bogus on our platform
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Mirko Vogt
f45cd30543 verified to work - remove broken flag
SVN-Revision: 32469
2012-06-20 19:04:35 +00:00
Vasilis Tsiligiannis
1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00