public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Valette <eric.valette@free.fr>
To: eric.valette@free.fr
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.9-rc1-mm4 badness in rtl8150.c ethernet driver : fixed
Date: Thu, 09 Sep 2004 11:42:04 +0200	[thread overview]
Message-ID: <4140256C.5090803@free.fr> (raw)
In-Reply-To: <413DB68C.7030508@free.fr>

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

Eric Valette wrote:


> I tried your new test kernel and it broke my USB/Ethernet adapter. 
> Adapter is detected, ifup works but no ping using IP adress on a point 
> to point ethernet network. I saw the file change in the diff and 
> probably something broke (either bogus endianness fixes or changed reset 
> code data or ...). Bitkeeper being unreachable I can hardly follow what 
> incremental broke it but, for sure, it is broken (FYI 2.6.9-rc1-mm2 works).

Andrew,

Here is a small patch that makes the card functionnal again. I've 
forwarded the patch to driver author also.

Signed off by <eric.valette@free.fr>

Move value used to reset the card back to its previous definition.

-- 
    __
   /  `                   	Eric Valette
  /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette@free.fr




[-- Attachment #2: patch_fix_rtl8150.c --]
[-- Type: text/x-csrc, Size: 319 bytes --]

--- linux/drivers/usb/net/rtl8150.c-2.6.9-rc1-mm4.orig	2004-09-09 11:15:11.000000000 +0200
+++ linux/drivers/usb/net/rtl8150.c	2004-09-09 11:15:46.000000000 +0200
@@ -341,7 +341,7 @@
 
 static int rtl8150_reset(rtl8150_t * dev)
 {
-	u8 data = 0x11;
+	u8 data = 0x10;
 	int i = HZ;
 
 	set_registers(dev, CR, 1, &data);

  parent reply	other threads:[~2004-09-09  9:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-07 13:24 2.6.9-rc1-mm4 badness in rtl8150.c ethernet driver Eric Valette
2004-09-07 13:30 ` Eric Valette
2004-09-09  9:42 ` Eric Valette [this message]
2004-09-09 22:24   ` 2.6.9-rc1-mm4 badness in rtl8150.c ethernet driver : fixed Andrew Morton
2004-09-09 22:36     ` Greg KH
2004-09-10  6:45       ` Eric Valette
2004-09-10  9:34       ` Petko Manolov
2004-09-10 11:05         ` Eric Valette
2004-09-10 11:54           ` Petko Manolov
2004-09-11 17:29       ` rtl8150.c ethernet driver : usb_unlink_urb ->usb_kill_urb Eric Valette
2004-09-11 17:33         ` Eric Valette
2004-09-14 18:55           ` Greg KH

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=4140256C.5090803@free.fr \
    --to=eric.valette@free.fr \
    --cc=akpm@osdl.org \
    --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