Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750930AbWHPTxt (ORCPT ); Wed, 16 Aug 2006 15:53:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932189AbWHPTxt (ORCPT ); Wed, 16 Aug 2006 15:53:49 -0400 Received: from ojjektum.uhulinux.hu ([62.112.194.64]:45750 "EHLO ojjektum.uhulinux.hu") by vger.kernel.org with ESMTP id S1750930AbWHPTxt (ORCPT ); Wed, 16 Aug 2006 15:53:49 -0400 Date: Wed, 16 Aug 2006 21:53:45 +0200 From: Pozsar Balazs To: Prakash Punnoor Cc: Jiri Benc , LKML , jgarzik@pobox.com Subject: Re: [RFC/PATCH] Fixes for ULi5261 (tulip driver) Message-ID: <20060816195345.GA12868@ojjektum.uhulinux.hu> References: <20050427124911.6212670f@griffin.suse.cz> <20060816191139.5d13fda8@griffin.suse.cz> <20060816174329.GC17650@ojjektum.uhulinux.hu> <200608162002.06793.prakash@punnoor.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608162002.06793.prakash@punnoor.de> User-Agent: Mutt/1.5.7i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1944 Lines: 44 On Wed, Aug 16, 2006 at 08:02:02PM +0200, Prakash Punnoor wrote: > Am Mittwoch 16 August 2006 19:43 schrieb Pozsar Balazs: > > On Wed, Aug 16, 2006 at 07:11:39PM +0200, Jiri Benc wrote: > > > On Tue, 15 Aug 2006 11:25:52 +0200, Pozsar Balazs wrote: > > > > Recently I had similar problems as you described below, that's how I > > > > found your email. (My exact problem is that there's no link when I plug > > > > in a cable, reloading the driver a few times usually helps.) > > > > The problem is, that since you made the patch, the uli526x driver has > > > > been split out from the tulip driver. > > > > Do you know anything about the current state of the uli526x driver > > > > regarding the problems you tried patch? > > > > > > I use the card with new (split out) uli526x driver with no problem. Your > > > problems are probably unrelated. > > > > So, just to make it clear: if you boot without cable plugged in, let > > the driver load, and then plug the cable in, do you have link? > > For me, it does not have link until I rmmod the module. > > Same here. The most weird thing is that, when I _rmmod_ the module, the link leds will show a link, _before_ I even re-modprobe it! So somehow the removal (or even an unbind via the sysfs interface) "resets" it. > > Do you have any idea what the problem could be, or could I send you any > > info that would help debug it? > > I actually played a bit with the code and what fails is uli526x_sense_speed > in that way that phy_mode & 024 is 0 (and stays 0). But I don't understand > why... I made the same discovery. According to mii.h bit 0x20 would mean "Auto-negotiation complete" and bit 0x04 would mean "Link status". -- pozsy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/