Felix Fietkau [Fri, 1 Mar 2013 11:22:27 +0000 (11:22 +0000)]
cns3xxx: backport laguna UART setup crash fix from r33719, r33721
SVN-Revision: 35839
Luka Perkov [Tue, 26 Feb 2013 20:05:41 +0000 (20:05 +0000)]
gcc: don't build documentation
backport of r35807
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 35817
Felix Fietkau [Mon, 25 Feb 2013 19:56:26 +0000 (19:56 +0000)]
ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
Backport of r35785
SVN-Revision: 35786
John Crispin [Mon, 25 Feb 2013 13:41:54 +0000 (13:41 +0000)]
fixes lantiq dsl firmware naming conventions
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35783
John Crispin [Mon, 25 Feb 2013 13:41:52 +0000 (13:41 +0000)]
backport esw led switch fix
fixes #12989
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35782
John Crispin [Mon, 25 Feb 2013 13:41:50 +0000 (13:41 +0000)]
fixes mbssid on ralink hardware
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35781
John Crispin [Mon, 25 Feb 2013 13:41:48 +0000 (13:41 +0000)]
adds missing backport needed for ralink mbssid
fixes #12952
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35780
Jonas Gorski [Mon, 25 Feb 2013 12:55:59 +0000 (12:55 +0000)]
AA: bcm63xx: Fix sysupgrade for tag-version 7 and 8
Backport of r35724.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 35779
Jonas Gorski [Mon, 25 Feb 2013 12:51:36 +0000 (12:51 +0000)]
AA kernel: modules: don't skip built-in modules for i2c
Backport of r35755.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35778
Jonas Gorski [Mon, 25 Feb 2013 12:51:35 +0000 (12:51 +0000)]
AA: mac80211: add missing DRIVER_11N_SUPPORT selects
Backport of r35711.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35777
Jonas Gorski [Mon, 25 Feb 2013 12:51:33 +0000 (12:51 +0000)]
AA: ar71xx: register the micro sd card reader on RB493G
Backport of r35535.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35776
Felix Fietkau [Fri, 22 Feb 2013 20:13:26 +0000 (20:13 +0000)]
ath9k: fix rssi issues
Backport of r35750
SVN-Revision: 35752
Felix Fietkau [Fri, 22 Feb 2013 20:13:24 +0000 (20:13 +0000)]
ath9k_htc: fix signal strength reporting issues
Backport of r35749
SVN-Revision: 35751
Gabor Juhos [Thu, 21 Feb 2013 18:02:50 +0000 (18:02 +0000)]
AA: ar71xx: fix MAC address assignment on the DIR-825-Bx boards
Backport of r35730.
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: 35731
Hauke Mehrtens [Thu, 21 Feb 2013 15:15:28 +0000 (15:15 +0000)]
brcm47xx: fix name of kmod-ocf-ubsec-ssb
backport of r35509.
SVN-Revision: 35725
Felix Fietkau [Sat, 16 Feb 2013 19:01:44 +0000 (19:01 +0000)]
hostapd: fix the scan wait patch for multiple interfaces
Backport of r35630
SVN-Revision: 35631
Felix Fietkau [Sat, 16 Feb 2013 14:26:36 +0000 (14:26 +0000)]
hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
Backport of r35619
SVN-Revision: 35620
Gabor Juhos [Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)]
AA: ar71xx: Routerboard 751 Mac Address Offset Fix
Backport of r35519.
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: 35531
Tim Yardley [Fri, 8 Feb 2013 22:35:37 +0000 (22:35 +0000)]
openssl: backport r35524
Signed-off-by: Tim Yardley <yardley@gmail.com>
SVN-Revision: 35530
Felix Fietkau [Tue, 29 Jan 2013 22:24:07 +0000 (22:24 +0000)]
libubox: update to latest version, fixes a string corruption issue on JSON formatting
Backport of r35399
SVN-Revision: 35400
Felix Fietkau [Tue, 29 Jan 2013 14:41:40 +0000 (14:41 +0000)]
netifd: update to latest version
fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)
Backport of r35383
SVN-Revision: 35384
Felix Fietkau [Mon, 28 Jan 2013 20:37:19 +0000 (20:37 +0000)]
netifd: update to latest version, fixes setting addresses/routes on alias interfaces
Backport of r35362
SVN-Revision: 35363
Jo-Philipp Wich [Mon, 28 Jan 2013 16:02:24 +0000 (16:02 +0000)]
AA: feeds: switch to LuCI v0.11.1 tag
SVN-Revision: 35351
Jo-Philipp Wich [Mon, 28 Jan 2013 15:59:01 +0000 (15:59 +0000)]
AA: firewall: backport r35348
SVN-Revision: 35350
Felix Fietkau [Sun, 27 Jan 2013 19:03:44 +0000 (19:03 +0000)]
netfilter: add support for flushing conntrack via /proc
Backport of r35330
SVN-Revision: 35331
Felix Fietkau [Tue, 22 Jan 2013 16:06:39 +0000 (16:06 +0000)]
netifd: sync with trunk r35297, adds another alias support fix
SVN-Revision: 35298
Felix Fietkau [Mon, 21 Jan 2013 13:25:38 +0000 (13:25 +0000)]
ubus: revert the package install section from the trunk sync commit
SVN-Revision: 35267
Jo-Philipp Wich [Mon, 21 Jan 2013 12:25:42 +0000 (12:25 +0000)]
AA: feeds: switch to LuCI v0.11.0 tag
SVN-Revision: 35263
Felix Fietkau [Sun, 20 Jan 2013 15:52:19 +0000 (15:52 +0000)]
netifd: sync with trunk r35251
SVN-Revision: 35254
Felix Fietkau [Sun, 20 Jan 2013 15:52:17 +0000 (15:52 +0000)]
ubus: sync with trunk r35141
SVN-Revision: 35253
Felix Fietkau [Sun, 20 Jan 2013 15:52:16 +0000 (15:52 +0000)]
libubox: sync with trunk r35128
SVN-Revision: 35252
Jo-Philipp Wich [Sat, 19 Jan 2013 10:19:40 +0000 (10:19 +0000)]
AA: busybox: merge r35239
SVN-Revision: 35241
Jonas Gorski [Fri, 18 Jan 2013 15:21:59 +0000 (15:21 +0000)]
AA: generic: rtl8366_smi: only assign pvid if no pvid was set yet
Backport or r35227.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35228
Luka Perkov [Thu, 17 Jan 2013 14:14:55 +0000 (14:14 +0000)]
uci: sync with trunk
backport of r35013, r33861, r33660
SVN-Revision: 35195
Felix Fietkau [Mon, 14 Jan 2013 15:59:28 +0000 (15:59 +0000)]
ath9k: fix a soft lockup on smp systems
Backport of r35152
SVN-Revision: 35153
Felix Fietkau [Mon, 14 Jan 2013 09:52:14 +0000 (09:52 +0000)]
ath9k: remove a lock to fix a deadlock on hw reset
Backport of r35147
SVN-Revision: 35148
Luka Perkov [Fri, 11 Jan 2013 09:46:48 +0000 (09:46 +0000)]
package: kernel: make crypto kmods always visible
backport r34298
SVN-Revision: 35093
Felix Fietkau [Thu, 10 Jan 2013 18:47:04 +0000 (18:47 +0000)]
ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
Backport of r35089
SVN-Revision: 35090
Felix Fietkau [Thu, 10 Jan 2013 18:02:47 +0000 (18:02 +0000)]
uClibc: backport useful fixes from trunk (#12777)
SVN-Revision: 35088
Felix Fietkau [Thu, 10 Jan 2013 14:10:41 +0000 (14:10 +0000)]
ath9k: add some calibration fixes from wireless-testing
Backport r35081
SVN-Revision: 35082
Felix Fietkau [Wed, 9 Jan 2013 15:19:10 +0000 (15:19 +0000)]
ath9k: correct a logic error in the rx path fix
Backport of r35067
SVN-Revision: 35068
Felix Fietkau [Wed, 9 Jan 2013 12:49:22 +0000 (12:49 +0000)]
mac80211: refresh patches
SVN-Revision: 35065
Felix Fietkau [Wed, 9 Jan 2013 12:49:21 +0000 (12:49 +0000)]
ath9k: backport stability fixes from r35063
SVN-Revision: 35064
Felix Fietkau [Mon, 7 Jan 2013 21:12:46 +0000 (21:12 +0000)]
mac80211: apply network interface configuration for adhoc + wpa2
Backport of r35049
SVN-Revision: 35050
Felix Fietkau [Mon, 7 Jan 2013 15:25:33 +0000 (15:25 +0000)]
libubox: update to latest version, contains several uloop/ustream fixes
Backport of r35039
SVN-Revision: 35040
Gabor Juhos [Mon, 7 Jan 2013 14:43:21 +0000 (14:43 +0000)]
AA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
Backport of r35037.
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.
Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.
Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35038
Felix Fietkau [Thu, 3 Jan 2013 20:03:14 +0000 (20:03 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
Backport of r34869
SVN-Revision: 35003
Felix Fietkau [Wed, 2 Jan 2013 17:40:31 +0000 (17:40 +0000)]
ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
Backport of r34979
SVN-Revision: 34980
Gabor Juhos [Wed, 2 Jan 2013 16:30:28 +0000 (16:30 +0000)]
AA: generic: fix UBIFS build error if XZ compression is disabled
Backport of r34959.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34978
Jo-Philipp Wich [Wed, 2 Jan 2013 16:28:40 +0000 (16:28 +0000)]
AA: base-files: merge r34974 and r34975
SVN-Revision: 34977
Jo-Philipp Wich [Wed, 2 Jan 2013 16:24:37 +0000 (16:24 +0000)]
AA: firewall: merge r34472 and r34569
SVN-Revision: 34976
Felix Fietkau [Wed, 2 Jan 2013 16:09:50 +0000 (16:09 +0000)]
x86: fix typo in alix2/net5501 default packages
Backport of r34972
SVN-Revision: 34973
Gabor Juhos [Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)]
AA: ramips: fix ASUS WL-330N3G MAC address
Backport of r34877.
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.
Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.
Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34879
Gabor Juhos [Mon, 24 Dec 2012 09:13:56 +0000 (09:13 +0000)]
AA: ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Backport of r34876.
Patch from #12636.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34878
Vasilis Tsiligiannis [Fri, 21 Dec 2012 15:04:24 +0000 (15:04 +0000)]
AA: backport: "[tools] ipkg-utils: Force gnu format for tar (#12496)"
[backport r34261]
SVN-Revision: 34827
Gabor Juhos [Fri, 21 Dec 2012 10:41:22 +0000 (10:41 +0000)]
AA: kernel: add solos-pci update for 3.3
Backport of r34813.
Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.
Submitted more for the benefit of the AA branch than for trunk.
[juhosg: refresh the patch with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34814
Jo-Philipp Wich [Tue, 18 Dec 2012 20:53:47 +0000 (20:53 +0000)]
AA: opkg: backport r34202 and r34203
SVN-Revision: 34778
Felix Fietkau [Tue, 18 Dec 2012 13:09:58 +0000 (13:09 +0000)]
libubox: update to latest version, as of trunk r34746
SVN-Revision: 34747
Felix Fietkau [Mon, 17 Dec 2012 22:26:13 +0000 (22:26 +0000)]
netifd: update to latest version, fixes interface error reporting for shell proto handlers
Backport of r34741
SVN-Revision: 34742
Felix Fietkau [Mon, 17 Dec 2012 14:58:46 +0000 (14:58 +0000)]
netifd: update to latest version, no longer needs the removed jshn_append() shell function
Backport of r34734
SVN-Revision: 34735
Felix Fietkau [Sun, 16 Dec 2012 18:59:27 +0000 (18:59 +0000)]
libubox: another jshn update, fixes array handling issues
Backport of r34723
SVN-Revision: 34724
Felix Fietkau [Sun, 16 Dec 2012 17:06:08 +0000 (17:06 +0000)]
libubox: fix some jshn variable handling regressions
Backport of r34720
SVN-Revision: 34721
Felix Fietkau [Sun, 16 Dec 2012 16:51:05 +0000 (16:51 +0000)]
libubox: sync with trunk (as of r34718)
SVN-Revision: 34719
Felix Fietkau [Sun, 16 Dec 2012 13:33:58 +0000 (13:33 +0000)]
wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.
This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r34716
SVN-Revision: 34717
Felix Fietkau [Sat, 15 Dec 2012 17:22:42 +0000 (17:22 +0000)]
ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
Backport of r34705
SVN-Revision: 34707
Felix Fietkau [Sat, 15 Dec 2012 17:22:40 +0000 (17:22 +0000)]
netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Backport of r34704
SVN-Revision: 34706
Gabor Juhos [Thu, 13 Dec 2012 18:46:25 +0000 (18:46 +0000)]
AA: kernel: fix solos-pci skb double-free in DMA mode
Backport of r34667.
[juhosg: refresh the patches with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34668
Felix Fietkau [Thu, 13 Dec 2012 16:16:32 +0000 (16:16 +0000)]
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
Backport of r34664
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34665
Felix Fietkau [Mon, 10 Dec 2012 15:44:34 +0000 (15:44 +0000)]
ath5k: fix skb leaks (should fix #12199)
Backport of r34603
SVN-Revision: 34604
Jo-Philipp Wich [Thu, 6 Dec 2012 18:22:07 +0000 (18:22 +0000)]
AA: ppp: backport r34536
SVN-Revision: 34538
Felix Fietkau [Wed, 5 Dec 2012 15:35:14 +0000 (15:35 +0000)]
netifd: update to latest version from trunk, as of r34500
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34505
Felix Fietkau [Sun, 2 Dec 2012 16:54:45 +0000 (16:54 +0000)]
libubox: update to latest version, fixes blob/blobmsg endian issues
Backport of r34456
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34457
Gabor Juhos [Sun, 2 Dec 2012 14:18:26 +0000 (14:18 +0000)]
AA: ramips: fix serial console for Belkin
F5D8235 v1/v2
Backport of r34445.
Based on a patch from #12533.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34446
Gabor Juhos [Sun, 2 Dec 2012 13:14:27 +0000 (13:14 +0000)]
AA: Update linux-atm fixes to reflect the final upstream pull request
Backport of r34443.
[juhosg: refresh the patches with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34444
Florian Fainelli [Fri, 30 Nov 2012 09:10:12 +0000 (09:10 +0000)]
AA: [ar7] add back symbols accidentally removed in r34428
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34429
Florian Fainelli [Fri, 30 Nov 2012 09:08:21 +0000 (09:08 +0000)]
AA: [ar7] use a default kernel command-line to mount squashfs and jffs2
This fixes bug #9055. Backport of r34424.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34428
Gabor Juhos [Thu, 29 Nov 2012 18:02:30 +0000 (18:02 +0000)]
AA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Backport of r34415.
Patches queued upstream in net-next.git
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34416
Gabor Juhos [Thu, 29 Nov 2012 17:50:03 +0000 (17:50 +0000)]
AA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Backport of r34410.
Patches about to go into net-next.git
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34413
Gabor Juhos [Thu, 29 Nov 2012 17:49:50 +0000 (17:49 +0000)]
AA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
Backport of r34408.
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:
/dev/loop0 48377 8482 37438 19% /mnt/spare
# rmdir lost+found/
/dev/loop0 48377 6014 39906 14% /mnt/spare
This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34412
Florian Fainelli [Mon, 26 Nov 2012 13:35:30 +0000 (13:35 +0000)]
AA: bcm63xx: fix spi transfer handling
* Accept transfers without bits_per_word set.
* Work around the inability of the hardware of keeping CS asserted.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 34386
Florian Fainelli [Sun, 25 Nov 2012 21:06:51 +0000 (21:06 +0000)]
AA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34384
Florian Fainelli [Sun, 25 Nov 2012 20:53:00 +0000 (20:53 +0000)]
AA: [ar7] free memory below kernel offset
Some bootloaders (e.g. PSPBoot on AC49x) have a load-offset, this frees that
memory region so it is usable for Linux.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34383
Hauke Mehrtens [Sun, 25 Nov 2012 20:14:34 +0000 (20:14 +0000)]
broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d
* load the nvram just one time into the own buffer also when there is
more than one device.
Backport of r34381.
SVN-Revision: 34382
Hauke Mehrtens [Sun, 25 Nov 2012 16:41:10 +0000 (16:41 +0000)]
brcm47xx: fix title of Bcm4705-wl profile
SVN-Revision: 34379
Hauke Mehrtens [Sun, 25 Nov 2012 16:38:16 +0000 (16:38 +0000)]
brcm47xx: fix cpu clock detection on ASUS WL-520gU
The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.
This fixes #4083.
Backport of r34325.
SVN-Revision: 34377
Gabor Juhos [Sun, 25 Nov 2012 16:23:08 +0000 (16:23 +0000)]
AA: ramips: ramips_eth: use Kconfig definition to enable debug
Backport of r34332.
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34376
Gabor Juhos [Sun, 25 Nov 2012 16:23:07 +0000 (16:23 +0000)]
AA: ramips: add DIR-615 D userspace support
Backport of r34331.
Commit
7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.
An IRC user reported these changes allowed him to use wifi on his hardware.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34375
Gabor Juhos [Sun, 25 Nov 2012 16:23:05 +0000 (16:23 +0000)]
AA: ar71xx: set pad6 cfg for AR8327 on the AP136 board
Backport of r34316.
Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34374
Gabor Juhos [Sun, 25 Nov 2012 16:23:04 +0000 (16:23 +0000)]
AA: generic: ar8216: set delay values for SGMII mode on AR8327
Backport of r34315.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34373
Gabor Juhos [Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)]
AA: generic: ar8216: introduce ar8216_mib_op helper
Backport of r34297.
The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.
This change also fixes a lockdep warning in
ar8216_mib_flush.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34372
Gabor Juhos [Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)]
AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
Backport of r34283.
Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34371
Gabor Juhos [Sun, 25 Nov 2012 16:23:00 +0000 (16:23 +0000)]
AA: generic: ar8216: remove an unblanced mutex_unlock call
Backport of r34282.
Fixes the following warning:
[ 94.080000]
[ 94.080000] =====================================
[ 94.080000] [ BUG: bad unlock balance detected! ]
[ 94.080000] 3.3.8 #2 Tainted: G O
[ 94.080000] -------------------------------------
[ 94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[ 94.080000] [<
801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[ 94.080000] but there are no more locks to release!
[ 94.080000]
[ 94.080000] other info that might help us debug this:
[ 94.080000] 2 locks held by swconfig/1220:
[ 94.080000] #0: (genl_mutex){+.+...}, at: [<
80222430>] genl_rcv+0x14/0x34
[ 94.080000] #1: (&dev->sw_mutex){+.+...}, at: [<
801da018>] swconfig_get_dev+0x88/0xb4
[ 94.080000]
[ 94.080000] stack backtrace:
[ 94.080000] Call Trace:
[ 94.080000] [<
8028dc58>] dump_stack+0x8/0x34
[ 94.080000] [<
800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[ 94.080000] [<
800a82c0>] lock_release+0x18c/0x1c8
[ 94.080000] [<
80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[ 94.080000] [<
801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[ 94.080000] [<
801db688>] swconfig_get_attr+0xbc/0x394
[ 94.080000] [<
8022261c>] genl_rcv_msg+0x1cc/0x214
[ 94.080000] [<
80221a18>] netlink_rcv_skb+0x6c/0xe8
[ 94.080000] [<
80222440>] genl_rcv+0x24/0x34
[ 94.080000] [<
80221370>] netlink_unicast+0x15c/0x22c
[ 94.080000] [<
8022175c>] netlink_sendmsg+0x240/0x2d0
[ 94.080000] [<
801ef544>] sock_sendmsg+0x84/0x9c
[ 94.080000] [<
801f0648>] __sys_sendmsg+0x1cc/0x270
[ 94.080000] [<
801f207c>] sys_sendmsg+0x48/0x7c
[ 94.080000] [<
8006ad78>] stack_done+0x20/0x40
[ 94.080000]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34370
Gabor Juhos [Sun, 25 Nov 2012 16:22:58 +0000 (16:22 +0000)]
AA: generic: ar8216: add missing locking calls
Backport of r34281.
Fixes the following lockdep warning:
[ 19.160000] ------------[ cut here ]------------
[ 19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[ 19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 19.210000] Call Trace:
[ 19.220000] [<
8028dc38>] dump_stack+0x8/0x34
[ 19.220000] [<
80072da0>] warn_slowpath_common+0x78/0xa4
[ 19.230000] [<
80072de4>] warn_slowpath_null+0x18/0x24
[ 19.230000] [<
801de820>] ar8216_rmw+0x54/0xa4
[ 19.240000] [<
801df460>] ar8216_mib_capture+0x70/0xd0
[ 19.240000] [<
801df944>] ar8xxx_mib_work_func+0x34/0x98
[ 19.250000] [<
80089a7c>] process_one_work+0x28c/0x460
[ 19.250000] [<
8008a630>] worker_thread+0x22c/0x334
[ 19.260000] [<
8008e544>] kthread+0x88/0x90
[ 19.260000] [<
80065020>] kernel_thread_helper+0x10/0x18
[ 19.270000]
[ 19.270000] ---[ end trace
22e9d696adfa6a08 ]---
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34369
Gabor Juhos [Sun, 25 Nov 2012 16:22:56 +0000 (16:22 +0000)]
AA: ar71xx: fix GPIO function selection for AR934x
Backport of r34275.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34368
Gabor Juhos [Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)]
AA: ar71xx: restore rb4xx kernel partition size to the original value
Backport of r34274.
The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34367
Gabor Juhos [Sun, 25 Nov 2012 16:22:54 +0000 (16:22 +0000)]
AA: ar71xx: install lzma compressed elf kernel image from wget2nand
Backport of r34273.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34366
Gabor Juhos [Sun, 25 Nov 2012 16:22:53 +0000 (16:22 +0000)]
AA: ar71xx/image: provide lzma compressed elf kernel image
Backport of r34272.
This will be used on the RB4xx/RB7xx/RB2011 boards.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34365
Gabor Juhos [Sun, 25 Nov 2012 16:22:52 +0000 (16:22 +0000)]
AA: ar71xx/image: relink loader.elf image to LOADADDR
Backport of r34271.
This allows to load the resulting image directly
from RouterBOOT.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34364
Gabor Juhos [Sun, 25 Nov 2012 16:22:50 +0000 (16:22 +0000)]
AA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
Backport of r34270.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34363
Gabor Juhos [Sun, 25 Nov 2012 16:22:49 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
Backport of r34269.
[juhosg: move ramips specific stuff into a followup patch]
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34362