From owner-freebsd-stable Wed Oct 3 9:57:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [64.0.106.45]) by hub.freebsd.org (Postfix) with ESMTP id A004537B406 for ; Wed, 3 Oct 2001 09:57:45 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id MAA66300; Wed, 3 Oct 2001 12:57:23 -0400 (EDT) Date: Wed, 3 Oct 2001 12:57:23 -0400 (EDT) From: "Matthew N. Dodd" To: Warner Losh Cc: "Don L. Belcher" , freebsd-stable@FreeBSD.ORG Subject: Re: 3Com Megahertz 3CXEM556 B ep0: eeprom failed to come ready In-Reply-To: <200110030804.f9384U719379@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 3 Oct 2001, Warner Losh wrote: > In message <3BBA53DD.4B9D678@siad.net> "Don L. Belcher" writes: > : I am trying to get this card to work with an old portable (Megahertz > : 3CXEM556 B) > : I have tried various ports and interrupts with no success. Some of the > : messages seem to indicate that some 3com cards have an internal PNP flag. If > : this is the case how would I turn it off? > > I've never been able to get my 556 card to work for me :-(. Please > let me know if you find a way. It appears that NetBSD doesn't poll the EEPROM status register to check if the EEPROM is busy; it relies on a fixed delay(). Add the following code to if_ep.c:eeprom_rdy() before the code that is there. delay(1000); return (1); See if that works... -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message