oweals/openwrt.git
16 years agouse boards mac on boards with brn loader, on ifxmips
John Crispin [Sat, 5 Jul 2008 23:22:21 +0000 (23:22 +0000)]
use boards mac on boards with brn loader, on ifxmips

SVN-Revision: 11674

16 years agolots of ifxmips fixes and features
John Crispin [Sat, 5 Jul 2008 23:06:07 +0000 (23:06 +0000)]
lots of ifxmips fixes and features

SVN-Revision: 11673

16 years agospurious initramfs breakage fix
Felix Fietkau [Sat, 5 Jul 2008 22:11:22 +0000 (22:11 +0000)]
spurious initramfs breakage fix

SVN-Revision: 11670

16 years agoupdate targets to 2.6.25.10
Imre Kaloz [Sat, 5 Jul 2008 16:52:15 +0000 (16:52 +0000)]
update targets to 2.6.25.10

SVN-Revision: 11667

16 years agoupdate pronghorn patch
Imre Kaloz [Sat, 5 Jul 2008 16:49:08 +0000 (16:49 +0000)]
update pronghorn patch

SVN-Revision: 11666

16 years agoavr32: update to latest atmel sources
Matteo Croce [Sat, 5 Jul 2008 14:49:07 +0000 (14:49 +0000)]
avr32: update to latest atmel sources

SVN-Revision: 11665

16 years agoThis adds dhcp-boot support to dnsmasq-init: option name "virt0" option filename...
Florian Fainelli [Sat, 5 Jul 2008 13:43:55 +0000 (13:43 +0000)]
This adds dhcp-boot support to dnsmasq-init: option name "virt0" option filename "pxelinux.0" option servername "mainframe0.dev" option serveraddress "9.3.2.1"

closes #3529

SVN-Revision: 11663

16 years agoIf the *.img file is larger than 0x1e8000 loading it with flash -s 0x100000 -d 0xffe0...
Florian Fainelli [Sat, 5 Jul 2008 13:38:19 +0000 (13:38 +0000)]
If the *.img file is larger than 0x1e8000 loading it with flash -s 0x100000 -d 0xffe08000 -l <length>

on the bootloader prompt will destroy the bootloader and brick the device. The attached patch tries to implement a size check and renames the image into *.img.too_big. It applies to svn r11401.
Signed-off-by: Joerg Albert <jal2@gmx.de>
SVN-Revision: 11662

16 years agoFirst stage of update for at91 devices to 2.6.25.10 kernel
Hamish Guthrie [Fri, 4 Jul 2008 16:05:00 +0000 (16:05 +0000)]
First stage of update for at91 devices to 2.6.25.10 kernel

SVN-Revision: 11631

16 years agofix typo
Matteo Croce [Fri, 4 Jul 2008 00:58:46 +0000 (00:58 +0000)]
fix typo

SVN-Revision: 11630

16 years agoPut the files created by the lzma decompressor patch in the files/ directory. Add...
Florian Fainelli [Thu, 3 Jul 2008 11:09:37 +0000 (11:09 +0000)]
Put the files created by the lzma decompressor patch in the files/ directory. Add some early_printk debugging to the lzma decompressor to help track down problems when upgrading from one kernel version to another

SVN-Revision: 11627

16 years agoupdate config, make 2.6.26-rc8 the default for ixp4xx
Imre Kaloz [Thu, 3 Jul 2008 00:21:58 +0000 (00:21 +0000)]
update config, make 2.6.26-rc8 the default for ixp4xx

SVN-Revision: 11625

16 years agoupdate kernel config
Imre Kaloz [Wed, 2 Jul 2008 23:27:00 +0000 (23:27 +0000)]
update kernel config

SVN-Revision: 11624

16 years agogenerate patched zImage for the Pronghorn, too
Imre Kaloz [Wed, 2 Jul 2008 23:25:52 +0000 (23:25 +0000)]
generate patched zImage for the Pronghorn, too

SVN-Revision: 11623

