LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Adrian McMenamin" <lkmladrian@gmail.com>
To: jgarzik@pobox.com, "Paul Mundt" <lethal@linux-sh.org>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-sh <linux-sh@vger.kernel.org>
Subject: [PATCH] 8139too fix for Dreamcast
Date: Fri, 8 Feb 2008 11:21:58 +0000	[thread overview]
Message-ID: <8b67d60802080321o6f6c8ca7x768d911a6f1fba0b@mail.gmail.com> (raw)

Updates the 8139too driver to work with recently added
(a724605cb7a66d423a494a395f9a8ba871b8a1eb) declared coherent memory
patch for the Dreamcast.

Jeff - I am assuming you are still the maintainer and I guess Paul
should also ack this as it is SH related.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>

-----


diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index d373545..80f1cce 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -168,7 +168,7 @@ static int debug = -1;
  * Warning: 64K ring has hardware issues and may lock up.
  */
 #if defined(CONFIG_SH_DREAMCAST)
-#define RX_BUF_IDX	1	/* 16K ring */
+#define RX_BUF_IDX 0	/* 8K ring */
 #else
 #define RX_BUF_IDX	2	/* 32K ring */
 #endif

             reply	other threads:[~2008-02-08 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-08 11:21 Adrian McMenamin [this message]
2008-02-11 15:31 ` Jeff Garzik

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=8b67d60802080321o6f6c8ca7x768d911a6f1fba0b@mail.gmail.com \
    --to=lkmladrian@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --subject='Re: [PATCH] 8139too fix for Dreamcast' \
    /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

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).