mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniele Venzano <webvenza@libero.it>
To: Dominik Karall <dominik.karall@gmx.net>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>
Subject: Re: problem with sis900
Date: Thu, 13 May 2004 17:17:59 +0200	[thread overview]
Message-ID: <20040513151759.GA27382@gateway.milesteg.arr> (raw)
In-Reply-To: <200405120030.12883.dominik.karall@gmx.net>

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

On Wed, May 12, 2004 at 12:30:12AM +0200, Dominik Karall wrote:
[...]
> nvidia: module license 'NVIDIA' taints kernel.
> 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 
> 18:29:26 PST 2004
[...]

Your kernel is tainted, but I'm willing to think that you can reproduce
the problem without binary modules loaded. Please confirm this.

> Let me know if you need more infos!
It seems that the driver is confused by the on chip informations it
reads and detects some 'ghost' transceivers, then decides to use one of
those, instead of taking the real one.

The following patch is a guess in this direction, it should make the
driver get the PHY at address 1, the one detected correctly for you.
Obviously, if it works, I'll need to make the patch a bit more
general before submission...

-- 
-----------------------------
Daniele Venzano
Web: http://teg.homeunix.org


[-- Attachment #2: sis900-phy.diff --]
[-- Type: text/plain, Size: 483 bytes --]

--- linux-2.6.5/drivers/net/sis900.c	2004-04-04 22:31:55.000000000 +0200
+++ linux-irda-2.6.5/drivers/net/sis900.c	2004-05-13 17:04:29.000000000 +0200
@@ -665,6 +665,7 @@
 		default_phy = sis_priv->first_mii;
 
 	if( sis_priv->mii != default_phy ){
+		default_phy = sis_priv->first_mii->next;
 		sis_priv->mii = default_phy;
 		sis_priv->cur_phy = default_phy->phy_addr;
 		printk(KERN_INFO "%s: Using transceiver found at address %d as default\n", net_dev->name,sis_priv->cur_phy);

  reply	other threads:[~2004-05-13 15:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 18:28 problem with sis900 driver 2.6.5 + mike
2004-05-11 18:41 ` Luiz Fernando N. Capitulino
2004-05-11 21:40   ` Daniele Venzano
2004-05-12  9:37   ` mike
2004-05-11 19:01 ` problem with sis900 Dominik Karall
2004-05-11 21:45   ` Daniele Venzano
2004-05-11 22:30     ` Dominik Karall
2004-05-13 15:17       ` Daniele Venzano [this message]
2004-05-13 18:02         ` Dominik Karall
2004-05-15  7:12           ` Daniele Venzano
2004-05-15 12:12             ` Dominik Karall
2004-05-15 16:56               ` Daniele Venzano
2004-05-16 11:21                 ` Dominik Karall
2004-05-17 11:35             ` Dominik Karall
2004-05-12  0:50 ` problem with sis900 driver 2.6.5 + Aristeu Sergio Rozanski Filho
2004-05-12 10:18   ` mike
2004-05-12 10:19   ` mike

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=20040513151759.GA27382@gateway.milesteg.arr \
    --to=webvenza@libero.it \
    --cc=dominik.karall@gmx.net \
    --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

all inboxes | Powered by JetHome®