16 years agoswap uart numbering on Pronghorn
Imre Kaloz [Wed, 2 Jul 2008 23:20:33 +0000 (23:20 +0000)]
swap uart numbering on Pronghorn

SVN-Revision: 11622

16 years agooops, commited wrong version
Imre Kaloz [Wed, 2 Jul 2008 23:19:50 +0000 (23:19 +0000)]
oops, commited wrong version

SVN-Revision: 11621

16 years agorename patch
Imre Kaloz [Wed, 2 Jul 2008 21:38:43 +0000 (21:38 +0000)]
rename patch

SVN-Revision: 11620

16 years agoixp4xx patches cleanup, round one
Imre Kaloz [Wed, 2 Jul 2008 21:37:46 +0000 (21:37 +0000)]
ixp4xx patches cleanup, round one

SVN-Revision: 11619

16 years agomadwifi: fix sequence number check on incoming retransmit checks
Felix Fietkau [Tue, 1 Jul 2008 21:38:40 +0000 (21:38 +0000)]
madwifi: fix sequence number check on incoming retransmit checks

SVN-Revision: 11614

16 years agoimprove xargs compatibility check (mostly Darwin/Mac OS X related)
Felix Fietkau [Tue, 1 Jul 2008 21:38:28 +0000 (21:38 +0000)]
improve xargs compatibility check (mostly Darwin/Mac OS X related)

SVN-Revision: 11613

16 years agofixes mdio, adds runtime board configuration for ifxmips
John Crispin [Sun, 29 Jun 2008 14:56:45 +0000 (14:56 +0000)]
fixes mdio, adds runtime board configuration for ifxmips

SVN-Revision: 11609

16 years agolua: Fixed some cross-platform issues for PPC (and probably other architectures)
Steven Barth [Sun, 29 Jun 2008 11:38:22 +0000 (11:38 +0000)]
lua: Fixed some cross-platform issues for PPC (and probably other architectures)

SVN-Revision: 11608

16 years agolots of ifxmips cleanups
John Crispin [Sun, 29 Jun 2008 00:42:45 +0000 (00:42 +0000)]
lots of ifxmips cleanups

SVN-Revision: 11607

16 years agomake the serial poirt used by prom.c configurable for ifxmips
John Crispin [Sat, 28 Jun 2008 22:01:37 +0000 (22:01 +0000)]
make the serial poirt used by prom.c configurable for ifxmips

SVN-Revision: 11606

16 years agoifxmips should build uboot by default
John Crispin [Sat, 28 Jun 2008 21:51:43 +0000 (21:51 +0000)]
ifxmips should build uboot by default

SVN-Revision: 11605

16 years agobackport a fix to suppress warning when loading dnsmasq on >=2.6.25.7. this patch...
John Crispin [Sat, 28 Jun 2008 21:42:54 +0000 (21:42 +0000)]
backport a fix to suppress warning when loading dnsmasq on >=2.6.25.7. this patch can be removed when dnsmasq 2.43 is released

SVN-Revision: 11604

16 years agorename some ifxmips files
John Crispin [Sat, 28 Jun 2008 21:26:03 +0000 (21:26 +0000)]
rename some ifxmips files

SVN-Revision: 11603

16 years agofixes ifxmips watchdog driver
John Crispin [Sat, 28 Jun 2008 21:18:51 +0000 (21:18 +0000)]
fixes ifxmips watchdog driver

SVN-Revision: 11602

16 years agomove ifxmips uboot to package/
Felix Fietkau [Sat, 28 Jun 2008 19:53:41 +0000 (19:53 +0000)]
move ifxmips uboot to package/

SVN-Revision: 11601

16 years agocompile libnl with -ffunction-sections to make binaries that use genl smaller
Felix Fietkau [Sat, 28 Jun 2008 17:55:21 +0000 (17:55 +0000)]
compile libnl with -ffunction-sections to make binaries that use genl smaller

SVN-Revision: 11600

