Commit graph

8407 commits

Author SHA1 Message Date
John Crispin
e2b679fd3f cleanup ifxmips pci code
SVN-Revision: 11531
2008-06-17 22:44:38 +00:00
John Crispin
18ad6da063 adds timer unit to ifxmips tree
SVN-Revision: 11530
2008-06-17 22:14:08 +00:00
Gabor Juhos
cb076ccb14 IRQ code cleanup
SVN-Revision: 11528
2008-06-17 17:46:52 +00:00
Gabor Juhos
47dd530414 firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
SVN-Revision: 11527
2008-06-17 15:05:53 +00:00
Gabor Juhos
13bb189a15 switch to 2.6.25.7
SVN-Revision: 11526
2008-06-17 14:30:18 +00:00
Gabor Juhos
2ccf25789e sync kernel config
SVN-Revision: 11525
2008-06-17 14:01:07 +00:00
Gabor Juhos
d95fa260a3 sync kernel config
SVN-Revision: 11524
2008-06-17 14:00:25 +00:00
Gabor Juhos
4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Gabor Juhos
3415b8c044 fix compiler warning
SVN-Revision: 11521
2008-06-17 10:50:06 +00:00
Andy Boyett
3e8ab1ed20 linux-uvc: Upgrade to revision 215
SVN-Revision: 11519
2008-06-17 05:39:05 +00:00
Andy Boyett
5a7529a58d Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano. - Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories.
SVN-Revision: 11517
2008-06-17 00:44:10 +00:00
Yuji Mano
ac909fc5c0 set file executable permissions
SVN-Revision: 11516
2008-06-16 23:17:44 +00:00
Felix Fietkau
dea3f68b35 use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems
SVN-Revision: 11515
2008-06-16 21:57:57 +00:00
Yuji Mano
08bc751971 Add the PS3 specific utility bl-option, a helper sctipt to get and set bootloader options in flash memory.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 11514
2008-06-16 19:48:54 +00:00
Yuji Mano
0b5f602421 Revert previous bad commit r11512
SVN-Revision: 11513
2008-06-16 19:37:00 +00:00
Yuji Mano
5ee48c0b00 Add the PS3 specific utility bl-option, a helper sctipt to get and set bootloader options in flash memory.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 11512
2008-06-16 19:14:13 +00:00
Yuji Mano
f17fc3d98d Add a system config option to allow syslogd to log to a file.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 11511
2008-06-16 19:06:21 +00:00
Peter Denison
d92a009382 Fix TG3 build. Thanks Hauke Mehrtens
SVN-Revision: 11510
2008-06-16 19:06:14 +00:00
Yuji Mano
d2abb8a833 Update the PS3 target README with some installation tips, and the PS3 image Makefile to create openwrt-ps3-vmlinux.elf.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 11509
2008-06-16 19:04:07 +00:00
Florian Fainelli
0d40a2f95b his patch mainly fixes the huge delay when we ping from the RDC device to another host (160-230 ms). r6040_rx() was rewritten. Further changes: - fix a bug in hex2str(), which overwrote the source with a zero - removed rx_free_desc counter; allocate skb inside r6040_rx() on the fly - r6040_rx: don't take the error from the MLSR register (may be too late) but from the descriptor (we may have to allow these errors (via MCR0) there - r6040_alloc_rxbufs() may fail due to lack of skb, added a return value - changed some debugs - more defines - version: 0.18 -> 0.19
Signed-Off by Joerg Albert <jal2@gmx.de>

