Messages in this thread Patch in this message |  | | Date | Mon, 17 Sep 2001 12:09:54 +0200 | From | Celso Gonzalez <> | 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/
|  |