16 years agox86: don't attempt to compile grub on darwin
Felix Fietkau [Sat, 28 Jun 2008 17:54:44 +0000 (17:54 +0000)]
x86: don't attempt to compile grub on darwin

SVN-Revision: 11599

16 years agoadds rt_tables to files installed by ip ipkg
John Crispin [Sat, 28 Jun 2008 17:32:21 +0000 (17:32 +0000)]
adds rt_tables to files installed by ip ipkg

SVN-Revision: 11598

16 years agoadd proper ebu locking to ifxmips
John Crispin [Sat, 28 Jun 2008 17:28:31 +0000 (17:28 +0000)]
add proper ebu locking to ifxmips

SVN-Revision: 11597

16 years agolots of ifxmips cleanups
John Crispin [Sat, 28 Jun 2008 16:56:04 +0000 (16:56 +0000)]
lots of ifxmips cleanups

SVN-Revision: 11596

16 years agoFinally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version
Florian Fainelli [Sat, 28 Jun 2008 11:08:52 +0000 (11:08 +0000)]
Finally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version

SVN-Revision: 11595

16 years agoPrior to kernel 2.6.23, architecture path was i386, allow that when switching kernel...
Florian Fainelli [Sat, 28 Jun 2008 11:08:01 +0000 (11:08 +0000)]
Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version

SVN-Revision: 11594

16 years agoPut back 2.6.24 files as well
Florian Fainelli [Sat, 28 Jun 2008 11:07:07 +0000 (11:07 +0000)]
Put back 2.6.24 files as well

SVN-Revision: 11593

16 years agoPut back 2.6.23 files for rdc, allowing to switch from one kernel version to another...
Florian Fainelli [Sat, 28 Jun 2008 11:06:32 +0000 (11:06 +0000)]
Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing

SVN-Revision: 11592

16 years agoignore the bootloader's commandline on orion
Imre Kaloz [Fri, 27 Jun 2008 18:15:46 +0000 (18:15 +0000)]
ignore the bootloader's commandline on orion

SVN-Revision: 11591

16 years agogenerate webuploadable image for the wnr854t
Imre Kaloz [Fri, 27 Jun 2008 12:19:20 +0000 (12:19 +0000)]
generate webuploadable image for the wnr854t

SVN-Revision: 11589

16 years agoreplacement of the add_header utility used by various vendors
Imre Kaloz [Fri, 27 Jun 2008 12:18:31 +0000 (12:18 +0000)]
replacement of the add_header utility used by various vendors

SVN-Revision: 11588

16 years agouse mtdblock1 as rootfs
Imre Kaloz [Fri, 27 Jun 2008 12:13:37 +0000 (12:13 +0000)]
use mtdblock1 as rootfs

SVN-Revision: 11587

16 years agothe wnr854t needs flash width 2
Imre Kaloz [Fri, 27 Jun 2008 12:13:02 +0000 (12:13 +0000)]
the wnr854t needs flash width 2

SVN-Revision: 11586

16 years agoupgrade to 2.6.25.9
Imre Kaloz [Thu, 26 Jun 2008 14:28:16 +0000 (14:28 +0000)]
upgrade to 2.6.25.9

SVN-Revision: 11584

16 years agoixp4xx 2.6.26 support
Imre Kaloz [Thu, 26 Jun 2008 13:59:15 +0000 (13:59 +0000)]
ixp4xx 2.6.26 support

SVN-Revision: 11583

16 years agoadd preliminary Netgear WNR854T support
Imre Kaloz [Thu, 26 Jun 2008 13:53:27 +0000 (13:53 +0000)]
add preliminary Netgear WNR854T support

SVN-Revision: 11582

16 years agomove some config options into the generic one
Imre Kaloz [Thu, 26 Jun 2008 13:51:17 +0000 (13:51 +0000)]
move some config options into the generic one

SVN-Revision: 11581

16 years agoavr32: fix a bug in the MMC driver
Matteo Croce [Thu, 26 Jun 2008 13:02:02 +0000 (13:02 +0000)]
avr32: fix a bug in the MMC driver

