juhosg
bb14a2f07c
ar71xx: ag71xx: make switch register access atomic
...
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.
This is easily noticable during an iperf session:
...
[ 3] 52.0-53.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 53.0-54.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[ 3] 54.0-55.0 sec 6.75 MBytes 56.6 Mbits/sec
[ 3] 55.0-56.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 56.0-57.0 sec 10.5 MBytes 88.1 Mbits/sec
...
[ 3] 169.0-170.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 170.0-171.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[ 3] 171.0-172.0 sec 7.63 MBytes 64.0 Mbits/sec
[ 3] 172.0-173.0 sec 9.38 MBytes 78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[ 3] 173.0-174.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 174.0-175.0 sec 11.4 MBytes 95.4 Mbits/sec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 16:32:53 +00:00
juhosg
0511a7adf1
ar71xx: ag71xx: fix section mismatch warnings
...
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.
The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:36 +00:00
juhosg
14088891b0
ar71xx: ag71xx: fix build error if debugfs is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:26 +00:00
jow
6f14855dac
[package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others ( #9352 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 10:25:58 +00:00
hauke
26205d18e8
brcm47xx: update patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:49:17 +00:00
juhosg
e5061b1935
ar71xx: ag71xx: add debugfs entry for [rt]x_ring
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:34 +00:00
juhosg
5155342ee7
ar71xx: ag71xx: add timestamps to ag71xx_buf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:28 +00:00
juhosg
5e10b16d95
ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:26 +00:00
juhosg
f6816e49d9
ar71xx: ag71xx: use debugfs_remove_recursive
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:25 +00:00
juhosg
fa0e25197e
base-files: fix a typo in etc/banner
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
juhosg
193e04ebee
ar71xx: override wmac device name for the AR934x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:32 +00:00
florian
663cf912af
[ar7] remove useless patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:40 +00:00
florian
9db1daeb99
[kernel] fill maintainer infos for a couple of targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:36 +00:00
florian
2a36c4c1d0
[malta] update to 2.6.38.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 16:35:44 +00:00
florian
fd174f110c
[kernel] add missing 2.6.38 symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 16:35:40 +00:00
hauke
a921520508
brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 14:05:21 +00:00
hauke
6a2f5043e3
brcm47xx: fix typo in patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 13:18:35 +00:00
acoul
348cbe4bd3
linux/ar71xx: add some missing symbols for nand/yaffs targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 07:19:46 +00:00
jow
4ffa672cca
[package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:51:06 +00:00
nbd
9c731309db
ath9k: add noise floor calibration fix that should improve stability
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:35:35 +00:00
acoul
65c914d861
linux/generic: port yaffs to 2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 09:35:06 +00:00
acoul
55090a4f27
linux/rb532: use kernel and initramfs tags on image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:47:00 +00:00
jow
8359c4e323
[package] comgt: add tty hotplug remove handling, only iterate each tty once ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
jow
f72d4a3432
[package] kernel: revert r26814
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:25:36 +00:00
jow
3dc2d0fabd
[PATCH 1/2] kernel: add kmod-crypto-ipsec
...
kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto
modules that are useful for IPSEC. This is an alternative to breaking
these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng
(rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).
Signed-off-by: Lars Hjersted <lars@hjersted.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:22:43 +00:00
jow
afd666349a
[PATCH 2/2] kernel: add kmod-crypto-{wq,rng,iv}
...
Add kmod-crypto-iv as a dependency for kmod-ipsec. Also remove the
extraneous kmod-crypto-core dependency to eliminate recursion.
Signed-off-by: Lars Hjersted <lars@hjersted.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:21:05 +00:00
jow
426a546ab9
[PATCH 1/2] kernel: add kmod-crypto-{wq,rng,iv}
...
This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv
packages. These packages provide some missing kernel crypto modules
which are required for IPSEC. The strongswan4, ipsec-tools, and possibly
other IPSEC packages do not work properly without these modules.
NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.
Signed-off-by: Lars Hjersted <lars@hjersted.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:19:56 +00:00
jow
15f719295e
[PATCH] geos: remove unneeded modules
...
The via-sata and gpio-nsc modules are both unneeded on the Geos platform.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:18:12 +00:00
jow
a25fe1d267
[package] comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:45:55 +00:00
jow
fc910db123
[package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
jow
8ade1960dd
[package] base-files: cleanup permissions of device files in common hotplug rules ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
jow
b3b3f347ba
[package] hotplug2: introduce tty subsystem events ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:35:58 +00:00
jow
864e3ef263
[package] firewall: revert accidential committed changes from r26805
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:55:36 +00:00
jow
667c11ec82
[PATCH] firewall: provide examples of ssh port relocation on firewall and IPsec passthrough
...
Two examples of potentially useful configurations (commented out, of course):
(a) map the ssh service running on the firewall to 22001 externally, without modifying the configuration of the daemon itself. this allows port 22 on the WAN side to then be port-forwarded to a
LAN-based machine if desired, or if not, simply obscures the port from external attack.
(b) allow IPsec/ESP and ISAKMP (UDP-based key exchange) to happen by default. useful for most modern VPN clients you might have on your WAN.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:54:31 +00:00
jow
ac6cfcb956
[PATCH] quilt: fix building with dash
...
`test x == x` gives a syntax error with dash (standard in Debian).
The modified patch reflects the current upstream:
http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:53:32 +00:00
florian
4c6cfc925c
[uml] update to 2.6.38
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 07:57:25 +00:00
nbd
cbc75e81c2
cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 00:28:30 +00:00
hauke
374bb82f67
brcm47xx: add fallback sprom for pci devices without an own sprom.
...
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.
This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
nbd
505d82b643
ath9k: add a new fix for signal strength / noise measurements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 18:23:12 +00:00
nbd
f7215e23eb
cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 15:53:56 +00:00
nbd
d75d999a72
mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 01:45:26 +00:00
jow
44370d22ed
[buildroot] add vim temp files (*~) to .gitignore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-29 15:11:57 +00:00
florian
1da15b499b
[package] exclude pktgen for uml target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-29 12:04:17 +00:00
nbd
118a9c5154
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:42 +00:00
nbd
dc218ac48d
ar8316: automatically detect whether port4 is used as PHY or as a switch port
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:37 +00:00
nbd
8220523bad
ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:49 +00:00
nbd
bfce59f539
ar8216: support AR8316 rev 0 devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:43 +00:00
jow
caf4c049bf
[package] relayd: map "ipaddr" option to local ip (-L)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 19:16:35 +00:00
acoul
98a395304f
linux/atheros: add 2.6.38 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 17:18:03 +00:00
nbd
2bf6a59bdf
madwifi: Fix compilation for 2.6.39
...
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with
DEFINE_SPINLOCK().
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 23:05:34 +00:00