From owner-freebsd-current Tue Nov 2 4: 6:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from hda.hda.com (hda.bicnet.net [208.220.68.243]) by hub.freebsd.org (Postfix) with ESMTP id E583A14F99 for ; Tue, 2 Nov 1999 04:06:01 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id GAA20898; Tue, 2 Nov 1999 06:49:10 -0500 (EST) From: Peter Dufault Message-Id: <199911021149.GAA20898@hda.hda.com> Subject: Re: ep0 3com etherlink III still unhappy In-Reply-To: from Doug Rabson at "Nov 2, 99 09:58:46 am" To: dfr@nlsystems.com (Doug Rabson) Date: Tue, 2 Nov 1999 06:49:10 -0500 (EST) Cc: bugs@freebsd.netcom.com, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > ep0: <3Com EtherLink III (3c509-TPO)> at port 0x300-0x30f irq 10 on isa0 > > ep0: eeprom failed to come ready. ... > > ep0: Ethernet address ff:ff:ff:ff:ff:ff > > ep1: <3Com 3C509B EtherLink III> at port 0x210-0x21f irq 5 on isa0 > > ep1: Ethernet address 00:a0:24:a1:9a:1e I still have problems with probing ep's on one Cyrix system. One thing that has made it better is passing a bit delay down to elink_idseq, that is: > void > elink_idseq(u_char p, void (*bit_delay)(void)) > { > register int i; > register u_char c; > > c = 0xff; > for (i = 255; i; i--) { > (*bit_delay)(); > outb(ELINK_ID_PORT, c); > if (c & 0x80) { > c <<= 1; I haven't bothered committing this since it still fails 1 out of 6 times. Without this it fails 1 out of 3 times. If it logically makes sense that a delay is needed here (I don't have any docs) someone might add it. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message