SVN-Revision: 11580

16 years agox-wrt svn repo has moved to http://x-wrt.googlecode.com/svn/trunk/
Travis Kemen [Thu, 26 Jun 2008 01:43:48 +0000 (01:43 +0000)]
x-wrt svn repo has moved to x-wrt.googlecode.com/svn/trunk/

SVN-Revision: 11579

16 years agocleanup ifxmips and add support for both ttyS
John Crispin [Wed, 25 Jun 2008 23:05:50 +0000 (23:05 +0000)]
cleanup ifxmips and add support for both ttyS

SVN-Revision: 11578

16 years agoupgrade orion to 2.6.26-rc8
Imre Kaloz [Wed, 25 Jun 2008 22:56:49 +0000 (22:56 +0000)]
upgrade orion to 2.6.26-rc8

SVN-Revision: 11577

16 years agogenerate orion images differently
Imre Kaloz [Wed, 25 Jun 2008 22:41:50 +0000 (22:41 +0000)]
generate orion images differently

SVN-Revision: 11576

16 years agosync with the orion git tree
Imre Kaloz [Wed, 25 Jun 2008 22:39:39 +0000 (22:39 +0000)]
sync with the orion git tree

SVN-Revision: 11575

16 years agoadd arm mach_types update again
Imre Kaloz [Wed, 25 Jun 2008 22:33:38 +0000 (22:33 +0000)]
add arm mach_types update again

SVN-Revision: 11574

16 years agocleanup ifxmips headers
John Crispin [Tue, 24 Jun 2008 19:24:22 +0000 (19:24 +0000)]
cleanup ifxmips headers

SVN-Revision: 11573

16 years agolots of code cleanup for ifxmips
John Crispin [Mon, 23 Jun 2008 20:31:34 +0000 (20:31 +0000)]
lots of code cleanup for ifxmips

SVN-Revision: 11570

16 years agoupgrade orion to 2.6.26-rc7
Imre Kaloz [Mon, 23 Jun 2008 15:07:52 +0000 (15:07 +0000)]
upgrade orion to 2.6.26-rc7

SVN-Revision: 11569

16 years agomove files, rename defines for ifxmips
John Crispin [Sun, 22 Jun 2008 20:40:36 +0000 (20:40 +0000)]
move files, rename defines for ifxmips

SVN-Revision: 11565

16 years agogenerate firmware images for the ZyXEL P-334WT/P-335WT devices
Gabor Juhos [Sun, 22 Jun 2008 19:10:37 +0000 (19:10 +0000)]
generate firmware images for the ZyXEL P-334WT/P-335WT devices

SVN-Revision: 11562

16 years agouse __raw_{readl,writel} routines in the uart driver as well
Gabor Juhos [Sun, 22 Jun 2008 19:09:42 +0000 (19:09 +0000)]
use __raw_{readl,writel} routines in the uart driver as well

SVN-Revision: 11561

16 years agouse __raw_{readl,writel} routines in the GPIO code
Gabor Juhos [Sun, 22 Jun 2008 19:08:19 +0000 (19:08 +0000)]
use __raw_{readl,writel} routines in the GPIO code

SVN-Revision: 11560

16 years agofirmware-utils/mkzynfs: even more improvements
Gabor Juhos [Sun, 22 Jun 2008 19:02:42 +0000 (19:02 +0000)]
firmware-utils/mkzynfs: even more improvements

SVN-Revision: 11559

16 years agofixes several compile errors, reserves memory for second core, adds u-boot env parsin...
John Crispin [Sun, 22 Jun 2008 19:01:14 +0000 (19:01 +0000)]
fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips

SVN-Revision: 11558

16 years agox86: Sync kernel config
Andy Boyett [Sun, 22 Jun 2008 18:41:42 +0000 (18:41 +0000)]
x86: Sync kernel config

SVN-Revision: 11557