SVN-Revision: 11508
2008-06-16 13:25:14 +00:00
Florian Fainelli
01e594e704 This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied) and fixes the following issues: - re-added the parent parameter to specify a netdevice to steal the MAC address from (optional). - fixed null pointer access in r6040_rx() (lp->dev init. was missing) - fixed "scheduling while atomic" endless loop if tx_timeout() was called (caused by the re-allocs of the buffers) - fixed tx timeouts (tx irq weren't re-enabled on rx irq)
It adds some defines and cleans the code a bit (IMHO).

Signed-Off by Joerg Albert <jal2@gmx.de>

SVN-Revision: 11507
2008-06-16 13:24:41 +00:00
Florian Fainelli
368f07fc97 Hi,
this is the first of three patches to fix the ethernet driver of RDC R32xx applied to svn r10754.

It adds debugs and make some procedures (r6040_*) global symbols in order to help with debugging kernel oops. Version is increased from 0.16 to 0.18 to avoid conflicts with the driver variant metioned in the X-WRT forum (call 0.17.3) Tested on a Sitecom WL-153.

Signed-Off-By: Joerg Albert <jal2@gmx.de>

SVN-Revision: 11506
2008-06-16 13:24:09 +00:00
Imre Kaloz
1f5166a1f0 backport mv643xx ethernet changes from the Marvell git repo
SVN-Revision: 11504
2008-06-16 13:20:10 +00:00
Imre Kaloz
c444c0f4ae enable AMD flash support and physmap on orion
SVN-Revision: 11503
2008-06-16 13:18:58 +00:00
Gabor Juhos
8b0bf5d650 generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
SVN-Revision: 11502
2008-06-16 13:17:52 +00:00
Gabor Juhos
3663d2ea77 generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11501
2008-06-16 12:57:56 +00:00
Imre Kaloz
b3e20537ca libnl: backport memleak fix
SVN-Revision: 11500
2008-06-16 12:43:16 +00:00
Imre Kaloz
593c2b7cec fix libnl compile with older kernels
SVN-Revision: 11499
2008-06-16 12:42:36 +00:00
Imre Kaloz
2f4fa6de74 refresh generic 2.6.22 patches
SVN-Revision: 11498
2008-06-16 12:40:48 +00:00
Imre Kaloz
e147bf8fa3 fixup machid workaround, generate uImage manually
SVN-Revision: 11497
2008-06-16 12:38:55 +00:00
Ralph Hempel
79bd4016bc added unsquashfs-lzma, usefull for debugging of existing fs images
SVN-Revision: 11496
2008-06-16 11:32:13 +00:00
Felix Fietkau
a09998311d fix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)
SVN-Revision: 11494
2008-06-15 20:41:41 +00:00
Felix Fietkau
351b6391bf add another check to the dependencies
SVN-Revision: 11475
2008-06-15 14:50:41 +00:00
Felix Fietkau
980b80ddc6 fix typo
SVN-Revision: 11474
2008-06-15 14:49:00 +00:00
Felix Fietkau
8b41afa584 add some sanity checking
SVN-Revision: 11473
2008-06-15 14:34:00 +00:00
Felix Fietkau
f2e997ac38 remove some unused crap
SVN-Revision: 11472
2008-06-15 11:15:35 +00:00
Felix Fietkau
ddd809f9e5 (6/6) bcm57xx: package
This is the bcm57xx package.  I have tested default vlan functions,
but I dont have the equipment to test more advanced setups.  The default
vlan setup seems to be working fine.  I also added the activate_gpio
parameter which will make the driver activate the switch via gpio before
probing for it.

I'm not sure which method is best for autoload.  For the wrt350n, I
need the activate_gpio parameter.  But its probably not a good idea
to add that to the autoload file.  On a system without a bcm57xx switch,
isn't it a bad idea to mess with the gpios looking for the switch? Ideally,
wouldn't it be best to load the bcm57xx module from broadcom-diag, after
it has determined which router its on?  I tried using 'request_module' from
there, but had no success.  For now, I am relying on preinit to load
the bcm57xx module with activate_gpio param, after it has failed to load
switch_robo and switch_adm.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11471
2008-06-15 11:11:28 +00:00
Felix Fietkau
20937ce81a (5/6) bcm57xx: bcm4785 incomplete reboot
I noticed my wrt350n would not reliably reboot after entering
the reboot command.  I found this code in the source for the
wrt600n.  It corrects the problem, and the wrt350n reboots
reliably now.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11470
2008-06-15 11:10:43 +00:00
Felix Fietkau
40990382e5 (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered
This patch prevents switch-robo.c from attempting robo_probe on a port
that is already registered.  robo_probe will adjust kernel reference counts
if it detects a switch on the port.  If this patch wasn't applied, the
wrt350n would hang on reboot, waiting for the network driver reference count
to reach zero indefinitely.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11469
2008-06-15 11:10:27 +00:00
Felix Fietkau
9621d872ca (3/6) bcm57xx: preinit
This patch allows the bcm57xx module to work correctly with failsafe mode.

insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately.  This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.

The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11468
2008-06-15 11:10:13 +00:00
Felix Fietkau
f9ad520e37 (2/6) bcm57xx: netconfig
Update the netconfig script to support boardtype 0x478.  I've tested this
on the wrt350n, hopefully it will match the 600n as well.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11467
2008-06-15 11:09:49 +00:00
Felix Fietkau
f7e09198fe (1/6) bcm57xx: init from diag
I've been working to finish up the bcm57xx module package nbd
posted a few months ago.  I am no expert, just had some spare
time and some motivation.  Here is the background:

https://dev.openwrt.org/ticket/2744

This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP.  If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11466
2008-06-15 11:09:27 +00:00
Peter Denison
464ed48321 Remove ssb headers from mac80211 to avoid conflict with in-kernel ones
SVN-Revision: 11462
2008-06-13 21:05:26 +00:00
Felix Fietkau
0249312a64 remove accidentally committed swap file
SVN-Revision: 11461
2008-06-13 15:29:07 +00:00
Felix Fietkau
d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
2008-06-13 15:28:31 +00:00
Imre Kaloz
983b22aa95 temporary hack to fixup the mach id for the wrt350nv2
SVN-Revision: 11459
2008-06-13 12:58:28 +00:00
Imre Kaloz
957626ff72 openwrt partition map for the wrt350nv2
SVN-Revision: 11458
2008-06-13 12:14:39 +00:00
Imre Kaloz
111f11d91f workaround bogus CFI version for the wrt350nv2
SVN-Revision: 11457
2008-06-13 12:14:01 +00:00
Imre Kaloz
354d78404a upgrade orion and sync to 2.6.26-rc6
SVN-Revision: 11456
2008-06-13 12:12:34 +00:00
Felix Fietkau
7c029b0355 another patch fix
SVN-Revision: 11455
2008-06-13 08:56:06 +00:00