From owner-freebsd-hackers Wed Apr 16 17:53:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA22783 for hackers-outgoing; Wed, 16 Apr 1997 17:53:29 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA22741 for ; Wed, 16 Apr 1997 17:53:23 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id RAA25839 for ; Wed, 16 Apr 1997 17:53:22 -0700 (PDT) Date: Wed, 16 Apr 1997 17:53:22 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: hackers@freebsd.org Subject: Solution for 3COM 3C589D PCMCIA Ethernet card problem (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Did you see this? It came across questions. (I didn't note it in my digest for the day.) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major ---------- Forwarded message ---------- Date: Mon, 14 Apr 97 13:39 PDT From: Samuel Lam To: freebsd-questions@freebsd.org Subject: Solution for 3COM 3C589D PCMCIA Ethernet card problem For those with 3C589*D* cards and want to use the "ep" driver instead of PAO, I have found the problem. The EEPROM used inside the 3C589D seems to be slower than those used in the 3C589C and older cards, and the DELAY(1000) in read_eeprom_data() isn't long enough any more. Increasing the delay to 1000000 (brute force) works, and some lower values would likely work as well, but I didn't have time to do a binary search for the new boundary. A better fix would be to make read_eeprom_data() call f_is_eeprom_busy() after the DELAY(1000). ...Sam -- -- Scalable Network Systems Ltd. Network Failure Analysis Lab, a division of Scalable Network Systems Ltd.