16 years agoebtables: Update to 2.0.8-2
Andy Boyett [Sun, 22 Jun 2008 18:41:25 +0000 (18:41 +0000)]
ebtables: Update to 2.0.8-2

SVN-Revision: 11556

16 years agogmp: Update to 4.2.2
Andy Boyett [Sun, 22 Jun 2008 18:41:09 +0000 (18:41 +0000)]
gmp: Update to 4.2.2

SVN-Revision: 11555

16 years agoe2fsprogs: Update to 1.40.11
Andy Boyett [Sun, 22 Jun 2008 18:40:53 +0000 (18:40 +0000)]
e2fsprogs: Update to 1.40.11

SVN-Revision: 11554

16 years agoarptables: Update to 0.0.3-3
Andy Boyett [Sun, 22 Jun 2008 18:40:30 +0000 (18:40 +0000)]
arptables: Update to 0.0.3-3

SVN-Revision: 11553

16 years agoswap I/O space if running in big-endian mode
Gabor Juhos [Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)]
swap I/O space if running in big-endian mode

SVN-Revision: 11552

16 years agogeneric-2.6: update IMQ patch to the official version for 2.6.25, refresh patches
Gabor Juhos [Sun, 22 Jun 2008 06:28:12 +0000 (06:28 +0000)]
generic-2.6: update IMQ patch to the official version for 2.6.25, refresh patches

SVN-Revision: 11551

16 years agofirmware-utils: ZyXEL firmware tool improvements
Gabor Juhos [Sun, 22 Jun 2008 05:41:37 +0000 (05:41 +0000)]
firmware-utils: ZyXEL firmware tool improvements

SVN-Revision: 11550

16 years agoAdd support for Connexant USB ADSL modemds (#3553)
Florian Fainelli [Sat, 21 Jun 2008 13:21:49 +0000 (13:21 +0000)]
Add support for Connexant USB ADSL modemds (#3553)

SVN-Revision: 11549

16 years agoupgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)
Felix Fietkau [Fri, 20 Jun 2008 17:39:56 +0000 (17:39 +0000)]
upgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)

SVN-Revision: 11548

16 years agogrub: Natively build grub only on x86 linux hosts, cross compile everywhere else...
Andy Boyett [Fri, 20 Jun 2008 01:43:20 +0000 (01:43 +0000)]
grub: Natively build grub only on x86 linux hosts, cross compile everywhere else. - Closes #3560

SVN-Revision: 11542

16 years agofix ifxmips image file name (thx, nix)
Felix Fietkau [Thu, 19 Jun 2008 14:11:50 +0000 (14:11 +0000)]
fix ifxmips image file name (thx, nix)

SVN-Revision: 11540

16 years agogeneric-2.6: Backport netfilter includes fix from 2.6.26 to 2.6.25 - Fixes compilatio...
Andy Boyett [Thu, 19 Jun 2008 08:05:08 +0000 (08:05 +0000)]
generic-2.6: Backport netfilter includes fix from 2.6.26 to 2.6.25 - Fixes compilation of numerous packages

SVN-Revision: 11539

16 years agoRemove the sleep since we delayed bringing up the interface
Florian Fainelli [Wed, 18 Jun 2008 17:42:10 +0000 (17:42 +0000)]
Remove the sleep since we delayed bringing up the interface

SVN-Revision: 11534

