From owner-freebsd-mobile Sat May 19 3:21:44 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 42D2137B424 for ; Sat, 19 May 2001 03:21:41 -0700 (PDT) (envelope-from scott.mitchell@mail.com) Received: from lungfish.ntlworld.com ([62.253.151.54]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010519102140.QSRH283.mta03-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 19 May 2001 11:21:40 +0100 Received: (from scott@localhost) by lungfish.ntlworld.com (8.8.8/8.8.8) id LAA05476; Sat, 19 May 2001 11:22:50 +0100 (BST) (envelope-from scott) Message-ID: <20010519112250.23459@localhost> Date: Sat, 19 May 2001 11:22:50 +0100 From: Scott Mitchell To: randal@mailrelay.hits.net, mobile@FreeBSD.ORG Subject: Re: Xircom Watchdog Time-out Bug References: <3AFD13D0.15883.1D4F00@localhost>; <20010516222722.38753@localhost> <3B0324ED.28683.358E3A@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3B0324ED.28683.358E3A@localhost>; from Randal Masutani on Thu, May 17, 2001 at 01:10:05AM -1000 X-Operating-System: FreeBSD 2.2.6-RELEASE i386 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, May 17, 2001 at 01:10:05AM -1000, Randal Masutani wrote: > Yes, I have tried different hub/switches. I always get a time-out but > sometimes only one and at other times many. Yes, I eventually get it to > work most times after removing and reinserting the card. Forcing it to a > particular type didn't seem to work to well. > > >From what I gather from the debug statements it appears that it is not > reading the PHY status (BMSR register) properly, since it is getting back > a 0 (null) result. Maybe there is not enough delay or wait states > between reading or writing to the PHY registers? Maybe, although I think the delays are already longer than they need to be. Just watch how long it takes to grind through the autonegotiation process :-( > I have looked at the source code and also source from the Linux driver > and the sdk kit from Xircom, they all are a little different in the > procedure on how to read and write data to the MII registers. True enough... I lifted the MII code from one of the other drivers in the 3.1R (?) tree and it hasn't been updated since then. I will follow up on Mike Smith's suggestion and look at the more recent miibus code. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message