linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Little bug in 8139too net driver
@ 2001-09-17 10:09 Celso Gonzalez
  0 siblings, 0 replies; only message in thread
From: Celso Gonzalez @ 2001-09-17 10:09 UTC (permalink / raw)
  To: linux-kernel

Hi

This patch fixes a bug with an unasigned variable in the net driver 8139too
when its compiled with the
CONFIG_8139TOO_PIO=y option from kernel 2.4.3 to 2.4.9

The error message normally is "Assertion failed! ioaddr != NULL"


diff -u -r linux-2.4.9/drivers/net/8139too.c
linux-2.4.9-patched/drivers/net/8139too.c
--- linux-2.4.9/drivers/net/8139too.c   Sun Aug 12 19:52:29 2001
+++ linux-2.4.9-patched/drivers/net/8139too.c   Mon Sep 17 11:10:40 2001
@@ -825,6 +825,7 @@
 #ifdef USE_IO_OPS
        ioaddr = (void *) pio_start;
        dev->base_addr = pio_start;
+       tp->mmio_addr = ioaddr;
 #else
        /* ioremap MMIO region */
        ioaddr = ioremap (mmio_start, mmio_len);

I try to contact with Jeff Garzik , but seems heŽs missing. 

Regards

Celso González
(mitago@ono.com)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-17 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-17 10:09 [PATCH] Little bug in 8139too net driver Celso Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).