public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Celso Gonzalez <mitago@ono.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Little bug in 8139too net driver
Date: Mon, 17 Sep 2001 12:09:54 +0200	[thread overview]
Message-ID: <20010917120954.A14699@debian> (raw)

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)

                 reply	other threads:[~2001-09-17 10:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010917120954.A14699@debian \
    --to=mitago@ono.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox