Commit Graph

23981 Commits

Author SHA1 Message Date
Felix Fietkau
6436b3f736 cns3xxx: fix USB ehci/ohci platform driver
Update ehci/ohci driver registration to conform to the new platform
drivers.

This fixes missing USB host support in 3.8.x

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

SVN-Revision: 36309
2013-04-10 16:20:50 +00:00
Felix Fietkau
edd8048107 kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base
Fixes booting on single-core CNS3xxx devices

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

SVN-Revision: 36308
2013-04-10 16:07:50 +00:00
Felix Fietkau
06733c2650 kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36307
2013-04-10 13:45:12 +00:00
Felix Fietkau
a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
2013-04-10 13:26:08 +00:00
Felix Fietkau
e01a24f4f8 mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36305
2013-04-10 13:11:33 +00:00
Felix Fietkau
7fa2957103 kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36304
2013-04-10 13:11:29 +00:00
Felix Fietkau
df3d4690bd kernel: keep dropped stats in fq_codel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36303
2013-04-10 13:11:25 +00:00
Felix Fietkau
ec3a8846fc kernel: tune fq_codel defaults for common netdevice speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36302
2013-04-10 13:11:21 +00:00
Felix Fietkau
307965026a kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36301
2013-04-10 13:11:16 +00:00
Florian Fainelli
915969ff2c kernel: refresh patches against 3.9-rc6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36297
2013-04-09 16:16:20 +00:00
Florian Fainelli
c3366cd164 kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36296
2013-04-09 16:16:16 +00:00
Florian Fainelli
518d6a9273 kernel: backport switch user API changes after r36283
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

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

SVN-Revision: 36295
2013-04-09 15:47:01 +00:00
Felix Fietkau
88c418bc75 qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36294
2013-04-09 14:59:10 +00:00
John Crispin
fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
Jo-Philipp Wich
7ca7bc501e iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
SVN-Revision: 36292
2013-04-09 14:37:55 +00:00
Florian Fainelli
9f21b979f4 buildroot: enable software floating point for MIPS64 targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36291
2013-04-09 14:36:09 +00:00
John Crispin
bc7b310959 move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36290
2013-04-09 14:19:36 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
e468abcae0 remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36288
2013-04-09 14:19:28 +00:00
John Crispin
82c3b7ce26 add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36287
2013-04-09 14:19:24 +00:00
John Crispin
f1e9d30ffc add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36286
2013-04-09 14:19:20 +00:00
John Crispin
fcd962cc71 set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36285
2013-04-09 14:19:17 +00:00
John Crispin
04dcd12c91 add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36284
2013-04-09 14:19:13 +00:00
John Crispin
fff58a5801 allow loading port maps from OF
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36283
2013-04-09 14:19:09 +00:00
John Crispin
f13ae9965c add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36282
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich
f90f025f20 netifd: fix route / route6 regression (#13303)
SVN-Revision: 36281
2013-04-09 12:21:12 +00:00
Steven Barth
3abc915522 Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
2013-04-09 12:12:30 +00:00
Steven Barth
2c087dc785 Remove obsoleted ipv6-support meta-package
SVN-Revision: 36279
2013-04-09 09:45:51 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Steven Barth
3e4b2af125 Enable native IPv6 support by default
SVN-Revision: 36277
2013-04-09 08:02:55 +00:00
Gabor Juhos
130f67210a ramips: TEW-691GR.dts fixes
* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle

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

SVN-Revision: 36276
2013-04-08 12:34:17 +00:00
Gabor Juhos
a4a148f222 ramips: rt3883: enable the AR8216 driver
It is needed for the TEW-69{1,2}GR boards.

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

SVN-Revision: 36275
2013-04-08 12:34:15 +00:00
Gabor Juhos
a9d977b2af ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36274
2013-04-08 11:12:04 +00:00
Gabor Juhos
82705b30b3 ramips: OMNI-EMB-HPM.dts fixes
* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties

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

SVN-Revision: 36273
2013-04-08 11:12:03 +00:00
Gabor Juhos
909fabe574 ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36272
2013-04-08 11:12:02 +00:00
Gabor Juhos
78ee80f2e8 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36271
2013-04-08 11:12:01 +00:00
Gabor Juhos
30e5bae84a ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36270
2013-04-08 08:24:51 +00:00
Gabor Juhos
cd7ce5226d ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36269
2013-04-08 08:24:50 +00:00
Gabor Juhos
4c85227cf4 ramips: TEW-692GR.dts fixes
* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node

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

SVN-Revision: 36268
2013-04-08 07:11:35 +00:00
Felix Fietkau
c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
2013-04-07 22:05:45 +00:00
Felix Fietkau
3a0e6c06e9 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36266
2013-04-07 22:05:41 +00:00
Felix Fietkau
b5a27f260b mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36265
2013-04-07 22:05:36 +00:00
Gabor Juhos
97635d7a8e ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36264
2013-04-07 20:56:22 +00:00
Gabor Juhos
474264f64c ramips: add PCI node for rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36263
2013-04-07 20:56:21 +00:00
Gabor Juhos
6c8951313c ramips: rt3883: enable PCI support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36262
2013-04-07 20:56:20 +00:00
Gabor Juhos
b6b0a8fbee ramips: fix RT3883 PCI driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36261
2013-04-07 20:56:18 +00:00
Gabor Juhos
1700bf5b2e ramips: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36260
2013-04-07 17:05:05 +00:00
Gabor Juhos
6de8743e44 ramips: add missing cpu-feature-override.h files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36259
2013-04-07 17:05:04 +00:00
Gabor Juhos
68875710fd ramips: fix broken patch name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36258
2013-04-07 16:26:27 +00:00
Gabor Juhos
16d0ce52b0 ramips: fix polarity of GPIO buttons for RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36257
2013-04-07 16:24:33 +00:00