Commit graph

7003 commits

Author SHA1 Message Date
Florian Fainelli
11c4128770 improve BCM6345 support
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880
2011-08-02 18:55:46 +00:00
Florian Fainelli
c4af036ec7 refresh 3.0 patches
SVN-Revision: 27879
2011-08-02 18:55:38 +00:00
Felix Fietkau
54d97e6782 ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
SVN-Revision: 27878
2011-08-02 15:12:08 +00:00
Florian Fainelli
a0ce3668a6 fix r6040 multicast patch, thanks nicolas le falher
SVN-Revision: 27876
2011-08-02 14:13:00 +00:00
Jonas Gorski
ed2b7cd342 linux/generic: remove obsolete kernel options from 3.0
Also fix one typo.

SVN-Revision: 27875
2011-08-02 09:58:16 +00:00
Jonas Gorski
61e2e03311 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874
2011-08-02 09:53:19 +00:00
Felix Fietkau
62b8cba9c0 kernel: enable inotify by default (#8055)
SVN-Revision: 27853
2011-07-31 18:12:23 +00:00
Felix Fietkau
19eaf1c5f7 kernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
SVN-Revision: 27840
2011-07-30 15:39:52 +00:00
Imre Kaloz
e4b6839fd3 upgrade to 3.0 (magicbox ata and openrb usb is broken, but the current kernel didn't compile at all, so...)
SVN-Revision: 27826
2011-07-29 10:16:48 +00:00
Jonas Gorski
e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Gabor Juhos
ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos
437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos
7193f29d96 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos
c6db514de8 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos
57122e7ccc ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos
39689b648f ramips: rt305x: sort Kconfig/Makefile entries
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
Gabor Juhos
32c0534516 ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>

SVN-Revision: 27804
2011-07-28 10:56:18 +00:00
Gabor Juhos
57663ce25b ramips: fix PWH2004 image generation
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Jonas Gorski
eaa935658b swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau
4da138d899 x86/alix2: include WAN interface by default
Include WAN interface by default, instead of putting both ports in the LAN bridge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27787
2011-07-26 16:37:48 +00:00
Felix Fietkau
41db64f8e0 x86/alix2: fix typo in target makefile
Cut and paste cruft from borrowing from Geos platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27786
2011-07-26 16:37:44 +00:00
Hauke Mehrtens
80956276a7 x86: add missing config symbols
This adds some config symbols for kernel 3.0.

Thank you realopty for the patch.

This is from #9719.

SVN-Revision: 27775
2011-07-25 21:21:01 +00:00
Jonas Gorski
4e6c93bef1 bcm63xx: Fix SPI commands and register offsets for BCM6348
In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>

SVN-Revision: 27774
2011-07-25 19:52:47 +00:00
Imre Kaloz
f0f10fa599 add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
SVN-Revision: 27762
2011-07-24 22:04:08 +00:00
Jo-Philipp Wich
f66871e836 From: George Kashperko <george@znau.edu.ua> Issue map read after Write Buffer Load command to ensure chip is ready to receive data. Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 27760
2011-07-24 15:37:00 +00:00
Jo-Philipp Wich
6eb9e39bc4 refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
SVN-Revision: 27759
2011-07-24 15:36:33 +00:00
Hauke Mehrtens
4815eaa4c3 brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.

SVN-Revision: 27758
2011-07-24 15:18:29 +00:00
Felix Fietkau
9e4113b493 ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
5b32d62fcf rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
SVN-Revision: 27755
2011-07-24 14:40:31 +00:00
Felix Fietkau
1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Hauke Mehrtens
00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Felix Fietkau
b5e3f6cd81 x86: 2.6.39 requires additional symbol
Sysfs support for DMI BIOS was added in 2.6.39.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27749
2011-07-24 09:41:07 +00:00
Felix Fietkau
a6f7e72cf7 atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 27747
2011-07-24 09:11:10 +00:00
Felix Fietkau
6d3bddb056 geos: include pppstats and pppdump in default packaging
As the Geos box includes an ADSL modem that's targeted towards PPPoE, PPPoA, and bridged utilization, including these useful tools allows for easier configuration and troubleshooting.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27743
2011-07-24 08:41:58 +00:00
Felix Fietkau
9105dad418 ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Imre Kaloz
193845ce7a upgrade to 3.0
SVN-Revision: 27738
2011-07-23 20:44:08 +00:00
Imre Kaloz
5e29e14795 upgrade to 3.0
SVN-Revision: 27737
2011-07-23 20:43:53 +00:00
Imre Kaloz
0cb1b5d775 3.0 is out
SVN-Revision: 27736
2011-07-23 20:42:58 +00:00
Hauke Mehrtens
49f4d4217e brcm47xx: build bcma into the kernel
Now we can assume that every brcm47xx kernel has the bcma module build
into the kernel. This is not needed for this version as this does not
support bcma as system bus but kernel 3.0 will.

SVN-Revision: 27733
2011-07-23 11:19:58 +00:00
Hauke Mehrtens
5169b72c8a kernel: update bcma and ssb to version master-2011-07-22 from wireless-testing
SVN-Revision: 27731
2011-07-23 11:17:00 +00:00
Hauke Mehrtens
b07b5fc7b6 brcm47xx: remove old kernel versions
SVN-Revision: 27724
2011-07-22 18:41:24 +00:00
Hauke Mehrtens
b988168906 brcm47xx: update bcma and ssb to master-2011-07-21
* add new patches for bcm4716 SoC
* add support for serial flash on bcma bus

SVN-Revision: 27723
2011-07-22 16:30:42 +00:00
Hauke Mehrtens
39f491e479 kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch

SVN-Revision: 27722
2011-07-22 16:04:25 +00:00
Felix Fietkau
c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau
ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau
fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau
005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00