Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2001 22:39:53 -1000
From:      "Randal Masutani" <randal@mailrelay.hits.net>
To:        Scott Mitchell <scott.mitchell@mail.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Xircom pccard problem.
Message-ID:  <3B6DCB39.1525.95BB17@localhost>
In-Reply-To: <20010804161402.A2150@localhost>
References:  <5.0.2.1.2.20010802190913.02580708@pop.voyager.net>; from mhagerty@voyager.net on Thu, Aug 02, 2001 at 07:11:25PM -0400

next in thread | previous in thread | raw e-mail | index | archive | help

On 4 Aug 2001, at 16:14, Scott Mitchell wrote:

> I guess what it needs is for someone familiar with FreeBSD drivers in general,
> and the xe driver in particular, and who has the card in question, to sit down
> and figure out what's going on.  How are your kernel hacking skills?  I'm
> happy to give whatever help I can, but someone with the card is going to have
> to do the grunt work...
> 
> 	Scott

I've been hacking at the xe driver code for about a couple of months.  As 
far as I can tell it seems to point to the reading of the phy registers.  
In the driver code at the beginning of the xe_mii_init() routine it does 
a xe_phy_readreg() of a phy status register which is supposed to return a 
particular response but it returns all ones.  In fact any read of the phy 
registers return all ones.  It seems that something in the chip may not 
be initializing correctly and therefore the phy is not responding?

As soon as the right response is returned from the phy register 
everything works after that.  I've tried adding delays and removing 
delays but have not had any luck.

What happens on my Sony VAIO F560 and Xircom CE3B pccard is the pccard is 
detected and starts to initialize and autonegotiate but it doesn't detect 
the phy and therefore it timesout and tries again.  Sometimes it takes 6 
or 7 retries other times it takes only 1 or 2 retries.  Sometimes it(the 
phy) never gets detected.

I have been looking at examples from other codes and tried some 
modifications but no luck yet.

I wonder if it has to do with other source code like the pccardd or ISA 
code?  Maybe the IO ports are not getting mapped correctly?


Randal


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B6DCB39.1525.95BB17>