public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Stephen Thomas <stephen.thomas@insignia.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Tulip in 2.4.1-ac14 still poorly
Date: Fri, 16 Feb 2001 12:47:04 +0100	[thread overview]
Message-ID: <3A8D1338.27F9EFDF@colorfullife.com> (raw)
In-Reply-To: <3A8D0C92.7060AABE@insignia.com>

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

Stephen Thomas wrote:
> 
> On trying 2.4.1-ac13 I hit the tulip driver problems reported elsewhere,
> and ac14 does not seem to fix the problem on my machine.  Attached is an
> extract from my /var/log/messages.
>

Could you try the attached oneliner patches? 

patch-tulip-fix1 is integrated in -ac15, and I send patch-tulip-typo to
Alan a few seconds ago.

--
	Manfred

[-- Attachment #2: patch-tulip-typo --]
[-- Type: text/plain, Size: 409 bytes --]

diff -u 2.4/drivers/net/tulip/pnic.c build-2.4/drivers/net/tulip/pnic.c
--- 2.4/drivers/net/tulip/pnic.c	Fri Feb 16 11:17:03 2001
+++ build-2.4/drivers/net/tulip/pnic.c	Fri Feb 16 11:18:08 2001
@@ -84,7 +84,7 @@
 		tp->full_duplex_lock;
 
 	new_csr6 = tp->csr6;
-	if (negotiated & 0x038)	/* 100mbps. */
+	if (negotiated & 0x0380)	/* 100mbps. */
 		new_csr6 &= ~0x00400000;
 	 else
 		new_csr6 |= 0x00400000;


[-- Attachment #3: patch-tulip-fix1 --]
[-- Type: text/plain, Size: 814 bytes --]

diff -u 2.4/drivers/net/tulip/pnic.c build-2.4/drivers/net/tulip/pnic.c
--- 2.4/drivers/net/tulip/pnic.c	Thu Feb 15 00:51:38 2001
+++ build-2.4/drivers/net/tulip/pnic.c	Thu Feb 15 01:05:59 2001
@@ -93,8 +93,6 @@
 	 else	
 		new_csr6 &= ~0x0200;
 	if (new_csr6 != tp->csr6) {
-		/* stop the transceiver*/
-		tulip_stop_rxtx(tp, tp->csr6);
 		tp->full_duplex = duplex;
 		tp->csr6 = new_csr6;
 		if (tulip_debug > 0)
@@ -102,10 +100,7 @@
 				   "#%d link partner capability of %4.4x.\n",
 				   dev->name, tp->full_duplex ? "full" : "half",
 				   tp->phys[0], mii_reg5);
-		/* When the transceiver is stopped it triggeres
-		 * a "Transmit stopped interrupt" (misnamed as TxDied).
-		 * The interrupt handler will restart the transceiver
-		 */
+		tulip_restart_rxtx(tp, tp->csr6);
 		return 1;
 	}
 	return 0;


  reply	other threads:[~2001-02-16 11:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16 11:18 Tulip in 2.4.1-ac14 still poorly Stephen Thomas
2001-02-16 11:47 ` Manfred Spraul [this message]
2001-02-16 12:05   ` Stephen Thomas

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=3A8D1338.27F9EFDF@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stephen.thomas@insignia.com \
    /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