16 years agoDelay bringing up the interface because some cards requires setting the mode before...
Florian Fainelli [Wed, 18 Jun 2008 17:09:02 +0000 (17:09 +0000)]
Delay bringing up the interface because some cards requires setting the mode before bringing it up (#3541)

SVN-Revision: 11533

16 years agocleanup ifxmips pci code
John Crispin [Tue, 17 Jun 2008 22:44:38 +0000 (22:44 +0000)]
cleanup ifxmips pci code

SVN-Revision: 11531

16 years agoadds timer unit to ifxmips tree
John Crispin [Tue, 17 Jun 2008 22:14:08 +0000 (22:14 +0000)]
adds timer unit to ifxmips tree

SVN-Revision: 11530

16 years agoIRQ code cleanup
Gabor Juhos [Tue, 17 Jun 2008 17:46:52 +0000 (17:46 +0000)]
IRQ code cleanup

SVN-Revision: 11528

16 years agofirmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
Gabor Juhos [Tue, 17 Jun 2008 15:05:53 +0000 (15:05 +0000)]
firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras

SVN-Revision: 11527

16 years agoswitch to 2.6.25.7
Gabor Juhos [Tue, 17 Jun 2008 14:30:18 +0000 (14:30 +0000)]
switch to 2.6.25.7

SVN-Revision: 11526

16 years agosync kernel config
Gabor Juhos [Tue, 17 Jun 2008 14:01:07 +0000 (14:01 +0000)]
sync kernel config

SVN-Revision: 11525

16 years agosync kernel config
Gabor Juhos [Tue, 17 Jun 2008 14:00:25 +0000 (14:00 +0000)]
sync kernel config

SVN-Revision: 11524

16 years agoupgrade to 2.6.25.7, and refresh patches
Gabor Juhos [Tue, 17 Jun 2008 12:57:04 +0000 (12:57 +0000)]
upgrade to 2.6.25.7, and refresh patches

SVN-Revision: 11523

16 years agofix compiler warning
Gabor Juhos [Tue, 17 Jun 2008 10:50:06 +0000 (10:50 +0000)]
fix compiler warning

SVN-Revision: 11521

16 years agolinux-uvc: Upgrade to revision 215
Andy Boyett [Tue, 17 Jun 2008 05:39:05 +0000 (05:39 +0000)]
linux-uvc: Upgrade to revision 215

SVN-Revision: 11519

16 years agoCreate $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano. - Fixes...
Andy Boyett [Tue, 17 Jun 2008 00:44:10 +0000 (00:44 +0000)]
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

16 years agoset file executable permissions
Yuji Mano [Mon, 16 Jun 2008 23:17:44 +0000 (23:17 +0000)]
set file executable permissions

SVN-Revision: 11516

16 years agouse file descriptors 8 and 9 for build system internal log messages, as apparently...
Felix Fietkau [Mon, 16 Jun 2008 21:57:57 +0000 (21:57 +0000)]
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

16 years agoAdd the PS3 specific utility bl-option, a helper sctipt to get and set bootloader...
Yuji Mano [Mon, 16 Jun 2008 19:48:54 +0000 (19:48 +0000)]
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

16 years agoRevert previous bad commit r11512
Yuji Mano [Mon, 16 Jun 2008 19:37:00 +0000 (19:37 +0000)]
Revert previous bad commit r11512

SVN-Revision: 11513

16 years agoAdd the PS3 specific utility bl-option, a helper sctipt to get and set bootloader...
Yuji Mano [Mon, 16 Jun 2008 19:14:13 +0000 (19:14 +0000)]
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

16 years agoAdd a system config option to allow syslogd to log to a file.
Yuji Mano [Mon, 16 Jun 2008 19:06:21 +0000 (19:06 +0000)]
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

16 years agoFix TG3 build. Thanks Hauke Mehrtens
Peter Denison [Mon, 16 Jun 2008 19:06:14 +0000 (19:06 +0000)]
Fix TG3 build. Thanks Hauke Mehrtens

SVN-Revision: 11510

16 years agoUpdate the PS3 target README with some installation tips, and the PS3 image Makefile...
Yuji Mano [Mon, 16 Jun 2008 19:04:07 +0000 (19:04 +0000)]
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

16 years agohis patch mainly fixes the huge delay when we ping from the RDC device to another...
Florian Fainelli [Mon, 16 Jun 2008 13:25:14 +0000 (13:25 +0000)]
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

16 years agoThis patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied...
Florian Fainelli [Mon, 16 Jun 2008 13:24:41 +0000 (13:24 +0000)]
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

16 years agoHi,
Florian Fainelli [Mon, 16 Jun 2008 13:24:09 +0000 (13:24 +0000)]
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