lkml.org 
[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Little bug in 8139too net driver
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.055 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site